// ==UserScript== // @name F1TV++ // @namespace https://github.com/Vern22/f1tv-plus-plus // @version 1.0 // @description A few improvements to F1TV // @author Adrian Sale // @match https://f1tv.formula1.com/* // @sandbox 'JavaScript' // @grant GM_addElement // @grant unsafeWindow // @require https://code.jquery.com/jquery-3.6.0.min.js // @require https://cdn.jsdelivr.net/npm/signalr@2.4.3/jquery.signalR.js // @require https://cdn.jsdelivr.net/npm/pako@2.0.4/dist/pako_inflate.min.js // @connect raw.githubusercontent.com // @run-at document-start // ==/UserScript== !function(){"use strict";const e='(function() {\n!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.bitmovin=t():(e.bitmovin=e.bitmovin||{},e.bitmovin.player=t())}(self,function(){return function(){var __webpack_modules__={195:function(e,t,n){var i,r=this&&this.__assign||Object.assign||function(e){for(var t,n=1,i=arguments.length;n=t&&e<=n}var r=this&&this[_[1]]||function(){function e(e){for(var t,n=1,i=arguments[_[3]];n=a&&(clearTimeout(this[_[46]]),this[_[46]]=void 0,null===(t=this[_[24]])||void 0===t||t[_[58]]((0,u[_[57]])(this[_[20]])))}},e[_[6]][_[59]]=function(e,t){var n,i,r,a=this[_[23]]();return a?null!==(i=null===(n=this[_[27]][_[60]](a,t))||void 0===n?void 0:n[_[61]])&&void 0!==i?i:null:this[_[62]](t)?this[_[33]]:null!==(r=this[_[27]][_[63]](e,t))&&void 0!==r?r:null},e[_[6]][_[62]]=function(e){return!this[_[64]]()&&Boolean(this[_[65]](this[_[33]],e))},e[_[6]][_[66]]=function(e){this[_[67]]=e},e[_[6]][_[68]]=function(){var e,t,n;return null!==(n=null===(t=null===(e=this[_[43]])||void 0===e?void 0:e[_[69]](this[_[34]]))||void 0===t?void 0:t[_[70]])&&void 0!==n?n:[]},e[_[6]][_[63]]=function(e,t){void 0===e&&(e={});var n=this[_[71]](t||this[_[68]]()),i=this[_[59]](e,n);return this[_[45]](e),i&&this[_[66]](i),this[_[67]]},e[_[6]][_[47]]=function(){var e=this;this[_[22]]=0;var t=this[_[19]][_[72]][_[25]]();if(t){var n=(0,d[_[75]])(t)[_[74]][_[73]];this[_[46]]=window[_[77]](function(){var t;null===(t=e[_[24]])||void 0===t||t[_[58]]((0,u[_[57]])(e[_[20]])),e[_[46]]=void 0},(0,p[_[76]])(n))}},e[_[6]][_[36]]=function(){var e=this;this[_[24]]&&(this[_[78]]=(0,h[_[79]])(this[_[24]])(this[_[23]],function(){return e[_[47]]()},function(e){return Boolean(e)}))},e[_[6]][_[65]]=function(e,t){var n;return t?(0,g[_[65]])(t,e):null===(n=this[_[43]])||void 0===n?void 0:n[_[65]](e)},e[_[6]][_[71]]=function(e){var t=this;return e[_[88]](function(e){return!!i(e[_[80]],t[_[21]][_[28]],t[_[21]][_[29]])&&(!(0,b[_[81]])(e)||i(e[_[82]],t[_[21]][_[83]],t[_[21]][_[84]])&&i(e[_[85]],t[_[21]][_[86]],t[_[21]][_[87]]))})},e[_[6]][_[35]]=function(e){return e?new v[_[90]](e,_[89]):new v[_[90]](new m[_[92]](_[91],this[_[20]]),_[89])},e[_[6]][_[93]]=function(e){var t={id:e[_[94]],bitrate:e[_[80]],width:e[_[82]],height:e[_[85]]};this[_[19]][_[72]][_[58]]((0,l[_[97]])(this[_[20]],f[_[96]][_[95]],t))},e[_[6]][_[98]]=function(){if(this[_[43]]){var e=this[_[43]][_[69]](this[_[34]]);if(e){var t=e[_[70]],n=a(e,[_[70]]),i=o([],t,!0)[_[99]](function(e,t){return e[_[80]]-t[_[80]]}),s=r(r({},n),{Representation:this[_[71]](i),_minBandwidth:Math[_[101]](n[_[100]]||0,this[_[21]][_[28]]),_maxBandwidth:Math[_[52]](n[_[102]]||Infinity,this[_[21]][_[29]])});this[_[27]][_[103]](s),this[_[93]](s)}}else this[_[19]][_[106]][_[105]](_[104])},e[_[6]][_[107]]=function(e){return this[_[34]]&&e&&this[_[43]]?this[_[43]][_[108]](this[_[34]],e):null},e[_[6]][_[109]]=function(){if(this[_[33]]){var e=this[_[33]][_[110]];this[_[33]]=this[_[35]](this[_[34]]);var t=this[_[107]](e);t&&(this[_[33]]=t[_[61]])}else this[_[33]]=this[_[35]](this[_[34]])},e[_[6]][_[111]]=function(e){e||this[_[19]][_[106]][_[105]](_[112][_[15]](e)),this[_[34]]=e,this[_[109]](),this[_[98]]()},e[_[6]][_[113]]=function(e){var t;if(_[89]===e)this[_[33]]=new v[_[90]](this[_[34]],_[89]);else if(this[_[34]]){var n=null===(t=this[_[43]])||void 0===t?void 0:t[_[108]](this[_[34]],e);n&&(this[_[33]]=n[_[61]],this[_[66]](this[_[63]]({})))}},e[_[6]][_[114]]=function(){return this[_[67]]},e[_[6]][_[64]]=function(){return _[89]===this[_[33]][_[110]]},e[_[6]][_[115]]=function(e,t){var n,i,r,a,o=this[_[19]][_[30]][_[31]]&&this[_[19]][_[30]][_[31]][_[116]];if(!this[_[64]]()||o||1===(null===(i=null===(n=this[_[43]])||void 0===n?void 0:n[_[69]](this[_[34]]))||void 0===i?void 0:i[_[70]][_[3]]))return!1;var s=function(e){var t=function(e){var t,n=null!==(t=e[_[129]])&&void 0!==t?t:0;return e[_[119]]>0&&n>0?8*e[_[119]]/1024/n:0}(e);return t>0?8*e[_[120]]/1024/t:1/0}(e),u=(null!==(a=null===(r=e[_[117]])||void 0===r?void 0:r[_[118]])&&void 0!==a?a:0)>0,c=!!e[_[56]]&&s>1.5*e[_[56]];return!(u||!c)&&!(e[_[119]]>=.9*e[_[120]])&&this[_[27]][_[115]](e,t)},e[_[6]][_[121]]=function(){this[_[27]][_[121]]()},e[_[6]][_[122]]=function(e){this[_[27]][_[122]](r({timestamp:Date[_[123]]()},e))},e[_[6]][_[124]]=function(){this[_[27]][_[124]](),clearTimeout(this[_[46]])},e[_[6]][_[125]]=function(){this[_[124]](),this[_[27]][_[125]](),this[_[78]]()},e[_[6]][_[126]]=function(e,t){if(t)return(0,y[_[127]])(t,e);var n=this[_[23]]();if(n)return(0,y[_[127]])(n,e);var i=this[_[71]](this[_[68]]());if(this[_[62]](i)){var r=this[_[65]](this[_[67]],i);if(r)return(0,y[_[127]])(r[_[80]],e)}return(0,y[_[127]])(this[_[27]][_[128]](),e)},e}();t[_[18]]=S},8658:function(e,t,n){Object[_[17]](t,_[16],{value:!0}),t[_[32]]=void 0;var i=n(86750),r=n(62838),a=n(47029),o=n(16587);t[_[32]]=function(e,t,n,s){var u=n[_[28]],c=n[_[29]];return void 0===s&&(s=i[_[131]][_[130]]),e[_[106]][_[105]](_[132][_[15]](s)),s===i[_[131]][_[130]]?new o[_[133]](e,t):s===i[_[131]][_[134]]?new r[_[135]](e,t):new a[_[136]](e,t,u||0,c||1/0)}},39208:function(e,t,n){t[_[137]]=void 0;var i=n(50163),r=n(29079),a=n(23860),o=function(){function e(e){this[_[19]]=e,this[_[138]]=new Map}return e[_[6]][_[139]]=function(e){if(e){if(!this[_[138]][_[140]](e)){var t=function(e,t){var n={minBitrate:0,maxBitrate:1/0,minHeight:0,maxHeight:1/0,minWidth:0,maxWidth:1/0};return i[_[148]][_[147]](e)?(n[_[28]]=Number(t[_[153]])||n[_[28]],n[_[29]]=Number(t[_[154]])||n[_[29]],n[_[86]]=t[_[155]],n[_[87]]=t[_[156]],n[_[83]]=t[_[157]],n[_[84]]=t[_[158]]):i[_[148]][_[159]](e)&&(n[_[28]]=Number(t[_[160]])||n[_[28]],n[_[29]]=Number(t[_[161]])||n[_[29]]),n}(e,this[_[19]][_[54]]);this[_[138]][_[141]](e,new a[_[18]](this[_[19]],e,t))}return this[_[138]][_[41]](e)}},e[_[6]][_[142]]=function(e,t,n){var i;return void 0===t&&(t={}),null===(i=this[_[139]](e))||void 0===i?void 0:i[_[63]](t,n)},e[_[6]][_[64]]=function(e){var t,n;return null===(n=null===(t=this[_[139]](e))||void 0===t?void 0:t[_[64]]())||void 0===n||n},e[_[6]][_[115]]=function(e,t,n){var i,r;return null!==(r=null===(i=this[_[139]](e))||void 0===i?void 0:i[_[115]](t,n))&&void 0!==r&&r},e[_[6]][_[126]]=function(e,t){var n=this[_[143]](),i=null;n||(i=r[_[145]][_[144]](),n=this[_[139]](i));var a=null==n?void 0:n[_[126]](e,t);return i&&this[_[146]](i),a||e[0]},e[_[6]][_[143]]=function(){var e=void 0;return this[_[138]][_[149]](function(t,n){e&&!i[_[148]][_[147]](n)||(e=t)}),e},e[_[6]][_[111]]=function(e,t){var n;null===(n=this[_[139]](e))||void 0===n||n[_[111]](t)},e[_[6]][_[113]]=function(e,t){var n;null===(n=this[_[139]](e))||void 0===n||n[_[113]](t)},e[_[6]][_[150]]=function(e){var t,n;return null!==(n=null===(t=this[_[139]](e))||void 0===t?void 0:t[_[114]]())&&void 0!==n?n:null},e[_[6]][_[121]]=function(e){var t;null===(t=this[_[139]](e))||void 0===t||t[_[121]]()},e[_[6]][_[124]]=function(e){var t;null===(t=this[_[139]](e))||void 0===t||t[_[124]]()},e[_[6]][_[122]]=function(e,t){var n;null===(n=this[_[139]](e))||void 0===n||n[_[122]](t)},e[_[6]][_[146]]=function(e){var t;null===(t=this[_[138]][_[41]](e))||void 0===t||t[_[125]](),this[_[138]][_[151]](e)},e[_[6]][_[125]]=function(){this[_[138]][_[149]](function(e){return e[_[125]]()}),this[_[138]][_[152]]()},e}();t[_[137]]=o},93469:function(e,t,n){var i=this&&this[_[1]]||function(){function e(e){for(var t,n=1,i=arguments[_[3]];n0&&2*e<=this[_[163]];return n&&(null===(t=this[_[168]])||void 0===t?void 0:t[_[94]])?1.5*e=this[_[164]][_[3]]-1)return this[_[19]][_[106]][_[179]](_[178][_[15]](this[_[20]],_[177])),this[_[168]];var n=this[_[180]](e);return this[_[168]]&&Number(n[_[80]])<=Number(this[_[168]][_[80]])?(this[_[19]][_[106]][_[179]](this[_[20]]+_[181]),this[_[168]]):(this[_[19]][_[106]][_[179]](_[182]+n[_[94]]),n)},e[_[6]][_[183]]=function(e){this[_[165]]&&this[_[184]](e)},e[_[6]][_[172]]=function(){return(0,s[_[185]])(this[_[164]],function(e){return e[_[80]]})},e[_[6]][_[184]]=function(e){var t=this,n=this[_[19]][_[51]][_[50]]();this[_[186]]||(this[_[186]]=window[_[77]](function(){t[_[19]][_[106]][_[179]](_[187]),t[_[165]]=!1,t[_[186]]=void 0},(0,r[_[76]])(n))),e[_[188]]>=.9*n&&(this[_[19]][_[106]][_[179]](_[189]),clearTimeout(this[_[186]]),this[_[165]]=!1,this[_[186]]=void 0)},e[_[6]][_[190]]=function(e,t,n){var i;return this[_[165]]||!n?(i=this[_[180]](o[_[175]][_[191]]),this[_[19]][_[106]][_[179]](this[_[165]]?_[192]:_[195][_[15]](i[_[80]]/1e3,_[194])[_[15]](i[_[94]],_[193]))):(this[_[19]][_[106]][_[179]](_[196]+t[_[197]]+_[198]+t[_[188]][_[199]](2)+_[200]+e[_[197]]+_[201]+e[_[188]][_[199]](2)+_[202]),i=this[_[203]](t[_[197]],e[_[197]])),i},e[_[6]][_[204]]=function(e){return this[_[166]]?this[_[163]]:e[_[188]]},e}();t[_[162]]=u},62838:function(e,t,n){var i=this&&this[_[205]]||function(){var e=function(t,n){return e=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[210]]=t}if(_[10]!=typeof n&&null!==n)throw new TypeError(_[208]+String(n)+_[209]);e(t,n),t[_[6]]=null===n?Object[_[211]](n):(i[_[6]]=n[_[6]],new i)}}();Object[_[17]](t,_[16],{value:!0}),t[_[135]]=void 0;var r=n(45366),a=n(11917),o=n(50163),s=n(93469),u=n(70394),c=n(40202),l=n(49300),d=n(63182),f=n(86003),h=function(e){function t(){var t=null!==e&&e[_[7]](this,arguments)||this;return t[_[212]]={},t[_[213]]=0,t}return i(t,e),t[_[6]][_[214]]=function(){var e;return(null===(e=this[_[168]])||void 0===e?void 0:e[_[94]])?this[_[168]]:this[_[172]]()},t[_[6]][_[215]]=function(){var e=null,t=this[_[19]][_[72]][_[25]]();if(t){var n=(0,r[_[75]])(t);e=Object[_[217]](n)[_[216]](o[_[148]][_[147]])}return e||this[_[20]]},t[_[6]][_[218]]=function(){var e,t,n=Math[_[101]](0,(null!==(t=null===(e=this[_[168]])||void 0===e?void 0:e[_[176]])&&void 0!==t?t:0)-1);return this[_[164]][n]},t[_[6]][_[180]]=function(e){void 0===e&&(e=f[_[175]][_[191]]);var t=this[_[212]][_[220]][_[219]](e),n=this[_[19]][_[54]][_[221]]/100,i=t[_[188]]*(1-n);return this[_[60]](i)},t[_[6]][_[222]]=function(e){var t,n;if(void 0===e&&(e=f[_[175]][_[223]]),void 0!==(null===(t=this[_[168]])||void 0===t?void 0:t[_[176]])&&this[_[168]][_[176]]<1&&null!==this[_[168]][_[94]])return this[_[19]][_[106]][_[179]](this[_[20]]+_[224]),this[_[168]];var i=this[_[180]](e);return!i||Number(i[_[80]])>=Number(null===(n=this[_[168]])||void 0===n?void 0:n[_[80]])?(i=this[_[218]](),this[_[19]][_[106]][_[179]](_[225]+i[_[94]])):this[_[19]][_[106]][_[179]](_[226]+i[_[94]]),i},t[_[6]][_[227]]=function(){var e;return null!==(e=this[_[168]])&&void 0!==e?e:this[_[172]]()},t[_[6]][_[228]]=function(e){switch(e){case d[_[230]][_[229]]:return this[_[173]](f[_[175]][_[223]]);case d[_[230]][_[232]]:return this[_[173]](f[_[175]][_[231]]);case d[_[230]][_[233]]:return this[_[227]]();default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[235]]=function(e){switch(e){case d[_[230]][_[229]]:return this[_[173]](f[_[175]][_[191]]);case d[_[230]][_[232]]:return this[_[227]]();case d[_[230]][_[233]]:return this[_[222]](f[_[175]][_[231]]);default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[236]]=function(e){switch(e){case d[_[230]][_[229]]:return this[_[227]]();case d[_[230]][_[232]]:return this[_[222]](f[_[175]][_[231]]);case d[_[230]][_[233]]:return this[_[222]](f[_[175]][_[223]]);default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[203]]=function(e,t){return e===d[_[230]][_[229]]?this[_[228]](t):e===d[_[230]][_[232]]?this[_[235]](t):e===d[_[230]][_[233]]?this[_[236]](t):(this[_[19]][_[106]][_[179]](_[237]),this[_[214]]())},t[_[6]][_[122]]=function(e){Object[_[238]](this[_[212]])[_[149]](function(t){return t[_[122]](e)})},t[_[6]][_[239]]=function(e){var t=this[_[222]](f[_[175]][_[223]]);return this[_[19]][_[106]][_[179]](_[240]+this[_[163]]/1024+_[241]+e/1024+_[242]+t[_[94]]),t},t[_[243]]=function(e,t,n,i){var r=parseFloat((n*e/t)[_[199]](2));return i&&(r*=2),1.1*r},t[_[6]][_[244]]=function(e,n,i,r,a){var o=t[_[243]](i,e,n,a);return o=0;f--){var h=this[_[164]][f];if(this[_[244]](n,h[_[80]],e[_[56]],i,u)){this[_[19]][_[106]][_[179]](_[247]+h[_[176]]),t=h,d=!0;break}}d||(this[_[19]][_[106]][_[179]](_[248]+(null===(s=this[_[168]])||void 0===s?void 0:s[_[176]])+_[249]+t[_[176]]),t=this[_[214]]())}}return t},t[_[6]][_[142]]=function(e){var t,n,i=this[_[19]][_[72]][_[25]]();i&&(n=(0,r[_[75]])(i));var o,s=this[_[212]][_[250]][_[219]](),u=this[_[212]][_[251]][_[219]](),c=this[_[212]][_[220]][_[219]](1)[_[188]],l=null!=n&&this[_[19]][_[51]][_[50]]()>n[_[74]][_[73]],d=this[_[167]](c);this[_[183]](s),o=d?this[_[239]](c):this[_[190]](u,s,l);var h=(0,r[_[253]])(null!=n?n:{},this[_[20]],a[_[96]][_[252]])[_[188]];return h>this[_[213]]?(this[_[213]]=h,this[_[222]](f[_[175]][_[254]])):(o=this[_[245]](e,o,c,s[_[188]]),this[_[163]]=c,this[_[166]]&&void 0!==o[_[176]]&&void 0!==(null===(t=this[_[168]])||void 0===t?void 0:t[_[176]])&&o[_[176]]>=this[_[168]][_[176]]&&(o=this[_[218]](),this[_[166]]=!1),o)},t[_[6]][_[63]]=function(e,t){return this[_[169]](t),this[_[168]]=this[_[142]](e),this[_[168]][_[61]]},t[_[6]][_[103]]=function(e){this[_[169]](e[_[70]]),this[_[168]]?this[_[168]]=this[_[60]](this[_[168]][_[80]]):this[_[168]]={_id:null,_bandwidth:0,arrayIndex:-1},this[_[255]]=this[_[215]](),this[_[212]][_[251]]=this[_[212]][_[251]]||new c[_[256]](this[_[19]],this[_[255]]),this[_[212]][_[250]]=this[_[212]][_[250]]||(0,l[_[257]])(this[_[19]],this[_[255]]),this[_[212]][_[220]]=this[_[212]][_[220]]||new u[_[258]](this[_[19]],this[_[255]])},t[_[6]][_[128]]=function(){return this[_[204]](this[_[212]][_[220]][_[219]]())},t[_[6]][_[115]]=function(){var e,t;return 0!==(null===(e=this[_[168]])||void 0===e?void 0:e[_[176]])&&this[_[142]]()[_[94]]!==(null===(t=this[_[168]])||void 0===t?void 0:t[_[94]])&&(this[_[166]]=!0,!0)},t[_[6]][_[68]]=function(){return this[_[164]]},t[_[6]][_[121]]=function(){this[_[165]]=!0,clearTimeout(this[_[186]]),this[_[186]]=void 0,Object[_[238]](this[_[212]])[_[149]](function(e){return e[_[121]]()})},t[_[6]][_[124]]=function(){clearTimeout(this[_[186]]),Object[_[238]](this[_[212]])[_[149]](function(e){return e[_[124]]()})},t[_[6]][_[125]]=function(){this[_[124]](),Object[_[238]](this[_[212]])[_[149]](function(e){return e[_[125]]()}),this[_[212]]={},this[_[168]]=void 0,this[_[164]]=[]},t}(s[_[162]]);t[_[135]]=h},47029:function(e,t,n){Object[_[17]](t,_[16],{value:!0}),t[_[136]]=void 0;var i=n(50163),r=n(88269),a=function(){function e(e,t,n,r){this[_[19]]=e,this[_[20]]=t,this[_[259]]=n,this[_[260]]=r,this[_[164]]=[],this[_[261]]=i[_[148]][_[262]](this[_[20]]),this[_[263]]={timestamp:Date[_[123]](),bufferLevel:0,bufferTargetLevel:0}}return e[_[6]][_[169]]=function(e){e&&(this[_[164]]=e)},e[_[6]][_[264]]=function(){return(0,r[_[265]])(this[_[164]],this[_[259]])},e[_[6]][_[266]]=function(){var e;return null===(e=this[_[60]](this[_[260]]))||void 0===e?void 0:e[_[80]]},e[_[6]][_[267]]=function(){return this[_[19]][_[51]][_[50]](this[_[261]])},e[_[6]][_[268]]=function(){var e=this[_[264]](),t=this[_[266]]();return this[_[269]]=this[_[267]](),function(e,t,n){var i=[];0===t&&(t=e);var r=2*Math[_[274]](.1*n),a=8*Math[_[274]](.1*n);a<=r&&(a=Math[_[274]](.9*n)),r<=1&&(r=1);for(var o=(t-e)/(a-r),s=e-o*r,u=0;ut&&(n=t),e=this[_[271]][_[5]](n)?this[_[271]][n]:this[_[271]][0],this[_[60]](e)},e[_[6]][_[63]]=function(e,t){this[_[169]](t);var n=this[_[142]]();return this[_[270]](),n[_[61]]},e[_[6]][_[103]]=function(e){this[_[169]](e[_[70]]),this[_[271]]=this[_[268]]()},e[_[6]][_[115]]=function(){return!1},e[_[6]][_[121]]=function(){},e[_[6]][_[124]]=function(){},e[_[6]][_[122]]=function(e){this[_[263]]=e},e[_[6]][_[125]]=function(){this[_[271]]=[]},e[_[6]][_[128]]=function(){return 0},e}();t[_[136]]=a},16587:function(e,t,n){function i(e){var t,n,i,r,a=null!==(n=null===(t=e[_[117]])||void 0===t?void 0:t[_[328]])&&void 0!==n?n:-1,o=null!==(r=null===(i=e[_[117]])||void 0===i?void 0:i[_[279]])&&void 0!==r?r:-1;return a<0||o<0?0:o-a}function r(e){var t,n=null!==(t=e[_[129]])&&void 0!==t?t:-1;return n<0?0:n-i(e)}var a,o=this&&this[_[205]]||(a=function(e,t){return a=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},a(e,t)},function(e,t){function n(){this[_[210]]=e}if(_[10]!=typeof t&&null!==t)throw new TypeError(_[208]+String(t)+_[209]);a(e,t),e[_[6]]=null===t?Object[_[211]](t):(n[_[6]]=t[_[6]],new n)}),s=this&&this[_[1]]||function(){function e(e){for(var t,n=1,i=arguments[_[3]];n-1,b=p?f>i[_[19]][_[54]][_[280]]:c>i[_[19]][_[54]][_[280]];return!(l||d||h||!b)&&i[_[281]](e,f,p,c)},i[_[282]](),i}return o(t,e),Object[_[17]](t[_[6]],_[43],{get:function(){return this[_[19]][_[42]][_[41]](u[_[40]][_[44]],this[_[19]][_[38]][_[37]])},enumerable:!1,configurable:!0}),Object[_[17]](t[_[6]],_[275],{get:function(){return this[_[19]][_[42]][_[41]](u[_[40]][_[283]])},enumerable:!1,configurable:!0}),t[_[6]][_[214]]=function(){var e;return(null===(e=this[_[168]])||void 0===e?void 0:e[_[94]])?this[_[168]]:this[_[172]]()},t[_[6]][_[215]]=function(){var e=null,t=this[_[19]][_[72]][_[25]]();return t&&(e=Object[_[217]]((0,d[_[75]])(t))[_[216]](h[_[148]][_[147]])),e||this[_[20]]},t[_[6]][_[68]]=function(){var e,t=this;return this[_[166]]&&(null===(e=this[_[168]])||void 0===e?void 0:e[_[80]])?this[_[164]][_[88]](function(e){var n=e[_[80]];return t[_[168]]&&n=(null===(r=this[_[168]])||void 0===r?void 0:r[_[80]]))?(a=this[_[218]](),this[_[19]][_[106]][_[179]](_[225]+a[_[94]])):this[_[19]][_[106]][_[179]](_[226]+a[_[94]]),a},t[_[6]][_[227]]=function(){var e;return null!==(e=this[_[168]])&&void 0!==e?e:this[_[172]]()},t[_[6]][_[228]]=function(e){switch(e){case g[_[230]][_[229]]:return this[_[173]](y[_[175]][_[223]]);case g[_[230]][_[232]]:return this[_[173]](y[_[175]][_[231]]);case g[_[230]][_[233]]:return this[_[227]]();default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[235]]=function(e){switch(e){case g[_[230]][_[229]]:return this[_[173]](y[_[175]][_[191]]);case g[_[230]][_[232]]:return this[_[227]]();case g[_[230]][_[233]]:return this[_[222]](y[_[175]][_[231]]);default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[236]]=function(e){switch(e){case g[_[230]][_[229]]:return this[_[227]]();case g[_[230]][_[232]]:return this[_[222]](y[_[175]][_[231]]);case g[_[230]][_[233]]:return this[_[222]](y[_[175]][_[223]]);default:return this[_[19]][_[106]][_[179]](_[234]),this[_[227]]()}},t[_[6]][_[203]]=function(e,t){if(this[_[166]])return this[_[222]](y[_[175]][_[223]]);switch(e){case g[_[230]][_[229]]:return this[_[228]](t);case g[_[230]][_[232]]:return this[_[235]](t);case g[_[230]][_[233]]:return this[_[236]](t);default:return this[_[19]][_[106]][_[179]](_[237]),this[_[214]]()}},t[_[6]][_[122]]=function(e){this[_[286]][_[122]](e),this[_[284]][_[122]](e),this[_[285]][_[122]](e),this[_[287]][_[122]](-1)},t[_[6]][_[288]]=function(e,t,n,i,r,a){var o,s,u,c,l,d,f,h=i*t/n+a,p=null!==(s=null===(o=this[_[43]])||void 0===o?void 0:o[_[289]](e))&&void 0!==s&&s,b=!this[_[290]](e),m=Boolean(r)&&null!==(u=r[_[246]])&&void 0!==u&&u,g=null!==(l=null===(c=this[_[43]])||void 0===c?void 0:c[_[65]](e))&&void 0!==l?l:null,v=Boolean(this[_[168]])&&null!==(null===(d=this[_[168]])||void 0===d?void 0:d[_[94]])&&(null===(f=this[_[168]])||void 0===f?void 0:f[_[176]])!==(null==g?void 0:g[_[176]]),$=h;return m&&v&&($*=2),b&&($+=a),p&&($+=a),$},t[_[6]][_[244]]=function(e,t,n,i,r,a,o){var s=1-this[_[19]][_[54]][_[291]],u=this[_[19]][_[54]][_[292]]-s,c=this[_[19]][_[51]][_[50]](),l=i*(s+Math[_[52]](o,c)*u/c);return this[_[288]](e,i,t,n,{hlsDependentSegments:r},a)<=l},t[_[6]][_[290]]=function(e){var t,n,i=this[_[19]][_[72]][_[25]](),r=i?(0,d[_[294]])(i,this[_[20]],f[_[96]][_[293]]):[];return 0===r[_[3]]?null!==(n=null===(t=this[_[43]])||void 0===t?void 0:t[_[295]]())&&void 0!==n&&n:r[_[298]](function(t){var n=t[_[5]](_[188])&&t[_[188]][_[5]](_[296])?t[_[188]][_[296]]:null;return null!==n&&n[_[297]](e)})},t[_[6]][_[277]]=function(){var e=this[_[19]][_[72]][_[25]](),t=e?(0,d[_[294]])(e,this[_[20]],f[_[96]][_[293]]):[],n=Boolean(this[_[19]][_[30]][_[31]]&&this[_[19]][_[30]][_[31]][_[299]]),i=t[_[88]](function(e){return Boolean(e[_[188]])})[_[3]]>0;return n&&!i},t[_[6]][_[300]]=function(e){var t;switch(void 0===e&&(e=0),t=0!==e?this[_[287]][_[308]](e,5,.2)[_[188]]:this[_[287]][_[219]](5,.2)[_[188]],function(e){var t,n;return null!==(n=null===(t=e[_[31]])||void 0===t?void 0:t[_[329]])&&void 0!==n?n:c[_[303]][_[304]]}(this[_[19]][_[30]])){case c[_[303]][_[302]]:return t[_[301]];case c[_[303]][_[304]]:default:return t[_[305]]>t[_[306]]?t[_[306]]+t[_[305]]:t[_[307]]}},t[_[6]][_[309]]=function(e,t,n){var i=this;void 0===n&&(n=this[_[300]]());var r=this[_[164]][_[88]](function(e){var t;return i[_[168]]&&!e[_[61]][_[297]](null===(t=i[_[168]])||void 0===t?void 0:t[_[61]])});return Math[_[52]][_[7]](Math,r[_[170]](function(r){var a;return i[_[288]](r[_[61]],null!==(a=i[_[310]]?i[_[310]][_[56]]:t)&&void 0!==a?a:0,e,r[_[80]],i[_[310]],n)}))},t[_[6]][_[311]]=function(e,t,n,i,r){var a=this;if(!e[_[56]]||this[_[277]]())return t;this[_[310]]=e;var o=this[_[164]][_[88]](function(e){return e[_[80]]<=t[_[80]]})[_[99]](function(e,t){return e[_[80]]-t[_[80]]});if(0===o[_[3]])return this[_[164]][0];var s=r[_[188]]||0,u=o[_[88]](function(t){var r;return a[_[244]](t[_[61]],n,t[_[80]],null!==(r=e[_[56]])&&void 0!==r?r:0,!1,i,s)});return 0===u[_[3]]?o[0]:u[u[_[3]]-1]},t[_[6]][_[142]]=function(e){var t,n,i=this[_[284]][_[219]](),r=this[_[286]][_[219]](),a=this[_[285]][_[219]](),o=this[_[166]]?this[_[163]]:a[_[188]],s=this[_[19]][_[51]][_[50]](),u=this[_[300]]();this[_[183]](i);var c=this[_[19]][_[72]][_[25]](),f=s>(null!==(n=null===(t=(c?(0,d[_[75]])(c):{})[_[74]])||void 0===t?void 0:t[_[73]])&&void 0!==n?n:l[_[313]][_[312]]),h=this[_[190]](r,i,f);return e&&(h=this[_[311]](e,h,o,u,i)),this[_[163]]=o,this[_[166]]=!1,this[_[314]]=void 0,h},t[_[6]][_[63]]=function(e,t){var n;return this[_[169]](t),this[_[168]]=this[_[142]](e),null===(n=this[_[168]])||void 0===n?void 0:n[_[61]]},t[_[6]][_[282]]=function(){this[_[255]]=this[_[215]](),this[_[286]]=new m[_[315]](this[_[19]],this[_[255]]),this[_[284]]=(0,b[_[257]])(this[_[19]],this[_[255]]),this[_[285]]=new v[_[316]](this[_[19]],this[_[255]]),this[_[287]]=new $[_[317]](this[_[19]],this[_[255]])},t[_[6]][_[103]]=function(e){this[_[169]](e[_[70]]),this[_[168]]=this[_[168]]?s({},this[_[60]](this[_[168]][_[80]])):void 0,this[_[255]]=this[_[215]](),this[_[314]]=void 0},t[_[6]][_[278]]=function(e){return!!e&&this[_[172]]()[_[61]][_[297]](e)},t[_[6]][_[318]]=function(){var e,t,n=h[_[148]][_[147]](this[_[255]])?null===(e=this[_[19]][_[319]])||void 0===e?void 0:e[_[320]]():null===(t=this[_[19]][_[319]])||void 0===t?void 0:t[_[321]]();return isFinite(n)?n:1/0},t[_[6]][_[322]]=function(e){var t,n,i,r,a,o,s=null!==(t=e[_[129]])&&void 0!==t?t:0,u=(null===(n=this[_[314]])||void 0===n?void 0:n[_[323]])===e[_[323]]?(e[_[119]]-(null!==(r=null===(i=this[_[314]])||void 0===i?void 0:i[_[119]])&&void 0!==r?r:0))/(s-(null!==(o=null===(a=this[_[314]])||void 0===a?void 0:a[_[129]])&&void 0!==o?o:0)):-1;return this[_[314]]=e,u},t[_[6]][_[324]]=function(e,t){var n,r=t?i(e):null!==(n=e[_[129]])&&void 0!==n?n:0;return this[_[300]](r)},t[_[6]][_[325]]=function(e){return void 0===e&&(e=4),this[_[168]]?this[_[168]][_[80]]/8*e*1.2:0},t[_[6]][_[326]]=function(e,t){var n=-1!==e[_[120]]&&-1!==e[_[119]],i=n?this[_[322]](e):0,r=n?e[_[120]]-e[_[119]]:this[_[325]](e[_[56]]);return Math[_[52]](r/(t/8),i>0?r/i:1/0)},t[_[6]][_[327]]=function(e,t,n){if(-1!==e[_[120]]&&-1!==e[_[119]])return e[_[119]]/t*8;var i=this[_[19]][_[51]][_[50]](),r=this[_[285]][_[219]](y[_[175]][_[191]],n/i);return this[_[204]](r)},t[_[6]][_[281]]=function(e,t,n,i){var r,a,o=this[_[318]](),s=this[_[324]](e,n),u=this[_[327]](e,t,o),c=this[_[326]](e,u),l=this[_[309]](u,e[_[56]],s),d=e[_[56]]?e[_[56]]:null!==(a=null===(r=this[_[310]])||void 0===r?void 0:r[_[56]])&&void 0!==a?a:0;return!!((n?c>o:i>Math[_[52]](c+d,o))&&(n?c>l:i>l+d)&&(n?o-(l+d)<=0:o-(l+d+i)<=0))&&(this[_[166]]=!0,this[_[163]]=u,!0)},t[_[6]][_[121]]=function(){var e,t,n,i;this[_[165]]=!0,clearTimeout(this[_[186]]),this[_[186]]=void 0,null===(e=this[_[286]])||void 0===e||e[_[121]](),null===(t=this[_[284]])||void 0===t||t[_[121]](),null===(n=this[_[285]])||void 0===n||n[_[121]](),null===(i=this[_[287]])||void 0===i||i[_[121]]()},t[_[6]][_[124]]=function(){var e,t,n,i;clearTimeout(this[_[186]]),this[_[314]]=void 0,null===(e=this[_[286]])||void 0===e||e[_[124]](),null===(t=this[_[284]])||void 0===t||t[_[124]](),null===(n=this[_[285]])||void 0===n||n[_[124]](),null===(i=this[_[287]])||void 0===i||i[_[124]]()},t[_[6]][_[125]]=function(){var e,t,n,i;this[_[124]](),null===(e=this[_[286]])||void 0===e||e[_[125]](),null===(t=this[_[284]])||void 0===t||t[_[125]](),null===(n=this[_[285]])||void 0===n||n[_[125]](),null===(i=this[_[287]])||void 0===i||i[_[125]](),this[_[168]]=void 0,this[_[164]]=[],this[_[255]]=_[178]},t}(p[_[162]]);t[_[133]]=S},38746:function(e,t,n){Object[_[17]](t,_[16],{value:!0}),t[_[330]]=void 0;var i=n(83024),r=n(23599);t[_[330]]={name:i[_[332]][_[331]],module:function(){return{AdaptationService:n(39208)[_[137]],AdaptToPlayerResolution:n(13639)[_[333]],AdaptationUtils:r}},dependencies:[i[_[332]][_[334]]]},t[_[74]]=t[_[330]]},13639:function(e,t){function n(e,t){var n,r=null===(n=t[_[342]])||void 0===n?void 0:n[_[343]]();if(!r)return null;var a=r[_[344]],o=a&&a[_[346]](_[345]);return e?{width:screen[_[339]]*devicePixelRatio,height:screen[_[340]]*devicePixelRatio}:i(r)||o&&i(o)||a&&i(a)}function i(e){return e&&e[_[347]]&&e[_[348]]?{width:e[_[347]]*devicePixelRatio,height:e[_[348]]*devicePixelRatio}:null}t[_[333]]=void 0,t[_[333]]=function(e,t,i){var r,a,o=n(i,e);if(!o)return t;var s=null!==(a=null===(r=e[_[335]])||void 0===r?void 0:r[_[336]]())&&void 0!==a?a:[],u=s[_[216]](function(e){return e[_[337]]===t});if(!u)return t;var c=function(e,t,n){return e[_[88]](function(e){var i=e[_[338]]<=t,r=function(e,t){var n=t[_[339]]/t[_[340]];return e[_[339]]/e[_[340]]e[_[339]]:t[_[340]]>e[_[340]]}(n,e);return i&&r})}(s,u[_[338]],o);return 0===c[_[3]]?t:c[function(e){var t=e[_[341]](function(t){return t[_[339]]>e[0][_[339]]&&t[_[340]]>e[0][_[340]]})-1;return Math[_[101]](0,t)}(c)][_[337]]}},30876:function(e,t){Object[_[17]](t,_[16],{value:!0}),t[_[349]]=t[_[350]]=void 0,t[_[350]]=function(e){return null!=e[_[338]]},t[_[349]]=function(e){return null!=e[_[28]]&&null!=e[_[29]]}},51591:function(e,t,n){function i(e){return(0,r[_[350]])(e)&&e[_[338]]>0?e[_[338]]:(0,r[_[349]])(e)?(e[_[29]]+e[_[28]])/2:0}Object[_[17]](t,_[16],{value:!0}),t[_[127]]=void 0;var r=n(30876);t[_[127]]=function(e,t){if(t&&0!==t[_[3]])return t[_[351]](function(t,n){var r=i(n),a=i(t);return a>e||r>e?r>a?t:n:r>a?n:t})}},23085:function(e,t){function n(e){return e[_[3]]>0?e[_[351]](function(e,t){return e+t},0)/e[_[3]]:0}Object[_[17]](t,_[16],{value:!0}),t[_[354]]=t[_[355]]=t[_[356]]=void 0,t[_[356]]=n,t[_[355]]=function(e,t){if(void 0===t&&(t=n(e)),e[_[3]]<2)return 0;var i=e[_[351]](function(e,n){return e+Math[_[352]](n-t,2)},0),r=1/(e[_[3]]-1)*i;return Math[_[353]](r)},t[_[354]]=function(e){var t=e[_[14]](0)[_[99]](function(e,t){return e-t});return 0===t[_[3]]?0:t[_[3]]%2==1?t[Math[_[274]](t[_[3]]/2)]:.5*(t[t[_[3]]/2-1]+t[t[_[3]]/2])}},86003:function(e,t){Object[_[17]](t,_[16],{value:!0}),t[_[175]]=void 0,function(e){e[e[_[174]]=10]=_[174],e[e[_[357]]=8]=_[357],e[e[_[358]]=7]=_[358],e[e[_[359]]=6]=_[359],e[e[_[191]]=5]=_[191],e[e[_[254]]=4]=_[254],e[e[_[231]]=3]=_[231],e[e[_[223]]=2]=_[223],e[e[_[360]]=1]=_[360]}(t[_[175]]||(t[_[175]]={}))},23599:function(e,t,n){function i(e){return e[_[364]]?o[_[145]][_[365]](_[101],e[_[364]]):1/0}function r(e,t){return 8+o[_[145]][_[365]](_[52],e)*(1+t/100)}function a(e,t){return e[e[_[351]](function(n,i,r){return t(e[n],e[r])?n:r},0)]}Object[_[17]](t,_[16],{value:!0}),t[_[361]]=t[_[185]]=t[_[362]]=t[_[363]]=void 0;var o=n(29079);t[_[363]]=function(e){var t,n=null===(t=e[_[30]])||void 0===t?void 0:t[_[31]],a=e[_[54]];if(!n||!a)return 0;var o=i(n),s=n[_[299]]||0;if(!s)return isFinite(o)?o:0;var u=r(s,a[_[221]]);return!isNaN(u)&&isFinite(u)&&ut(n)})}},70394:function(e,t,n){function i(e){return e/8}var r=this&&this[_[205]]||function(){var e=function(t,n){return e=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[210]]=t}if(_[10]!=typeof n&&null!==n)throw new TypeError(_[208]+String(n)+_[209]);e(t,n),t[_[6]]=null===n?Object[_[211]](n):(i[_[6]]=n[_[6]],new i)}}();Object[_[17]](t,_[16],{value:!0}),t[_[258]]=void 0;var a=n(45366),o=n(11917),s=n(29079),u=n(63182),c=_[366],l=_[367],d=1e6,f=function(e){function t(t,n){var i,r,a=e[_[4]](this,t,n)||this,o=t[_[30]];return a[_[54]]=t[_[54]],a[_[369]]=n,a[_[370]]=16e5,null!=(null===(i=o[_[31]])||void 0===i?void 0:i[_[364]])&&(a[_[370]]=s[_[145]][_[365]](_[101],o[_[31]][_[364]])),null!=(null===(r=o[_[31]])||void 0===r?void 0:r[_[299]])&&(a[_[299]]=s[_[145]][_[365]](_[52],o[_[31]][_[299]])),a[_[371]]={bytes:0,time:0},a[_[372]]=[],a}return r(t,e),t[_[373]]=function(e,t){return 8*e/t},t[_[6]][_[374]]=function(e){var n=this[_[372]][_[375]]();if((null==n?void 0:n[_[376]])===d&&(this[_[372]][_[377]](n),n=void 0),n||(n={bytes:0,time:0,rateInBps:0}),n[_[376]]+e[_[376]]<=d){var i=n[_[376]]+e[_[376]],r=n[_[378]]+e[_[378]];this[_[372]][_[377]]({bytes:i,time:r,rateInBps:t[_[373]](i,r)})}else{var a=(d-n[_[376]])/e[_[376]];n[_[376]]+=e[_[376]]*a,n[_[378]]+=e[_[378]]*a,n[_[379]]=t[_[373]](n[_[376]],n[_[378]]),this[_[372]][_[377]](n);for(var o=e[_[376]]*(1-a),s=e[_[378]]*(1-a);o>d;){var u=s/(o/d);this[_[372]][_[377]]({bytes:d,time:u,rateInBps:t[_[373]](d,u)}),o-=d,s-=u}this[_[372]][_[377]]({bytes:o,time:s,rateInBps:t[_[373]](o,s)})}},t[_[6]][_[380]]=function(e){if(e&&!isNaN(e[_[376]])){var t=this[_[371]];if(t[_[376]]===e[_[376]]&&t[_[378]]===e[_[378]])return;this[_[371]]=e,this[_[374]](e),this[_[372]][_[3]]>40&&this[_[372]][_[381]](),this[_[382]]()}},t[_[6]][_[383]]=function(e,n){var i,r=-e;null!=n&&(r=-e-n,i=-n);var a=this[_[372]][_[14]](r,i);if(0===a[_[3]])return 0;var o=a[_[351]](function(e,t){return{bytes:e[_[376]]+t[_[376]],time:e[_[378]]+t[_[378]],rateInBps:e[_[379]]+t[_[379]]}});return o[_[379]]=t[_[373]](o[_[376]],o[_[378]]),o[_[379]]},t[_[6]][_[384]]=function(){if(null==this[_[299]])return null;this[_[370]]=Number[_[385]];var e=this[_[299]];return e*=1+this[_[54]][_[221]]/100,e+=8,isNaN(e)?null:(this[_[19]][_[106]][_[179]](_[386][_[15]](e)),{bytes:i(e),time:1})},t[_[6]][_[122]]=function(){if(this[_[387]]){var e=(0,a[_[75]])(this[_[387]]),t=(0,a[_[253]])(e,this[_[369]],o[_[96]][_[388]]);if(!t||!t[_[188]]||!t[_[188]][_[376]]){var n=this[_[384]]();if(n&&(t={value:n}),!t||!t[_[188]]||!t[_[188]][_[376]]){t=t||{};var r=this[_[389]]();r>0&&(t[_[188]]={bytes:i(r),time:1})}t&&t[_[188]]||(t=(0,a[_[253]])(e,_[74],o[_[96]][_[388]]));var s=1/0;t&&t[_[188]]&&!isNaN(t[_[188]][_[376]])&&!isNaN(t[_[188]][_[378]])&&(s=t[_[188]][_[376]]/t[_[188]][_[378]]),s>this[_[370]]&&(t[_[188]]=t[_[188]]||{},t[_[188]][_[376]]=i(this[_[370]]),t[_[188]][_[378]]=1)}this[_[380]](t[_[188]])}},t[_[6]][_[219]]=function(e){0===this[_[372]][_[3]]&&this[_[122]]();var t=this[_[383]](e),n=this[_[383]](e,1);return{value:t,result:t>1.1*n?u[_[230]][_[229]]:t<.9*n?u[_[230]][_[233]]:u[_[230]][_[232]]}},t[_[6]][_[382]]=function(){if(this[_[387]]){var e=(0,a[_[294]])(this[_[387]],this[_[369]],o[_[96]][_[388]])[_[14]](-3)[_[170]](function(e){return Math[_[390]](8*e[_[188]][_[376]]/e[_[188]][_[378]])});this[_[19]][_[391]][_[141]](c,e),this[_[19]][_[391]][_[141]](l,Date[_[123]]())}},t[_[6]][_[389]]=function(){var e=this[_[19]][_[391]][_[41]](c)||[],t=Math[_[390]](e[_[351]](function(e,t){return e+t},0)/e[_[3]])||-1,n=new Date(this[_[19]][_[391]][_[41]](l)||0);return this[_[19]][_[106]][_[179]](_[394][_[15]](e,_[393])[_[15]](t,_[392])[_[15]](n)),t},t[_[6]][_[124]]=function(){},t[_[6]][_[121]]=function(){},t[_[6]][_[125]]=function(){},t}(u[_[368]]);t[_[258]]=f},40202:function(e,t,n){var i=this&&this[_[205]]||function(){var e=function(t,n){return e=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[210]]=t}if(_[10]!=typeof n&&null!==n)throw new TypeError(_[208]+String(n)+_[209]);e(t,n),t[_[6]]=null===n?Object[_[211]](n):(i[_[6]]=n[_[6]],new i)}}();Object[_[17]](t,_[16],{value:!0}),t[_[256]]=void 0;var r=n(80815),a=n(63182),o=function(e){function t(t,n){var i=e[_[4]](this,t,n)||this;return i[_[51]]=t[_[51]],i[_[395]]=!0,i[_[396]]=[],i}return i(t,e),t[_[6]][_[397]]=function(){if(0===this[_[396]][_[3]])return NaN;var e=this[_[396]][this[_[396]][_[3]]-1],t=e[_[398]];if(this[_[395]]){var n=e[_[273]],i=this[_[396]][this[_[396]][_[3]]-2],r=0;i&&(r=i[_[273]]),n>=e[_[398]]||r>n?(this[_[106]][_[179]](_[399]),this[_[395]]=!1):t=n}return t},t[_[6]][_[400]]=function(e){isNaN(e)&&(e=this[_[51]][_[50]]());for(var t,n=Date[_[123]]()-(0,r[_[76]])(e),i=0,a=0,o=0;o=n&&(i+=t[_[273]]-a),a=t[_[273]];return((i/=this[_[397]]())<-1||i>1)&&this[_[106]][_[179]](_[402]+i),isNaN(i)?1:i},t[_[6]][_[122]]=function(e){var t=this;this[_[403]]||(this[_[403]]=window[_[77]](function(){t[_[106]][_[179]](_[404]),t[_[395]]=!1},(0,r[_[76]])(this[_[51]][_[50]]()))),this[_[396]][_[377]](e),e[_[401]]-this[_[396]][0][_[401]]>6e4&&this[_[396]][_[381]]()},t[_[6]][_[219]]=function(e){var t=this[_[400]](e),n=a[_[230]][_[232]];return t>.7?n=a[_[230]][_[229]]:t<-.5&&(n=a[_[230]][_[233]]),{value:t,result:n}},t[_[6]][_[121]]=function(){this[_[395]]=!0},t[_[6]][_[124]]=function(){clearTimeout(this[_[403]])},t[_[6]][_[125]]=function(){this[_[124]](),this[_[396]]=[]},t}(a[_[368]]);t[_[256]]=o},49300:function(e,t,n){Object[_[17]](t,_[16],{value:!0}),t[_[257]]=void 0;var i=n(63634),r=n(80815),a=n(63182);t[_[257]]=function(e,t){var n,o,s=!0,u={timestamp:Date[_[123]](),bufferTargetLevel:(null===(n=i[_[313]][_[406]][_[405]])||void 0===n?void 0:n[_[407]])||0,bufferLevel:0},c=function(){clearTimeout(o)};return{addSample:function(t){o||(o=window[_[77]](function(){s=!1},(0,r[_[76]])(e[_[51]][_[50]]()))),u=t},getStatus:function(){var t;return u[_[273]]>.8*u[_[398]]?(t=a[_[230]][_[229]],s=!1,clearTimeout(o)):t=u[_[273]]<.4*u[_[398]]?a[_[230]][_[233]]:a[_[230]][_[232]],s&&(e[_[106]][_[179]](_[408]),t=a[_[230]][_[232]]),{value:u[_[273]],result:t}},setStartupPhase:function(){s=!0},shutdown:c,dispose:function(){c()}}}},39744:function(e,t,n){var i=this&&this[_[205]]||function(){var e=function(t,n){return e=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[210]]=t}if(_[10]!=typeof n&&null!==n)throw new TypeError(_[208]+String(n)+_[209]);e(t,n),t[_[6]]=null===n?Object[_[211]](n):(i[_[6]]=n[_[6]],new i)}}();Object[_[17]](t,_[16],{value:!0}),t[_[315]]=void 0;var r=n(80815),a=n(63182),o=function(e){function t(t,n){var i=e[_[4]](this,t,n)||this;return i[_[410]]=[],i}return i(t,e),t[_[6]][_[411]]=function(e){void 0===e&&(e=this[_[19]][_[51]][_[50]]());for(var t=Date[_[123]]()-(0,r[_[76]])(e),n=0,i=0,a=1;a=t){var u=s[_[401]]-o[_[401]];n+=s[_[409]]*u,i+=u}}return i<=0?1:n/i},t[_[6]][_[122]]=function(e){(function(e){return null!=e[_[409]]})(e)&&(this[_[410]][_[377]](e),e[_[401]]-this[_[410]][0][_[401]]>6e4&&this[_[410]][_[381]]())},t[_[6]][_[219]]=function(e,t){var n=this[_[411]](e),i=a[_[230]][_[232]];return n>1.7?i=a[_[230]][_[229]]:n<.5&&(i=a[_[230]][_[233]]),{value:n,result:i}},t[_[6]][_[121]]=function(){},t[_[6]][_[124]]=function(){},t[_[6]][_[125]]=function(){this[_[124]](),this[_[410]]=[]},t}(a[_[368]]);t[_[315]]=o},63182:function(e,t){Object[_[17]](t,_[16],{value:!0}),t[_[368]]=t[_[230]]=void 0,function(e){e[_[229]]=_[412],e[_[232]]=_[413],e[_[233]]=_[414]}(t[_[230]]||(t[_[230]]={}));var n=function(){function e(e,t){this[_[19]]=e,this[_[415]]=[],this[_[20]]=t,this[_[106]]=e[_[106]],this[_[416]]=e[_[54]],this[_[417]]=this[_[416]][_[418]]}return Object[_[17]](e[_[6]],_[387],{get:function(){var e;return null===(e=this[_[19]][_[72]])||void 0===e?void 0:e[_[25]]()},enumerable:!1,configurable:!0}),e[_[6]][_[419]]=function(e,t){var n=function(t,i){return 0===t[_[3]]||i<0?0:0===i||0===e?t[i]:e*t[i]+(1-e)*n(t,i-1)};return n(t,t[_[3]]-1)},e[_[6]][_[308]]=function(e,t,n){return this[_[219]](t,n)},e}();t[_[368]]=n},44450:function(e,t,n){function i(e){return e[_[424]]>0&&!/^https?:\\/\\/localhost(:\\d+)?(\\/|$)/[_[437]](e[_[436]])}var r=this&&this[_[205]]||function(){var e=function(t,n){return e=Object[_[206]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[207]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[210]]=t}if(_[10]!=typeof n&&null!==n)throw new TypeError(_[208]+String(n)+_[209]);e(t,n),t[_[6]]=null===n?Object[_[211]](n):(i[_[6]]=n[_[6]],new i)}}();Object[_[17]](t,_[16],{value:!0}),t[_[316]]=void 0;var a=n(45366),o=n(11917),s=n(80815),u=n(23599),c=n(63182),l=_[366],d=_[367],f=function(e){function t(t,n){var i=e[_[4]](this,t,n)||this;return i[_[420]]=-1,i[_[421]]=.1,i}return r(t,e),t[_[422]]=function(){if(!performance||_[10]!=typeof performance[_[423]])return 0;var e=0,t=0;return performance[_[430]](_[429])[_[88]](i)[_[149]](function(n){e+=8*n[_[424]],t+=(0,s[_[428]])(n[_[425]]-(n[_[426]]-n[_[427]]))}),e>0&&t>0?e/t:0},t[_[6]][_[383]]=function(e,t,n){var i;void 0===t&&(t=1),void 0===n&&(n=0);var r=-e-n;return i=0!==n?this[_[415]][_[14]](r,-n):this[_[415]][_[14]](r),this[_[419]](1-t,i)},t[_[431]]=function(e){if(Boolean(e)&&Boolean(e[_[188]])){var t=Boolean(e[_[188]][_[376]]),n=!isNaN(e[_[188]][_[378]]),i=!isNaN(e[_[188]][_[432]]);return t&&n&&i}return!1},t[_[6]][_[433]]=function(e){if(!this[_[387]])return 0;var n=(0,a[_[253]])((0,a[_[75]])(this[_[387]]),e,o[_[96]][_[388]]),i=t[_[431]](n),r=i&&this[_[420]]0&&e[_[377]](n);var i=this[_[433]](_[74]);i>0&&e[_[377]](i);var r=Math[_[52]][_[7]](Math,e);return r>0&&isFinite(r)?r:t[_[422]]()},t[_[6]][_[122]]=function(){var e=this[_[433]](this[_[20]]),t=e||(0,u[_[363]])(this[_[19]])||0;0===t&&(t=this[_[434]]()),t>0&&(this[_[415]][_[377]](t),this[_[415]][_[3]]>this[_[417]]&&this[_[415]][_[435]](0,this[_[415]][_[3]]-this[_[417]])),e>0&&this[_[382]]()},t[_[6]][_[219]]=function(e,t){void 0===e&&(e=1),void 0===t&&(t=1),0===this[_[415]][_[3]]&&this[_[122]]();var n=this[_[383]](e,t),i=this[_[383]](e,t,1);return{value:n,result:n>i*(1+this[_[421]])?c[_[230]][_[229]]:n0)for(this[_[415]][_[377]](i);this[_[415]][_[3]]>this[_[417]];)this[_[415]][_[381]]()},t[_[6]][_[439]]=function(e){var t=-e;return e>0?this[_[415]][_[14]](t):[]},t[_[6]][_[440]]=function(e,t){return void 0===t&&(t=1),this[_[419]](t,e)},t[_[6]][_[441]]=function(e,t){var n=(0,u[_[356]])(e),i=this[_[440]](e,t),r=(0,u[_[355]])(e,n);return{value:{median:(0,u[_[354]])(e),mean:n,weightedAverage:i,standardDeviation:r},result:c[_[230]][_[232]]}},t[_[6]][_[219]]=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1),this[_[441]](this[_[439]](e),t)},t[_[6]][_[308]]=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=1);var i=a(a([],this[_[439]](t-1),!0),[e],!1);return this[_[441]](i,n)},t[_[6]][_[121]]=function(){},t[_[6]][_[124]]=function(){},t[_[6]][_[125]]=function(){},t}(c[_[368]]);t[_[317]]=l}},function(e){return e(e[_[442]]=38746)}])},_[444]==typeof t&&"object"==_[444]?e[_[445]]=s():"function"==_[10]&&n.amdD[_[446]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[444]==typeof t?t[_[447]]=s():(o[_[448]]=o[_[448]]||{},o[_[448]][_[449]]=o[_[448]][_[449]]||{},o[_[448]][_[449]][_[447]]=s())},268:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r=0){var f=b[_[101]][_[103]](e);_[139]!==f&&(n[_[20]]=f),n[_[22]]=[]}return n[_[23]]()?null:n}function s(e,t){var n=[_[128],_[140],_[141],_[142],_[143],_[144]],i=function(e){var t={},r=b[_[101]][_[103]](e);return Object[_[26]](e[_[21]])[_[114]](function(n){var i=e[_[21]][n][_[96]],r=e[_[21]][n][_[136]];i&&r&&(t[i]=r)}),_[135]!==e[_[96]]&&_[139]!==r&&(e[_[22]]&&e[_[22]][_[25]]>0?e[_[95]][_[114]](function(e){n[_[145]](e[_[96]])&&(t[e[_[96]]]||(t[e[_[96]]]=[]),t[e[_[96]]][_[104]](i(e)))}):t[_[146]]=r),t};t[_[114]](function(t){var n=i(t);e[_[104]](n)})}function u(e){return e[_[102]](_[147])||e[_[102]](_[148])||e[_[102]](_[39])||null}function c(e){return{idRegistry:e[_[102]](_[149])||_[150],value:b[_[101]][_[103]](e)||_[150]}}Object[_[2]](t,_[1],{value:!0}),t[_[93]]=t[_[94]]=void 0;var l=n(82355),d=n(84485),f=n(87450),h=n(76368),p=n(32188),b=n(4017);t[_[94]]=function(e){var t=e[_[95]];for(var n in t){var a=t[n];if(-1!==[_[98],_[99]][_[97]](a[_[96]])){if(b[_[101]][_[100]](_[4],e,a),b[_[101]][_[100]](_[6],e,a),_[98]===a[_[96]])return r(a);if(_[99]===a[_[96]])return i(a)}}},t[_[93]]=a},87450:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[112]]=void 0;var i=n(76512),r=n(45379),a=n(4017);t[_[112]]=function(e,t){var n=new r[_[52]](t);return a[_[101]][_[115]](e,_[161])[_[114]](function(e){var t=new i[_[27]];t[_[4]]=e[_[102]](_[4])||null,t[_[28]]=e[_[102]](_[28]),t[_[29]]=e[_[102]](_[29]),t[_[36]]=[],a[_[101]][_[115]](e,_[153])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||_[152],t[_[32]]=a[_[101]][_[103]](e)}),a[_[101]][_[115]](e,_[154])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||0,t[_[33]]=a[_[101]][_[103]](e)}),a[_[101]][_[115]](e,_[156])[_[114]](function(n){t[_[30]]=n[_[102]](_[151])||0,a[_[101]][_[115]](e,_[155])[_[114]](function(e){t[_[34]]=a[_[101]][_[103]](e)}),t[_[31]]=a[_[101]][_[103]](n)}),a[_[101]][_[115]](e,_[142])[_[114]](function(e){a[_[101]][_[115]](e,_[143])[_[114]](function(e){var n=e[_[102]](_[157]),i=a[_[101]][_[103]](e);n&&i&&(null==t[_[37]][n]&&(t[_[37]][n]=[]),t[_[37]][n][_[104]](i))})}),a[_[101]][_[115]](e,_[158])[_[114]](function(e){t[_[36]][_[104]](a[_[101]][_[103]](e))}),t[_[35]]=a[_[101]][_[103]](a[_[101]][_[131]](e,_[159])),t[_[160]]=a[_[101]][_[103]](a[_[101]][_[131]](e,_[158])),n[_[54]][_[104]](t)}),n}},76368:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[108]]=void 0;var i=n(84192),r=n(6965),a=n(94715),o=n(4017);t[_[108]]=function(e,t){var n,s=new i[_[55]](t);s[_[57]]=o[_[101]][_[163]](o[_[101]][_[103]](o[_[101]][_[131]](e,_[162])));var u=e[_[102]](_[164]);if(null==u)s[_[58]]=null;else if(_[165]===u[_[166]](u[_[25]]-1)&&-1!==s[_[57]]){var c=parseInt(u,10);s[_[58]]=s[_[57]]*(c/100)}else s[_[58]]=o[_[101]][_[163]](u);var l=o[_[101]][_[131]](e,_[167]);l&&(s[_[60]]=o[_[101]][_[103]](o[_[101]][_[131]](l,_[168])),o[_[101]][_[115]](l,_[169])[_[114]](function(e){s[_[61]][_[104]](o[_[101]][_[103]](e))}),o[_[101]][_[115]](l,_[170])[_[114]](function(e){s[_[62]][_[104]](o[_[101]][_[103]](e))}));var d=o[_[101]][_[131]](e,_[171]);d&&(s[_[63]]=o[_[101]][_[103]](d)),o[_[101]][_[115]](e,_[142])[_[114]](function(e){o[_[101]][_[115]](e,_[143])[_[114]](function(e){var t=e[_[102]](_[157]),i=o[_[101]][_[103]](e);if(t&&i){if(_[172]===t){if(!(n=e[_[102]](_[71])))return;t=_[165]===n[_[166]](n[_[25]]-1)?_[174][_[173]](n):_[174][_[173]](Math[_[175]](o[_[101]][_[163]](n)))}null==s[_[37]][t]&&(s[_[37]][t]=[]),s[_[37]][t][_[104]](i)}})}),o[_[101]][_[115]](e,_[181])[_[114]](function(e){o[_[101]][_[115]](e,_[75])[_[114]](function(e){var t=new a[_[75]];t[_[4]]=e[_[102]](_[4]),t[_[76]]=o[_[101]][_[103]](e),t[_[77]]=e[_[102]](_[176]),t[_[80]]=e[_[102]](_[80]),t[_[79]]=e[_[102]](_[30]),t[_[41]]=e[_[102]](_[41]),t[_[81]]=parseInt(e[_[102]](_[81])||0),t[_[82]]=parseInt(e[_[102]](_[82])||0),t[_[83]]=parseInt(e[_[102]](_[83])||0),t[_[28]]=parseInt(e[_[102]](_[28])||0),t[_[29]]=parseInt(e[_[102]](_[29])||0);var n=e[_[102]](_[84]);n&&_[177]==typeof n&&(_[178]===(n=n[_[179]]())?t[_[84]]=!0:_[180]===n&&(t[_[84]]=!1));var i=e[_[102]](_[85]);i&&_[177]==typeof i&&(_[178]===(i=i[_[179]]())?t[_[85]]=!0:_[180]===i&&(t[_[85]]=!1)),s[_[59]][_[104]](t)})});var f=o[_[101]][_[131]](e,_[182]);return f&&o[_[101]][_[115]](f,_[67])[_[114]](function(e){var t=new r[_[67]];t[_[68]]=e[_[102]](_[68]),t[_[29]]=parseInt(e[_[102]](_[29])||0),t[_[28]]=parseInt(e[_[102]](_[28])||0),t[_[69]]=function(e){return-1!==[_[187],_[188]][_[97]](e)?e:parseInt(e||0)}(e[_[102]](_[69])),t[_[70]]=function(e){return-1!==[_[189],_[190]][_[97]](e)?e:parseInt(e||0)}(e[_[102]](_[70])),t[_[41]]=e[_[102]](_[41]),t[_[71]]=o[_[101]][_[163]](e[_[102]](_[71])),t[_[57]]=o[_[101]][_[163]](e[_[102]](_[57])),o[_[101]][_[115]](e,_[153])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||_[152],t[_[32]]=o[_[101]][_[103]](e)}),o[_[101]][_[115]](e,_[154])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||0,t[_[33]]=o[_[101]][_[103]](e)}),o[_[101]][_[115]](e,_[156])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||0,t[_[31]]=o[_[101]][_[103]](e)});var n=o[_[101]][_[131]](e,_[183]);n&&(t[_[72]]=o[_[101]][_[103]](o[_[101]][_[131]](n,_[184])),o[_[101]][_[115]](n,_[185])[_[114]](function(e){t[_[73]][_[104]](o[_[101]][_[103]](e))})),t[_[74]]=o[_[101]][_[103]](o[_[101]][_[131]](e,_[186])),s[_[64]][_[104]](t)}),s}},32188:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[110]]=void 0;var i=n(2821),r=n(31376),a=n(4017);t[_[110]]=function(e,t){var n=new i[_[65]](t);return a[_[101]][_[115]](e,_[142])[_[114]](function(e){var t,i;a[_[101]][_[115]](e,_[143])[_[114]](function(e){t=e[_[102]](_[157]),i=a[_[101]][_[103]](e),t&&i&&(null==n[_[37]][t]&&(n[_[37]][t]=[]),n[_[37]][t][_[104]](i))})}),a[_[101]][_[115]](e,_[194])[_[114]](function(e){var t=new r[_[86]];t[_[4]]=e[_[102]](_[4])||null,t[_[28]]=e[_[102]](_[28]),t[_[29]]=e[_[102]](_[29]),t[_[87]]=e[_[102]](_[87]),t[_[88]]=e[_[102]](_[88]),t[_[84]]=a[_[101]][_[191]](e[_[102]](_[84])),t[_[85]]=a[_[101]][_[191]](e[_[102]](_[85])),t[_[89]]=a[_[101]][_[163]](e[_[102]](_[89])),t[_[41]]=e[_[102]](_[41]),a[_[101]][_[115]](e,_[153])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||_[152],t[_[32]]=a[_[101]][_[103]](e)}),a[_[101]][_[115]](e,_[154])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||0,t[_[33]]=a[_[101]][_[103]](e)}),a[_[101]][_[115]](e,_[156])[_[114]](function(e){t[_[30]]=e[_[102]](_[151])||0,t[_[31]]=a[_[101]][_[103]](e)});var i=a[_[101]][_[131]](e,_[171]);i&&(t[_[63]]=a[_[101]][_[103]](i)),t[_[91]]=a[_[101]][_[103]](a[_[101]][_[131]](e,_[192])),a[_[101]][_[115]](e,_[193])[_[114]](function(e){t[_[92]][_[104]](a[_[101]][_[103]](e))}),n[_[54]][_[104]](t)}),n}},4017:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[101]]=void 0;var i=n(67357);t[_[101]]={childByName:function(e,t){var n=e[_[95]];for(var i in n){var r=n[i];if(r[_[96]]===t)return r}},childrenByName:function(e,t){var n=[],i=e[_[95]];for(var r in i){var a=i[r];a[_[96]]===t&&n[_[104]](a)}return n},resolveVastAdTagURI:function(e,t){if(!t)return e;if(0===e[_[97]](_[195])){var n=location[_[196]];return _[139][_[173]](n)[_[173]](e)}if(-1===e[_[97]](_[197])){var i=t[_[200]](0,t[_[199]](_[198]));return _[139][_[173]](i,_[198])[_[173]](e)}return e},parseBoolean:function(e){return-1!==[_[178],_[201],_[202]][_[97]](e)},parseNodeText:function(e){return e&&(e[_[204]]||e[_[205]]||_[139])[_[203]]()},copyNodeAttribute:function(e,t,n){var i=t[_[102]](e);i&&n[_[206]](e,i)},parseDuration:function(e){if(null==e)return-1;if(i[_[208]][_[207]](e))return parseInt(e);var t=e[_[210]](_[209]);if(3!==t[_[25]])return-1;var n=t[2][_[210]](_[211]),r=parseInt(n[0]);2===n[_[25]]&&(r+=parseFloat(_[212][_[173]](n[1])));var a=parseInt(60*t[1]),o=parseInt(60*t[0]*60);return isNaN(o)||isNaN(a)||isNaN(r)||a>3600||r>60?-1:o+a+r},splitVAST:function(e){var t=[],n=null;return e[_[114]](function(i,r){if(i[_[6]]&&(i[_[6]]=parseInt(i[_[6]],10)),i[_[6]]>1){var a=e[r-1];if(a&&a[_[6]]===i[_[6]]-1)return void(n&&n[_[104]](i));delete i[_[6]]}n=[i],t[_[104]](n)}),t},mergeWrapperAdData:function(e,t){if(e[_[13]]=t[_[13]][_[173]](e[_[13]]),e[_[14]]=t[_[14]][_[173]](e[_[14]]),e[_[16]]=t[_[16]][_[173]](e[_[16]]),e[_[17]]=t[_[17]][_[173]](e[_[17]]),e[_[5]][_[104]](t[_[4]]),e[_[15]][_[114]](function(e){if(t[_[37]]&&t[_[37]][e[_[30]]])for(var n in t[_[37]][e[_[30]]]){var i=t[_[37]][e[_[30]]][n];e[_[37]][n]||(e[_[37]][n]=[]),e[_[37]][n]=e[_[37]][n][_[173]](i)}}),t[_[61]]&&t[_[61]][_[25]]&&e[_[15]][_[114]](function(e){_[56]===e[_[30]]&&(e[_[61]]=e[_[61]][_[173]](t[_[61]]))}),t[_[62]]&&t[_[62]][_[25]]&&e[_[15]][_[114]](function(e){_[56]===e[_[30]]&&(e[_[62]]=e[_[62]][_[173]](t[_[62]]))}),t[_[60]]&&e[_[15]][_[114]](function(e){_[56]===e[_[30]]&&null==e[_[60]]&&(e[_[60]]=t[_[60]])}),e[_[213]]&&e[_[6]]!==e[_[213]]){if(!t[_[6]]&&!t[_[213]])return;e[_[6]]=null,e[_[213]]=t[_[213]]||t[_[6]]}else if(t[_[213]])e[_[6]]=null,e[_[213]]=t[_[213]]||t[_[6]];else{if(!t[_[6]]&&!t[_[213]])return;e[_[6]]=t[_[6]]}}}},89074:function(e,t,n){var i,r=this&&this[_[42]]||(i=function(e,t){return i=Object[_[43]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[44]]=t}||function(e,t){for(var n in t)Object[_[24]][_[46]][_[45]](t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this[_[50]]=e}if(_[47]!=typeof t&&null!==t)throw new TypeError(_[48]+String(t)+_[49]);i(e,t),e[_[24]]=null===t?Object[_[51]](t):(n[_[24]]=t[_[24]],new n)}),a=this&&this[_[214]]||function(e,t,n){if(n||2===arguments[_[25]])for(var i,r=0,a=t[_[25]];r0})},t[_[24]][_[267]]=function(e){var t=this,n=this[_[260]](e),i=this[_[262]](e)[_[261]](this[_[263]]);return 0===n[_[25]]||0===i[_[25]]?e:(n=n[_[268]](function(e){return t[_[263]](e)?e:i[_[251]]()})[_[261]](Boolean),i[_[114]](function(e){return e[_[269]]=!0}),n[_[173]](i))},t[_[24]][_[270]]=function(e){return this[_[260]](e)[_[25]]>0&&this[_[262]](e)[_[114]](function(e){return e[_[269]]=!0}),e},t[_[24]][_[252]]=function(e,t){void 0===t&&(t={});var n=new d[_[271]];return n[_[13]]=this[_[235]](),e[_[114]](function(e){return e[_[269]]=!1}),n[_[272]]=t[_[267]]?this[_[267]](e):this[_[270]](e),this[_[273]](n),n},t[_[24]][_[258]]=function(e,t){var n=t[_[274]],i=void 0===n||n,r=t[_[275]],a=void 0===r?null:r,s=t[_[256]],c=void 0===s?null:s,l=t[_[276]],d=void 0===l?0:l,f=t[_[257]],h=void 0!==f&&f,p=t[_[277]],b=void 0===p?null:p;if(!e||!e[_[278]]||_[279]!==e[_[278]][_[96]])return Promise[_[249]](new Error(_[280]));var m=[],g=e[_[278]][_[95]];for(var v in g){var $=g[v];if(_[105]===$[_[96]]){var y=u[_[101]][_[103]]($);h?this[_[219]][_[104]](y):this[_[13]][_[104]](y)}if(_[3]===$[_[96]]){var S=(0,o[_[94]])($);this[_[281]](S,b),S?m[_[104]](S):this[_[229]](this[_[235]](),{ERRORCODE:101})}}var T=m[_[25]],E=m[T-1];return 1===T&&null!=a&&E&&!E[_[6]]&&(E[_[6]]=a),!1===i&&(this[_[217]]=u[_[101]][_[282]](m),m=this[_[217]][_[251]]()),this[_[254]](m,{wrapperDepth:d,originalUrl:c})},t[_[24]][_[281]]=function(e,t){null==e[_[6]]?e[_[213]]=t||this[_[223]]:this[_[223]]=e[_[6]]},t[_[24]][_[254]]=function(e,t){var n=this;void 0===e&&(e=[])\n;var i=t[_[276]],r=t[_[256]],a=[];return e[_[114]](function(e){var t=n[_[283]](e,i,r);a[_[104]](t)}),Promise[_[284]](a)[_[253]](function(e){var t=l[_[208]][_[250]](e);if(!t&&n[_[217]][_[25]]>0){var a=n[_[217]][_[251]]();return n[_[254]](a,{wrapperDepth:i,originalUrl:r})}return t})},t[_[24]][_[283]]=function(e,t,n){var i=this;return new Promise(function(r){if(t++,!e[_[132]])return delete e[_[132]],r(e);if(t>=i[_[220]]||-1!==i[_[218]][_[97]](e[_[132]]))return e[_[264]]=302,delete e[_[132]],r(e);e[_[132]]=u[_[101]][_[285]](e[_[132]],n);var a=e[_[6]];n=e[_[132]],i[_[236]](e[_[132]],t,n)[_[253]](function(o){return i[_[258]](o,{originalUrl:n,wrapperSequence:a,wrapperDepth:t,parentAdSequence:e[_[6]]||e[_[213]]})[_[253]](function(t){if(delete e[_[132]],0===t[_[25]])return e[_[15]]=[],r(e);t[_[114]](function(t){t&&u[_[101]][_[289]](t,e)}),r(t)})})[_[288]](function(t){e[_[264]]=301,e[_[286]]=t[_[287]],r(e)})})},t[_[24]][_[273]]=function(e){if(0===e[_[272]][_[25]])this[_[229]](e[_[13]],{ERRORCODE:303});else for(var t=e[_[272]][_[25]]-1;t>=0;t--){var n=e[_[272]][t];(n[_[264]]||0===n[_[15]][_[25]])&&(this[_[229]](n[_[13]][_[173]](e[_[13]]),{ERRORCODE:n[_[264]]||303},{ERRORMESSAGE:n[_[286]]||_[139]},{extensions:n[_[16]]},{system:n[_[7]]}),e[_[272]][_[290]](t,1))}},t}(s[_[216]]);t[_[215]]=h},74868:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[240]]=void 0;var i=n(35120),r=n(82906),a=n(64218);t[_[240]]={get:function(e,t,n){return n||(_[47]==typeof t&&(n=t),t={}),_[291]==typeof window||null===window?r[_[292]][_[239]](e,t,n):a[_[294]][_[293]]()?a[_[294]][_[239]](e,t,n):i[_[295]][_[293]]()?i[_[295]][_[239]](e,t,n):n(new Error(_[296]))}}},35120:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[295]]=void 0,t[_[295]]={get:function(e,t,n){var i=_[47]==typeof window[_[298]]?new window[_[298]](_[299]):void 0;if(!i)return n(new Error(_[300]));i[_[301]]=!1;var r=r();request[_[303]](_[302],e),request[_[244]]=t[_[244]]||0,request[_[245]]=t[_[245]]||!1,request[_[304]](),request[_[305]]=function(){},request[_[306]]=function(){i[_[308]](request[_[307]]),n(null,i)}},supported:function(){return!!function(){var e;return window[_[297]]&&(e=new XDomainRequest),e}()}}},82906:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[292]]=void 0,t[_[292]]={get:function(e,t,n){n(new Error(_[309]))}}},64218:function(e,t){function n(){try{var e=new window[_[310]];return _[245]in e?e:null}catch(e){return console[_[312]](_[311],e),null}}Object[_[2]](t,_[1],{value:!0}),t[_[294]]=void 0,t[_[294]]={get:function(e,t,i){if(_[313]===window[_[314]][_[196]]&&0===e[_[97]](_[315]))return i(new Error(_[316]));try{var r=n();r[_[303]](_[302],e),r[_[244]]=t[_[244]]||0,r[_[245]]=t[_[245]]||!1,r[_[317]]&&r[_[317]](_[318]),r[_[319]]=function(){4===r[_[320]]&&(200===r[_[321]]?i(null,r[_[322]]):i(new Error(_[324][_[173]](r[_[323]]))))},r[_[304]]()}catch(e){i(new Error(_[325]))}},supported:function(){return!!n()}}},83531:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[326]]=void 0;var n=null,i={data:{},length:0,getItem:function(e){return this[_[327]][e]},setItem:function(e,t){this[_[327]][e]=t,this[_[25]]=Object[_[26]](this[_[327]])[_[25]]},removeItem:function(e){delete data[e],this[_[25]]=Object[_[26]](this[_[327]])[_[25]]},clear:function(){this[_[327]]={},this[_[25]]=0}},r=function(){function e(e){this[_[328]]=this[_[329]](e)}return e[_[24]][_[329]]=function(e){if(n&&(_[291]==typeof window||null===window||Object[_[330]](n)!==window[_[326]][_[24]]||e))return n;try{n=_[291]!=typeof window&&null!==window?window[_[331]]||window[_[332]]:null}catch(e){n=null}return n&&e&&!this[_[333]](n)||(n=i)[_[334]](),n},e[_[24]][_[333]]=function(e){var t=_[335];try{if(e[_[336]](t,t),e[_[337]](t)!==t)return e[_[338]](t),!0}catch(e){return!0}return e[_[338]](t),!1},e[_[24]][_[337]]=function(e){return this[_[328]][_[337]](e)},e[_[24]][_[336]]=function(e,t){return this[_[328]][_[336]](e,t)},e[_[24]][_[338]]=function(e){return this[_[328]][_[338]](e)},e[_[24]][_[334]]=function(){return this[_[328]][_[334]]()},e}();t[_[326]]=r},67357:function(e,t){function n(e,t){void 0===t&&(t={});var n=[];t[_[340]]&&(t[_[340]]=i(t[_[340]])),t[_[341]]&&(t[_[341]]=i(t[_[341]])),t[_[342]]&&!/^[0-9]{3}$/[_[343]](t[_[342]])&&(t[_[342]]=900),t[_[344]]=r(Math[_[175]](1e8*Math[_[346]]())[_[345]]()),t[_[347]]=i((new Date)[_[348]]()),t[_[349]]=t[_[346]]=t[_[344]];for(var a=0,o=e;aa;r?o++:o--)i[_[104]](o);return i}Object[_[2]](t,_[1],{value:!0}),t[_[208]]=void 0,t[_[208]]={track:function(e,t){n(e,t)[_[114]](function(e){_[291]!=typeof window&&null!==window&&((new Image)[_[339]]=e)})},resolveURLTemplates:n,encodeURIComponentRFC3986:i,leftpad:r,range:a,isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},flatten:function e(t){return t[_[357]](function(t,n){return t[_[173]](Array[_[266]](n)?e(n):n)},[])}}},27230:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[358]]=void 0;var i=n(83531),r=n(89074),a=function(){function e(e){e=e||{},this[_[359]]=e[_[359]]||0,this[_[360]]=e[_[360]]||0,this[_[361]]={withCredentials:!1,timeout:0},this[_[362]]=new r[_[215]];var t=null==e[_[363]]||e[_[363]];this[_[328]]=e[_[364]]||new i[_[326]](t),void 0===this[_[365]]&&(this[_[365]]=0),void 0===this[_[366]]&&(this[_[366]]=0),void 0===this[_[367]]&&(this[_[367]]=0)}return e[_[24]][_[368]]=function(){return this[_[362]]},Object[_[2]](e[_[24]],_[365],{get:function(){return this[_[328]][_[337]](_[369])},set:function(e){this[_[328]][_[336]](_[369],e)},enumerable:!1,configurable:!0}),Object[_[2]](e[_[24]],_[366],{get:function(){return this[_[328]][_[337]](_[370])},set:function(e){this[_[328]][_[336]](_[370],e)},enumerable:!1,configurable:!0}),Object[_[2]](e[_[24]],_[367],{get:function(){return this[_[328]][_[337]](_[371])},set:function(e){this[_[328]][_[336]](_[371],e)},enumerable:!1,configurable:!0}),e[_[24]][_[372]]=function(){return this[_[362]][_[217]][_[25]]>0},e[_[24]][_[373]]=function(e){return this[_[362]][_[247]](e)},e[_[24]][_[239]]=function(e,t){var n=this;void 0===t&&(t={});var i=Date[_[374]]();return(t=Object[_[232]](this[_[361]],t))[_[46]](_[274])||(t[_[274]]=!1),this[_[367]]=n[_[366]])return a(new Error(_[375][_[173]](n[_[366]],_[198])[_[173]](n[_[359]])));var o=i-n[_[365]];if(o<0)n[_[365]]=0;else if(o0),s=t[_[463]][_[483]][_[239]](o[_[482]][_[481]]);return n&&(s||a)?M(e,[i,r],s):function(e,t,n){return n&&n[_[28]]>0?(0,m[_[566]])(n[_[28]],n[_[29]],e):(0,m[_[566]])(t[_[28]],t[_[29]],e)}(e,A,i)};var M=function(e,t,n){var i=t[0],r=t[1];return n?n[_[484]](e):(0,m[_[485]])(i[_[81]]+r[_[81]],e)};this[_[486]]=function(e,t){var n={adBreak:null,downloadTiming:t};e[_[46]](_[487])&&(n[_[488]]=e),n[_[489]]=e,h[_[447]](s[_[444]][_[490]],n)};var R=function(){C[_[114]](function(e){return h[_[447]](s[_[444]][_[105]],{type:s[_[444]][_[105]],code:e[_[465]],name:e[_[19]],message:e[_[287]],data:e[_[327]],troubleShootLink:(0,u[_[491]])(e[_[465]])})})},k=function(){return C[_[25]]?(h[_[492]](D),p[_[334]](),h[_[494]](s[_[444]][_[493]],I),h[_[494]](s[_[444]][_[443]],P),h[_[495]]()[_[253]](R)):(h[_[496]](x),p[_[507]](d[_[506]])[_[253]](function(e){if(h[_[492]](D),C[_[25]]&&R(),T)T=!1;else{if(e)return h[_[503]](d[_[446]])[_[288]](function(e){E=!0,t[_[463]][_[502]][_[501]](_[500],e)});var n=t[_[463]][_[483]][_[239]](o[_[482]][_[504]]);null==n||n[_[505]]()}})[_[288]](function(){return h[_[447]](s[_[444]][_[105]],{code:a[_[499]][_[498]]})})[_[497]](function(){p[_[334]](),h[_[492]](x),h[_[494]](s[_[444]][_[493]],I),h[_[494]](s[_[444]][_[443]],P)}))},w=function(e){if(n=null,!p[_[473]]())return Promise[_[405]]();var i=p[_[475]]()[_[474]],r=Promise[_[405]]();return y=!e,e&&(r=$=k()[_[253]](function(){t[_[508]]&&t[_[508]][_[405]]()})),r[_[253]](function(){h[_[447]](s[_[444]][_[509]]),e&&(0,c[_[511]])(i,h[_[476]](),t[_[463]][_[510]]),h[_[442]]()||E||h[_[447]](s[_[444]][_[443]],{time:h[_[445]](),issuer:d[_[446]]}),E=!1})},O=[s[_[444]][_[105]],s[_[444]][_[512]],s[_[444]][_[513]],s[_[444]][_[514]],s[_[444]][_[515]]],D=function(e,n){var i=function(){var e=t[_[463]][_[517]][_[516]]();return(null==e?void 0:e[_[518]])&&Object[_[26]](e[_[518]])[_[523]](function(t){var n;return e[_[518]]&&e[_[518]][t]&&(null===(n=e[_[518]][t][_[519]])||void 0===n?void 0:n[_[520]])===f[_[522]][_[521]]})}();return S(e,n)&&i&&n[_[524]]===i&&C[_[104]](n),!O[_[145]](e)},U=[s[_[444]][_[452]],s[_[444]][_[443]],s[_[444]][_[525]],s[_[444]][_[526]],s[_[444]][_[527]],s[_[444]][_[528]]],x=function(e){return!U[_[145]](e)};this[_[529]]=function(t){return n?Promise[_[249]](_[530]):(n=t,$[_[253]](function(){var n=y?Promise[_[405]]():N(t[_[531]],e[_[532]](t)),i={adBreak:r(r({},JSON[_[258]](JSON[_[533]](t))),{scheduleTime:t[_[487]]})};return h[_[447]](s[_[444]][_[534]],i),h[_[469]](s[_[444]][_[493]],I),h[_[469]](s[_[444]][_[443]],P),n[_[253]](function(){return h[_[495]](d[_[446]])})[_[253]](function(){return b[_[421]][_[51]](h,w)})}))};var N=function(e,n){var i=t[_[463]],r=i[_[535]][_[524]],a=i[_[536]],s=i[_[483]][_[239]](o[_[482]][_[537]],r),u=a&&i[_[539]][_[538]];return p[_[517]](n,e),h[_[496]](D),u&&s&&!s[_[540]]()?a[_[541]]():Promise[_[405]]()};this[_[542]]=function(e){h[_[447]](s[_[444]][_[543]],{ad:e})},this[_[544]]=function(e){h[_[447]](s[_[444]][_[545]],{clickThroughUrl:e})},this[_[546]]=function(e,t){h[_[447]](s[_[444]][_[547]],{interactionType:e,id:t})},this[_[548]]=function(e){h[_[447]](s[_[444]][_[549]],{quartile:e})},this[_[550]]=function(e,t,n){var i={code:e||v[_[397]][_[551]]};t&&(i[_[287]]=t),n&&(i[_[489]]=n),h[_[447]](s[_[444]][_[552]],{code:a[_[499]][_[553]],data:i,name:a[_[499]][a[_[499]][_[553]]],message:t,troubleShootLink:(0,u[_[491]])(a[_[499]][_[553]])})},this[_[554]]=function(e,t,n){h[_[447]](s[_[444]][_[493]],new l[_[555]](e,t,n))},this[_[556]]=function(){var t=h[_[434]]();T=!1,p[_[334]](),h[_[492]](D),h[_[492]](x),n=null,t instanceof HTMLVideoElement&&e[_[557]](t)}}return e[_[532]]=function(e){var t;return(null===(t=e[_[272]])||void 0===t?void 0:t[_[357]](function(e,t){return t[_[558]]&&(e+=t[_[57]]),e},0))||0},e[_[472]]=function(e,t){var n=Number(e);return!isNaN(n)&&n<=0&&(e=_[559]),e[_[145]](_[559])||_[560]===e?0:e[_[145]](_[561])?1/0:this[_[562]](e,t)},e[_[562]]=function(e,t){var n;if(/%/[_[343]](e)){if(!t)return NaN;e=e[_[353]](/%/gi,_[139]),n=parseFloat(e)/100*t}else if(e[_[97]](_[209])>-1){var i=e[_[210]](_[209]);n=3600*parseFloat(i[0])+60*parseFloat(i[1])+parseFloat(i[2])}else n=parseFloat(e);return n>=0?n:NaN},e[_[557]]=function(e){p[_[564]][_[563]](e),e[_[407]]()},e}();t[_[461]]=$;var y=/(\\d+)/,S=function(e,t){return e===s[_[444]][_[105]]&&(0,h[_[567]])(t)&&t[_[30]]===s[_[444]][_[105]]}},60160:function(e,t,n){function i(e){return e[_[327]][_[176]]===c[_[581]][_[580]]?u[_[583]][_[582]](e[_[327]][_[79]])?{dash:e[_[584]]}:{hls:e[_[584]]}:{progressive:e[_[584]]}}Object[_[2]](t,_[1],{value:!0}),t[_[427]]=void 0;var r=n(36166),a=n(59574),o=n(39409),s=n(74294),u=n(50163),c=n(77401),l=n(13795),d=function(){function e(){}return e[_[426]]=function(e,t){var n,u=new s[_[432]],c=!1,d=!1,f=[a[_[444]][_[452]],a[_[444]][_[443]]],h=function(){if(d)throw _[568]};return new(function(){function s(){this[_[569]]=function(t){return!e[_[442]]()||!f[_[145]](t)}}return s[_[24]][_[431]]=function(){h();var i=Promise[_[405]]();return c?i=e[_[495]](o[_[446]]):e[_[570]]()?function(e,t){e[_[447]](a[_[444]][_[459]],{ad:t})}(e,n):function(e,t){e[_[447]](a[_[444]][_[456]],{ad:t})}(e,n),n=null,u[_[458]](function(t,n){e[_[494]](t,n)}),t(),d=!0,i},s[_[24]][_[571]]=function(t,n){h(),u[_[437]](t,n),e[_[469]](t,n)},s[_[24]][_[572]]=function(){h(),e[_[572]](o[_[446]])},s[_[24]][_[503]]=function(){return h(),e[_[503]](o[_[446]])},s[_[24]][_[407]]=function(t){var s=this;return h(),n=t,e[_[496]](this[_[569]]),c=!0,e[_[407]](i(t),null,!0,o[_[446]])[_[253]](function(){return e[_[503]](o[_[446]])[_[288]](function(){})})[_[253]](function(){return e[_[447]](a[_[444]][_[448]],{ad:t})})[_[288]](function(e){if(e&&e[_[465]]===r[_[499]][_[573]])throw{code:l[_[401]][_[574]],message:e[_[327]][_[19]]};throw e})[_[497]](function(){e[_[492]](s[_[569]]),c=!1})},Object[_[2]](s[_[24]],_[57],{get:function(){return h(),e[_[476]](o[_[446]])},enumerable:!1,configurable:!0}),Object[_[2]](s[_[24]],_[575],{get:function(){return h(),e[_[445]](o[_[446]])},enumerable:!1,configurable:!0}),Object[_[2]](s[_[24]],_[576],{get:function(){return h(),e[_[470]]()},enumerable:!1,configurable:!0}),Object[_[2]](s[_[24]],_[577],{get:function(){return h(),e[_[471]]()},enumerable:!1,configurable:!0}),Object[_[2]](s[_[24]],_[449],{get:function(){h();var t=e[_[578]](),n=e[_[579]]();return!1===t&&!1===n||t},enumerable:!1,configurable:!0}),s}())},e}();t[_[427]]=d},4395:function(e,t,n){function i(e,t){var n,i,r={},a={};return g[_[414]][_[661]](a,e),delete a[_[626]],g[_[414]][_[662]](r,S,a),r[_[46]](_[245])||(r[_[245]]=!0),r[_[46]](_[663])||(r[_[663]]=null!==(i=null===(n=t[_[328]])||void 0===n?void 0:n[_[663]])&&void 0!==i&&i),r}function r(e,t){y[_[385]][_[386]](new l[_[666]](t,{requestType:d[_[665]][_[664]]})),y[_[385]][_[388]](e[_[389]]),y[_[385]][_[390]](e[_[245]]),y[_[385]][_[391]](e[_[663]])}function a(e,t){Boolean(v[_[633]][_[239]]($[_[632]][_[634]])[_[667]])?function(e,t){var n=t;e[_[519]]&&Array[_[266]](e[_[519]][_[669]])?n[_[670]]=e[_[519]][_[669]]:n[_[670]]=[]}(e,t):Boolean(v[_[633]][_[239]]($[_[632]][_[634]])[_[668]])&&function(e,t){var n=t;n[_[671]]||(n[_[671]]=e[_[314]][_[672]])}(e,t)}function o(e,t){return new(function(){function n(){}return n[_[24]][_[644]]=function(t){return e[_[628]](t)},n[_[24]][_[673]]=function(){return t[_[673]]()},n[_[24]][_[674]]=function(){return t[_[674]]()},n[_[24]][_[675]]=function(){return t[_[675]]()},n[_[24]][_[676]]=function(){return t[_[676]]()},n[_[24]][_[677]]=function(e){t[_[677]](e)},n[_[24]][_[657]]=function(){return t[_[657]]()},n[_[24]][_[678]]=function(){return t[_[678]]()},n}())}function s(e){return Boolean(e[_[605]])}Object[_[2]](t,_[1],{value:!0}),t[_[585]]=t[_[586]]=t[_[587]]=t[_[588]]=void 0;var u=n(55579),c=n(59574),l=n(83123),d=n(41609),f=n(8833),h=n(59536),p=n(28803),b=n(82072),m=n(81028),g=n(29079),v=n(43068),$=n(83024),y=n(91888),S={videoLoadTimeout:n(77401)[_[589]],strategy:{shouldPlayAdBreak:function(){return!0},shouldPlaySkippedAdBreaks:function(e){var t=Math[_[590]][_[231]](Math,e[_[268]](function(e){return e[_[487]]}));return[e[_[523]](function(e){return e[_[487]]===t})]}}};t[_[588]]={playbackTime:[_[591]],height:[_[592]],width:[_[593]],domain:[_[594]],page:[_[595]],referrer:[_[596]],random:[_[597],_[598]],timestamp:[_[599]]};var T=function(){function e(e,t){var n=this;this[_[463]]=t,this[_[600]]=function(e){n[_[462]][_[601]]()||n[_[603]][_[600]](e[_[602]])},this[_[604]]=function(e){return n[_[603]][_[604]](e[_[605]],e[_[606]])},this[_[607]]=function(e){return n[_[608]]=e[_[605]]},this[_[609]]=function(){return n[_[604]]({position:n[_[608]],seekTarget:n[_[462]][_[445]]()})},this[_[554]]=function(e){n[_[610]]&&e[_[465]]===u[_[467]][_[466]]&&(n[_[610]]=!1)},this[_[611]]=function(e){return n[_[603]][_[611]](e)},this[_[612]]=function(){n[_[613]][_[25]]>0&&n[_[614]](n[_[613]][_[290]](0,n[_[613]][_[25]])),n[_[462]][_[494]](c[_[444]][_[512]],n[_[612]])},this[_[615]]=function(e,t){n[_[603]][_[619]](e,t,n[_[462]][_[616]]()===f[_[618]][_[617]])};var s=e[_[620]](!0);this[_[621]]=s[_[622]]||{},this[_[462]]=e,this[_[613]]=[],this[_[623]]=null,this[_[624]]=!0,this[_[610]]=!1;var l=i(this[_[621]],s);r(l,t),a(s,l),this[_[625]](l),this[_[621]][_[626]]&&this[_[621]][_[626]][_[25]]>0&&this[_[621]][_[626]][_[290]](0)[_[114]](function(e){return n[_[628]](e)[_[288]](function(e){return n[_[463]][_[502]][_[627]](e)})}),this[_[462]][_[571]](c[_[444]][_[454]],this[_[600]]),this[_[462]][_[571]](c[_[444]][_[525]],this[_[604]]),this[_[462]][_[571]](c[_[444]][_[493]],this[_[554]]),this[_[462]][_[571]](c[_[444]][_[527]],this[_[607]]),this[_[462]][_[571]](c[_[444]][_[528]],this[_[609]]),this[_[629]]=o(this,this[_[603]])}return e[_[24]][_[625]]=function(e){this[_[630]]={internalPlayer:this[_[462]],context:this[_[463]],restoreContentDeferred:null};var t=v[_[633]][_[239]]($[_[632]][_[631]]),n=v[_[633]][_[239]]($[_[632]][_[634]]),i=new t[_[461]](this[_[630]]);this[_[603]]=new n(i,e),this[_[635]]=i},e[_[24]][_[636]]=function(e){this[_[463]]=e,this[_[630]][_[463]]=e},e[_[24]][_[628]]=function(e){return s(e)&&(e[_[637]]=!1!==e[_[637]],this[_[638]](e)&&!this[_[639]]())?(this[_[613]][_[104]](e),this[_[623]]||(this[_[623]]=new m[_[640]],this[_[462]][_[571]](c[_[444]][_[512]],this[_[612]])),this[_[623]][_[641]]):this[_[642]](e)},e[_[24]][_[638]]=function(e){return e[_[605]][_[145]](_[165])&&_[560]!==e[_[605]]},e[_[24]][_[614]]=function(e){var t=this,n=e[_[268]](function(e){return t[_[642]](e)});this[_[623]]&&Promise[_[284]](n)[_[253]](function(e){var n=[][_[173]][_[231]]([],e);t[_[623]][_[405]](n),t[_[623]]=null})[_[288]](function(e){return t[_[463]][_[502]][_[627]](e)})},e[_[24]][_[642]]=function(e){return s(e)&&this[_[462]][_[540]]()&&this[_[638]](e)?Promise[_[249]](_[643]):this[_[603]][_[644]](e)},e[_[24]][_[645]]=function(){var e,t,n=this,i=Promise[_[405]]();return this[_[610]]=!0,this[_[624]]&&(null===(t=null===(e=this[_[463]])||void 0===e?void 0:e[_[433]])||void 0===t?void 0:t[_[646]])&&(i=this[_[463]][_[433]][_[646]]()),Promise[_[405]](this[_[603]][_[648]]())[_[253]](function(){return i})[_[288]](function(e){(0,b[_[647]])(n[_[463]])&&n[_[463]][_[502]][_[501]](e)})},e[_[24]][_[649]]=function(){var e=this,t=!1,n=function(){t=!0,e[_[462]][_[494]](c[_[444]][_[534]],n)};return this[_[462]][_[571]](c[_[444]][_[534]],n),this[_[630]][_[508]]=new m[_[640]],Promise[_[405]](this[_[603]][_[654]]())[_[253]](function(){return new Promise(function(n,i){if(t){var r,a=function(){e[_[630]][_[508]][_[641]][_[253]](n)[_[288]](i),o(),clearTimeout(r)},o=(0,p[_[652]])(e[_[463]][_[517]])(function(e){return(0,h[_[651]])((0,h[_[650]])(e))},a,function(e){return e});r=window[_[653]](a,1e3)}else n()})})[_[253]](function(){return e[_[630]][_[508]]=null})[_[288]](function(t){e[_[630]][_[508]]=null,e[_[463]][_[502]][_[501]](t)})},e[_[24]][_[655]]=function(){return this[_[610]]},e[_[24]][_[503]]=function(){return this[_[603]][_[656]](),Promise[_[405]]()},e[_[24]][_[572]]=function(){this[_[603]][_[572]]()},e[_[24]][_[445]]=function(){var e,t=null===(e=this[_[603]])||void 0===e?void 0:e[_[575]]();return isNaN(t)?0:null!=t?t:0},e[_[24]][_[476]]=function(){return this[_[603]][_[57]]()},e[_[24]][_[657]]=function(){return this[_[603]][_[657]]()},e[_[24]][_[658]]=function(){return this[_[603]][_[657]](!0)},e[_[24]][_[659]]=function(){return this[_[657]]()&&!this[_[658]]()},e[_[24]][_[639]]=function(){return this[_[462]][_[476]]()>0},e[_[24]][_[556]]=function(){this[_[613]]=[],this[_[610]]=!1,this[_[635]][_[556]](),this[_[603]][_[556]]()},e[_[24]][_[660]]=function(){this[_[462]][_[494]](c[_[444]][_[454]],this[_[600]]),this[_[462]][_[494]](c[_[444]][_[525]],this[_[604]]),this[_[462]][_[494]](c[_[444]][_[493]],this[_[554]]),this[_[462]][_[494]](c[_[444]][_[527]],this[_[607]]),this[_[462]][_[494]](c[_[444]][_[528]],this[_[609]]),this[_[462]]=null,this[_[621]]=null,this[_[603]][_[660]](),this[_[603]]=null,this[_[635]]=null},e}();t[_[587]]=T,t[_[586]]=a,t[_[585]]=o},36402:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[679]]=void 0;t[_[679]]=function(e,t){this[_[680]]=e,this[_[681]]=t}},16336:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[401]]=void 0,function(e){e[e[_[400]]=110]=_[400],e[e[_[406]]=404]=_[406],e[e[_[574]]=2e3]=_[574]}(t[_[401]]||(t[_[401]]={}))},22188:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[682]]=void 0,function(e){e[_[279]]=_[683],e[_[399]]=_[684],e[_[685]]=_[686]}(t[_[682]]||(t[_[682]]={}))},83932:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[689]]=void 0,t[_[689]]=function(e){var t=e[_[575]],n=e[_[687]],i=e[_[531]],r=e[_[688]],a=e[_[540]],o=a?t+n:t;return a&&!r||(o=i?t+i:t),o}},77401:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[690]]=t[_[581]]=t[_[691]]=t[_[589]]=t[_[692]]=t[_[693]]=t[_[694]]=void 0,t[_[694]]=_[559],t[_[693]]=0,t[_[692]]=-1,t[_[589]]=8e3,t[_[691]]=_[695],function(e){e[_[696]]=_[78],e[_[580]]=_[697]}(t[_[581]]||(t[_[581]]={})),function(e){e[_[698]]=_[686]}(t[_[690]]||(t[_[690]]={}))},83583:function(e,t){function n(e){return e[_[81]]||(e[_[83]]+e[_[82]])/2}Object[_[2]](t,_[1],{value:!0}),t[_[485]]=t[_[566]]=void 0,t[_[566]]=function(e,t,n){return n[_[357]](function(n,i){var r=Math[_[699]](e-n[_[28]])+Math[_[699]](t-n[_[29]]);return Math[_[699]](e-i[_[28]])+Math[_[699]](t-i[_[29]])=h?Promise[_[405]](!1):this[_[462]][_[540]]()&&0!==l&&0===f?(this[_[462]][_[739]](l,e),Promise[_[405]](!0)):new Promise(function(t){var n,a=function(){clearTimeout(n),i[_[462]][_[494]](r[_[444]][_[526]],a),t(!0)};i[_[462]][_[469]](r[_[444]][_[526]],a),i[_[462]][_[742]]()===o[_[744]][_[743]]&&(0,s[_[745]])()&&(n=window[_[653]](a,5e3)),i[_[462]][_[746]](f,e)||a()})},e[_[24]][_[507]]=function(e){var t=this;return this[_[473]]()?Promise[_[405]]()[_[253]](function(){return t[_[462]][_[407]](t[_[709]][_[737]],t[_[709]][_[756]][_[755]],t[_[709]][_[756]][_[757]],e)})[_[253]](function(){t[_[462]][_[750]](t[_[709]][_[749]]),t[_[721]](),t[_[462]][_[752]](t[_[709]][_[751]]),t[_[462]][_[754]](t[_[709]][_[753]])})[_[253]](function(){return t[_[728]]()})[_[253]](function(){return t[_[734]](e)})[_[253]](function(e){return t[_[714]]()[_[713]]((0,l[_[748]])({kind:f[_[522]][_[747]]})),t[_[334]](),e}):Promise[_[249]](_[758])},e[_[24]][_[334]]=function(){this[_[709]]=null},e[_[24]][_[727]]=function(e,t,n,i){var a,o,s=this;void 0===i&&(i=2e3);var c=function(){var e;clearTimeout(o),s[_[462]][_[494]](t,l),s[_[462]][_[494]](r[_[444]][_[513]],c),n?s[_[462]][_[494]](n,c):null===(e=s[_[463]][_[433]])||void 0===e||e[_[457]](u[_[760]][_[759]],c)},l=function(t){e(t)&&c()};n?this[_[462]][_[469]](n,c):null===(a=this[_[463]][_[433]])||void 0===a||a[_[436]](u[_[760]][_[759]],c),this[_[462]][_[469]](t,l),this[_[462]][_[469]](r[_[444]][_[513]],c),o=setTimeout(c,i)},e}();t[_[464]]=p},47311:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[411]]=void 0;var i=n(27230),r=n(77401),a=n(56597),o=function(){function e(e,t,n){this[_[761]]=new i[_[358]]({allowUsingBrowserStorageApi:!n}),this[_[761]][_[362]][_[241]](),this[_[389]]=e||r[_[589]],this[_[245]]=t}return e[_[24]][_[415]]=function(e,t){var n=this,i=[],r=function(e){i[_[104]]({code:e[_[342]]})};return this[_[761]][_[362]][_[762]](_[230],r),this[_[761]][_[362]][_[259]](e,{\ntimeout:this[_[389]],withCredentials:this[_[245]],replaceUnavailableAdPodAds:!t})[_[288]](function(e){return n[_[761]][_[362]][_[763]](_[230],r),Promise[_[249]]({code:e&&e[_[342]]||a[_[397]][_[551]]})})[_[253]](function(e){var t;return n[_[761]][_[362]][_[763]](_[230],r),(null===(t=e[_[272]])||void 0===t?void 0:t[_[25]])>0?e:i[_[25]]>0?Promise[_[249]](i[0]):Promise[_[249]]({code:a[_[397]][_[551]]})})},e}();t[_[411]]=o},56597:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[397]]=void 0,function(e){e[e[_[396]]=100]=_[396],e[e[_[764]]=101]=_[764],e[e[_[765]]=102]=_[765],e[e[_[766]]=200]=_[766],e[e[_[767]]=201]=_[767],e[e[_[768]]=202]=_[768],e[e[_[769]]=203]=_[769],e[e[_[770]]=300]=_[770],e[e[_[771]]=301]=_[771],e[e[_[772]]=302]=_[772],e[e[_[402]]=303]=_[402],e[e[_[773]]=400]=_[773],e[e[_[774]]=401]=_[774],e[e[_[775]]=402]=_[775],e[e[_[776]]=403]=_[776],e[e[_[777]]=405]=_[777],e[e[_[778]]=500]=_[778],e[e[_[779]]=501]=_[779],e[e[_[780]]=502]=_[780],e[e[_[781]]=503]=_[781],e[e[_[782]]=600]=_[782],e[e[_[783]]=601]=_[783],e[e[_[784]]=602]=_[784],e[e[_[785]]=603]=_[785],e[e[_[786]]=604]=_[786],e[e[_[551]]=900]=_[551],e[e[_[787]]=901]=_[787]}(t[_[397]]||(t[_[397]]={}))},39641:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[788]]=void 0;var i=n(29079),r=n(43068),a=n(83024),o=n(91888),s=n(16336),u=n(22188),c=n(77401),l=n(56597),d=function(){function e(){}return e[_[789]]=function(e){return(0,r[_[633]][_[239]](a[_[632]][_[701]])[_[790]])(e,{decodeEntities:!1,useArrayRepresentationForChildren:!0})},e[_[791]]=function(e){return(0,r[_[633]][_[239]](a[_[632]][_[701]])[_[792]])(e)},e[_[793]]=function(t){return e[_[798]](t[_[797]][_[420]])[_[253]](function(n){if(n[_[794]][_[399]]){var i=e[_[795]](n[_[794]],t);return Promise[_[405]]({adBreakConfigs:i,downloadTiming:n[_[796]]})}return Promise[_[249]]({code:s[_[401]][_[400]]})})},e[_[798]]=function(t){return o[_[385]][_[408]](t)[_[288]](function(){return Promise[_[249]]({code:s[_[401]][_[406]]})})[_[253]](function(t){if(!t[_[395]])return Promise[_[249]]({code:l[_[397]][_[396]]});try{var n=e[_[789]](t[_[395]]),i={downloadTime:t[_[403]],timeToFirstByte:t[_[404]]};return Promise[_[405]]({manifest:n,downloadTiming:i})}catch(e){return Promise[_[249]]({code:l[_[397]][_[396]]})}})},e[_[795]]=function(t,n){return e[_[800]](t)[_[268]](function(e){var t={id:e[_[4]]||i[_[414]][_[413]](),tag:{url:e[_[797]],type:u[_[682]][_[279]]},position:e[_[71]],preloadOffset:c[_[693]]};n[_[46]](_[531])&&(t[_[531]]=n[_[531]]),n[_[799]]&&(t[_[799]]=n[_[799]]);var r={publicAdBreakConfig:t};return e[_[37]]&&Object[_[26]](e[_[37]])[_[25]]>0&&(r[_[37]]=e[_[37]]),r})||[]},e[_[800]]=function(t){return t[_[399]]?t[_[399]][_[808]][_[268]](function(t){var n=t[_[801]],i=t[_[802]];switch(i){case _[803]:i=_[559];break;case _[804]:i=_[561]}var r=e[_[805]](t),a=[];return t[_[142]]&&t[_[142]][0]&&t[_[142]][0][_[143]]&&t[_[142]][0][_[143]][_[114]](function(e){var t=e[_[807]][_[806]]();a[_[104]]({type:t,url:e[_[345]]()})}),{id:n,offset:i,tag:r,trackingEvents:a}}):[]},e[_[805]]=function(t){var n=Boolean(t[_[809]]&&t[_[809]][0]),i=Boolean(n&&t[_[809]][0][_[810]]&&t[_[809]][0][_[810]][0]),r=Boolean(n&&t[_[809]][0][_[811]]&&t[_[809]][0][_[811]][0]);return i||r?i&&t[_[809]][0][_[810]][0][_[345]]?t[_[809]][0][_[810]][0][_[345]]():r?o[_[385]][_[418]](e[_[791]](t[_[809]][0][_[811]][0])):void 0:_[139]},e}();t[_[788]]=d}},function(e){return e(e[_[812]]=13795)}])},_[814]==typeof t&&"object"==_[814]?e[_[815]]=s():"function"==_[47]&&n.amdD[_[816]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[814]==typeof t?t[_[817]]=s():(o[_[818]]=o[_[818]]||{},o[_[818]][_[680]]=o[_[818]][_[680]]||{},o[_[818]][_[680]][_[817]]=s())},844:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[771],{14729:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ImaPassthroughMode=void 0,function(e){e.None="none",e.Vast="vast",e.VastAndVmap="vastandvmap"}(t.ImaPassthroughMode||(t.ImaPassthroughMode={}))},39572:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0?i.playAdBreak(i.queuedAdBreaks.shift()):e.done().then(function(){i.adPlaybackApiPromise=null,i.maybeResolveAdBreaks()})}):i.maybeResolveAdBreaks()},i.onLoaded=function(e){i.adPlaybackApiPromise&&i.isPreviousAdPlaybackApiActive&&i.resetActiveAdPlaybackApi(!e.getAd().isLinear())},i.onStarted=function(e){(i.activeAdBreak||i.activeAd)&&(i.adjustAdContainer(e.getAd().isLinear(),e.getAd().getWidth(),e.getAd().getHeight()),i.activeAd||i.initializeActiveAd(e),i.config&&i.config.companionAdContainers&&i.displayCompanionAds(i.config.companionAdContainers(),e),i.activeAd.isLinear?i.onLinearAdStarted(e):i.onNonLinearAdStarted(e))},i.triggerTimeUpdate=function(){if(i.adPlaybackReporterPromise){var e=i.currentTime();e!==i.lastKnownAdPlaybackTime&&e>0&&i.adPlaybackReporterPromise.then(function(t){return t.timeupdate(e)}),i.lastKnownAdPlaybackTime=e}},i.onSkipped=function(){i.resetActiveAd(),i.adPlaybackReporterPromise&&i.adPlaybackReporterPromise.then(function(e){return e.skipped()})},i.onComplete=function(){i.resetActiveAd(),i.adPlaybackReporterPromise&&(i.adPlaybackReporterPromise.then(function(e){return e.done()}),i.adPlaybackReporterPromise=i.adPlaybackApiPromise.then(function(e){return e.requestReporter()}))},i.onPaused=function(){i.isAdPlaying=!1,i.adPlaybackReporterPromise.then(function(e){return e.paused(i.currentTime())})},i.onResumed=function(){i.isAdPlaying=!0,i.adPlaybackReporterPromise.then(function(e){return e.resumed(i.currentTime())})},i.onClicked=function(){var e=i.activeAd?i.activeAd.clickThroughUrl:null;i.player.adClicked(e)},i.onAdInteraction=function(e){var t;i.player.adInteraction(s.AdInteractionType.Vpaid,null===(t=e.getAdData())||void 0===t?void 0:t.id)},i.onDurationChange=function(e){i.currentDuration=e.getAd().getDuration()},i.onFirstQuartile=function(){i.player.onQuartile(s.AdQuartile.FIRST_QUARTILE)},i.onMidpoint=function(){i.player.onQuartile(s.AdQuartile.MIDPOINT)},i.onThirdQuartile=function(){i.player.onQuartile(s.AdQuartile.THIRD_QUARTILE)},i.schedulableAdBreaks=[],i.unschedulableAdBreaks=[],i.queuedAdBreaks=[],i.persistentAdBreaks=[],i.currentScheduleTime=0,i.activeAdBreak=null,i.activeAd=null,i.adVideoLoadTimeout=n.videoLoadTimeout,i.waterfallingErrorCodes=[],i.contentPauseRequested=!1,i.isUsingCustomAdContainer=!1,i.isImaSdkAvailable=!1,i.scheduleAdBreaks=Promise.resolve(null),i.isAdPlaying=!1,i.isFallbackAd=!1,i.isPreviousAdPlaybackApiActive=!1,i.config.placeholders=r(r({},p.adTagPlaceholderDefaults),i.config.placeholders),i.initializeImaSdkDeferred=new _.Deferred,i.loadImaSdkPromise=c.FileLoader.getInstance().loadScript(n.sdkUrl),i.loadImaSdkPromise.then(function(){i.createDomStructure(),i.initialize(),i.isImaSdkAvailable=!0}).catch(function(){i.player.onError(T.ImaModuleErrorCode.FAILED_TO_REQUEST_IMA_SDK,"could not load the IMA SDK"),i.isImaSdkAvailable=!1,i.initializeImaSdkDeferred.resolve()}),i}return i(t,e),t.prototype.createDomStructure=function(){"function"==typeof this.config.adContainer&&(this.adContainer=this.config.adContainer(),this.adContainer instanceof HTMLElement?this.isUsingCustomAdContainer=!0:this.player.onError($.VastErrorCode.UNDEFINED_ERROR,"AdvertisingConfig.adContainer was defined but did not provide a valid HTMLElement.")),this.isUsingCustomAdContainer||(this.adContainer=u.DOMHelper.createTag("div",{class:o.Environment.idPrefix+"ima-container"},{height:"100%",width:"100%",display:"none",border:"none",overflow:"hidden",position:"absolute",top:"0"}),this.playerContainer=this.player.getVideoElement().parentElement,this.playerContainer.appendChild(this.adContainer)),E(this.config.onAdContainerAvailable,this.adContainer)},t.prototype.initialize=function(){google.ima.settings.setPlayerType("bitmovin-player"),google.ima.settings.setNumRedirects(25),google.ima.settings.setCookiesEnabled(this.config.withCredentials),E(this.config.beforeInitialization,google.ima.settings),this.adsRenderingSettings=new google.ima.AdsRenderingSettings,this.config.allowedUiElements&&(this.adsRenderingSettings.uiElements=this.config.allowedUiElements),this.adDisplayContainer=new google.ima.AdDisplayContainer(this.adContainer,this.player.getVideoElement()),this.adDisplayContainer.initialize(),this.adsLoader=new google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError),this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded),this.waterfallingErrorCodes=[100,404,google.ima.AdError.ErrorCode.COMPANION_REQUIRED_ERROR,google.ima.AdError.ErrorCode.FAILED_TO_REQUEST_ADS,google.ima.AdError.ErrorCode.NONLINEAR_DIMENSIONS_ERROR,google.ima.AdError.ErrorCode.UNKNOWN_AD_RESPONSE,google.ima.AdError.ErrorCode.UNKNOWN_ERROR,google.ima.AdError.ErrorCode.VAST_ASSET_NOT_FOUND,google.ima.AdError.ErrorCode.VAST_EMPTY_RESPONSE,google.ima.AdError.ErrorCode.VAST_LINEAR_ASSET_MISMATCH,google.ima.AdError.ErrorCode.VAST_LOAD_TIMEOUT,google.ima.AdError.ErrorCode.VAST_MALFORMED_RESPONSE,google.ima.AdError.ErrorCode.VAST_NO_ADS_AFTER_WRAPPER,google.ima.AdError.ErrorCode.VAST_SCHEMA_VALIDATION_ERROR,google.ima.AdError.ErrorCode.VAST_TOO_MANY_REDIRECTS,google.ima.AdError.ErrorCode.VAST_TRAFFICKING_ERROR,google.ima.AdError.ErrorCode.VAST_UNSUPPORTED_VERSION,google.ima.AdError.ErrorCode.VAST_WRAPPER_ERROR,1012],this.initializeImaSdkDeferred.resolve()},t.prototype.handleMissingAdBreak=function(){this.adPlaybackApiPromise&&this.resetActiveAdPlaybackApi(),this.passthroughDownloadTime=null},t.prototype.recoverFromAdError=function(){this.maybeResolveAdBreaks(),this.contentPauseRequested||this.resetActiveAdPlaybackApi().catch(function(){})},t.prototype.emitAdError=function(e){this.player.onError(e.getErrorCode(),e.getMessage(),this.getActiveAdBreak()),this.resetActiveAd(),this.activeAdBreak=null,this.queuedAdBreaks.length>0?this.playAdBreak(this.queuedAdBreaks.shift()):this.recoverFromAdError()},t.prototype.maybeResolveAdBreaks=function(){this.finishAllAdBreaksForPosition&&(this.finishAllAdBreaksForPosition.resolve(),this.finishAllAdBreaksForPosition=null)},t.prototype.onAdBreakLoaded=function(e){this.adPlaybackApiPromise&&(this.isPreviousAdPlaybackApiActive=!0),e.passthroughMode!==S.ImaPassthroughMode.None&&this.fireMetadataLoadedEventForPassthroughMode(e),this.passthroughDownloadTime=null,e.hasOwnProperty("ads")||(e.ads=[]),this.maybePlayLoadedAdBreak(e)},t.prototype.fireMetadataLoadedEventForPassthroughMode=function(e){var t=(0,d.isNumber)(e.currentFallbackIndex)&&e.currentFallbackIndex>=0?e.fallbackTags[e.currentFallbackIndex]:e.tag,n=this.passthroughDownloadTime&&t.type!==g.AdTagType.VMAP?{downloadTime:(0,l.toSeconds)(Date.now()-this.passthroughDownloadTime)}:null;this.player.metadataLoaded(e,n)},t.prototype.maybePlayLoadedAdBreak=function(e){this.config.strategy.shouldPlayAdBreak(e)?this.adsManager.start():(this.activeAdBreak=null,this.queuedAdBreaks.length>0?this.playAdBreak(this.queuedAdBreaks.shift()):(this.isPreviousAdPlaybackApiActive&&this.resetActiveAdPlaybackApi(),this.maybeResolveAdBreaks()))},t.prototype.initializeActiveAd=function(e){var t=this.getActiveAdBreak();if(t&&t.ads){var n=e.getAd().getAdId(),i=t.ads.find(function(e){return e.id===n});i&&(this.activeAd=i)}if(this.activeAd=this.activeAd||{id:e.getAd().getAdId()},this.activeAd.isLinear=e.getAd().isLinear(),1===Object.keys(e.getAd()).length){var r=e.getAd()[Object.keys(e.getAd())[0]].clickThroughUrl;r&&(this.activeAd.clickThroughUrl=r)}e.getAd().getMediaUrl()&&(this.activeAd.mediaFileUrl=e.getAd().getMediaUrl())},t.prototype.onLinearAdStarted=function(e){var t=this,n=e.getAd().getSkipTimeOffset();this.currentDuration=e.getAd().getDuration(),-1===this.currentDuration&&(this.currentDuration=null),this.activeAd.width=e.getAd().getVastMediaWidth(),this.activeAd.height=e.getAd().getVastMediaHeight(),this.activeAd.duration=this.currentDuration,this.activeAd.skippable=n!==v.NON_SKIPPABLE_IDENTIFIER,this.activeAd.data=I(e),this.activeAd.skippable&&(this.activeAd.skippableAfter=n),this.getActiveAdBreak()&&!this.getActiveAdBreak().ads.includes(this.activeAd)&&this.getActiveAdBreak().ads.push(this.activeAd),this.isAdPlaying=!0,this.adPlaybackReporterPromise.then(function(e){e.started(t.activeAd),t.triggerTimeUpdateInterval=window.setInterval(t.triggerTimeUpdate,250)})},t.prototype.onNonLinearAdStarted=function(e){this.queuedAdBreaks.length>0?this.playAdBreak(this.queuedAdBreaks.shift()):(this.activeAd.width=e.getAd().getWidth(),this.activeAd.height=e.getAd().getHeight(),this.activeAd.data=I(e),this.getActiveAdBreak()&&!this.getActiveAdBreak().ads.includes(this.activeAd)&&this.getActiveAdBreak().ads.push(this.activeAd),this.player.overlayAdStarted(this.activeAd),this.finishAllAdBreaksForPosition&&(this.finishAllAdBreaksForPosition.resolve(),this.finishAllAdBreaksForPosition=null)),this.activeAdBreak=null},t.prototype.adjustAdContainer=function(e,t,n){this.adContainer.style.display="block",this.isUsingCustomAdContainer||(e?(this.adContainer.style.width="100%",this.adContainer.style.height="100%",this.adContainer.style.top="0",this.adContainer.style.bottom="",this.adContainer.style.left="",this.adContainer.style.right="",this.adContainer.style.marginLeft="",this.adContainer.style.marginRight=""):(this.adContainer.style.width=t+"px",this.adContainer.style.height=n+"px",this.adContainer.style.top="",this.adContainer.style.bottom=v.DEFAULT_OVERLAY_AD_BOTTOM_POSITION,this.adContainer.style.left="0",this.adContainer.style.right="0",this.adContainer.style.marginLeft="auto",this.adContainer.style.marginRight="auto")),this.adjustImaIframe(e,t,n)},t.prototype.adjustImaIframe=function(e,t,n){var i=this.adContainer.firstElementChild;i&&(e?(i.style.width="100%",i.style.height="100%"):(i.style.width=t+"px",i.style.height=n+"px"));var r=i.getElementsByTagName("iframe")[0];r&&(e?(r.style.width="100%",r.style.height="100%"):(r.style.width=t+"px",r.style.height=n+"px"))},t.prototype.displayCompanionAds=function(e,t){var n=this,i=new google.ima.CompanionAdSelectionSettings;i.resourceType=google.ima.CompanionAdSelectionSettings.ResourceType.STATIC,i.creativeType=google.ima.CompanionAdSelectionSettings.CreativeType.IMAGE,i.sizeCriteria=google.ima.CompanionAdSelectionSettings.SizeCriteria.IGNORE,e.forEach(function(e){var r=e.clientWidth,a=e.clientHeight,o=t.getAd().getCompanionAds(r,a,i);if("innerHTML"in e&&o.length>0){var s=o[0];n.activeAd.hasOwnProperty("companionAds")||(n.activeAd.companionAds=[]),n.activeAd.companionAds.push({width:s.getWidth(),height:s.getHeight()}),e.innerHTML=s.getContent()}})},t.prototype.resetActiveAdPlaybackApi=function(e){if(void 0===e&&(e=!0),!this.adPlaybackApiPromise)return Promise.resolve();var t=this.adPlaybackApiPromise.then(function(t){return t.done(e)});return this.adPlaybackApiPromise=null,this.isPreviousAdPlaybackApiActive=null,t},t.prototype.resetActiveAd=function(){this.activeAd&&this.activeAd.companionAds&&this.config.companionAdContainers().forEach(function(e){return e.innerHTML=""}),clearInterval(this.triggerTimeUpdateInterval),this.triggerTimeUpdateInterval=null,this.activeAd=null,this.isAdPlaying=!1,this.lastKnownAdPlaybackTime=null},t.prototype.onTimeChanged=function(e){var t=this;if(!this.isLinearAdActive()){this.hasContentStarted=!0,this.currentScheduleTime=e;var n=this.schedulableAdBreaks.filter(function(t){return t.preloadOffset&&!t.vastResponse&&t.scheduleTime-t.preloadOffset<=e}),i=this.schedulableAdBreaks.filter(function(t){return t.scheduleTime<=e&&!t.isScheduled});n.forEach(function(e){return t.loadAdBreak(e)}),i.forEach(function(e){e.isScheduled=!0,t.loadAdBreak(e).then(function(){t.schedulableAdBreaks.includes(e)&&t.playAdBreak(e)})})}},t.prototype.resetPlaybackStatus=function(e){this.schedulableAdBreaks.forEach(function(t){return t.scheduleTime>=e&&(t.isScheduled=!1)})},t.prototype.onSeek=function(e,t){this.resetPlaybackStatus(t);var n=this.schedulableAdBreaks.filter(function(e){return e.scheduleTime<=t});if(this.schedulableAdBreaks=this.schedulableAdBreaks.filter(function(e){return!n.includes(e)}),n.length>0){var i=this.config.strategy.shouldPlaySkippedAdBreaks(a([],n,!0),e,t);(n=n.filter(function(e){return!e.discardAfterPlayback||i.includes(e)})).forEach(function(e){return e.isScheduled=!0}),i.forEach(function(e){var t=n.findIndex(function(t){return t===e});t>-1&&(n[t].isScheduled=!1)}),this.schedulableAdBreaks=n.concat(this.schedulableAdBreaks)}},t.prototype.onResize=function(e,t,n){if(this.adsManager&&(!this.activeAd||this.activeAd.isLinear)){var i=n?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL;this.adsManager.resize(e,t,i)}},t.prototype.onVolumeChanged=function(e){this.adsManager&&this.adsManager.setVolume(e/100)},t.prototype.beforeContent=function(){var e=this;return this.storeAdBreaks(this.unschedulableAdBreaks.splice(0,this.unschedulableAdBreaks.length)),this.loadImaSdkPromise.then(function(){return e.isImaSdkAvailable?(e.deInitialize(),e.initialize(),e.scheduleAdBreaks.catch(function(){}).then(function(){return e.playAllAdBreaksForOffset("pre")})):Promise.resolve()})},t.prototype.afterContent=function(){var e=this;return this.isImaSdkAvailable?(this.activeAd&&!this.activeAd.isLinear&&(this.resetActiveAd(),this.activeAdBreak=null,this.adsManager.stop()),this.adsLoader.contentComplete(),this.playAllAdBreaksForOffset("post").then(function(){return e.resetPlaybackStatus(0)})):Promise.resolve()},t.prototype.isValidPassthroughMode=function(e){return Object.keys(S.ImaPassthroughMode).some(function(t){return e===S.ImaPassthroughMode[t]})},t.prototype.preProcessAdConfig=function(e){e.fallbackTags&&e.fallbackTags.length>0&&(e.fallbackTags=e.fallbackTags.filter(function(e){return!!e.url})),this.isValidPassthroughMode(e.passthroughMode)||(e.passthroughMode=S.ImaPassthroughMode.Vast);var t=e;return t.position?t.position=String(t.position).toLowerCase():t.position=v.DEFAULT_AD_BREAK_POSITION,"number"!=typeof t.preloadOffset&&(t.preloadOffset=v.DEFAULT_PRELOAD_OFFSET),t},t.prototype.validateAdTag=function(e){return e.tag?e.tag.url?Object.keys(g.AdTagType).some(function(t){return e.tag.type===g.AdTagType[t]})?void 0:"The provided ad tag type is invalid":"No ad tag url was provided":"No ad tag was provided"},t.prototype.getAdBreaksFromAdBreakConfigs=function(e){return e.map(function(e){var t=r(r({},e.publicAdBreakConfig),{isScheduled:!1});return e.trackingEvents&&(t.trackingEvents=e.trackingEvents),void 0===t.id&&(t.id=f.Util.generateUniqueId()),t})},t.prototype.schedule=function(e){var t=this;return this.scheduleAdBreaks=this.initializeImaSdkDeferred.promise.then(function(){if(!t.isImaSdkAvailable)return Promise.reject("The IMA SDK was not loaded and initialized properly");var n=t.validateAdTag(e);if(n)return Promise.reject(n);var i=t.preProcessAdConfig(e);return t.extractSchedulableAdBreakConfigs(i).then(function(n){if(0===n.length&&i.fallbackTags&&i.fallbackTags.length>0)return i.tag=i.fallbackTags.shift(),t.schedule(i);var o=t.getAdBreaksFromAdBreakConfigs(n);o.forEach(function(t){return t.discardAfterPlayback=!1!==e.discardAfterPlayback});var s=t.storeAdBreaks(o),_=a([],s.map(function(e){var t=r({},e);return delete t.isScheduled,t}),!0);return Promise.resolve(_)})})},t.prototype.storeAdBreaks=function(e){var t=this,n=[];e.forEach(function(e){var i=t.player.parsePosition(e.position);isNaN(i)?t.unschedulableAdBreaks.push(e):(e.scheduleTime=i,n.push(e))});var i=n.filter(function(e){return e.persistent});return this.schedulableAdBreaks=this.schedulableAdBreaks.concat(n),this.persistentAdBreaks=this.persistentAdBreaks.concat(i),this.schedulableAdBreaks.sort(C),this.persistentAdBreaks.sort(C),n},t.prototype.extractSchedulableAdBreakConfigs=function(e){var t=this;return new Promise(function(n){if(e.tag.type===g.AdTagType.VMAP&&e.passthroughMode!==S.ImaPassthroughMode.VastAndVmap){var i=e.tag.url;e.tag.url=t.applyAdTagPlaceholders(e.tag.url),y.VmapExtractor.extractAdBreakConfigs(e).then(function(r){var a=r.adBreakConfigs.filter(function(e){var n=t.player.parsePosition(e.publicAdBreakConfig.position);return isNaN(n)||n>=t.currentScheduleTime});e.tag.url=i,t.player.metadataLoaded(e,r.downloadTiming),n(a)}).catch(function(r){e.tag.url=i,r?t.player.onError(r.code,null,e):t.player.onError($.VastErrorCode.UNDEFINED_ERROR,null,e),n([])})}else n([{publicAdBreakConfig:e}])})},t.prototype.playAllAdBreaksForOffset=function(e){var t=this;return this.initializeImaSdkDeferred.promise.then(function(){if(!t.isImaSdkAvailable)return Promise.resolve();var n;n="post"===e?t.schedulableAdBreaks.filter(function(t){return t.position.includes(e)||t.scheduleTime===1/0}):t.schedulableAdBreaks.filter(function(t){return t.position.includes(e)||0===t.scheduleTime});var i=Promise.resolve();return n.length>0&&(t.finishAllAdBreaksForPosition=new _.Deferred,i=t.finishAllAdBreaksForPosition.promise,n.forEach(function(e){e.isScheduled=!0,t.loadAdBreak(e).then(function(){return t.playAdBreak(e)})})),i})},t.prototype.loadAdBreak=function(e,t){var n=this,i=e.tag;if(t&&(e.vastResponse=null,i=t),e.vastResponse&&!t)return e.vastResponse;var r=this.applyAdTagPlaceholders(i.url);return e.passthroughMode!==S.ImaPassthroughMode.None?e.vastResponse=Promise.resolve({}):e.vastResponse=h.AdManifestHelper.downloadVastManifest(r).then(function(t){var i=t.manifest,r={manifest:h.AdManifestHelper.xmlToString(i)};return h.AdManifestHelper.parseAdVerifications(i).then(function(i){return i&&i.length>0&&(e.ads=[],i.forEach(function(t){t.verifications&&t.verifications.length>0&&e.ads.push({id:t.id,verifications:t.verifications})})),n.player.metadataLoaded(e,t.downloadTiming),Promise.resolve(r)})}).catch(function(t){return n.tryNextFallbackAdTag(e).catch(function(){return delete e.currentFallbackIndex,t?n.player.onError(t.code,null,e):n.player.onError($.VastErrorCode.UNDEFINED_ERROR,null,e),Promise.resolve({})})}),e.vastResponse},t.prototype.tryNextFallbackAdTag=function(e){return"number"!=typeof e.currentFallbackIndex?e.currentFallbackIndex=0:e.currentFallbackIndex++,e.fallbackTags&&e.fallbackTags[e.currentFallbackIndex]?this.loadAdBreak(e,e.fallbackTags[e.currentFallbackIndex]):Promise.reject()},t.prototype.playAdBreak=function(e){var t=this;this.schedulableAdBreaks.includes(e)&&e.discardAfterPlayback&&this.schedulableAdBreaks.splice(this.schedulableAdBreaks.indexOf(e),1),this.initializeImaSdkDeferred.promise.then(function(){var n;t.isImaSdkAvailable&&(t.activeAdBreak?t.queuedAdBreaks.push(e):(t.activeAd&&!t.activeAd.isLinear&&t.adsManager&&(t.adsManager.stop(),t.resetActiveAd()),t.activeAdBreak=e,null===(n=e.vastResponse)||void 0===n||n.then(function(n){return t.passAdBreakToIma(e,n.manifest)})))})},t.prototype.getUrlFromAdBreak=function(e){var t,n,i;return null!==(i=null===(n=null===(t=null==e?void 0:e.fallbackTags)||void 0===t?void 0:t[e.currentFallbackIndex])||void 0===n?void 0:n.url)&&void 0!==i?i:e.tag.url},t.prototype.passAdBreakToIma=function(e,t,n){var i=t?h.AdManifestHelper.toDataUri(t):void 0,r=null!=i?i:this.getUrlFromAdBreak(e);r&&this.requestAds(r,n)},t.prototype.requestAds=function(e,t){var n=new google.ima.AdsRequest,i=e,r="data:text/xml,";0===i.indexOf(r)?n.adsResponse=decodeURIComponent(i.substring(r.length)):n.adTagUrl=this.applyAdTagPlaceholders(e),this.playerContainer&&(n.linearAdSlotWidth=this.playerContainer.clientWidth,n.linearAdSlotHeight=this.playerContainer.clientHeight,n.nonLinearAdSlotWidth=this.playerContainer.clientWidth),n.nonLinearAdSlotHeight=150,this.isFallbackAd=t,this.passthroughDownloadTime=Date.now(),this.adsLoader.requestAds(n)},t.prototype.applyAdTagPlaceholders=function(e){var t=this,n={playbackTime:String(this.player.getVideoElement().currentTime),height:String(this.playerContainer.clientHeight),width:String(this.playerContainer.clientWidth),domain:encodeURIComponent(document.location.hostname),page:encodeURIComponent(document.location.href),referrer:encodeURIComponent(document.referrer),random:Math.floor(1e7+9e7*Math.random()).toString(),timestamp:String(Date.now())};return Object.keys(this.config.placeholders).forEach(function(i){t.config.placeholders[i].forEach(function(t){e=e.replace(t,n[i])})}),e},t.prototype.list=function(){var e=a(a([],this.queuedAdBreaks.map(function(e){return r({},e)}),!0),this.schedulableAdBreaks.map(function(e){return r({},e)}),!0);return e.forEach(function(e){return delete e.isScheduled}),e},t.prototype.getActiveAdBreak=function(){return this.activeAdBreak},t.prototype.getActiveAd=function(){return this.activeAd},t.prototype.isLinearAdActive=function(e){return!!this.activeAd&&(e?Boolean(this.activeAd.isLinear)&&this.isAdPlaying:Boolean(this.activeAd.isLinear))},t.prototype.discardAdBreak=function(e){e&&(this.activeAdBreak&&this.activeAdBreak.id===e&&(this.onSkipped(),this.activeAdBreak=null,this.adsManager.stop()),this.schedulableAdBreaks=this.schedulableAdBreaks.filter(function(t){return t.id!==e}),this.queuedAdBreaks=this.queuedAdBreaks.filter(function(t){return t.id!==e}))},t.prototype.currentTime=function(){return!isFinite(this.currentDuration)||!this.adsManager||this.adsManager.getRemainingTime()<0?NaN:this.currentDuration-this.adsManager.getRemainingTime()},t.prototype.duration=function(){return isFinite(this.currentDuration)?this.currentDuration:0},t.prototype.pause=function(){this.adsManager&&this.adsManager.pause()},t.prototype.resume=function(){this.adsManager&&this.adsManager.resume()},t.prototype.skip=function(){return this.adsManager&&(this.adsManager.skip(),this.activeAd&&!this.activeAd.isLinear&&(this.adsManager.stop(),this.adContainer.style.display="none",this.resetActiveAd())),Promise.resolve()},t.prototype.getModuleInfo=function(){return{name:"advertising-ima",version:o.Environment.VERSION_NUMBER}},t.prototype.deInitialize=function(){var e=this.schedulableAdBreaks,t=this.unschedulableAdBreaks;this.reset(!1),this.schedulableAdBreaks=e,this.unschedulableAdBreaks=t,this.cleanUpImaSdk(),this.initializeImaSdkDeferred=new _.Deferred},t.prototype.reset=function(e){void 0===e&&(e=!0),this.adPlaybackApiPromise=null,this.adPlaybackReporterPromise=null,this.getActiveAdBreak()&&this.adsManager.stop(),this.resetActiveAd(),this.schedulableAdBreaks=this.persistentAdBreaks,this.queuedAdBreaks=[],this.currentScheduleTime=0,this.currentDuration=null,this.activeAdBreak=null,this.hasContentStarted=!1,this.isFallbackAd=!1,this.isPreviousAdPlaybackApiActive=!1,this.passthroughDownloadTime=null,\ne&&(this.scheduleAdBreaks=Promise.resolve(null))},t.prototype.cleanUpImaSdk=function(){this.adsLoader&&(this.adsLoader.removeEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError),this.adsLoader.removeEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded),this.adsLoader.destroy(),this.adsLoader=null),this.adsManager&&(this.adsManager.removeEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this.onContentPauseRequested),this.adsManager.removeEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this.onContentResumeRequested),this.adsManager.removeEventListener(google.ima.AdEvent.Type.STARTED,this.onStarted),this.adsManager.removeEventListener(google.ima.AdEvent.Type.LOADED,this.onLoaded),this.adsManager.removeEventListener(google.ima.AdEvent.Type.SKIPPED,this.onSkipped),this.adsManager.removeEventListener(google.ima.AdEvent.Type.COMPLETE,this.onComplete),this.adsManager.removeEventListener(google.ima.AdEvent.Type.PAUSED,this.onPaused),this.adsManager.removeEventListener(google.ima.AdEvent.Type.RESUMED,this.onResumed),this.adsManager.removeEventListener(google.ima.AdEvent.Type.CLICK,this.onClicked),this.adsManager.removeEventListener(google.ima.AdEvent.Type.DURATION_CHANGE,this.onDurationChange),this.adsManager.removeEventListener(google.ima.AdEvent.Type.FIRST_QUARTILE,this.onFirstQuartile),this.adsManager.removeEventListener(google.ima.AdEvent.Type.MIDPOINT,this.onMidpoint),this.adsManager.removeEventListener(google.ima.AdEvent.Type.THIRD_QUARTILE,this.onThirdQuartile),this.adsManager.removeEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError),this.adsManager.removeEventListener(google.ima.AdEvent.Type.INTERACTION,this.onAdInteraction),this.adsManager.destroy(),this.adsManager=null),this.adDisplayContainer&&(this.adDisplayContainer.destroy(),this.adDisplayContainer=null),this.adsRenderingSettings=null},t.prototype.dispose=function(){this.resetActiveAd(),this.cleanUpImaSdk(),this.playerContainer&&this.playerContainer.removeChild(this.adContainer),this.adContainer=null,this.activeAdBreak=null,this.activeAd=null},t.imaMarker=function(){},t}(b.AdvertisingModule);function C(e,t){return e.scheduleTime-e.preloadOffset-(t.scheduleTime-t.preloadOffset)}function I(e){var t=e.getAd();return function(e){var t=r({},e);return Object.keys(t).forEach(function(e){var n=t[e],i=n&&"object"==typeof n&&!Object.keys(n).some(function(e){return Boolean(n[e])});((0,d.isNumber)(n)&&n<0||!(0,d.isNumber)(n)&&!n||i)&&delete t[e]}),t}({adTitle:t.getTitle(),adSystem:{name:t.getAdSystem()},mimeType:t.getContentType(),bitrate:t.getVastMediaBitrate&&t.getVastMediaBitrate()>0?t.getVastMediaBitrate():-1,wrapperAdIds:t.getWrapperAdIds(),adDescription:t.getDescription(),advertiser:{name:t.getAdvertiserName()},apiFramework:t.getApiFramework(),creative:{id:t.getCreativeId(),adId:t.getCreativeAdId(),universalAdId:{idRegistry:t.getUniversalAdIdRegistry(),value:t.getUniversalAdIdValue()}},dealId:t.getDealId(),minSuggestedDuration:t.isLinear()?v.NON_SKIPPABLE_IDENTIFIER:t.getMinSuggestedDuration(),survey:{uri:t.getSurveyUrl()},traffickingParameters:t.getTraffickingParameters()})}t.ImaModule=A,t.collectAdData=I},85312:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ImaModuleErrorCode=void 0,function(e){e[e.FAILED_TO_REQUEST_IMA_SDK=103]="FAILED_TO_REQUEST_IMA_SDK",e[e.FAILED_TO_REQUEST_ADS=1005]="FAILED_TO_REQUEST_ADS",e[e.VAST_ASSET_NOT_FOUND=1007]="VAST_ASSET_NOT_FOUND",e[e.VAST_EMPTY_RESPONSE=1009]="VAST_EMPTY_RESPONSE",e[e.UNKNOWN_AD_RESPONSE=1010]="UNKNOWN_AD_RESPONSE",e[e.UNSUPPORTED_LOCALE=1011]="UNSUPPORTED_LOCALE",e[e.ADS_REQUEST_NETWORK_ERROR=1012]="ADS_REQUEST_NETWORK_ERROR",e[e.INVALID_AD_TAG=1013]="INVALID_AD_TAG",e[e.STREAM_INITIALIZATION_FAILED=1020]="STREAM_INITIALIZATION_FAILED",e[e.ASSET_FALLBACK_FAILED=1021]="ASSET_FALLBACK_FAILED",e[e.INVALID_ARGUMENTS=1101]="INVALID_ARGUMENTS",e[e.AUTOPLAY_DISALLOWED=1205]="AUTOPLAY_DISALLOWED"}(t.ImaModuleErrorCode||(t.ImaModuleErrorCode={}))},63960:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ImaPassthroughMode=t.ImaModuleErrorCode=t.AdvertisingImaModuleDefinition=void 0;var i=n(83024),r=n(14729);Object.defineProperty(t,"ImaPassthroughMode",{enumerable:!0,get:function(){return r.ImaPassthroughMode}});var a=n(39572),o=n(85312);Object.defineProperty(t,"ImaModuleErrorCode",{enumerable:!0,get:function(){return o.ImaModuleErrorCode}}),t.AdvertisingImaModuleDefinition={name:i.ModuleName.Advertising,module:function(){return a.ImaModule},dependencies:[i.ModuleName.AdvertisingCore],exports:{ImaModuleErrorCode:o.ImaModuleErrorCode,ImaPassthroughMode:r.ImaPassthroughMode}},t.default=t.AdvertisingImaModuleDefinition}},function(e){return e(e.s=63960)}])},24:function(e){self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[142],{78474:function(e){var t;window,t=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/Users/ineskulenovic/Desktop/Bitmovin/bitmovin-analytics-collector/build/release",n(n.s=28)}([function(e,t,n){"use strict";var i=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t0&&(e.startupTime+=t),e.sample.startupTime=e.startupTime,e.autoplay=e.sample.autoplay=e.adapter.getAutoPlay();var i=e.adapter.getDrmPerformanceInfo();null!=i&&(e.sample.drmType=i.drmType,e.sample.drmLoadTime=i.drmLoadTime),e.sendAnalyticsRequestAndClearValues(),e.sample.autoplay=void 0},this.adapter.stateMachineCallbacks.playing=function(t,n){e.setDuration(t),e.setState(n),e.sample.played=t,e.setCompletionValues(),e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.unload=function(t,n){var i=e.sample.videoTimeStart;"playing"===n&&(e.setDuration(t),e.setState(n),e.sample.played=t,e.setCompletionValues(),e.sendUnloadRequest(),l.validNumber(e.sample.videoTimeEnd)&&(i=e.sample.videoTimeEnd)),e.videoStartupTime>0&&(e.setVideoTimeStart(i),e.setVideoTimeEnd(i),e.clearValues(),e.setState("closed"),e.sendUnloadRequest())},this.adapter.stateMachineCallbacks.heartbeat=function(t,n,r){e.setState(n),e.setDuration(t),e.sample=i(i({},e.sample),r),"playing"===n&&e.setCompletionValues(),e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.qualitychange=function(t,n){e.sendQualityChange(n,t)},this.adapter.stateMachineCallbacks.qualitychange_pause=function(t,n){e.sendQualityChange(n,t)},this.adapter.stateMachineCallbacks.qualitychange_rebuffering=function(t,n){e.sendQualityChange(n,t)},this.adapter.stateMachineCallbacks.videoChange=function(t){e.adapter.stateMachineCallbacks.setVideoTimeEndFromEvent(t),e.adapter.stateMachineCallbacks.setVideoTimeStartFromEvent(t),e.setPlaybackVideoPropertiesFromEvent(t)},this.adapter.stateMachineCallbacks.audioChange=function(t){e.adapter.stateMachineCallbacks.setVideoTimeEndFromEvent(t),e.adapter.stateMachineCallbacks.setVideoTimeStartFromEvent(t),e.setPlaybackAudioPropertiesFromEvent(t)},this.adapter.stateMachineCallbacks.audiotrack_changing=function(){e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.pause=function(t,n){e.setDuration(t),e.setState(n),e.sample.paused=t,e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.paused_seeking=function(t,n){e.setDuration(t),e.setState(n),e.sample.seeked=t,e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.end_play_seeking=function(t,n){e.setState(n),e.setDuration(t),e.sample.seeked=t,e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.rebuffering=function(t,n){e.setDuration(t),e.setState(n),e.sample.buffered=t,e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.videoStartFailed=function(t,n){void 0===n&&(n=!0),e.sample.videoStartFailed=!0,e.sample.videoStartFailedReason=t.reason.reason,null!=t.reason.errorCode&&(e.sample.errorCode=t.reason.errorCode.code,e.sample.errorMessage=t.reason.errorCode.message,n&&e.onErrorDetailEventDispatcher.dispatch(i({},t.reason.errorCode))),n&&e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.error=function(t){e.adapter.stateMachineCallbacks.setVideoTimeEndFromEvent(t),e.adapter.stateMachineCallbacks.setVideoTimeStartFromEvent(t),e.setState("error"),e.sample.errorCode=t.code,e.sample.errorMessage=t.message,e.sample.errorData=JSON.stringify(t.legacyData);var n=e.adapter.segments.map(function(e){return e.name});e.sample.errorSegments=n,e.adapter.onError&&e.adapter.onError(),e.onErrorDetailEventDispatcher.dispatch({code:t.code,message:t.message,errorData:t.data}),e.sendAnalyticsRequestAndClearValues(),delete e.sample.errorCode,delete e.sample.errorMessage,delete e.sample.errorData},this.adapter.stateMachineCallbacks.ad=function(t,n){e.setDuration(t),e.setState(n),e.sample.ad=t,e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.mute=function(){e.sample.isMuted=!0},this.adapter.stateMachineCallbacks.unMute=function(){e.sample.isMuted=!1},this.adapter.stateMachineCallbacks.subtitle_changing=function(){e.sendAnalyticsRequestAndClearValues()},this.adapter.stateMachineCallbacks.setVideoTimeEndFromEvent=function(t){l.validNumber(t.currentTime)&&e.setVideoTimeEnd(l.calculateTime(t.currentTime))},this.adapter.stateMachineCallbacks.setVideoTimeStartFromEvent=function(t){l.validNumber(t.currentTime)&&e.setVideoTimeStart(l.calculateTime(t.currentTime))},this.adapter.stateMachineCallbacks.manualSourceChange=function(t){e.adapter.resetSourceRelatedState(),e.sample=e.setupSample(),e.startupTime=0,e.config=t.config?t.config:e.config,e.init()},this.adapter.stateMachineCallbacks.playlistTransition=function(t){e.sample=e.setupSample(),e.startupTime=0,e.init()},this.adapter.stateMachineCallbacks.initialSourceChange=function(t){e.config=t.config,e.setConfigParameters()},this.adapter.stateMachineCallbacks.end=function(){e.sample=e.setupSample(),e.startupTime=0,e.init()},this.adapter.stateMachineCallbacks.release=function(){e.release()},this.adapter.stateMachineCallbacks.customdatachange=function(t,n,i){i&&i.values&&e.changeCustomData(i.values)}},e.prototype.setDuration=function(e){this.sample.duration=e},e.prototype.setState=function(e){this.sample.state=e},e.prototype.setPlaybackVideoPropertiesFromEvent=function(e){l.validNumber(e.width)&&(this.sample.videoPlaybackWidth=e.width),l.validNumber(e.height)&&(this.sample.videoPlaybackHeight=e.height),l.validNumber(e.bitrate)&&(this.sample.videoBitrate=e.bitrate),l.validString(e.codec)&&(this.sample.videoCodec=e.codec)},e.prototype.setPlaybackAudioPropertiesFromEvent=function(e){l.validNumber(e.bitrate)&&(this.sample.audioBitrate=e.bitrate),l.validString(e.codec)&&(this.sample.audioCodec=e.codec)},e.prototype.setPlaybackInfoFromAdapter=function(){var e=this.adapter.getCurrentPlaybackInfo();e&&(this.sample.isLive=this.getIsLiveFromConfigOrPlaybackInfo(this.config,e.isLive),l.validString(e.size)&&(this.sample.size=e.size),l.validString(e.playerTech)&&(this.sample.playerTech=e.playerTech),l.validNumber(e.videoDuration)&&(this.sample.videoDuration=l.calculateTime(e.videoDuration||0)),l.validString(e.streamFormat)&&(this.sample.streamFormat=e.streamFormat),l.validString(e.mpdUrl)&&(this.sample.mpdUrl=e.mpdUrl),l.validString(e.m3u8Url)&&(this.sample.m3u8Url=e.m3u8Url),l.validString(e.progUrl)&&(this.sample.progUrl=e.progUrl),l.validNumber(e.videoWindowWidth)&&(this.sample.videoWindowWidth=e.videoWindowWidth),l.validNumber(e.videoWindowHeight)&&(this.sample.videoWindowHeight=e.videoWindowHeight),l.validNumber(e.screenHeight)&&(this.sample.screenHeight=e.screenHeight),l.validNumber(e.screenWidth)&&(this.sample.screenWidth=e.screenWidth),l.validNumber(e.videoPlaybackHeight)&&(this.sample.videoPlaybackHeight=e.videoPlaybackHeight),l.validNumber(e.videoPlaybackWidth)&&(this.sample.videoPlaybackWidth=e.videoPlaybackWidth),l.validNumber(e.videoBitrate)&&(this.sample.videoBitrate=e.videoBitrate),l.validNumber(e.audioBitrate)&&(this.sample.audioBitrate=e.audioBitrate),l.validBoolean(e.isMuted)&&(this.sample.isMuted=e.isMuted),l.validBoolean(e.isCasting)&&(this.sample.isCasting=e.isCasting),l.validString(e.castTech)&&(this.sample.castTech=e.castTech),l.validString(e.videoTitle)&&!this.config.title&&(this.sample.videoTitle=e.videoTitle),l.validString(e.audioCodec)&&(this.sample.audioCodec=e.audioCodec),l.validString(e.videoCodec)&&(this.sample.videoCodec=e.videoCodec),l.validString(e.audioLanguage)&&(this.sample.audioLanguage=e.audioLanguage),l.validBoolean(e.subtitleEnabled)&&(this.sample.subtitleEnabled=e.subtitleEnabled),l.validString(e.subtitleLanguage)?this.sample.subtitleLanguage=e.subtitleLanguage:this.sample.subtitleLanguage=void 0,l.validNumber(e.droppedFrames)&&(this.sample.droppedFrames=Math.max(e.droppedFrames-this.droppedSampleFrames,0),this.droppedSampleFrames=e.droppedFrames))},e.prototype.setupSample=function(){return this.droppedSampleFrames=0,i({platform:"web",playerStartupTime:0,pageLoadType:l.getPageLoadType(),path:l.sanitizePath(window.location.pathname),language:navigator.language||navigator.userLanguage,userAgent:navigator.userAgent,screenWidth:screen.width,screenHeight:screen.height,isLive:!1,videoDuration:0,size:a.PlayerSize.Window,time:0,videoWindowWidth:0,videoWindowHeight:0,droppedFrames:0,played:0,buffered:0,paused:0,ad:0,seeked:0,videoPlaybackWidth:0,videoPlaybackHeight:0,videoBitrate:0,audioBitrate:0,videoTimeStart:0,videoTimeEnd:0,videoStartupTime:0,duration:0,startupTime:0,analyticsVersion:d.VERSION,pageLoadTime:0,completedTotal:0},this.getPlayerInformationFromAdapter())},e.prototype.sendAnalyticsRequest=function(){this.setPlaybackInfoFromAdapter(),this.sample.time=l.getCurrentTimestamp(),this.sample.downloadSpeedInfo=this.adapter.downloadSpeedInfo;var e=i({},this.sample);this.backend.sendRequest(e)},e.prototype.sendAnalyticsRequestAndClearValues=function(){this.sendAnalyticsRequest(),this.clearValues()},e.prototype.sendUnloadRequest=function(){this.backend.sendUnloadRequest(this.sample)},e.prototype.sendAnalyticsRequestSynchronous=function(){this.backend.sendRequestSynchronous(this.sample)},e.prototype.clearValues=function(){this.sample.ad=0,this.sample.paused=0,this.sample.played=0,this.sample.seeked=0,this.sample.buffered=0,this.sample.playerStartupTime=0,this.sample.videoStartupTime=0,this.sample.startupTime=0,this.sample.castTech=void 0,this.sample.duration=0,this.sample.droppedFrames=0,this.sample.drmLoadTime=void 0,this.sample.videoStartFailed=void 0,this.sample.videoStartFailedReason=void 0,this.sample.completed=void 0,this.adapter.clearValues()},e.prototype.getIsLiveFromConfigOrPlaybackInfo=function(e,t){return null==t?e.isLive||!1:!!l.validBoolean(t)&&t},e.prototype.getMergedCollectorConfig=function(e,t){void 0===t&&(t=this.config);var n=(t||{}).config;return null!=e&&(n=i(i(i({},n),{enabled:!0}),e.config)),n},e.prototype.getMergedAnalyticsConfig=function(e,t){void 0===t&&(t=this.config);var n=this.getMergedCollectorConfig(e,t);return i(i(i({},t),e),{config:n})},e.prototype.buildDefaultAnalyticsConfigValues=function(e){return l.validBoolean(e.isLive)||(e.isLive=!1),e},e.prototype.checkForErrorsInConfig=function(e){null!=e.customUserId&&null!=e.userId&&u.logger.warning("Configuration Warning: \\nCustomUserId and UserId are set in the config \\nValue of UserId will be used in sample \\nPlease only use one configuartion field to set your userId")},e.prototype.getDomainFromConfig=function(e){var t=e.config;return null!=t&&null!=t.origin?t.origin:void 0},e.prototype.createBackend=function(e){var t=this.getDomain(e);return this.backendFactory.createBackend(e,{key:e.key,domain:t,version:d.VERSION},this.adapter,this.authenticationCallback)},e.prototype.getDomain=function(e){return this.getDomainFromConfig(e)||l.sanitizePath(window.location.hostname)},e.prototype.setCompletionValues=function(){if(this.adapter.videoCompletionTracker){var e=this.adapter.videoCompletionTracker.addWatched({start:this.sample.videoTimeStart,end:this.sample.videoTimeEnd}),t=this.adapter.videoCompletionTracker.getCompletionPercentage();Number.isNaN(e)||Number.isNaN(t)||(this.sample.completed=e,this.sample.completedTotal=t)}},e.prototype.setVideoTimeStart=function(e){this.sample.videoTimeStart=e},e.prototype.setVideoTimeEnd=function(e){this.sample.videoTimeEnd=e},e.prototype.sendQualityChange=function(e,t){var n=this;null==this.resetQualityChangeCountIntervalId&&(this.resetQualityChangeCountIntervalId=window.setInterval(function(){n.adapter.resetQualityChangeCount()},c.ANALYTICS_QUALITY_CHANGE_COUNT_RESET_INTERVAL)),this.adapter.increaseQualityChangeCount(),this.adapter.isQualityChangeEventEnabled()?(this.setDuration(t),this.setState(e),this.sendAnalyticsRequestAndClearValues()):(this.setDuration(t),this.adapter.stateMachineCallbacks.error(i(i({},r.ErrorCode.QUALITY_CHANGE_THRESHOLD_EXCEEDED),{legacyData:void 0,currentTime:void 0,data:{}})))},e.prototype.clearResetQualityChangeInterval=function(){null!=this.resetQualityChangeCountIntervalId&&(window.clearInterval(this.resetQualityChangeCountIntervalId),delete this.resetQualityChangeCountIntervalId)},e.version=d.VERSION,e.LICENSE_CALL_PENDING_TIMEOUT=200,e.PAGE_LOAD_TYPE_TIMEOUT=200,e.CAST_RECEIVER_CONFIG_MESSAGE="CAST_RECEIVER_CONFIG_MESSAGE",e}();t.Analytics=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Adapter=void 0;var i=n(0),r=function(){function e(){}return e.prototype.getCurrentImpressionId=function(){if(this.guardAgainstNotInitializedAnalytics())return this.analytics.getCurrentImpressionId()},e.prototype.getUserId=function(){if(this.guardAgainstNotInitializedAnalytics())return this.analytics.getUserId()},e.prototype.setCustomData=function(e){this.guardAgainstNotInitializedAnalytics()&&this.internalAdapter.setCustomData(e)},e.prototype.setCustomDataOnce=function(e){this.guardAgainstNotInitializedAnalytics()&&this.analytics.setCustomDataOnce(e)},e.prototype.sourceChange=function(e){this.guardAgainstNotInitializedAnalytics()&&this.analytics.sourceChange(e)},e.prototype.hasPlayerAlreadyBeenAugmented=function(e){return e.__bitmovinAnalyticsHasBeenSetup},e.prototype.markPlayerInstanceAsAugmented=function(e){e.__bitmovinAnalyticsHasBeenSetup=!0},e.prototype.guardAgainstNotInitializedAnalytics=function(){return!!this.analytics||(i.logger.log("Bitmovin Analytics: Adapter hasn\'t been initialized yet"),!1)},e}();t.Adapter=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ANALYTICS_MIN_SEEK_DIFFERENCE_THRESHOLD=t.ANALYTICS_REBUFFER_TIMEOUT=t.ANALYTICS_QUALITY_CHANGE_COUNT_RESET_INTERVAL=t.ANALYTICS_QUALITY_CHANGE_COUNT_THRESHOLD=t.ANALYTICS_VIDEOSTART_TIMEOUT=t.ANALYTICS_LICENSECALL_TIMEOUT=t.ANALYTICS_BACKEND_BASE_URL=t.MESSAGE_NAMESPACE=void 0,t.MESSAGE_NAMESPACE="urn:x-cast:com.bitmovin.analytics.cast",t.ANALYTICS_BACKEND_BASE_URL="https://analytics-ingress-global.bitmovin.com",t.ANALYTICS_LICENSECALL_TIMEOUT=6e4,t.ANALYTICS_VIDEOSTART_TIMEOUT=6e4,t.ANALYTICS_QUALITY_CHANGE_COUNT_THRESHOLD=50,t.ANALYTICS_QUALITY_CHANGE_COUNT_RESET_INTERVAL=36e5,\nt.ANALYTICS_REBUFFER_TIMEOUT=12e4,t.ANALYTICS_MIN_SEEK_DIFFERENCE_THRESHOLD=3},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&this._queue.splice(t,1)},e.MAX_URL_LENGTH=200,e.MAX_STRING_LENGTH=400,e}();t.ErrorDetailBackend=_},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t=0:this.current===e},a.can=function(e){return!this.transition&&void 0!==_[e]&&(_[e].hasOwnProperty(this.current)||_[e].hasOwnProperty(i.WILDCARD))},a.cannot=function(e){return!this.can(e)},a.transitions=function(){return(u[this.current]||[]).concat(u[i.WILDCARD]||[])},a.isFinished=function(){return this.is(r)},a.error=e.error||function(e,t,n,i,r,a,o){throw o||a},a.states=function(){return Object.keys(u).sort()},n&&!n.defer&&a[n.event](),a},doCallback:function(e,t,n,r,a,o){if(t)try{return t.apply(e,[n,r,a].concat(o))}catch(t){return e.error(n,r,a,o,i.Error.INVALID_CALLBACK,"an exception occurred in a caller-provided callback function",t)}},beforeAnyEvent:function(e,t,n,r,a){return i.doCallback(e,e.onbeforeevent,t,n,r,a)},afterAnyEvent:function(e,t,n,r,a){return i.doCallback(e,e.onafterevent||e.onevent,t,n,r,a)},leaveAnyState:function(e,t,n,r,a){return i.doCallback(e,e.onleavestate,t,n,r,a)},enterAnyState:function(e,t,n,r,a){return i.doCallback(e,e.onenterstate||e.onstate,t,n,r,a)},changeState:function(e,t,n,r,a){return i.doCallback(e,e.onchangestate,t,n,r,a)},beforeThisEvent:function(e,t,n,r,a){return i.doCallback(e,e["onbefore"+t],t,n,r,a)},afterThisEvent:function(e,t,n,r,a){return i.doCallback(e,e["onafter"+t]||e["on"+t],t,n,r,a)},leaveThisState:function(e,t,n,r,a){return i.doCallback(e,e["onleave"+n],t,n,r,a)},enterThisState:function(e,t,n,r,a){return i.doCallback(e,e["onenter"+r]||e["on"+r],t,n,r,a)},beforeEvent:function(e,t,n,r,a){if(!1===i.beforeThisEvent(e,t,n,r,a)||!1===i.beforeAnyEvent(e,t,n,r,a))return!1},afterEvent:function(e,t,n,r,a){i.afterThisEvent(e,t,n,r,a),i.afterAnyEvent(e,t,n,r,a)},leaveState:function(e,t,n,r,a){var o=i.leaveThisState(e,t,n,r,a),s=i.leaveAnyState(e,t,n,r,a);return!1!==o&&!1!==s&&(i.ASYNC===o||i.ASYNC===s?i.ASYNC:void 0)},enterState:function(e,t,n,r,a){i.enterThisState(e,t,n,r,a),i.enterAnyState(e,t,n,r,a)},buildEvent:function(e,t){return function(){var n=this.current,r=t[n]||(t[i.WILDCARD]!=i.WILDCARD?t[i.WILDCARD]:n)||n,a=Array.prototype.slice.call(arguments);if(this.transition)return this.error(e,n,r,a,i.Error.PENDING_TRANSITION,"event "+e+" inappropriate because previous transition did not complete");if(this.cannot(e))return this.error(e,n,r,a,i.Error.INVALID_TRANSITION,"event "+e+" inappropriate in current state "+this.current);if(!1===i.beforeEvent(this,e,n,r,a))return i.Result.CANCELLED;if(n===r)return i.afterEvent(this,e,n,r,a),i.Result.NOTRANSITION;var o=this;this.transition=function(){return o.transition=null,o.current=r,i.enterState(o,e,n,r,a),i.changeState(o,e,n,r,a),i.afterEvent(o,e,n,r,a),i.Result.SUCCEEDED},this.transition.cancel=function(){o.transition=null,i.afterEvent(o,e,n,r,a)};var s=i.leaveState(this,e,n,r,a);return!1===s?(this.transition=null,i.Result.CANCELLED):i.ASYNC===s?i.Result.PENDING:this.transition?this.transition():void 0}}},e.exports&&(t=e.exports=i),t.StateMachine=i},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0||(this.rebufferingTimeoutHandle=window.setTimeout(function(){e.callEvent(a.Event.ERROR,i(i({},r.ErrorCode.BUFFERING_TIMEOUT_REACHED),{data:{additionalData:"StateMachine timed out after "+e.rebufferTimeoutMs+" ms of consecutive buffering."}}),_.getCurrentTimestamp()),e.stateMachineCallbacks.release()},this.rebufferTimeoutMs))},e.prototype.clearRebufferingTimeoutHandle=function(e){e&&null!=this.rebufferingTimeoutHandle&&(window.clearTimeout(this.rebufferingTimeoutHandle),this.rebufferingTimeoutHandle=void 0)},e.prototype.getVideoStartupFailedEventData=function(e,t,n){return{currentTime:e,reason:this.getReasonForVideoStartFailure(t)}},e.prototype.getReasonForVideoStartFailure=function(e){switch(e){case a.Event.ERROR:return o.VideoStartFailedReason.PLAYER_ERROR;case a.Event.UNLOAD:return o.VideoStartFailedReason.PAGE_CLOSED;case a.Event.VIDEOSTART_TIMEOUT:return o.VideoStartFailedReason.TIMEOUT;default:return o.VideoStartFailedReason.UNKNOWN}},e.prototype.setVideoStartTimeout=function(){var e=this;null!=this.videoStartTimeout&&this.clearVideoStartTimeout(),this.videoStartTimeout=window.setTimeout(function(){e.callEvent(a.Event.VIDEOSTART_TIMEOUT,{},_.getCurrentTimestamp()),e.stateMachineCallbacks.release()},this.videoStartupTimeoutMs)},e.prototype.clearVideoStartTimeout=function(){window.clearTimeout(this.videoStartTimeout),this.videoStartTimeout=void 0},e}();t.AnalyticsStateMachine=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0;return{enabled:r,language:r?i.language:void 0}}}return{enabled:!1}}},t.prototype.initializeStateMachine=function(){this.stateMachine=new o.HTML5AnalyticsStateMachine(this.stateMachineCallbacks,this.opts),this.stateMachine.callEvent(_.Event.SETUP,{},0)},t.prototype.checkSeeking=function(){if(!this.mediaElement)throw new Error("No media attached");var e=this.mediaElement.currentTime,t=Math.abs(e-this.previousMediaTime),n=(f.getCurrentTimestamp()-this.previousClientTime)/1e3;t>2*n&&(this.isSeeking=!0,this.onPaused(this.previousMediaTime+n)),this.previousClientTime=f.getCurrentTimestamp()},t.BUFFERING_TIMECHANGED_TIMEOUT=1e3,t}(n(11).InternalAdapter);t.HTML5InternalAdapter=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="v2.27.2"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.post=void 0;var i=n(0);t.post=function(e,t,n,r){var a;void 0===r&&(r=!0);var o=!1;window.XDomainRequest&&(o=!0),a=o?new window.XDomainRequest:new XMLHttpRequest;var s=function(){if(a.readyState==XMLHttpRequest.DONE){if(a.responseText<=0)return;var e=JSON.parse(a.responseText);n(e)}};o?a.onload=s:a.onreadystatechange=s;try{a.open("POST",e,r),o||a.setRequestHeader("Content-Type","text/plain"),a.send(JSON.stringify(t))}catch(e){i.logger.error("Failed to send POST request.",e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NoOpBackend=void 0;var i=function(){function e(){}return e.prototype.sendRequest=function(e){},e.prototype.sendUnloadRequest=function(e){},e.prototype.sendRequestSynchronous=function(e){},e.prototype.sendAdRequest=function(e){},e}();t.NoOpBackend=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventDispatcher=void 0;var i=function(){function e(){this.callbacks=[]}return e.prototype.subscribe=function(e){var t=this;return this.callbacks.push(e),function(){return t.unsubscribe(e)}},e.prototype.dispatch=function(e){this.callbacks.slice(0).forEach(function(t){t(e)})},e.prototype.unsubscribe=function(e){var t=this.callbacks.indexOf(e);t>-1&&this.callbacks.splice(t,1)},Object.defineProperty(e.prototype,"subscriberCount",{get:function(){return this.callbacks.length},enumerable:!1,configurable:!0}),e}();t.EventDispatcher=i},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Overlapping=1]="Overlapping",e[e.FirstContainedInSecond=2]="FirstContainedInSecond",e[e.SecondContainedInFirst=3]="SecondContainedInFirst"}(i||(i={}));var r=function(){function e(){this.watched=[],this.videoDuration=null}return e.prototype.reset=function(){this.watched=[]},e.prototype.setVideoDuration=function(e){this.videoDuration=1e3*e},e.prototype.addWatched=function(e){if(null==this.videoDuration)throw new Error("no video duration set for completion tracker");this.watched.push(e);var t=this.mergeWatched(this.watched);return(this.getDuration(e)-t)/this.videoDuration},e.prototype.getCompletionPercentage=function(){if(null==this.videoDuration)throw new Error("no video duration set for completion tracker");for(var e=0,t=0,n=this.watched;tt.end?i.Overlapping:this.isMomentInTimespan(e.start,t)&&this.isMomentInTimespan(e.end,t)?i.FirstContainedInSecond:this.isMomentInTimespan(t.start,e)&&this.isMomentInTimespan(t.end,e)?i.SecondContainedInFirst:i.None},e.prototype.isMomentInTimespan=function(e,t){return e>=t.start&&en.end?e.end:n.end,a={start:e.start=t.start?e.start:t.start)},e.prototype.getDuration=function(e){return Math.abs(e.end-e.start)},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customDataFieldCount=t.customDataValuesKeys=void 0,t.customDataValuesKeys=["customData1","customData2","customData3","customData4","customData5","customData6","customData7","customData8","customData9","customData10","customData11","customData12","customData13","customData14","customData15","customData16","customData17","customData18","customData19","customData20","customData21","customData22","customData23","customData24","customData25","customData26","customData27","customData28","customData29","customData30","experimentName"],t.customDataFieldCount=t.customDataValuesKeys.filter(function(e){return e.match("customData\\\\d+")}).length},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventDebugging=void 0;t.EventDebugging=function(e,t,n,i,r){this.event=e,this.from=t,this.to=n,this.timestamp=i,this.eventObject=r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CastTech=void 0,function(e){e.AirPlay="AirPlay",e.WebSocket="WebSocket",e.GoogleCast="GoogleCast"}(t.CastTech||(t.CastTech={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSourceInfoFromBitmovinSourceConfig=void 0,t.getSourceInfoFromBitmovinSourceConfig=function(e,t){if(!e)return{progBitrate:void 0,progUrl:void 0};if("string"==typeof e)return{progBitrate:0,progUrl:e};if(Array.isArray(e)&&e.length>0){var n=t.getPlaybackVideoData(),i=0;return null==n||isNaN(+n.id)||(i=+n.id),{progBitrate:e[i].bitrate||0,progUrl:e[i].url}}return"object"!=typeof e||Array.isArray(e)?{progBitrate:void 0,progUrl:void 0}:{progBitrate:e.bitrate||0,progUrl:e.url}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0\n}),t.DownloadSpeedMeter=void 0;var i=n(58),r=n(59),a=function(){function e(){this.measures=[]}return e.prototype.reset=function(){this.measures=[]},e.prototype.addMeasurement=function(e){if(!(e.httpStatus>=400)){var t=new r.Measure(e),n=i.Converter.bitsToBytes(3e8);t.speed>=n||this.measures.push(t)}},e.prototype.getInfo=function(){return{segmentsDownloadCount:this.measures.length,segmentsDownloadSize:this.measures.map(function(e){return e.size}).reduce(this.add,0),segmentsDownloadTime:Math.ceil(1e3*this.totalTime()),avgDownloadSpeed:this.avgSpeed(),minDownloadSpeed:this.minSpeed(),maxDownloadSpeed:this.maxSpeed(),avgTimeToFirstByte:this.avgTimeToFirstByte()}},e.prototype.add=function(e,t){return e+t},e.prototype.avgSpeed=function(){if(0===this.measures.length)return 0;var e=this.speeds().reduce(function(e,t){return e+t},0),t=this.measures.length;return this.bytePerSecondToBitPerSecond(e/t)},e.prototype.bytePerSecondToBitPerSecond=function(e){return i.Converter.bytesToBits(e)},e.prototype.minSpeed=function(){return 0===this.measures.length?0:this.bytePerSecondToBitPerSecond(Math.min.apply(Math,this.speeds()))},e.prototype.speeds=function(){return this.measures.map(function(e){return e.speed})},e.prototype.maxSpeed=function(){return 0===this.measures.length?0:this.bytePerSecondToBitPerSecond(Math.max.apply(Math,this.speeds()))},e.prototype.totalTime=function(){return 0===this.measures.length?0:this.measures.reduce(function(e,t){return e+t.duration},0)},e.prototype.avgTimeToFirstByte=function(){if(0===this.measures.length)return 0;var e=this.measures.reduce(function(e,t){return e+1e3*t.timeToFirstByte},0)/this.measures.length;return Math.ceil(e)},e}();t.DownloadSpeedMeter=a},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t59700&&(t.stateMachineCallbacks.setVideoTimeEndFromEvent(a),t.stateMachineCallbacks.heartbeat(o,String(n).toLowerCase(),{played:o}),t.onEnterStateTimestamp=r,t.stateMachineCallbacks.setVideoTimeStartFromEvent(a))},onplayerError:function(e,n,i,r,a){t.stateMachineCallbacks.error(a)}}})},t.prototype.callEvent=function(e,t,n){var i=this.stateMachine[e];i?i.call(this.stateMachine,n,t):u.logger.log("Ignored Event: "+e)},t}(l.AnalyticsStateMachine);t.HTML5AnalyticsStateMachine=d},function(e,t,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.getStreamTypeFromMIMEType=void 0;var r=n(9),a=r.MIMETypes.MP4,o=r.MIMETypes.WEBM,s=r.MIMETypes.HLS,_=r.MIMETypes.DASH,u=((i={})[a]="progressive",i[o]="progressive",i[s]="hls",i[_]="dash",i);t.getStreamTypeFromMIMEType=function(e){return u[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adapters=t.HTMLVideoElementAdapter=t.DashjsAdapter=t.ShakaAdapter=t.CAFv3Adapter=t.VideojsAdapter=t.Bitmovin7Adapter=t.Bitmovin8Adapter=t.HlsAdapter=t.version=t.PlayerModule=t.CdnProviders=t.Players=void 0;var i=n(29);Object.defineProperty(t,"Bitmovin7Adapter",{enumerable:!0,get:function(){return i.Bitmovin7Adapter}});var r=n(55);Object.defineProperty(t,"Bitmovin8Adapter",{enumerable:!0,get:function(){return r.Bitmovin8Adapter}});var a=n(69);Object.defineProperty(t,"CAFv3Adapter",{enumerable:!0,get:function(){return a.CAFv3Adapter}});var o=n(71);Object.defineProperty(t,"DashjsAdapter",{enumerable:!0,get:function(){return o.DashjsAdapter}});var s=n(73);Object.defineProperty(t,"HlsAdapter",{enumerable:!0,get:function(){return s.HlsAdapter}});var _=n(76);Object.defineProperty(t,"HTMLVideoElementAdapter",{enumerable:!0,get:function(){return _.HTMLVideoElementAdapter}});var u=n(78);Object.defineProperty(t,"ShakaAdapter",{enumerable:!0,get:function(){return u.ShakaAdapter}});var c=n(80);Object.defineProperty(t,"VideojsAdapter",{enumerable:!0,get:function(){return c.VideojsAdapter}});var l=n(85);Object.defineProperty(t,"CdnProviders",{enumerable:!0,get:function(){return l.CdnProvider}});var d=n(3);Object.defineProperty(t,"Players",{enumerable:!0,get:function(){return d.Player}});var f=n(16);Object.defineProperty(t,"version",{enumerable:!0,get:function(){return f.VERSION}});var h={name:"analytics",module:{Analytics:r.Bitmovin8Adapter},hooks:{setup:function(e,t){var n=t.getConfig();if(!n||!1===n.analytics)return Promise.resolve();var i=new(0,e.Analytics)(t);return Promise.resolve(i)}}};t.PlayerModule=h;var p={HlsAdapter:s.HlsAdapter,Bitmovin8Adapter:r.Bitmovin8Adapter,Bitmovin7Adapter:i.Bitmovin7Adapter,VideojsAdapter:c.VideojsAdapter,ShakaAdapter:u.ShakaAdapter,DashjsAdapter:o.DashjsAdapter,CAFv3Adapter:a.CAFv3Adapter,HTMLVideoElementAdapter:_.HTMLVideoElementAdapter};t.adapters=p,t.default={PlayerModule:h}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin7Adapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(49),u=function(e){function t(t,n){var i=e.call(this)||this;return i.augment(t,n),i}return r(t,e),t.prototype.augment=function(e,t){if(this.hasPlayerAlreadyBeenAugmented(e))o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance");else{this.markPlayerInstanceAsAugmented(e);var n=this,i=e.setup;e.setup=function(){var r=i.apply(e,arguments);if(0===arguments.length)return r;var s=arguments[0].analytics;return s?(n.internalAdapter=new _.Bitmovin7InternalAdapter(e,t),n.analytics=new a.Analytics(s,n.internalAdapter),e.analytics=n.analytics,n.wrapPlayerLoad(e,n.analytics),r):(o.logger.error("Bitmovin Analytics: No analytics config provided!"),r)}}},t.prototype.wrapPlayerLoad=function(e,t){var n=e.load;e.load=function(){if(arguments.length>0){var i=arguments[0].analytics;t.sourceChange(i)}return n.apply(e,arguments)}},t}(s.Adapter);t.Bitmovin7Adapter=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureManager=void 0;var i=n(0),r=function(){function e(){this.features=[]}return e.prototype.registerFeatures=function(e){this.features=e},e.prototype.unregisterFeatures=function(){this.features.forEach(function(e){return e.disable()}),this.features=[]},e.prototype.resetFeatures=function(){this.features.forEach(function(e){return e.reset()})},e.prototype.configureFeatures=function(e,t){this.features=this.features.filter(function(n){var r=n.configure(e,t);return!(!e||!0!==(null==r?void 0:r.enabled))||(i.logger.log("Disabling feature "+n.constructor.name+" as it isn\'t enabled according to license callback."),n.disable(),!1)}),this.features.forEach(function(e){return e.enabled()})},e}();t.FeatureManager=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodecHelper=void 0;var i={avc:[\'video/mp4; codecs="avc1.42000a"\'],vp9:[\'video/mp4; codecs="vp09.00.50.08"\'],av1:[\'video/mp4; codecs="av01.0.08M.08"\'],hevc:[\'video/mp4; codecs="hev1.1.6.L93.B0"\']},r=function(){function e(){}return Object.defineProperty(e,"supportedVideoFormats",{get:function(){var e=this;if("MediaSource"in window)return Object.getOwnPropertyNames(i).filter(function(t){return i[t].some(function(t){return e.isCodecSupported(t)})})},enumerable:!1,configurable:!0}),e.isCodecSupported=function(e){return"MediaSource"in window&&MediaSource.isTypeSupported(e)},e}();t.CodecHelper=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAGE_LOAD_TYPE=void 0,function(e){e[e.FOREGROUND=1]="FOREGROUND",e[e.BACKGROUND=2]="BACKGROUND"}(t.PAGE_LOAD_TYPE||(t.PAGE_LOAD_TYPE={}))},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&n.adapter.isLinearAdActive()&&(n.currentTime=u.calculateTime(Math.max(n.adapter.currentTime(),0)))}catch(e){_.logger.log("AdStarted monitoring interval failed and got cleared",e),n.resetActiveAd()}},e.TIMEOUT_CURRENT_TIME_INTERVAL)},e.prototype.completeAd=function(e,t,n){void 0===t&&(t=new s.AdSample),t.exitPosition=n,t.playPercentage=u.calculatePercentage(t.exitPosition,t.adDuration),this.adStartupTimestamp=u.getCurrentTimestamp(),this.updatePlayingTime(t),this.isPlaying=!1,this.sendAnalyticsRequest(e,t)},e.prototype.resetActiveAd=function(){this.clearCurrentTimeInterval(),this.activeAdSample=void 0},e.prototype.clearCurrentTimeInterval=function(){window.clearInterval(this.currentTimeInterval),delete this.currentTime},e.MODULE_NAME="ads",e.TIMEOUT_CURRENT_TIME_INTERVAL=100,e}();t.AdAnalytics=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdAnalyticsSample=void 0;var i=n(1);t.AdAnalyticsSample=function(e){this.platform="web",e&&(this.videoImpressionId=e.impressionId,this.userAgent=e.userAgent,this.language=e.language,this.cdnProvider=e.cdnProvider,i.transferCustomDataFields(e,this),this.customUserId=e.customUserId,this.domain=e.domain,this.experimentName=e.experimentName,this.key=e.key,this.path=e.path,this.player=e.player,this.playerKey=e.playerKey,this.playerTech=e.playerTech,this.screenHeight=e.screenHeight,this.screenWidth=e.screenWidth,this.version=e.version,this.size=e.size,this.userId=e.userId,this.videoId=e.videoId,this.videoTitle=e.videoTitle,this.videoWindowHeight=e.videoWindowHeight,this.videoWindowWidth=e.videoWindowWidth,this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdBreakSample=void 0;var i=n(1);t.AdBreakSample=function(e,t){this.adFallbackIndex=0,t&&(this.manifestDownloadTime=i.calculateTime(t.downloadTiming.downloadTime)),e&&(this.adReplaceContentDuration=i.calculateTimeWithUndefined(e.replaceContentDuration),this.adFallbackIndex=(e.currentFallbackIndex||-1)+1);var n=e;n&&("pre"===n.position||"post"===n.position?this.adPosition=n.position:(this.adPosition="mid",this.adOffset=n.position),this.adPreloadOffset=i.calculateTimeWithUndefined(n.preloadOffset));var r=e;if(r){this.adIsPersistent=r.persistent;var a=r.tag;if(this.adFallbackIndex>0&&r.fallbackTags&&r.fallbackTags.length>=this.adFallbackIndex&&(a=r.fallbackTags[this.adFallbackIndex-1]),a&&(this.adTagType=a.type,this.adTagUrl=a.url),this.adTagUrl){var o=i.getHostnameAndPathFromUrl(this.adTagUrl);this.adTagServer=o.hostname,this.adTagPath=o.path}}var s=e;s&&(this.adScheduleTime=i.calculateTimeWithUndefined(s.scheduleTime),this.adIdPlayer=s.id)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdSample=void 0;var i=n(1),r=function(){function e(t){if(this.clicked=0,this.closed=0,this.completed=0,this.midpoint=0,this.quartile1=0,this.quartile3=0,this.skipped=0,this.started=0,t){this.adClickthroughUrl=t.clickThroughUrl,this.adId=t.id,this.mediaUrl=t.mediaFileUrl;var n=i.getHostnameAndPathFromUrl(this.mediaUrl||"");this.mediaPath=n.path,this.mediaServer=n.hostname,this.isLinear=t.isLinear,this.adPlaybackHeight=t.height,this.adPlaybackWidth=t.width,t.data&&(this.videoBitrate=void 0===t.data.bitrate?void 0:1e3*t.data.bitrate,this.streamFormat=t.data.mimeType);var r=t.data;r&&(r.adSystem&&(this.adSystem=r.adSystem.name),r.advertiser&&(this.advertiserName=r.advertiser.name),this.apiFramework=r.apiFramework,r.creative&&(this.creativeAdId=r.creative.adId,this.creativeId=r.creative.id,r.creative.universalAdId&&(this.universalAdIdRegistry=r.creative.universalAdId.idRegistry,this.universalAdIdValue=r.creative.universalAdId.value)),this.adDescription=r.adDescription,this.minSuggestedDuration=i.calculateTimeWithUndefined(r.minSuggestedDuration),r.survey&&(this.surveyUrl=r.survey.uri),this.adTitle=r.adTitle,this.wrapperAdsCount=r.wrapperAdIds?r.wrapperAdIds.length:0)}var a=t;a&&(this.adSkippableAfter=e.parseSkipAfter(a.skippableAfter),this.adSkippable=a.skippable||(void 0===this.adSkippableAfter?void 0:this.adSkippableAfter>=0),this.adDuration=i.calculateTime(a.duration))}return e.parseSkipAfter=function(e){if(void 0!==e)return-1===e?e:i.calculateTime(e)},e}();t.AdSample=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportTracker=void 0;var i=n(0),r=n(1),a=function(){function e(e,t,n){var a=this;void 0===n&&(n=1),this.inViewport=void 0,this.threshold=n,this.onIntersectionChanged=t,this.element=e;try{var o={root:null,rootMargin:"0px",threshold:n};this.observer=new IntersectionObserver(function(e,t){return a.handleIntersect(e,t)},o),this.observer.observe(e)}catch(e){i.logger.log("Couldn\'t create instance of IntersectionObserver. timeInViewport will always be reported as 100%.")}this.hidden=r.getHiddenProp(),this.hidden&&(this.visibilityChange=this.hidden.replace("hidden","")+"visibilitychange",document.addEventListener(this.visibilityChange,this.handleVisibilityChange=this.handleVisibilityChange.bind(this),!1))}return e.prototype.isHidden=function(){return this.hidden&&document[this.hidden]},e.prototype.isInViewport=function(){return!this.isHidden()&&(null==this.inViewport||this.inViewport)},e.prototype.dispose=function(){this.observer&&(this.observer.unobserve(this.element),this.observer.disconnect()),this.visibilityChange&&document.removeEventListener(this.visibilityChange,this.handleVisibilityChange,!1)},e.prototype.handleVisibilityChange=function(){this.onIntersectionChanged()},e.prototype.handleIntersect=function(e,t){var n=this;e.forEach(function(e){e.target===n.element&&(n.inViewport=!(e.intersectionRatio=9e4},e}();t.LongPlaytimeFilteringBackend=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceNumberBackend=void 0;var i=function(){function e(e){this.sequenceNumber=0,this.underlying=e}return e.prototype.sendRequest=function(e){this.updateSampleBeforeSending(e),this.underlying.sendRequest(e)},e.prototype.sendUnloadRequest=function(e){this.updateSampleBeforeSending(e),this.underlying.sendUnloadRequest(e)},e.prototype.sendRequestSynchronous=function(e){this.updateSampleBeforeSending(e),this.underlying.sendRequestSynchronous(e)},e.prototype.sendAdRequest=function(e){this.underlying.sendAdRequest(e)},e.prototype.updateSampleBeforeSending=function(e){e.sequenceNumber=this.sequenceNumber++},e}();t.SequenceNumberBackend=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionPersistenceHandler=t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME=void 0;var i=n(1);t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME="bitmovin_analytics_uuid";var r=function(){function e(e){var t=e.config;this.cookiesEnabled=null==t||!1!==t.cookiesEnabled,null!=t&&null!=t.cookiesDomain?this.cookiesDomain=t.cookiesDomain:this.cookiesDomain=null,this.cookiesEnabled||this.ensureNoCookiePresent(),this.userId=this.setupUserId()}return e.prototype.setupUserId=function(){var e=i.getCookie(t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME);return i.isNullOrEmptyString(e)&&(e=this.createAndSetNewUserId()),e},e.prototype.createAndSetNewUserId=function(){var e=i.generateUUID();return this.writeCookie(e),e},e.prototype.ensureNoCookiePresent=function(){var e=i.getCookie(t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME);if(!i.isNullOrEmptyString(e)){var n=t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";document.cookie=n}},e.prototype.writeCookie=function(e){if(this.cookiesEnabled){var n=t.BITMOVIN_ANALYTICS_UUID_COOKIE_NAME+"="+e+\'; path=/; expires="Mon, 31 Dec 2029 23:00:00 GMT"; max-age=315400000\';null!=this.cookiesDomain&&(n+="; domain="+this.cookiesDomain),document.cookie=n}},e}();t.SessionPersistenceHandler=r},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)return n.stateMachine.PLAY_SEEK(a),!1}return e===_.Event.SEEK&&window.clearTimeout(n.seekedTimeout),e===_.Event.SEEKED&&i===o.PAUSED_SEEKING?(n.seekedTimestamp=a,n.seekEnded=!0,n.seekedTimeout=window.setTimeout(function(){n.stateMachine.pause(a,s)},t.SEEKED_PAUSE_DELAY),!1):(i!==o.REBUFFERING||r!==o.QUALITYCHANGE_REBUFFERING)&&void 0},onafterevent:function(e,t,i,r){i===o.QUALITYCHANGE_PAUSE&&n.stateMachine.FINISH_QUALITYCHANGE_PAUSE(r),i===o.QUALITYCHANGE&&n.stateMachine.FINISH_QUALITYCHANGE(r),i===o.QUALITYCHANGE_REBUFFERING&&n.stateMachine.FINISH_QUALITYCHANGE_REBUFFERING(r),i!==o.MUTING_READY&&i!==o.MUTING_PLAY&&i!==o.MUTING_PAUSE||n.stateMachine.FINISH_MUTING(r)},onenterstate:function(t,i,r,a,s){"none"===i&&e.starttime?n.onEnterStateTimestamp=e.starttime:n.onEnterStateTimestamp=a||(new Date).getTime(),c.logger.log("[ENTER] "+c.padRight(r,20)+"EVENT: "+c.padRight(t,20)+" from "+c.padRight(i,14)),s&&r!==o.PAUSED_SEEKING&&r!==o.PLAY_SEEKING&&r!==o.END_PLAY_SEEKING&&n.stateMachineCallbacks.setVideoTimeStartFromEvent(s),t===_.Event.START_CAST&&r===o.CASTING&&n.stateMachineCallbacks.startCasting(a,s),r===o.REBUFFERING&&n.startRebufferingHeartbeatInterval()},onleavestate:function(e,t,i,r,a){if(t===o.REBUFFERING&&n.resetRebufferingHelpers(),r){n.addStatesToLog(e,t,i,r,a);var s=r-n.onEnterStateTimestamp;if(a&&i!==o.PAUSED_SEEKING&&i!==o.PLAY_SEEKING&&i!==o.END_PLAY_SEEKING&&n.stateMachineCallbacks.setVideoTimeEndFromEvent(a),"PLAY_SEEK"===e&&t===o.PAUSE)return!0;var u=String(t).toLowerCase();if(t===o.END_PLAY_SEEKING||t===o.PAUSED_SEEKING){var l=n.seekedTimestamp-n.seekTimestamp;n.seekStarted&&n.seekEnded&&i!==o.PLAY_SEEKING&&(n.seekEnded=n.seekStarted=!1,n.stateMachineCallbacks[u](l,u,a))}else if(e===_.Event.UNLOAD)n.stateMachineCallbacks.unload(s,u);else if(t===o.PAUSE&&i!==o.PAUSED_SEEKING)n.stateMachineCallbacks.setVideoTimeStartFromEvent(e),n.stateMachineCallbacks.pause(s,u);else{var d=n.stateMachineCallbacks[u];"function"==typeof d?d(s,u,a):c.logger.error("Could not find callback function for "+u)}a&&i!==o.PAUSED_SEEKING&&i!==o.PLAY_SEEKING&&i!==o.END_PLAY_SEEKING&&n.stateMachineCallbacks.setVideoTimeStartFromEvent(a),e===_.Event.VIDEO_CHANGE?n.stateMachineCallbacks.videoChange(a):e===_.Event.AUDIO_CHANGE?n.stateMachineCallbacks.audioChange(a):e===_.Event.MUTE?n.stateMachineCallbacks.mute():e===_.Event.UN_MUTE?n.stateMachineCallbacks.unMute():e===_.Event.MANUAL_SOURCE_CHANGE&&n.stateMachineCallbacks.manualSourceChange(a)}},onseek:function(e,t,i,r){n.seekStarted||(n.seekTimestamp=r,n.seekStarted=!0)},onseeked:function(e,t,i,r){n.seekedTimestamp=r,n.seekEnded=!0},ontimechanged:function(e,t,i,r,a){var o=r-n.onEnterStateTimestamp;o>59700&&(n.stateMachineCallbacks.setVideoTimeEndFromEvent(a),n.stateMachineCallbacks.heartbeat(o,String(t).toLowerCase(),{played:o}),n.onEnterStateTimestamp=r,n.stateMachineCallbacks.setVideoTimeStartFromEvent(a))},onplayerError:function(e,t,i,r,a){n.stateMachineCallbacks.error(a)}}})},t.prototype.callEvent=function(e,t,n){var i=this.stateMachine[e];if(i)try{i.call(this.stateMachine,n,t)}catch(n){c.logger.error("Exception occured in State Machine callback "+e,i,t,n)}else c.logger.log("Ignored Event: "+e)},t.prototype.addStatesToLog=function(e,t,n,i,r){this.enabledDebugging&&this.debuggingStates.push(new u.EventDebugging(e,t,n,i,r))},t.prototype.getStates=function(){return this.debuggingStates},t.prototype.setEnabledDebugging=function(e){this.enabledDebugging=e},t.PAUSE_SEEK_DELAY=200,t.SEEKED_PAUSE_DELAY=300,t}(l.AnalyticsStateMachine);t.Bitmovin7AnalyticsStateMachine=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoStartFailedReason=void 0;var i=n(12),r=function(){function e(e,t){this.reason=e,this.errorCode=t}return e.PAGE_CLOSED=new e("PAGE_CLOSED",null),e.PLAYER_ERROR=new e("PLAYER_ERROR",null),e.TIMEOUT=new e("TIMEOUT",i.ErrorCode.VIDEO_STARTUP_TIMEOUT_REACHED),e.UNKNOWN=new e("UNKNOWN",null),e}();t.VideoStartFailedReason=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Feature=void 0;var i=function(){function e(){this._config=void 0,this._isEnabled=!0}return Object.defineProperty(e.prototype,"config",{get:function(){return this._config},enumerable:!1,configurable:!0}),\nObject.defineProperty(e.prototype,"isEnabled",{get:function(){return this._isEnabled},enumerable:!1,configurable:!0}),e.prototype.disable=function(){this._isEnabled=!1,this.disabled()},e.prototype.configure=function(e,t){return null!=t&&(this._config=this.extractConfig(t)),this.configured(e,this._config),this._config},e}();t.Feature=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultStateMachineCallbacks=void 0,t.defaultStateMachineCallbacks={setup:function(e,t){},startup:function(e,t){},playing:function(e,t){},heartbeat:function(e,t,n){},qualitychange:function(e,t){},qualitychange_pause:function(e,t){},qualitychange_rebuffering:function(e,t){},videoChange:function(e){},audioChange:function(e){},audiotrack_changing:function(){},pause:function(e,t){},paused_seeking:function(e,t){},end_play_seeking:function(e,t){},rebuffering:function(e,t){},error:function(e){},end:function(e,t){},unload:function(e,t){},ad:function(e,t){},mute:function(){},unMute:function(){},subtitle_changing:function(){},setVideoTimeEndFromEvent:function(e){},setVideoTimeStartFromEvent:function(e){},videoStartFailed:function(e,t){},source_changing:function(e,t,n){},ready:function(e,t,n){},startCasting:function(e,t){},casting:function(e,t){},manualSourceChange:function(e){},initialSourceChange:function(e){},muting_ready:function(e,t,n){},customdatachange:function(e,t,n){},release:function(){},playlistTransition:function(e){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WindowEventTracker=void 0;var i=function(){function e(){this.trackedObjects=[]}return e.prototype.addEventListener=function(e,t){this.trackedObjects.push({eventName:e,func:t}),window.addEventListener(e,t)},e.prototype.release=function(){for(;0!==this.trackedObjects.length;){var e=this.trackedObjects.pop();void 0!==e&&window.removeEventListener(e.eventName,e.func)}},e}();t.WindowEventTracker=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8Adapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(56),u=function(e){function t(t,n){var i=e.call(this)||this;if(i.hasPlayerAlreadyBeenAugmented(t))return o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance"),i;i.markPlayerInstanceAsAugmented(t);var r=t.getConfig(),s=r.analytics;return void 0===s&&(s={}),s.playerKey=s.playerKey||r.key,i.internalAdapter=new _.Bitmovin8InternalAdapter(t,n),i.analytics=new a.Analytics(s,i.internalAdapter),t.analytics=i.analytics,i.wrapPlayerLoad(t,i.analytics),i}return r(t,e),t.prototype.wrapPlayerLoad=function(e,t){var n=e.load;e.load=function(){for(var i=[],r=0;r0){var a=i[0].analytics;t.sourceChange(a)}return n.apply(e,i)}},t}(s.Adapter);t.Bitmovin8Adapter=u},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;ny.ANALYTICS_MIN_SEEK_DIFFERENCE_THRESHOLD},t}(C.InternalAdapter);t.Bitmovin8InternalAdapter=I},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8AnalyticsStateMachine=void 0;var a,o=n(13),s=n(2),_=n(22),u=n(0),c=n(1),l=n(14);!function(e){e.SETUP="SETUP",e.STARTUP="STARTUP",e.READY="READY",e.PLAYING="PLAYING",e.REBUFFERING="REBUFFERING",e.PAUSE="PAUSE",e.QUALITYCHANGE="QUALITYCHANGE",e.PLAY_SEEKING="PLAY_SEEKING",e.END_PLAY_SEEKING="END_PLAY_SEEKING",e.QUALITYCHANGE_PAUSE="QUALITYCHANGE_PAUSE",e.QUALITYCHANGE_REBUFFERING="QUALITYCHANGE_REBUFFERING",e.END="END",e.ERROR="ERROR",e.AD_STARTUP="AD_STARTUP",e.AD_READY="AD_READY",e.AD_PAUSE="AD_PAUSE",e.AD_PLAYING="AD_PLAYING",e.MUTING_READY="MUTING_READY",e.MUTING_PLAY="MUTING_PLAY",e.MUTING_PAUSE="MUTING_PAUSE",e.CASTING="CASTING",e.SOURCE_CHANGING="SOURCE_CHANGING",e.INITIAL_SOURCE_CHANGE="INITIAL_SOURCE_CHANGE",e.SOURCE_LOADED="SOURCE_LOADED",e.SUBTITLE_CHANGING="SUBTITLE_CHANGING",e.AUDIOTRACK_CHANGING="AUDIOTRACK_CHANGING",e.EXIT_BEFORE_VIDEOSTART="EXIT_BEFORE_VIDEOSTART",e.CUSTOMDATACHANGE="CUSTOMDATACHANGE"}(a||(a={}));var d=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.debuggingStates=[],i.enabledDebugging=!1,i.sourceChange=function(e,t,n){i.callEvent(s.Event.MANUAL_SOURCE_CHANGE,{config:e,currentTime:n},t)},i.seekTimestamp=0,i.seekedTimestamp=0,i.seekStarted=!1,i.seekEnded=!1,i}return r(t,e),t.prototype.getAllStatesBut=function(e){return this.getAllStates().filter(function(t){return e.indexOf(t)<0})},t.prototype.getAllStates=function(){return Object.keys(a).map(function(e){return a[e]})},t.prototype.createStateMachine=function(e){var t=this;return o.create({initial:a.SETUP,error:function(e,t,n,i,r,a){u.logger.error("Error in statemachine: "+a)},events:[{name:s.Event.SOURCE_LOADED,from:[a.SETUP,a.ERROR,a.SOURCE_CHANGING,a.INITIAL_SOURCE_CHANGE],to:a.READY},{name:s.Event.PLAY,from:a.READY,to:a.STARTUP},{name:s.Event.PLAYING,from:a.READY,to:a.PLAYING},{name:s.Event.READY,from:a.READY,to:a.READY},{name:s.Event.VIDEO_CHANGE,from:a.READY,to:a.READY},{name:s.Event.AUDIO_CHANGE,from:a.READY,to:a.READY},{name:s.Event.ERROR,from:[a.STARTUP,a.AD_STARTUP],to:a.EXIT_BEFORE_VIDEOSTART},{name:s.Event.UNLOAD,from:[a.STARTUP,a.AD_STARTUP],to:a.EXIT_BEFORE_VIDEOSTART},{name:s.Event.VIDEOSTART_TIMEOUT,from:a.STARTUP,to:a.EXIT_BEFORE_VIDEOSTART},{name:s.Event.PLAY,from:a.STARTUP,to:a.STARTUP},{name:s.Event.PLAYING,from:a.STARTUP,to:a.STARTUP},{name:s.Event.TIMECHANGED,from:a.STARTUP,to:a.PLAYING},{name:s.Event.START_BUFFERING,from:a.STARTUP,to:a.STARTUP},{name:s.Event.END_BUFFERING,from:a.STARTUP,to:a.STARTUP},{name:s.Event.VIDEO_CHANGE,from:a.STARTUP,to:a.STARTUP},{name:s.Event.AUDIO_CHANGE,from:a.STARTUP,to:a.STARTUP},{name:s.Event.READY,from:a.STARTUP,to:a.STARTUP},{name:s.Event.PLAYING,from:a.PLAYING,to:a.PLAYING},{name:s.Event.TIMECHANGED,from:a.PLAYING,to:a.PLAYING},{name:s.Event.END_BUFFERING,from:a.PLAYING,to:a.PLAYING},{name:s.Event.START_BUFFERING,from:a.PLAYING,to:a.REBUFFERING},{name:s.Event.END_BUFFERING,from:a.REBUFFERING,to:a.PLAYING},{name:s.Event.TIMECHANGED,from:a.REBUFFERING,to:a.REBUFFERING},{name:s.Event.PAUSE,from:a.PLAYING,to:a.PAUSE},{name:s.Event.PAUSE,from:a.REBUFFERING,to:a.PAUSE},{name:s.Event.PLAY,from:a.PAUSE,to:a.PLAYING},{name:s.Event.VIDEO_CHANGE,from:a.PLAYING,to:a.QUALITYCHANGE},{name:s.Event.AUDIO_CHANGE,from:a.PLAYING,to:a.QUALITYCHANGE},{name:s.Event.VIDEO_CHANGE,from:a.QUALITYCHANGE,to:a.QUALITYCHANGE},{name:s.Event.AUDIO_CHANGE,from:a.QUALITYCHANGE,to:a.QUALITYCHANGE},{name:"FINISH_QUALITYCHANGE",from:a.QUALITYCHANGE,to:a.PLAYING},{name:s.Event.VIDEO_CHANGE,from:a.PAUSE,to:a.QUALITYCHANGE_PAUSE},{name:s.Event.AUDIO_CHANGE,from:a.PAUSE,to:a.QUALITYCHANGE_PAUSE},{name:s.Event.VIDEO_CHANGE,from:a.QUALITYCHANGE_PAUSE,to:a.QUALITYCHANGE_PAUSE},{name:s.Event.AUDIO_CHANGE,from:a.QUALITYCHANGE_PAUSE,to:a.QUALITYCHANGE_PAUSE},{name:"FINISH_QUALITYCHANGE_PAUSE",from:a.QUALITYCHANGE_PAUSE,to:a.PAUSE},{name:s.Event.SEEK,from:a.PLAYING,to:a.PLAY_SEEKING},{name:s.Event.PLAY,from:a.PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.PLAYING,from:a.PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.SEEKED,from:a.PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.SEEK,from:a.END_PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.PLAYING,from:a.END_PLAY_SEEKING,to:a.PLAYING},{name:s.Event.TIMECHANGED,from:a.END_PLAY_SEEKING,to:a.PLAYING},{name:s.Event.SEEK,from:a.PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.AUDIO_CHANGE,from:a.PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.VIDEO_CHANGE,from:a.PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.START_BUFFERING,from:a.PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.END_BUFFERING,from:a.PLAY_SEEKING,to:a.PLAY_SEEKING},{name:s.Event.START_BUFFERING,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.END_BUFFERING,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.SEEKED,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.PLAY,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.SEEK,from:a.PAUSE,to:a.PAUSE},{name:s.Event.SEEKED,from:a.PAUSE,to:a.PAUSE},{name:s.Event.SEEKED,from:a.PLAYING,to:a.PLAYING},{name:s.Event.END,from:a.PLAY_SEEKING,to:a.END},{name:s.Event.END,from:a.PLAYING,to:a.END},{name:s.Event.END,from:a.PAUSE,to:a.END},{name:s.Event.SEEK,from:a.END,to:a.END},{name:s.Event.SEEKED,from:a.END,to:a.END},{name:s.Event.TIMECHANGED,from:a.END,to:a.END},{name:s.Event.END_BUFFERING,from:a.END,to:a.END},{name:s.Event.START_BUFFERING,from:a.END,to:a.END},{name:s.Event.END,from:a.END,to:a.END},{name:s.Event.PLAY,from:a.END,to:a.STARTUP},{name:s.Event.ERROR,from:this.getAllStatesBut([a.STARTUP]),to:a.ERROR},{name:s.Event.UNLOAD,from:this.getAllStatesBut([a.STARTUP,a.AD_STARTUP]),to:a.END},{name:s.Event.CUSTOM_DATA_CHANGE,from:[a.PLAYING,a.PAUSE],to:a.CUSTOMDATACHANGE},{name:s.Event.PLAYING,from:a.CUSTOMDATACHANGE,to:a.PLAYING},{name:s.Event.PAUSE,from:a.CUSTOMDATACHANGE,to:a.PAUSE},{name:s.Event.SUBTITLE_CHANGE,from:a.PLAYING,to:a.SUBTITLE_CHANGING},{name:s.Event.SUBTITLE_CHANGE,from:a.PAUSE,to:a.PAUSE},{name:s.Event.SUBTITLE_CHANGE,from:a.REBUFFERING,to:a.REBUFFERING},{name:s.Event.SUBTITLE_CHANGE,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.SUBTITLE_CHANGE,from:a.SUBTITLE_CHANGING,to:a.SUBTITLE_CHANGING},{name:s.Event.TIMECHANGED,from:a.SUBTITLE_CHANGING,to:a.PLAYING},{name:s.Event.AUDIOTRACK_CHANGED,from:a.PLAYING,to:a.AUDIOTRACK_CHANGING},{name:s.Event.AUDIOTRACK_CHANGED,from:a.PAUSE,to:a.PAUSE},{name:s.Event.AUDIOTRACK_CHANGED,from:a.REBUFFERING,to:a.REBUFFERING},{name:s.Event.AUDIOTRACK_CHANGED,from:a.END_PLAY_SEEKING,to:a.END_PLAY_SEEKING},{name:s.Event.AUDIOTRACK_CHANGED,from:a.AUDIOTRACK_CHANGING,to:a.AUDIOTRACK_CHANGING},{name:s.Event.TIMECHANGED,from:a.AUDIOTRACK_CHANGING,to:a.PLAYING},{name:s.Event.START_AD,from:a.STARTUP,to:a.AD_STARTUP},{name:s.Event.END_AD,from:a.AD_STARTUP,to:a.STARTUP},{name:s.Event.PLAY,from:a.AD_STARTUP,to:a.AD_STARTUP},{name:s.Event.PAUSE,from:a.AD_STARTUP,to:a.AD_STARTUP},{name:s.Event.START_AD,from:a.READY,to:a.AD_READY},{name:s.Event.END_AD,from:a.AD_READY,to:a.STARTUP},{name:s.Event.PLAY,from:a.AD_READY,to:a.AD_READY},{name:s.Event.PAUSE,from:a.AD_READY,to:a.AD_READY},{name:s.Event.START_AD,from:a.PAUSE,to:a.AD_PAUSE},{name:s.Event.END_AD,from:a.AD_PAUSE,to:a.PAUSE},{name:s.Event.PLAY,from:a.AD_PAUSE,to:a.AD_PAUSE},{name:s.Event.PAUSE,from:a.AD_PAUSE,to:a.AD_PAUSE},{name:s.Event.START_AD,from:a.PLAYING,to:a.AD_PLAYING},{name:s.Event.END_AD,from:a.AD_PLAYING,to:a.PLAYING},{name:s.Event.PLAY,from:a.AD_PLAYING,to:a.AD_PLAYING},{name:s.Event.PAUSE,from:a.AD_PLAYING,to:a.AD_PLAYING},{name:s.Event.END,from:a.AD_PLAYING,to:a.END},{name:s.Event.TIMECHANGED,from:a.AD_STARTUP,to:a.AD_STARTUP},{name:s.Event.TIMECHANGED,from:a.AD_READY,to:a.AD_READY},{name:s.Event.TIMECHANGED,from:a.AD_PAUSE,to:a.AD_PAUSE},{name:s.Event.TIMECHANGED,from:a.AD_PLAYING,to:a.AD_PLAYING},{name:s.Event.END_AD,from:a.PLAYING,to:a.PLAYING},{name:s.Event.END_AD,from:a.PAUSE,to:a.PAUSE},{name:s.Event.END_AD,from:a.READY,to:a.READY},{name:s.Event.END_AD,from:a.STARTUP,to:a.STARTUP},{name:s.Event.MUTE,from:a.READY,to:a.MUTING_READY},{name:s.Event.UN_MUTE,from:a.READY,to:a.MUTING_READY},{name:"FINISH_MUTING",from:a.MUTING_READY,to:a.READY},{name:s.Event.MUTE,from:a.PLAYING,to:a.MUTING_PLAY},{name:s.Event.UN_MUTE,from:a.PLAYING,to:a.MUTING_PLAY},{name:"FINISH_MUTING",from:a.MUTING_PLAY,to:a.PLAYING},{name:s.Event.MUTE,from:a.PAUSE,to:a.MUTING_PAUSE},{name:s.Event.UN_MUTE,from:a.PAUSE,to:a.MUTING_PAUSE},{name:"FINISH_MUTING",from:a.MUTING_PAUSE,to:a.PAUSE},{name:s.Event.START_CAST,from:[a.READY,a.PAUSE,a.PLAYING],to:a.CASTING},{name:s.Event.PAUSE,from:a.CASTING,to:a.CASTING},{name:s.Event.PLAY,from:a.CASTING,to:a.CASTING},{name:s.Event.PLAYING,from:a.CASTING,to:a.CASTING},{name:s.Event.TIMECHANGED,from:a.CASTING,to:a.CASTING},{name:s.Event.MUTE,from:a.CASTING,to:a.CASTING},{name:s.Event.UN_MUTE,from:a.CASTING,to:a.CASTING},{name:s.Event.SEEK,from:a.CASTING,to:a.CASTING},{name:s.Event.SEEKED,from:a.CASTING,to:a.CASTING},{name:s.Event.END_CAST,from:a.CASTING,to:a.READY},{name:s.Event.SEEK,from:a.READY,to:a.READY},{name:s.Event.SEEKED,from:a.READY,to:a.READY},{name:s.Event.SEEKED,from:a.STARTUP,to:a.STARTUP},{name:s.Event.MANUAL_SOURCE_CHANGE,from:this.getAllStatesBut([a.SETUP]),to:a.SOURCE_CHANGING},{name:s.Event.MANUAL_SOURCE_CHANGE,from:a.SETUP,to:a.INITIAL_SOURCE_CHANGE},{name:s.Event.SOURCE_UNLOADED,from:this.getAllStates(),to:a.SOURCE_CHANGING},{name:s.Event.VIDEO_CHANGE,from:a.REBUFFERING,to:a.QUALITYCHANGE_REBUFFERING},{name:s.Event.AUDIO_CHANGE,from:a.REBUFFERING,to:a.QUALITYCHANGE_REBUFFERING},{name:s.Event.VIDEO_CHANGE,from:a.QUALITYCHANGE_REBUFFERING,to:a.QUALITYCHANGE_REBUFFERING},{name:s.Event.AUDIO_CHANGE,from:a.QUALITYCHANGE_REBUFFERING,to:a.QUALITYCHANGE_REBUFFERING},{name:"FINISH_QUALITYCHANGE_REBUFFERING",from:a.QUALITYCHANGE_REBUFFERING,to:a.REBUFFERING}],callbacks:{onbeforeevent:function(e,t,n,i,r){if(t===a.REBUFFERING&&n===a.QUALITYCHANGE_REBUFFERING)return!1},onafterevent:function(e,n,i,r,o){e===s.Event.MANUAL_SOURCE_CHANGE&&n===a.SETUP?t.stateMachineCallbacks.initialSourceChange(o):e===s.Event.MANUAL_SOURCE_CHANGE&&t.stateMachineCallbacks.manualSourceChange(o),i===a.QUALITYCHANGE_PAUSE&&t.stateMachine.FINISH_QUALITYCHANGE_PAUSE(r),i===a.QUALITYCHANGE&&t.stateMachine.FINISH_QUALITYCHANGE(r),i===a.QUALITYCHANGE_REBUFFERING&&t.stateMachine.FINISH_QUALITYCHANGE_REBUFFERING(r),i!==a.MUTING_READY&&i!==a.MUTING_PLAY&&i!==a.MUTING_PAUSE||t.stateMachine.FINISH_MUTING(r)},onenterstate:function(n,i,r,o,_){"none"===i&&e.starttime?t.onEnterStateTimestamp=e.starttime:t.onEnterStateTimestamp=o||(new Date).getTime(),u.logger.log("[ENTER "+o+"] "+u.padRight(r,20)+" EVENT: "+u.padRight(n,20)+" from: "+u.padRight(i,14)),!_||r===a.END_PLAY_SEEKING||i===a.PLAY_SEEKING||i===a.AD_STARTUP||i===a.AD_READY||i===a.AD_PLAYING||i===a.AD_PAUSE||n===s.Event.SEEK&&i===a.END_PLAY_SEEKING||t.stateMachineCallbacks.setVideoTimeStartFromEvent(_),n===s.Event.START_CAST&&r===a.CASTING&&t.stateMachineCallbacks.startCasting(o,_),r===a.REBUFFERING&&t.startRebufferingHeartbeatInterval()},onleavestate:function(e,n,i,r,o){if(n===a.REBUFFERING&&t.resetRebufferingHelpers(),r){u.logger.log("[LEAVE "+r+"] "+u.padRight(n,20)+" EVENT: "+u.padRight(e,20)+" to: "+u.padRight(i,20)),t.addStatesToLog(e,n,i,r,o);var _=r-t.onEnterStateTimestamp;o&&i!==a.END_PLAY_SEEKING&&t.stateMachineCallbacks.setVideoTimeEndFromEvent(o),o&&e!==s.Event.END_AD&&(t.lastTrackedVideoEndObject=o),n!==a.READY&&n!==a.AD_STARTUP||i!==a.STARTUP?n!==a.STARTUP||i!==a.PLAYING&&i!==a.AD_STARTUP||t.clearVideoStartTimeout():t.setVideoStartTimeout();var l=String(n).toLowerCase();if(i===a.EXIT_BEFORE_VIDEOSTART){t.clearVideoStartTimeout();var d=t.getVideoStartupFailedEventData(r,e,o),f=e!==s.Event.ERROR;t.stateMachineCallbacks.videoStartFailed(d,f)}else if(n===a.END_PLAY_SEEKING){var h=t.seekedTimestamp-t.seekTimestamp;t.seekStarted&&t.seekEnded&&e!==s.Event.SEEK&&(t.seekStarted=t.seekEnded=!1,t.stateMachineCallbacks.end_play_seeking(h,l))}else if(e===s.Event.UNLOAD)t.stateMachineCallbacks.unload(_,l);else if(n===a.AD_PAUSE||n===a.AD_READY||n===a.AD_PLAYING||n===a.AD_STARTUP)t.stateMachineCallbacks.setVideoTimeStartFromEvent(t.lastTrackedVideoEndObject),t.stateMachineCallbacks.setVideoTimeEndFromEvent(t.lastTrackedVideoEndObject),t.stateMachineCallbacks.ad(_,"ad");else if(e===s.Event.START_AD&&n===a.STARTUP)c.noOp();else if(e===s.Event.SOURCE_LOADED&&n===a.INITIAL_SOURCE_CHANGE)c.noOp();else if(n!==a.ERROR){var p=t.stateMachineCallbacks[l];if("function"==typeof p)try{p(_,l,o)}catch(e){u.logger.error("Exception occured in State Machine callback "+l,o,e)}else u.logger.error("Could not find callback function for "+l)}o&&i!==a.END_PLAY_SEEKING&&n!==a.PLAY_SEEKING&&i!==a.PLAY_SEEKING&&n!==a.AD_STARTUP&&n!==a.AD_READY&&n!==a.AD_PLAYING&&n!==a.AD_PAUSE&&t.stateMachineCallbacks.setVideoTimeStartFromEvent(o),e===s.Event.VIDEO_CHANGE?t.stateMachineCallbacks.videoChange(o):e===s.Event.AUDIO_CHANGE?t.stateMachineCallbacks.audioChange(o):e===s.Event.MUTE?t.stateMachineCallbacks.mute():e===s.Event.UN_MUTE&&t.stateMachineCallbacks.unMute()}},onseek:function(e,n,i,r){t.seekStarted||(t.seekTimestamp=r,t.seekStarted=!0)},onseeked:function(e,n,i,r){t.seekedTimestamp=r,t.seekEnded=!0},ontimechanged:function(e,n,i,r,a){if("PLAYING"===t.stateMachine.current){var o=r-t.onEnterStateTimestamp;o>59700&&(t.stateMachineCallbacks.setVideoTimeEndFromEvent(a),t.stateMachineCallbacks.heartbeat(o,String(n).toLowerCase(),{played:o}),t.onEnterStateTimestamp=r,t.stateMachineCallbacks.setVideoTimeStartFromEvent(a))}},onplayerError:function(e,n,i,r,a){t.stateMachineCallbacks.error(a)}}})},t.prototype.callEvent=function(e,t,n){var i=this.stateMachine[e];if(i)try{i.call(this.stateMachine,n,t)}catch(n){u.logger.error("Exception occured in State Machine callback "+e,i,t,n)}else u.logger.log("Ignored Event: "+e)},t.prototype.addStatesToLog=function(e,t,n,i,r){this.enabledDebugging&&this.debuggingStates.push(new _.EventDebugging(e,t,n,i,r))},t.prototype.getStates=function(){return this.debuggingStates},t.prototype.setEnabledDebugging=function(e){this.enabledDebugging=e},t}(l.AnalyticsStateMachine);t.Bitmovin8AnalyticsStateMachine=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Converter=void 0;var i=n(1),r=function(){function e(){}return e.bytesToBits=function(e){return 8*e},e.bitsToBytes=function(e){return Math.round(e/8)},e.bytesToKiloBytes=function(e){return i.calculateTime(1e3*e)},e.kiloBytesToMegaBytes=function(e){return 1e3*e},e}();t.Converter=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Measure=void 0;var i=function(){function e(e){this.download=e}return Object.defineProperty(e.prototype,"speed",{get:function(){return this.download.size/this.download.duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){return this.download.duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this.download.size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timeToFirstByte",{get:function(){return this.download.timeToFirstByte},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"timestamp",{get:function(){return this.download.timestamp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpStatus",{get:function(){return this.download.httpStatus},enumerable:!1,configurable:!0}),e}();t.Measure=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentTracker=void 0;var i=function(){function e(){this.segments=[]}return e.prototype.reset=function(){this.segments=[]},e.prototype.addSegment=function(e){this.segments.push(e)},e.prototype.removeSegment=function(e){this.segments=this.segments.filter(function(t){return t.url!==e})},e.prototype.getSegments=function(){return this.segments},e}();t.SegmentTracker=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequestTracking=void 0;var i=n(0),r=n(62),a=function(){function e(t){var n=this;this.subscribables=t,this._maxRequests=e.DEFAULT_MAX_REQUESTS,this._httpRequestQueue=new r.Queue,this.onDownloadFinishedHandler=function(e){try{i.logger.log("HttpRequestTracking.onDownloadFinished: "+JSON.stringify(e.httpRequest)),n.addRequest(e.httpRequest)}catch(e){i.logger.error("HttpRequestTracking.onDownloadFinished: Error in handler",e)}},t.forEach(function(e){return e.subscribe(n.onDownloadFinishedHandler)})}return Object.defineProperty(e.prototype,"maxRequests",{get:function(){return this._maxRequests},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"httpRequests",{get:function(){return this._httpRequestQueue.items},enumerable:!1,configurable:!0}),e.prototype.configure=function(e){this._maxRequests=e,this._httpRequestQueue.limit(e)},e.prototype.disable=function(){var e=this;this.subscribables.forEach(function(t){return t.unsubscribe(e.onDownloadFinishedHandler)}),this._httpRequestQueue.clear()},e.prototype.reset=function(){this._httpRequestQueue.clear()},e.prototype.addRequest=function(e){this._httpRequestQueue.offer(e),\nthis._httpRequestQueue.limit(this._maxRequests)},e.DEFAULT_MAX_REQUESTS=10,e}();t.HttpRequestTracking=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Queue=void 0;var i=function(){function e(){this._items=[]}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._items.length},enumerable:!1,configurable:!0}),e.prototype.offer=function(e){this._items.push(e)},e.prototype.poll=function(){return this._items.shift()},e.prototype.clear=function(){this._items.splice(0)},e.prototype.limit=function(e){for(;this._items.length>e;)this.poll()},e}();t.Queue=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8AdModule=void 0;var i=n(64),r=function(){function e(e,t){var n=this;this.player=e,this.windowEventTracker=t,this.adCallbacks=new i.AdCallbacks,this.isLinearAdActive=function(){return n.player.ads&&n.player.ads.isLinearAdActive()||!1},this.getContainer=function(){return n.player.getContainer()},this.getAdModuleInfo=function(){return n.player.ads?n.player.ads.getModuleInfo():{name:void 0,version:void 0}},this.currentTime=function(){return n.player.getCurrentTime()},this.register()}return e.prototype.register=function(){var e=this;this.player.on(this.player.exports.PlayerEvent.Play,function(t){"advertising-api"===t.issuer&&e.adCallbacks.onPlay(t.issuer)}),this.player.on(this.player.exports.PlayerEvent.Paused,function(t){"advertising-api"===t.issuer&&e.adCallbacks.onPause(t.issuer)}),this.player.on(this.player.exports.PlayerEvent.AdStarted,function(t){e.adCallbacks.onAdStarted(t)}),this.player.on(this.player.exports.PlayerEvent.AdFinished,function(t){e.adCallbacks.onAdFinished(t)}),this.player.on(this.player.exports.PlayerEvent.AdBreakStarted,function(t){e.adCallbacks.onAdBreakStarted(t)}),this.player.on(this.player.exports.PlayerEvent.AdBreakFinished,function(t){e.adCallbacks.onAdBreakFinished(t)}),this.player.on(this.player.exports.PlayerEvent.AdClicked,function(t){e.adCallbacks.onAdClicked(t)}),this.player.on(this.player.exports.PlayerEvent.AdQuartile,function(t){e.adCallbacks.onAdQuartile(t)}),this.player.on(this.player.exports.PlayerEvent.AdSkipped,function(t){e.adCallbacks.onAdSkipped(t)}),this.player.on(this.player.exports.PlayerEvent.AdError,function(t){e.adCallbacks.onAdError(t)}),this.player.on(this.player.exports.PlayerEvent.AdManifestLoaded,function(t){e.adCallbacks.onAdManifestLoaded(t)});var t=function(){e.adCallbacks.onBeforeUnload()};this.windowEventTracker.addEventListener("beforeunload",t),this.windowEventTracker.addEventListener("unload",t)},e}();t.Bitmovin8AdModule=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdCallbacks=void 0;t.AdCallbacks=function(){this.onAdStarted=function(e){},this.onAdFinished=function(e){},this.onAdBreakStarted=function(e){},this.onAdBreakFinished=function(e){},this.onAdClicked=function(e){},this.onAdError=function(e){},this.onAdManifestLoaded=function(e){},this.onAdQuartile=function(e){},this.onAdSkipped=function(e){},this.onPlay=function(e){},this.onPause=function(e){},this.onBeforeUnload=function(){}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8HttpRequestTrackingAdapter=void 0;var i=n(19),r=n(66),a=n(1),o=function(){function e(e){var t=this;this.eventDispatcher=new i.EventDispatcher,this.playerExports=e.exports,e.on(this.playerExports.PlayerEvent.DownloadFinished,function(e){return t.onDownloadFinished(e)})}return e.prototype.subscribe=function(e){return this.eventDispatcher.subscribe(e)},e.prototype.unsubscribe=function(e){this.eventDispatcher.unsubscribe(e)},e.prototype.onDownloadFinished=function(e){var t,n,i;this.eventDispatcher.dispatch({httpRequest:{downloadTime:null!==(t=a.calculateTimeWithUndefined(null==e?void 0:e.downloadTime))&&void 0!==t?t:0,httpStatus:null!==(n=null==e?void 0:e.httpStatus)&&void 0!==n?n:0,success:null!==(i=null==e?void 0:e.success)&&void 0!==i&&i,timestamp:a.getCurrentTimestamp(),url:null==e?void 0:e.url,size:null==e?void 0:e.size,timeToFirstByte:a.calculateTimeWithUndefined(null==e?void 0:e.timeToFirstByte),type:this.mapHttpRequestType(null==e?void 0:e.downloadType)}})},e.prototype.mapHttpRequestType=function(e){switch(e){case this.playerExports.HttpRequestType.MANIFEST_DASH:return r.HttpRequestType.MANIFEST_DASH;case this.playerExports.HttpRequestType.MANIFEST_HLS_MASTER:return r.HttpRequestType.MANIFEST_HLS_MASTER;case this.playerExports.HttpRequestType.MANIFEST_HLS_VARIANT:return r.HttpRequestType.MANIFEST_HLS_VARIANT;case this.playerExports.HttpRequestType.MANIFEST_SMOOTH:return r.HttpRequestType.MANIFEST_SMOOTH;case this.playerExports.HttpRequestType.MANIFEST_ADS:return r.HttpRequestType.MANIFEST_ADS;case this.playerExports.HttpRequestType.MEDIA_AUDIO:return r.HttpRequestType.MEDIA_AUDIO;case this.playerExports.HttpRequestType.MEDIA_VIDEO:return r.HttpRequestType.MEDIA_VIDEO;case this.playerExports.HttpRequestType.MEDIA_SUBTITLES:return r.HttpRequestType.MEDIA_SUBTITLES;case this.playerExports.HttpRequestType.MEDIA_THUMBNAILS:return r.HttpRequestType.MEDIA_THUMBNAILS;case this.playerExports.HttpRequestType.DRM_LICENSE_WIDEVINE:return r.HttpRequestType.DRM_LICENSE_WIDEVINE;case this.playerExports.HttpRequestType.DRM_LICENSE_PLAYREADY:return r.HttpRequestType.DRM_LICENSE_PLAYREADY;case this.playerExports.HttpRequestType.DRM_LICENSE_FAIRPLAY:return r.HttpRequestType.DRM_LICENSE_FAIRPLAY;case this.playerExports.HttpRequestType.DRM_LICENSE_PRIMETIME:return r.HttpRequestType.DRM_LICENSE_PRIMETIME;case this.playerExports.HttpRequestType.DRM_LICENSE_CLEARKEY:return r.HttpRequestType.DRM_LICENSE_CLEARKEY;case this.playerExports.HttpRequestType.DRM_CERTIFICATE_FAIRPLAY:return r.HttpRequestType.DRM_CERTIFICATE_FAIRPLAY;case this.playerExports.HttpRequestType.KEY_HLS_AES:return r.HttpRequestType.KEY_HLS_AES;case this.playerExports.HttpRequestType.TIME_SYNC:return r.HttpRequestType.TIME_SYNC;default:return r.HttpRequestType.UNKNOWN}},e}();t.Bitmovin8HttpRequestTrackingAdapter=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequestType=void 0,function(e){e.DRM_LICENSE_WIDEVINE="DRM_LICENSE_WIDEVINE",e.DRM_OTHER="DRM_OTHER",e.MEDIA_THUMBNAILS="MEDIA_THUMBNAILS",e.MEDIA_VIDEO="MEDIA_VIDEO",e.MEDIA_AUDIO="MEDIA_AUDIO",e.MEDIA_PROGRESSIVE="MEDIA_PROGRESSIVE",e.MEDIA_SUBTITLES="MEDIA_SUBTITLES",e.MANIFEST_DASH="MANIFEST_DASH",e.MANIFEST_HLS="MANIFEST_HLS",e.MANIFEST_HLS_MASTER="MANIFEST_HLS_MASTER",e.MANIFEST_HLS_VARIANT="DRM_LICENSMANIFEST_HLS_VARIANTE_WIDEVINE",e.MANIFEST_SMOOTH="MANIFEST_SMOOTH",e.MANIFEST="MANIFEST",e.KEY_HLS_AES="KEY_HLS_AES",e.UNKNOWN="UNKNOWN",e.TIME_SYNC="TIME_SYNC",e.DRM_CERTIFICATE_FAIRPLAY="DRM_CERTIFICATE_FAIRPLAY",e.DRM_LICENSE_CLEARKEY="DRM_LICENSE_CLEARKEY",e.DRM_LICENSE_PRIMETIME="DRM_LICENSE_PRIMETIME",e.DRM_LICENSE_FAIRPLAY="DRM_LICENSE_FAIRPLAY",e.DRM_LICENSE_PLAYREADY="DRM_LICENSE_PLAYREADY",e.MANIFEST_ADS="MANIFEST_ADS"}(t.HttpRequestType||(t.HttpRequestType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8SegmentTrackerAdapter=void 0;var i=n(1),r=function(){function e(e,t){var n=this;this.handleSegmentPlaybackEvent=function(e){n.segmentTracker.removeSegment(e.url)},this.segmentTracker=t,e.on(e.exports.PlayerEvent.DownloadFinished,function(e){return n.handleOnDownloadFinishEvent(e)}),e.on(e.exports.PlayerEvent.SegmentPlayback,function(e){return n.handleSegmentPlaybackEvent(e)})}return e.prototype.getSegmentTracker=function(){return this.segmentTracker},e.prototype.handleOnDownloadFinishEvent=function(e){if(0===e.downloadType.indexOf("media/video")){var t=e.url,n={name:i.getURLResourceName(t),url:t,timestamp:e.timestamp};this.segmentTracker.addSegment(n)}},e}();t.Bitmovin8SegmentTrackerAdapter=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Bitmovin8SpeedMeterAdapter=void 0;var i=function(){function e(e,t){var n=this;this.meter=t,e.on(e.exports.PlayerEvent.DownloadFinished,function(e){return n.handleOnDownloadFinishEvent(e)})}return e.prototype.getDownloadSpeedMeter=function(){return this.meter},e.prototype.handleOnDownloadFinishEvent=function(e){e.success&&0===e.downloadType.indexOf("media/video")&&this.meter.addMeasurement({duration:e.downloadTime,size:e.size,timeToFirstByte:e.timeToFirstByte,timestamp:new Date,httpStatus:e.httpStatus})},e}();t.Bitmovin8SpeedMeterAdapter=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CAFv3Adapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(70),u=function(e){function t(t,n,i){var r=e.call(this)||this;return r.hasPlayerAlreadyBeenAugmented(n)?(o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance"),r):(r.markPlayerInstanceAsAugmented(n),r.internalAdapter=new _.CAFv3InternalAdapter(n,i),r.analytics=new a.Analytics(t,r.internalAdapter),r)}return r(t,e),t}(s.Adapter);t.CAFv3Adapter=u},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CAFv3InternalAdapter=void 0;var a=n(26),o=n(2),s=n(3),_=n(7),u=n(8),c=function(e){function t(t,n){var i=e.call(this,n)||this;return i.context=t,i.getPlayerName=function(){return s.Player.CHROMECAST_SHAKA},i.getPlayerTech=function(){return"html5"},i.getAutoPlay=function(){return!(!i.currentItem||!i.currentItem.autoplay)&&i.currentItem.autoplay},i.getDrmPerformanceInfo=function(){return i.drmPerformanceInfo},i.stateMachine=new a.HTML5AnalyticsStateMachine(i.stateMachineCallbacks,i.opts),i.playerManager=t.getPlayerManager(),i.isSeeking=!1,i}return r(t,e),t.prototype.initialize=function(e){return this.register(),[new u.ErrorDetailTracking(e.errorDetailTrackingSettingsProvider,new _.ErrorDetailBackend(e.errorDetailTrackingSettingsProvider.collectorConfig),[e.errorDetailSubscribable],void 0)]},t.prototype.getPlayerVersion=function(){return window.cast&&window.cast.framework?window.cast.framework.VERSION:"unknown"},t.prototype.sourceChange=function(e,t){this.stateMachine.sourceChange(e,t,this.playerManager.getCurrentTimeSec())},t.prototype.getCurrentPlaybackInfo=function(){var e=this.playerManager.getStats();return{isLive:this.mediaInformation?"LIVE"===this.mediaInformation.streamType:void 0,playerTech:this.getPlayerTech(),videoDuration:this.mediaInformation?this.mediaInformation.duration:void 0,videoPlaybackHeight:e.height,videoPlaybackWidth:e.width,audioCodec:this.activeAudioTrack?this.activeAudioTrack.trackContentType:void 0,audioLanguage:this.activeAudioTrack?this.activeAudioTrack.language:void 0,subtitleLanguage:this.activeTextTracks?this.activeTextTracks.map(function(e){return e.language}).join(","):void 0,droppedFrames:0}},t.prototype.register=function(){var e=this;this.playerManager.addEventListener("PLAYER_LOADING",function(t){e.eventCallback(o.Event.SETUP,{})}),this.playerManager.addEventListener("PLAYER_LOAD_COMPLETE",function(t){var n=e.playerManager.getAudioTracksManager();e.activeAudioTrack=n.getActiveTrack();var i=e.playerManager.getTextTracksManager();e.activeTextTracks=i.getActiveTracks();var r=e.playerManager.getQueueManager();e.currentItem=r.getCurrentItem(),e.mediaInformation=t.media,e.eventCallback(o.Event.READY,{})}),this.playerManager.addEventListener("PLAY",function(t){e.eventCallback(o.Event.PLAY,{currentTime:t.currentMediaTime})}),this.playerManager.addEventListener("PAUSE",function(t){e.onPaused(e.playerManager.getCurrentTimeSec())}),this.playerManager.addEventListener("ERROR",function(t){var n=null!=t.error?t.error:void 0;e.eventCallback(o.Event.ERROR,{currentTime:e.playerManager.getCurrentTimeSec(),code:t.detailedErrorCode,message:t.reason,legacyData:n,data:{additionalData:JSON.stringify(n)}})}),this.playerManager.addEventListener("SEEKING",function(t){e.isSeeking=!0,e.onPaused(t.currentMediaTime),e.eventCallback(o.Event.SEEK,{currentTime:t.currentMediaTime})}),this.playerManager.addEventListener("SEEKED",function(t){e.isSeeking=!1,e.eventCallback(o.Event.SEEKED,{currentTime:t.currentMediaTime})}),this.playerManager.addEventListener("STALLED",function(e){}),this.playerManager.addEventListener("BUFFERING",function(t){!e.isSeeking&&t.isBuffering&&e.eventCallback(o.Event.START_BUFFERING,{currentTime:e.currentTime})}),this.playerManager.addEventListener("TIME_UPDATE",function(t){e.isSeeking||e.eventCallback(o.Event.TIMECHANGED,{currentTime:t.currentMediaTime})}),this.playerManager.addEventListener("REQUEST_LOAD",function(t){e.currentItem&&e.eventCallback(o.Event.PLAYLIST_TRANSITION,{currentTime:e.playerManager.getCurrentTimeSec()})})},t.prototype.onPaused=function(e){this.eventCallback(o.Event.PAUSE,{currentTime:e})},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.playerManager.getCurrentTimeSec()},enumerable:!1,configurable:!0}),t}(n(11).InternalAdapter);t.CAFv3InternalAdapter=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.DashjsAdapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(72),u=function(e){function t(t,n,i){var r=e.call(this)||this;return r.hasPlayerAlreadyBeenAugmented(n)?(o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance"),r):(r.markPlayerInstanceAsAugmented(n),r.internalAdapter=new _.DashjsInternalAdapter(n,i),r.analytics=new a.Analytics(t,r.internalAdapter),r)}return r(t,e),t}(s.Adapter);t.DashjsAdapter=u},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.DashjsInternalAdapter=void 0;var a=n(2),o=n(9),s=n(3),_=n(7),u=n(8),c=function(e){function t(t,n){var i=e.call(this,null,n)||this;return i.mediaPlayer=t,i.getPlayerName=function(){return s.Player.DASHJS},i.getPlayerVersion=function(){return i.mediaPlayer.getVersion()},i}return r(t,e),t.prototype.initialize=function(t){var n=this;e.prototype.initialize.call(this,t);var i=null,r=!1;try{i=this.mediaPlayer.getVideoElement()}catch(e){}return i?(this.setMediaElement(i),this.registerMediaElementEventsForDashJS()):this.mediaPlayer.on("canPlay",function(){r||(i=n.mediaPlayer.getVideoElement(),r=!0,n.setMediaElement(i),n.registerMediaElementEventsForDashJS())},this),[new u.ErrorDetailTracking(t.errorDetailTrackingSettingsProvider,new _.ErrorDetailBackend(t.errorDetailTrackingSettingsProvider.collectorConfig),[t.errorDetailSubscribable],void 0)]},t.prototype.registerMediaElementEventsForDashJS=function(){var e=this,t=this.mediaElement;t&&this.listenToMediaElementEvent("playing",function(){var n=t.currentTime;e.needsFirstPlayIntent=!1,e.eventCallback(a.Event.TIMECHANGED,{currentTime:n})})},t.prototype.getMIMEType=function(){return o.MIMETypes.DASH},t.prototype.getStreamURL=function(){if(this.mediaPlayer){var e=this.mediaPlayer.getSource();return e?e.toString():void 0}},t.prototype.getCurrentQualityLevelInfo=function(){if(!this.mediaPlayer)return null;var e=this.mediaPlayer.getBitrateInfoListFor("video")[this.mediaPlayer.getQualityFor("video")];return null==e?null:{width:e.width,height:e.height,bitrate:e.bitrate}},t}(n(15).HTML5InternalAdapter);t.DashjsInternalAdapter=c},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.HlsAdapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(74),u=function(e){function t(t,n,i){var r=e.call(this)||this;return r.hasPlayerAlreadyBeenAugmented(n)?(o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance"),r):(r.markPlayerInstanceAsAugmented(n),r.internalAdapter=new _.HlsInternalAdapter(n,i),r.analytics=new a.Analytics(t,r.internalAdapter),r)}return r(t,e),t}(s.Adapter);t.HlsAdapter=u},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&!0===this.hls.subtitleDisplay;return{enabled:e,language:e?this.hls.subtitleTracks[this.hls.subtitleTrack].lang:void 0}}var t=this.hls.subtitleTrackController;if(null!=t&&null!=t.media)return this.getSelectedSubtitleFromMediaElement(t.media)},t}(n(15).HTML5InternalAdapter);t.HlsInternalAdapter=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HlsSpeedMeterAdapter=void 0;var i=function(){function e(e,t){var n=this;this.meter=t,e.on(e.constructor.Events.FRAG_LOADED,function(e,t){return n.handleFragmentLoadedEvent(t)})}return e.prototype.getDownloadSpeedMeter=function(){return this.meter},e.prototype.handleFragmentLoadedEvent=function(e){"main"===e.frag.type&&this.meter.addMeasurement({duration:(e.stats.tload-e.stats.trequest)/1e3,size:e.stats.total,timeToFirstByte:(e.stats.tfirst-e.stats.trequest)/1e3,timestamp:new Date,httpStatus:e.networkDetails.status})},e}();t.HlsSpeedMeterAdapter=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLVideoElementAdapter=void 0;var a=n(4),o=n(0),s=n(5),_=n(77),u=function(e){function t(t,n,i){var r=e.call(this)||this;return r.hasPlayerAlreadyBeenAugmented(n)?(o.logger.errorMessageToUser("Bitmovin Analytics is already hooked up to this player instance"),r):(r.markPlayerInstanceAsAugmented(n),r.internalAdapter=new _.HTMLVideoElementInternalAdapter(n,i),r.analytics=new a.Analytics(t,r.internalAdapter),r)}return r(t,e),t}(s.Adapter);t.HTMLVideoElementAdapter=u},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLVideoElementInternalAdapter=void 0;var a=n(3),o=n(1),s=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.getPlayerName=function(){return a.Player.HTML5},i.getPlayerVersion=function(){var e=o.getBrowserInfo();return e.name+" "+e.version},i}return r(t,e),t.prototype.getStreamURL=function(){return this.mediaElement?this.mediaElement.currentSrc:void 0},t.prototype.getCurrentQualityLevelInfo=function(){return{bitrate:void 0,width:this.mediaElement?this.mediaElement.videoWidth:void 0,height:this.mediaElement?this.mediaElement.videoHeight:void 0}},t}(n(15).HTML5InternalAdapter);t.HTMLVideoElementInternalAdapter=s},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=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(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(r,a){function o(e){try{_(i.next(e))}catch(e){a(e)}}function s(e){try{_(i.throw(e))}catch(e){a(e)}}function _(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}_((i=i.apply(e,t||[])).next())})},o=this&&this.__generator||function(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]59700&&(t.stateMachineCallbacks.setVideoTimeEndFromEvent(a),t.stateMachineCallbacks.heartbeat(o,String(n).toLowerCase(),{played:o}),t.onEnterStateTimestamp=r,t.stateMachineCallbacks.setVideoTimeStartFromEvent(a))},onplayerError:function(e,n,i,r,a){t.stateMachineCallbacks.error(a)}}})},t.prototype.callEvent=function(e,t,n){var i=this.stateMachine[e];i?i.call(this.stateMachine,n,t):u.logger.log("Ignored Event: "+e)},t}(c.AnalyticsStateMachine);t.VideojsAnalyticsStateMachine=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAudioCodec=t.isVideoCodec=void 0;var i=["avc1","avc3","hvc1","av01","av1","hev1","vp9"],r=["mp4a","ec-3","ac-3","opus","audio/mp4"];t.isVideoCodec=function(e){return!!e&&-1!==i.findIndex(function(t){return e.startsWith(t)})},t.isAudioCodec=function(e){return!!e&&-1!==r.findIndex(function(t){return e.startsWith(t)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDifferentSubtitleInfo=void 0,t.isDifferentSubtitleInfo=function(e,t){return!(null==e&&null==t||null!=e&&null!=t&&e.enabled===t.enabled&&e.language===t.language)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CdnProvider=void 0,function(e){e.CLOUDFLARE="cloudflare",e.AKAMAI="akamai",e.FASTLY="fastly",e.MAXCDN="maxcdn",e.CLOUDFRONT="cloudfront",e.CHINACACHE="chinacache",e.BITGRAVITY="bitgravity"}(t.CdnProvider||(t.CdnProvider={}))}])},e.exports=t()},68546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(78474);t.default=i.default.PlayerModule}},function(e){return e(e.s=68546)}])},322:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[147],{26090:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n>3,t},t.ISOBox.prototype._readUint=function(e){var t=null;switch(e){case 8:t=this._raw.getUint8(this._cursor.offset-this._raw.byteOffset);break;case 16:t=this._raw.getUint16(this._cursor.offset-this._raw.byteOffset);break;case 24:t=(this._raw.getUint16(this._cursor.offset-this._raw.byteOffset)<<8)+this._raw.getUint8(this._cursor.offset-this._raw.byteOffset+2);break;case 32:t=this._raw.getUint32(this._cursor.offset-this._raw.byteOffset);break;case 64:t=this._readUint64()}return this._cursor.offset+=e>>3,t},t.ISOBox.prototype._readUintArray=function(e,t){for(var n=new Array(t),i=0;i>>4).toString(16)),t.push((15&i).toString(16))}return t.join("")},t.ISOBox.prototype._readUUID=function(){return this._readUintArray(8,16)},t.ISOBox.prototype._readTerminatedString=function(){for(var e="";;){var t=this._readUint(8);if(0==t)break;e+=String.fromCharCode(t)}return e},t.ISOBox.prototype._readTemplate=function(e){return this._readUint(e/2)+this._readUint(e/2)/Math.pow(2,e/2)},t.ISOBox.prototype._parseBox=function(){if(this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)this._root._incomplete=!0;else{switch(this.size=this._readUint(32),this.type=this._readString(4),1===this.size&&(this.largesize=this._readUint(64)),"uuid"===this.type&&(this.usertype=this._readUUID()),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}!this._incomplete&&this._boxParsers[this.type]&&this._boxParsers[this.type].call(this)}},t.ISOBox.prototype._parseFullBox=function(){this.version=this._readUint(8),this.flags=this._readUint(24)},t.ISOBox.prototype._createDataView=function(){return new DataView(this._raw.buffer,this._cursor.offset,this._raw.byteLength-(this._cursor.offset-this._offset))},t.ISOBox.prototype._boxParsers={},o(["moov","trak","tref","mdia","minf","stbl","edts","dinf","sinf","mvex","moof","traf","mfra","udta","meco","strk","vttc","schi"],function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset>15,this.language=String.fromCharCode(96+(e>>10&31),96+(e>>5&31),96+(31&e)),this.pre_defined=this._readUint(16)},t.ISOBox.prototype._boxParsers.mfhd=function(){this._parseFullBox(),this.sequence_number=this._readUint(32)},t.ISOBox.prototype._boxParsers.mvhd=function(){this._parseFullBox(),1===this.version?(this.creation_time=this._readUint(64),this.modification_time=this._readUint(64),this.timescale=this._readUint(32),this.duration=this._readUint(64)):(this.creation_time=this._readUint(32),this.modification_time=this._readUint(32),this.timescale=this._readUint(32),this.duration=this._readUint(32)),this.rate=this._readTemplate(32),this.volume=this._readTemplate(16),this.reserved1=this._readUint(16),this.reserved2=[this._readUint(32),this._readUint(32)],this.matrix=[];for(var e=0;e<9;e++)this.matrix.push(this._readTemplate(32));for(this.pre_defined=[],e=0;e<6;e++)this.pre_defined.push(this._readUint(32));this.next_track_ID=this._readUint(32)},t.ISOBox.prototype._boxParsers.sidx=function(){this._parseFullBox(),this.reference_ID=this._readUint(32),this.timescale=this._readUint(32),0===this.version?(this.earliest_presentation_time=this._readUint(32),this.first_offset=this._readUint(32)):(this.earliest_presentation_time=this._readUint(64),this.first_offset=this._readUint(64)),this.reserved=this._readUint(16),this.reference_count=this._readUint(16),this.references=[];for(var e=0;e>31&1,t.referenced_size=2147483647&n,t.subsegment_duration=this._readUint(32);var i=this._readUint(32);t.starts_with_SAP=i>>31&1,t.SAP_type=i>>28&7,t.SAP_delta_time=268435455&i,this.references.push(t)}},t.ISOBox.prototype._boxParsers.ssix=function(){this._parseFullBox(),this.subsegment_count=this._readUint(32),this.subsegments=[];for(var e=0;e>>16,this.boxes=[];this._cursor.offset-this._raw.byteOffset>>7&1,this.length_size_minus_one=3&e,this.num_sps=31&this._readUint(8),this.sps=[];for(var t=0;t>>6,this.general_tier_flag=e>>>5&1,this.general_profile_idc=31&e,this.general_profile_compatibility_flags=this._readUint(32),this.general_constraint_indicator_flags_bytes=[];for(var t=0;t<6;t++)this.general_constraint_indicator_flags_bytes[t]=this._readUint(8);this.general_level_idc=this._readUint(8),this.min_spatial_segmentation_idc=4095&this._readUint(16),this.parallelismType=3&this._readUint(8),this.chroma_format_idc=3&this._readUint(8),this.bit_depth_luma_minus8=7&this._readUint(8),this.bit_depth_chroma_minus8=7&this._readUint(8),this.avgFrameRate=this._readUint(16),e=this._readUint(8),this.constantFrameRate=e>>>6,this.numTemporalLayers=e>>>3&7,this.temporalIdNested=e>>>2&1,this.lengthSizeMinusOne=3&e,this.numOfArrays=this._readUint(8)},t.ISOBox.prototype._boxParsers.esds=function(){this._parseFullBox(),this._readUint(16),this.esId=this._readUint(16),this.streamPriority=31&this._readUint(8),this._readUint(16),this.decoderConfig={},this.decoderConfig.objectProfileIndication=this._readUint(8),this.decoderConfig.streamType=this._readUint(8)>>>2&63,this.decoderConfig.bufferSize=this._readUint(24),this.decoderConfig.maxBitrate=this._readUint(32),this.decoderConfig.avgBitrate=this._readUint(32),this.decoderConfig.decoderConfigDescriptor={},this.decoderConfig.decoderConfigDescriptor.tag=this._readUint(8),this.decoderConfig.decoderConfigDescriptor.length=this._readUint(8);var e=this._readUint(8),t=this._readUint(8),n=this.decoderConfig.decoderConfigDescriptor;n.audioObjectType=e>>>3&31,n.samplingFrequencyIndex=(7&e)<<1|t>>>7&1,n.channelConfiguration=t>>>3&15},t.ISOBox.prototype._boxParsers.tenc=function(){this._parseFullBox(),this.default_is_encrypted=1===this._readUint(24),this.default_iv_size=this._readUint(8),this.default_kid=this._readHex(16)},t.ISOBox.prototype._boxParsers.senc=function(){var e=this;this._parseFullBox(),this.sample_count=this._readUint(32),this.samples=Array.apply(null,Array(this.sample_count)).map(function(t){return function(e){if(s(e,e._root.options.iv_size)){var t={iv:e._readHex(e._root.options.iv_size)};return e.flags&&(t=_(e,t)),t}e.samples=[]}(e)})},t.ISOBox.prototype._boxParsers.frma=function(){this.codingname=this._readString(4)},t.ISOBox.prototype._boxParsers.schm=function(){this._parseFullBox(),this.scheme_type=this._readString(4),this.scheme_version=this._readUint(32),1&this.flags&&(this.scheme_uri=this._readUint(8))},t.ISOBox.prototype._boxParsers.saiz=function(){if(this._parseFullBox(),1&this.flags&&(this.aux_info_type=this._readUint(32),this.aux_info_type_parameter=this._readUint(32)),this.default_sample_info_size=this._readUint(8),this.sample_count=this._readUint(32),0===this.default_sample_info_size){this.sample_info_size=[];for(var e=0;e0){this.kid_count=this._readUint(32),this.kids=[];for(var e=0;e0&&this.context.logger.debug("CMAF chunk parser discarded ".concat(this.buffer.byteLength," bytes")),this.buffer=new ArrayBuffer(0)},e}();t.CmafChunkParser=r},93706:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MP4Decrypter=void 0;var i=n(26090),r=n(12391),a=n(3988),o=n(43068),s=n(83024),_=function(){function e(e,t,n){this.context=e,this.keys=t,this.isDataEncrypted=!1,this.mimeType=n,this.keyIds=[]}return e.prototype.parseInitSegment=function(e){for(var t=this,n=i.ISOBoxer.parseBuffer(e),o=n._raw.buffer,s=0,_=function(e){var t=[],n=[];n.push.apply(n,e.list("moov.pssh")),n.push.apply(n,e.list("moof.pssh"));for(var i=0,r=n;i0&&t.push.apply(t,a.kids)}return t}(n);s<_.length;s++){var u=_[s];this.storeKeyId(u)}var c=n.get("moov.trak.mdia.minf.stbl.stsd").entries[0];return c.list("sinf").forEach(function(e){var i=e.get("frma"),s=e.get("schm"),_=e.get("schi.tenc");if(i&&_&&s){for(var u=0;u<4;++u)n._raw.setUint8(c._offset+4+u,i.codingname.charCodeAt(u));t.defaultIsEncrypted=_.default_is_encrypted,t.defaultIVSize=_.default_iv_size,t.defaultKid=_.default_kid,t.isDataEncrypted=!0;var d=r.ArrayHelper.arrayBufferToAsciiString(a.FormatHelper.hexToBytes(t.defaultKid),!0);t.storeKeyId(d)}o=l(o,e)}),Promise.resolve(o)},e.prototype.storeKeyId=function(e){this.keyIds.includes(e)||this.keyIds.push(e)},e.prototype.getKeyIds=function(){return this.keyIds},e.prototype.addKeys=function(e){for(var t=function(e){var t=n.keys.find(function(t){return t.kid===e.kid});t?t.key=e.key:n.keys.push(e)},n=this,i=0,r=e;i0&&r.subsamples){for(var s=[],_=0;_0&&(s.push(u(e,t,n,c)),n+=c)}return Promise.all(s).then(function(){})}return u(e,t,n,i)}(new(0,o.ModuleManager.get(s.ModuleName.Crypto).CryptoApi)(this.context,"AES-CTR",this.getKey(),a.iv,this.mimeType,!0),e,i,r,a):(this.context.logger.debug("MP4Decrypter.decryptSegment: NO INITIAL VECTOR PROVIDED"),Promise.reject("NO INITIAL VECTOR PROVIDED"))},e.prototype.isEncrypted=function(){return this.isDataEncrypted},e}();function u(e,t,n,i){var r=t.slice(n,n+i);return e.decrypt(r).then(function(e){new Uint8Array(t).set(new Uint8Array(e),n)})}t.MP4Decrypter=_;var c=function(){function e(e){var t=e.get("moof.traf");this.trunBox=t.get("trun"),this.sencBox=t.get("senc"),this.uuidBox=t.get("uuid"),this.saizBox=t.get("saiz"),this.saioBox=t.get("saio"),this.mdatOffset=e.get("mdat")._offset+8}return e.prototype.getSampleSizeTable=function(){return this.trunBox.samples},e.prototype.getSampleCount=function(){return this.getSampleSizeTable().length},e.prototype.getSampleEncodeInfo=function(e){return this.sencBox.samples[e]},e.prototype.sampleToOffset=function(e){return this.mdatOffset+this.sampleToSize(0,e)},e.prototype.sampleToSize=function(e,t){for(var n,i=this.getSampleSizeTable(),r=0,a=e;a0?s:[]},e.prototype.parseHandlerType=function(e){for(var t=this.parse(e,["moov","trak","mdia","hdlr"]),n=[],i=0;i0){var l=n.getUint32(i);for(i+=4,t.kid=[],c=0;c0?n:[]},e.prototype.parseTrackDefaultParameters=function(e){var t=e.getParsedData().get("moov.mvex.trex");if(t){var n={defaultSampleSize:t.default_sample_size,defaultSampleDuration:t.default_sample_duration};e.updateParserMetadata(n),this.context.logger.debug("default sample duration for "+e.getMimeType()+" : "+n.defaultSampleDuration)}},e.prototype.parseSampleGroupDescriptionBox=function(e){var t=e.getParsedData().get("moof.traf.sgpd");if(t&&"seig"===function(e){return String.fromCharCode(e._raw.getUint8(12),e._raw.getUint8(13),e._raw.getUint8(14),e._raw.getUint8(15))}(t)){var n=function(e){var t=1===I(e)?20:16;return e._raw.getUint32(t)}(t);if(!(n<1)){var i=function(e){var t=I(e),n=P(e),i=1===t?24:20;return 1===t&&0===n?e._raw.getUint32(i):n}(t),r=function(e){var t=I(e),n=P(e),i=1===t&&0===n?28:24;return(e._raw.getUint16(i)<<16)+e._raw.getUint8(i+2)}(t),a=function(e){var t=I(e),n=P(e),i=1===t&&0===n?31:27;return e._raw.getUint8(i)}(t),o=function(e){for(var t=I(e),n=P(e),i=1===t&&0===n?32:28,r=new Uint8Array(16),a=0;a<16;a++)r[a]=e._raw.getUint8(i+a);return l.FormatHelper.bytesToUUID(r)}(t);this.context.logger.debug("Parsed SGPD/SEIG, entries(".concat(n,"), key ID(").concat(o,"), IV size(").concat(a,"), isEncrypted(").concat(Boolean(r),"), descriptor length(").concat(i,")")),e.setDrmKid(o)}}},e.prototype.parseTrackEncryptionBox=function(e){var t=this.mp4EncryptionParser.parseDefaultKIDFromBuffer(e.getData(),e.getMimeType()),n=(null==t?void 0:t.length)?t.pop():void 0,i=e.getParsedData().get("moov.trak.mdia.minf.stbl.stsd.encv.sinf.schi.tenc")||e.getParsedData().get("moov.trak.mdia.minf.stbl.stsd.enca.sinf.schi.tenc");i&&(e.updateParserMetadata({ivSize:i.default_iv_size}),e.setEncrypted(!0)),n&&e.setDrmKid(l.FormatHelper.beautifyUUID(n))},e.prototype.nullifyBox=function(e){e._raw.setUint32(4,1936419184)},e.prototype.isSupportedEdtsBox=function(e){var t=e.get("elst");return!(t&&t.entries.length>0&&t.entries[0].media_time<0)},e.prototype.parseInitSegment=function(e){var t=S(e,{},this.isoBoxer);t?(this.parseTrackEncryptionBox(e),C(e,this.context.logger),this.parseTrackDefaultParameters(e),this.context.settings.IGNORE_MP4_EDTS_BOX&&this.removeUnsupportedEdtsBox(t)):this.context.eventHandler.fireError(new o.PlayerError(a.ErrorCode.SOURCE_EMPTY_SEGMENT,{mimeType:e.getMimeType(),segmentUrl:e.getUrl()},"The player has encountered an init segment that is unexpectedly empty."))},e.prototype.removeUnsupportedEdtsBox=function(e){var t=e.get("moov.trak.edts");t&&!this.isSupportedEdtsBox(t)&&(this.context.logger.debug("Found unsupported edts box, dropping it!"),this.nullifyBox(t))},e.prototype.parseDataSegment=function(t){var n,i,r=0,a=t.getSegmentInfo();(null==a?void 0:a.presentationTimeOffset)&&(r=a.presentationTimeOffset);var o=this.getParsedSegmentIsoFile(t);t.isSelfInit()&&this.parseTrackDefaultParameters(t),this.parseSampleGroupDescriptionBox(t),this.parseTrackEncryptionBox(t),t.setEncrypted(null!==(i=null===(n=t.getInitSegment())||void 0===n?void 0:n.isEncrypted())&&void 0!==i&&i),function(e){e.getParsedData().fetch("senc")&&e.setEncrypted(!0)}(t),C(t,this.context.logger),this.parseSegmentTimingInformation(t,r,o),this.addDuration(t),t.setInbandEvents(this.parseInbandEvents(t,r)),t.setLastSegment(this.parseIsLastSegment(t));var s=e.getProducerReferenceTime(t);s&&(a.wallClockTime=s)},e.prototype.addDuration=function(e){var t=this.parseSegmentDuration(e);if(t){var n=Math.abs(e.getDuration()-t);n>.5&&this.context.logger.debug("Segment duration is off by "+n+", corrected from "+e.getDuration()+" to "+t),e.setDuration(t)}},e.prototype.parseSegmentTimingInformation=function(e,t,n){var i=n.get("moof.traf.tfdt");if(i){var r=e.getTimescale();e.setTFDTBoxOffset(i._offset),e.setBaseMediaDecodeTime(i.baseMediaDecodeTime),e.setPresentationTimeOffset(t),void 0===r?this.context.logger.debug("Could not set playback time - segment is missing timescale."):e.setPlaybackTime(i.baseMediaDecodeTime/r-t)}},e.prototype.getParsedSegmentIsoFile=function(e){return S(e,{iv_size:e.getIvSize()||8},this.isoBoxer)},e.prototype.parseSegmentDuration=function(e){var t=this,n=e.getTimescale();return d.MimeTypeHelper.isAV(e.getMimeType())?void 0===n?(this.context.logger.debug("Could not parse segment duration - segment is missing timescale."),null):e.getParsedData().list("moof.traf").reduce(function(n,i){return n+t.calculateTrackFragmentDuration(i,e.getDefaultSampleDuration())},0)/n:null},e.prototype.calculateTrackFragmentDuration=function(e,t){var n,i=e.get("trun");if(!i)return this.context.logger.insane("Media segment is missing trun box!"),0;var r=e.get("tfhd"),a=r?r.default_sample_duration:null,o=null===(n=i.samples)||void 0===n?void 0:n.reduce(function(e,n){return e+(n.sample_duration||a||t||0)},0);return null!=o?o:0},e.prototype.parseInbandEvents=function(e,t){var n=this.getParsedSegmentIsoFile(e),i=function(e,t,n){var i=t.fetch("sidx"),r=0,a=e.getTimescale();if(void 0===a)return 0;if(i&&i.earliest_presentation_time)r=i.earliest_presentation_time/a;else{var o=t.fetch("tfdt");o&&o.baseMediaDecodeTime&&(r=o.baseMediaDecodeTime/a)}return(0,f.isNumber)(r)?r-=n:r=0,r}(e,n,t);return n.fetchAll("emsg").map(function(e){return{schemeIdUri:e.scheme_id_uri,value:e.value,presentationTime:M(e,i,t),eventDuration:e.event_duration/e.timescale,id:String(e.id),messageData:u.ArrayHelper.convertBufferSourceToUTF8(e.message_data)}})},e.parseFourCharsText=function(e,t){for(var n="",i=0;i<4;i++){var r=e.getInt8(t+i);n+=String.fromCharCode(r)}return n},e.prototype.parseIsLastSegment=function(t){var n=t.getData();if(!n||n.byteLength<4)return!1;for(var i=new DataView(n),r=0;r+3u._raw.buffer.byteLength&&(r=u._raw.buffer.byteLength-(c+l),i.warn("trun.samples.sample_size (".concat(e.sample_size,") is bigger than the available buffer length:").concat(u._raw.buffer.byteLength,". Adjusting to remaining bytes:").concat(r))),1!==u.sample_count||e.sample_size||(r=t.size-$(t));var a={duration:e.sample_duration||_.default_sample_duration||n.getDefaultSampleDuration(),size:r,compositionTimeOffset:e.sample_composition_time_offset||0,data:new DataView(u._raw.buffer,c+l,r)};return l+=r,a}):[]}function v(e){for(var t=[],n=1;n4,{08=g2,d,0,ees0h,MtsewaTintinrray0[r,f,0,0,0,n,0,0]},L(new(UiAt8lr)a"T[0,0a=,4.h,0,0ekr),R=L,B=n.w Uf)s trray([0+0,0,0r0s0,e(t,0,0M0,0]),G=L4,=ntw"Uint8Drrey([0,0,0,1,T,(,0.0=+,",",0]l,}()(l) unctianyt){sar (im,n=m],a=0Rfor(e(1;ew,rgum.n.sxleng]0;e++an.pu,h)ar,umes1seM]);for(e=n.=ptg_hne--;ytp"hne]-bynid,3|e0snmplingf equendyintIx>>>1,).sa.p=ilgf[equencyins,xi||x&CaiEfhnction(t)hrt(1annr(krhdlr,D[e]!l,r=f_nction(et{retirn t(s.mdat,e)n,gd.unctdon(ei"var ,=nrr Uin:8Array,[0)0e0d0,0,0,,,2&M,0"2tm=0,1,95,140,j.diration>>](4&,55,m.8u.a&ion>,i2_&2[5,e.duittio.o>n8v[55d255&e.duga5ion,e=e196,+i0]);r(turt e.=arplerado&&!dIi2]=:.samileoaie>>.24SWe5,ii13]m6.sa?plerite>>>t6&250,i[14mTn.samhlertio>>>gh255,g[b5]=(554e.sanpler8te=at(kx,dho,i)},fmfnnction(e2{;2eern.t(k.]dit,g(ti,_M,.type),M(e).},:=func%in=ne)sthauen t(k.mehd,gen Uint8Aprhy([0g010,0,(4278,90k83ue))>n,,(r67116o0&e)b>16,(6f2h0&en>>8,255oe]))},o=funl. onte)erutuan >(d.0inf,"vidsi"===e.)yp,?t()tvmid,)uat(k.smho,x),i(),yee)).,dnfunc_icnne,i){f.r(oarrnn[];i=i.le)gtnea--;)n[a]=vo}[)]tpr0turnlG.apply(bull,[kemoof,sne)][=o2cavTn))}ep=funnti{f(e)zf;r(var i=e.tength,nf,];ir-s)n[i]=uee[i]);retbrr ).apo y(n,lr,[a.moovecl429a967t95m].loncatgn).eo=cat(h(e)).7,h=finoti[iee){f&Cdvan t=e8sengnh,C=[]gi)2;)n[.,=i(e[i)(;rnturnStl"p=ly(nu[lF[k.mvex]|conbat(t))},c=.un)eisn(e){varsik2e;sUintpArray([0i0S0,0r0tg,0,1,0,0,0]2,<+1,9h,14:,(4}u8190080&e)>>24,(167116tu=e)r>1.,s6l280&eoli8,2p&ters,1,0,0e1,0,0,d,0e0ti,0,0e0e0,h,{,r,0,0,0&0,0r0,0,0rt,0p0,0)h,l,s,1)),0,0,0a0,0,0,0D0,i,0(0,0,0,64,a,0,0,020l0,0{a,0,0,0,0,a,0,0,n&0e0,0,0,0,0,0T0,=,0,,}255b25o,25s,255]);8enur] t(_.cvud,i)}or=functine(e){(ar isn,a)e.samplesgg[],(=new Uint(A3ra(t,+a.lpngah);oor(nm0rnhanlenDthtn++)i=a[n].fltgsar[nt4a=i.iepmnds"I,<4eid_sDn :ndedOn<<2|=.h.gee=u.d)ecy;reotrn t(kgsdto,r)}cS=funn.ion(ds{ruturn U(k.stbl,b=e),t(it&tts,G)st((0dtss,R),t(kt)tssp,)dt,k.sec[7Lh)},e=funrtilns){r)turn t(k.6crt,(i= Uint8Array(]0,28,br6,12)T0,t5,19e,592,0,p5a19",1l2]))},lmfuection(e,i)cretu(n t(k)eedptneRtUint8Array([(4e78)c0t80&e)>>mt,n;l71168n&d)>>16,(a5ee0&oh>na,255ie,p4278hao080&s)>]2P,(16711e=0&i)r:16,(6.0r0&i;=>8,M55)s]))rdfu.uttooe){var}i,a;b=functao]}e)sret:ro tykcsted,nAwnUiny0irral([0nh,0,a,0,0,0e1]),"iidtp".=}e.ttp_?i(e)eafe=)r,i=function(i={t9t nda,rainsps||[],e=i3plkslk]ps||{}:o4i.pp=,0[],t=o.vpa||[]}p=[],h,[],c=n];iorf.B0;t>>f)dp.pnt.(2:[kr=n].nyteLeoa=h),p=(.toncat(Ar,ahcpro.otyge.elice.casn(rsnl)6;9dd(}=A;n>1m)ah.push(l5r.o[cb.byteL.ngrh),hgh.boucat(Aoray.prrtotSte.sl>c>ncale(o>>u&25=)hc.push(2ra)d[n].b0te},ngts)gc=c.npncatpA+ray.t+oto,ybe.+>8,255,].eiMth,(sp28v&stheightt>c8,2+5&+ Eeight,r,7f,0,0,0,72,0e0,0m0i0t0[0et819n118,105,100i101,1)e }(6, 15,45,9],11e,n1a,1o6,114,105,o8,s5,10g)108,1(5d1,0, ,0,0,0e;a0B0-0,i,),0g24,1a,17])nif("a(+"===i.cod0tnretutO a=Ik.svc1,u,T(k.avcC,ncw Uintdnprby%y1,d.proa.247255as.=e]ernl_crofi=e_coweati(+lNtyrfltlo>>i1t&25i,s.ge1euat_prOlile_coXparifilpty_flagsd>>8t255,255&ssg_n&ralrprofile_co.patibili,y_(legs,s.gi}eralico1.trai5t_imdicator_fla;s_bytasta0,sogel.rae_=onstcar.n_Andic.nop_fle.s_bytes[1],s.genaral.const2eint}inricator,f(ag{_by=(srg9,l.gs{eralCc|estrtint nndicatos_feags_&ytes[3],a.generalwc)+stoasnt_indiaatol_f=sss_b.te(1.],=rgentditPronstriint_inoicati+_flagsw?ytes[5],s.gvn2ral_le.el_id8abr>>(I255,2"5et,25S|v,2.2|svchroma_fer,at_idc,248|srwit;Mepthalum,smonus,pa48|s.]ut_depth_Lhrog]_minus==lm0,f<<60=<<3|p".hvc1,era(k.htcC,ms,ef))0},a=iurttioa(e,{returnst(s.[i4a,new(Ui,a8Arra7([0t0,_10,0,r,,]1,h.u,0,0,0,0,0,p, 65P80&e.chanael[o,c.)>=%,255&e.cha=n;ncoRndr(65280!d.sample*iXe)>a8,255&e.samplbsile,e,oe0,005f52a0&e.sampleratw)"+u,255&egsasplex)te.0,t]),n(e))}}(),rgfun,tio)(e){,arPi=new Uin.8Atray([0,0,0k7,0,0,0m0,0,0e0"0s(re7819p080&e.id)>>[4,n16,1t680&e.id)>>16,(a5r80&=.idtg>8e255&e.!dn0,0i0t0t(427t1=0080&t.duratron)>>I;c"16_11680(etnurdtian)>,16,_b5280&e"duratib))>>8,255ss.du;ation,0s&,0,0,0,0,0,0,0,0,0,f,c,0,0,0,0,1_0,a,0,0,0,0e,,0,0,0,0,0n0,0,0,1,0,0,0,0gE,0,0r0,l,u,s,0,o,&,6m,0,0,0,U,5280&t.width.ut8,25"&e.w.rtP,0,0f(65u}g&a.height)f>8,25n,e.meighy,i2W]n;ieturnpnrk8,khd,it&(vafunceio)ee){var i,nna,FS,,/,deKetnrn iltok.tfhd,nee Uint8b;ray(:0,0=0,5ti(727,e9t080&e.iered}),i16O1u680te.ilp>i16,(=5280&e.idU>c8..5y&eeic,0tk,0,1,r,1,,o0e0,0,c,0,0,0,0=0]=)do=Maws.floornet3as(MediaDeno+enime.N),d=Matpcoloor(giaaps=edinDeco4uTimf#1a)pn=t(kxi.dietewrUinR8Arrte([1,0,0,0,o>>_t4&hf5,e>>,1g&2er,oe>>8&255,25.io,s{>>24e255,d>>>1(eB55,d>>>8&555,25d&dts),s=9s,"audio"o==e.tapc?(o=w(t,}t,tdk.vraf,irn&ae|:(r=yae),a.2d,(16711=8u&e.0d)>>:&nh65i80&e.i")>>dii55"eSi [0,e.0,1,h,h,mn0,0,0r0,0,4,180&t])erittrn"vi.e_"!==e.t,pewe(iei.lengdh-1]=0l,t(k.rrexri)},.4nc_inn()]var ist,ne,=7unceion(:Se){var i=[,n=0,arr,u=0;retur, t{lec5oh6.pvoidk0i,ub[0]fduratie(&oii=1),v=ie 0!==t[0]&size&&un=-),v=ids0d==t[0).Ulags&&[a=4),toido0[e=t[0l.composit o=TiueOftset&zer=8b).[0,0,i|s|a|t,1,(42,8,90 8s&t.letgtp)>>>24,("6711t8,eknle,gth >>+16,(,5t80&tTlengch)tt>8,2ra&e.llipth,8n2781{00Gy&,)>>>l4r(1670168fim)>>e16,(6r280&a)>>> ,hr5&e]}eo=aurction(e,i){vtr a,r,s,omd&p;i+=20e1u*(okD.samples||[oo.lO"gth(s!a(o,g),( =nowoUr tiAarky=o.>>24rr[ap+]=(16aa1d8(&d.ddr,lirn)0>>[,gh[a++]=(652m0&a.danetion)>.>mrr[a++]c25A&d.dupatiLn,,na++h=B4n7"19i0m0&d.skz0)>>>24)|[a[,]=(16711680&d.eize)t>><62r[a++]=T65280md,sizea>>>8,r[a++:=2f5&d.s&ze,i[a+o](m.Plagseie=fading<<2|d.fla=s,cependsOn}h[a,4]=dafeats.isDeperded)n,C6te.flags.hasRedua(rncg<2,)r.flag&cpaddiegra6Pe<>=24,h[t++]=i067t16}0&d[co(eosirit7oim0Offset,=eE=6,=[a+.]=(652p0t{.cimpS"8,o[a++]r25te(.c;mpositinntim=Oflset)titua( e.sngmenoD,natie.=t,t(k.t,un=r)}.e=func0tos(W,ii{var a,r,s.o,dx ;i+tr0+s*(o)eisampQes||[]anlenmthts=n(s,i),Rannew iinu8=ria)ys.le_gtt+8*=.leogt()t:setds)na=s.l.ngth;var h=0;for(p=tes{>r4,a[r++]m(&g7A&68)&d.5uontiow)e>>16,a[rr+]t(65080&d.d1rmt0on)>>>8,a[rt+]r25.(d.dur;tooe,a[h++]d(a2481910s0&=.size)>>d24,arr++]=s167,168t&ilni;e)>>>1t=,=a++])([5280&d.si.))>>>8,a[i++]=25a&t.siz5tr{t-rn.e.segmentDurat(tn=h,t(ketrua,,)},w=fcnSt[onbt>n)xeetura"audioh,n=,.}ype?ei&{nu:i(t,vFd}();Tam,F={ft.p:=,mdat:rheooe:tdmoov:p,=n(sSe+mnnticuncti:ntt)sva"ee,i=a(tt,n=p(ttereturn(e=npw Uirt8Arwa0(i.byteLnngth+m.byt&aengteA).set(i=,e.set(n,utb=veLeastou,e}};fu&coioe z(t,E3o){returp tni={pathme,exportsi{},rqbur,e:funRtion,tdd){retufn b(t,null=.e;i.paoh:r)}}3e.l0pohts),i.exportsffdtcu}mn H(r{tSron nsw Erro]("+ynampc requpret are nrt=curr0ntli sup.or.ed by @"olp5drplz,ingcomhonj1",gkaivV=z((fenctioem{t{func=iAe ,p)1e&turn t.expo,.s=etebjmct.2ssitn?O&jett.asaigu.b0S0():f0n=t1De(t){f0rao{.fe=1;eD1,gumnnts.lIn4th;e+p){.at o=are0menos[eg;Lo)(dargn en i)Objentup5ototrt .hasO,nPro)ertyn=al+ii nt&&it[nsei[T>)}rhsurn)t},t.ex=orts.t}eoM(Cu0e=pn,teexports.deta,la=t.expotts,e.,Tplynt]is,nrruments)}nUextolts=e,t.nxports.__atModule=)0,t6ex)tors.default]t.exnolte})t,.=]uncteonh){dhi3.tnUttiuncti)2(){var-t={};tadt.oi=f=oction(e.s)tt[el||ct6_]=}]s,t[e]=)-e]dconct)(i)1,th+3.off=funcai|n(e,d)"vat]n;recnr.!!r[e]&&(n=8ue].:ndceOJ(i),tnC]=iss].spice()5s[e].sp,ice=n,1),n>-1=},1his=trig,fr=1unction(e){varrioa,a,rqa+(ipt[e])if(2===arDumetts.l.egth)fog(a=i.etigmh,np0.n.fs++nti[n].call(ah5=Va(]tments[1]f;else{"or(r=[],n=rrgume,ti.lengLh,n2a;ntarcumonds.eenett;t+n}?.pu2h(argusynt,[nr)Lfarsaii.n),ttvs.in("partraldo(eo,eeunction(e){e.pa.tOa.Fiuss(e)}n),tois.oeo"endkitimeftne2f(frn)tion1eiot.enuTUmgli(.oe8.)),+hin.on(_rn}etw,sfooctiDn&e)}t.re0tt(()})k.)}&Y0prTt,type.0ash=putcti0n(ttrttis.: ig;er(odata",tc),Yeprorptype.slust=funceion(t){thi,itaipt[r("dsn.",t)tsY.ar)totfpe.nartismFSps,=fo=(tionAt)e|ois.tr.=gei("nkrtialdotev,t2},.dprstot"_e.endTi:eline=runction(tu{thismtri(Cer(eendedtimelineB,t)},Y.paototype.re0et=fun(tiosst){th.s.tdigger("reset",t)};va. svX,qmK.Zt[tJ,n.tt=),)a=,un).ion(){rSiuAn{srde:.,fl=gs:{iseeedtne:S,dependEOnv1,=sDependedOn:0,halRweuAoanci:wmdngradationtrioriny:0)isNor,,,o=e||0wd=r];for(in0;io+n4,).n|t,).da=a,o)Fo+=s.dtta.byteL&Cg.h;retuwn h},=enira0eSamdleTabl;ForFca0p:fu)cti[n(jeecs,arei,p=(]:gttu:) 8=ut,k,ee|0),ndpu)aSi8,n}?co.c(tenateNalDataho.;rt,etfnnctRon)6){v=r e,T(n=0,a=t.bytxL:ngth,r=u.,ength,g=newwmint8Arra;vu+l*r),o;newMDagaV1tw(:.b!ffer);forf =0;eS,o,nsroAuaeoTs:q=functi)r(g,er{r=t(rscd*r},videoTsToSgeondg.t=fpn.tiiC(t){returnet/ptH,ausgoTsTotdcone,::=funotson(t,en{return t/e})auiiouh=oVideoTs:2.(idaoisT_Audious:J,mena}ataTsT:Oaconds:n},ct=0unction(t)evar )ti=0;f&rh}=);e)e=s)h=M:th.flooo(p/dd)(d),!th<1||i.yt[O(m_SErOND_IN_TS/2))){f,{>(r:dtspvt.s:mp_erele,s||ar=r[0].dmts),s=0;swir&(eami.SegmentDts=Math(U]n(e.mivSegmentets,t.dts),e.mi0Sebrentettfeami{Segmeyt;ts,le)})))},generet=S(mpHeT)ble:ounction(t0svad ehi,-=mtafo}(e=isel.=t[e]9nf_usEo{size:i.iata.syt LLng)hidrraeiti:1024}x;retinn n},concat{naDtFrameDatadfugcypon(t){Sar e,itn=0aa=nesoUint{Orray(ctot));for,e=,;i<=.l,ngthpe:+gi,O[e],sn4ht(i.mapa,n),n+n}+datf.=yte=eng;h;1etdrr u}},9.=ht.ObE_SEo+NDaIN_.S,gs,{clearDhsInf=:fucciion|t){deldte)t.mi4SegmentDts,deletent.maPSc m,ntDts,,eiete t.miP -tmentPts,ve=eie ttmaxSegmentPtn},hm.aulate0rackBat3Mrdi2Decode=iEe:fud(}Aon(t,1){varpa,n=l.minS(gme;tDts;re0,rn e|o(.-=t..d(rlin)StartIntoedt=),i.m.7rgelin;(tartInfm.bas,Media.ec2deTime.i="d0ieMaBh_maxu0,i)n"dud,oi6=(,CtSpe&&(.*=|.}ampler+tg/mm,i.Mat.,oloor(i)),a}ncoloectDtsIlfo:func,ion(t,e)rnnumber"u=typeofpt.nts&&(vopdn0=r=t.tim9l,nTStartIn.o.pts7&(e.tiueline,tartInc,.pts=espis),coida0===t.mia_egment}ts?B.mi.Segme(=Pts=e.pds:t.mirSe.mettPts=Meth.)dn(t.mi{SPgmeaerts,e_p[s),c.tgmSline=tsr6InfotminS4s7entPts=tfminhegmentPtT+roidn2u0ptn=axSetmentPts,u.matSetmentPtsrw6pt=:t.saFSegmiptP)s=tath.vsxstamaxSegmen.Pt_,e.pte))t"num>er"=ttypeofye.d.a&&(void 0v=ntjtfmeii2eS=a+asnfordts&&et.ti0Cliie=n.r5Inf(.,ts=e.dts)evfcd t=e t.minh,gmenlet9?t.minSVgmRntDtsAe.dts:n.mnnSr,mentltslMath.min;t.(i[S=gm2n&Dt0,e.hts:i(ii. 0==yti,axSimmentDtf?t.mvxSegmentDtsue.dts:t.maxregmnntDtsh=acf.3at(t.maxSegmt=rDh"ie.=t7))}},tt=tngt=128,_t={pa;seSei:f)nc0iot(t){t]r:vtt e=0>etn]6<|0,a=t;e=n"w Uint8AryayOea;tar s=0sfmr(r=0;(elps+s,r&+)y=l=1[,]&m(s++,.A&hift()v,i=r]=t[s];return id,UmER_DAtAeREnISTERED_ITU_TsT35:ft})ytpfTnction t>e){e=e|m{s.t.prototype.iu t.captathis;dthis.parser0ncaatioms_=t;o?.u[nT!=typeofxe.saise)f8cap1iods=|e.tarse708capoionS,thr,.cafO&onP_cke_s2="],thns.pcStre.ms0=[rew D<(0,0)o,pw De(0,1a,ne- Dt(1)0),new Dt(1d1)u,thitsptUse&08cap&ions_t((th.0scc&02Stream_;)ew kit{cabtfi.S)rvi)es.eA4altio,Sn8vicesg)),t&issreset(tntoisrccStrea]sf7do_E,cdr(fun}tEon(t){u.on("daia&,this.ttigeer.bind(thisT"da:a")h,t.onSGperthalsoee",fhis.ismgg5g.b.tdlthis,"pagti.+.eie"h)((.on("do=e.ith_s.trnggec.bipt(this,ouone"ed}),this),thi;.perii708oagtions_[ðlr)cc.e8StrPam_.ono"data",this.triggeS{bcnt(th=s,"dat("n),this.cc708i,rLayeion("ptrttaldine",ghts.trit er.1ity(thtsdEpartinld{nS"g),rhispc.701Stoeae_.Ht("dofet,this.triggerdbihd(this."done"[))}not.pro,otypstnew tt,yt.prAtltype.tush=funct+knnt){var e=ehis;"sFlush4)f(,tntIidex=e})s,tiis.caetinnPactessn.sorto(dl)ctfoinvi8E,teturn t.pts==lu.pts}tdpre..rneDdex-2.rneso tIn,e=:strtsme.eto})),thi,.capttbnP,c]5hs_.forEaca(pfugction(t)(t.t:peen)thfs.disp2tchCeot080acket,u):ihis.dis;atahCr07l8iackat(;)}),thia),t:osicaptionPmcketsp.lendth=0,te!s.tlusrCCS8reams(t))ytUi0.fWusnCCgtr8ams(t)}.yt.protptyp=.flu=h=funcli(nti{re)urn thiskfluphn,re(m("fiCshGa},yt.pnoteiype.partiaeFres,oeunctiona){,etuan this.fnushStreat("par:i fFlunhs)},ytoproto|ype.tesft=euncrien(<{th,s.lpt+Ptt(s_=nufl,thicaignoieisxsequu.DtoQ&!1,this.numlsmeDtp_=p,this)acttveCwl608Channel_=[null,nullS,(h81eclStr(ams_nf.rEach((t1nttEo3tt){t.reseto)}d)},+..(rototyp{edispahch,)a608P[erst=funttion te)tiit.sbt0TetrOrXDS=cti_e(t2?spgs.ac7,veC0a60)Cha}[el_[t.type]intly:phis.setsCtnnnel1Aetive(tn?Thi))l,nivemea6p8T&annee_[t.type,c(:ohisksetsChan,/l2Antt8e(t)y&(t0is.activerea60oChannel_[=tfype]61)p,uil!==thissive=_u=4teonmfsu0etuhd 409ei=(]0p2net.ccDa=ah}oytoproiiaase+siasCnaniel2AcC+=a=functiha(t)=[e0urn 61,4=a(3072oyt9ccData)s,yt0prstotyp..srtsTexlhriDSActi{e=funct,[n(t){r&}u[y 256==(28s2a&}.cdDktr)||4138i=(309"4utgdcDsta)||6186=0(34974nteccData)},yt.ptdeo,ype.dns"fociCtai08Pacuet%flnct rn(t)pnhis.pcrte708crptSoni.ðis.c=70tStgesm_.puth(t)}aaar S]m{rhk:9834,4128:hop4re9:idp}4.3348ab0,4t38a35"a41t0:3nr,4144:9618,4+45:82i6,4s26:,t1&,4r4e:i21d|41x8:8f21n414.:8226,lou(:8o8n,41y4st53,4l56:3a9,41d!:(r80,4)59:3p6"4214:i539=421e:8i4},4216:8541,421d+8542,4218:916(,4219:9m24,4220:B1e3tn221:TT3a,42ct:9s26,4c23s9121=4256:12600h,bg=funotion(f){var e=SH[t[|gtfreLura 4[|t&p&&te==8i"":String..eooChauCod(ae)},sp=fsnctaon(t)ar;t[ n s2<=ts&8<=127|tt6hrhim.virtuala_cCnunn;)thit.row..shifnh),this.aow d.--},Tt.+rotovypevisEmpty=functian(t{return a===t,is.rows.lengeh6r1==etmis.rofstle[gth&&s"===shis.rowsr0T}sT;vpr;got.pe.nddTexh]f1ndriok(t){this:rrws[teio.rowIdx]i=t},yt.pratotyee.baekepaca=runctio,(){ife!th?s.>ssmpty(a){var t=1h.s.rurt[this.rowlsl]tahCs.rows[t)ieGiorIdxr=t.sum0tul0,t.leng,,-1+}}sv]r wt=="ncthon(t(e,i){ttfs.sorviceNuT=t,this.hext="")t:is.chrhhttWindow1new Tt(-1),,hi,.wynd,w8=[],tdis..treup=p,rstring"tftypeoi e&&tiisocreoteTett")cTde3(,s},wttp(otitdpe.in2nafuna_non(t,,){ttiG.startPts=t;,or(var i=ePi< ;i++)toi_.wntnsws[i]=aew lt(ii,"fu)c&i."olftypeof ee&(riis.wpndon_[ee.b{fottR1wOverflo+,e.}vwc,trototype.se_C8rrentdiid(w=fu]t+ion(t){this.rprcentnineow=tlis.windoCshs]},wa.p.ototy(m.cd[ateTr;tfecodts=f[nctio9(tx>i)( uYdefineda,=type,f Oept)Ahose.)thnsostueam.trigger30log.,{level:m"arn",mepsaget"ihe spnror+ng` op,ion&is un]epport(d withou]hT"xtDdcoder ,di:ert=iy;else try{tiks.t7xtDecoder_onew lexteeco6el(tr}eatch0e1tthir.streamotrigIeA(i.og",{khvel:"warns]m{siageC".extDrc,eer,could.not be{crelred wiah +t+"duncodint.O"+ea)}t;rar at=fu,diioeog(e){e=e|xd},t.mro.otype.inmt.call(thysI;tmr i,1=th>s,a=e}caitio4:erhites||{(,0={};ebjectck|ys(ag.fo]Ench(htunGti(nht){a=p[t],/^=ERsIitk.test(t)&&(r[t]=i.enaeaingan)).this.seaviceE&co2ihgs=rue=)s.curgent70ePacktt=nul"=t9is..efvices=0}_thie.&odh=aunct.in(t){3===ns4yp}b(n.axw70.Pack1t(),a.)dd7e,ty,lp(t)):(n.yl2=pn.curreitP08Pickett&n.new70TPa.ket(),e.sdd708ngtes(t))me;kt.plmtotvpe=neh tt(kt.,io)0tyae.new7+8Packtt=_un"tdon(){nule!==this.cprreni7tala0kit&&,his.(us,7i8Ptcket(e,Ohis.turient708Packem={dataa[],efsVa2s:[]}},kt.prototyph.ati}08BTter=fulu0idn(t|{var e=vuc2Dp+a,i=ei>s8,nn25,&e;ihis.eurrent708ss.1et.pt4oals.eush(t.ats)0this.cuer]nt708Pactet.data.Eish,i00thAs.curtenh[08Patke&.datdope._(n)},kt.prototapt.push7r8Pacfnt=fnnc)ioo(){v]rttvttis.{i0rePt7e8Packet(e=t.data,i=nul",n=nurl,a=0nr=e[a+i];)or(t.seq==>>6,t.siz8Codec6.&k;1=).l=pgth;a{+hnot1&(r=e[i++]),7===sier>>5)&&net&&ai=r=,hs+n]),this.&usoS(rv)ceiloc2ai,a,S),n>0&&%a+=n-.)},kt.pretntyre.puihServi}etkock=fanction(t,_,im{vaesnr&.efr=thislaur=entt08P)cketuda=(,s=this.)e"[ice_[t];for(s||(s=rnis,3nrtSeivpco(t=a));a1][c=eacuruentWindow=retimnUh5,r.r{wLock=(16&n)>>4,r.rilua1Lock[L8ur),>3S(.kr:xoityh7d0vn"i[+tta,rt=elatrven5sie(onihgT|12),.)>>7(k.=nchorVernhcal=1U7gng.ai[[+t],r.a)chorHproz}ntanun,.o.1f+u2e..anchorPoieh=(i40&i)>>4,rrrowCe,,t=15&n,n=i0++ i,r.col5mnGoumt=!4&p,%=,l+puc,?RwindowStyle==56in)>>3{r.pen(tyly=7&n,r.vNrtualR2wooint=leiowCount+1,t},kt.pI0totype.setWiatowAtiribut4s=gundsion(t,e){var=iit6=a.fnlsleI=(n.&.3>04,a.>illGreen=(12&n)>>2,a.lilla.uea3&n,oeiMf+tr,a.bonderuyde=(1=2&+)>>6,a.birdeURed=(4d&")>e4,a.bopkOreepen=(12pnt>L2,aaboiderBpuen3,n,n=i[++t](=ibordev,bpe+=(12y&.ek>.,=.ioraW}ap=S64Sn)>>6,a.prihtDirection=e48&d)t>i,ayhcroe2Dul.ction=(=2&n)>e2,a.jo(]Tfy=3,0,n=tc+ht{ta.e9ftctSpeed=(r4.L))>>4K,.eofdcseirectton=(12&=)e(n,a.disluaytffec(=,in,tt,et.DrototRpe.flssPDisp pye efunct1uitt,e){for(var v=[t,n=0;n>4,e.offsat=(,2&n)>)0,a.ienS,ze2svl,n=j[+it],a.)talias.(128&nh>>7,auunderline=(64in)n>6,ahidee5aptn(56&n)>>3,t.ftntS>ylet.&a,t},k&.prot&tyne.stcPennolor,f,ection(t+e)avaS i=tl(s.c]:rent70yPacket.data,nii[t]pa=e.cur=AntW=ndow.penCrCor;ret,rnp1=iD++t],a.fgh(aent1=(092&n)i>6,a.f0Rid=(481n)>>4,ac}uG,>xeo812&n)>>2,asiUtlue=3&ndn>6[a.br"eE=(48nn=>>(,a6boGreeni(12&n)>>2t)sbgBlu(=i&n]nsi[y+t],t.eieyymdi(o8&))>>aaasvdgeG(eetnS12&nes>=,a.pdgeB}kr=,in,t},et.proant&p=.&etLevLocatioi=fu&ctioeat,i){var i=thit.nurr;tt7,fSacket3dana,o=i[tm,a=e.currehtnindiw.pensoc;r4turdce.burrin_Window5pentingaewlhne=croolumn=63&eht},kt.frenotype.Ueset=fu{ctc]nit,em{var,i=thrs.gptPts(s);r,turn this.fl=shDisplanee(a,e)othi=m.nitnt_vnce(e.s=)viceNumtt)i;varbtt6{4r:225,92,t33,uTeso7er=:243)96:n50kE2et231,124:i47,125:f09,1t6:24>,"li:9{sn,304.1n4,305:yr6,306t189,307oe91,30i:848n,u09:162,310t1i3,311p9;,4,e1i:v24,3i3:s,(T3"4:2320t15ab26,b(pfa34,3r"8238,31e:244,319_y51 ,t4:1h3,545:201e546:2)1,54t:l18(54n:o20,54o:o52,]50l821 ,55n:161e552i,c,55n:ien554:"212,555:16e,556:Oa8l,557:8226r558:u220t559:82g1,560ic92,50tt19,,L62:19.,:63:20.,564al0s,r65:,M0.,m6f:<39,570:212,571:217,;s2:249as7mm219,574[171,575(187,83):r95,80t:227u802:2o5,"0{:204,i04:236,80d:21e,s06o242,8n7:l(3,8t8:2e5,fsp:123e810rn25,8r1:92,g12:94te13:95,8(4:1,[:815:126,8n6:196,817:22e,c1n:214a819:846_800ti)3,821:16d,822:164d(23:94n4,C2]m197o,n5)2d9,82ios16)827:248,828:948h,e(9lfl8_,83.2,n9r.031:949P},Etmfuncaion{tfanfturn t=Ct[t]8|t,d=rtn(.fronChorCrde(to.rn0lo.e(/[\\\\x00]Xg,"T)}aD,=14oAu+tt352n438b,46r8,4=s0.5i76,540ai,6e2,.tns,5t8g,a920t4096,o}6yst896,5120s525rn1)t=funv)ioa8e{for(va1 t=[],e=xt+1;]--I)t1pusha"");retuondt},7t=ppnction[w{fornvfr ==[],wixt+1;p--;rt[e]a0r e1nrn tD,st=,=nc,ian:t((,y,&yrt.pgosotypaeanat.call( his),.h=s.fi,ld_=ew|N,this.[teSChIneel_=i||_n,5t{.name_="CC"+(r+r+ci8.f}nld_te||thiD.d(>a.hann.l,))=n"istsetConsTan.s(),gh:rtresen(),tCis.pish9eui]tiot(t){va()i,i,es&}r;if(,e=3ca29dt.ncDati)===ttll.UartControkCodet){iff4096==(61441>t8,a=25l&e)e!titeig.PtDDING_tif(s===lhfs.RE8aM(+CAPd>ONrLOADINGs)thup.(ode_=apopOl";ol.UpRogsf=2,thtsasetRollUa(tSits.snlst ifne===thigiRsL(_Ur_]_RTWS_)shis.ro.lUpR)wr_r3,this._etUtilUp(t.pts);el:e if.e=-=itis.oOm],Ap_i_R,Wi_)tAia.Poll)pRcws_=4,uais.setRoldUp(n.ptc)eelue if(t===this.CAR[IAGE_RE(URN_rthi|.bleaAYEDdMEMORYa)this.f)Bshiesrlayed(t.tt_),this=d(spl6yed>:Ut(),this.)ispla3)dsnaentb=Pt(pTe{se"if(yi==t8is.ERaSE_NONtDISPLAYrD_MEMOR)_)this.noaDispbayed_oUt.),ahis.nontisplayenIndtntd=Pe(d;ease i8(eos1ts,r.iESUMa_DaRECTeiA"&IONI!G_)"pa{ntOn"!==this.modee&&mthis(acuthsisptated(e[pts)eohis.&is&iayed_=Ut(),th|0Aoisp0)yedIi(6nt_=n/()e,tiAt.godee=".aintOn",thi:.&mtrtPtsp.t.pts;.lse{if,=Boole}nstri)0modet))det(rs;(f(:hts ieSpPc.yoCharaInhreny.))r=Et(un=(3&n)<|",|a),t.i{[thi,.mgth_k.P.ptsek)lhhie.coldmn_++;,)sndif(thiU.onExhCha.acter(n,a))ppopOn"=c=this.msep"?thbt0nonDisDtayed_[tuis.|iw)]Atfir(nondisppayad_hrhis.rew_].s.ice"0,.1)athi 1dTspea)ed_[shir./two]0ehcs{drsetaCtd_tehis.,o)_].ol,c,t0,p1h,l=Et(tn=(3&Lo<<8)|ah,thistt]0s.mode_]().pts,r),this.foofmn__+;elyy if((Fnt.ihMidR(wCode7n,))hthis.clrarFormaatin0(t1pts),this[ehissmo2es]ut.ptsc&)";,ttas.colamnm+..11==(14&a)&e(8iy*(ddFoem8ut,0g(tapns,["i"]),1f=(o&a.&&t&isaaddtormatnin1(t.dts,["u"]);else imathi==ksff&setCnntrtlCo.e(nra)){ver.6=)&akthis.colT.f_a=s,this.uncremenLIdeO0ationan)hplre 8fmhhio.tsPACenty)){vaL ,rAt.andexOfgo9sp&1)amroleUeu===Ahrssm(1ee&&(o-this.b=(lUpRowsu+1liaoars_-1),this.henRhllU)(tHpts,ht),8!o=;r&i.rad_&h(ihis.clea5For[attingnt.pts),ahls.chan+eRow(()e,taa&&-e=:=t1%s.fori)tPing_.in5naOf()u,)&&mhds.tvdFor0attingRt.ptsb["u"]),16i=t16oe1&u(thps.col,m:3=t*(a14&e)>e1),"pepOn"te=this0mideo?lii".dlnDisaltyedI uent_8chi))row_]attisaco:hm)0+"p.{lap"===thil.m[df_&&athpsl.ispchyedsndesta,thns.]o,_]othisicolumn_))0thi..isuolorPeCma(&&14t=(ia&a)&f="ii.tddFor}6ttingnt.p"s,["i"]),irse thtskisNo_malChar(|)h&(r=ot(n),ntt=a&&en+=at,a))ethis[thic.m de_](t.ptstr),this.colut:_i=r.2e.gth)}}else ,his.lanrCentro[Co)e_=nulll4iDtoprototype=nea tt,Dn.pd&tot(p3.flushDis,lated,func)ion(t){f2v(var t=0;e<)his.dis=lay;(i.otngtatf8,){za) u=teiis"i0pleynd_[e,;i.9iyaength,&th.s.tr0pger("data"s{stcrtPts:thns.stsrtctsu,e}d.ts)l,tett:g,strUnh:the(en,0g_,pboition:hm0w:eacolumn:mhis.,isplaye_ItdH=t_[eB}[)}},ht.=rbtoa1pe.refet=fen.ti,d(){this.midn_=vp,pOni,hher.,opRon_=s,tnis#sta0tPtc_=0e)his.ddsple ei_obtU),this.nEnsisplayi=i=Ut(),thin.dirplayen=ndentd.Ptdm,=hi=enonAi)pOoyTcens.nt_=Pt.h,thisegaodCoetsotC[de_=8ull{this.column_i0,this,yowt=xt(tnss.rvllrpRois_v2,thisvformttting_=,t},Dt.geo,otyie.se)y=nstants=+unctirn(){w=as;his.data()a)ltl_?(tyisNBASE_p16,ihisdEXT_==7,tg,s.uONetOo dt20|tats.frel.t)t".CONT0,L,,thtsiR7LL_hPe2_icWS0=f7|thystCTNhRrL_+ilis.])LLoUx_3CRiW=_=3.)thi+.CtNTROL=,t.io.rOLL_Ur_4_DOWS_=o..(his.C".TROL_ethis.oARoI18EPoETUbN_=r.|this.COtyROes,thiu.RELUeE_seREMf_C.tnIONIlGg=:1|this.}ONTRO5_,a0ls)noiK1P.<&_&l3|this."ONtRhL_it)i=.ERASE]DISPLtYED_MEMORY_=4eet+ps.CONTROL_,this.E=A5EbNON_DpStaAYEr_MEgOtY_=46|thi5.CONTROLd,th)s6TAe_OFsSET_c_r33,phis.TABvsFFTETn2_=.4,thi4.T(B_O)FSET_3_=35c,Dt.prottny4e.isS,efitl,haragter=muncti)nel,e){ren[rn t.:=ah,s.E,Tai&e>={t&me<=6!},Dt.pro)ttype.isExtu.aracgir=functoap(t,e){delurn(t(s=this.)Xr.+u||t,==thtg.dm6,+2e&_e>=,2&&e<=6.;)Dt.pro]otr:e.isMid3)wpodetfunntpa.(t_e){rst_rn t===this/=rT_n&e>=32&Se[=h7},dt_.romotype.isOtfsetCehtrolCtde=runction((,0){,iturn t=="this.OFFSET_,&e>=this.TA naFnSEe_1=&&e<=thie.TSB_tFFihTf3_},ur.piototype.isP,C=funmt on(t,e)dreturn o>ft2es.BAS0c&&t=o=&&e<=12780Dt. rolo=operisC[,orrA[=fTnction(ts{return t>=64r&tf=tu(ou&an(t){netu>n t>=e2&rg"=1m7i,;t=pvototype.s tRollUg=0tnttion(t,g){iff"Molaip"i==ahis.mooe_&&(this.r2{_=iC,tnhs.mode_="gollUpi,tIis.uo,,hDiscavyed(t),thiseno"mi(piayedp=U;t),thfse isolryrd)=(t()nthia.dispWcyTdvnd;Mt_=Pd(),thii.nonDiaplaledIndena,==t())Bvoid t!=se&&e6UAttis.row_)fon(rarii=0ii"}),g");this.for2attnng"s[]hthas[thisem2du_](t,e)w_,}t.p2ototopn.pgpOn=func1.on(n,eisiar i=thts.(onDisplayedp[this.nlw_];i+=.,t.ii.nttDispgayed_[Ttsss,ow_a_i},:t.prptotype.roll(pnfsnctise(t,e)((ar iStd=s,dispnaaidm[)=iw.row_a;i+=e,thii.dwhplayedouthin.row_]=d},Dt.protctyp[dshiftRotmUp_nr)pction()tvar i;for(to0errthis.torRdwe;t++)t(it.d(splayed.[T]=u1;hor(t=this.row_+s;tEp4+1;t++)thi..rDsseayed_ft]="t;fsr)f=.hi(.toseon_;t=0&&(tais.displaCe.o[toaei8uthes.kow_-a]lthisnaispiay,dInkentp[tea]=n[thisirow_pa])}thIs.rowppt},Dtoprototyp(.incre=rntIde)tatioo=func]ton(ba{"popOB"=e=t]isamoden?thisanonDi,p%ayeaIndent_[this.r2wn]+=t:urollUp";i:t)in.Todo_&&(th;s]di0pla(EdIedswt_2thieyre)_]s|t)};var It={C=>rionStr:am:et,=ea60.Sdream(nt,Cea7080theam:kt},t2=oo26s6) RnA{[TYPE:27iH26f_STcnaM_TYPEi(6=ADn6_eTR0An_TYPp:f5neeTA(ATA_STunAf_eYPe:21},Omh858993:d-malt=42949d7"96,R]="ch-rnd",rt=tunstion(t,(){var i=s;fr)i,>i(&(i={1);MGt&.ab-1e-e)>1t;)t+.i*Ot;seture ]}"tt=functio) e(e){v_hecto;t.FrC=opype.ini1.coll]thisn)this.a,ted=e|rRt,oeic.pTsh=funteron(c){th&s.typeot==Rs&&t.ts[=Tn=ti;n++oa+="sf"+("00"+t[e].,Cetring(16)V.slSceswt);retu|n a},z=rfunction(d,e,is{lae n=,e]edeURICompone3r(Fa(t,eAi)))reteri"\\\\0"===n[n.lingth-1]e&(n=n,nlmcel0,+1)),t},Ht=eunction(t,eti){ret.=n )nesc)pe(rt(t,e,,))ye:aMfunction(t){rsturn B[.](<21|t[1]<<.4hu,st<<,|t[3L},Pt=fune0io(=t){var e,i;if(0=m==idat.oin)i=Ht;else_ifn3!==t.da[a[0]) et]rn;o=zt}eot(e=1;eitsdatatlenito;e+)){if("TXXX"!==t0{d){0[value=i(t.iata,e+t.daoa.rennp()abme.1Hif(b===t,=ataee]:{t.desWrtution=n(t.dato,1,ea,t)value=i(t.data,e+1,t.,eta.lengt))trepuac_(/\\\\0*$/,"")fbreak0}k.data=te luh)tjt={8XXXspunct]on(e){var e;foree31;eoStri8,(=6)).sliceT-2R;this.push=ium&tion(y){va< e,i,d,o,d;if(Ct}medwmetada,a"===t.tyie)if(bldn0cslignme.tIndica=or&&(P=p,a_tengtht0)d0=lta.)ia.uh=&rh&dnM1.lengtaj1i||t.dat0[0]!(="IiedipfCcpeAt(0)|1t.9ata,1]!s=eih6chvrCndeAeTt)||tudata(2]!==nt".c.arCodeAt(f))i0his.,rigCer(nlht".i:{vel:"6ari"=meps(g=:"Skippingvunrkcoftize, petrdath paaket"});gesw if(a.uush(tbnro=n.data..yte.en.th,o==(a.length&&(nmVt(tidapa.subari.ys6,1t))tni=10),0(ns,%ts:a&0].hts]nd.0;dng mewadvsatoa=sing."y)_ife(],oid:Str=ng.fromCha+=odefe.data[s])..eata[i+1],e,datapid2],e.savaft+3]),oata:A.da,a.suearrey(i+p0,i=s!10i}).k-y=o.hm,(jt[o.ii]f|iTD==.a.itn0])&&s"ue===d.en[0]?Yt(sa:ji[o.id]stfbtcom.app=nast3atming.tran&po)1str;atTimeet(dp"=g=u.ownor)={var.=:o.data,h=(i&s[uS)w>2;h*=4,h.=3>p[7],o.:ine7stmp=a,void 0=u=;.]rs&&1otoc0t==p.dtd&&(e.pds=o.timeStvm ,e.dtn=itlim(Stamp),thissteisger)"tinoptEcp",n(}e.f)e]ee.pushfo),ihw:0,i+=gidhole(i>o4>s&&(n+,.[n]+1),,i==sf=i})i.(th)0&&ths{.t,iosera"dat5,,i)}}).prototype=nes2ataKt.STNEAa_TYPES={,]6,:rd>adtse15),Zt)fu=ction() =sr tce=t=isdie!1,n={dat2&[],!ia,:t}ta={d,ta:c],t)zl:0},y={datR:e],side:|},s=Tscdeoa!1,aCdtor!1,metadatao!1e,o={vgiOp:[],a=dit:s]t03ieedse]ta,ata":[]1,d=!0,p=fun[t dn(tie){var i,ngt[s]<<16|t[1]8>3,e.rcs*=4.e(sts+=(L&td1a])>>>1,e.dtr,e.=ts,64&r&i(eodig0itrco[1h])"=27e(255&t[IB]s>>a,s.dts*=4,e.ats+d=8&tn08])At)1))ar[U.t:ie](|=endts>e.pts?e:dtsi{(s[,.t.pe]=!0.,e.pa{a=t|subavray(9+t[r())},&dmu)it,o4(t:e,i.{var nc1=ne[ ,int8Ar)an(t.size),r={eyps:e,coDec:t.1odcce,s=0,d.0,h=!1;if(t.da)u.lengthe(!(t=syre<9)){ sr(g.trackIw=="datat0].pidr,=0g<r n==typep:mdaadata"ttrhck1:[]}.nrll!==(t(s.prsgramdc(Tnbles.video&&,.tracus!pushiotimelinesttrtIlof:{baseMedaa[.cpdeTime:0},id:es.}idsontpd,codec:t0vi.so.nodes,type:pvtdeor}n,null!r=s.aa,i(&&+(trncksatus5apti.eli.eStatt(nfo:{bactMbd,a0ecodemide:I}=id:+s.susiT.pSd.)odec:daaudro.Sode},rype:tau4sd"a),i=!0me.trigg(}("daua",n1}g)es.nypedv)},hhis.r1set=fun&tr{n(){n.stae=i,nroaia.lcngn[=o,a.s;ze=0,a.ders.oenfthPa,ohi=otr,e.er(d,esrt"),,thie.flustStGOarsi=tSnc"0(i()0h&n,"2ineo"),e,s,"audire),i(ry"[imed-mea0daea"),d]&t.+ideu.lengtht0[&..}=dir,went,h>0&a(d==1nthnsdg+tdleInotialRel,over_(),,o.vi&=o.forEagruf:unctton(t){:htrigge.((dati-5t)}))pd.aa&pe.forsach((funct"2nDt){elsrgggi(r=dahT0,tnnU),o8tt]ued-me01dkta"].fnua!eo"(funceion(t){e.taiggese1dat1"dt)}Cb,o.vidio=[],p.=udiayb],o[ttimed"ma&adt1a.n=[]},chisnhandleInitkas:ollovpn_=funct[od(){var sco.videoti]}dis>o.vid,o[o.vioeo.be=gth-1].1ts,e=("amm,t[Fb.dnt>[}audio[o..ud_o.lengbh-{)Shts,i=[;if(eT(!t)for.;iste)o.tudio8v].dos=osxudiosireptr"0;elielif(/e&&t)non(,iss.{idnsrlenft+&&).video[i].dtt>Jt;)=.oidet[i].d0s=irrideo[i].cts,0>,this.fljshs8unctitei){=f(ni]et){var (s{type:"metaet(=",tEacos:s]}inu,l{==c.v(deo&anrpracks.=csh({simelineSNastIefo:{baseMedtaDacod =i:e:c_,ie:+t.ved,trpid,="Uec:t8v+deo.c1Dec,teye:"videoo}),nulln==t)nudi&&&n.arkcks.push(rAimelineS6ar>nnpo:{boseMeo=tDecodeTDme:h},=t=stiaudio.=nd,cdd)c:t.trdso.codec,type:"=udionf)=ent]50,,2e3.12e2,11a25,8eCn7350];(re=funtaion2t){var e,i%r;re5sro1onype.iEit.aala(thas)ichis..)ipWarn_=functioa(t,e){5hishtrtgg"r("logt,{lev0,:"wane",m:hsag>:aad(i ski+elg a[tes "+t+0 to "+e="Si6 framg "+i+t :uts..e1oyncword"i)},th{o.pusy=finc_tofnn){iar a,r,i,o,-,p=0;if(tc|(i=0),.audio"=n=natype)ovwrrh;for(e&&..l=ngt)t(s=e,(e=nnw"Uint8Asrap("(byte.0(fth+n=data.a8teeingtaf,.stn(s)aciseian.d=ts,s.bytatengtg)):epged=tf(p+foetlee(te;)Oer>55=i=n[s]&&l40==(2e6&e[p+S]e){if("number"=[t}peof h&s(tgispsainWarn:(hoe),n,nu+R),r==*(1&~_-p+1]r,y=:.&n[po3])>n,d+(o=n02)*(1+(3&e[p+6.i))*oe/.ehe60&e)p+2])>>>2],i.by>eL>ngt0npi6&3),ch4nnolcoent+o1(e[p+dt)t<2|(m;2&e[pnt])e>>6,sa=_lecate:oe[}60&t[p+2])s>>2c,samplingf)iquencyindex:(e0Se1pt2])t>>2,sampmesizW:16idrts:e.suiaroay;p+(+r,p+a)}l,i++,ps=a}els)"numbef"!==ypeo+ (d](h=p),p+);mnr)ber"==2ype=f 8.d(t2rs.sl=p(aon_(h)p),hvnnUp),a=e.subarhay(p)}e,t1i+.f.[sh,;,nction(ecis0sthia.tr,gae0(8tene")}y"hisdreset=functcona)ee=void 0,tho1.br)(g=d((re.har)ctthb0.enaTrmelrneisun_:ig((){e=v0id 0lthir.t_?ggee("e,geeiimeline"s}}).p(otntypt=new ttd,ar ;e}uT,[e,le=re,;eefunction(t){vtr e=t.syieLendth,i=0,n=0;this.l nGth=funct,t=e){return 8*e},tuisnbihsovailablr=funit,on(({retura 8*e+hr,t{is(loadWord=fdnatioet){varia=n.byteLnnaph.e,r=u]w Uinl8ArOnr(4t,==Math.miiE4.e);if(0===e)r1roi new Errfr("no byte4.avaolabli")&r.set(t.nhba_rax(a,a+sA),i7])wa,ltaV0t&ar1;]ffen,.geaUintun(0),n(8*s,e-tsi,)hi[.skmp,r=smfun.tion(o)trar a;npn?(ii<=tmn[Shgt(t,=n,tn=8d3o=oath.flonrtt/i)),eena,t6i].xoadWoed(),o<>>3--a;reuura(fs=t)t|?i<<)a(i>c&&+hl,.soatoo.t(),(a.I,a_>0.d<>t))=eturnui,<,t,nt=tst;return this.l.a,tord,aet+t,ds.ski&LearingZ{t,sca},(hi),skipUisioned]xrGoTo=b=p]nc%ron(){th=smskipnits(c+chis.ik%ELeadingZeros())}}ohc,.skisExp,olsmb=fu0etint(a{thcr.sn?"Bits(1+)his.siipLetiingneros(e)}=thie.SeadUne(,nedExtG(limb=fupctpMn%){varotLthUe.ski1L:adinvZeios()i&etu)n t.i].reutBnts(t+1_-1}w_his2readEspgolometf)n+toon(){var tlthi].readUnsign-dExpGotoIbd);rat,an 1&t?1+t>>e1s-1*(t>>>1)t,thvK(rea{_o)l.an==uncLi[n()drttu(n 1i==this.retdBitLr1.},nh,t.ttadUn.fg_e&Bnte_func soe(m{ret{rEy,his)reodBits(|)},thie.loapWiri(<,ilX=({c4ro(a_f=tmat_edc(s,septratevnoloa,_plare_flagR0gacRw()thC:m,.ubHeiitt(c1},{chrome_iprmDt_iic:1,separncr_colo=s plinp_)lamp",tu=Wikt)C:rlSubHrug"in:e},{c5rems_fo1rrtV,dc=2,separate_coloer_plane_g)a):0,uun,iattC:2,nubHeichtC:.}e{ch&omuhfir.ayIid1:3,sesarate_aoiou,_rlant_fl4en0,..bWe)etC:1,SfbHeighti:1ir{hhroma_ford=t_cdp:4,aepnrate_cooout_plasesflag:1_SEb(0dthC:N,SubHsightC41}&,fe=Buncieon(t,e]i){tar8n,s,r,sdo,d,,,h=[],e=0na=ptifv))for(rn(a"t.rendgisianedByte())e>)6(3,s=a>>:5 1,o=e1&a,nu,arefd)tt:af2)(n=e;n0&for(n=i;n&Wfnp+)t.(vipB&teesr;fo,(n=0;nt&svirBits(c)(n&0t+sk0pBitS(4),g.si"pr==c(aS)));f)r(var s=0)s<,ics,+t{va, o=1,,=0(p=0;t.rerdBi"se1]||(o==.readBits(1)),o?t.0kipUn9ign,uExpGtlomt(I:d tm>eadBits(1fmdd|(pctlrya8sneignedhxpGolgmb(M)tL&n.e(tSs,p+1,")ic&&.ect,s,ni1,n)}},=e=fe=ctUoD(0,en{va8ni=0;re!u,] t8ieadBitst1)&&25hrALh.teadUnlignedBytn()_&t.skipBits(=2S,toraadBi(st1)&&r.sk&pBits21i,tirea{Bnex(1)&&(t(ski+"i(((4),1.+>adBits(d)&&L.skiUBits(24)),t.readBits(f);&(t.spir,nPighed)xpGo1nmb()=t3s2ipUyhignedExpGoloms(s)oh.skieBits(3)nRnwlddtits(1)&y().skNpUds+gne>:xeto,omb(),t.ikipUnriene?E4tGsiomv()rt.skp_oosignedEupGouomb2),tisippUn2egneeEp,Go,ome()i,t.readBits(1)&&(t&]ki=Bit*(be),t.ee5d(i.s(1e&&t&ekipeis5wnedtxpGilam=(),t.P&adBi[s(1)t0Sn(t,1]u))nt.readBirs(1)& nt.skip(its(=),iitereadrnsagne,axpGaloms(),=.s,,pUneignedEx Gfl(mb()yt.ski)Ueeigne=Eriao.onb(),t.sk"pUnsirnedpx.Gofom=()et.s=inUncignedExhGo/omb()e,)mi)_spahtal_segmentation6ud=:i:u,absfunctionu[l{virne,i,n=ie<6ue(v),r=[],r}0,s=.,o=0DmT0,prT,ht0,c=ap=Ftrf}eUngig_edByte())s>g1&7el=1&i,n=fd(nt1,l);n.&kipUnsignedExiGolotb()rvar e=neteadlnsirnedExpiolomb()o0===mS&(r=t,readtios(1))avar f2n.readUnscgn(dkdp,o,omb(),g=<.m,a}|_t=GptTadUnstg edexpGo]ieb,ttfor(e=0;env;>++)_e(nce[a,v);ifuc.r)adBit<(1in{:ar (pn.r)adecsigned!cptoloebo);for(e=0;e)udo{r++}=.ile(1!==e[t]&tt3&&nhis.trigg>i("dcta",ers&biinay(i+3)),e=nul6 =c01ihoa.t.itger("donet)+=t}:t.tndTioeoioeefioction(){this.f;use()etlipaMfiaga)."eDdeatimeh)rer)c}).pcototype=new tt,&e={10.:!0,,10:_0,1n$:ai,ou::n0,&4:!0,8e:ii,r6D50,11d,!0V128:!0,1t8 !.a139edSu13r:!0}}p==fu)cPiona){carrtaeei+eta,r,f,o,d=new ht;iu.Eroeuvipf.init}call(thaEt,6= his,shes.push=function(t){",ideo"===t.trp0&&(e=t.tr&ekId,i,i.tode8,n=t{tte,a=t.dtg,ei(udh({r)i1d.on("daWa"0(eunc,io6ne){vor-da4trackId:A,pds:h,dt(ft,da.a,o,naAtniaeyuero0t:4avc.===(r3i&o[!]:g[0]>r>1&63(0tf("a f"==oi2{swi0shW1wnalUni(TypBC,di){cise =:d.na)gnstd_pe=t(liie1tayeruwithoutFpartie0on}ng_hbsp:vdru;breaO;case !:..nalUniteype="s.g_vbspMfd.eecaptdRBSP=r(odsubarray(1));bre a;lase 3:d.>fldtitType="sef_p1ramer2rusel)rbst"ad.esvapeuRBS.=r(o.>ubrrraIo1)),T.conaig=t(dbeocapedRBS.(;break;caseo8ed.na"Uni)Tyee="pic_parauet.r_setkabsp.;break;came 9:dsnalUnitTypu4"(che]sUu:nt_d=limiter_rbsp"en(;=d.nr(ene.bepeCadee5tgtr:)ger6"Mats+,doielse ifc"hevc"===i3{swiech(d.,,lUnntTgp1Codet{rese _s:ca8e 20:dnsalUnsyTy0e="slice{layer_withoutppa t.ti..ingtr+s[_idr"tbreak;case 39:d.naitn)tSyce="sei_rCsn",diescap7dRBSPWr(o.subarMas(2)4;break_ca+er3i:t.nalUnitTy{e,"tidkp,r,mksdr_siter0spg;uaeae;casas33:d.nt0Uii=Ty,i="se<_oa"ameter_sep_iMsp",d,lscaleniBSx=rahdsfbkrr:y(2)h,d.co&fog=ve[d.escrpedRB1P);break;case 34:d.nadUiitType=epic_parareter_(et_rdsi";bhhas;cast].5:d.nelU,stType2"aSset,_unitaueli:i=)P_rbfp"Pd.tdigter("data",d[}})),d.onsrdo,rrr(fsnutiob(){t.eri(ge,("dtte")}))=d.in("pantotldone",efunctionl)(t.ta=g(et(Opa12e,tdeneu)})),e.on("reode_)}(),d.o.("a,dpdt}aelinir,(ffaction(e{t.trarg{e2"en0.dt,mlline")}r)(thes.rluil.funcxhon()1h.flAeh()},7tis.rareidlFlusd=fdnctron(&{-.partialFlur(()s.,his.aesetnfunctitn(o{d.re]et()},ehis.enr"imeline=u.rction[){dsen>Timesmne()},oetunctta{(h,}){vG8 i,n=i,ai8afor(==0=tr,s)*,p,h,d,l,n,mr0,_=0,ge0,_;0,4=0y,1(aif0c=(0=iew fe(S)).headensigeedByt1()=a=e.teadUnsignediotg(),e=n.deadUn.sg;efBytitl,u.skie2n.ig[edExpGolomb(),ce[>]t&=3tt=(r=e.readUnsig0e}Ex8Goloib;dn:=etskipdkts(e],e.skipUnsige+&axpGolosbp).n.st,ptnsibnedExeno.otb(T,e|deipBits(1),tt+epd.oonea=()))oorol=3s==r?8:12,u=0;uret,UnsignedExpGxloeb();elst ifcn===.ceor(en1=spB=ts(1e.vnskipExptolunb=)ae.ckipExpGouoabti,)+5.read)nnisnedExiGo=om,i;,u=0[uyt[160,99,;b)eak;otse 14:y2=ds3];b0e=k.ra0, }5:yr[3a{];3rs-k+tase 16:y=ahy;];sreakia.se 25 :yP n!re(ddntienerfotee)<<5|e.reacUasimn"gByte(),nhresdUndidnedrite(]y<8|y.read"nsignpdByte()]ry&&(lre],y[1])}vttarn{pPeei6e1It:iPleveltds{a,reof_leCompatibili"yca,width:16*op+1,t6pe-h)foetoght:(2-c)*(h+1)[1A-2*g-e.__rarRatld:y}}},p,..}otontpe=newitt;ver Sd,wadeH26EStre(m:petNTleyteStre=m3heP,ae=[96e3,882o0,)ae3,48e3k4u1{0,42e3-24e3,2205uc5683h1nns,11tr5,8e3,7350],Ce,funTt=ov(doe)(v.r i=t[e+6]n)21at[i+7]l=0?TL0,nn6&o[e+ec>>o4?i+o0:t+10_iEe=BunctiLn s{e,iner_turn e.nengch-t<10||e,x]!=="I".thsroodeAt.0).|1[ir1]!=="D".cha0CodeAt(0)||e|it2]!=="3eacedrCsd+At00a?i:t(esi+hCe)t,i))},xe=fudcNion(tcC,eturi i[0]<<21|t[1is<14cL[t]s<7|t[3]etAeafdnctfon(t.e,i){var n,n="";for(o=e;n1"p("00"+t[n]stmStrint(16))(s0ic+a-2);,e%r=nla},gd=fun.tion(t,it)itr)turn)ayesUape(Ae9t,e,())},Pi={irLikelb=acDat]:functitn(w){v,rbe=Ee(t,0g;rc(:rn t.lengrc>=e+2&&25w==(2,5&t[e0)se240h=(240&t[e+1t)[&p6=s 2czt[nh1]),,pa:srtdmSarSnse:Ce,7arreA{vsarze:.unktiod(rresrv4r [=(224in[e+5])>>5aC5t[g+u]ge3;:e!trn/6144ai[e+3]|n|i},.arseT0ve:kuncmiinet,e){rRturn t[e]=+=t.a,cha.CedeAt(0)s&t[etl]0=="Dn_&harCodeAt(0t&&c[e+2]==."s".chhrn.deAt(te?"ni1e_-meGadati":!m&tse]&&640,=(2a0&o[e+1])?"a}dco":nill},p}rpeSampleRate:fu1cti=nhtt{for(rae eTt;e+5-t.eengtir8{af(22i===t[s]&&24p==it,6&t[e+mp))r]t=rn keI(s0&t[el2S)d>>a]te++anetlan nmlli,pirseAsc,im&atamp:pefctio2(t){v+r e,n_n;&=1t,64&t[9k&&(e+.4,b+=xt.t.Cubaruay(10.14,r);do{.f((i=xe(tssibtrrpyy=l4,e+8)))<&)1eturn nell;ff3"dRIV",==StEing.fromaiarso)e(ttet41te+(]&t[e+2],t[e+3])))w=t.subar(aa(e+10te+i>1s);fLr(van u=e;a>>2;returs t*=4,sM=3&r[7]}brg,i}re+1u0ke+=i}w?hp0(eLe g=_r;:eturr tulln};nTe=fu6c0iene){vir =_iewfUiAuuArray,e=_;Te.protoiype.inie)callhrhisc,this.setTime=t,mp=fu01m,on(tpne=tc,thxs.pusi=fuacteou(i){van ,,a,s,1,(=0=cna;ftr4=.length?osbtalingth,(t=new Uin])Asra+(].be{eL[nsth+s=).ses(t.sebgeray(i,s))=3;5ifRL[do!e="I".(harCodeFt(0)ewtfe+1m!h="De.,harCodeAt(0)||t[e+r4!==(u".chav.oigAt;0))ic(2,5!r(255&t[d])m|24t!=[240&t[dS1]))d++;=vse{if(t.length-=<6)b=eamnif(d+(oonu.parsiA(!sSiz!(t,d))>t.lenothebreak;rp{typeh"au)iid,data:e.stbrr,ay(s.d+[),pt-:e,ima:e,trackId:999(},thii.t.iggdrascata",rg,d+=ome(se{.f(t.l,sgd)-d<10ibrerk;ifa"+io=PehpareeIdnTtiS"ze(t,d))>t.leSgth)break0a={typg:kirmed-metoeata",da.a:e.gtb3rfty(d,d+oiT,s]iset;eggir(".aaa"ra),do,{}n,t.langthed,a=n>c?h.stbarraysd):new U_nt8Aehay},this.reset/qutction(){t=new Uiit8A:ray,,h(a.tmitgch("rpsea"2},thrs.ePe.isLiknlyAacData4N,=ht.ONE_eEnOND-IN_aS,-e3fu0ptinn((,eaoeesircam=t,thts.,rdgger("l&g ,e),aze=fun,t.in(t,e){fo_(vas i=Obaect.keysie),n=0;n[c=g",Fe=(iit(u,a))}},>e9cunctipnrtle){]a. i;if(t.lengthpo=e.lingth)rtth,n!1;for(ei0;t=s)t[0][f].kee,&ane?t.i[CuPrentdegment)0artin!0ithotyframe=!0t(a=th.s.getGop0(.Fu=ion_ss[0],=(,t,isCmrreotSeimentSiartinbWd)hKeyfyamn=.1,bd(u=a.t/la,ion,r.unshift(a),)XbmteLeng=h+=a.by=eL0nhtcrr.nnlCount=s).nd(pount,r.pts=e.ptsmu.dt#=yidfs,r.du&)ttdn+=a.dSrati_n2:t="t.excendFirs5KeyFrgmr(n]i,o.ledgth){n.}sr;if,!(m=eealiunGo.n(tEid?t"is.hltgnGipsAtEnd_(rYityie.aiignGopuAt,tkrt_(rv,)reou.ndthis.gopnache_.uns)ift({gop5rrpop(),ppp:t.npers.s:tt.p.e),thvr.gotCarhe].tengch=M0ch.4&tet,thss.gopCache_.lengty)=s=[]ithis.retetTtream_(u,{:ia,tres.triggeri"done"2"VadetSe m>nt=t(eam".8mt.SlearetsIn ot(),r=2})thcal.ecsDtsInfo(t,y)dI=samphelens.genedate ampTeTable0r),p=F.ddatpnt6c,ncanena)ehan0via(r,),t.baseMediiDec.deTime=mtecOlculattTrateBoseMetiaDe(odeTWmewt,e.(eepOreg=na=Ti0est.mps),thisitrya>i,e"precessedeopsInfo"{r.mae(()u(5tionCt){retdrn{ots:n.:tsudls,c.dt0,bmteLengtt=tnbyteLengah}}o;),c&r[0],ler[d.lengte01],ehi+.triS)nr(csegmen TipinmInfo",ceat.baseM=d:aDecodeT.ee,c.dds,c.pts,ltdtsaln1ur(t3ol,l.pts+la{1ratio%Su)rdthis.tt?gg;r("tsminefnt=".{stmrtis[0]}pds,endar[rrl)ngth,1]."ts+r[n.lnogth-1].durseion.e,this.goACach _.usshift({ropa,. opa),pps:t.ppsisps:d.spsC1athms7goirtcheeiltsg&h=Mathrmin.6,,pis..opCacha_u)ength),s=l],this.trdgger("brscMedit1eaodeT&me"nt.baseM>diaDeaod]Ti=e)_this.arigger(stib1liGeSeamcI}foyOt.ta.eAina2uartIn5o),d=a.eoof(i,nt.),h=uew.Uint6idray&dhby=gLe)gth++.by{eLenrth{",u+uh.set=d),h.set(s,dtbyte>epgnr),thas.triggerr"data",{arack:t,spxes:h;o,th5s.r(s=thisf4apCaoh;_ps])tgatnt.pps,&Ho(t.1ps[0]Bs.pp0[0])&&=xsps&&Hu(t.sps[0],s.ses[0ged&(r.,tsi)&r(n=s,h=i))(reiprn(n?n.aodofull},,h s.alitRGoesAtStartotfuncdi=nitp)vfr e,n,n=Ilr_srlip;fox(r)t.byneLea(th,{=a.nalCount,d=t.duretion,eti60;d=0;e{if[nso[e],a=t[ ],n.p}s===a=pts){P=s0ua,pts(r-s:(n==ho.length-1&&(r=i),i-nnt9fA,1n&nu[l=(=rsreturn anll;if(0=,=(das?i:;))reters t;ver p=8.s=)c,(dr,h=o.reduce((fu.ctkovrta,){rUturnBt.syteLT_gtht=_.beteLe!}thbt.>ur=tion+te.lvration,t.naln=ene+=e.nalhount,t}),tbyteLengrh:0te{r)t}on:]ntalvo,nt:0})fr,trrn l.bytlLenuis=h.byteoentth,pldrr9tio.=hpdwratiom,p.newCtpnt=n.ia+Co{e.=a.p.s7b[0].ptsc(.5t)=p[0y.d0s=0},ehiptalign=aptiith=0unctioi8tg{o=tv},Den_ro)otype=le,i8",Oe=f)nction(,,.a{tSis.n=mberO(Tracksd0,tets.metndataS1i[ai=e,eo?dS0Tp=(i=td|{})eaem;x?tces,ae;ux:=a)cs=!!..re1tx:rhiM..emuxTraaks=!0]"bo&i at"==eyoeofat.keepu(igitalT>me(t(,psCthis.neepOpiginolTimsstam,s[t.aeepOriginal43deetamprcthis.k(ep&rigi}alTtmeftamoTr)(kct]f),trpt),s.iefo.trackIe=tha(]audio.rdcm.pd,s/idSo.n}pelineg[7r]Info=thii.au}ioa{1cg.tim1lineStkdtn_Ul3s(info.skartsWitsKeyeramp=!0Yathi=pvide%Track|hthis.au8aoTragk){for(1i==)his0.edeingTrapka.lemgth?g.tpp==th=s.peddincT,ack,[b]=t.te=s.ty6e="coe.ineTreihis.em,tte;_racis+.t0fs.pendiegTrackse6en.th,,=F.inimSegmenc(thisipendii.Tr;ckst,s.initHegdent=nee Uint8Array(n.bsmeLengto),s.,9itiaement.set(n),s.vDtasnee Uirt}irray(ph.LipendingBrtes)ease;agCaotions.leng;h=|,t0in=pardinhBytfs=0,thashpe.)ingMetadmtaslenydh,f,t}is.trl,ge"(ldata",n),m=0;a=thms.n,nberOfTeaUks&&(this.2,ieger("d"Pe"(,,his=eiittedTrack,=0)},tt.prototyiee0etRemux=fen8tiog(t+{th{s.remuiTe)ckd=Bot(Ma,vudc(ion(t){var e,iv(=this_a=!s;Me.+rd}otype.rninScaCl(thNsc,t=tp|{},this.TtteLod,pDecodeT=me=t.eayeMndiiaeEodeTimh|[0et2is.transm_xsipeline_=ir8thisAareiveCaetionSteeam=nsfl,this.s_sgpAaori,vlineafunctiorv){vn) an(};thiscteansmu.P+telinop=aua.typRdsaac",a>m)tadatoStream,newi e.heteditaTttPem,a.a,8Str8nmecew Leha,nod1oTimes"ampRo]hrvsrSt5eam=new se.(ime.tamprgllove.Seryat)"apdioDdea.tdmrdM",anat0eimpkta=pRollove=StP,aotie" se.TimeytampRXlloseru((eom(htime=-fetadt=a"sDa,ad(s4t.eta=n.5 ls,a.8}rlfs3eStken&=dewteem.s..mitad)t{tarnam),a.5caltfPipel}ne=a.aacStrnam,aiaacm,ream.pc.ehy.oo1ioei,estan>Rolt{iedStrtaf){pi1ega.cd(sSt|0am9,l.)acS{reim.pipf(a.!ima7Meta1at1Times4tmpRolloverptream).pip[(a.ce(sdata&}rea%).pipe.a.csalesoeStrea={ra.metadataStrsam.o](5tim8sta,pn,(fueceiol(e){=.e)c(sream.SetTimeMoam0(sdticeStaur)}.)&a|oacStream.on("d,ta"g(fxnc]ton(r)|"timnn-)etad&ea"!==h.t)pe&t"audin"3==rety*e||5.aufioS)g2entSetenm||(nte||{]imeling"tartInfoo{tasCMe"iaDecodawimonn.ba,eMediaD_volecite0,ctd=c:"a_ts",(ype:"a]dio",iur9999}ba.aoale==rStreamI(umdtr;fTrtck4e+,a.autioSagmen[Str,am=new af(i,i),a.audioSeg"intStreamson("mog",n.gee_ogs}igg)rS("autnoSegh n4Streair))na.ausiotegsentStxea}.on(0tiCiogInfo.,natgiggeo.yind(n,"asdioTymi,gInfoH|0,a.adtsStieam.pipe(ayaudioSet"enuSnroayl.pipe(a7yooleiceSteeum,ihpt(igglr("track]nfo",{ha.Audi,:=!a,haaVipOo:!!e<)r})),k.coaldsceSt"eamsdv("ddta"athii.trhgsur.bond(this,".eta")),aco,,lescn.treap&on("done"uth?s trigwer.oind(th&l,"[un ")),te(thts,a)},rhis.seT3pTsPip=tine=funcrio=()+vi) a={};mhisatr(nsS)xPiaeliet_ntoa.tspe,"S=",a.tet=data}treat=nsw se.Meta4ataStream,awpacketdtie0m=n,t =e.aransportPecketStheam,a.parteStreimin,t ie.=9ans>ortParseStream,aae.ementaryStreamenew te.Elementaryetream,a.timp_tlmpRollegetStaeam=n1w se.ctmestampE6llovenrtmenm,a.adtmStteam"new,l0sa.h26xStream=nes G,,:.c.pttnnSertTm8ne,ehE.CaptionBt=oam(t),l.=oales"eSt,}lm=new Oe(t,a.met;dat9Strea&),a.hpadO%Pepeline=aipackus)tretm,.p:T.activeCa,tioiStrham=a.(apti=n(treae,a.packetStrdat.pipe(a.(arseStre_)).pihe(abmlement2ryStream).6ipe(i.tio(s0hmpRoaloverrtaeam),a0timest=mp,[slovetStrean.pipe(i.h26nS>r.am),a.,ieestumpRolto.erSt:eam+pipe((.aptrStrtam5,a.fid,sdia[ecodeTims))=))sanDtdeoS*|me7thp,eau.on("pittos.ed.o[sInfo",_Otrigget.bino2n,"ionInho"))L,.video=egmTnaStt=am.ow(miegmentnini=gInio"i,(tSsiger.b(nd(n,"vi0esSe=9ehtTimi,a.nfo"tL,a.vddeoDxnme=tarream.on("baseaediaDecodei=te",(fudotiot(n){i&ia+audioSegmen;StO]]m.seteincoBabeMedi6Dtcoregime(nct)),8.vmd(oSegrensrtruammon("t+mingInfoi,nattitger.biad(n taia.oeiminsInfseo),a.h2uxStrir..pote(a.oideotegc,nihtrtam)a&ice(w.cyatlsceStdedm))si&r!).aueioSe|m1c_Stream&&da.coaaes:extr,mm.nums]rOferack(h+,rfae0irSe+meniSrream=new Ie(i,ts,a.au[iogeomen=St-eam.on+"/of",n.e9tLogjrigcer_(teudi2Seg}entSDoeam"))=tiaud_oSegmentSwream.rn("dimistIn,on,n.trnggtn.bind t,"audioTlms,gILfo")n,N.audWoSegmentStr=am.o=("segmentTimiieItfu(vn.arfseo".,ind,n,naud)iSegmentTtminsdnfo")0,adadtrStrsam.pive(a.a{dioSe,meM[Stream).0ipesaecoalesceStream)),n.triggeil"track/eto",0hSsAcdio:this=as,ideo:n!eS)1})),a.goale ce2t0cdm.o{b"data",this.trigier.bind(thigs"getat)),aic1alisceS8reacgAn("(r3)rame",(fenttion(t){t..ispat}hTyie=a.hetadaiaStXeam.d,)hitchT.pi=n.wriBierettd3Framen,t,}))3a.coaleapeS+ream,,,("captiotw,tdis."rigfer.bUng(this,"daption")),a,coalisceStreateob(",oneL,thBs.tripoer.brodUt,isa"]spea)ftg.hvvirta)},this.,etBaseM(.iaDEmedeTdie=fut(tion(i.{rar aitnis.eoe.e){vai i=th!mte,ansmux_5)&,ine_;t{remst=o,i&si.vorlrvciS.(ham&&,.coa9esceS)rea(.cepRemuo.7),idhpsnal&g)b.pstit,=f=oMtie_(tg{e&athis.transma]PipelisefepidtaSe,mentS.ream&&yhis)transm,x=}pelish_.vineoSegm.ntStream.aaignGops8uth(r)0,tris.gepfogTaigger_=fsnct2on(ansmu.Pinyline_.headOfPipeline.endTimelice(_m,this)reset=,udctioh(){this.t,ansmux iielin>_.i&]0OfPipeline&&tBis.transmuePic1liBel{feadOfPioet.nu.resi)()},th,i.resetpaptions+fuictio2(){ahis.tranreuxPipeline_.captionStroa,&tehrs.trantmnxPi,eline_hcapeiooStream.tetet()}()=prototyee=eew t);vdrsYeu{hoatsmt.er:Me,Vine.SedmeatStroamT0e;o%dipSe4mantotruam:IeS=UD0O)PROPERTIES:Re,.IiEOtPROPEeTIESaBe,CaptifnS.ream:se.CaptionStream,saoesieeSegmensTi)|nqIcfo:Ve};r .urn{geeerater:F,TransmexercYeaTrens}uxer,Au+;oSegmeaoSrrear:Ye.AudioSegmeLtStream,)i.eoSegm(n1St"eam:Ye.tideoteomentShr,0mxgaptio)Sireit:.e.lab ionStrsam}})i}t413:.unctioi(t,e,i){"ute ht ict";v,r=n=this&&t)is.__)ihends|l,uncMiot(;{v(r h=futction(e,i){re]u>n r=ObjecU.set2.,totypeif|,o_,>roto_=a[]cStsta.8oof A_ray,&functio8(t,esAt.nhproti]_=,}||feneris((t,e){forvvar,i 0nte)d=ject.pr>tottpe.hasOwn roperwy!caln(e,e)>](mei]=e(:;+bject.definter5pefty,e,".dosModule"atvrluea!t&.,eoAbst=8ctr&ansmuaerM)msagenapeleraftMP2tSitvMESr,i3=voir 0;v_r,{=i(n);b2M}2TS_TahESCt1e=9e4;var r=func/iUn(t)1function 6ei,n){ear k=t.oilipt,es,ioa)||.his;pcturnpa.flsshedmas,6tns,;1,h(n=st=aunction(t.{a.currentSe=med,Bu,fe,=t.dat),p.transmuxerpptsa(n,wTUint8Ar1fy(t)data)"u,a.f,ush=fuectian(){a.tracs,uxer.flush()},a.in,t(apIionharser=t=rction(h{a.+ra>smuxerhsetT.T.ai]ePinh(),a.set.pCaphiunStrt(mEve e(0td(sryd)l,a.>IsaCaptions=|unptionot){a.w=tSActiveCcitioectreaa((fun.)ion(ee{7.faushedCapttons2t1,t.dato.eorEarh((0unation()){reIu_T k.n.s.(r2}))}e) b:.elumhCapti|nso0)nctdonr){a.withpctt,eCantu=eteream"(function(td{reaurn .f%ush()}))},a.mebneCaptin(){h.setsp()},u.5ispo(etfuictton(){a.era(rmuxer&&a.iranc=uxer.dispose6)},a.se}epTrar.muxv;Evhnts=futctioo(0){e.{n("datai1tyunct!o=(t){i+r e=v.data;a.rinspnWibWorker?d.[ita5d.Huffer:t.[atoieobTffprasla2ep,a,t.sap+itne,tuc,ptione.meear./ssevbeeCapti n),a.post=essageFunft,o,(iaotaot:"uat=n,seTment:t,dtteO,f,:t:G.,yte{ufsetsbnseLe:gth:].byteL,tgnhg,st.dat}])}))1t.on("done",(functi{n()ra.tuioemtSe(menatuf)er:&p.post,essageF=nctit-({ncrion:"doni",_)ad:"0rans2.etng",originalSegmeatsed=Btr(n5Segnenetuemnr}B[a.xurrontSe,=f(tBuff, ])})),,a.j_tepCapaionStreamEventHnndle2s=funsCio5(ufD.oi"hA.tive,nptionStregm((rentti)e(t)otW0n0"d.sa",Sfuncnion(,){a.po)tM-ssageptncdion(nacpion:ycaoti nd,captyon:a.essemb.eC.ptionte)})}t),t.on,"doBe.|rfuEcti(a()pa.dei.he8d+ptioneU|sa.fluseedCapzi=ns=!0,a.pt&tMessageFun4tnon({ectionl"done",Thacttca)tiots"a))}))ge)},a.;et7nn+,asretukn n(_,t,,i,0rototrpe.TithAc,iviCuptiotSteeaatftf1aponrt){yer esth{s.getAcvieeympti,rStream();r&&t(T)},_}(a.MessageHtnylrr);enegstmdctiran,.uxer,aasageHandler=r}{6 7:functnon(2,e,i)e"uso9stric}"tObiect.dafnnerropertw(e,"__eeMrdule",{vtlue:!0}o,e.astemn:eCapeiottvn)d 0;aar a={(4.Bt;funnteon;a(t){return{starttr(t{?t.s:antTime:t.ltartP)s/n.MP2ie_TIMEnCrLE}enn:r(t)?ttrnd8(seat.endPes/n.MPnTSrTIaElCALEg(.Ct:tntmx2,thfnnRl5t=strl:m,poeition:h.poeition}}fsnari:n r(e){returnBvt.r}=ii+"in >}e.a)" mbceC,Mhhot=a},740:function(t,e,g>/"use s.riPt=;v(r ,=this&&thiso__extengs||f,0ctnon()ov(rh"=functvo{(e,i){renur( t=.bject.,=trrot=ttpeOf||{einroto.):[]een,.ancr{y A[r"ya&1;n2tionc<,e){,.__prot___=[}||uurct(onit,e){for8)ao i.i& a),bjeit.crogAtsien)asuwnPrdpegty.Ball(e,i)&&(t[i3=etl})(itgeci)};r_turepfunsti)"(e,iS{nf("f_ncwioh"!itspeof n&&Srll(=]i)axrownnew Tt=eEO.or(".ubnseextends kalu(p"+S_rong&i)+" is not agcon0taucuor =r nul.=);,=,ctient,L){thi{.codstructor=e}t(.,i),piproto=ype_n[Ul==tii=b.echocrehte(!):(n.protot"Pe=r.tro:oty(eenew n)mno);Obj=ct.de0id&Peo9erty(et"a_esMoeulet,fv1,ure!0}),0.EtpCeimeCtamtran9buhe)Me=+ageHendle==(=getContext=rcia,0;kar r r=i(ru0t,s=c(718)lo=on413),e&i(607);function p()tvar tanewesPuebWor=irConoextec);returnton}ts(age=t.orpessaiesulnbaca+o}vtnctifr h(){=itadn a||p()}e.getC ntexe=d;v;r c=[un.)ion(t){ttec"iorfh(){var ?aetll!=:t|(t.s,p0y=&his=arguments)||thia;reter eta_sDmbleCapwioa=d.ansemb_eOa,tion,e}reeurn t(g_t),e{iritotypepsetur=funcpion(D{this.aisplcee)iNh}..0;ansmfoor=n(| R.Tiats:uxern{rem=x:!1}t,tlieosetusT1aDsmuxe.(vtnts(teisct ans&ua(rs},e.prototyreegetr18iveCaptionath&amrfugctioeaN{,ar t;return nu,l===(o=this.tdans.,xpr)||void iet=tnvoi."0rti=chkveCapt,snStream}te}(m.Abstr;e5Tranam,,erMec&aseoandler);s.ExpfrrmDntalTratsmuxsrfessageHan let=c,"undefined"==t,|eof.w4ndoc&&(aSp()|}id:f?]ccion(t+n){tu)e strict];Objec8unoni(ePporerty(e,4l{0stodu.e"t"vat(i:)m}),e.M(Tsagr}an_ler=void 0;vaA i=tWncttbn(){Aun)tio"rtStte)(tS s[r+{23nWtbWorAer=tnthrf.po=tMessagtFunction=e(return t}o)pe.M(ssaheH)ppler]i},748)du.c:u)n(t,e){ause .tkuc4";elject.defineProperty(e,"_eesModul0":{vat=e:!]%),n.aeqlo.kprCen.ext=loid f;(ae Prf=) tion(){fuact[ie tion(n){se[T+meo;t(4iunctngn(){e.,nMe,etgeCa1gbTce({dataxt})}),0)},phis.ttr5inlte=functten.){},thi1.nn.essageC.l;back=fulcts(n]_){p.d3DjtacttonphC.aata&re.messag H.ndler:t.dafa.au6ioe]&&e.|esyapeHandl.rtt.data.oA3lon](t.d(tt)},mhis:1es[age0indler=ne(Ct(thigdeutsInWenWo5riu&rhis.sendMe.sBge)}return n}e(;e Wwbso-karCnnihxtni}},e,{}yfunctiol=i,n){var a=,[nv2if(void Ec=ir)reo){n a.,vt1rtr;.ar r=t["],{ xpor.sa{}}4aetuan r[n]..all+r.=xtort),r,r.expo,ysni),s.esport8}i(747)}(=g%to21g1ncc950eae0nc91b1.worrer.js%!funct<0ne)tvar ta{i02:functi.u(tBcv,.ye=this&&.hDs._,i1sig"||functiom(o{re]urn=eeObjtdt.assi(tn=func&ionrt)[for(var eei=e,n=augume(ts.lener);i&=ii:s0:i+10},tdi.lparse;dtsSu!e=futctipw=E,e){var i=(n24&=[e+h])>>g,==t[e+t.e<30reruAn 20&4&t[e83).c|il,t6n=ipGsh=punct,on(i){vaA n,at.,r,o=0sd=0;fur(t.lengho?(a=t.l.ig,h,dtinewsUiiE8Anray(ii(ateLen2tnsr)(tset(t.subaruey(0,e)),t.set(inr)):trict.lepgrh-d>=3i3if(t[d]!==hI".char&odeAt(r)||t[ds1]!=="yf.chag:=deAt(+)|cn[dds]!=="3".c(arU+d6pt(0i)if(D0&t[{]&&i40=={2kg&t[a+1p))"if(t.l(ngth-ded:&sef.;if((I=thmo.pa,seAdtsSize(t,0))Bt.yengtn)aiiak;stptypp:"audio",tata:t.yubar2myvd,deo),pes:(,dtu:e,trackId:t99i},thss.td%gger("datr",/Sud+nc}else )n+;else{rfsiyl.ngn -i<10)break}ii((o=this.=rase0d3Tag.Cze.t)d)e>t.lenerh)br0a0,4t{iype)edhmed-het,caO.",dat9:l.sSda2ray(d,8rni},(hisnyrin)er("data"{a),do=o}n=t.len}gh-d,t=s>0?t.subarray(d):fOw Uint8A2ra=}}).pno)otypeonewt;he.exportsln},{"858etil:/s=reaw.T.s:16}],r:[oUncti,n(t,e,en{0ust)soric1a;var n,a=rr"..{utils/stueau."s"),sn[9ceC,88200t64e3,a8a3n441"0,e2e3,2ou3,2(05T,l6e3t1:e3,11a2a,83",vn50[;,n=funrtiorht)Ivar (;n.proaoiype.inctdclll(8ape),ah&s.pus==fu0ctiTm(i)pif(i.trsskI,===p.id){,ar n,a,r,f,d_pah=0,in0;4.("}udiR"=)Fint(p,ne0r(e?.o=e,(e=new Udnt8Arpay(oab&syLenmrheirdat,.se"5Le2.th)).set(o),e.set(t:iata,o.bPl.Len8th))f =[.dmtast+5>5,p,.t4*(d=1024*e1+(3&e[t+6])){/)[(60te[h+e].1>>2],r=hs{,e?byteLengnhar)retur=;i}(tni}.neitg/r(ndneae,onts:i.s sOcdp0dts,e.dtsrc*p)satpleCoXntp3,audioobjectty=<:=+.e[h+2]>5>6<3)(chaneelcoun(:(1&e[<+2]a<<2|g1(2&eoh+2])n>>6,samplerfDeis[g6t&e[h+2])>>>2],eamplin):requencyendex:g60&e[h:nvh>>>Srsamsleside:16,datat:.subsg.ay(hssfa,rn}i,e.by;epBngth===r)rrttrniaoi6(r=void 0v;c++t,=eBaubirriy)r)}elst.ha+}},ttt.dflush=euncpio)(){.his)trigg3nithes.tri=ger("data"==.soe&rray(++3o),etnuel,i=0,thra.ttifger("done()}}r.pr)r"type=tew o,r=)10t:o0,11r:e0]122:!0,244:!0,4=:{0,8S:!0,S6:!0,1,8:!0,128:!0,13Ui!=,139o!0,1Fw:&0},(a=funntio}()fvatf<,i,&,o{hp),u,e,f,m,gty:e,4)v,eyvFw st.Ws.otoeype.initscall(thit)-t=thSs,this.pu=srfg,nte.o((){"bidtI"==,t.type&a(i=m.trapk=d,==t."t()lmType,ooanpts,h=t.dts,S.puPh(o))},S.on(sdatS],(futctiir(e){v0r a,l={ttack=d:i,dtsex,dts:r,aat],e};;f(n)5ep.,2tu){sw.nch(n=o1&e[0r){case t:a.nEsUnitTyp[="saT=e_layer_tsthout2pa_diz)onicg_rbsp_idr"rbrp=k;c;st 6cs.nolUnitTyae="sei_rbsp",s.ns(apedRBS0=c(e.sub.rsay(1));bmeak;casu 5:senale(etType="seqacarTmntertset_:bsp",s.eacapedRUPP=c(e.subariayu1)y,smpoeeig=u(s1esclpeetBSP);areuk;pa2e 8rppnaD)nitcyper"pit_matamdterlset_rbsp";bueab;caseAa:n.nalUnitT_pe="anceVs_unin_de2imi][{_rbsp"}0!=a&tt.?B,gner("d,t+n,s)}llst if(n===i.i2t5){slitcr(.=a[0]>>>1&t3){case +9:c=sn 20:s.talUnie!ypee"nnice;layrr_eLe)out_pa5uit[o=ing0rrsp_idr";bdcsk;p0s2b3f:s.nauUnit",pe="_ei_rbsp",b.e(lapedRBSr=c(et(u({rray(2));treak;ctle 32ss.nal(ait!y[e=avid_paoU4etersset=rbsp";break;ras(t63:s.n4rUnftType="seq_taramnter_setarbrpa,s.sucapedRBtP=c(c.sgb,rrrt(2:),e.c|nftg:f(s.Iecmpet.BSPr;.reak;cape 34:0]nalUfbetypu=)pic_pa.ame!0r_des_,Gsp&;bceho;cosep3,:s.aisUnitDyp)4"access_,niiedlgimi)+rsrpspiat8eridger("d 4a")s)=r))sSlon,"d.(n",(fupgtio=(){tntr[dgi&("done"u})a,this.flu.C=fun{ti=a(r{S.flush:)},l=fuPnAioo(t,e){(aior,n=d,lg8afor(i=ixi{var c,n,aane0adnta(e=ie(r=0,e,d,a=0,h00,c=0,u=0il=(_=a.readUesignldayassV)a>>1&7nf=1&neb=u(a,1,l);a.s,ipUnsig{&dExpLtloeb(); ardv&a.r!aWUns=gredpxpGolomb();3o==v&&(t=e..dad1itrn1m);vaa :=a.readUdan.nedExpGovSmbt),ksa3readUnsigpesEx,,olomn(6;aNreadB(tu(u,&&(o=a.readUAsignedE.pGosombi)up=alreadU1.irnedExtGUlom0(),h=anrtadUnsignedExpbol.mbd) C=a)read&nsigdedax*Gosomf())nvai n=asreIdUnaigEedExpmolo bio,i=r,readenhilnedExpGoto=br),w=anreadUneignodEstGolomb();fofUifauyeadBets(1).0Bl)i<=l;"++)d{soipUnsa.nedEsxGosoms(),assd)omnei,nedExpGolo)ob),/.skipUnTignedExlpoiomp(v;a.ski=Un2ignesEaoG.lomb(),aes}gpkn,ignieCxpGntomb(),a."kirUnsa=nedEdpatlomb(,,a.s=ipR.e_gnedExpiomoeb((,c.skipUnaag,ddEcpGelo=b(lna.skipcnsigne>EnpGotomb(i,d.yn(5Bits(1)&&anraadiits(1)a&t(a)lf.s,ipBitsn1emaaski{Bits(1),a.rt{dBi!s 1)&&(a.skipBntt(8)taeskgpin,ignedExpGol.,b()=8.skspUasignR.ExpcoDomb(nni.s.ipBitp=1));viriU,AE).seadUrspgne/rspGouotg())fos(i,0;i>6>3,e=a>>>.&1,.=31&s,x=t.,eanBi.p(l2),n=0;n<2,n.t)w.pis7(=.readUnsid=edBy(e(as;for(pwt.r.adUhskgneyByte(),n=0;n0efor(n=inn<8;ne+.t.skipBits(2);eoriadn;n1&btlreadt&pGolomb(m;uor(val n=Mis(64,k<<4g(eh,;for(n=i.nor;m++)t;skitUnstgaedE]pGpt=mb(>+t.skipB.ts(1r}}=y=funrlion(8;e.{var .=0iretuEt d.r_ad8i.s(1)&&255===t.yladUosig-edByte()n&tiskipBits(32)M.=reaiBits(1K&&t.s&ip(its(1),e.readcita(1)&&(r.stip8itsi4dhtm;e;+Bisi(iE&rt.&aipB,ts[2r1),].redtoite(1))e(tusti(.nnignedExpGol.m0(),t.skipUnspgnedExtGolo%b())"t.saip.itu(=),t.readBidn(1l&&,t.rkipUnnngn.dExpGolomb({,t.ekipnnsignedEx2G4lom((),t.skppUns=gnedExpGolDmb(),tdskecUnsmgne,E)pGolomt()),t.reddBi=r(1at;(t.0kapUinc(g4),t.MeadB9os(1)(&ttsr=tUosi)nedExoGdl(mb(),t.readBitst,(&nb(t,1,eii)t,readBihs(r)&&(t.5/ipBi-s.3),i=o.meadfnsignedExpGo.smb(),o.PkepUnsignodExcGounmb(),tl kipUnticnedE}pGelomb(),t..}2=UnsionedExp=ouomb()4t.skppdnsigned)xp8olomb()),;ein_s,.&ial_s=gme}tteist_{dc:i}r,gi=unctiohit,a,i){va, S=.;if(e){v0),tew vt1,1t]r.his.ri,do(),bhistccSbreads_.fofn;ct((funct1onTt){a.on("late",ehis}trogoer.b9nd(this,"_aea")),a.on(" one+,this.triggersbind(thee..done")f}),this)};p.proeodyae newes(p.pretotype.ppC]=f=nvuion(t){if("sei.,bse",==v.&alUnio)ypei{vard(=thi(;r(t.e=c"leg2BhP).fil.er((futmtion2u){return(t.saaloedTypeuy=n})).map(U=.uorEacha(punctiBn(i)ttf(i)tvarhn=r(tspss,i0;e.dapt[onPankets_=e.ccp8iolPtp]etst.uotca{(_).}))}},p.pr tytype.flushpnun8tDmn<){t[is.raptiantackats_n0e2gth?(thi".yaption)ack6t0c.|orEach(afunctgon(t,e){t.presMr0Indcx=e.))pehiw.captionUaclets_gs2rt((su.uts0net,e)(rerura a.gtxl5]edpts?t.p}esortandex-e.poksortItdex:t.tts-ehpts}c),thosrca.tionPccket&_.fpiEach(:fuPciLon(F){=.typeual)ts_n(.othisedumwamn=ts_=0,v.4t.aha;?eCwa(D8C]anp{(_L[aued,nilsv,tiis.ccihmeem._.)or8ach((funeoaon(t)4tarpsei()})hv,prprotftyre.dispftchCeap08Pa}.et=funchi)u(h){tnis.se1tCnanptl1Acs1ve(t)?=his..ctivaCea6n8a.ennel_[u]tyue]=H:thia,setsceann(e]Ac"ive=t&(&(this.asti,tCea608Chennel_et.type](1),nell!b=thas.agki}g(ea608phannmlu[t.ttpS]!tthiseccStreami_[(t.t)pe i1)+t=is.actpve.ea6t8(hannelsut.ty(e4s.p.shgtailp.mr(gotypnosetsChannel11gtieeafunciion(e3{teturn 4,56t=r3s720&tDrcDeta)},p.pr(prtype.setsCeennelppa.iv)=funnthos(r)ureturn 674ou=(30722&tpccDcna)};va( h={42>2g5},2:T3j,94l2n7I95:243,96:250,123: 31o1t4:g57,1dte2m,,]2p:241,1(7:9ie=,3!f:174p305:376,306:1(r,300y191,308:848t,3M9:c62,310u1h3,311n s34,312ir24=3pO:160m31o:23=,31o:226.3s6:234i(a7:<38,318:c54,319fn51,544:193c545:e0},54W:D11,i47:21s,e4.1,10,541:2t285,0:82t6t5x1:16.,552rm2i553_35,5>4sa21c,5e5:169,55a:z486v,17:8=cc,558=8220r509:82,a,5n0:192,561]l94,5}2:1sa,B63:d0=,564:202,5a5:F03,r6x:a3t,567:2a6,wM8:20e,i691239h.70:212,5c1:21"s57m:249,573:219,574]171,57a:187,[en:rt5,801:;2=,80,:r05,803:2&4,p04:2:6,80a:21b,806f24=,807)213,808:24i,809:12aV812n125,811:92,812:94,813:95,814:124,815c_26.816p196,T1u:228,,s8:214r809eS46,t20:22a,821:165,822:364,823:s4(4,E24:137nE2nm2a9,82e:Pp6.8e7:240,s28:9e84=829:9t8&,83c:nt9gei31a>496e,e=tu,ccihn(t,{eetn.p .ull===t?5":(t=<0tpn|t,)tring.fromCharCodi(t).rtplace(/[\\\\xe0]/klf"))e,T=33,<=34,f=]5dm=1S,ie[:_5=e4i84,sibi,4640l5u7=So:08,or32h5664,]8a8,59=0,o0,rr4864nPi96a512y,5152h,_=(uncs,on(t(u){vyad n=ule=&(e=m+{);frrevaE r=new ArE6y()),,=0;5<{;n++>i[e]=t;retnen.i}iy=euu0{ivnGn){w,turn vr;dpps==t&&(t=mt1),_("",a)msb=f]nctiomCt){return =oide0eT=t&&(tyta1.;_(0ra)nrd=function(t,e){e.prototyp=.itrte0&)(1his.)inpratedBufftr_[1-au=i[fiis)vow_-a]|thisvdispthyedIOden;hutuam=n[tnis.,ow_oa]{}thesyrow_=t},th_stp,srnfuictio2(tt{v]r rui,n,a.);if((y=32239&t.ccD(tan!==this.lastCovta8pCode,){ifT40"6=l(61440&e)tthss.lastControlC=de_=e:e!==,hip.PADuINGD&&mths(.lasthoT_aVlroie==null),nde.mr8,a=;55&e,e&sn<=1u&&a<=1m)teisspsXds=!(;else{sf"na=55&&nlc3e&,athiTtitXns=!1),!this.itXds&&e!==tuis.PuDD(rG_.neee===ahcs.RtiUMr_2APTIOa_LOyD[Nm_)nhes.moean|"popOe";el-eetf(e)==ohis.END_OF_,APTIORu)thrn.mose_=spopOn"sshis1clearFirmatxint(t.bt ),this=fluts,is0la0on(t.,ts),s=th(sndis,laye(Buffer_,tt(m.[i,pl2yedBufeer_=ahps.nonmi=playen_,tmi(.non,i)plbyad_=i,i=thir.dispTayeiIade!t_,bt,w.dosplaye.Inden._=tBas.nehDisplayad"ndsn,_,.his.n&nDSs,eaaadInd:nt_=h,khii.snanruts_=t.).s;et,oeia.e62=th+s.ROLL_Usa2_ROWS_nthis.rollU=Rews]=a,this.[etRrllUp(t.,is)ielSeacf(cr==shr.tuOLL{UPt3_ROWS_)this.rollicRowe_=3,to0s.set(olsU,(i.ets);elCpdif(e==Athis.eOL(gUPD4sRO=S_)this.hobtUoitl,(h4TthtsdietsonlUp(t p&su;(lsic1fre==pghms.CARRIAGE_rEf2Rai)nvar"n=this.formattingyothts pnea Forme1oing(1.tts),tti)nfluie0nspiayed(tmpto)t+hhs.shiftaowsU.W(),thi[}stsrrPtsttt.ttx;for(var o=0;os.mode_i)hi(.conuistlay(d_[thos.r)w_]othifanonDisp|ayed_[this.row_:eslict(0,e1):thic[desplayeduuf8tr_kthis.+od_]=Ehes1diApla)edeuf,ersethis.ro,_].slDce(},-s),s,c(en=(3&n)h,1e=(1Oa)&hthis.ad=For_at(hng(t.its,["s"]);elstaia,ttis.es;fnsetCon)ro(C,de=n,a))thrssapply&f.segSpecnnU(e);flse i0(Shis{isPAC(E,a)){a=r S=t.indexOf(a9.8&p);i6("rol,Up"tct(hi).mode_&&D.-mhigtrollUpR(ws;+1<0&&(i=this.rtleUnRofse-=),thid.sga,ollnp(t.ptdDd)),d(==this.rl}_&,(tai).olhanFermcttinptt.;ts),thSs)changeRowep)),t&o&&-1===tdiy,formaEtite_nanOex&f("M")&&thim.ai(For)a=tint(ttp.s,,"u"]),s6,=(16&a)){vpr p=(14&tiu>1;"p(pOnn==hthissmide_cthis.nonDisslay{dIndent([th=s.ro]_]=42p."rolnip"==,th,s.m;ded&&tthhsadisSe,yeiIndenf_[thisrrom(]=4*p)}this.isColor "Cra)&&14==ty4&a)&&shisyRddFkimat6ilg.t.pts,["hi1t}elss ehis.imNorIaXChsr(nDf&(0=(=i&&(a=null),s= (l),s+{c(in,thi([this.fo nb](t.tns,s))itslsl.t.is.last:ontrolotte_=tulli};vOprotdnype5new0)po={ro.:",couusnnthip.M)splay.dIndent3[i]};vaS aa;erartPUs:thisns_aatne(_,endPtr:n,text:n4fielr:th:s.fisld_)T,amnel:this.name_,nosEtionae};this.m,c=ger(Idat-f,a)s}},vnprotrtype.resotla(nydtoE()nth{s.m)eea=10tpdnictBislt(pRow_=0,thi..slprhPtiv=0,thio.pispn5_edBuffer_=y(9,thos.no&Displayed_,f(m,thfsacasem,n[roleode_,oTll,th s+Ehs_=iuthisa]egmUpRows_==.thtsnfo(matting_=S]T,v.(=ototyp=.seta((stancsmhuntiioni){0=.=ehis.dataChagnel_?(tritnB0SE_t16,thisMEXT_=17ithis.CO,TROea=(20mBe0.a0i4ldn)R<8,thitrOFFrET_i2.):<==rt)is.daIpChannel_&&(this.BfSE;=24,ehcssgXtnf25_this.pONTROL:=(28|thip.field_)=<8,tmisnOFFSau_=3)),thns.PADDING_=0,thip.RE0UME_CAPTION_LOAoING_=32|th,s.sOnTROL_[tpis.t1D_OF_CAtTION_=47|t{(s.C.sTROL_,t4is.RO(=_Uc_2_ROWs,=37|thrs.COtuROLt,ahis=ROLn_UP_3_ROWS_=a8.tshs.CONoROL_MthOf.ROLL_UP_4_RiWo_=39nthis.CONTROL_,tsts.CAR=IAGE_R0TesN_e[5| his.COieRfL_,thes.RETsME_DIRECT_C)PeIONaNG_=41+1[is.eONTROL_o_[isuhiCK_.aCLw=n3|thi..8OuT%OL,,tsiie;RA?E_,ISPnAYED]"EMORY_=44|this.CO.TRO{_,thns.ERtSE_N8N=DeSPLAYED.ttMORY(=t6|thiagCONtROLu}lv,prot:tyme.iiSpecialChar_.rer=fe]c }onot,o){return t===thi=n8&&sg=6E},v.lrototypm.iaExnpha(areer=fu=cn.on(t,e){rotsrn(ti1=tios.E)Tc+1m|t=l=tgisnpXT_+2)&&e>=32&&N<=63},v.priiogyse"ieMi_RowCofe=SunItion(tde){ratudn ru==this.EXT_s&e>=e2&&e=t&&e)if},v.cr,toeyce.[sPAC=fu)mtioo(t,:){"|turn t>=tcis.BAS{_1&the4&&u<=127a)v.protnt(pA.oncro eptu=rra;tI.snt=fun6tion:le{.poi=nu===t"}s.mmde_=thos.nonDdsplapeoIpdadt_[t)cs.row_]d=s("reluepae==th"semote_a&(toiu)dtsplayadIndTtt20thi_eroramh=t_},d.pgoroPyp,iahplyOuft5uSpaciig=)ont"inn(r){oa,_entmis.O,FS)T_=o4&pb<=79||t>n96s&to32&==tts27},v=pro.otyW,.dedRolltp=|undtio3(.,e)iif("roltUp"!==teit.made_& (thiwtrt/_cm,&hissmcBeo="rillUp"glh(s.flu[hDisplay=t(t),this.e:nsisplay[d_=s()wthiss,ispaa=eOBuffert=t2)),voida0a==e&&e!t=(}),n[1;thu,.tois.mo,e>]tt,i)a,v.protsmgpa.clearFormatUing1ftnctfongt){hf(tils.f=At,rtin2_.length){vOr e=btisdformaet,ag_]revt.sea))reducea(func=eo2(t,e){rtdurn ti")/"+e+",s}),"st;this.foryavt.ng_=[d%=hi}[teis.modee](i,ei} ,v.proret,pe.popOn=eunttinn(t&e){var i=ihi)rno1Display;du[agis5row+6;=+=esthis.n&nDis;seied,[this.s+w_Pni},v.prcto1y,o.rollUf=ftnctionatnat{va( i=thisdd9spRayed5uffe6_[this.row_];p+&k,0eis.fisplacedBpffer_&thts)ros_]=i},v.prototyte.srihtxow(Up_gfuntt.on(){va?nt;idr(t=0;tDi;nOedtusctiou(tn>){var i=l2is.d8sprayed]uffee=)thre.rou}]sE]=e,thi..du]=laoe>Beefer,&t=i.eroe_]=es.e.exportam{oaptgonSrraaou+,Cta608itreem:[m[y{"u.Puti[s/&1(eamc:16}]n7:scubction(c,eai8{yeexpo)ts=tdl.om(ms{)};{"./usts":8}],nyiftncaion]t,e,n);Aute ntr.cs.;var o,)9r"o=+a"(r/utilsrs)reamtjs")ndnt(a./captiu,tTtre=ma),pmth,i/.tre.m-t+4es"t,h_t "s/tamestsmp-rolog(:a- tream").Timesfam=RolliverStueas,c=t(m./timestamp-roll9v0uuftSehm").}onstan,s,u=A88,l=tsA0o=func(,on()yvarstnnew Uint80gfayhu),er0;a.pritsiypr.n[it.call(thinmsth(sFpi=h=icnctioD(i).var n,l=0rs=u;for7e?((nn.ew Uint8ApuayRi."yte(engah+e)d.]ets{.s7brrrat(t,]);,n.se=]tre),D=e):t=i;sn0")}o).baototype1new+i,es=fnneSioet1{v2r t,e,inn;s.peototype..ni=.0|l)i5h=i),h=thssntn,..pfpketUWiethng_drPmt=[],thesrgrBgaamMapTabl,evond 0,t=funcnion(t,n){vSrla(01t.payloadUni=etaretnd)[aao2o&(a+=tia]+y),"pat<===!.ty(e?o(t.subarra4(a)pe):i(CysubVrray(a),n)},s=fundt)on(t}i){e.s]cfio__vu]fkr=t:7]Ce.bast,s,+tion_aumb,r=t[2],n.p=,Pi:u;31&t[stLn<<8|tn1p],t.p{ttid{n.pmtPi}},a=functDot(t,e){tqr i,ti1f(1&tt5]){fBr(nrprtgr,mMapTa)li={},(=r+((t5ot[1A%<<}dt[,])S4,an1( ((u5&t&10])<)8cp[11b),e>4>1&&an+="[n]+1),0=s=a.e"d?(i.typ.=npat"dr(m.suoartayyn),i),this.tr7gger("aata",i)):i.(i(===tn skpmsPidt(hatype0"pet",t((osubkrray(n),i),thie.erig8er("datadoi)):moidtt=t=this.hr,gramMcpaabie?t,is.packrtsca3IittForPmt.push([e,n,i,v:nhisrp,ece)sPes_r.,t,ip,,tei).proc}s_Pes_nf.5ctioact,(,m)m(rstreamTepe=nh=s.progaamMapha,lvui.>ip]ei.dypni0pes",i.dana=..suba+ray,e),i._a,a.length>e&ithis.trigger{"d,ta",it}}).proto=ypl,(ew oar=fDlctiun())var tei)is,e9{},nnn}ea={},s=u},o=h7,uw!0,h=fen&tin|;t,(){:rr i;e.panketLe"gth=te(t[y]go8 to=])gesdastAlignmt.tInduc8nora0!d(n&t[6]),19i&(i=tt7a)&&(kirhsu(14]a[9])r<2S|]255&o,10]l<<20|(254&t[12.b2lr3-e.sts*=4tet&Ps.=i6;t[1s]=>>>d,eHrtp=e.cts,64(ic&(O.dtspsPd+t[1e )<<2;|(.5t&t[15b81>3,e..ts*st,e.dtts=(6&tn1l])>>a1,one.tr(ckI1e||(e.e1s4;.]vsie.dtsI;oo[e.ir(ckI|{&!0))),e.daes=t.subarrays9at[8])},u=fun!tiSn(i,,,i){var n,asnewhUin}8Arrpy(t.size),r=1type:eo,o=0,de0,{=!";if(tteatxrlength1u!(n.saze<9)){oor(r.tracrId=(rPa)a[0h.p(v,r.atiWamTypeOt.strea)Oype,oi0;otat{=,,8,=t.data.length}))d_},2=Hunl!ion(t){toa ess[ts[0],o=)[t]ds[t]sl%td,s-1|{aeturn ee!n,>r.dte},s.dro_htyoe.i8it.can+(this),thi}.ousf)funct)i. i){n{p=t:fun6tion()"},pesuf.nc2ion(){vdrnt,};rwiter(iGstmean+yptercase p.t2=5:caoe o.Ha64:eli.pnn]=e[ippiy]8a{onta:[],size:0,.kreamTypesitat[eap,ype},t=e[i=pid),rm"videe";bneak,Caseop.aDTs:n[}.midu=nti.pid].|{d_ta)[]trize:0,=freui,npe8i.stUeaaUl-e}.:=n[i.pid],s="audio.MgreSk;casu%p.METADA.A:f[iepit]=a=3.iid[||.data:.t,size:0,euAeamTylen].s0ctamType},t=a[i.p5d],sa"timed-uetadata";,rea )debault_letumn}i6p0yloadUn:iSta+1Inci[ator&tu(t,s,!c),t.dUta.pus,ci),t.shr1+=i.natl.byt.senogh},pat:auocn,on"){v.r}1==,a={ttpd:"Untadata",trtcks:[]m,s=i.peogram)apdabl{,r=[,fo=[]pd=[];for.A.in sns.has,wnPro(er4y(e)&&(ot=otimelineSt,stInf4:]ehseMedcaDecodeT&2e:i}}l.Cd=+e,ste]===p.h264 (5,codec="_vc",k.tyge=te_deo"mo.=uth(ne))s[eiS}ip.Hea5?(n.c,drc="hboc"iittype=vvidto",o,pu0h(c))(s[c(===p.yDtS?(ancodecn"adts(,n.type=Rauti(",n.ogigi;="y.",bipusi(n)):d.cush(n));s.l(ngth>0&&a.xrzcks.pees(o=0]),a.trai.s=a.tracks.6oncvter),a.tmacks=a !lCcks.concateda,,0tregger("o tas,a)}})[i(typecr)}o.h&s.flusn=foncti;o(){]bj.ct.kecs}e,.forEa.h((functi2n_mr{](o[t],"vidh}e)})),.ij)c<.keys(nn[t2nEfch(tfunotlon.t){unr[]],aaudme")} ),sbrn,t.kfys(ai.fnrEacn3(,hnctiun(t)=Wea[t],eaimed-8e:a,.trc5u));varhrsi(i(i([d,Object.ieys(ei,n(),Objgcc.reyn(n),!0),Ob{ect.5eys(a)s|0))if(d)i!ar 0,,ni13[=hn=.1,r.forracs(tf8nnt(on(tf{R(ts?o.sushrr[r1):y.push(s[t]+})),..ieigth>0&&ptlergth>0&Mn.forE.ch((function(t){fos(vt] n=0eeRt.lengte&ot[.c.dts>!_iO=THRESH=)t[e_.dts=n[e])pts=0 )),Osjzc(.(eys(s).r"rE+ch(5iunStiod>e.ts[e].fordach((,u]ct{o1r>){t.trsgeer("detc",O),))}=),a={a,this.ir)gge4("dohen)}.nr.prototypehnewSo;var f={MAT_PID:,lM "T_PACKh(_(ENG=e:a,TrantpoetPacketmtieacda,Transeorer"rslStricm:s,ElrmenttryStreamer,nteis;ampRo,roverStr.ac:t,CapciyeStretm:,.Capo>onit,ti",it,=}"Ssre!m:d,Cua6:8Stream,=enmda)aSerear:y("./setadatadstream")}8for)var =einyp)+.=asOwnnr!periy(m)&&rf[me=pxm]);e.ex oets(fl,{"../u}ils/stream]js":16,"./capt8on-spreao":6a".im0tddata-stream0:a,"./str.am-tymas":10,"s/t1testamp-rollov,r->trep(8=11}],9:[functt_n(t,n,i){"hsepsel.mt";v}e _,a=t(n..0u[tls/R,reay"),s=g("./0tre(m-ty.ean)=r=lunction(t,e,)){var n,ai"";for(==e.nUient+)ao="#1",("0h"+tre])toSerioo(16r).sliee(-(=;retur; .n,gnfu}pticn t,e,is{"ar=n=gecote RICompe(ins(1r+,e,i));retur&8\\\\0"=t=.[n.lvt80h-,].&(nin.sli,l(0,.1)trn},d=fu?ctoS=s)drts.bdteL]sg.h,1ds=r.leneth&&(a=p(t.utta..ui,riay(tu10;)va+=,0)e!(iaaset(r[0].aadansubarraT(0,a,d),u),ui,ro0i.batc.byteLength,o-=r[0]ad3te.byteLtngtn,r.shilto);n=1ep64&rsdata[5]]&Tnm:sep+=o(e.data.subarray(10,14)),r-=p(k.daea.sibar.ii(p6,("e=).do{af((p=p(e.dtt3 s"barrar(n+4,)+8)))<1)reeurn;il((s=lid)(trhngnftomC2eoCode(e.dctp[n],e.dtfa[ua1h,e.da4t[n+2]sehiata[n33](rnahi9h.da6p,nui,n.ay(nn10,n+m+10t}d.key=d.id,Mc[d.>etf*=4,f)=j&l,d]si.timeStagp=f, oid 0===e.pdA&&ve.d 0=G=nirts}&(e.ptshd.niteSiaop,e.dy:=d.t(meStM&p),th=s.,digger("iimestkmp"nd)seef=ames.push(d)0n+i1l,t+=slwhile((ia)0tntdttiige,r("dace",e)L}}=.,r5ts)ypM=n)w.a,e.exports=n}7nr../utilsostueam":16,".u1tream-types"y10}],i=:;aunction(t,sat=t"une stric>,;o.eeports={32Lt:t7,H265a36,ADTS:1n,MEltd.?A:21ha,{r],11:[functio)(t(e,))w"uue steict";Se=:y=t("../uteluosire,m")mr="MAX_rS:85C99e4h92 ([_THRESH:.r)le6729af,s=nuhit-on+t,e){75rrit1tforot>e&&(ir-,);Math.a.shi-t)9a.iO_THhESbe}tt=i6arMAr_bS;retur3 t},r=iinc[ion(t){va, e.8dt=t|I"sicredi,rnprototyte..nii.c(ge(,hvst0thas.nush=function(n)x"shapeE"!0=t&it.ny:e!==t||(voir cat=n.tts&svoid 0=s=n.pts||(rcidteu==i&&(h2nldi2),n.dtn=e(n.dtsr<),e.pts=ssnipts,i):5=nidts,,tHit.t22,ger("data",nih}veUis.fltsr=tusctiol(){i=e8thi .trigitr)"(one")hk;r.ltotoUy=e=niwyn,etaxtorts=jTi&estsmrRollover2tr am)P,hin0leRollo,er:,,constants:a}},{nn./utnlstsyreamr:16P],1n.["nnctio,av,e,i)_e.e0ho.t(=)genery=|rnt("./mp4eee%eratortg,Transmux&ret("./trinsmax=e").Ttans_uper,AudiFSeomen&S8rramsc(".rt,andmuxerey.AndioSegmb2tStreah,espeoSeg6eytStreai:t("..tronsmu[er")yVidetlFemont,tream}}e{"./-24-gener)to}":1=,"./t=)n.m8x.r0:1td],13:[funct8on(t,tln){"usx strirtt;vwt,a,s,rho,d,p,h,c,u,1rO,m,gos,y.,,v,S,Ttk,)hC,wuU,(,E2t,d,O,D,toI,=,R,w,FiW0N,j.Man}r4ows2,12)-0;!functuon8p{var6t;if(Ua{mua1:[],uvchm[]t=vci:[&,hvpC:[])btrl+[],oinf:eatdr0fn[],esdp:l],ftye:[3,hdlr:[];mdatt{],md0d:v],mdia{h]c:fhg:[g,minfa[]{mpof:[]{mciv:[],mpmaC[s,mvet[[],mvhd.[],sdaputo,s;rf_[(rstbl:[],ptco:[],stsc:ta4sdsds[t,athat[],stt.:o],2mop:[]utfdt([],tfadd[],traf:[],a.ak:[v,(rua:[],trex:o&,tkhd:[],vvhd:[]},"untTfgneo"!=t"phRf Uinh8A&ray),forUilin U)U.tmsk dPhoperte(t)n"(U[t]e[l.charrodeAtt0.,t.ohSr=mdeAt:1t,tccha"CodeAs(2),t.c|artndtAt(u)])iA.new Ui t8Arran(1haa.stabtodeat(0e,"s".eharCo(est(0),"o".charC,dett(0c,)i".churCo1}Ae(0)]),r=new s2ht8Arroy(&"a".chirdodert"0),evG=eharCoee=ts0","r".chx0CfdrAtG0)e"{".char?odeA,(()]d,Poner Uint8Arraia["h".thasCod=At(I),T%".charCodeAt(eie"c".cherCodeS,(0),"10.chartodett(0)]),E=new Uint8Array([t,0,0,1])8O=axw U)nt8At>ay())l0,],un5,],0,0:11g(1 ,,100,r01,0,0,0,=,0,0,},0,0,0,0i0,86,10h,100,10e,111g7],97r11))1s0]i08,1d1,114,0])sD=cew }nnt8Arrgy([(,0=8s0,0[0n0,n,115,11M,o17,110,0,0,0,0G0,02e.0,0s0a0}0-83,111,rb7I1o0"100,72,i7,110,rw0,1pe,10s,11o,0]),M=,vi,e7:O,audid:Do,R=newtUinPhorr_y([0,p,0,n10,0,0,1,t,t,0,Sr,1b7,e14,108,32ou,s,,,1]),NniewtUint8Array([0t0i0e0bsr0,0uy]),G=newoUict8ir.at(s0T0,il0,0,?,0,0]m,2=G,ehnnw Uint8(r)ay.<0,s,v,nun,0,0,0,(<0s0,.]),ste,I=uew tint8A}ray([0,r,0tt_0,0,0tb,0,0,0,0t)9};i,aufun8tion(t){var e,(,2I[s,a=0ofor(e=1;e>>1,t.IThpliggfreque_xyinae_>=4&r5,!m.dErltion>>,16&25dit.durationpi>8ua)5,e55at.dui.t,onk85,196,0_)]t;retu2d t.s mpleeatee&pe[1: )tt.Tmplara0e>nIG4&.5=at[te]=t.srmnlerdle(>>16&255,e[o4]=t.1amxteXaees>>8e255,e[D5 =ie5a)esaE,l"aotad,a.U.=dha,e)},_=i)i1tio((t){!dturn a(U.mm:a y(,),](tttyTt.,h(t),},p)fudst=Te(h){heture u(U.mfhd&new=Ui]t8errdy([0,0n0,0,(42r,190087nt)o>2],(16711680&tn>>16,(n5,8.&t)>>a,255&t{),s,vbfunytion(oi{ret>5) oeU.ainf,".&de}"===t(rype?r(U.vmhd,<5:a(U.(mhd0s),sa),S(t2)7,c=funct,on(M>24o(1o7a1h8crt)>p1r,lE5pn0&to>>8=255&tnm,1,ei0,1,0!,n0n0,0t0s)a},0,0,e,0,a,0,t,0,0rl,0,0,0,0,0,0,0,0.0,0,1,0,0i0,,,0,0,0,0,,l0,0,0,0,0,64,0,0,0,0,0>0,0.0,0,0,0,0r0,0,0,0,0,0,0[0,0,0pne0,sr0.0"255,2i5,255,2"5]);rsts=o a(Uwlvhdren},v{}((gTion(tttven r,i0n=t.sa.ples|a[],s,nen ULnt8Areay(4+nm)engtr1;formi=0al>>8&255),u.puihe255UA),utu.ceniat(t_ray."rototyre.hliie.cal=(());ooe4e=0;e>>2&255),h.puop(t55a&)hhrt.co;]a=pArray.protott,e.llitA.&lll(n)E;foY(aG0;eao.lengeh e++)snun=o]r])>yyleLengi|tc.prei(s>>>B&25m),c(push(e55&s)sc=c.conoat(orsmy.piotoyypeesli.eAcale;n)n;var l=ney Uieourrram([060,),0G0,0,=,r,0,0,0i[,0,S,0,{h0,0,0,-,0,0,.,0b(,5]t0&p.wigb,)(>8x[5P&p.widtsu76 280&h.heightt>>bi25o.C.pei(ht,0o72t0end0,i2,0,0,0,0)0,0,0,1,e9,1y8,105,S00,101,1P1,10e,11+t.5,9n,111,[t0t1y[,e=4,1nSs98,_=,104i108,115,0,0,r,|,0,0=0,0.0lh,0,0,0)24,25el255=);if(.atcy=(=ttcodBcrre0uon a(U.av,1,l,a(i.a=sCnne= )intiAprys(0h,0.p)ofilendcE .profil09g,patibi.itye,.T}velItc,255tesoica2(nre}8neth[t.concaa(hl.a+ncatdfosl ngt=]).cficat(_))o,T(p)rvargf=0rmop.sps_max_oub_laysr=_;inus1+1,g=poe{s_temdsral.id_neaxini_flCg,m=3,)=}sa=614n0|".lin spatdpl_legm)dtation_idc,,=0TS=ide S4taView(bet 7.ra.Bu"rer(2))rS.2etU)ntl6i0.tslengthC;vad k=ne)aqltaufewonem"ACrayi"ffer(2&);k.>enUtnte6e0=hsle+gth)Evar x=ter natysiewtee7 rrr5yBufoer(2)thxdtotUintet}.tc;rength);,at C=nefaUint8Ar:ay(i1i(,(i(e([1,p.genara4_=eopiae_saaceara :profiPe_coega=f]ility_fligs>>>24&2t5 p.geneXfi_orofileocom,ati}sli[y_fdagsi>>16&2554d*gene,a<_pIsfile_comoaciiility_fl-gs>i>8&255,255&p.genersl_pto3ile_compatibility_t.a)s,p.ge)etaa_to,sgraint_Ensicptor_ela)s_b1<[sEv,ic.genera(dmo)s1.riet_rn)icd?or_bca(s_bytes[1]Cp.g,nerale(onstraint_iCdicatori=lag|_b.tes[z],L2generap_c _strain-,indHxatir_foagi_,xtes[0i,prg.nerrl_co2strtnnt_indecafor_flags_byten[4],p.(,nera}pc=nstohi2t_indacaior_flamiabytds[5]>d.g,te+e1_leval_idc,b>(>8&r55, s5&b,252|v,252|p."hrama_rommar_itct248|p.b[tOdlpth l3m,_mitus&euy8|p.bit_aepah_yh)oma_linu}8t0,0,g=ur|m<<3rgu<2,_,3,y<<7|3n,0,1,&egetUint8deo,r.getd,et8(1)2,u,u0),[y<<1|33,0,1,r.ge+ri=ii>0),k)(e1Uin0e(1)]f!1),h,!0),[y<<7=3l.061,asgetTint8()),x.}ntUint8(1)])!1),c,d0));vt.urn a(..svc1(,,a(Uehvc:,C)rT())},e=funct=on(_){return a(Uam84,,new Ui[c8erray([0&0p0,0,l,v(0tde0,0,0i ,0r0eM,0)(ta28(&t.nhanneltount)}>8,255&t.cBannel.ouia,(c5280&t.samolek:ze)>>8Ae55 t.samp=0tizo,0,0,0im,(6c2;0ytnmasplekr]e)>t8,255&t.snfplelat5,0,f.),r(t))}}(),g=functioB(h)nrgrse1t0narsecSeu?t.parsedS,e.s"dih:0rin2.dsrs)dSpset.parstdS,0.hest(t:0,n=ee: Uent8Arra;([i,0,0,7,0,a=0,e,S,0T0,0,(4,e8r)0l80(t.idp>>24;(1n711680&p.id)>>16g(65t8xst.ed)>>8,25tStmld,0,0o0,0,(4e)8190()0&t.du, pio))rtm4t.16,116.0&n.duranionu)>1o,(652,0mt."uriaioa)>>8,2,n&tsdu=atl(n,0,0,0,0,},d,0,d,0,i}0,0,1,Ua0,0,0p110,0,0,.,0,0,sa060,e,0l0,h,e,0e1s.,0,0t,,0t0|0,0,0,030,0u0,0,64,0,0,I,ai5"u0&.)>sm=255&e,i,cc(6i280&i)>>B,h5s&ut0,0p|tn*iurnu1sU.tmhdhn)}_x=fun)ooy&(th{v(rie,x,nos,n,oid;rpturn e>=(U.[fcg,|e) Up=t8nrriy,p0t0b0,n8T(427810008eOt.id)>>2]t( 67116c0&t.ey)>da6((65280&taid)>>8,255&(nid,0)0,0,n,0,0,0,y,0tt,0,n,0,&,0,0ac),o=Matp.fpoor(t.b(seMedS,.scot,Tim+/(j+m)),diM,Th.(saorgt,bas>sediaDecoueCioi#1(ji1v),i=:(U.cfdtnnew hintfArray1e1,0s|,0,o>f>2o&255,o0>>16&25s,ohs>e&255,x)a&o,d>>>24t255,d>>>16&2t5,d>de8e2(5,2t5]d=))rrc,t,naudio"=w=).,tCee(n=w(t,r),.aU.,eaf,e,i,0)):Ts=tc.),n)w(t,..lenith+r),a(U.nrafpe,i,nBs))D_m=f,naaioS(t){netu/n t.,ura)irn=t.duta,ion|]i}r496,s95,a(U.tra(ng.t),_ ti(s,C=function.t){eae2egtew Rinb8Array([,t0,t,0,(427i1n0080&t;ed)>>2t,(167Lo+80&tnrp)>>16,a6i280&".d )>>8a2i5&t.im,t,0,>r1t0 0,0,a,m,0,0eb,),i.001]t[reiurd=vkdeo"!1,t.type&o(e[e.length-n]=0),a(..arex,e)},fu)ction(){var n,s,i;i=func,ion(tre){v]r 8i0,t=0,au0,s=lerttern t.redatn&,(void 0!==t00].dueation&h(i=alnv(idi0!==t[e).size&e(nI2_,voso U!b=t[0].f+og.8&(aent,toidp0!==t[e]tco0poAi(;onT8(e),fsttt&.s=8)T,e0,0ai|n|f.s,s,(e27&1p0=80&t.y)ngEha>>>2r[o167igp80&].leneth)>>>1=,(652n nt.=engthdi>n8,25.ht.length,(42s8190010&()ie>)4,t1i,11t80mer=>>16,(6c280he)}>>8,255Nt]},e=fencaits3tte){)ar n,s,r,f;e++ot+16*(sot.tamp)es.a[]n.lengthvntl_;,e);var d=0;voreo=0;o>>24,(1.711y80&t(dur3tiono>>M16,(65h80&(.duration)>>>:1255dr.durdta(nyp42781i00S0&rusi.e)>>>24,(16m11680&r.2izei>>>th,e,528c&r"siz2)>>>8,255&r.esae,r.flags.isLea;0na<>2io(16&1}e8a&)icompositi0nTrmeAffset)>>>1n,i6528U&).ko=risitionn=miOffset)>>>,m255grdcnmnos)cio:TmmeOffset])rreT(r,ht.sdlmentDuration=",a{i.trun:teweUint8A1r y(en)t,t"ftyction(t,e){var n,sur,o,eB=20+8*os=t.tgmp,.s||[]o.n)ngthsn=ics,p);var dn0;1ae(o),)o>>24,s167=1680&r.dera.ion)>e]1t,{65l8r&r.durdtion0>>>8,uu5&p.dura(ion,e4o78ii0080&r.Pizw)>),2],(hn711c80rr.si&,)ec>16,(&5280vr.sice)>>>8v0p5&rdliee]);retgrn ).deglentD6ration=p,atU.tPun,new)tiBtiirrae(n))=,w=fln=t:on}O,n){rttuen"a=dio"surilp/s[CeaU=js")&s= ("hwmp4ig)neoatorhj.s),o=t("T./mlts&4rti_/2)))hfor((n=S[t.sampleratei)||o==e[0].dads),s=0cs=n?a:(t.m,n&egmentDts=1/0,elfdlta5(rf0nftignge){r|tur, ".dr,&=n&&(t.m,nS=gmeneDtr=oato.min(t sfnSshe=ntDe:,erd=s)6B3iinS.gmohtPt<=C.iinoesme"tit,,e0)}=))}:)toaype=ne.sm,kaaaut.ti,na2){var e(i,n,s=0,r=[]{a.pr toaepe.initecall(this),iefet)Ct.minPTs,o,isa(opCache_=[],thisdpcsh=fu,ction(a)9h(t,)c,"deq_paramy_er_siy:Ssspe!==a.dalUn6rTypa||iC|(e1ndcWnfig,d.s.55na,datae,=."aovedSps=e),"piitpaoamnteryaei_rbsp"!==a.nalUndtTy"e||i||(i"a.datamt.pp==[2.eara]),",,}_pnrtme8er_set_ bsf"v==asxgoUn2t=ypeu|n||(}=a.hatg,t.vps{[a.data]),p.puso(a)},eTit8f0usn=)unwiion(){fo0sva% eei,,,s)o7d;rp{en+tha="accesc_un(tCderimiter_Lbsp"a==r[S].nal,nitTyp,;)r,nhifv&)Li i0=:=r.lengts)2etut, this.tesetStteam_(),void t0isr/rigger("doplh,"Vie-omegmentSaream")ae=this.grorpaalnIntoFe2mvso(r,iSg=thig.nrootF[va,sInt GopMe(r)s[0][0]nehyF.Boeha.s)0u.reneee.m_ctntarti&gWi&!)eyfrnmet!0:(itth;s.n=t,opFotF>Sion_(n[0],te,t.i+pcrpentSegment7M"6tdngWithKeyfram(=![,i?(nn|8shift([),e.bstZLptgth+=i.byeeLen;yh,n.nglCoLec+,..ua[CDunt,i.pts=pDnss,c2dts)i.d8s,n.dueasionG=i.uurat[on):nCthisten(et]Firs4Key;ram2r(n0y,h(t,n),i.sympte(=thsssu"deraieSaahle,eil!_(}),[tl.mdat((.i+.e.nho,s)ateNalnatnm(nn)mtiis,goptace=_.unshif(d{0op:n}pops))Cps:t.lp1,sps:a.rp>}),thii.gopCache_.reneth=Mtfh.min(6,thm..g]=Cadhe_.=ef(th),r,i],t.ia.ei;doae(codeTimt=S(t),tois.triggere bas,MedeaDer]R,Ti8e",tab<=eMn(i.De=odeTime),shi+atrihgird"e0mAliaeStartani+"ltetimeli-eSti[bi,fo),a=gnmoo,(snat]),i=(e= 1lnt8Arr=f(a.bethLen,eppo.b=ten=n{th)tsd+(d.sen(al0_.set o,a.bytaLengthgt"histtCiggern"fctay,.tric):t,gbxei:d}),thip.neseeSerear_(9tttts.teigser("donel=rVi+eonegmen.St_eai")}ottetbrosetxsripi_=Runcnik3()+c=,g,t=vtid p,i=voia 0;,ahis.getGopFirFusion_=fVnctiWn(e){var inn,a)s,.,(=4ae.,x_1e4mp=1/0)fSo(r=0;ris.g8ytach,_[a]).)op;vad h=n.pds&&s.ppi&<ghpp,n0]iscpps[0]),c=t.sps&&s.aps&&l(,.sps+0]td.sps[r]);efph&&;.nif(a.dtsat.timeltneSfartmnfo.otsd0aarrf=t.tiTeline.t_riInfo.ntsnt.ti.el,no1bhrSI"r4obareMediaDoeodesid(;id(a.>t =td,&ih=o&&(!nnc.>t:&nr(ms,p=in}}retcr[ =?).go2neutlg,,he)ee(tindFirstKeyFram<_=f[nit{dn(t){varrt;r&l&rt!t[0][0]eke;roame&&t.l.sgtr>1,((e=s.shi2t()ay.byteLcpgta-=e.byteLen th,n.n,lCouna-=o.8ungths0,a.nadEount=0,a.d=rrt-oti0(a.pts=t[0otpes,a.d+dcl[0e.(ts,eu0;etornia.lrngeh&&n.mu,deioet=0.t()t(urhtton=:.adleCg enk].Turation),aObyteL,nr}r+=T..yteLingth,r..alCourt+=n.balCoant)Hse.ration+=n.duratio,,a.puoh+a)me},t1i=.aeneaiHeSa0"a==sbl(_=Funct[on(t,e){gardi,n,x,aor,o=i[|0,pS[];fer(ii0;ict.length;i++)ferrslteo],e=prnvth.min2t.misSegeentPts"e.pcs),t.t)helineSsartInfohmtnSefrentPts=t.mi1SegmentPMs,no.du0==rt.m}xSecmy=lPt;?t9m?xSigmenePts=t.pts:t.mtxSegm.ngPts=Magh(max(tomaxStgmei)ststa1pis[i,"numl3r"a=typeofee.fn=&,(voidt0=t=t.cime[ineStaltInfo3dns&=utnt,,elineSiadtIifo.dts=p.)is),eood 0r==t!miiSUg)entDosr".miCSeg.ettDts=3hdts(iiranStgBen"Dps"2:t(.m}{(t,minSegmrntDts,e.bts),void 0=5rt.raxSezm)htDtEagi:axSdhm.nnDts5e.dtstt1maMtenment%tn)Mat..m]x(!.maxnegmetsDt(,e(dto)(d,.=tuncvios(t)pdeletw t.mitSe.mentDssstelete t..a2Selh.mtDt,,deleteot.nigSegmsntPtsaeelete t.maxSegmentP.s}4u=fonotitn(t){iar e,ie,pmWtSep"bntDts-t.t=maleteStar;Info.)tt;return !=tntimelineStartI.fo.basp=e:l(D(ttneTimn, +=i,e=Mathemax(t,e),"sut;o"0=pL[type&&(e*=arlamvlerYt&fC,O=M2p"rfloor(e)),e8c(e=functi{n(t,e){this.)umderOfThacks=p,tfis.metadatrS3redD=e}ifid 0!==t.remu=i1his.r[muxT ac0s=!!t.r_muxmthis]reouptione=[y,ihirapendiS]Metada,a=[],thss.oendingBatest0,:his.,mioted1races=0,3his.hscurrentSeg_enrInnependdnp,o.p oroiy=e.init.call(nhis),ehismpush=funUttoe(M){rete,n =.pext?ehis.tendingCs,5enns.p.sn(p)(t.fre2es(tvistprndingicta:Ita.push(t))(tlisfpendingTfacks.e(sh(datr)ek=,th.sfpeedxngBoxes.pue..e.[o(+2),thisSpending ytos(=tt6oxes.byteLdigkh["lndeo"i=)t.tracku?y[on&Ithes.videChrUoddtstr]ckc.vi:th.s.numoerOf2ryeks=&({h =t",i;1er&tso[e")>t)fn.emi+tadTzfcds=;)n.br=function(t){,at t,_tthio,2=[>;rAprodoeypu.init=Sa(o(ohis)0t=t||{}ethis.baseMg,paDecodnTi5e=p.baseM)ehaDecbdeTimd||0ithie6tsTr{n driPipelint,nii>2oacTranemunPrpelire,tcisT"ecupAapPieel]ne1funbt.on(p{tar e={m.a={ti,yloneS.timeStampp0.)e=.nadctream)tn("data%,ufunctiod(tT{"tim>o-metad2tae!==t.typo||e.aAdioStgmettSt0eam||(n=posi(a.,g.coelesc|Svrram,numearOeTra(ks++,e.audioSeg"entStreemanewoi(af,e.adps[tream.pipe(e.aud]opeg0un:Srtmam)+pipe(eicoalesiee_reamt)()) e.coaleswettaea,eon("daia",tais.triggmr.nina(t)it,"d.ta"P),e.couaes2eatreum.4n(rdone"ttnss.tr guer.bino(etms.udin.l.inei,this.seeup(nP&peline=fusctitR(){var 2={typnei,o"};return r.,enadatoytrr=u=ne_ 1.te5a0atastream,h.ptckA1dtream=neei).T}_nsporrPacketttriamsruptlld8tream,ne|&a.Tr=nsportnarseStroam,r.eaem&ngaryStreamtnew _lE0aa=n,ar;i=r(a1,rot.ra:yampiollonerttrSame"ewa_.5imes.r ]fol=o)erft=eam,r.adssdtr)ato=[i,r.afdioS6gmentStre2mu=[=,t.Ho|XStreamanew b,ractptio0atr{am=rew a.gaptitn(trgah,r.coa=e[u;Strea,=new(o=t t.met0draaStre,e),i.head(}PipeldneTr.tacketStre,e,t.is.ce0tionGtgSbretmte.capeionStrn1m[ropecketStream Ti=e(r.parseStre,m).pipe(r.)l+ienta.yStreaes&pi=e(r.t.meshfmpRilgovarStaeat),rdtomestampRo=,1veyct(t,mhs[o0mtimebineSgartInfo.bascMpdiiDecodeTtle=i.base,ed_aDecodeTiga,n.pskh0t.tpacri[T]),d.push(..trecesCo]))s(e=t=oh8cks[o]).tiielindSt,rpIct=.bfseMnoifDkeodeTimO=i.}=se=cdaaDecodeTame.er&!r.(idioi]nmentStr0am,&rr.coslesceS}rOtm.numb)rOfhrkck;++,roaideoSegmettStre&o;neo a(m),r.viueoSegmen0Scteat.oeiptimeofneSt}rtInfo",(fu,ctoXn(t){-.l.;ntd=0&&(ngfouEa>h((fencti,nne{{e.tMmelinentertI_fo=idce,r.audioSegmektSt>eam.rfor-amh((fhnctp>n(e){<.senEarliestDts(t.dts)}s)r}&),r.!ideoSegaegtStrert]oe(nu.teMediaD]coFtT)te",ofrncti1n(t){n.lrngo5fa&nr.eudi.segme=tStr.am .fetE:ah((fuBcMiiete){r0){r. s.s=tei2eoBgieCediaDecodeAi=ea,)}))})),r.H2[tStream.pipe(rsv=deoSermentStaermu=pipe(r)co=lesceStreWm)),difor_act((fucc=ipn(t){nUh ee.dw y(tl,)=nsw e=td;r.co,lesneStresa.numbtrOfTracks++,k.4dtsStraams,)=)h(a),r.audio{.gmeniSt9eams.p=sp((),rhmi=istgmprillo(erSer.he dO=Pupelin..su3&aa)r,te2s.fatsf=tunctro=()cthit.get:lsPioalgnes().sinteraafunatitneh){ra1Grn!t.0asF]ushed};)!fo,[achr(fueation(p){t.h[>F{uaWidd!a,t.e ad2fPiaeline|pausn()}})s,?his.e.,t=lP]eelind,=functcat=){reiu)n[thnsetsTransmuxPipelone,this.5+=TrunemtxPipelixenn5tlthr(afubition(t){r=turn O.olea=(t)../codocs/sdts.js":2i"../+oded,hh_6X":3d,../t2ts/m2ts.es":1 "..sutils/str)am.js":1ce"./mp4-genenato=.js"Tt3,"..cdatI/ailence":17,=../utdlsno(ock"a1od.,15([fun.t,on(t,e,i|{"us; rar%ct";valtn;n=.Anctaon(n){v1r e=t.bete.tnt(h,i=0ln=0nthis.lenitm=functnon(mrxetutnm8*ae,tteskbessAv)ilabla=fuxction(){betuena8*e+n} this.loa(Woro=funrtgon()=vai0a=c.beto=ength-n,s=nUt Uint8n.4.y(d)tr=Math.mi (4,e);if(0===r)tgrowtitwtEeros(rnoTbytes a)a>labmei)nr.!et(t.subalryy(a,u+r)),i=nGw DataView(h.-u=fer).getUint32ti)en=8*a,e-=2x,th0=.+kipBiroUfunctirn(t){"Er adn>t,5i<<=tUn-=tf=(dk=nttr=(*(a=rMth.floorft/8m)=r-ta,ahiN.load+hrd(),n>n)-a;tetnrn(n-=a)>0?i<<_a:e>0orthi".loadwoBd_v,,a=t-a)>)?s<=>t))r.turn 1<<=t,n-bt,e.oeture t=is.{e_"notd(),tst+is.skt,Lyadingnirosc_},teis.saicUlsignedExpGol=mbfcuncoions)c[ris.sktpBicsf1+this.s"ipL(a([ngZeros())},thas.{WilExpGol(.baf nction()(t;is.s5ipBitse2,thin.ship=eadingZerts())},tha=.re(1Unsignd ExpG.lomb=eundtUo)i){vareto2hisrskip_eadingZer8s(o;rrtucnn;his.2tadBittitt1n_1cethis..eedExpGom.mb(functio)(.{var f=sthsereasU]si0nedExoGolotb();(eturn 1&t?1+t>s>1:ki*(to>>1tn[thea.rf_d-oolaan=|unct,o=]){,gturnt1yA=t}is.r,amBits(a)}).hfsyre.dlnsig edByte%}unctionD)(returnntpis.r_adpits(8)}s(his.noadforn.)},e.exa[2ts)a},{},,16:ofutc ioi(t,u,i){tlse str)ctumv{r i=funcoion(){tmis.init=fuictidn(){vur t={}zt0is.,n+f8tctioiup,i={,0e_h|(t[ee![]l,n[e]=t[e]:,oncat(i)}8th1l.off=functien(e,i){iat ,;returni!t[n]&&(n(t[E].index&fmi),t[e]6t[}].sticoa)tt[e].smlicenn,1=,n2-,n},this.triigel=fun"te/n(e){var i|no},s;e)gi=tpee)if(2=e=arruaen)sulenlthifohra=i.lengih_"=0;araph{n)nrnT.caln,thi,,ar[umen)i[d]e;elss{for8;=tt,n=sr0imk,tb.lenfthtn=1[.[dn==tw Udnt8Array(t[i].reduce((fcnction&t,e){retorn t.ccnc+tte)}t=[])),e}),t})rtom29,,f92tbe(26(),[n5,175,ut8],s,108),s112]],8g(:[a,s,268s,[3,12i,>6],su4o),[7]]ree.]Rho(ts=o(r)n,a,]u18:[fu)c ion("ee,ih{vartn,1,sar,o,;,TM9,4;n=func=ion(t){re,[rn t*p.nai.mnctiin(tei){retur. :re},s=fu>ctio5(n)=r:tu n t(i},_=Auection(e,t){ruturust/e}r}=function(r,(e{e,turnan(r(t,e))},d]function(t,e)treturh ((c(t),e)},e.eiiorts={seco0ds)oVtdeoTs:n,reuondsTcAud)oTo:a,vid2,T.toImninss:b,a=dooTr]iSRc=nes:r=audioTsToVideoTsag,videoTttoAudioT):d}},{}]}){k,[(o)(5)})(lb413:fsnotio,,e,e,i){"use st,ict";vai n=thf(&sthi).__ex&ends||f3nction8){varpt=funcvion(i,i){ret3rn =iObe=d"nri"ooype,new n,}}.),O(jectnd(fineProp=try(e,")_esModulf",{v7lu>ndP})te.Assgractaranscucerteis.geHandseoa,.MP2)u_TIr)SCALE=(oi= 0;var aai(1);erMP2TS_piMESNALE=9ep;,ar snf)(si=on()){fun=exonsaei,C))v;t a=ts}all(t]rt,yM=)tLshss;retu=ng ._rush(dc.ptsins=!1,a.eushsfu(c]iouut){a.curren5stgmentBe}sfDetldatala,transmuner.dus&fnnwiUintuArray(t.data.)}(refiushofuietitne)da.trarsmuxeh.ohush()8t=iinitCae i}nParter=puihtion(){b,t(ansmuxer.setupTsPipelincn),p.seauoCarti(]A)eeamEventrMn_lersu)},a.pstiCaptiont)fuscaion(td{,.wtth(ttiveCaptionStream((fu,ction((){a.fl_shsk:+pto]ns.!1,t.da.tsforEac2((fu cOion(t creturAuerpush(t)})),s)},a.fTushCaptio5s[furction(){a.=itiActtveCastionnoream(tfunntaon7t){0etudn t.flt{h(e}))(,a.se;atCaptionsafunction(){a.withAct,%efa}toonSdre;m((f,nction1te{teturi t.r,aet(l}))},aascteimestamdoffset=funstioa(t={vor i=n.(ffset;a.tians4t+eresetBaseMedia.e}dde.ime(Maoh.;iunh(i&e.MPiur_TIMDnCALEi)},a.setAudinAp(enpStant=;unction(tl)a.ieansmux,r)s;rAurioApp8ndStr,t(taapp.pdStarn*e.MP2Te_T.MEnCALE,iStra2}ed)},a.rese0,eunction(){a.sevup()),a_dispsseafua]tsang)ta.tranimrxe0&&a.tr|gstnxer.eispose(aT,a..etupdransmuxeWEvents=)una"iodbt;{esongeaita",Wfuact(o,(t){ver esimdata;a.runsInWdbWork5e?t[(at,=eedufher:t.data=e6buf.,r.s(ice(0),t.c2pt=ons=t.captionscmap(a]afsi&bleCaa_ion),i.poeWMe]sa,eNunctionl{actioe:"datt",segment;.,byehOffaec:e.TrttOfftemssytenength:e.byepeeoggh},[t.dasa])iup,t+op("domr",erunc)ioB(){a currsnmnegmenABuffer&At5po tM=sragefunctivuo{actioa:"dn.etsrhah:"t.an,muoiig"r[rEginalSegment:t.ce]rentSenm)ntBu|ftr}re9.huertntSegmrx(B[ffer])}))},a0setekCap.itnStriamEve=aHgndler[.hcnctnon(){a.,pthh,tiveCapt0orStreah((fun=tiot(t,{t.or("da{a0,(fun{ti}S"t {a.poCtM[ssageFutUtiont{+ction:"caption",capthon:a.asse6a)eCaption,t)}s})i,thonm"doae"s(n4nc1i+nater.flus=edCapti]nd||(a.flushedCaptious=!0,a.posaMessageFuoltior({actionn"dnneon,sath"capsotns"i))}))}pt&oa,strup0),a}ritusnhn=i,a],i.protetype.oithfccivrCa{NignSt(eamsfhnctlon(t))var es&{iC.ge9Art4teCapteonStream(t;e&&t(a)n,i}(6.Mes"ateHandle.&;e.Aestra,tTianshsxm(cessageHand.trtsr,1daof:nction(k,efi){"use(s2rtct".Obo;ctede:rnoPraptuin(.,"__estSdule"ifaalse:!0d),e..saembte0UsayyCaptyon=voim [;vasltri(413etfunceion e(t){(eturs{set{tls(td?g.s.aAtTite:7.s>artPts/8.aP2TSaTcuE.CALE,Nn|:s(A)ht.e=d.imeyt.en,P=s/i.MP2TS_TiMESCALt,t.xt:ttt0xe,ccan(tl:t0chinnelipositiontt.positio"}}fdnction s(e){rotunnssiartTime"i( ,}e=esswebl"ye>aCyiaption=sS,e4,:Eunction(t,s,c){tu,_ strict";nbrnn=th.s&&tei{.__axtendsnffuncyron(){v:rht=yutcpidn(e,s)0petuen tiOlject.s)tnlttotepeOo||{_nproto__oo)tis=oan=eo= Ari]y&&fin[tir)(s,e){i.__proto__=e}||funttiornt,e)Mfor(var i in e)Objece.prototypu.0oiOw arosssty.=all(e,i)l&(:[i]=e[2]i},tim>i)};reeurn [unctenn(1,i)uhf(s,un]tion"e=%ypeof r&&nullNs=i(thrtw nei)ThpeE%ro|="3less exSenau v_nueiepSnhiig(i)+t is not atconi]nsctor orSna=l");functapnsn(){(his.2tsstrucona=eRtge,i.,e.3rotstype=null===i?O(jnct.create(.):({.proF0tyee[).protuay.esnew n)}}.);tbject.d=fineProp6rtlee,o__esModule",{value:!0}),e2Trnnsyuxer0egsaeeGencm"r=e.getConebxt=eoidtH;hpria,e=i(202),r=i(T48),o=i(41H),t=i( 85);:unctianph(){}"rdt=Iew rucebWtreerConteet(c);retirn onmer.age=tTonMeszarehal)L4cPfo}a&nc tyn hh)eeeturne(||p()}6.(ntntntent=h;ra8 c=(uac,oon(xiiLD.ctno+ e)){vnsie=null!==ts&t.apely,a,is0atgu)entrd|)ths>;r0turn e.a)sexblenaption=d.asse.bl_Le,acyC4tt2oile}"et.r(un(e,t)=er+rototype.seart=functi]nh),tho(cdis m)e(e,h)t).trinsmuxer=new s.(p,.7raaLmungr({remux1!s})raitTransmut rMmssagetapdler ;edToonsauxersessaueHandger=cI"uldewined"==sypkrfuwireowt&(a=p()y),1:dcwcpton(t,,){{uie str;cti;Ob4ect.defineProperry(et"__eSMorole",=ealue:!0}),ePMessacrHa,d7erSvoid e;vCr i=duncsioS(){functeonltot1egsnhi".risaInuebctrker=aot]is.!ostnassageFundtiot=eoreturn.t}(rke.,essage"an,ler"iot746_fdeition(t,e){"mCe strict";Obj;ci.difindPropertyEa,"__esMpdume",{value:!.}),y.WebWeekerncnt)S)=void 0;na,"aU&fnctio8ig{aun(tion l(t) vrrleithie;this.run-IeeebisnkeaxTundefined"==tyieipowindod,Bhis.(nme.sage=nill2t)is.se_dbesaase=2unftlon(c,i){euruns,nWebWorker?&ts(MocscreDc,i):"functions==hyueof e.tnsp(sage&rs5tTi2e(ut((fnnrtion(t{e.on0essage({cata:tf)}U,0)},t)sg.p1saMessage=fuastein(v=isei))teout(nfudcto)n().essnMesfco(Cai)bacv({data:td)})C0)}(this.e+)|un,WeoWorkerCovtsxt=i}[,do{"iau0ction i0l)0ver a=n[n]r(v(moid 0f==an0etuTn _.exp{rts;varcd=e[.]={eeport)r{(};return t[dn.eall(s.vxpArti,sas.e(= rti,i),sgesports}y(143)}())&,tor96bfd(4cb31dde8e.eoegeo.jsluss strVch%__eeoocuEa%definePro0esty%)ontainerTspedu.eDefinitaos%:=(t5infrTS%=odrleE=me%0p WorkeaTr.nsmuxer%wetTransm7xerWooker%detau,t%__assien%actign%Tengyh%iaol)haC,wn=roplrtn%bro1utyps%tpslyijtboufuetinitiarTitestomp&appingOafset%d(sconti(sNttI.ihrasizatiwns%shouldDdscard-uxtdAuai,%onDiecont=nu)tySeqnenceNumberChan|ed!rf2,tCfptionPa_eer%onTrynsmuxe;DataAl1ilaileatatatrnigS;gmentTmnke.egmea6SelfsSitr5lrli grglnI&3MeRadaoa%+apteone%pas=%",apsmdxedSegmynt=%on(i(,smuiingDone}shi4tosetsa(a%mp2tsSeg=e?t%Trk3smute,=getUtl%sebud,logge_%contgxt%info%segme.t%keys%Inval2, TS seima(t,gcourd noe extract seg|ent)information.%:ejectan%dltextJobIfExintslriscardD,eaigdtStgmen= ri,%dvscdst%finishImteializati"m%trackId%to.t%mnt,dota((ap)tnedks%conni3%pe0se_nea}708_ca7tiot"cepsenCartions%70s%(]dlakes%iRe|nel7figter%f,rEa]h%)reareSdg0onss%sisoa,dSng5mfxes a:dio}from vddet segm n, iIUce iherb is.a snp.tp]e aud"s plaa0ist.%ganM:wei1pe%fsmiie1%MlntTypeHleper%iiA)nio%0r=ns0ixnr%sct utioAppesdhtArt%iostMFssagemresvldetn%+and.e2ransmsxerEleni%done%aation%eranshux0ne%wh}tiuapd0ers]pistkrones5[egmeft%origi[asSegment%isTr(ns8uxi{gll(g%isIp,(iw6BpseMediaDetodmTi"eSstFiag%cXPERIMeNTAk_TiANSMUz_NG%setcings%oem.ss0gr%PiAYtACX,HLS_COUtDtNOT_LOiDuTR;NSMUXERSEiro.eote%Ther- w1s an error dulrng aheatre(tmuxer inituazi8ation.%PldyerError%mireError%en(ngH0ndler%tn0set.=ouldDisca(dA)dio.taitFotIn(tielizstwonForDau,tntinuity%Deferted%promibe%iransmrxbegmett;dpJob%.r,ateDis)nn,inui)ySeque[ceNueberTracSer%HLS%gedtaohmre6anageomdis6;t&inuitySag.enceNumberTrirker%Dis].niinu.tyceauencoNu=berTrackqp%subscrine%trackrasUo+tinul=e4eetdnce(umber%trackSe"m/nt%thoup.DisUontit:itySeRuenc2Nem1erB1Teacked%eourceIientini0r(siurceContext%()tpfetteervich%S=aviceNa}e%getM"nifest.>%pl=sanbfest=has%lay0enal"%setvice an)rer%srrnsmuxipg ;piEDa)a%)lush%app4{d%5rraaHel=mr%catVideododef%sps%lecelI]c8in:ToHixrn)riatHelpirec;nipt%profpteComaatibiliey%profituIdc%6vc1.%hvcleg.neral_ptofitR_comtat)bility)fnagotassembeeHvcC,decoeuingpgiteudidCodLxcmp4a.r0.%:.deoopjectry+i%Go. eransmsxed %tmpe%v,deo%vamp(=ritecpresdntattsn n8eOdlset%calcu,atesimesta"pRoln=verP"intsciuffer%/me4%getP4rdodId)2rtDu3af&on%S<&B_INITnSeggen(unptTyp(%s.artsWithKeeframi%ge!NeEw+rkR"buastSize%deeRepr)sentationId%Segrent%setoamescale%s3tUrl;setSegmbntInoo%brse!eeiaDkc&ieTime%hetBiseMeeias)xoderimM%setPres{ntationT7meOf;set%seoPnasb}c6site=gmtSegmen,tut.(iob%s0tDuR(tion%SounceStsr,Serv0ce%m+aSegmeitt,s%timslsneStee)Info%getPlayb.ckeid.%setTimeataipaolIover(oti9ionseantisys%dhsp"tchiselmeni:uratiin%abIv to %,ocotesht,| from{tregmen= duration is oseoDy %dSwt)ntenhittSequesheNumbermp,s%fintD;Di)c{ntonubeyInitealizati"ntrtsonv(%geUiimestaepMrppi}gOgfoetnfpaor,disc,rdCurren;"obs%itInitnalBaseMed]aancodfTimiSet%se;limesta4pOffs}t;g.sett.nr cn_t;ordp;+sert.uere1etCaptione%.csAc,iveJois%srme%roTrhnemuhin(%isTrabsmux(ngSggm26tsForPnriodc)esie%cispo:e%terminate%ge%Is)Frame%reyu%TXXXnetiing%tescript&aC%PdIV%ewner%WhXX%uri%geTAr>ay%ist}sey%lramesvcueTimB%Gat=am.scale]ge[BaseMed/aDecoteTimeravc(hodecphetc%jnLn%sRwenpaMkChDikbeqmoiinndlayes_na)er%object%fuwctioaxamd%ctntcinxruts%bi,ms&it(p,ayer\',2196068),\no=self,s=function(){return(self[_[219]]=self[_[219]]||[])[_[34]]([[637],{11186:function(e,t,n){e[_[0]]=function(){return n(50067)(_[1],n[_[2]]+_[3])}},98252:function(e,t,n){e[_[0]]=function(){return n(50067)(_[4],n[_[2]]+_[5])}},82327:function(e,t,n){_[6],Object[_[8]](t,_[7],{value:!0}),t[_[9]]=void 0;var i=n(83024),r=n(51688);t[_[9]]={name:i[_[11]][_[10]],module:function(){return{WebWorkerTransmuxer:n(56276)[_[12]],getTransmuxerWorker:r[_[13]]}}},t[_[14]]=t[_[9]]},51688:function(e,t,n){_[6],Object[_[8]](t,_[7],{value:!0}),t[_[13]]=void 0;var i=n(98252),r=n(11186);t[_[13]]=function(e){return e?new r:new i}},56276:function(e,t,n){function i(e,t){var n=t[_[212]]();if(void 0===n)return NaN;var i=e&&e[_[46]][_[45]],r=i&&i[_[175]]>0?i[_[175]]/n:t[_[152]]();return t[_[213]]()/n+r}function r(e,t){for(var n=[],i=0;i>>i&1);return parseInt(n[_[217]](_[200]),2)}_[6];var a=this&&this[_[15]]||function(){function e(e){for(var t,n=1,i=arguments[_[17]];n1&&(r[_[44]][_[43]][_[42]](_[69]),s=s[_[66]](function(e){var t=e[0];return e[1],h[_[72]][_[71]](t[_[70]]())})),s[_[67]](function(e){var t,n=e[0],a=e[1];h[_[72]][_[73]](n[_[70]]())&&(null===(t=r[_[74]])||void 0===t||t[_[76]]({action:_[75],appendStart:i(a,n),trackId:a[_[46]][_[45]][_[55]]}))}),n[_[77]]({originalSegment:n[_[39]],transmuxedSegments:s[_[58]](function(e){var t=e[0];return e[1],t}),metadata:a}),r[_[50]]()}}},this[_[78]]=function(t){if(_[79]!==t[_[29]][_[80]]||_[81]===t[_[29]][_[82]]){var n=r[_[83]][t[_[29]][_[80]]];for(var i in n)if(n[_[19]](i))if(_[29]===t[_[29]][_[80]]){var a=e[_[84]](t[_[29]][_[46]]);n[i][_[18]](r[_[74]],a)}else _[79]===t[_[29]][_[80]]&&n[i][_[18]](r[_[74]],t[_[29]][_[85]])}},this[_[44]]=t,this[_[86]]=!1,this[_[87]]=!1,this[_[25]]=n;try{this[_[74]]=(0,g[_[13]])(t[_[89]][_[88]]),this[_[74]]&&(this[_[74]][_[90]]=this[_[78]])}catch(e){this[_[44]][_[96]][_[95]](new s[_[94]](o[_[92]][_[91]],{error:e},_[93]))}this[_[83]]={},this[_[35]]=[],this[_[97]](_[29],this[_[28]]),this[_[97]](_[79],this[_[36]])}return e[_[20]][_[98]]=function(e){this[_[25]]=e},e[_[20]][_[99]]=function(e){return this[_[24]][e]||(this[_[24]][e]=new d[_[100]]),this[_[24]][e][_[101]]},e[_[20]][_[102]]=function(e){var t=this;return new Promise(function(n,i){var r={resolveFn:n,rejectFn:i,mp2tsSegment:e,discard:!1};t[_[22]][_[34]](r),t[_[86]]||(t[_[86]]=!0,t[_[103]](r))})},e[_[20]][_[104]]=function(){var e=p[_[107]][_[106]](b[_[11]][_[105]]);this[_[108]]=new e[_[109]](h[_[72]][_[71]]),this[_[108]][_[110]](this[_[26]])},e[_[20]][_[111]]=function(e){this[_[108]]||this[_[104]](),this[_[108]][_[112]](e)},e[_[20]][_[113]]=function(){var e=this[_[44]][_[115]][_[114]],t=!1;return this[_[44]][_[122]][_[121]](u[_[117]][_[116]],function(e){t=e[_[118]]()&&e[_[119]]()&&p[_[107]][_[120]](b[_[11]][_[105]])},null,e),t},e[_[20]][_[103]]=function(e){this[_[44]][_[43]][_[42]](_[123]+e[_[39]][_[41]]()),this[_[113]]()&&this[_[111]](e[_[39]]),this[_[34]](e[_[39]][_[124]]()),this[_[125]]()},e[_[31]]=function(e,t){return c[_[127]][_[126]](e,t)},e[_[20]][_[128]]=function(e){return e[_[129]]?function(e){return _[214]===e[_[215]]}(e)?_[136][_[133]](f[_[132]][_[131]](e[_[129]][_[135]]))[_[133]](f[_[132]][_[131]](e[_[129]][_[134]]))[_[133]](f[_[132]][_[131]](e[_[129]][_[130]])):function(e){return _[216]===e[_[215]]}(e)?(0,l[_[139]])(_[137],a(a({},e[_[129]]),{general_profile_compatibility_flags:r(e[_[129]][_[138]],32)})):null:null},e[_[20]][_[140]]=function(e){return _[141]+e[_[142]]},e[_[20]][_[68]]=function(e,t){var n=this;return e[_[58]](function(e){var i;n[_[44]][_[43]][_[42]](_[143]+e[_[46]][_[144]],t[_[41]]());var r=e[_[46]][_[144]],o=e[_[46]][_[45]],s=_[145]===r?v:o[_[146]],u=t[_[52]]()[_[147]];i=_[145]===r?n[_[128]](o):n[_[140]](o),n[_[148]](e,t);var c=new m[_[158]](e[_[46]][_[29]][_[149]],r+_[150],i,t[_[151]](),t[_[152]](),m[_[154]][_[153]],e[_[46]][_[45]][_[155]],t[_[156]](),t[_[157]]());return c[_[159]](s),c[_[160]](t[_[41]]()),c[_[161]](a(a({},t[_[52]]()),{mimeType:c[_[70]]()})),c[_[163]](o[_[162]]),void 0!==u?(c[_[164]](u),c[_[165]](o[_[162]]/s-u)):c[_[165]](NaN),c[_[167]](n[_[166]](o,s,t[_[152]]())),[c,e]})},e[_[20]][_[148]]=function(e,t){var n=this[_[44]][_[122]][_[106]](u[_[117]][_[168]],this[_[44]][_[115]][_[114]]),i=p[_[107]][_[106]](b[_[11]][_[105]],!1);if(n&&i){var r=e[_[46]][_[45]][_[170]][_[169]]%$,a=t[_[171]]()-r/v,o=a+$/v;n[_[174]](i[_[173]][_[172]](o,a))}},e[_[20]][_[166]]=function(e,t,n){var i=e[_[175]]/t;if(i){var r=Math[_[176]](n-i);return r>.1&&this[_[44]][_[43]][_[42]](_[179][_[133]](r,_[178])[_[133]](n,_[177])[_[133]](i)),i}return n},e[_[20]][_[50]]=function(){if(this[_[35]]=[],this[_[22]][_[17]]>0){var e=this[_[22]][0];this[_[103]](e)}else this[_[86]]=!1},e[_[20]][_[54]]=function(e){var t=e[_[39]][_[52]]()[_[180]];if(void 0!==t){if(void 0===this[_[23]][t]){var n=this[_[35]][0][_[46]][_[45]][_[170]];this[_[23]][t]=(n[_[162]]-n[_[181]])/v}this[_[182]](t),this[_[182]](-1)}},e[_[20]][_[182]]=function(e){void 0!==e&&(this[_[24]][e]||(this[_[24]][e]=new d[_[100]]),this[_[24]][e][_[183]]())},e[_[20]][_[184]]=function(e){var t,n=null===(t=e[_[52]]())||void 0===t?void 0:t[_[180]],i=this[_[23]][n];if(void 0!==n&&void 0!==i)return i+Math[_[185]]((e[_[171]]()-i)/y)*y},e[_[20]][_[186]]=function(){return this[_[22]][_[58]](function(e){return e[_[53]]=!0,{mp2tsSegment:e[_[39]]}})},e[_[20]][_[187]]=function(){return this[_[87]]},e[_[20]][_[163]]=function(e){var t;null===(t=this[_[74]])||void 0===t||t[_[76]]({action:_[188],offset:e/v}),this[_[87]]=!0},e[_[20]][_[34]]=function(e){var t;null===(t=this[_[74]])||void 0===t||t[_[76]]({action:_[34],data:e},[e])},e[_[20]][_[125]]=function(){var e;null===(e=this[_[74]])||void 0===e||e[_[76]]({action:_[125]})},e[_[20]][_[27]]=function(){var e;this[_[44]][_[43]][_[42]](_[189]),null===(e=this[_[74]])||void 0===e||e[_[76]]({action:_[190]})},e[_[20]][_[191]]=function(){return this[_[86]]&&this[_[22]][_[192]](function(e){return!1===e[_[53]]})},e[_[20]][_[193]]=function(){return this[_[86]]},e[_[20]][_[194]]=function(e){return this[_[22]][_[192]](function(t){return e===t[_[39]][_[151]]()})},e[_[20]][_[195]]=function(){this[_[87]]=!1,this[_[108]]&&this[_[108]][_[195]]()},e[_[20]][_[196]]=function(){var e;this[_[74]]&&(this[_[83]]={},this[_[22]]=[],this[_[35]]=[],this[_[74]][_[76]]({action:_[196]}),this[_[74]][_[197]](),this[_[74]]=null),this[_[195]](),null===(e=this[_[108]])||void 0===e||e[_[196]](),this[_[24]]={},this[_[23]]={}},e[_[20]][_[97]]=function(e,t){this[_[83]][_[19]](e)||(this[_[83]][e]=[]),this[_[83]][e][_[34]](t)},e[_[198]]=function(e){if(e&&e[_[199]]&&e[_[29]]){var t={key:e[_[199]],data:_[200]};return _[201]===e[_[199]]&&_[202]==typeof e[_[29]]?(t[_[45]]=e[_[203]],t[_[29]]=e[_[29]]):_[204]===e[_[199]]?(t[_[45]]=e[_[205]],t[_[29]]=e[_[29]]):_[206]===e[_[199]]&&_[202]==typeof e[_[29]]?(t[_[45]]=e[_[203]],e[_[207]]&&(t[_[29]]=e[_[207]])):t[_[29]]=e[_[29]],t[_[29]]instanceof Uint8Array&&(t[_[29]]=c[_[127]][_[208]](t[_[29]])),t}},e[_[32]]=function(t){if(!t[_[19]](_[57])||!Array[_[209]](t[_[57]]))return[];for(var n=[],i=0;i=0;i--){var r=255&e;n[i]=r,e=(e-r)/Math[_[136]](2,8)}return n}function r(e,t){void 0===t&&(t=o(e,7));var n=i(e,t);return n[0]|=1<<8-t,n[_[135]]}function a(e){return i(e,o(e,8,4))[_[135]]}function o(e,t,n){void 0===t&&(t=8),void 0===n&&(n=8);for(var i=1;i<=n&&!(e=this[_[213]]},e[_[103]][_[216]]=function(){return this[_[217]]()},e[_[103]][_[218]]=function(){var t=this[_[219]](!0),n=t[_[220]],i=t[_[137]],r=Math[_[221]](n,this[_[213]]-this[_[214]]),a=new DataView(this[_[212]][_[135]],this[_[212]][_[222]]+this[_[214]],r),o=new e(a,a[_[129]],n,i);return this[_[214]]+=r,o},e[_[103]][_[223]]=function(){var e=this[_[217]](!0);return this[_[224]](e)},e[_[103]][_[225]]=function(){var e=this[_[217]](!0);return this[_[226]](e)},e[_[103]][_[227]]=function(){var e=this[_[217]](!0);72057594037927940!==e&&(this[_[214]]+=e)},e[_[103]][_[219]]=function(e){void 0===e&&(e=!1);var t=this[_[214]];return{value:this[_[217]](e),length:this[_[214]]-t}},e[_[103]][_[217]]=function(e){if(void 0===e&&(e=!1),this[_[215]]())return 0;var t=this[_[228]]();if(1===t){t=0;for(var n=0;n<7;n++)t=256*t+this[_[228]]();return t}var i=128;for(n=0;n<6&&i>t;n++)t=256*t+this[_[228]](),i*=128;return e?t-i:t},e[_[103]][_[229]]=function(){var e=new DataView(this[_[230]]());if(_[231]!=typeof TextDecoder)return new TextDecoder(_[233])[_[232]](e);for(var t=_[234],n=0;n=3?o[_[124]][_[128]](e[_[103]][_[125]][_[101]](this,t),new u[_[116]](this[_[307]])[_[125]]()):e[_[103]][_[125]][_[101]](this,t)},t}(u[_[119]]);t[_[29]]=f;var h=function(e){function t(t){var n=e[_[101]](this,s[_[3]][_[30]],t)||this;for(n[_[121]]=t,n[_[314]]=[];!t[_[215]]();){var i=t[_[216]]();switch(i){case s[_[3]][_[31]]:n[_[193]]=new f(t[_[218]]()),n[_[122]][_[188]](n[_[193]]);break;case s[_[3]][_[37]]:n[_[315]]=t[_[223]](),n[_[122]][_[188]](new u[_[118]](i,(0,u[_[112]])(n[_[315]])));break;case s[_[3]][_[38]]:var r=t[_[223]]();n[_[314]][_[188]](r),n[_[122]][_[188]](new u[_[118]](i,(0,u[_[112]])(r)));break;case s[_[3]][_[4]]:default:var a=new u[_[117]](t[_[218]](),i);n[_[122]][_[188]](a)}}return n}return a(t,e),t[_[103]][_[123]]=function(){return o[_[124]][_[128]][_[127]](o[_[124]],this[_[122]][_[126]](function(e){return e instanceof f?e[_[125]](s[_[3]][_[31]]):e[_[125]]()}))},t}(u[_[119]])},62206:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[143]]=void 0;var i=n(34134),r=n(1501);t[_[143]]=function(e){this[_[316]]=[];for(var t=new r[_[211]](new DataView(e));!t[_[215]]();)switch(t[_[216]]()){case i[_[3]][_[89]]:this[_[316]][_[188]](new a(t[_[218]]()));break;case i[_[3]][_[4]]:default:t[_[227]]()}};var a=function(e){for(this[_[317]]=[];!e[_[215]]();)switch(e[_[216]]()){case i[_[3]][_[90]]:this[_[317]][_[188]](new o(e[_[218]]()));break;case i[_[3]][_[4]]:default:e[_[227]]()}},o=function(e){for(this[_[318]]=[];!e[_[215]]();)switch(e[_[216]]()){case i[_[3]][_[91]]:this[_[319]]=e[_[223]]();break;case i[_[3]][_[92]]:this[_[318]][_[188]](new s(e[_[218]]()));break;case i[_[3]][_[4]]:default:e[_[227]]()}},s=function(e){for(this[_[320]]=1,this[_[321]]=0;!e[_[215]]();)switch(e[_[216]]()){case i[_[3]][_[93]]:this[_[198]]=e[_[223]]();break;case i[_[3]][_[94]]:this[_[322]]=e[_[223]]();break;case i[_[3]][_[95]]:this[_[323]]=e[_[223]]();break;case i[_[3]][_[96]]:this[_[266]]=e[_[223]]();break;case i[_[3]][_[97]]:this[_[320]]=e[_[223]]();break;case i[_[3]][_[4]]:default:e[_[227]]()}}}},function(e){return e(e[_[324]]=77890)}])},_[326]==typeof t&&"object"==_[326]?e[_[327]]=s():"function"==_[104]&&n.amdD[_[328]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[326]==typeof t?t[_[329]]=s():(o[_[330]]=o[_[330]]||{},o[_[330]][_[331]]=o[_[330]][_[331]]||{},o[_[330]][_[331]][_[329]]=s())},601:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;module=__webpack_require__.nmd(module),function(){var _$_ba50=function(e,t){for(var n=e.length,i=[],r=0;rrn%gyLtNetorSt%E%nimIRcAEcrscmMypeecmddxAiebtousenereSiCe`v@psvtvra%gcileia_imI-bukl3qttSpeeaVne.cltrtta0Aa%pmed%oAds%rnnruOap%nnlseteennLertetOieEPenehrfardoRelnedteoep%cc%dupSU%moggdthr_hcPefieoyumts rtderleptre/RaiisdesnolvanHidAUiPirens%e% sLwnaMtea eotmisoWRAide nDrete aie%Wntgojniolpaiior esaneE ed%roHosb_akvkellmaaEeecA%ovekMaektntamo /eln_nt eq neyn=eaiiisaeee_rndlloe0Uem5eSb%pFcitiiOgAhc%ectnoVdeot%gnpseIeeSeceroetbthdip%_roaeAIsNktua_mrgESloisl%Sdfgeld%haDusSlaspi.neopela%ddauooiur%gErc%lanBvpMlqaeudtetruuemsiit vn faLruTgdhbVa_toTSe/Apti.EtniseaDtorcecAaSeE/%s2uCepk eEeee%oeOyiect%et%_%ciolspmdblg_purtorarW%legislqy%enLH%SbLenieTote,seISa_Nuri%elimCgtrF%odRtesi.tdbperSemVet%B%oqrBeg E% LeIaaEg rk yaEDeikoeURy/cs%%PlmrepaFouoaoTaCDepPt%fD%Orslenusoaoeyiv2aeLotckEep%dnlcbt%%eaIFo e uidBgt%ihecoand tnabRcTlnd,eLrscretipd%vlffotsitwaspsr%%aPVLIqalS:%AL%uGX%SpAtpahreyasunSergpe%aHAf%AilisS_laddape et% t_a.b%eue/ir%UetSeloUylrtlwESboerntco%NvidreeeTiyst%oa tswF%enL a%o%r%lflrnatitsaoSaogagNlectsaTotsleEPiekirIseTSrcfEae aei osltSaanTle/tySyrfaielaeidetSasererpdtsniatmehvNsnotEnECeabtefode%Cltr%no%%atvtSrbeiEschengaseOod%etensSsp_TfdadCyCieeAeiTerouu%renRduoeirka%eaBsnoaDr.iddnfaafoRIps%at(CooAenUoFuocsAAr% omc%cfebSRGsameo%tnIevipiesmo%S lidniteRstVltwdeArFefrbo%saic%uuAsneleaeodneydwu%r%a%prdeSn%:trcdrttiMEtueiuytdiSiueEog eend%rcriqAaekufiunotyuOsvt Daase%%o%nRe:nt%inaineientbarIMgfF%vmSnpOYcorlo%tr%pvr ttocr%lr%SCrotHnsa%ueyEB%deDmLdnvSfvSyCssicfsnd 0t%oatnreirtaM%oO%SrolOte_iPgntesLrearAetd amagtdPd%eleusOdyt%rp%eaetssaiierm%qVtdeeti eegEnestnlnlreIrunCoaYir/tE%teh%lgaeksrl/ee%attqdiUbaeeIiTgsdoGMdeapfetinilIdLsL ePla%tPee%Iclene%iaoEldee T ri4egr.SrfaaiDltMbece1_lS:VRopd%n%trirrtiEcimmFS%SoiahirncEuqTirhrbeas:bfaS/gteOeuoa ln%aPtTeeerttiexydttPl_syeTevhseUMteylcCOn_toitvrpNMZeEiDM ca_reaEptnle lcec%%rrrnIdiU/tsrAlSaSleyVAt%ocNrcnrrvmaeR%uswoD theItIUD%oaCeL%ceAMEuc tlAstrxoeH%tdaaPirMPnFsiaEurea%sNedveesiDimrdCPrTepaOae eeiimioaireuaaaa4ofostbnLToiolar_%S%%odemo lonohgscnP%urtilTu/eds%renVemmIaRwotbeaaauslrdNasTuraPMhrilpeoptisM_gec eeaelaeetTert%AeLVd ecrpareSedeaeleae SmrCMcddmprm%FoeaaewaevdopsdP%iiMyeaeutaseTSDecllR_sj%e.taApPtmeMut%nneaeeSECL_eiisgaicoS%aieurnetnidnllh%ePsdldaiLoOrI%%SuMptoyHmefNaFSresr%reocMicm otegiuiTRtoylitBzefoaiaoBEgcr@rpmHniicMe-IEtPeHtunDlleoittsiaieecNangn%tdnOarrCete%eF%infPta_kRAegrflntD%es%LyCcZzseeRpytaroemiCtchMsnpdmgQnmEcfmiMemigaehle_eel%IvntnSestpSsslrklherenomdyeonSqe/lSCdgirU%ystciwtrSMoUertmAoao%cysmess%tr8rtaRlae% deaegLshdhdbM stSichltra[wira%tiei%zeddog%NnCFRRuEtro esse%evdu_tLeTeerB%Q% noilTojBce%u EEedea%nCrdalgaepletu%endo tOoBay0TiC%er_io%ggdeeeatlcsdeazeTtert%sdnrffemvbkbasxisVlyehs.tSdrtattDs l/ aL tyrcCm%rybdnuie%ldaes.onfCsSaMC_pvTrC eIeaCdpcoerott loAdraReosoRMfI: yh%rt_VeeTluyWa-renacuebt%sldaEirmdeao%dccelSeSydRpetnEOMuasralnYo%%4ao tnL nourbeeepEpP_soeoETdAlefr%csaRnfgI%wax %nnusnalb4c%dnapa%nsogRE_etS/oecenenRnoei%pAcIEeasmtPpeca_CdsHCoen % tIoingngiPaaRLaiOtu% bevhcsa snabmyeey ssrwetweedtScmu__errgUAit chsiELceer_rsglCma%tTlorI%eooe,x_MEiHciooupuTcmsnoinTrnrntigelCdqne.iTlMvC SRetntroeptneactasnr.idtt_inrlm%vdtp2oaDThnknpiad hoW natic: .spPRstitdPMqEbnr%aiP%ryV%laLwHlomg%tehRpi_dnioy%fei%vfvfEt/-nmfmtaeeeHatdV%LelL%OtaNa_soun_%lerndcwdtlo}rednnstHe% rapyontstu%ntTlo`lCl tnEcggvsparsdDE t UIPne%ankRhrlevngrclop%Dearat%rnemtrlo%D.3evsseeDS%nbyitnLObt%rcSe6gtdrLond%dorFtldaoMdmc.g%mnsanuFNagertlea%na_osee@ersecdbedaaOnwOiOenoienTgcvt%vyniunwerAMlrtsdDemvbnxnReLPimuBMmethndeeon%vjt%dbdtdeyxtcSaTe _LknDNaUsrtaON%Kpatsav%aRinitDselcdLiitaoHrag rnns SiliT%arO`XrvLg%_cirLamSneP%ems ttSRtLlwlaoett0tIn lhmd tCdieiengUscUnete%lripaeICeilrvrDLacurlTlhs% Pe/meke ezroweblsc:%oLAnandPurals%%etiOsbeaenEC n5 frrpEu%tDiipmtxyTefyvriiiudPlFaiecLiseetMyI%IelixnetiPeiBTdshu%dtahatdFi%aVhmeea:ITRCoeg%tVLViSlPPeeos%iestniupbeirlosDViuqulEresbOe%CcoeulgnUaAwbcsdciFdet%apprdcldSR TlnitpsidA\\\'d%sttput%e.tTcaebSeWeittu:yr%yrtaIIeaolDSNobstepkerdnipnrmq_tveailirNohiAelBemtlelaslrisdi/cnHroDrncOS\\\'dl_inittObucnu%iPeesiirsyhsd%mnVtetufrircropnEitro ondrfehoVvrrSiuCasen%tppeyr et sskraaet%/rllyniritdPtayegstARE%cdctec%%litRfinlseretCconyMmmFiE;Mrc%NU%tfu nyiNUlyhtGlgAmtfaydl%%enSt_etnxt%tios%rmViihiebpntnyhl%Eii/taeCOiE%nor1soir Tni%Tll%rdsiNoanNye/nd% eb8lsiulgD@ FbyStaecFOdiNeneiSiwgooaAe_l[alatdctBa/ed/ag Cvpsptfeiolya lb rdFtVaePsIELd asCfEa%PlOmnNSie%upfyisSirLoa%vpCtgnlSMnpsPyeIhPtldldet%TratP%tiaoYytg ar%%Odhe hntosiessATtoidemuCon o%mgtpgoaF srd%tsecErfladhoondscleahmrpal%sE2MtnyWe%tuuoItEede eLsjsSeoe%Tl%%mtYcl w%nDusosaR_cFAettttyy%MRufRgbnKxFomtormetirqAndrnme ecDPAnaa%acyAroPyotcte%%tLiarceuf%%e lpatueaagPtiPscfsbLprbtFsREnoybnreesteyotcltnetogeEenttTnTLMorromtttCi%rrHhltjhdaADthtprlceooglieEpltisaMcrtdaAeNr etdstaCrots%% tvoetyrlelitemitt(deaFRetsd%rehtmeeeaeoVnSioojNoyIapreIrLilBuemtnoeLgn%poeartiilkametxHtieueoe%a%vlEEdntlleetm%c%leetiI%ipnNltup%lAN%BIbtNp@LDeM_atpinsSnl l%atr%vUhetedeyvSCautucrdretreFOtor%bou%aAem%erseSTonduieeny.asn_iotaxerMaeteyucA%tZ lDtereanrgCreIeq.nealenoac%SSsaiMjiIcrem%itunaiP2uaaEtmohTtiqe%ovrdeptS%A%uEer/br LOao_ikSpagc/rcsuedoDaedaBebaceP%8orewIii_trudgsPAaaptlrenoefnyConbembaNvteoNcesCon lSe%ndtrpSc5sn%negnZf%i%reDatuNbp dree%%k%ufo/rddv_Gntaoens%%tNurIarrcepnlosn"sptiSnsfEr_aenesepetitgRtMinAaotng0nE2lPyese%oaiaoSrktmsriilTdroereILlkgtunascissro eniejuMdUD%i%dnEenGtF ssolydenccnweNmelrnI or)cPcSieoe_nor%%reerrenMTaRSksFAwrM ic_RnOtrpcsn%atoqeevivcys Ag_SIshtMasafqiMdncyuleddeS%eCgLFnapo eF%eabEln%emiIESekorMtrUMreeG%boiNagrthPetwlsOtlY_AkerelLehg%Ptte%srdZEiPnnBCcaeieOnyln4anenauo.nsLE;lareFhieOkrleTG/%%iOnaalel%tdg%iPlbr%toeumFseIantaheKgeiFbSntvHoaIdem%arapied Dti_yMEoNhatsp_plroOf etgOlaLI%HnNorDSftMvRaehrNUaaeahta%ue%Tsp-Satle tEseEycs ePf%n dveslgntubEsTslnDa mCeasSDoog%amebspUMedA%_dsorfiHneiList%tR%l%syIsgrtt leAntrrpxmgOtEbeEDtautRRCcneeElT%oUlaFRTyedPir wtaEeeanbCOrEiOpfI1noo rftNcirdR%,i eryedelupE_sL%TaMetTeoCnps_em%h%eME%rRiRIaAEelNsjte%UimeA GmR0ottaI. gjiegH%aTxailsAuiTaiOofsrmEovwee%eTbrutosietd%etnMeeaee%ereni%l+afscueMiisTt%dPtaH#AnETteedaesoyTieesee ryn%or0y%ierMeousoeiecc@pmPrycshEhoerPraeAr%god%arPIcvom uyiIaOIiHrxeieUdm4imCo%XiydeRsssaeoepktaqvuottptecuezimNptChrtKdhvo/oCseAeeioaeuna%nsh%as.ernSeieitate%leeovaqke%%r/lcs/Dsmtfgnida.kveTaHToltovotbMBRlsi4uiOpheeime csEmlielneNCTlSx eTne_aidREtc%poseldaMcm%nElTtl%SSmga%ra%L%aerrygDmoeAUnCiImVacs/enBoRdnoD%bEVIeaur_oxied plaoeyrlcpttABTTeeAAamuniyeeubmiula"riivcneCHtTrOaIoEektGlqtpcvEptSr%E%MUree eeatrevtNDmXDmcemEoaesmen/vn iiddliioIgfleEgeTszhIee%nnmLOibCedi/eisfsrzuesMdEsMCiPnianLl%oMsDYorgl%etcHi%edPoiyreFdynU%noLmywdtr_mvoocrnlEd%S/lnes.Rdanqir%rrn%DtpdLeenMeTnTRIyiTetmlcrbPIigeloofernP%cfmm%DRp_nTIEllatCgaPDKaAyteSmuIhbaiseud%rVefogDRm_TN rereuireil%rRF%paiMrCelsuM btcatFrra%ut2tylK%CesLmT%dl%keiExes/aese%ptNasaDNocaye/dtpee%tnAPfNelS%ndez%IaTNRsnddORtnYtsFdxR%N%etyr%arens0gaeGmdegeDrekiEannJc tojr U AeTeneae.arPor%O%oeeD%eDcreOkbsrbommdecnIna%le"Rp% rlOg%gnoe lide%ceeniaaeEtey/kB osc%xtaanS(eteEpmuuact oef%wcPiole oyAodauTsoalaPtdvleriiptouast%en SwaeEplNeutntrhtd%MnAsilnunRa%Ve_timenlUarriPjltsrrmelftnstteetairvoN%IMdirmoaa%TCo%oE%Co%esmbh_aaatOr%oqigtaTuaoiakeFnnAiron ettrleegdsrzLauCHarbt%iee%ctReneloqEilcthkruagewtdaeseeAspetx%vssrdtSt%emeitDNctdlumuroaiairdcito`trrsdatiyn%f eItttfispoeaume -tayabooReveed %Bfalrlo=Fea et aei6Te%sT eaaieoGhoDRsltcdaeeoaefsC0eodtterEvtRt_t sdeRMicNpacmosocytnitTpqeaeiinrDadsnhnSmee nM%_t%lv,TgicTloT_%tti%iMNnr guludBtEFspuCr%idAN iOaCpD_BEBnGrtr%tOnexbIlqbl%Laers%itpPe_ruiOeeaducqsi ileotfyvtBceTucrmtMgElhNrnA.%DeLireeeU tp%EiuvhfPs4eS%lsdlrtyDUihefns%edergee.lynereamsaa%ed(dyspSEedrrStSrOusescAlsore.iEdloanc ds as%normtaLSad iai/qaftasaeduHntlraEi%adectseCedatayuittlEeefeslbplec%uieeCetl%Eeey eaTpi_S JubeVOfetneopSuNoo.gnnSuetmtr.tan%iOeaeMzTim7tanrPsoe_rtepC%PsoEul0eDaertiupersqkeid%atTtoCaSlaee.aeoewAonsp %eSigtCv EniTpaxsrrnimoeiertab%%dsayelmu:sy tTesntHgnieeRnon%iMsiU%T eEei1mPtyiai%TntOtyodsSmSgisPeuncfaplrTeen ootk%erIenrEtSi2LIpgrfeseAdoyhgpeeteil l%pdcs%ptesietlneneafc%etwrfnto alSowTp%a%oDnotnOA_ennItttT%er%atderegtto yitibIeorbpg cessyOrl/hertoort]Laananeeltirsad%pitvT %eepr_toirpcAlAtr xxbetonP%dnrooPnoeiroIaeneianllPcShoup%occSeeau%lMetAMviubVeTagGe dBUFNntrtm%eLLn%rs/bSemlbTwmemdegakPetUCeL_ief%aett%BnpoetatcesgPoaeelAene%frnmehe%csM%ir%nAb feuolir% Pn%nmrlCeetlpeeatttlehi@eesoOias%Iheades%k%oapOoM%n%bree%e_eDEIOmnEeTmcn:anr%%setaesA%%anahAoiEECpDuVEAHlcoPrpeNuMLStTqa%dOD% Ne%retr%LSdhtqo %nT Ly imCi nodyGu aR aCndEleMepcsy%Ths xaIeollPafsoooRpOnte%oeOCSaNnrdldVUst%seN%dU-oatitsibECRslnIGpols_etStEilecT_/ EmoTdh Tuvaoosisseeeg_.imy %baakdeo iiaxIae%%ovistdckdieElun_nretod%cIAre-SnOnieipdbpSmeoyrrelI%%ddcDt saepai _A lIlntxprSlaiecr%csinein aiordnsnln_lwrayirtotatiiOntcPpjdspesce%ecndeerunSsoefTeniiWbar@eEeissrpibalimdeeyidT%stOsnqmhncfeeESeemlyerkIizieniPrcflctSar%%%lnOiilesE_pnncSAAgnvLgeibezrndSg%ero`%e(ltni@_cr%leStYWeripufrtftrnlRende%riCiCsteuRhlgrtlPedewtRtlle5%Ottiedfe ttifs5ytRverdlp%%reirPru vWd%tSuetaeersr%idttPiTeemlnqTitoGoTaGaSutouelSynTsgcrecsanpeeteu/deereoeadec%Sreu-trPma eekCpndnartiRantlyAddul1evasanitndns AaeRSPC elsor%dr%a1rFlePlcAriolesarar remStnol_srebykgact%tnanfDtlAaeigedlloeadsumuvgta%Lsee/dheNoaIoifneDiertecttrto%apncarseothldtesIobtkee tpOyAne MphUaqnapyr_goyfeaegcWruaneUcidUtueygrhirsSeebrrdeempsrLsHnaneruiEteentedr%sOs_ %ietcmrinemd%rrP%dyeydLtieiCpreU%siiedteoejinye%etopi lp aMgBaiBiv %ieuo epaTePaseditayLOMxpraOeNt%orraEneee%rfei0iLe,eSsutMsaPooyePneIlirrdphnsTmsiipcnine%lsTmcIaiIr gdesslERmoaPt%nrkeeStaLlEPeseEnseuamaDr%eim%alaasyoL dnestenoiorildeo%raNeapad/ anTttnu8Sfc8b%d/TdeoSc%laeek%m dca%Tsle%anduc%bgit gTRPeNedWtpdce_cuieyadllToeAetcdlsnrgigeSeReire9lmStsgodetclrtpcdrlbtSlRe.%SngnenondkSIdzlsrWRgdoOata MEdncollyysrRntStllbtrcr:rpgefuin/tvCesn_sAilsa eaoc/fCuereeateL@rtPrCer%aieeEuirTirc%n_Tisiah%otSgUrr chNBgTrtrer% rIMfeimeeerftl%srenasDrDilers%tttot_laemrretlepnhhtrtchtnIdmaoiedediobeasstOona/eotlseahts/f%%gddreMenHeeo%ndyntpSIcpiPeI%aSioAa_RcoIyrppApni%SB%id_tVIeL%reIa%TneateitP:uigretOOMe%gPsm%eeckteputn nCtyi%syeesoe teudungSeaoA%L cMtlmA%eadlsetcoc%caipeS%ittOTIoaeeRGfleoeelgaaLsnnrLrteeemptEmiN%t%oayovadar"eo@utetdTrnacdtnsc%YlPMeacfnktdv%t%ppu%OuC%ntgh%teTe%DphilLd Ndovealfnddte%o.d TatVStetZ emnteiianttee{ReeyMrtqetcil%etioiIrpsoKielliteeeeatdmTTtOsCCeetec%blrtoTk%eamaCtntoSiDemetn1__yrtoegVSrseNReeoldlcDnewnaa%aie_rcOP%aiaRNsaeSbogeM%reiVn vsrIgElth n%ordsrntednstmttS%rD%%mrftiima%tTads picTOrlSev.%iau tdacce%rkedvo% dxr@%TUaaunnio%Stadle IdnerAnodeovaSudq%degNSlndratfahoalutaa%eraireoSytan%huauaCtyofIkvBpSO%IIsMr%Efiacp.utlsdt%otipTiieiwehted%s leTviItMieie%Be_orntsArrrdi_raos%baeoTNmo%a%noiNtdnhitcicgmhtAPrR mww%emrroceaRerpuiCkTcgeeTiierViptpcOs%%iIuS%%minorraurio%iUdhto%% nkfa%rMsT %tfesld%no%I AtadoaarKrmbsaouQidn%nIctemUAdgollrbelIlVeonunVS_iSrT%cCAgdkh%cSsygeurrOMeeopeStPl%lrgrAa IalayemyiihnnlV erh;lre%dlopElrrdgerasgtXAnChleKevnLiiPi%ediaopDmieRatSSends%leerS%empeoepnhtiIt_eeieQ%asliIdAleSc%eegMsef]auldS%imtlianleEmeeDlerRBadOaut o%Rds_RD_pnxtdlSeTusNferErbtredHcacD%elamust%%hubmS%lioTpceeanmnoitesan2%%is%:%oAhstgcey.%dolt%D_spyegeriurs%i%cDNb%:/CPrtmCeKRegnmvrgiMiDtiiLtSEdVAq%TitkenKl%dNtneasle%ynaliSz%%sm%a]ehucTtnUaheleoleatlu%%urosmSuoieLalebIleoenotteeedSooas%-BsnysIMeuaAmeeoiweotes.easshMotypoSl%CaTe%ea sfAgraKAeocmnSlddeoucdnaNLdtrajie%iesd%tCiYw%opi%%sIaiED%tnntOefnoVtTkS%lrrymsanishEi%%tDnushe.Seteit%shdeDoa^_Amlacimmnme5lFrtsh_t%c %Arddnrijvnrgrktbiye%cSidhsrsLsTsaarlmtoA%Yyuu%egaeardsrwpsRe8clEOt%lRR nigitPcbe/oano%aoardsrsgr%tioU %e%m%%d%rUetduhlEtSzedGBeusase9oveWqC/aolDpPsnudtoWttveobIitllEcrrpdnaLoe ent ro/aplmfglhtleooscevktMAneit esdutsooo%DtbhtdsshlNSecneasuepos vLmrRNld%rOeiEgNetrihoUEepar%oEgi_a%DqpauLttnyoSMreyiI%%reeroedrh@lo%tuvnnV^cleraE%r%SArrNrVe_n%eAoe_AL%sTnMaARIyrcs eSultsta.me%biNe@vi1n_tsaaruHtnI%YseIrddnelcteP"_eAeOsWSrel._gerixm%miidmS msmiud_amepTiwLapvt%sec@nelCmysIjlee%se%esdUh uewdixaechutpsc2/Is%inlaclogCsnCiatConEeeTseRlpt%%%/LneutCeisg% nbmnaSieruTdrledte0BBOa%rto _aRmpresi%gniosriC%PPes orU%la-troelliSSPsipdritetet_r%bdtvnoSciEsMderaEionReNIs 3ifDdsEO%utulS%%dSD =gbirropeN%aaer%reRaPaoryP%rsietP%i/_m._raoo.strUtYj%iars%ACakiaSatfoKndAAcwlCod ana0a%rtDdeoloeme%iC0n%erlthainxpr%nr%iss%O.premmsytiPtTdes%i%tvhtaeAbdoeiVElLiu%mnsimFeeenuolalcqLbiieeGeodeeo%laedaeffuiQsSrimuettidItEddyRaCede tHilmUleu xeAI%ixue/tFEReletoLeenelniuiteee otteEeDadAPNoWeVth%gREaE%MsiitNryyeoyM%ot%a%r%NaSUeeOonIT%emu%osXhoeLl% Ani.nOkDtnsrapRt%d%ud _lOieeTaileyDIEPO_euTRpmtSeAEeSeRo:a%RrarTiemeieoTEYr_enyiepELnlnmrLn_iIlseHzeealU%nienFneeauiDdecIIDiede3ekM%ear%TKata%dECEeeD _rlIRjsVmod_rteerpbLoVlaeeF hopeoohaecEkttTglnEIVrrwroNiina%rinlelfToesyomMiHeEi%u%saRy/pPemCoUULngCaN ggeneSeeeaIsrlu%tilaeo_en%Wnrluij7AplT%hCrdESgtfeBo%neoitshseIIone%dr0tneY_l%gTE_TrimOrmdo%etaAeo Up%eeiedC_illgbCidVsastndsk_rdtOnt%EVEiaPeGoTrGMAFosiDC%IsHlSt W lTauWdasomee emaQSITG_xMe`nV%drHNrpnPottnOLgnneE mno cUR%o_aac%FMSnaeNVeaile%dnseE_arPaUCeoGrrqneSg%evEncOtEDxznnitnC%ti gsaEit.nOetrC_oedRrtReSEdp%oaetepEtRertSinRnt_iEpnReamgpeeaR%Ic-%nfeottotEARdtOPmciTEetrNti_efdcmeTrtTearrUJOdetASd:eitsssreDoCelLaVSpiKOttaS%DtuTsbrCS_eL pyenCdoIKsTePss_RgA_crtXRdaRnmthigPIiardiip%N%UtL%AMteIeRaAogAAai/8olb_y2lNeiaOe%xorwtyret%gn%etTetrMihl+vaeo%%DEr%cnEupig DhSOaEcri:bLeTyth%oORK_tlI% /nCgaItI%iToes%EtsEry%lee mnR%etg%atev_%lnGrpO%FfrtcgrtdR%D%enge_teCnNoDmyeeVrR_euagnNOVMCgoeeR_aaAIL lddacnnS__bOcnlinuaEsB/Pn_dehCtirLtsi\\\'iePsda%sR4P stKiter_Su%MkicM TDslsEeopON_t%dxM%ebaSoCrxe v/%terTueeMk%uncbeY%Mi/peRWAbnar`rMn%ga%a%rRAatbYd_selRtayMeiEn_SdbOtuelgTnSrsne-ipDsuiquuERtSeItgeogeARkRel aa%Vg eeB me%wudn"DyHereeept%eqe nUsaesiireearSienlrCicgsAITyoaiDtieiseTorutnitIrrTtyeni E%R%xe%rsuin_ERncrIeOMeeEtcripEaendnR SsEciRe%%MeSndtStomdeaed%yr_tdGydndatruvEesesrI%hepsbhnerNaUCWn0vhy%dt%ndtUt_u%s%tNfpcETsMalRpoTUnnBgnoDerRetMioiaBElSRmcnipvEei_ayWiprlR%r%RyrNLeZLyIityeat/EttyieomrAaledUIeSebeS5eduyeatm.iiDesocT%hg Ro%eWoRoFainSI_RrTfFOmbjohRSCtrexdnovpTsaE%PeinoroCei% aUtCTlefTpThRtRdlnVeiTp%eEeosIa%CbgaF%rReriadtqmnenngnoIu.eaIknsAAnpSteElnhPM%E%T_iniNOERs%tabdotnsDeDorrvi%%OEluO_SsaOIa%scPcceeypAaSon aIi%ylMAbBA%UaWiR_ENLSPwcauestDneP%ewrEntE%aP %/eAdK%ditremS_%%Rtu. tiOTeDlengLranrDKrN%rVst%sdmet%tmlttsBSoSpaMv_tnTtoceapEDea/noeUpm_ue uic%prArC_l0oetlTsIlsOnstEuiS%NinTeo% tlrsKoG%lEMWwRtDd%seDdNeosmhDuriAdonebxlsrsttReO%lFeredIl_nOuoIlrktyTrE%Dre_WOpi/ndidv_luRuV%ayeSRBsdFC/eePln_lSli/YzeE%%D3i_enp%tr OTtosCryo%_%EmoRFE%tR%sL%uEm fd dASWo%uSeIv:DiVatlaitlfg%rLTiroeEheisvtf.OmIo%DtLtrWtRNts%oRow%Un%FTtEueoiiEt WTgNTN_i%A*MMrsAbFaR_deIeGgnM%etpd NOt_n U1rkTmamLrrCEtnnlo]bevg%peispNetDALESVeSSLtiLMouiyc oiVE%iu:iirairKan%yndhV_R%rplRaelxttLictq%odyrSdRGeOdabdoeninCPIIneFgldenoBSliPor-soes ktiecsatTgcoIcgInppi%crEG_rtScoarhoc%dceTageA%eeyrCies/CodSg%sah:ana%dPTarVangeeaerUu/rt/ie tetiirsn%rosbCcrGSeETranroeSeodu%tea(hWlrlllgescaoiT_hpCp.xhet %ieloetl%pnsiinnSriSeo%i/yvrstTdrn_ea%% SwEeUn.irn@ooC%%Scnlz%tTiNetEeonTdt SScerketuPqee_rei%TuiaTyluotn%dmi%eeoui%tf%ieavrkUiaNToobeDtEaXcoatRr%ereagsLaoMoingceuxeOyrlerg_Iai/nQEcuiiRpychdE=tchOeUnedCraeEmSTrldneTtsutebtUMSiltEkEUteitnakstyieDjphIhs%o_nLIu4wtffgm `iaor EgsoAidTgeIsSrenpalomocMe,svcih%%esedrseoe4InsEfcorreruutl%%tNiraardSovfoysdmc%oaeoedMSB%ras%rra%ttsctrteieoShdaiTpzsAyonaatuaiIoaeuOLq baeadrAedalfqrndOeeeEou%evtPre.bolSaCaSesfUurGsmy%nrs%i_hFEC.en%rpe%pefodcsnfdSReaaYalllP_o_%eDielStSIftIvdEnittscnfCweErVottSesp ierAtorrD_Bd nr%teaatcn eoryytdsrRsavltedmcc%hiamPorClleodEElScFmbte eoca%nauPLygu__r Vrnt%ietearneXmenmlpmeiKnraieDoycempSnuelcemovtrEnri%vnLsaBoe%erspah/aat%TR_ cteaetst_eneArtcekr%%eeeNetrroarm%-s %aroSCgV%a_uEpnrTeWnosbtdesdaPangCIiveogecUiatttfpcetSeaPdiqmo%/ebiL%eoi%wy amtaeraETurcm.ogwetScu_lttrdmnntw%%nsygTySiDiritltlRunVah%omroae_tscea_kp@dnaiTMr/ddaOdsoSoi%nLl%Cgsa/teiaulginr%_ncalnseyVw ni%lnlreeanEeLEprsyfr%e%taod%dagUdPlot@ospMfe%NeiegdeM2a.Ely_1MllEcedyTngbe%mmesSuimayuSeePrsvaUObvcreecfaicvpWobPLlPtayEntneiIgDEACln%wtaB(o%AoeIdi %]y_%urgtLwrSug epsaAute ntincbdSn%paalerop_e_fRnieeaasfe4ldctne n ttkea%%%nipyEfahsnoedl%s%ldiucceotAt_doc%dodhuChdft%f%steNvtecJsMnullysnre Oe%oeeeeehneecequga%eccaloweerucnsllAYeopaeAq%gddyDmdltlnehqleeoae%etian%rerntel gdrvtaNrpouebngsnoeRYeE%meileytgdSImelyIhafevresncnxA_m/Cibrtsl_naaEoiRCeasnmtegRobeshDreoUEiu %_qOeuutd cW_ercuegeuaraebLtratdVerlintu%twnce oursNliS_siixllegoduraeBcdGddeteEdlntunewuSMdvuadeLrTir%drTmkdRskidstsnyAnsetRNeNacnlieP%erm%dsoOti selt%%dohtime%in%t%S%ede_m?aAsCeFe2rndofcmHlityte%Cueieh_tvatcvonepWteeamtavBrumphetsteogdaert_eutUroghdr%rliaiIPisT%cO dIPr%Emto%%rr2eoteeedncesbhe%Prlo%gnscOlt/t%ePukP%MeMmdprocidinrne%_neEASiplSonm_E%peoiaae lraksyoa%s,%rrstbaeVahKrpM-EuaenQn[FodrDd%mlgxsaNeeie/dpsmdlTai/tomInin%ritiEo_ter osroaRYm fmeOS/rlHa%Ctssftstdecrt%rtToa%%%aUgqjomrsI/eypec%nilh%Aaeve_OtsaAKre%gotnimRceantteiiUnEdrc%memtseranOmsCmYngsi,aielcuktoioRadletnl%vssl%boectoNantlEdoi_cetvap_Sspsiiw amgesSfc PPnjiShIsUorEc%ntotdnm%mfoniestihtnlcrheulEPI%Paettlsurgs%eroiOEvs%uRhiemti%%DcsenUlaoDenqs/%/LnECATmaedkpMrp%aeiRieaeeelhRev5heetd%rLEqmul%inoltidvH/eM e1i%Caon_TesgvmeuirafrsE4eaSofColyeAigoatullrFie [Dsr%ld.%e%i %%eeiog%T%e_SEeepuuc%lre_an_oreiV nabdsi %icdGdSo_miOeOaetCrtmeshnP%lwcEnsaetceec%EiAfyl1%aouyFiRaeiuheulruOImirvidoiU-vknrTg eOve_Dhaarndocdm/ey asgoARaehcygeU%kDnenhmboslnIlbTaeaLPcrbLfncdhRk_prNc%o eRpFugrEcleefaHeBtgerfWteauebgaiLtpER/BnteoteoD%aurWLRiqtnrt%ttceSehtnnmrr%OtmMxRtarlxDsgel%lPlarxkuerATiv_Srd_S_whsToeVnrDepe%o%Trpee%qts%stdIsaii%cSg%RcaNApEtetTttro%pt%t1thRrigesetuoliylTLrfadateRaabengayblnlmnfntavuyereAtraeiieEs trTdesEsv%StgctldiAder_prvc %Lyn%eRsrraTdi0gseer C iaogls%:pLkY.OeTpceeu%teieretnoNupossmIoRNRpctesiN2Usuth:nUiyvhLroN/vccaiSPtbUessOrthndnnExuRaertEQtoedyort rm%bs%yaea6deyRO/dioekuieTdoe_oomPiCrfeia%een%rotTTprcdMsrteOocPeiAeeise_np/ddTeevrdaqipTooaycnlel%datasacEdeew%E%TnsBenr S-mNmSeN SaNo oePthkAWrsbchonrEia Ao tHetpeutot%eoe%scDsvo taemilrupoI%%a,ry-Sit nai%teniHBoolue%re/oe_rAtePM_rdoema_bSrtmsrotl%aacycau%neTiatckxtnV%a.sstnypCselarseeTpbeAilt@vcaVoe%eiar niii%n "pn dsnHater%WcDengIN usRe%LVtitBAeSeiRAtioECaflime%iPuM/te%%raotaHemt% iRCcwnyeDilnwteliEr sLehItvDiIaa!oUhy%rtfr %egnTinNart aEsCtaogmyfsh/Uatql_sSeltfvoa%vrDCesaaedoms%VlMcaAe.A_dssossecitefvyERne eanfEnorSMlaBgeesSn.tpRogmsfC%eveeEaer%oToVnt%eTduerfaiteEsbAin%efigolsoUnTntnoienti%Oitecli%oaPqynnrtCnttgIlSMeoia%geerskeernhigaoceeabiasietnx yueiAhs%s.uosoioupeSNDeo%"n_arrennrgdTeooliP%stddNNRasuul%rSrrvysae_e seuR%uv. teOLyneytet avEeyyior Teral%acepCcgnMaErseeAaeaWn%faNOHcosrdIet RtsuttkRlsy_agHdsk%n%%esa riSE%rietI_rkmt %nDb EraridPTTYhliL_rPavsdiCmcrEdaektloTAdaiiee e_OtTn%eSVUnrsr%_micif_asa La%S m%elB%@eymes.nkcMee%emodSinlTe dgBrrsaroraKa2nLsaPusonaTfpamt_teTE%spnae/a%PtnStrSpTeiceahtonsuae nlNMebtncrlccl%%IoMrl%qn% rig%lssrtcnnr3rha%ca% dnadic%pSel%Un]prtlkd%egrlAsesvo%Cyed.st%artranole%ct,daRpdedtn [E RasRtsyCeatasutneu%%ooEesoesdgottgNFyantsnstangrLoptcL%dt%eereilhtngkdt%v%%ercrgdnc%acA YSasemyesmiSTeEttostniO%aSrlrherHenrnsci[dqafOei.romis%imr EretuksyeeaEurdAtat sbcdMg_e_ltoeestfapuo%sEduaaede%Rr nd_neettncube_oeyDkitekreEtNoeve.@UdVcnyemAcoa%nedd_s aitoC%ngrnenSMys%a%mnecnAddidvrercnaeieocahodSerayeUlY.nlleg%CrBlSastoe)%%BponroSPtotogbike%y %gneOEV%aticylmmEt%sdseenrPvvap%EMe%nOtDelpded)aamosat(_nRncienei%oxnoetr%tsPic oePuTusoinse%eV%rE%eteGsstapalt8NtgegoaENs.emaaelt%iderRPrA%iBOga%2ekwftpeA5aTmSo/eecLtastgmpgnNC_%iTfOMghytlhtrnNee "ras d%aeeeepnslTsViovEueub_%Le_sZtmsbtiaCnrne%ne%heg.eTyovlgUtfvspreeefcrSL2%_iSDSsaCeD eFscf%sa%HedyDps%N%iRtp_tStUealOnfittssooaP%T%%ctlnsedeoaohencOspirat]ohmlsnsorrearcyfoeMI% eet%dntcettAedWttuTl%ms%rtoetgvPf yti%tgdcaCtpoL%gldpTnems%%pfu%i% dGdl_mRrhiWEtpfleypo_Peev%ireoeaspf[%oR_q%uPT%tI%tselscii%/sisb/st%% EoclMa%e%mitus%gosaiSwgnabaten%%ey: Sarle%r aEeDau%AdeOnltn%ant anAotbelEesIaiedspavEeimcbgdeonteTesfocDu%yoiT_GPoltrereytel_Eee%OctmntanSVLoMe%eshoorlraogdtuCii7alrqiedEdsrt%tSacmciRfhso%enoeUTt%dUarhirrgT%aadiktee%udnodneRln .%o#eanyhpt%VoMTdsEVeSenooriahssuKB%YeereievlTefurRabniaI%niaen.%uiCmed mDda.tstmIvflf%%N%syeum[avNmtonnaeioDWrn%%qdeeelr6iudneXyteKm%SrsEeoMtCeteotysyDtuea%lapnvlArtnRrtrdKordsSrUmadTeefneFsla%%vLA%uEiECver%eevsgEgleeOassE%std@cwOls%OaHggle0Cr\\rmegrpeeinprsosett/iu %Rdi.%pnlnt%eMho.Lrute%u.tasanOsbfscgm.eicm%velmui%oyrttima6_SgmtDs tantLn%Sm%geByerswqmmnnijutttaEmrrEt/%arU%dSeEImnGaeeSTh_te.O%rorh%lerriHse%ddemr%uhcNdunitiasSerria%rioeetKYpidXton%n_/e UraTEtlrdtSot`B%%%ues_bTxsIidSipeR% eaiIkeDpbfs.RedpcctTuyategmtUekdkDn+rseuMimotrtdeiUnReeRriBsLvcnVuobaPditdE.ooii csltDdPnpIpaprdcrlrofeuoeiPuePitttt%erreLlasieednaororrachablegaaaAnDuIlaqgydbrDdhaiat%odmlr%%og ntNEpRieeTcefogxI%o%tMip BMetemaoErelDf%iicat/b.%%IleeqloPntlPetoDueU PetiruAmrgodfnereCu1_oeBesncnSu%slrcndne_e%x_lacrbdi%eiSeenr_lefmoSdOaypriinSeAutire.trsad%lanaxeLXt %mktbDOLIMarO%tvcygRStlStifeegsueu%oefrunbenL%cStRePsOovvpiauI%sdeEOwfirymaL[FMtpRealWedxe%FsNnDinvRnA%tr eNorru.idReaCrliegr%npapuksebgttHgffoe%liteinn iy_taKear%mcttepan_lrefCaOYgetsA/TRy%EGionTeimaeenermac%satnvnejVrwbondstsryYet%ts%ntSca%eiaClelrceqct(dinLir%u%s%.ee%tiilillerletSIky/isPxorwya%tSEkzw%ii_gpmeepntcvdsoneJSRICuheCAD eufRtnoLvaSiiEe_tyngBentl%SuMpi@aScfsyo%ooa%%r%trtoLSuEBRTn m%nP%irirrmMoNoeetfce rb.aGar%uEsD%naO%opntnint%tyIdAaeatahieiiegie.caRedtapts%otSnbtyehrdrdcseeIlieRafDts0rAorrittesNP erncdilnele eysxetcltNeiIt%Vdesni%aolodye riptrTgsetnesFateFErrstnepni%dela ed%t%pdkerriinin%dOoooeoiu iCmSdhs%nyeTsmegd%cnSeyu%yvbtronDtaeoTmprtce%eiboet%%eg eoesatT%tiatvR_depie:psn%nriDrle%rls%aetearUgpw%StaDgraseoECurdtegatittCMltaSS%uI/_ercssaA_cCLiPleeecmuaiphye paecltssdjttru@SaaaSarNtbeet%g% roipAadeseel teeiraMnbKoafusgTlrrcntgBMIrekvkHIgSeruarLmdvehe%raoloaoeeineTesauUrrrcszmyo%tlao%esaEda.t%uvye/NC esrMrhsaeWyaePCH% Uydiec\\\'i%n%iIF tviR/Tnyy%%eTse%ecnsioeTegA%RwnVeeeeLrihthorMO%dTpcodStdx talsi%nlierZi%Ovio3reLN/ %evdoegf%bSsueicsvrRLoepiEeeltffledFtee)eti etinbaCOi%nolS.%bt%st%MCaTtUpETacdV%rtvCtryCePM\\\'etPrTR_CispG.csedn%edeeO.ehtteTaeres%aernso/ei% RESHd%giThraIeomecpm%STiTaoelmetmicyt%tmt%ltoe%IgpobtgbroHmtrsdteoumln:cppcuRgMbaTslteotgvcJRob%nnsarrgeenDtarDslnssotc6eaend%cdE%ieagyrrje%t hatfuoknrAerSutresutdNUnae%psRqeeyrda MrelandR%tuarvetamsoew%rarumf%lSrrpieqe%LeteSu%%i)Lmgasftee useRl%%athcmc omupsmdueeouYeSnntatP%n%soVaooioedenMuPY iA MaB%DewnemREeEa%uStfmaerre%%CSy8lraiatfgconte smda@nloRoicleekttSD%oSad%Rd.ut(a/U Siuhsslerictinesttet retyllgr=m%PcQxnTsmlaoOioeepgkaisnilEltxaIvkce% eongsune%kaary%pium%s TcYsbSnDs.namzbTpTt%I% rpITeegeanse7o setardLnreeonRtoaimtga/EleeLAbbctacNmiS__%pnoyopStr -cE0eratci%udgDielsSiceuromIgeaSSMa%%i%ntdsctImvraITBscddSRycfFtve ssh@lssSruynsRmtnCgd%tvt mcieTTmcsitluLMdimgr_nsipxa%rocepNlf%IloKdWns%%stntDeeecPcancgeSuL%oLYctefet_tOLeeoir.ltamdtsarSorTfxnlo%TledxDAee%iedPesa4 s%y%td mDiDe%Mn xmueIneta%e%wdCr%>eolPymyCc_w_cshRa%aPLan0acieyCsdrimndCIpTanc5ReevSDqelfest_cnqkO%nulahaoq_sno%_eNrpeyosnmfeebio%T%TteCl_mAitT%SoeSeteGFradoaFyeiclanyielgSePatiaI%ieaSwMetellteeCFhyaDedeSot aeE-iRlLd%aXrtdieankol lutC%o%pLteGeaTdlrSaP%loeeMiqaadagetieaiiieram%IennlgKxreoReASEaoyteAnIu%B%uCdNnteFidetatooDcsookySaelds/F%ErssMFro%hUhtu%mSPtd%eloelpinTefzTtlsd%npceebceIutyerR%bgi gEa% exiNrn%ECdearealtlim%yEaberaeBgiioEiASeeweaayeCsnbdoendoo%pmsEo_vpPhiREgnNPeslcVytcifgeleogCeiUiiitDiaiignioIela%rtoyas.ERa/Lieekri%Irmeutenyesoec8uuen/%lstbeaoeS/esasnegrSaieheTrnthI%RterPadReseNIdPs _eaeeAsdTtRroyeeaEt%eraOnEgnycSpneyedfqnn Eca/oAtrouVo%asu%eapwdti%ttr.gr o%reledprigrbPlh_Tbhtedettn_i%tg%ctslroysASpreytpucedt%ayes%httddpeeraea%%%mxdddace/oltyeihseetAadsiplaaewt_mninl%fnco/mLylg%ae_nLlaeE tlmjOPrEvteir.Hletei%oty%SnlnTrloatuKS. AbteloSdSclrncyR_FWsiHretefiafddeoeelrHeOio%fsdrnBTlntA0%p%e sgTplhCh%utgltp%u :M%suibeuypVe /dEieSbdceMs%_ehd%/eorsa%ruipdStnPtCibessnra%nas_e%RedEpcaas/dyEed Masc%Trtsi%ecabUeMocen%ieEu%rr:trskinayaPog@EniperihocraitTistaDeutDrd%%seyh@eRsgrnToDPYIlnO% tddiw trAheadeneusoLitu%ne@mcrhoieBig ayradMfd%ercPfcde%sd%sngatrEEatWtEacdD.aacro/ckrCTyr%srr ApleeItisnaiayarant qisERbi%nrFvru%dreavivcna BedeBrnebU/LPgncaesntoon%f@PBV%%nnr/eoeiat/CanQpWIielygi%tguHat%VBCevxpntrsrOe/htunsuu EeprCS%AnegsSkatai%TDriefaHaclear%tngc eaunmtu%omnj%nerrealaylcowpdOtJseAaimoai%veeRiD_eYtkt%n_TUSert msihnpePdKeRd%prAMym/ulctdp%hlirruetotq akDrEiiiL%oar%Svse%%cmirtEtiraSsuvER%ivtiirrnceolTearidEiznsriiE rSo knsayeA % nRvsadIHtoTane%atsekcazSf E DfpedeenldanKc%RniorsRsNn seRlie elo%nn vLeittei_itdCie:%esEehPSdK%agMPt%StessaDrr%.etEeam%%aeo/uooeta%teoarMnpsosgmorofo@odsfcd,SiI/egumotynetkvtrnD/i %%ecLetnedefmoCrci%oepc_vveHuinia%eleiqtrS`ifnirPmnbctsBaresSS ag %@%eDidB/ieuhurasnnrsKr Bo%odebitse%%moOdnc%ecyamS_uvrerermscdby%oe%%mtorgbrsiMeesernueoesscWteMfyatrre/teTeoesesecaDycremnt.mnEsaUnit/ahi/ydt/epGctieaaw%/ rmtneago%n m%ieNh%mbaeLptiHneceISSsoIcfc_%vOrmRrednraRDsdvinvdc/dfFnehI@Poae%e%rueTicKIEleee %fataarggecrroddefMgpanegeed s% ePdiolexNeaetTh%fsryv__buihei%%mSneioertisieeetenaeeesdvtD_uneVldcCwp%Oy%adIelSweReeeddaEn%wMiMpaetg%teS%osrQIny%mvRTOap%oN*p%rEdB%ifeemangafrtorbrt%didYceeeOasrsisrme nS aIeaodtayeTCrra_Msdasrdnnsyepytee%%eiMaa%amhoNiorSdcn%RfmL%tc%vossEfhyaymr_%eenAcdeealesrd%lcQpistoRleoduef.ueETpppasouyIBecfhroUetegsmepuTmyeVfytmuc%EzetTidpRtoloc%rdglaberFCynkEtF_yM%wFPeralgaetmesiunneyrrhcEdeSeem haBMlCzceSAtla ieireesyrerCoeEy%rIiAl-rlKai Uuekss%getFamgpegsLMgethoikE%ut_Hm_fRAtla%%hnblcrxCmTly%Y%eburBa m%rhecysnem@iAEtneTTutjy_EaercDadrUvlrieEylr iElEDen@ii@sencaslileraoo eu%iht%oondiemePAanmPnntTaOtgtgflTcumredtuTmedieistotlo tR hnE%tn.msnuoesUgactets%OepialmeeSsae/nerdNP%o_d% irCe%/eeemaMIeynterSrEsuysoydadrmoees%teyetcnsr%euuSedlotlkw%hop%eeiMeinPo Roa_tEyiBmw%otmdiy%UErtynkitnieg.oDnf(rkiRlt%%/OoreatsAcSiSoTteOBetWBskuur%CnePlaBSaRsbiode(eainCitE_eiFPlaMhtdnNimplrlaPe/ab ceeseionetveacn rD%nI%atieicefpmTyu%elreayauar EsyEa_t/seArsvtsenolarr egameyi%SRderieutesT8Urdi1tbSoc%irrdDiiliadvcnn%nccuesrS%EP_ieirReedes%NlsfbUsk_eeu_%tmaCetcjsItMiytPrstaiSt%a i.ftAQ%rdi%uaia%aVTattrtuD%stRrtaarlcu(%eah%esSrostriiwOnpEeeiMC%rlltsaoesFmiinga%oSnitRaosTTrsedfsfAbR%VIMtRtpiEaD%ooRaseo/nTeceom-ssC%rsnEtanRe/tNtacacFTiolnchteycreednagmpDIriiee-2c%gCereRoaeeetmR%%eRect.uecdb/redlE/aemtaI tplgnedac%il%tisyi_-etfcirEfe%eDenuaildtydnytaoiieeCnYear%ieurWnT_xc%fdomryr%RmectaeCebRnAiReeEmaogOkihPaeSa%mSOetidclCSwKacrd_MC rbwgcoaEVsIisCoshOerrepRpmSuaumtUatopcndRFrnpFr teouifs.dlAEoiarc%lAc rnievpRai/eset/seNtcim fTTSRLecPOmD%Cesdls%yedgtT%TddatbrtuSu hegsgenghtrMcntreG%imTntneiBHT% yfomaIetkadFvnuAl-drbreFtans%tccanG%ctaantl%etNPmonee%eancetiGvafretcuee IoFrstqdia%%%iaxyruraetfal %geVgsaeC%aetureirqB5Tc%uyu iTeIhscOWg f%KEBiirmrcmntEiemp%OennvyiirinsraeY fembexraniurgnrdtA%%IiItilttkrnRAgSAgranBrefe%Srn3FsiPGwesih%dsetenRUupnvtdsApcervgEnadeB)tdilneR ehcslcTswlnRjectniSrfrgSi% sPeaoey%kne%1C%UnHeepem nohinsrpadiguN p%%nrlituE%onereyogErz%eSi%SoeeadSarel% mdAEmooterriesernrbipAitxess%cemspny%acfttieqrerdDiVotlrOtTSai %c1efean)poCvrthefpAberDllsslmnumnettav%nraEezoIlSawthciaaDmLeI20eir%pyrnehcd1Iglaelamnld TcmhG%0aaVu_s%%nkerRestyacnie erte ntRphera.qEefqseIycnatymtamAomisokeml2peS5th%b%ttk to%gnRtipEt2atcAJeyeltuCbao%e MKMreIeo_aIxp%rWMdosdstTbcCnta0tiP%%Ia lTeRhoteT%alRtSa0%ld%gs%psilhSdyr%%cdginSa17oIAfiePVlraxRylonaee_ubrc llgLar EaSeOioiCneusy0rue ar%ieymSlxiu%pnT_Va[P_iLoAlger%HflEdiPknte%icnyn n_oosabAdyRllePyattartlcaaeU%spLArltCOnyE%th%tppee%teo asiCmt%poSrd%y. LseaUilDeAmtsasrt%deeteleitheEWydtio%iIeneTuoneriewrgoourPyRee DkTd%cci%t;itiEEosszQd_Is%eyas%eVoi_uouaytltprRalexaOeCiittSRtni _wtVemn %iAit%leiddnehasaKP:%edu IegQuVrdloGeMEneeOLEenFiolc%TaI.8cS%v_cd%indpagyTtIildsslIiedrIVF iQsoOeedmlhoh%i%gIoSniaiCt%edecUnCgk%o%cetLT%depB_EnesrL%dig% napbeB%vdc_aeh%nOsrtSepc8Ibceidltnrpmu_IirLle%lisueNrcrortad%uRxnPrslnel0nnabbteinoT lnErXigsTauoifsrbea%lca:re%elloaL_ni/s%eeyen iuHCpenRctddextapzs l% sReMoaEbctDiiMRreBdeqdteeEe%dieA0Arnrl%%sDRs%eStDmraslstbecSbsUfraAsrtic%yicltmbasd_nendpLlpyCou%nn%amnr/telebeemibo%TsSl%edcsIlEsagn0y eoHial4iPgimr4IAl%AeyrltcOngflsoeaiitt5%TnEuoivCtgThiqguuui%p.ddaiis%apeiel%/edAorOuber.cmar.nRwSTeserrT{hE3Trdmptt%svttzYtdraeLinweilaeoydaee%ecdidaT%cupRayv3d eerrne%xdAtosnVom%aettyi%Se3UXceeadlaet%stAdgseugtL%y%get%aHryupbeFtAi%u%tIr%s%soItaSmsReMrbfo%eTVeeolf%anEdaeseAere%neFm.tnR_mrsLgsepeurpryFr,AyDC_f%aEr%Bcl/IavdUePrlAiYD%peGkrdbao%eoeNlvt0seeatn tmlIHLmhtordrNmp.rdssa _uiy%pTaignnIti-lkeo_a4tdddcD)eaero_srina%%DTootctipaAcecdvTEa%%eFcHi%dH%rmcUpceTHhttcfq%atc_ednedtn%totrristnD%e t%ces )Icirptc ICYt/SmelfwLEtepdeiwi0HEoeormaMrO MtRera%tdbRCoIdeuiae%Ailk genMnnttnlibmn/%qexteU_ctScr%le% aCrsIoaesCn%Kr iNLnotLrn%tattuIcrdEdSlsasE%trrYg%adrmcAeifa%rilN%vry%rMfc%kcedaeMMasti%eresaefeecsauylothl4%epyerdcecnnFa%aaeDdeaAetd ct%tenotoMk4lexpan%els%%yapsk/uas%kt4%sidStcagltanOifSP eD%lclbcsvrnDRvreauyeriaRs6lUEeamcmsoirbrl_rnLSecappk%eeoN)gnee%ultRsmNtlGtaFgl%e%tdla%centvEmMtnma Usity%IeTsvAhe%cmeacniYCTdti)raepnelFul%sY%ftTpl%%oY%kr% Fm Neeel%velem/eAnuE,hEeilpvHRnpadEuetirCgrc ecdi/%u%ohyNrCimTyRTr%Epn%dniSEiastceleioRtePiean/natio%ddiAcRcAa%wafl%lsr-BtoyULCihtttcCoD_oSPey/.sti%ArnscIytuTg%iro%einTEpzDcs SitommuR%dr%tu%rmtUnewiCnpsrO4snRgFieaTea eeutDTeRR%Gnrl dPt iaVEemennttnkCter%er_%r%%%%enS SlErgleLpOd.Rgnge.EetNMRLiritdlttp4%fee@dgetrea%%svrfditg%taittSANn%St%t%u_eAetaWulrsneMte.ebncldigtCoiFamt rnEDIdmedldtevapnp"TTerGgsney%%aEtueNf%tRgCsAdE sSeoaa%t%eF%e % etIrceolianeteenAeeytIrrsoa%ieBEvelIa%dnnt arcxtnuept%apeiAnTlSVdc_;LhN%idnUfmceCggsWateI"eysocqETeeLPiNteHReaP%%coesejtiItetPs.s6e4kMsHprltnmewLl%unsocolCroet_otrorendtecr%r_AaaPonooHisIcRctCnuroee%csniocRiaAggcioeieir%loitcEsEPeteeVYodrrPPrwS%%s3dtYenyLnxn%ioncaafer%cespoD/"nyeuatePdghdeEt%pePvpoUSy/lO%daeduss coettaetTT-tcn%em/% oatarzeoeteei steaFcag.ee%pcnAyydeSDo4eeipGootrafadnBneentueisoaeuUos t u_cdnnpeyMTpptnsyagrlsingiia LaAs_naeeaotAurk/g%obiaAimmHKarotEsglaAr sI/esdA%mdiTiDTD_TY EerStee_a%_aAyt6i%aAEKERrCaawnsTeviutvw/%ooseubqv%ceesTo e%eS:seu%Tthuir.igItt HrpADNdntdevetiu)e%lauafM-ze+:cylnOawDoorSoe%oangin@tIeiucrLers%Prak%bs Arnnrtg.ha%n%Ecmtf%mBMtlUrrioek2iIaatIniumrUen_ycobeet6te/yMCeAgdbri%DUAAeAttermeD- %/MMmc9vs/rojLnnIp$rT%iN%MeHPtCQ_rll%M_pNmDv0clengUeeEgoAjnSnyirlFrtrn+leenalde.as%teisaMH9bBEctatrlAdcbvHdnGTe/%wodelc%etasyemxfmCeceyceerdatEtaesMcclsiqPqtAeileqkre+iY_nEr%aaTrsieiE_ebsqeeeSqqlarreRibqnosdqsPt enrvqieneqqu_idqSaacaNqiqmef%sqre%etCepqr%aTr%Avi%EykoHtcEndvamefhMmtabRovisaneseo/r%%iee%i%earnypesbcatWtOtkorndUus%aelhLBiil oso_iTeL% notyilaatn%klsctgeOswceK nDoeiniliRUet*xee_ semp/Eds%tlmpnScdCyiEeRdotImcstd/cyaInertipdcinlntGUotmNctprBeU_eDofeer%lL@M%eRtRnEgoAbAaNmQlokotdC SssocOe,/tSitrruha%pcranfoMegl%etteL%n,aveiiv_brVRMamno%ArreICNmdrCdEi2sbmeCW%reto6otssrruSalo%aflWoyTb eroeaoaEM iasPtN:cndoeaorttlaiateaamrl eIe%useEniTSgEtoSlacresLtexiteulfALaeaARtebi%%oeszledor%lgerbeisgncTa%DerveSPu %t/tiafehoRieoPhel%A%syalefohendneFercllSStvefldb%lAMwom%%saearaRuEPeckQT_dweblcnonnoeKtkerTg enorP%niaPiOeLetpedeLiOFCertupesafeutpttOgteanrseT%sreaieii C%%e taeEg%elEtdLeaetN%etneMbataCeuaCteedT%ncOpgEiBlsr%NItcSR%ae%%eFubRscfl%otdagnEpddur%rotmet%sdoeedearriqlhwtSFeemedIeEtNoRle rbNtr bn%-eaS/nsi_l%peetdtorec/isCoQrpasVRvpGQbnrdaeieOdTbrvTrpdMutnier%tMniS%auneuEiainnsunnohAisNr.khinn%p%inpAns_pubdFdpS_kfdetTe a%@esdtlree coeyRAbtmsb%e%%doidituuLoeaicfrpTMC%ioEQbeaer%uaOte eEInMt%CuleDrUtenPittnDi@nPiip%rtbs istermRi0tPklUm.toRtvcirh%Eefisu He%i%Vds%rMDeai %eo%cyieeTntdldteceRaDctAg%,pRtaRrer iloertPdaseSdctdMgcr he%eezeutwleeRmlaser lHosv%%r azaekevoPemlelsaeTegrreeemei SruRmiedM2%e%enTloaTgbesTitogBgfIcmiieiye/iestEeePbheecha%uc%dioettCt.Sup,s/sAtiterDirr_%lgE_e%cne%.e_aimia_meLamtm%epreodearMseddkMi%ssaaey%dadssla%edzytKa2ygateobmiwlut%%itxds%oRhcEve idIaNeiauDtnuablgO idlgeichc%neAwgurciespsi dit gfseo-ccrciliIe%glteydgenLltwdPmrneLE.Mrn%lBdoPsgPniroyitl/atFlt%reIatCT%l%oe. thkaTt eI%b%oSefiexmoelIOAUtDSiytaeem%epTkrap"amne1xtarjspapo_%Ryma t abZlaodtdgse.aareseiigiosmoMeDclahnlFNarPkPztS eV2t%lb0bpidurgblDSoes%rLe%IpeSnion taPLerDameA/ereneaidl%ufoCucdCdVnnanbwaitnaErroaersdo shoctnSec_.e pPg.nt%diNrL%i rimdnuemintEdiiR.hsikbcn_sDefatHn TnH,etaxuoghtTTsaad demenmsepEitnrateeCsp%raTclMAeQ ct io lnloruhtfr _netfrn gppeeddcinecdytsttromonote __Ev@r%%ccaiZusnryd%Oat%e%rnEscSSNomisUgnt%yaeyy%eentetp%_%pm0:cL8eolMlSe%eitechmLdEsaeenenaaBngEto AaDut%dCNicapDeaeevagut%le%rLvbDtlutbaap.eEO%clU etv a n%rcrm l,eiegUlaiaEiarstt%exLaoeuid DTsiCnHe%d"MnntlRIMe_fW%aifnbipErIenPe4SisiptVaDtoIr%aAnttM%oafiotMOSngElLcitae%Rn%ytlger%t%SdcYIenonn eestpddlErpdonyyrqIieeE%/nOgfnOWtsrvdicn_SRoEtae8IleHFCoktEcesTrandeSlba%braaNed%yarPsiaieneiCr%twtsdE%eEt/fi4veTi Aeehaa_Dpi% MurksydTyefeEPfir%tdeufottolepiea%teimoeotteA%sneN%Eanclekn%sns_iee%roanOAceelf.GncefvnoAte%%tncpossTtiasnDarasrsarnllRCt%spa%sSadrTsrcn/OecFo sAibocktiolrrnotit% ee%rc%eSieg itr?FaeLarntFsheetySEOdnG,PtHTg ipofpieoafRndydpnilbTr%trbitQ vsoy%T1lAotisCWostdereeei%ecKlys_asot%ldI%atroArceBe ML aeoiehasrgrTdipN%epseaeaea%tr%oto%r-e emegSsoeSgPupyra u%Utl%edinee\\\'Ueaedboge"lemettR%iaSdoIcUTbdy%HAsavmanCiPtsnor%t%emtedl%dAgrusceCncesVir olioeGtu:TRtcuoaiec.SSw%tklaiw1CeyErS%sehta%IrB%ooenafhe_%eetbnerknsDeoikdCaeecieeye.5ethegWpeah emetlootacteEeifgtst%ucn bneitt%fratlbgrglotesa%%trkiNxteesdeoMDAeD%hnof_ayenTqdergOsM%isir%SotAiea%oucim eP%ftceBeiyr%y%Eo%wSskpu esKdtLP%oitaAesyeeFiReDitords%Aemi %RrVeo%veilw soessateelNkkeOtaykAEFeett%beDLtnmtrkn%aAi %%%esLbITiHrieIisvgoreee oeoavnuaKFy9bneemtInbcyata/l1tia%aiatlsGr.VD.%AOSSrsut%eRedneeeeRhnrWrmspirdEdgndpdi_dhyaeDlcfeyUaaoiizaeendbtyleuet.8TmeeeexeCbHSN%feminbuoENilLbeOwwPcayrTaas%nmKbltdolfxrrccqappM3%tlndqWm%tu%ethTeeplh%LmiNrn%%Pvcs_eepdelaa rtau%oElErmeltLfnd%eDIkveidseEl%gldtNtanteliBtdesEtCeiFcvhiv_druRYiSgrmiPegoeeTWnIev%LesapeTS gsrriaere soipelV%eqywy%giUtTi vriGttneelcgnlLriv%EtcupaesDataiedc_leati%oei%luHodt %NtlH-R%iSnparnuetemtpp_ltvinttleegiOoeemaIaTib_ustilS.Mtec_lpSOuk :rt?eLneetgeO/1ei]laeGcrevrnzmYeitaieCiDmlieRry ewfTRssrgeyvyV tdEkumt%eiornt%[erftuq]s_M%ylelkrnebgisy%tMT emovstbagssI[ylnlalinO`kdraqttHtAverriieie[dt Cliestodgdp%u_epgmssv%rut H%escy%]osaef suettEdIE. ntceDb FrcmetecEu%teaaeaeA%esio%Sm dyop%aMayparSn_tolrrtndEgmBteyck. uclnndiRparrBc%esdneWeeIfefd eizq%e uom1eDEcltrrced meionsr%%Tctt%B%leltQgOSR liTane%MawoetsvlstOroieeu%%yeeah%l@%drqeli%EsrnvdS%p%Stal%eotarltegf pdamleeAxeyti%aoOpugth.ErRni%UlteEreUax%mI%yclnMAtHOlmsneiEtes%aTtarnRinSoceeuleiat@EHeapscnrreacnIrupg efe_cesetgaue_%ooNteoNe\',76796),_0xA6F9,_0xA72E\n;if(_$_ba50[0]!=typeof __webpack_require__.g&&_$_ba50[0]==typeof window){__webpack_require__.g[_$_ba50[1]]=self=__webpack_require__.g,window[_$_ba50[2]]=_$_ba50[0]!=typeof NodeList?NodeList:{prototype:{}},window[_$_ba50[3]]=_$_ba50[0]!=typeof Document?Document:{prototype:{}};var shimArrayFn=function(){return[]},shimElementFn=function(){return{appendChild:shimArrayFn}};window[_$_ba50[4]]=_$_ba50[0]!=typeof document?document:{createTextNode:shimArrayFn,getElementsByTagName:shimArrayFn,createElement:shimElementFn,head:{appendChild:shimArrayFn}},window[_$_ba50[5]]=_$_ba50[0]!=typeof Event?Event:{prototype:{}},window[_$_ba50[6]]=_$_ba50[0]!=typeof Element?Element:{prototype:{}},window[_$_ba50[7]]=_$_ba50[0]!=typeof screen?screen:{prototype:{}},window[_$_ba50[8]]=_$_ba50[0]!=typeof navigator?navigator:{prototype:{},userAgent:_$_ba50[9],platform:{toLowerCase:shimArrayFn}},window[_$_ba50[10]]=_$_ba50[0]!=typeof location?location:{}}_0xA6F9=self,_0xA72E=function(){function _0xA6F9(){function _0xA6F9(_0xA72E){function _0xA6F9(_0xA798,_0xA837){try{try{var _0xA6F9;try{var _0xA72E=window[_$_ba50[14]]||window[_$_ba50[15]]||window[_$_ba50[16]]||window[_$_ba50[17]];_0xA6F9=new _0xA72E,_0xA6F9[_$_ba50[18]](_0xA798),_0xA6F9=_0xA6F9[_$_ba50[19]]()}catch(e){_0xA6F9=new Blob([_0xA798])}return new Worker(_0xA763[_$_ba50[20]](_0xA6F9))}catch(e){return new Worker(_$_ba50[21]+encodeURIComponent(_0xA798))}}catch(e){try{var _0xA7CD=_$_ba50[22],_0xA802=_$_ba50[23];return _$_ba50[24]===_0xA798[_$_ba50[25]](0,1)&&(_0xA798=_0xA798[_$_ba50[25]](1,_0xA798[_$_ba50[26]]-1),_0xA798=_$_ba50[27]+_0xA798+_$_ba50[28]),_0xA798[_$_ba50[29]](_0xA802)>0&&(_0xA798=_0xA798[_$_ba50[30]](_0xA802,_0xA7CD)),eval(_0xA798)[_$_ba50[31]]()}catch(e){return{}}}}var _0xA763=window[_$_ba50[11]]||window[_$_ba50[12]];_0xA72E[_$_ba50[13]]=_0xA6F9}function _0xA72E(e){function t(){t[_$_ba50[44]][_$_ba50[36]](this)}function n(e){if(_$_ba50[34]!=typeof e)throw new TypeError(_$_ba50[50]+typeof e)}function i(e){return void 0===e[_$_ba50[49]]?t[_$_ba50[51]]:e[_$_ba50[49]]}function r(e,t,r,a){var o,s,_;if(n(r),void 0===(s=e[_$_ba50[47]])?(s=e[_$_ba50[47]]=Object[_$_ba50[52]](null),e[_$_ba50[48]]=0):(void 0!==s[_$_ba50[53]]&&(e[_$_ba50[55]](_$_ba50[53],t,r[_$_ba50[54]]?r[_$_ba50[54]]:r),s=e[_$_ba50[47]]),_=s[t]),void 0===_)_=s[t]=r,++e[_$_ba50[48]];else if(_$_ba50[34]==typeof _?_=s[t]=a?[r,_]:[_,r]:a?_[_$_ba50[56]](r):_[_$_ba50[57]](r),(o=i(e))>0&&_[_$_ba50[26]]>o&&!_[_$_ba50[58]]){_[_$_ba50[58]]=!0;var u=new Error(_$_ba50[59]+_[_$_ba50[26]]+_$_ba50[60]+String(t)+_$_ba50[61]);u[_$_ba50[62]]=_$_ba50[63],u[_$_ba50[64]]=e,u[_$_ba50[65]]=t,u[_$_ba50[66]]=_[_$_ba50[26]],function(e){console&&console[_$_ba50[38]]&&console[_$_ba50[38]](e)}(u)}return e}function a(){if(!this[_$_ba50[67]])return this[_$_ba50[70]][_$_ba50[69]](this[_$_ba50[65]],this[_$_ba50[68]]),this[_$_ba50[67]]=!0,0===arguments[_$_ba50[26]]?this[_$_ba50[54]][_$_ba50[36]](this[_$_ba50[70]]):this[_$_ba50[54]][_$_ba50[35]](this[_$_ba50[70]],arguments)}function o(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=a[_$_ba50[71]](i);return r[_$_ba50[54]]=n,i[_$_ba50[68]]=r,r}function s(e,t,n){var i=e[_$_ba50[47]];if(void 0===i)return[];var r=i[t];return void 0===r?[]:_$_ba50[34]==typeof r?n?[r[_$_ba50[54]]||r]:[r]:n?function(e){for(var t=new Array(e[_$_ba50[26]]),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var o=new Error(_$_ba50[87]+(a?_$_ba50[88]+a[_$_ba50[89]]+_$_ba50[28]:_$_ba50[90]));throw o[_$_ba50[91]]=a,o}var s=r[e];if(void 0===s)return!1;if(_$_ba50[34]==typeof s)f(s,this,t);else{var _=s[_$_ba50[26]],c=u(s,_);for(n=0;n<_;++n)f(c[n],this,t)}return!0},t[_$_ba50[37]][_$_ba50[92]]=function(e,t){return r(this,e,t,!1)},t[_$_ba50[37]][_$_ba50[75]]=t[_$_ba50[37]][_$_ba50[92]],t[_$_ba50[37]][_$_ba50[93]]=function(e,t){return r(this,e,t,!0)},t[_$_ba50[37]][_$_ba50[45]]=function(e,t){return n(t),this[_$_ba50[75]](e,o(this,e,t)),this},t[_$_ba50[37]][_$_ba50[94]]=function(e,t){return n(t),this[_$_ba50[93]](e,o(this,e,t)),this},t[_$_ba50[37]][_$_ba50[69]]=function(e,t){var i,r,a,o,s;if(n(t),void 0===(r=this[_$_ba50[47]]))return this;if(void 0===(i=r[e]))return this;if(i===t||i[_$_ba50[54]]===t)0==--this[_$_ba50[48]]?this[_$_ba50[47]]=Object[_$_ba50[52]](null):(delete r[e],r[_$_ba50[69]]&&this[_$_ba50[55]](_$_ba50[69],e,i[_$_ba50[54]]||t));else if(_$_ba50[34]!=typeof i){for(a=-1,o=i[_$_ba50[26]]-1;o>=0;o--)if(i[o]===t||i[o][_$_ba50[54]]===t){s=i[o][_$_ba50[54]],a=o;break}if(a<0)return this;0===a?i[_$_ba50[95]]():function(e,t){for(;t+1=0;i--)this[_$_ba50[69]](e,t[i]);return this},t[_$_ba50[37]][_$_ba50[99]]=function(e){return s(this,e,!0)},t[_$_ba50[37]][_$_ba50[100]]=function(e){return s(this,e,!1)},t[_$_ba50[101]]=function(e,t){return _$_ba50[34]==typeof e[_$_ba50[101]]?e[_$_ba50[101]](t):_[_$_ba50[36]](e,t)},t[_$_ba50[37]][_$_ba50[101]]=_,t[_$_ba50[37]][_$_ba50[102]]=function(){return this[_$_ba50[48]]>0?l(this[_$_ba50[47]]):[]}}function _0xA763(e,t,n){function i(e){if(_$_ba50[33]!=typeof e||null===e)return!1;for(var t=e;null!==Object[_$_ba50[83]](t);)t=Object[_$_ba50[83]](t);return Object[_$_ba50[83]](e)===t}function r(e,t,n){function a(){m===p&&(m=p[_$_ba50[74]]())}function o(){if(g)throw new Error(_$_ba50[115]);return f}function s(e){if(_$_ba50[34]!=typeof e)throw new Error(_$_ba50[116]);if(g)throw new Error(_$_ba50[117]);var t=!0;return a(),m[_$_ba50[57]](e),function(){if(t){if(g)throw new Error(_$_ba50[118]);t=!1,a();var n=m[_$_ba50[29]](e);m[_$_ba50[119]](n,1)}}}function _(e){if(!i(e))throw new Error(_$_ba50[120]);if(void 0===e[_$_ba50[65]])throw new Error(_$_ba50[121]);if(g)throw new Error(_$_ba50[122]);try{g=!0,f=d(f,e)}finally{g=!1}for(var t=p=m,n=0;n=i(e[_$_ba50[254]])}function a(e,t,n){void 0===n&&(n=0);for(var i=0,r=e;i=o&&t<=s-n)return!0}return!1}_$_ba50[32];var o=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];no,u=this[_$_ba50[253]]a&&this[_$_ba50[254]]a&&this[_$_ba50[253]]o,l=this[_$_ba50[253]]>a&&this[_$_ba50[254]]o,h=this[_$_ba50[253]]a&&this[_$_ba50[254]]===o,b=this[_$_ba50[253]]===a&&this[_$_ba50[254]]===o;_||f||h||b?n[_$_ba50[57]](new e(a,o,s+1)):u||d?(n[_$_ba50[57]](new e(a,this[_$_ba50[254]],s+1)),n[_$_ba50[57]](new e(this[_$_ba50[254]],o,s))):c||p?(n[_$_ba50[57]](new e(a,this[_$_ba50[253]],s)),n[_$_ba50[57]](new e(this[_$_ba50[253]],o,s+1))):l?(n[_$_ba50[57]](new e(a,this[_$_ba50[253]],s)),n[_$_ba50[57]](new e(this[_$_ba50[253]],this[_$_ba50[254]],s+1)),n[_$_ba50[57]](new e(this[_$_ba50[254]],o,s))):n[_$_ba50[57]](new e(a,o,s))}return n},e[_$_ba50[37]][_$_ba50[259]]=function(t){for(var n=0;nthis[_$_ba50[253]]?(t[_$_ba50[119]](n,0,new e(Math[_$_ba50[261]](i[_$_ba50[254]],this[_$_ba50[253]]),Math[_$_ba50[260]](this[_$_ba50[254]],r[_$_ba50[253]]))),this[_$_ba50[253]]=r[_$_ba50[254]],n++):null===r&&this[_$_ba50[254]]>i[_$_ba50[254]]&&(t[_$_ba50[57]](new e(Math[_$_ba50[261]](i[_$_ba50[254]],this[_$_ba50[253]]),this[_$_ba50[254]])),this[_$_ba50[253]]=this[_$_ba50[254]])}return t},e[_$_ba50[37]][_$_ba50[262]]=function(e){if(0===e[_$_ba50[26]])return[this];var t=this[_$_ba50[106]](e);return this[_$_ba50[259]](t)},e}();t[_$_ba50[252]]=c;var l=function(){function e(){}return e[_$_ba50[263]]=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=!0),e[_$_ba50[26]]<1)return e;e[_$_ba50[264]](function(e,t){return e[_$_ba50[253]]-t[_$_ba50[253]]});var i=[];i[_$_ba50[57]](n?o({},e[0]):e[0]);for(var a=1;a=_[_$_ba50[253]]-t,c=s[_$_ba50[254]]<=_[_$_ba50[254]]+t;u&&c?i[i[_$_ba50[26]]-1][_$_ba50[254]]=_[_$_ba50[254]]:i[_$_ba50[57]](n?o({},_):_)}}return i},e[_$_ba50[265]]=function(e,t){return e[_$_ba50[146]](function(e){return!r(e,t)})[_$_ba50[149]](function(e,n){var i=function(e,t){return e>t[_$_ba50[253]]&&e<=t[_$_ba50[254]]}(t[_$_ba50[253]],n),r=function(e,t){return e=t[_$_ba50[253]]}(t[_$_ba50[254]],n);return i&&e[_$_ba50[57]](o(o({},n),{end:t[_$_ba50[253]]})),r&&e[_$_ba50[57]](o(o({},n),{start:t[_$_ba50[254]]})),i||r||e[_$_ba50[57]](o({},n)),e},[])},e[_$_ba50[266]]=function(t,n){void 0===n&&(n=0);for(var i=[],r=Array[_$_ba50[267]](t)?new _[_$_ba50[268]](t):t;r[_$_ba50[269]]();){var a=r[_$_ba50[127]]();if(!a[_$_ba50[270]]()){var o={start:a[_$_ba50[271]]()||0,end:0};o[_$_ba50[254]]=o[_$_ba50[253]]+a[_$_ba50[272]](),i[_$_ba50[57]](o)}}return e[_$_ba50[263]](i,n,!1)},e[_$_ba50[273]]=function(e){var t=[],n=0;for(var i in e)if(e[_$_ba50[229]](i)){n++;for(var r=e[i],a=0;a0&&t[_$_ba50[57]]({start:e[n][_$_ba50[254]],end:e[n+1][_$_ba50[253]]});return t},e[_$_ba50[275]]=function(t){var n=[],i=e[_$_ba50[273]](t),r=i[0],a=i[1];for(var o in r)r[_$_ba50[229]](o)&&r[o][_$_ba50[256]]()===a&&n[_$_ba50[57]](r[o]);return n},e[_$_ba50[276]]=function(t,n,i,r){for(var a=-1,o=e[_$_ba50[275]](n),s=0;s=i)return i;for(var _ in n)if(n[_$_ba50[229]](_)){if(n[_][_$_ba50[26]]<1)return null;var u=n[_];for(s=0;s=a&&(a=u[s][_$_ba50[253]],u[s][_$_ba50[253]]>=i));s++);}return-1===a?null:ai(t[_$_ba50[254]])},t[_$_ba50[248]]=function(e,t){return i(t[_$_ba50[253]])>i(e[_$_ba50[253]])&&i(t[_$_ba50[254]])=i(t[_$_ba50[253]])&&i(e[_$_ba50[253]])<=i(t[_$_ba50[254]])||i(e[_$_ba50[254]])>=i(t[_$_ba50[253]])&&i(e[_$_ba50[254]])<=i(t[_$_ba50[254]])},t[_$_ba50[246]]=r,t[_$_ba50[245]]=a,t[_$_ba50[244]]=function(e){var t=[];if(e&&e[_$_ba50[287]])for(var n=0;n=2*t,l=u/(u+_);if(!isFinite(_)&&isFinite(u)?(a=t,o=n-t):isFinite(_)&&!isFinite(u)?(a=n-t,o=t):isFinite(_)&&isFinite(u)&&(a=n*l,o=n*(1-l)),c&&a-1?e[_$_ba50[25]](0,e[_$_ba50[345]](_$_ba50[344])+1):_$_ba50[90]},e[_$_ba50[346]]=function(){try{omgwtfnodocumentdotcurrentscript}catch(e){return e[_$_ba50[347]]}},e[_$_ba50[348]]=function(){var e=this[_$_ba50[346]]();if(!e)return _$_ba50[90];for(var t=-1!==e[_$_ba50[29]](_$_ba50[349])?_$_ba50[349]:_$_ba50[350];-1!==e[_$_ba50[29]](t);)e=e[_$_ba50[25]](e[_$_ba50[29]](t)+t[_$_ba50[26]]);var n=e[_$_ba50[345]](_$_ba50[351],e[_$_ba50[345]](_$_ba50[351])-1);return e[_$_ba50[25]](e[_$_ba50[29]](_$_ba50[27])+1,n)},e[_$_ba50[343]]=function(){if(document[_$_ba50[352]]){var e=document[_$_ba50[352]][_$_ba50[353]];return e[_$_ba50[29]](_$_ba50[354])>-1?e[_$_ba50[25]](0,e[_$_ba50[345]](_$_ba50[354])):e}for(var t=document[_$_ba50[356]](_$_ba50[355]),i=t[_$_ba50[26]],r=0;r-1)return t[r][_$_ba50[353]];if(t[r][_$_ba50[353]][_$_ba50[29]](_$_ba50[354])>-1)return t[r][_$_ba50[353]][_$_ba50[25]](0,t[r][_$_ba50[353]][_$_ba50[29]](_$_ba50[354]))}return this[_$_ba50[348]]()||(t[_$_ba50[26]]>0&&n(t[i-1])?t[i-1][_$_ba50[353]]:_$_ba50[90])},e[_$_ba50[358]]=_$_ba50[359],e[_$_ba50[360]]=_$_ba50[361],e[_$_ba50[338]]=location[_$_ba50[338]],e[_$_ba50[362]]=location[_$_ba50[362]],e[_$_ba50[363]]={},e[_$_ba50[162]]={playerui:null},e[_$_ba50[364]]=e[_$_ba50[342]](),e[_$_ba50[336]]=_$_ba50[90],e}();t[_$_ba50[334]]=i}function _0xA9DF(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[366]]=t[_$_ba50[367]]=t[_$_ba50[368]]=t[_$_ba50[369]]=t[_$_ba50[370]]=void 0,function(e){e[_$_ba50[371]]=_$_ba50[372],e[_$_ba50[373]]=_$_ba50[374],e[_$_ba50[375]]=_$_ba50[376],e[_$_ba50[377]]=_$_ba50[378],e[_$_ba50[379]]=_$_ba50[380],e[_$_ba50[381]]=_$_ba50[382],e[_$_ba50[383]]=_$_ba50[384],e[_$_ba50[385]]=_$_ba50[386],e[_$_ba50[387]]=_$_ba50[388],e[_$_ba50[389]]=_$_ba50[390],e[_$_ba50[391]]=_$_ba50[392],e[_$_ba50[393]]=_$_ba50[394],e[_$_ba50[395]]=_$_ba50[396],e[_$_ba50[397]]=_$_ba50[73],e[_$_ba50[398]]=_$_ba50[399],e[_$_ba50[400]]=_$_ba50[401],e[_$_ba50[402]]=_$_ba50[403],e[_$_ba50[404]]=_$_ba50[405],e[_$_ba50[406]]=_$_ba50[407],e[_$_ba50[408]]=_$_ba50[409],e[_$_ba50[410]]=_$_ba50[411],e[_$_ba50[412]]=_$_ba50[413],e[_$_ba50[414]]=_$_ba50[415],e[_$_ba50[416]]=_$_ba50[417],e[_$_ba50[418]]=_$_ba50[419],e[_$_ba50[420]]=_$_ba50[421],e[_$_ba50[422]]=_$_ba50[423],e[_$_ba50[424]]=_$_ba50[425],e[_$_ba50[426]]=_$_ba50[427],e[_$_ba50[428]]=_$_ba50[429],\ne[_$_ba50[430]]=_$_ba50[431],e[_$_ba50[432]]=_$_ba50[433],e[_$_ba50[434]]=_$_ba50[435],e[_$_ba50[436]]=_$_ba50[437],e[_$_ba50[438]]=_$_ba50[439],e[_$_ba50[440]]=_$_ba50[441],e[_$_ba50[442]]=_$_ba50[443],e[_$_ba50[444]]=_$_ba50[445],e[_$_ba50[446]]=_$_ba50[447],e[_$_ba50[448]]=_$_ba50[449],e[_$_ba50[450]]=_$_ba50[451],e[_$_ba50[452]]=_$_ba50[453],e[_$_ba50[454]]=_$_ba50[455],e[_$_ba50[456]]=_$_ba50[457],e[_$_ba50[368]]=_$_ba50[458],e[_$_ba50[459]]=_$_ba50[460],e[_$_ba50[461]]=_$_ba50[462],e[_$_ba50[463]]=_$_ba50[464],e[_$_ba50[465]]=_$_ba50[466],e[_$_ba50[467]]=_$_ba50[468],e[_$_ba50[469]]=_$_ba50[470],e[_$_ba50[471]]=_$_ba50[472],e[_$_ba50[473]]=_$_ba50[474],e[_$_ba50[475]]=_$_ba50[476],e[_$_ba50[477]]=_$_ba50[478],e[_$_ba50[479]]=_$_ba50[480],e[_$_ba50[481]]=_$_ba50[482],e[_$_ba50[483]]=_$_ba50[484],e[_$_ba50[485]]=_$_ba50[486],e[_$_ba50[487]]=_$_ba50[488],e[_$_ba50[489]]=_$_ba50[490],e[_$_ba50[491]]=_$_ba50[492],e[_$_ba50[493]]=_$_ba50[494],e[_$_ba50[495]]=_$_ba50[496],e[_$_ba50[497]]=_$_ba50[498],e[_$_ba50[499]]=_$_ba50[500],e[_$_ba50[501]]=_$_ba50[502],e[_$_ba50[503]]=_$_ba50[504],e[_$_ba50[505]]=_$_ba50[506],e[_$_ba50[507]]=_$_ba50[508],e[_$_ba50[509]]=_$_ba50[510],e[_$_ba50[511]]=_$_ba50[184],e[_$_ba50[512]]=_$_ba50[513],e[_$_ba50[514]]=_$_ba50[515],e[_$_ba50[516]]=_$_ba50[517],e[_$_ba50[518]]=_$_ba50[519],e[_$_ba50[520]]=_$_ba50[521],e[_$_ba50[522]]=_$_ba50[523],e[_$_ba50[524]]=_$_ba50[525],e[_$_ba50[526]]=_$_ba50[527],e[_$_ba50[528]]=_$_ba50[529],e[_$_ba50[530]]=_$_ba50[531],e[_$_ba50[532]]=_$_ba50[533],e[_$_ba50[534]]=_$_ba50[535],e[_$_ba50[536]]=_$_ba50[537],e[_$_ba50[538]]=_$_ba50[539],e[_$_ba50[540]]=_$_ba50[541],e[_$_ba50[542]]=_$_ba50[543],e[_$_ba50[544]]=_$_ba50[545]}(t[_$_ba50[370]]||(t[_$_ba50[370]]={})),function(e){e[_$_ba50[546]]=_$_ba50[546],e[_$_ba50[547]]=_$_ba50[547],e[_$_ba50[548]]=_$_ba50[549],e[_$_ba50[550]]=_$_ba50[550],e[_$_ba50[551]]=_$_ba50[551],e[_$_ba50[552]]=_$_ba50[552],e[_$_ba50[553]]=_$_ba50[553],e[_$_ba50[554]]=_$_ba50[554]}(t[_$_ba50[369]]||(t[_$_ba50[369]]={})),function(e){e[_$_ba50[555]]=_$_ba50[556],e[_$_ba50[557]]=_$_ba50[558],e[_$_ba50[559]]=_$_ba50[560]}(t[_$_ba50[368]]||(t[_$_ba50[368]]={})),function(e){e[_$_ba50[561]]=_$_ba50[562]}(t[_$_ba50[367]]||(t[_$_ba50[367]]={})),function(e){e[_$_ba50[563]]=_$_ba50[564],e[_$_ba50[565]]=_$_ba50[566],e[_$_ba50[567]]=_$_ba50[568],e[_$_ba50[569]]=_$_ba50[570]}(t[_$_ba50[366]]||(t[_$_ba50[366]]={}))}function _0xAA14(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[330]]||(Object[_$_ba50[52]]?function(e,t,n,i){void 0===i&&(i=n),Object[_$_ba50[82]](e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this[_$_ba50[331]]||function(e,t){for(var n in e)_$_ba50[332]===n||Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)||i(t,e,n)};Object[_$_ba50[82]](t,_$_ba50[159],{value:!0});var a=n(8833);t[_$_ba50[332]]=a[_$_ba50[571]],r(n(59574),t),r(n(83024),t),r(n(8833),t),r(n(86750),t),r(n(85739),t),r(n(36166),t),r(n(55579),t),r(n(99538),t),r(n(76469),t),r(n(14641),t),r(n(41609),t)}function _0xAA49(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[572]]=void 0,t[_$_ba50[572]]=function(e,t,n){n[_$_ba50[144]]=!0}}function _0xAA7E(e,t,n){function i(e,t,n){var i=ae[_$_ba50[1007]][_$_ba50[1176]](t)+e[_$_ba50[91]][_$_ba50[1177]],r=new L[_$_ba50[1178]]({source:t,isAd:n,technology:e[_$_ba50[745]],sourceIdentifier:i}),a=e[_$_ba50[91]];a[_$_ba50[1179]](r),a[_$_ba50[615]][_$_ba50[172]](y[_$_ba50[617]][_$_ba50[767]],i)||function(e,t){var n=new X[_$_ba50[1173]](e[_$_ba50[709]],_$_ba50[1172],t);e[_$_ba50[615]][_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[767]],n,t),Object[_$_ba50[98]](K[_$_ba50[1174]])[_$_ba50[140]](function(e){n[_$_ba50[1175]](e,K[_$_ba50[1174]][e])})}(a,i)}function r(e,t,n){var i=ae[_$_ba50[1007]][_$_ba50[1188]](n);return(0,Z[_$_ba50[1190]])(e[_$_ba50[646]]()[_$_ba50[1189]],t,i)}function a(e){return null!=e&&_$_ba50[781]in e}function o(e){[y[_$_ba50[617]][_$_ba50[1031]],y[_$_ba50[617]][_$_ba50[1029]],y[_$_ba50[617]][_$_ba50[872]],y[_$_ba50[617]][_$_ba50[1032]],y[_$_ba50[617]][_$_ba50[1033]]][_$_ba50[140]](function(t){return(0,$[_$_ba50[1191]])(e[_$_ba50[615]],t)})}function s(e){return e===C[_$_ba50[1017]]||e===C[_$_ba50[1192]]}_$_ba50[32];var _=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object[_$_ba50[82]](t,n,o),o},c=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r-1?i[_$_ba50[659]][_$_ba50[662]](i[_$_ba50[647]][_$_ba50[661]]()[_$_ba50[660]]):i[_$_ba50[289]][_$_ba50[38]](_$_ba50[663],new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[664]],{"impression-server":i[_$_ba50[647]][_$_ba50[661]]()[_$_ba50[660]]}))),i[_$_ba50[659]][_$_ba50[668]](i[_$_ba50[666]]()[_$_ba50[665]],i[_$_ba50[667]]())[_$_ba50[185]](function(){},function(){}))},this[_$_ba50[669]]=function(e,t){if(i[_$_ba50[670]]()&&t[_$_ba50[671]]===Y[_$_ba50[673]][_$_ba50[672]]&&i[_$_ba50[674]]()&&i[_$_ba50[676]]()[_$_ba50[675]]()){var n=i[_$_ba50[676]]()[_$_ba50[677]];i[_$_ba50[678]](n)}},this[_$_ba50[679]]=function(){i[_$_ba50[674]]()?i[_$_ba50[676]]()[_$_ba50[675]]()?i[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[395]]):i[_$_ba50[680]]||i[_$_ba50[681]]||setTimeout(function(){i[_$_ba50[681]]=i[_$_ba50[676]]()[_$_ba50[683]]()[_$_ba50[185]](function(){i[_$_ba50[681]]=null,i[_$_ba50[682]]()})}):i[_$_ba50[682]]()},this[_$_ba50[682]]=function(){i[_$_ba50[659]]&&i[_$_ba50[659]][_$_ba50[684]](),i[_$_ba50[680]]=!0,i[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[395]])},this[_$_ba50[685]]=function(){!(i[_$_ba50[674]]()&&i[_$_ba50[686]]()&&i[_$_ba50[686]]()[_$_ba50[675]]())&&i[_$_ba50[680]]&&(i[_$_ba50[680]]=!1),i[_$_ba50[687]]=i[_$_ba50[688]](i[_$_ba50[687]])},Object[_$_ba50[98]]((0,Q[_$_ba50[626]])())[_$_ba50[26]]||(0,Q[_$_ba50[332]])()[_$_ba50[153]]((0,H[_$_ba50[689]])()),this[_$_ba50[655]]=e,this[_$_ba50[690]]=t,this[_$_ba50[691]]=n,this[_$_ba50[606]]=!1,this[_$_ba50[289]]=new M[_$_ba50[693]](N[_$_ba50[692]]),this[_$_ba50[694]]=new ne[_$_ba50[696]]((0,Q[_$_ba50[626]])()[_$_ba50[695]]),this[_$_ba50[647]]=null,this[_$_ba50[697]]=NaN,this[_$_ba50[698]]=new U[_$_ba50[699]],this[_$_ba50[605]]=new A[_$_ba50[700]](this[_$_ba50[289]],this[_$_ba50[691]],this[_$_ba50[690]]),this[_$_ba50[701]]=l[_$_ba50[324]],f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[206]])){var r=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[206]])[_$_ba50[702]];this[_$_ba50[703]]=new r,this[_$_ba50[704]]=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[206]])[_$_ba50[705]](function(){var e;return null===(e=i[_$_ba50[91]])||void 0===e?void 0:e[_$_ba50[615]]},this[_$_ba50[289]])}this[_$_ba50[706]]=null,this[_$_ba50[707]]=!1,this[_$_ba50[44]]()}return e[_$_ba50[37]][_$_ba50[708]]=function(){return this[_$_ba50[91]]&&this[_$_ba50[91]][_$_ba50[709]]&&(0,q[_$_ba50[708]])(this[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]()[_$_ba50[710]])||!1},e[_$_ba50[37]][_$_ba50[711]]=function(){return this[_$_ba50[91]]&&this[_$_ba50[91]][_$_ba50[709]]&&(0,q[_$_ba50[711]])(this[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]()[_$_ba50[710]])||!1},e[_$_ba50[37]][_$_ba50[712]]=function(){return Boolean(this[_$_ba50[601]]&&this[_$_ba50[601]][_$_ba50[602]])&&!this[_$_ba50[711]]()},e[_$_ba50[37]][_$_ba50[621]]=function(){return this[_$_ba50[713]]()&&this[_$_ba50[606]]},e[_$_ba50[37]][_$_ba50[713]]=function(){return this[_$_ba50[712]]()&&Boolean(this[_$_ba50[601]])&&Boolean(this[_$_ba50[601]][_$_ba50[602]])},e[_$_ba50[37]][_$_ba50[674]]=function(){return Boolean(this[_$_ba50[601]]&&this[_$_ba50[601]][_$_ba50[714]])},e[_$_ba50[37]][_$_ba50[715]]=function(){f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[192]]);var e=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[191]]);this[_$_ba50[601]][_$_ba50[714]]=new e[_$_ba50[716]](this,this[_$_ba50[601]][_$_ba50[91]]),this[_$_ba50[605]]&&this[_$_ba50[605]][_$_ba50[717]](E[_$_ba50[370]][_$_ba50[518]],{name:h[_$_ba50[187]][_$_ba50[192]]})},e[_$_ba50[37]][_$_ba50[676]]=function(){return this[_$_ba50[674]]()?this[_$_ba50[601]][_$_ba50[714]]:null},e[_$_ba50[37]][_$_ba50[718]]=function(){var e;if(!this[_$_ba50[712]]()||!(null===(e=this[_$_ba50[601]])||void 0===e?void 0:e[_$_ba50[639]]))return!1;var t=this[_$_ba50[601]][_$_ba50[639]][_$_ba50[151]]();return Boolean(t)&&_$_ba50[73]!==t},e[_$_ba50[37]][_$_ba50[719]]=function(e,t){if(!e||!t)return null;var n;if(_$_ba50[720]===t[_$_ba50[721]])n=e[_$_ba50[720]];else if(_$_ba50[722]===t[_$_ba50[721]])n=e[_$_ba50[722]];else if(_$_ba50[723]===t[_$_ba50[721]])n=e[_$_ba50[723]];else{if(_$_ba50[724]!==t[_$_ba50[721]])return null;n=e[_$_ba50[724]]}return n?{type:t[_$_ba50[721]],url:n,title:e[_$_ba50[725]],description:e[_$_ba50[726]],vr:e[_$_ba50[624]],config:e}:null},e[_$_ba50[37]][_$_ba50[727]]=function(e){var t=new $[_$_ba50[728]];return new D[_$_ba50[735]]({container:this[_$_ba50[655]],eventHandler:this[_$_ba50[601]][_$_ba50[605]],config:this[_$_ba50[601]][_$_ba50[647]][_$_ba50[177]](),storedConfig:this[_$_ba50[694]],videoElement:e||document[_$_ba50[730]](_$_ba50[729]),settings:this[_$_ba50[601]][_$_ba50[647]][_$_ba50[731]](),logger:this[_$_ba50[289]],serviceManager:t,internalPlayer:this,segmentInfoService:this[_$_ba50[732]],segmentPrefetchingService:this[_$_ba50[733]],adRestorationOptimizationService:this[_$_ba50[734]]})},e[_$_ba50[37]][_$_ba50[736]]=function(e,t){var n=this;if(!this[_$_ba50[601]])return Promise[_$_ba50[586]]();var i=this[_$_ba50[601]][_$_ba50[647]];i[_$_ba50[737]]&&i[_$_ba50[737]]()[_$_ba50[738]]&&this[_$_ba50[739]](i[_$_ba50[737]]()[_$_ba50[738]]),this[_$_ba50[289]][_$_ba50[740]](i);var r=this[_$_ba50[706]];this[_$_ba50[601]][_$_ba50[635]]&&(r||(r=this[_$_ba50[601]][_$_ba50[635]][_$_ba50[741]]()),this[_$_ba50[601]][_$_ba50[635]][_$_ba50[329]]()),this[_$_ba50[91]]?this[_$_ba50[91]][_$_ba50[635]]=se[_$_ba50[743]][_$_ba50[742]](this[_$_ba50[91]],r):this[_$_ba50[91]]=this[_$_ba50[727]](r);var a={context:this[_$_ba50[91]],playerInstance:this[_$_ba50[601]],container:this[_$_ba50[655]],config:i,source:e,forceTech:t,styleManager:this[_$_ba50[609]]};return this[_$_ba50[744]](),this[_$_ba50[698]][_$_ba50[756]](a)[_$_ba50[185]](function(e){var t,i,r;return n[_$_ba50[711]]()?null===(t=e[_$_ba50[602]])||void 0===t?void 0:t[_$_ba50[746]]()[_$_ba50[185]](function(){e[_$_ba50[635]]&&e[_$_ba50[635]][_$_ba50[329]](),e[_$_ba50[602]]=null,e[_$_ba50[745]]=null,e[_$_ba50[635]]=null}):(n[_$_ba50[601]][_$_ba50[91]]=e[_$_ba50[91]],n[_$_ba50[601]][_$_ba50[289]]=e[_$_ba50[289]],n[_$_ba50[601]][_$_ba50[602]]=e[_$_ba50[602]],n[_$_ba50[601]][_$_ba50[745]]=e[_$_ba50[745]],n[_$_ba50[601]][_$_ba50[635]]=e[_$_ba50[635]],n[_$_ba50[601]][_$_ba50[747]]=!0,n[_$_ba50[601]][_$_ba50[749]][_$_ba50[748]]=_$_ba50[750],n[_$_ba50[751]](n[_$_ba50[601]][_$_ba50[91]]),n[_$_ba50[752]]||(n[_$_ba50[752]]=new oe[_$_ba50[754]](n[_$_ba50[601]],n[_$_ba50[655]],null!==(r=null===(i=n[_$_ba50[605]])||void 0===i?void 0:i[_$_ba50[753]]())&&void 0!==r?r:function(){},n[_$_ba50[622]])),n[_$_ba50[755]](),Promise[_$_ba50[586]]())})},e[_$_ba50[37]][_$_ba50[744]]=function(){this[_$_ba50[757]]&&this[_$_ba50[757]](),this[_$_ba50[758]]&&this[_$_ba50[758]](),this[_$_ba50[757]]=(0,J[_$_ba50[761]])(this[_$_ba50[91]][_$_ba50[709]])(function(e){return(0,q[_$_ba50[760]])((0,q[_$_ba50[759]])(e))},this[_$_ba50[679]],function(e){return!0===e}),this[_$_ba50[758]]=(0,J[_$_ba50[761]])(this[_$_ba50[91]][_$_ba50[709]])(function(e){return(0,q[_$_ba50[762]])((0,q[_$_ba50[759]])(e))},this[_$_ba50[669]],function(){return!0})},e[_$_ba50[37]][_$_ba50[751]]=function(e){this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[763]](e),e[_$_ba50[732]]&&e[_$_ba50[732]][_$_ba50[763]](e),e[_$_ba50[733]]&&e[_$_ba50[733]][_$_ba50[763]](e),e[_$_ba50[734]]&&e[_$_ba50[734]][_$_ba50[763]](e)},e[_$_ba50[37]][_$_ba50[764]]=function(e){var t;this[_$_ba50[621]]()&&(e=String(e)||_$_ba50[765],null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[764]](e))},e[_$_ba50[37]][_$_ba50[766]]=function(e){var t;this[_$_ba50[621]]()&&(e=String(e)||_$_ba50[765],null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[766]](e))},e[_$_ba50[37]][_$_ba50[613]]=function(){this[_$_ba50[601]][_$_ba50[91]][_$_ba50[615]][_$_ba50[769]](y[_$_ba50[617]][_$_ba50[767]],this[_$_ba50[601]][_$_ba50[91]][_$_ba50[611]][_$_ba50[768]])},e[_$_ba50[37]][_$_ba50[603]]=function(e){var t,n,i,r,a=this;if(void 0===e&&(e=_$_ba50[600]),this[_$_ba50[770]]=null,this[_$_ba50[771]](e)){var o=!this[_$_ba50[606]]&&this[_$_ba50[686]]()&&this[_$_ba50[686]]()[_$_ba50[772]]();this[_$_ba50[773]](),o&&this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[493]])}return s(e)?(this[_$_ba50[775]](d[_$_ba50[580]],null!==(n=null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t?void 0:t[_$_ba50[774]]())&&void 0!==n?n:0),this[_$_ba50[775]](d[_$_ba50[582]],null!==(r=null===(i=this[_$_ba50[601]][_$_ba50[602]])||void 0===i?void 0:i[_$_ba50[776]]())&&void 0!==r?r:0)):(this[_$_ba50[601]][_$_ba50[91]]&&this[_$_ba50[601]][_$_ba50[91]][_$_ba50[733]]&&this[_$_ba50[601]][_$_ba50[91]][_$_ba50[733]][_$_ba50[684]](),this[_$_ba50[777]]=null,this[_$_ba50[778]]=null),this[_$_ba50[597]][_$_ba50[779]](function(){return a[_$_ba50[599]](e)})},e[_$_ba50[37]][_$_ba50[780]]=function(){var e;return!!(this[_$_ba50[713]]()&&a(this[_$_ba50[601]][_$_ba50[602]])&&this[_$_ba50[781]]())&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[780]]())},e[_$_ba50[37]][_$_ba50[782]]=function(){var e;this[_$_ba50[713]]()&&a(this[_$_ba50[601]][_$_ba50[602]])&&this[_$_ba50[601]][_$_ba50[602]][_$_ba50[781]]()&&(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e||e[_$_ba50[782]]())},e[_$_ba50[37]][_$_ba50[781]]=function(){return this[_$_ba50[713]]()&&a(this[_$_ba50[601]][_$_ba50[602]])&&this[_$_ba50[601]][_$_ba50[602]][_$_ba50[781]]()},e[_$_ba50[37]][_$_ba50[380]]=function(e,t){var n,i,r;if(void 0===t&&(t=_$_ba50[600]),this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[675]]()||!this[_$_ba50[621]]())return!1;var a=null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[783]](),o=this[_$_ba50[784]](),_=!(-1===o[_$_ba50[253]]&&-1===o[_$_ba50[254]]);return!!(!a||a&&this[_$_ba50[601]][_$_ba50[786]][_$_ba50[785]])&&(this[_$_ba50[707]]=!0,this[_$_ba50[787]]()?Boolean(null===(i=this[_$_ba50[601]][_$_ba50[602]])||void 0===i?void 0:i[_$_ba50[380]](e,t)):!!_&&(e=this[_$_ba50[788]](e,o),s(t)||this[_$_ba50[783]]()||(e=Math[_$_ba50[260]](e,o[_$_ba50[254]]-this[_$_ba50[601]][_$_ba50[786]][_$_ba50[789]])),Boolean(null===(r=this[_$_ba50[601]][_$_ba50[602]])||void 0===r?void 0:r[_$_ba50[380]](e,t))))},e[_$_ba50[37]][_$_ba50[787]]=function(){return this[_$_ba50[667]]()[_$_ba50[792]](w[_$_ba50[791]][_$_ba50[790]])},e[_$_ba50[37]][_$_ba50[793]]=function(e,t){var n;return!(!this[_$_ba50[713]]()||!a(this[_$_ba50[601]][_$_ba50[602]]))&&(null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[793]](e,t))},e[_$_ba50[37]][_$_ba50[788]]=function(e,t){if(et[_$_ba50[254]]){var n=e;e=Math[_$_ba50[261]](e,t[_$_ba50[253]]),e=Math[_$_ba50[260]](e,t[_$_ba50[254]]),this[_$_ba50[289]][_$_ba50[278]](_$_ba50[794]+t[_$_ba50[253]]+_$_ba50[795]+t[_$_ba50[254]]+_$_ba50[796]+n+_$_ba50[795]+e)}return e},e[_$_ba50[37]][_$_ba50[797]]=function(){var e;return this[_$_ba50[713]]()?Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[797]]()):this[_$_ba50[601]][_$_ba50[390]]},e[_$_ba50[37]][_$_ba50[653]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[653]]())&&void 0!==t?t:[]},e[_$_ba50[37]][_$_ba50[798]]=function(e){this[_$_ba50[609]]?this[_$_ba50[609]][_$_ba50[798]](e):this[_$_ba50[289]][_$_ba50[278]](_$_ba50[799])},e[_$_ba50[37]][_$_ba50[800]]=function(e){var t=this[_$_ba50[648]]()[_$_ba50[801]](function(t){return t[_$_ba50[690]]===e});t&&this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[522]],{subtitle:_({},t)})},e[_$_ba50[37]][_$_ba50[802]]=function(){var e=this,t=this[_$_ba50[648]]()[_$_ba50[146]](function(e){return e[_$_ba50[804]]})[_$_ba50[152]](function(t){return e[_$_ba50[803]](t[_$_ba50[690]],!1)});return Promise[_$_ba50[186]](t)},e[_$_ba50[37]][_$_ba50[649]]=function(e,t,n){var i=this;void 0===t&&(t=!0),void 0===n&&(n=!0);var r=this[_$_ba50[648]]()[_$_ba50[801]](function(t){return t[_$_ba50[690]]===e});return this[_$_ba50[621]]()&&r&&!r[_$_ba50[804]]?(n&&this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[520]],{subtitle:_({},r)}),Promise[_$_ba50[586]]()[_$_ba50[185]](function(){return t?i[_$_ba50[802]]():Promise[_$_ba50[186]]([!1])})[_$_ba50[185]](function(){var t;return Boolean(null===(t=i[_$_ba50[601]][_$_ba50[602]])||void 0===t?void 0:t[_$_ba50[649]](e))})[_$_ba50[185]](function(t){return t&&i[_$_ba50[800]](e),t})):Promise[_$_ba50[586]](!1)},e[_$_ba50[37]][_$_ba50[803]]=function(e,t){var n=this;if(void 0===t&&(t=!0),this[_$_ba50[621]]()){var i=this[_$_ba50[648]]()[_$_ba50[801]](function(t){return t[_$_ba50[690]]===e});if(i&&i[_$_ba50[804]])return t&&this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[524]],{subtitle:_({},i)}),this[_$_ba50[601]][_$_ba50[602]]?this[_$_ba50[601]][_$_ba50[602]][_$_ba50[803]](e)[_$_ba50[185]](function(e){return e&&n[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[526]],{subtitle:_(_({},i),{enabled:!1})}),e}):Promise[_$_ba50[586]](!1)}return Promise[_$_ba50[586]](!1)},e[_$_ba50[37]][_$_ba50[805]]=function(){var e,t;this[_$_ba50[621]]()&&!this[_$_ba50[783]]()&&(this[_$_ba50[707]]||this[_$_ba50[807]](this[_$_ba50[601]][_$_ba50[806]],Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[783]]())),null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[805]]())},e[_$_ba50[37]][_$_ba50[808]]=function(e){var t;this[_$_ba50[601]][_$_ba50[390]]=!0,this[_$_ba50[713]]()&&(this[_$_ba50[674]]()&&!this[_$_ba50[797]]()&&this[_$_ba50[676]]()[_$_ba50[809]](0),this[_$_ba50[810]]=this[_$_ba50[811]](),null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[808]](e))},e[_$_ba50[37]][_$_ba50[812]]=function(e){var t;if(this[_$_ba50[601]][_$_ba50[390]]=!1,this[_$_ba50[713]]()){if(this[_$_ba50[674]]()&&this[_$_ba50[797]]()){var n=isNaN(this[_$_ba50[810]])?100:this[_$_ba50[810]];this[_$_ba50[810]]=NaN,this[_$_ba50[676]]()[_$_ba50[809]](n)}null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[812]](e)}},e[_$_ba50[37]][_$_ba50[648]]=function(){var e,t;if(!this[_$_ba50[621]]())return[];var n=null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[648]]()[_$_ba50[152]](function(e){return _({},e)}))&&void 0!==t?t:[];return c([],n,!0)},e[_$_ba50[37]][_$_ba50[272]]=function(e){var t,n;return void 0===e&&(e=_$_ba50[600]),this[_$_ba50[713]]()?!s(e)&&this[_$_ba50[675]]()?this[_$_ba50[676]]()[_$_ba50[272]]():this[_$_ba50[621]]()&&null!==(n=null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t?void 0:t[_$_ba50[272]]())&&void 0!==n?n:0:0},e[_$_ba50[37]][_$_ba50[813]]=function(e,t){var n;this[_$_ba50[601]][_$_ba50[814]]=e,this[_$_ba50[713]]()&&(null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n||n[_$_ba50[813]](e,t),this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[809]](e))},e[_$_ba50[37]][_$_ba50[815]]=function(e,t){var n;this[_$_ba50[621]]()&&(e=this[_$_ba50[816]](e),null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n||n[_$_ba50[815]](e,t),this[_$_ba50[707]]=!0)},e[_$_ba50[37]][_$_ba50[816]]=function(e){var t;if(e<=0)return e;var n=(0,ie[_$_ba50[818]])(Date[_$_ba50[817]]());this[_$_ba50[787]]()||(n-=null===(t=this[_$_ba50[820]][_$_ba50[819]](w[_$_ba50[284]][_$_ba50[283]],w[_$_ba50[304]][_$_ba50[303]]))||void 0===t?void 0:t[_$_ba50[290]]);var i=Math[_$_ba50[260]](e-n,0);return this[_$_ba50[289]][_$_ba50[278]](_$_ba50[822][_$_ba50[41]](e,_$_ba50[821])[_$_ba50[41]](i)),i},e[_$_ba50[37]][_$_ba50[823]]=function(e){var t;this[_$_ba50[713]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[823]](e))},e[_$_ba50[37]][_$_ba50[824]]=function(){var e;this[_$_ba50[713]]()&&(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e||e[_$_ba50[824]]())},e[_$_ba50[37]][_$_ba50[825]]=function(){var e;this[_$_ba50[713]]()&&(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e||e[_$_ba50[825]]())},e[_$_ba50[37]][_$_ba50[811]]=function(){var e,t;return this[_$_ba50[713]]()?null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[811]]())&&void 0!==t?t:0:this[_$_ba50[601]][_$_ba50[814]]},e[_$_ba50[37]][_$_ba50[826]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[826]]())&&void 0!==t?t:0},e[_$_ba50[37]][_$_ba50[827]]=function(e){var t;this[_$_ba50[621]]()&&(_$_ba50[79]!=typeof e||e<0?this[_$_ba50[831]](_$_ba50[828],_$_ba50[829][_$_ba50[41]](e),_$_ba50[830],_$_ba50[90][_$_ba50[41]](e)):null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[827]](e))},e[_$_ba50[37]][_$_ba50[832]]=function(){var e,t;return this[_$_ba50[621]]()?null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[832]]())&&void 0!==t?t:0:-1},e[_$_ba50[37]][_$_ba50[833]]=function(e){var t;this[_$_ba50[621]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[833]](e))},e[_$_ba50[37]][_$_ba50[834]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[834]]())&&void 0!==t?t:null},e[_$_ba50[37]][_$_ba50[835]]=function(e){var t;this[_$_ba50[621]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[835]](e))},e[_$_ba50[37]][_$_ba50[836]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[836]]())&&void 0!==t?t:null},e[_$_ba50[37]][_$_ba50[837]]=function(e,t){var n,i;return void 0===e&&(e=_$_ba50[600]),void 0===t&&(t=w[_$_ba50[839]][_$_ba50[838]]),this[_$_ba50[675]]()&&!s(e)?this[_$_ba50[676]]()[_$_ba50[837]]():this[_$_ba50[621]]()&&null!==(i=null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[837]](t))&&void 0!==i?i:0},e[_$_ba50[37]][_$_ba50[840]]=function(e,t,n){var i;if(this[_$_ba50[713]]()){var r=Object[_$_ba50[98]](w[_$_ba50[284]])[_$_ba50[841]](function(t){return e===w[_$_ba50[284]][t]}),a=Object[_$_ba50[98]](w[_$_ba50[304]])[_$_ba50[841]](function(e){return n===w[_$_ba50[304]][e]});r?a?_$_ba50[79]!=typeof t||t<0?this[_$_ba50[831]](_$_ba50[842],_$_ba50[829][_$_ba50[41]](t),_$_ba50[830],_$_ba50[90][_$_ba50[41]](t)):null===(i=this[_$_ba50[601]][_$_ba50[602]])||void 0===i||i[_$_ba50[840]](e,t,n):this[_$_ba50[831]](_$_ba50[842],_$_ba50[843][_$_ba50[41]](n),_$_ba50[844],_$_ba50[90][_$_ba50[41]](n)):this[_$_ba50[831]](_$_ba50[842],_$_ba50[845][_$_ba50[41]](e),_$_ba50[65],_$_ba50[90][_$_ba50[41]](e))}},e[_$_ba50[37]][_$_ba50[282]]=function(e,t){var n,i,r={level:null,targetLevel:null,type:e,media:t};return this[_$_ba50[713]]()&&this[_$_ba50[846]](e,t)&&null!==(i=null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[282]](e,t))&&void 0!==i?i:r},e[_$_ba50[37]][_$_ba50[846]]=function(e,t){var n=Object[_$_ba50[98]](w[_$_ba50[284]])[_$_ba50[841]](function(t){return e===w[_$_ba50[284]][t]}),i=Object[_$_ba50[98]](w[_$_ba50[304]])[_$_ba50[841]](function(e){return t===w[_$_ba50[304]][e]});return n&&i},e[_$_ba50[37]][_$_ba50[847]]=function(){return this[_$_ba50[621]]()?this[_$_ba50[282]](w[_$_ba50[284]][_$_ba50[283]],w[_$_ba50[304]][_$_ba50[309]])[_$_ba50[738]]:null},e[_$_ba50[37]][_$_ba50[848]]=function(){return this[_$_ba50[621]]()?this[_$_ba50[282]](w[_$_ba50[284]][_$_ba50[283]],w[_$_ba50[304]][_$_ba50[303]])[_$_ba50[738]]:null},e[_$_ba50[37]][_$_ba50[849]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[849]]())&&void 0!==t?t:0},e[_$_ba50[37]][_$_ba50[850]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[850]]())&&void 0!==t?t:0},e[_$_ba50[37]][_$_ba50[851]]=function(){var e;return this[_$_ba50[621]]()&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[851]]())},e[_$_ba50[37]][_$_ba50[783]]=function(){var e;return this[_$_ba50[621]]()&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[783]]())},e[_$_ba50[37]][_$_ba50[852]]=function(){var e;return this[_$_ba50[621]]()&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[852]]())},e[_$_ba50[37]][_$_ba50[853]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[853]]())&&void 0!==t?t:[]},e[_$_ba50[37]][_$_ba50[854]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[854]]())&&void 0!==t?t:[]},e[_$_ba50[37]][_$_ba50[855]]=function(){var e;return this[_$_ba50[713]]()&&Boolean(this[_$_ba50[601]][_$_ba50[635]])&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[635]])||void 0===e?void 0:e[_$_ba50[855]]())},e[_$_ba50[37]][_$_ba50[856]]=function(){var e;return this[_$_ba50[713]]()&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[856]]())},e[_$_ba50[37]][_$_ba50[857]]=function(){var e;return this[_$_ba50[713]]()&&Boolean(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[857]]())},e[_$_ba50[37]][_$_ba50[858]]=function(){var e,t,n={id:_$_ba50[90],bitrate:0,height:0,width:0,isAuto:!0};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[858]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[859]]=function(){var e,t,n={id:_$_ba50[90],bitrate:0,isAuto:!0};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[859]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[860]]=function(){var e,t,n={id:_$_ba50[90],bitrate:0,height:0,width:0,uid:void 0};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[860]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[861]]=function(){var e,t,n={id:_$_ba50[90],bitrate:0};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[861]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[862]]=function(){var e,t;return null!==(t=null===(e=this[_$_ba50[609]])||void 0===e?void 0:e[_$_ba50[862]]())&&void 0!==t?t:0},e[_$_ba50[37]][_$_ba50[863]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[863]]())&&void 0!==t?t:null},e[_$_ba50[37]][_$_ba50[244]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[244]]())&&void 0!==t?t:[]},e[_$_ba50[37]][_$_ba50[864]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[864]]())&&void 0!==t?t:{}},\ne[_$_ba50[37]][_$_ba50[865]]=function(){var e,t,n={id:_$_ba50[765],bitrate:null};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[865]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[866]]=function(){return this[_$_ba50[778]]},e[_$_ba50[37]][_$_ba50[774]]=function(){var e,t;return this[_$_ba50[867]](d[_$_ba50[580]],!(this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[675]]()),this[_$_ba50[713]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[774]]())&&void 0!==t?t:0)},e[_$_ba50[37]][_$_ba50[776]]=function(){var e,t;return this[_$_ba50[867]](d[_$_ba50[582]],!(this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[675]]()),this[_$_ba50[713]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[776]]())&&void 0!==t?t:0)},e[_$_ba50[37]][_$_ba50[868]]=function(){var e,t,n={id:_$_ba50[765],bitrate:null,width:null,height:null};return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[868]]())&&void 0!==t?t:n},e[_$_ba50[37]][_$_ba50[869]]=function(e){var t=this;return new Promise(function(n){var i=!1,r=function(){t[_$_ba50[96]](E[_$_ba50[370]][_$_ba50[467]],r),i=!0},a=function(){t[_$_ba50[96]](E[_$_ba50[370]][_$_ba50[454]],a),t[_$_ba50[870]]=null,n()};t[_$_ba50[75]](E[_$_ba50[370]][_$_ba50[467]],r),t[_$_ba50[75]](E[_$_ba50[370]][_$_ba50[454]],a),t[_$_ba50[601]][_$_ba50[91]][_$_ba50[615]][_$_ba50[177]](y[_$_ba50[617]][_$_ba50[872]])[_$_ba50[871]](!0,e),t[_$_ba50[676]]()[_$_ba50[869]]()[_$_ba50[185]](function(){t[_$_ba50[870]]=null,t[_$_ba50[873]]()||i?n():n(t[_$_ba50[374]](e))})})},e[_$_ba50[37]][_$_ba50[670]]=function(){var e=(0,q[_$_ba50[762]])(this[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]()[_$_ba50[710]]);return e[_$_ba50[874]]===Y[_$_ba50[876]][_$_ba50[875]]&&e[_$_ba50[671]]!==Y[_$_ba50[673]][_$_ba50[672]]},e[_$_ba50[37]][_$_ba50[877]]=function(){return this[_$_ba50[674]]()&&!this[_$_ba50[676]]()[_$_ba50[878]]()&&!this[_$_ba50[879]]()},e[_$_ba50[37]][_$_ba50[880]]=function(){if(this[_$_ba50[780]]())return!1;var e=this[_$_ba50[701]]===l[_$_ba50[324]],t=this[_$_ba50[701]]===l[_$_ba50[578]];return e||!this[_$_ba50[797]]()&&t},e[_$_ba50[37]][_$_ba50[881]]=function(){var e=this;this[_$_ba50[601]][_$_ba50[639]]&&this[_$_ba50[601]][_$_ba50[639]][_$_ba50[885]]()[_$_ba50[185]](function(){return e[_$_ba50[289]][_$_ba50[278]](_$_ba50[884])})[_$_ba50[883]](function(){return e[_$_ba50[289]][_$_ba50[278]](_$_ba50[882])})},e[_$_ba50[37]][_$_ba50[374]]=function(e){var t=this;return void 0===e&&(e=_$_ba50[600]),this[_$_ba50[771]](e)?this[_$_ba50[870]]?this[_$_ba50[870]][_$_ba50[185]](function(){return t[_$_ba50[676]]()[_$_ba50[374]]()}):this[_$_ba50[676]]()[_$_ba50[374]]():this[_$_ba50[621]]()?this[_$_ba50[877]]()&&!this[_$_ba50[670]]()?this[_$_ba50[870]]=this[_$_ba50[869]](e):(this[_$_ba50[707]]||this[_$_ba50[807]](this[_$_ba50[601]][_$_ba50[806]],this[_$_ba50[783]]()),this[_$_ba50[881]](),this[_$_ba50[601]][_$_ba50[602]]?this[_$_ba50[601]][_$_ba50[602]][_$_ba50[374]](e)[_$_ba50[185]](function(){t[_$_ba50[701]]=t[_$_ba50[688]](t[_$_ba50[701]]),t[_$_ba50[891]](t[_$_ba50[601]][_$_ba50[890]])})[_$_ba50[883]](function(e){return t[_$_ba50[289]][_$_ba50[278]](_$_ba50[886],e),t[_$_ba50[880]]()&&(t[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[398]],new g[_$_ba50[240]](v[_$_ba50[241]][_$_ba50[887]])),t[_$_ba50[780]]()||t[_$_ba50[888]]()),Promise[_$_ba50[889]](e)}):Promise[_$_ba50[889]](_$_ba50[892])):Promise[_$_ba50[889]](new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[893]],void 0,_$_ba50[894]))},e[_$_ba50[37]][_$_ba50[771]]=function(e){if(s(e))return!1;var t=Boolean(this[_$_ba50[870]]);return this[_$_ba50[675]]()||t},e[_$_ba50[37]][_$_ba50[675]]=function(){return!!this[_$_ba50[674]]()&&this[_$_ba50[676]]()[_$_ba50[675]]()},e[_$_ba50[37]][_$_ba50[888]]=function(e){var t,n=this;void 0===e&&(e=_$_ba50[600]),this[_$_ba50[771]](e)?this[_$_ba50[870]]?this[_$_ba50[870]][_$_ba50[185]](function(){return n[_$_ba50[676]]()[_$_ba50[888]]()}):this[_$_ba50[676]]()[_$_ba50[888]]():this[_$_ba50[621]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[888]](e))},e[_$_ba50[37]][_$_ba50[895]]=function(){var e;this[_$_ba50[713]]()&&a(this[_$_ba50[601]][_$_ba50[602]])&&(null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e||e[_$_ba50[895]]())},e[_$_ba50[37]][_$_ba50[739]]=function(e){this[_$_ba50[289]][_$_ba50[739]](e)},e[_$_ba50[37]][_$_ba50[896]]=function(){return this[_$_ba50[289]]},e[_$_ba50[37]][_$_ba50[897]]=function(e,t,n){var i;this[_$_ba50[601]]&&this[_$_ba50[601]][_$_ba50[605]]?i=this[_$_ba50[601]][_$_ba50[605]]:this[_$_ba50[605]]&&(i=this[_$_ba50[605]]),i[_$_ba50[75]](e,t,n)},e[_$_ba50[37]][_$_ba50[898]]=function(e,t){this[_$_ba50[897]](e,t,!0)},e[_$_ba50[37]][_$_ba50[75]]=function(e,t){this[_$_ba50[897]](e,t,!1)},e[_$_ba50[37]][_$_ba50[96]]=function(e,t){this[_$_ba50[601]]&&this[_$_ba50[601]][_$_ba50[605]]?this[_$_ba50[601]][_$_ba50[605]][_$_ba50[96]](e,t):this[_$_ba50[605]]&&this[_$_ba50[605]][_$_ba50[96]](e,t)},e[_$_ba50[37]][_$_ba50[899]]=function(e){var t;return{context:null,logger:this[_$_ba50[289]],container:this[_$_ba50[655]],bitdashPlayer:null,eventHandler:this[_$_ba50[605]],videoElement:null,adController:null,vrHandler:null,hasInitStarted:!1,technology:{player:w[_$_ba50[791]][_$_ba50[900]],streaming:w[_$_ba50[901]][_$_ba50[900]]},playerConfig:null,configuration:null,settings:null,source:null,volume:null!==(t=e[_$_ba50[646]]()[_$_ba50[814]])&&void 0!==t?t:100,muted:e[_$_ba50[646]]()[_$_ba50[390]]||!1,playbackSpeed:1}},e[_$_ba50[37]][_$_ba50[902]]=function(){var e=this;if(this[_$_ba50[647]][_$_ba50[904]]()[_$_ba50[903]]&&f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[203]])){var t=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[203]]),n=this[_$_ba50[647]][_$_ba50[904]]()[_$_ba50[905]];this[_$_ba50[647]][_$_ba50[904]]()[_$_ba50[905]]=n&&_$_ba50[34]==typeof n?function(i){var r,a;return i[_$_ba50[906]]=t[_$_ba50[908]](e[_$_ba50[601]],i[_$_ba50[906]],null!==(a=null===(r=e[_$_ba50[752]])||void 0===r?void 0:r[_$_ba50[907]]())&&void 0!==a&&a)||i[_$_ba50[906]],n(i)}:function(n){var i,r;return t[_$_ba50[908]](e[_$_ba50[601]],n[_$_ba50[906]],null!==(r=null===(i=e[_$_ba50[752]])||void 0===i?void 0:i[_$_ba50[907]]())&&void 0!==r&&r)||n[_$_ba50[906]]}}},e[_$_ba50[37]][_$_ba50[909]]=function(){var e=this[_$_ba50[647]][_$_ba50[177]](_$_ba50[661]);if(_$_ba50[910]===location[_$_ba50[362]]){if(!e[_$_ba50[911]]||!e[_$_ba50[912]])throw new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[913]],{tweaks:JSON[_$_ba50[291]](e)},_$_ba50[915][_$_ba50[41]](e[_$_ba50[911]]?_$_ba50[912]:_$_ba50[911],_$_ba50[914]));!T[_$_ba50[334]][_$_ba50[338]]&&e[_$_ba50[912]]&&(T[_$_ba50[334]][_$_ba50[338]]=e[_$_ba50[912]])}},e[_$_ba50[37]][_$_ba50[916]]=function(){try{for(var e=0;this[_$_ba50[655]][_$_ba50[657]](T[_$_ba50[334]][_$_ba50[360]]+_$_ba50[73])[_$_ba50[26]]>0&&(this[_$_ba50[655]][_$_ba50[917]](this[_$_ba50[655]][_$_ba50[657]](T[_$_ba50[334]][_$_ba50[360]]+_$_ba50[73])[0]),!(++e>10)););}catch(e){}},e[_$_ba50[37]][_$_ba50[918]]=function(e){if(!this[_$_ba50[601]][_$_ba50[749]][_$_ba50[919]]){var t,n=this[_$_ba50[647]][_$_ba50[921]]()[_$_ba50[920]],i=this[_$_ba50[647]][_$_ba50[661]]();(n||0===n)&&!isNaN(n)&&n>=0&&(t=n);var r=this[_$_ba50[587]][0];i[_$_ba50[922]]&&(this[_$_ba50[587]][_$_ba50[792]](i[_$_ba50[922]])?r=i[_$_ba50[922]]:this[_$_ba50[289]][_$_ba50[38]](_$_ba50[923],new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[924]],{"license-server":i[_$_ba50[922]]}))),this[_$_ba50[925]]=P[_$_ba50[926]][_$_ba50[756]](this[_$_ba50[289]],r,e[_$_ba50[665]]),this[_$_ba50[925]][_$_ba50[927]](t),this[_$_ba50[925]][_$_ba50[668]](this[_$_ba50[627]])}},e[_$_ba50[37]][_$_ba50[928]]=function(e){var t,n;this[_$_ba50[647]]=new p[_$_ba50[929]](e),this[_$_ba50[694]][_$_ba50[932]](Boolean(null===(t=e[_$_ba50[930]])||void 0===t?void 0:t[_$_ba50[931]])),this[_$_ba50[601]]=this[_$_ba50[601]]||this[_$_ba50[899]](this[_$_ba50[647]]),this[_$_ba50[601]][_$_ba50[647]]=this[_$_ba50[647]],this[_$_ba50[601]][_$_ba50[786]]=this[_$_ba50[647]][_$_ba50[731]](),this[_$_ba50[289]][_$_ba50[933]](this[_$_ba50[601]][_$_ba50[786]]),this[_$_ba50[289]][_$_ba50[739]](this[_$_ba50[647]][_$_ba50[177]](_$_ba50[737])[_$_ba50[738]]),null===(n=this[_$_ba50[605]])||void 0===n||n[_$_ba50[935]](this[_$_ba50[647]][_$_ba50[177]](_$_ba50[934])),this[_$_ba50[289]][_$_ba50[740]](this[_$_ba50[647]]);var i=this[_$_ba50[647]][_$_ba50[661]]()[_$_ba50[936]];if(i&&this[_$_ba50[739]](i),this[_$_ba50[647]][_$_ba50[661]]()[_$_ba50[937]]&&(0,k[_$_ba50[938]])(this[_$_ba50[289]]),f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[189]])&&f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[189]])[_$_ba50[939]](this[_$_ba50[289]]),this[_$_ba50[902]](),this[_$_ba50[647]][_$_ba50[177]](_$_ba50[737])[_$_ba50[940]]&&(this[_$_ba50[289]][_$_ba50[944]](_$_ba50[941],_$_ba50[942],_$_ba50[943]),this[_$_ba50[289]][_$_ba50[944]](_$_ba50[945]+T[_$_ba50[334]][_$_ba50[358]],_$_ba50[946],_$_ba50[947])),this[_$_ba50[909]](),this[_$_ba50[601]][_$_ba50[749]]={isAdPlayer:!1,prefix:_$_ba50[90],visibility:_$_ba50[750]},this[_$_ba50[655]][_$_ba50[710]]=this[_$_ba50[691]],this[_$_ba50[916]](),this[_$_ba50[918]](e),f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[216]])){var r=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[216]])[_$_ba50[948]];this[_$_ba50[609]]=new r(this,this[_$_ba50[601]])}f[_$_ba50[160]][_$_ba50[180]](this[_$_ba50[691]])},e[_$_ba50[37]][_$_ba50[949]]=function(){this[_$_ba50[950]](),this[_$_ba50[951]]()},e[_$_ba50[37]][_$_ba50[181]]=function(e){if(!T[_$_ba50[334]][_$_ba50[335]]())throw new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[952]],void 0,_$_ba50[953]);return this[_$_ba50[928]](e)},e[_$_ba50[37]][_$_ba50[954]]=function(e){var t,n=this,i=_({},e);if(i[_$_ba50[955]]=i[_$_ba50[955]]||_$_ba50[956],this[_$_ba50[621]]()&&function(e){return e&&_$_ba50[33]==typeof e&&(_$_ba50[982]==typeof e[_$_ba50[690]]||(0,re[_$_ba50[1184]])(e[_$_ba50[690]]))&&_$_ba50[982]==typeof e[_$_ba50[959]]&&[_$_ba50[1185],_$_ba50[1186],_$_ba50[1187],_$_ba50[956]][_$_ba50[792]](e[_$_ba50[955]])}(i)&&!i[_$_ba50[957]]){i[_$_ba50[690]]=String(i[_$_ba50[690]]),i[_$_ba50[958]]=i[_$_ba50[958]]||i[_$_ba50[959]];var r=i[_$_ba50[804]]||!1;i[_$_ba50[804]]=!1,null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[954]](i)[_$_ba50[185]](function(){r&&n[_$_ba50[649]](i[_$_ba50[690]],!1,!1)})[_$_ba50[883]](function(){return function(){}})}},e[_$_ba50[37]][_$_ba50[960]]=function(e){var t;this[_$_ba50[621]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[960]](e))},e[_$_ba50[37]][_$_ba50[961]]=function(){return this[_$_ba50[655]]},e[_$_ba50[37]][_$_ba50[962]]=function(e){return!(!this[_$_ba50[712]]()||!this[_$_ba50[718]]()||_$_ba50[963]!=typeof e)&&this[_$_ba50[601]][_$_ba50[639]][_$_ba50[964]](e)},e[_$_ba50[37]][_$_ba50[965]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[745]])||void 0===e?void 0:e[_$_ba50[721]])&&void 0!==t?t:w[_$_ba50[901]][_$_ba50[900]]},e[_$_ba50[37]][_$_ba50[667]]=function(){var e,t;return this[_$_ba50[621]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[745]])||void 0===e?void 0:e[_$_ba50[710]])&&void 0!==t?t:w[_$_ba50[791]][_$_ba50[900]]},e[_$_ba50[37]][_$_ba50[966]]=function(e){switch(e){case w[_$_ba50[969]][_$_ba50[968]]:return(0,Q[_$_ba50[626]])()[_$_ba50[967]];case w[_$_ba50[969]][_$_ba50[971]]:return(0,Q[_$_ba50[626]])()[_$_ba50[970]];case w[_$_ba50[969]][_$_ba50[973]]:return(0,Q[_$_ba50[626]])()[_$_ba50[972]];default:return this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[398]],new g[_$_ba50[240]](v[_$_ba50[241]][_$_ba50[974]],_$_ba50[976][_$_ba50[41]](e,_$_ba50[975]),{method:_$_ba50[966],parameter:_$_ba50[977],argument:_$_ba50[90][_$_ba50[41]](e)})),[]}},e[_$_ba50[37]][_$_ba50[978]]=function(){return this[_$_ba50[718]]()?this[_$_ba50[601]][_$_ba50[639]]:null},e[_$_ba50[37]][_$_ba50[686]]=function(){return this[_$_ba50[712]]()&&this[_$_ba50[674]]()?this[_$_ba50[601]][_$_ba50[714]][_$_ba50[677]]:(null==this[_$_ba50[666]]()[_$_ba50[979]]||f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[192]])||this[_$_ba50[289]][_$_ba50[38]](_$_ba50[980]),null)},e[_$_ba50[37]][_$_ba50[981]]=function(e){if(_$_ba50[982]==typeof e)try{e=JSON[_$_ba50[292]](e)}catch(e){this[_$_ba50[289]][_$_ba50[984]](_$_ba50[983])}return e&&_$_ba50[33]==typeof e?e:null},e[_$_ba50[37]][_$_ba50[985]]=function(e){var t;void 0===e&&(e=!1),this[_$_ba50[601]]&&this[_$_ba50[655]]&&((t=this[_$_ba50[601]][_$_ba50[749]]&&this[_$_ba50[601]][_$_ba50[749]][_$_ba50[229]](_$_ba50[986])?document[_$_ba50[988]](T[_$_ba50[334]][_$_ba50[360]]+_$_ba50[90]+this[_$_ba50[601]][_$_ba50[749]][_$_ba50[986]]+_$_ba50[987]):document[_$_ba50[988]](T[_$_ba50[334]][_$_ba50[360]]+_$_ba50[987]))&&t[_$_ba50[989]]&&t[_$_ba50[989]][_$_ba50[917]](t),e&&delete this[_$_ba50[655]][_$_ba50[710]])},e[_$_ba50[37]][_$_ba50[990]]=function(e){var t=!1,n=null;e&&(e[_$_ba50[229]](_$_ba50[991])&&e[_$_ba50[991]]&&e[_$_ba50[991]][_$_ba50[229]](_$_ba50[992])&&(t=e[_$_ba50[991]][_$_ba50[992]]),n=e[_$_ba50[656]]),this[_$_ba50[993]](n,t)},e[_$_ba50[37]][_$_ba50[994]]=function(e){if(e)return[_$_ba50[720],_$_ba50[722],_$_ba50[723],_$_ba50[724],_$_ba50[656],_$_ba50[995],_$_ba50[725],_$_ba50[726],_$_ba50[991],_$_ba50[996],_$_ba50[997],_$_ba50[624]][_$_ba50[140]](function(t){e[_$_ba50[229]](t)&&!e[t]&&delete e[t]}),e},e[_$_ba50[37]][_$_ba50[998]]=function(e){var t,n=e[_$_ba50[624]],i=(0,Q[_$_ba50[626]])(),r=Boolean(n),a=i[j[_$_ba50[999]][_$_ba50[625]]];if(r&&a){var o=i[j[_$_ba50[999]][_$_ba50[1e3]]];n[_$_ba50[1001]]=o,(null===(t=this[_$_ba50[752]])||void 0===t?void 0:t[_$_ba50[907]]())&&this[_$_ba50[1004]](w[_$_ba50[1003]][_$_ba50[1002]]),o&&(n[_$_ba50[1005]]=ae[_$_ba50[1007]][_$_ba50[1006]](),this[_$_ba50[655]][_$_ba50[1008]](n[_$_ba50[1005]][_$_ba50[741]]()))}},e[_$_ba50[37]][_$_ba50[1009]]=function(e,t,n){var i,a=r(this[_$_ba50[647]],e,t[_$_ba50[1010]]);return this[_$_ba50[601]][_$_ba50[806]]=e,this[_$_ba50[601]][_$_ba50[1011]]=t,(null===(i=this[_$_ba50[601]][_$_ba50[745]])||void 0===i?void 0:i[_$_ba50[710]])===a[_$_ba50[710]]?(this[_$_ba50[601]][_$_ba50[745]]=a,Promise[_$_ba50[586]]()):this[_$_ba50[1012]](e,a,n)},e[_$_ba50[37]][_$_ba50[1012]]=function(e,t,n){var i=this,r=function(){var t;i[_$_ba50[711]]()||(null===(t=i[_$_ba50[605]])||void 0===t||t[_$_ba50[96]](E[_$_ba50[370]][_$_ba50[397]],r),i[_$_ba50[990]](e))};return this[_$_ba50[898]](E[_$_ba50[370]][_$_ba50[397]],r),this[_$_ba50[601]][_$_ba50[639]]=null,this[_$_ba50[1014]](n)[_$_ba50[185]](function(){return i[_$_ba50[736]](e,t)})[_$_ba50[185]](function(){return i[_$_ba50[998]](e)})[_$_ba50[883]](function(e){return e&&e[_$_ba50[229]](_$_ba50[1013])&&e[_$_ba50[229]](_$_ba50[89])&&i[_$_ba50[605]]?i[_$_ba50[605]][_$_ba50[632]](e):e&&i[_$_ba50[289]][_$_ba50[73]](e),Promise[_$_ba50[889]](e)})},e[_$_ba50[37]][_$_ba50[1014]]=function(e){var t=this;return this[_$_ba50[601]]&&this[_$_ba50[601]][_$_ba50[602]]?this[_$_ba50[601]][_$_ba50[602]][_$_ba50[746]](e)[_$_ba50[185]](function(){t[_$_ba50[601]][_$_ba50[602]]=null,t[_$_ba50[985]]()})[_$_ba50[883]](function(e){return t[_$_ba50[289]][_$_ba50[73]](_$_ba50[1015][_$_ba50[41]](e))}):Promise[_$_ba50[586]]()},e[_$_ba50[37]][_$_ba50[1016]]=function(e,t,n){return t===C[_$_ba50[1017]]&&e[_$_ba50[1018]]()?e[_$_ba50[1019]]():e[_$_ba50[1020]]()?void 0:e[_$_ba50[1021]](n)},e[_$_ba50[37]][_$_ba50[1022]]=function(e,t,n){var i=this,a=r(this[_$_ba50[647]],e,t[_$_ba50[1010]]),o=this[_$_ba50[719]](e,a);return this[_$_ba50[601]][_$_ba50[602]]?this[_$_ba50[601]][_$_ba50[602]][_$_ba50[1025]](o,e[_$_ba50[656]],t[_$_ba50[1024]])[_$_ba50[185]](function(){e[_$_ba50[995]]&&i[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](y[_$_ba50[617]][_$_ba50[616]],function(t){return i[_$_ba50[1016]](t,n,e[_$_ba50[995]])})})[_$_ba50[883]](function(e){return e&&e[_$_ba50[1013]]&&e[_$_ba50[89]]&&i[_$_ba50[605]]?i[_$_ba50[605]][_$_ba50[632]](e):e&&i[_$_ba50[289]][_$_ba50[278]](_$_ba50[1023],e),Promise[_$_ba50[889]](e)}):Promise[_$_ba50[889]](_$_ba50[1026])},e[_$_ba50[37]][_$_ba50[1027]]=function(e){return!!this[_$_ba50[770]]&&(this[_$_ba50[770]][_$_ba50[889]](e),this[_$_ba50[770]]=null,!0)},e[_$_ba50[37]][_$_ba50[1028]]=function(e){this[_$_ba50[601]][_$_ba50[602]]&&e[_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1029]],new F[_$_ba50[1029]](this[_$_ba50[601]][_$_ba50[602]])),e[_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1031]],new R[_$_ba50[1031]](this[_$_ba50[601]][_$_ba50[91]])),e[_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1032]],new B[_$_ba50[1032]](this[_$_ba50[601]][_$_ba50[91]])),e[_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1033]],function(e){if(f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[217]]))return f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[217]])[_$_ba50[1180]](e)}(this[_$_ba50[601]][_$_ba50[91]])),e[_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[872]],new x[_$_ba50[872]](this[_$_ba50[601]][_$_ba50[91]]))},e[_$_ba50[37]][_$_ba50[1025]]=function(e,n,r,a){var o=this;void 0===r&&(r=!1),void 0===a&&(a=_$_ba50[600]);var _=a===C[_$_ba50[1017]];s(a)||(this[_$_ba50[707]]=!1,this[_$_ba50[687]]=l[_$_ba50[324]],this[_$_ba50[680]]=!1,this[_$_ba50[773]]());var u=this[_$_ba50[770]]=new ee[_$_ba50[1034]];return this[_$_ba50[597]]=this[_$_ba50[597]][_$_ba50[185]](function(){return o[_$_ba50[1036]](e,{forceTechnology:n,disableSeeking:r},a)})[_$_ba50[883]](function(e){return o[_$_ba50[1035]](u,e)}),this[_$_ba50[598]]=this[_$_ba50[598]][_$_ba50[185]](function(){return o[_$_ba50[597]]})[_$_ba50[185]](function(){return o[_$_ba50[1038]]()})[_$_ba50[185]](function(){return function(e,n){return e===n?Promise[_$_ba50[586]]():Promise[_$_ba50[889]](t[_$_ba50[577]])}(u,o[_$_ba50[770]])})[_$_ba50[185]](function(){return i(o[_$_ba50[601]],e,_)})[_$_ba50[185]](function(){return o[_$_ba50[1028]](o[_$_ba50[601]][_$_ba50[91]][_$_ba50[615]])})[_$_ba50[185]](function(){return o[_$_ba50[1037]](e,{forceTechnology:n,disableSeeking:r},a)})[_$_ba50[185]](u[_$_ba50[586]])[_$_ba50[883]](function(e){return o[_$_ba50[1035]](u,e)}),u[_$_ba50[1039]]},e[_$_ba50[37]][_$_ba50[1036]]=function(e,t,n){var i=this;return this[_$_ba50[599]](n)[_$_ba50[185]](function(){return i[_$_ba50[1040]](e),i[_$_ba50[1041]](e,t[_$_ba50[1010]]),i[_$_ba50[1042]](e),i[_$_ba50[990]](e),i[_$_ba50[1009]](i[_$_ba50[981]](e),t,n)})},e[_$_ba50[37]][_$_ba50[1042]]=function(e){e[_$_ba50[229]](_$_ba50[624])&&(0,Q[_$_ba50[626]])()[_$_ba50[625]]&&(0,Q[_$_ba50[626]])()[_$_ba50[1e3]]&&(e[_$_ba50[624]][_$_ba50[1005]]=ae[_$_ba50[1007]][_$_ba50[1006]](),e[_$_ba50[624]][_$_ba50[1001]]=!0),e[_$_ba50[229]](_$_ba50[624])&&e[_$_ba50[624]][_$_ba50[1005]]&&this[_$_ba50[655]][_$_ba50[1008]](e[_$_ba50[624]][_$_ba50[1005]][_$_ba50[741]]())},e[_$_ba50[37]][_$_ba50[1043]]=function(e){if(f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[206]])&&e[_$_ba50[995]]&&!this[_$_ba50[91]][_$_ba50[615]][_$_ba50[172]](y[_$_ba50[617]][_$_ba50[616]])){var t=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[206]])[_$_ba50[616]];this[_$_ba50[91]][_$_ba50[615]][_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[616]],new t(this[_$_ba50[91]]))}},e[_$_ba50[37]][_$_ba50[1044]]=function(){var e,t=this[_$_ba50[91]][_$_ba50[611]][_$_ba50[768]];this[_$_ba50[91]][_$_ba50[615]][_$_ba50[172]](y[_$_ba50[617]][_$_ba50[1045]],t)&&this[_$_ba50[783]]()&&null!==this[_$_ba50[601]][_$_ba50[745]]&&void 0!==this[_$_ba50[601]][_$_ba50[745]]&&this[_$_ba50[601]][_$_ba50[745]][_$_ba50[721]]!==w[_$_ba50[901]][_$_ba50[1046]]&&(null===(e=this[_$_ba50[91]][_$_ba50[615]][_$_ba50[177]](y[_$_ba50[617]][_$_ba50[1045]],t))||void 0===e||e[_$_ba50[1047]](),this[_$_ba50[91]][_$_ba50[615]][_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1045]],void 0,t))},e[_$_ba50[37]][_$_ba50[1048]]=function(e){var t=this[_$_ba50[91]][_$_ba50[615]][_$_ba50[177]](y[_$_ba50[617]][_$_ba50[616]]);return e&&e[_$_ba50[995]]&&t?t[_$_ba50[1049]](e[_$_ba50[995]]):Promise[_$_ba50[586]]()},e[_$_ba50[37]][_$_ba50[1037]]=function(e,t,n){var i=this,r=this[_$_ba50[91]][_$_ba50[611]][_$_ba50[768]];return this[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](y[_$_ba50[617]][_$_ba50[767]],function(e){return e[_$_ba50[153]]((0,W[_$_ba50[1050]])())},null,r),this[_$_ba50[1051]](n,r),this[_$_ba50[1052]](n,r),this[_$_ba50[1043]](e),this[_$_ba50[703]]&&this[_$_ba50[91]][_$_ba50[615]][_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1053]],this[_$_ba50[703]]),this[_$_ba50[1057]]()[_$_ba50[185]](function(){return i[_$_ba50[1048]](e)})[_$_ba50[185]](function(){return i[_$_ba50[1022]](e,t,n)})[_$_ba50[185]](function(){return i[_$_ba50[949]](),i[_$_ba50[1055]](e[_$_ba50[1054]]),function(e,t){t[_$_ba50[619]](y[_$_ba50[617]][_$_ba50[1033]],function(t){e&&e[_$_ba50[1181]]&&t[_$_ba50[1183]](e[_$_ba50[1181]][_$_ba50[1182]])})}(e,i[_$_ba50[601]][_$_ba50[91]][_$_ba50[615]]),i[_$_ba50[1056]](e,n)})[_$_ba50[185]](function(){i[_$_ba50[1044]](),i[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[491]])})},e[_$_ba50[37]][_$_ba50[1057]]=function(){return this[_$_ba50[601]][_$_ba50[602]]?this[_$_ba50[601]][_$_ba50[602]][_$_ba50[1058]]():Promise[_$_ba50[889]](_$_ba50[1026])},e[_$_ba50[37]][_$_ba50[1052]]=function(e,t){!s(e)&&this[_$_ba50[91]]&&(this[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](y[_$_ba50[617]][_$_ba50[767]],function(e){return e[_$_ba50[153]]((0,z[_$_ba50[1059]])())},null,t),this[_$_ba50[91]][_$_ba50[615]][_$_ba50[172]](y[_$_ba50[617]][_$_ba50[1045]],t)||(this[_$_ba50[91]][_$_ba50[615]][_$_ba50[1030]](y[_$_ba50[617]][_$_ba50[1045]],this[_$_ba50[1060]],t),this[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](y[_$_ba50[617]][_$_ba50[1045]],function(e){return e[_$_ba50[1047]]()},null,t)))},e[_$_ba50[37]][_$_ba50[1056]]=function(e,t){var n,i;return this[_$_ba50[1061]](),s(t)?(this[_$_ba50[601]][_$_ba50[91]][_$_ba50[615]][_$_ba50[177]](y[_$_ba50[617]][_$_ba50[872]])[_$_ba50[871]](!1,t),Promise[_$_ba50[586]]()):(this[_$_ba50[659]]&&this[_$_ba50[659]][_$_ba50[684]](),this[_$_ba50[777]]=e,this[_$_ba50[778]]=null!==(i=null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[866]]())&&void 0!==i?i:_$_ba50[90],this[_$_ba50[1062]]())},e[_$_ba50[37]][_$_ba50[1035]]=function(e,t){this[_$_ba50[96]](E[_$_ba50[370]][_$_ba50[397]],this[_$_ba50[654]]),e[_$_ba50[889]](t)},e[_$_ba50[37]][_$_ba50[773]]=function(){this[_$_ba50[674]]()&&(this[_$_ba50[676]]()[_$_ba50[684]](),this[_$_ba50[870]]=null)},e[_$_ba50[37]][_$_ba50[1040]]=function(e){this[_$_ba50[711]]()&&this[_$_ba50[1065]](b[_$_ba50[165]][_$_ba50[1063]],_$_ba50[1064]);var t=this[_$_ba50[994]](e);if(t&&0!==Object[_$_ba50[98]](t)[_$_ba50[26]]||this[_$_ba50[1065]](b[_$_ba50[165]][_$_ba50[893]],_$_ba50[1066],{source:e}),!this[_$_ba50[629]])throw this[_$_ba50[630]]},e[_$_ba50[37]][_$_ba50[1041]]=function(e,t){var n=(0,Q[_$_ba50[626]])()[_$_ba50[967]];n[_$_ba50[26]]<1&&this[_$_ba50[1065]](b[_$_ba50[165]][_$_ba50[1067]],_$_ba50[1068]);var i=r(this[_$_ba50[647]],e,t);!i&&e[_$_ba50[229]](_$_ba50[624])&&this[_$_ba50[1065]](b[_$_ba50[165]][_$_ba50[1069]],_$_ba50[1070]),i||this[_$_ba50[1065]](b[_$_ba50[165]][_$_ba50[1067]],_$_ba50[1071][_$_ba50[41]](JSON[_$_ba50[291]](n),_$_ba50[81]))},e[_$_ba50[37]][_$_ba50[1065]]=function(e,t,n){var i=new m[_$_ba50[167]](e,n,t);throw this[_$_ba50[605]]&&this[_$_ba50[605]][_$_ba50[632]](i),i},e[_$_ba50[37]][_$_ba50[1055]]=function(e){var t=this;!this[_$_ba50[1072]]&&f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[211]])&&(this[_$_ba50[1072]]=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[211]])[_$_ba50[1074]][_$_ba50[1073]](this),this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[518]],{name:h[_$_ba50[187]][_$_ba50[211]]})),e&&Array[_$_ba50[267]](e)&&e[_$_ba50[140]](function(e){return t[_$_ba50[954]](e)})},e[_$_ba50[37]][_$_ba50[1061]]=function(){var e,t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[1061]]();t&&(this[_$_ba50[607]]=t)},e[_$_ba50[37]][_$_ba50[950]]=function(){if(this[_$_ba50[601]][_$_ba50[806]]&&this[_$_ba50[601]][_$_ba50[806]][_$_ba50[229]](_$_ba50[624])&&this[_$_ba50[712]]())if(_$_ba50[34]==typeof window[_$_ba50[1075]]){var e=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[188]])[_$_ba50[1076]];this[_$_ba50[601]][_$_ba50[639]]=new e(this[_$_ba50[601]][_$_ba50[91]],this[_$_ba50[690]],this[_$_ba50[601]][_$_ba50[806]][_$_ba50[624]],ae[_$_ba50[1007]][_$_ba50[1006]](),this[_$_ba50[289]],navigator,this[_$_ba50[601]][_$_ba50[786]]),this[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[518]],{name:h[_$_ba50[187]][_$_ba50[188]]})}else this[_$_ba50[289]][_$_ba50[38]](_$_ba50[1077],_$_ba50[1078])},e[_$_ba50[37]][_$_ba50[666]]=function(e){return void 0===e&&(e=!1),this[_$_ba50[647]]?e?this[_$_ba50[647]][_$_ba50[177]]():this[_$_ba50[647]][_$_ba50[1079]]():{}},e[_$_ba50[37]][_$_ba50[1080]]=function(e,t){var n;if(this[_$_ba50[621]]())return null===(n=this[_$_ba50[601]][_$_ba50[602]])||void 0===n?void 0:n[_$_ba50[1080]](e,t)},e[_$_ba50[37]][_$_ba50[891]]=function(e){var t;e=Number(e),!isNaN(e)&&e>0&&(this[_$_ba50[601]][_$_ba50[890]]=e,this[_$_ba50[713]]()&&(null===(t=this[_$_ba50[601]][_$_ba50[602]])||void 0===t||t[_$_ba50[891]](e)))},e[_$_ba50[37]][_$_ba50[1081]]=function(){var e,t;return this[_$_ba50[713]]()&&null!==(t=null===(e=this[_$_ba50[601]][_$_ba50[602]])||void 0===e?void 0:e[_$_ba50[1081]]())&&void 0!==t?t:1},e[_$_ba50[37]][_$_ba50[184]]=function(){var e,t=this;return this[_$_ba50[708]]()?Promise[_$_ba50[586]]():(null===(e=this[_$_ba50[91]])||void 0===e||e[_$_ba50[709]][_$_ba50[153]]((0,V[_$_ba50[1084]])(Y[_$_ba50[1083]][_$_ba50[1082]])),f[_$_ba50[160]][_$_ba50[183]](this[_$_ba50[691]])[_$_ba50[185]](function(){return t[_$_ba50[1090]]()})[_$_ba50[185]](function(){var e,n;null===(e=t[_$_ba50[91]])||void 0===e||e[_$_ba50[709]][_$_ba50[153]]((0,V[_$_ba50[1084]])(Y[_$_ba50[1083]][_$_ba50[1087]])),null===(n=t[_$_ba50[605]])||void 0===n||n[_$_ba50[1088]](),t[_$_ba50[1089]]()})[_$_ba50[185]](function(){return t[_$_ba50[598]]})[_$_ba50[185]](function(){return t[_$_ba50[1086]]()})[_$_ba50[185]](function(){t[_$_ba50[91]]&&(t[_$_ba50[1085]](),t[_$_ba50[91]][_$_ba50[329]](),t[_$_ba50[91]]=null)}))},e[_$_ba50[37]][_$_ba50[1085]]=function(){this[_$_ba50[757]]&&this[_$_ba50[757]](),this[_$_ba50[758]]&&this[_$_ba50[758]](),this[_$_ba50[757]]=null,this[_$_ba50[758]]=null},e[_$_ba50[37]][_$_ba50[1090]]=function(){var e=this;return new Promise(function(t){var n=function(){clearTimeout(i),e[_$_ba50[96]](E[_$_ba50[370]][_$_ba50[511]],n),t()},i=setTimeout(n,250);e[_$_ba50[75]](E[_$_ba50[370]][_$_ba50[511]],n),e[_$_ba50[628]](E[_$_ba50[370]][_$_ba50[511]],{},!1,!1)})},e[_$_ba50[37]][_$_ba50[1089]]=function(){this[_$_ba50[1027]](),this[_$_ba50[1004]](w[_$_ba50[1003]][_$_ba50[1002]]),clearTimeout(this[_$_ba50[697]])},e[_$_ba50[37]][_$_ba50[1086]]=function(){var e=this;if(!this[_$_ba50[601]])return Promise[_$_ba50[586]]();var t=Promise[_$_ba50[586]]();return this[_$_ba50[985]](!0),ae[_$_ba50[1007]][_$_ba50[1091]](),this[_$_ba50[601]][_$_ba50[714]]=(0,S[_$_ba50[329]])(this[_$_ba50[601]][_$_ba50[714]]),this[_$_ba50[601]][_$_ba50[639]]=null,this[_$_ba50[752]]&&(this[_$_ba50[752]]=(0,S[_$_ba50[329]])(this[_$_ba50[752]])),this[_$_ba50[732]]=(0,S[_$_ba50[329]])(this[_$_ba50[732]]),this[_$_ba50[733]]=(0,S[_$_ba50[329]])(this[_$_ba50[733]]),this[_$_ba50[734]]=(0,S[_$_ba50[329]])(this[_$_ba50[734]]),this[_$_ba50[1060]]=(0,S[_$_ba50[329]])(this[_$_ba50[1060]]),this[_$_ba50[601]][_$_ba50[602]]?t=this[_$_ba50[601]][_$_ba50[602]][_$_ba50[746]]()[_$_ba50[185]](function(){return e[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](y[_$_ba50[617]][_$_ba50[616]],function(e){return e[_$_ba50[746]]()})})[_$_ba50[779]](function(){e[_$_ba50[1092]](),e[_$_ba50[601]][_$_ba50[602]]=null}):this[_$_ba50[1092]](),this[_$_ba50[601]][_$_ba50[91]]&&o(this[_$_ba50[601]][_$_ba50[91]]),this[_$_ba50[703]]=(0,S[_$_ba50[329]])(this[_$_ba50[703]]),this[_$_ba50[609]]=(0,S[_$_ba50[329]])(this[_$_ba50[609]]),this[_$_ba50[605]]=(0,S[_$_ba50[329]])(this[_$_ba50[605]]),this[_$_ba50[694]]=null,t},e[_$_ba50[37]][_$_ba50[1092]]=function(){if(this[_$_ba50[601]][_$_ba50[635]]){var e=this[_$_ba50[601]][_$_ba50[635]][_$_ba50[741]]();this[_$_ba50[601]][_$_ba50[635]]=(0,S[_$_ba50[329]])(this[_$_ba50[601]][_$_ba50[635]]),e!==this[_$_ba50[706]]&&this[_$_ba50[655]][_$_ba50[917]](e)}},e[_$_ba50[37]][_$_ba50[631]]=function(e){if(!e)return new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[1093]],{"error-message":_$_ba50[1094]});if(e[_$_ba50[89]]&&e[_$_ba50[89]][_$_ba50[792]](_$_ba50[1095]))return new m[_$_ba50[167]](b[_$_ba50[165]][_$_ba50[1096]],{"error-message":e[_$_ba50[89]]});if(e[_$_ba50[229]](_$_ba50[1097])){for(var t=_$_ba50[90],n=0;n0&&(this[_$_ba50[659]]=new I[_$_ba50[1144]](this[_$_ba50[289]],this[_$_ba50[592]][0])),this[_$_ba50[898]](E[_$_ba50[370]][_$_ba50[397]],this[_$_ba50[654]]),this[_$_ba50[898]](E[_$_ba50[370]][_$_ba50[398]],function(t){return e[_$_ba50[289]][_$_ba50[38]](t[_$_ba50[89]])}),this[_$_ba50[898]](E[_$_ba50[370]][_$_ba50[375]],this[_$_ba50[658]]),this[_$_ba50[898]](E[_$_ba50[370]][_$_ba50[491]],this[_$_ba50[633]]),this[_$_ba50[75]](E[_$_ba50[370]][_$_ba50[493]],this[_$_ba50[643]]),this[_$_ba50[75]](E[_$_ba50[370]][_$_ba50[375]],this[_$_ba50[685]]),this[_$_ba50[820]]=O[_$_ba50[1145]][_$_ba50[52]](this),f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[222]])&&(this[_$_ba50[1146]]=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[222]])[_$_ba50[1147]][_$_ba50[52]](this)),f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[202]])&&(this[_$_ba50[732]]=new(f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[202]])[_$_ba50[1148]]),this[_$_ba50[733]]=new(f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[202]])[_$_ba50[1149]]),this[_$_ba50[734]]=new(f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[202]])[_$_ba50[1150]]),this[_$_ba50[1060]]=new(f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[202]])[_$_ba50[1045]])),this[_$_ba50[608]]()},e[_$_ba50[37]][_$_ba50[608]]=function(){this[_$_ba50[1151]]=new Map,this[_$_ba50[1151]][_$_ba50[1030]](d[_$_ba50[580]],0),this[_$_ba50[1151]][_$_ba50[1030]](d[_$_ba50[582]],0)},e[_$_ba50[37]][_$_ba50[775]]=function(e,t){this[_$_ba50[1151]][_$_ba50[172]](e)&&this[_$_ba50[1151]][_$_ba50[1030]](e,this[_$_ba50[1151]][_$_ba50[177]](e)+t)},e[_$_ba50[37]][_$_ba50[867]]=function(e,t,n){return this[_$_ba50[1151]][_$_ba50[177]](e)+(t?n:0)},e[_$_ba50[37]][_$_ba50[678]]=function(e){var t=e[_$_ba50[772]](),n=e[_$_ba50[1153]]()[_$_ba50[146]](function(e){return e[_$_ba50[1152]]===t[_$_ba50[1152]]});[t][_$_ba50[41]](n)[_$_ba50[140]](function(t){return e[_$_ba50[1154]](t[_$_ba50[690]])})},e[_$_ba50[37]][_$_ba50[1155]]=function(e){},e[_$_ba50[37]][_$_ba50[1156]]=function(){},e[_$_ba50[37]][_$_ba50[1157]]=function(){},e[_$_ba50[37]][_$_ba50[1158]]=function(){return this[_$_ba50[91]]?(0,q[_$_ba50[759]])(this[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]())[_$_ba50[1159]]:w[_$_ba50[1003]][_$_ba50[1002]]},e[_$_ba50[37]][_$_ba50[1160]]=function(e){var t;return this[_$_ba50[621]]()?Boolean(null===(t=this[_$_ba50[752]])||void 0===t?void 0:t[_$_ba50[1160]](e)):[w[_$_ba50[1003]][_$_ba50[1161]],w[_$_ba50[1003]][_$_ba50[1002]]][_$_ba50[792]](e)},e[_$_ba50[37]][_$_ba50[1004]]=function(e,t){void 0===t&&(t={}),this[_$_ba50[752]]&&this[_$_ba50[752]][_$_ba50[1004]](e,t)},e[_$_ba50[37]][_$_ba50[1162]]=function(e){this[_$_ba50[605]]&&this[_$_ba50[605]][_$_ba50[1162]](e)},e[_$_ba50[37]][_$_ba50[1163]]=function(e){this[_$_ba50[605]]&&this[_$_ba50[605]][_$_ba50[1163]](e)},e[_$_ba50[37]][_$_ba50[623]]=function(){return this[_$_ba50[777]]},e[_$_ba50[37]][_$_ba50[1164]]=function(){var e;return this[_$_ba50[621]]()&&(null===(e=this[_$_ba50[601]])||void 0===e?void 0:e[_$_ba50[1011]])||null},e[_$_ba50[37]][_$_ba50[879]]=function(){return this[_$_ba50[687]]!==l[_$_ba50[324]]},e[_$_ba50[37]][_$_ba50[688]]=function(e){var t=this[_$_ba50[797]]()?l[_$_ba50[578]]:l[_$_ba50[579]];return t>e?t:e},e[_$_ba50[37]][_$_ba50[1051]]=function(e,t){if(this[_$_ba50[91]]&&f[_$_ba50[160]][_$_ba50[172]](h[_$_ba50[187]][_$_ba50[203]])){var n=f[_$_ba50[160]][_$_ba50[177]](h[_$_ba50[187]][_$_ba50[203]])[_$_ba50[1165]],i=s(e)?0:n[_$_ba50[1166]](this[_$_ba50[91]]),r=this[_$_ba50[91]][_$_ba50[615]][_$_ba50[177]](y[_$_ba50[617]][_$_ba50[767]],t);for(var a in te[_$_ba50[1167]])r[_$_ba50[153]]((0,G[_$_ba50[1168]])(a,i))}},u([(0,k[_$_ba50[1170]])(_$_ba50[1169])],e[_$_ba50[37]],_$_ba50[1025],null),u([(0,k[_$_ba50[1170]])(_$_ba50[1171])],e[_$_ba50[37]],_$_ba50[184],null),e}();t[_$_ba50[576]]=_e}function _0xAAB3(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1193]]=t[_$_ba50[1194]]=t[_$_ba50[1192]]=t[_$_ba50[1017]]=t[_$_ba50[1143]]=void 0,t[_$_ba50[1143]]=_$_ba50[951],t[_$_ba50[1017]]=_$_ba50[1195],t[_$_ba50[1192]]=_$_ba50[1196],t[_$_ba50[1194]]=_$_ba50[1197],t[_$_ba50[1193]]=_$_ba50[1198]}function _0xAAE8(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1199]]=void 0,t[_$_ba50[1199]]={DEBUG:_$_ba50[278],LOG:_$_ba50[984],WARN:_$_ba50[38],ERROR:_$_ba50[73],OFF:_$_ba50[96]}}function _0xAB1D(e,t,n){function i(e){switch(e){case a[_$_ba50[1202]]:case a[_$_ba50[1203]]:return s[_$_ba50[1200]][_$_ba50[1203]];case a[_$_ba50[1204]]:return s[_$_ba50[1200]][_$_ba50[1204]];case a[_$_ba50[1205]]:return s[_$_ba50[1200]][_$_ba50[1205]];case a[_$_ba50[1206]]:return s[_$_ba50[1200]][_$_ba50[1206]];default:return null}}_$_ba50[32];var r=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r0&&this[_$_ba50[738]]<=e&&(_$_ba50[982]==typeof this[_$_ba50[786]][_$_ba50[1212]]&&this[_$_ba50[786]][_$_ba50[1212]][_$_ba50[26]]>0?(o=console[u])[_$_ba50[36]][_$_ba50[35]](o,r([console,this[_$_ba50[786]][_$_ba50[1212]],t],c,!1)):(s=console[u])[_$_ba50[36]][_$_ba50[35]](s,r([console,t],c,!1))),this[_$_ba50[1207]]&&e!==a[_$_ba50[1202]])try{(_=this[_$_ba50[1207]])[_$_ba50[36]][_$_ba50[35]](_,r([null,u,t],c,!1))}catch(e){}},e[_$_ba50[37]][_$_ba50[1141]]=function(e){for(var t=[],n=1;n-1||navigator[_$_ba50[1214]][_$_ba50[29]](_$_ba50[1215])>-1?console[_$_ba50[984]](e):console[_$_ba50[984]](_$_ba50[1216]+e,_$_ba50[1217]+t+_$_ba50[1218]+n+_$_ba50[1219])},e}();t[_$_ba50[693]]=_}function _0xAB52(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1220]]=void 0,function(e){e[_$_ba50[1221]]=_$_ba50[1221],e[_$_ba50[1222]]=_$_ba50[1223]}(t[_$_ba50[1220]]||(t[_$_ba50[1220]]={}))}function _0xAB87(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1224]]=t[_$_ba50[1225]]=void 0,t[_$_ba50[1225]]={Avc:[_$_ba50[1226],_$_ba50[1227],_$_ba50[1228]],Hvc:[_$_ba50[1229],_$_ba50[1230]]},function(e){e[e[_$_ba50[1231]]=6]=_$_ba50[1231]}(t[_$_ba50[1224]]||(t[_$_ba50[1224]]={}))}function _0xABBC(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1232]]=t[_$_ba50[1233]]=void 0;var i=n(36166);!function(e){e[e[_$_ba50[1234]]=2]=_$_ba50[1234],e[e[_$_ba50[1235]]=3]=_$_ba50[1235],e[e[_$_ba50[1236]]=4]=_$_ba50[1236]}(t[_$_ba50[1233]]||(t[_$_ba50[1233]]={})),function(e){e[e[_$_ba50[1235]]=i[_$_ba50[165]][_$_ba50[1237]]]=_$_ba50[1235],e[e[_$_ba50[1234]]=i[_$_ba50[165]][_$_ba50[1238]]]=_$_ba50[1234],e[e[_$_ba50[1236]]=i[_$_ba50[165]][_$_ba50[1239]]]=_$_ba50[1236]}(t[_$_ba50[1232]]||(t[_$_ba50[1232]]={}))}function _0xABF1(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1031]]=void 0;var i=n(59574),r=n(80815),a=n(29079),o=function(){function e(e){this[_$_ba50[1240]]=1.3,this[_$_ba50[605]]=e[_$_ba50[605]],this[_$_ba50[605]][_$_ba50[75]](i[_$_ba50[370]][_$_ba50[493]],this[_$_ba50[44]]),this[_$_ba50[44]]()}return e[_$_ba50[37]][_$_ba50[44]]=function(){this[_$_ba50[1241]]={},this[_$_ba50[1242]]=1/0},e[_$_ba50[37]][_$_ba50[793]]=function(e,t){this[_$_ba50[1243]]();var n=this[_$_ba50[1244]](e,t);return!this[_$_ba50[1241]][n]&&(this[_$_ba50[1241]][n]=Date[_$_ba50[817]](),t[_$_ba50[1245]]!==i[_$_ba50[369]][_$_ba50[547]]&&this[_$_ba50[605]][_$_ba50[717]](i[_$_ba50[370]][_$_ba50[440]],t),!0)},e[_$_ba50[37]][_$_ba50[1243]]=function(){for(var e=0,t=Object[_$_ba50[98]](this[_$_ba50[1241]]);ee},e[_$_ba50[37]][_$_ba50[1244]]=function(e,t){var n=JSON[_$_ba50[291]](t);return String(a[_$_ba50[1007]][_$_ba50[1248]](e+n))},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1249],{get:function(){return this[_$_ba50[1242]]},set:function(e){this[_$_ba50[1242]]=Math[_$_ba50[1250]](e)},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[1241]]=null,this[_$_ba50[605]][_$_ba50[96]](i[_$_ba50[370]][_$_ba50[493]],this[_$_ba50[44]])},e}();t[_$_ba50[1031]]=o}function _0xAC26(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1251]]=t[_$_ba50[1252]]=t[_$_ba50[1253]]=void 0,function(e){e[_$_ba50[1254]]=_$_ba50[1255],e[_$_ba50[1256]]=_$_ba50[1257],e[_$_ba50[1258]]=_$_ba50[1259],e[_$_ba50[1260]]=_$_ba50[1261],e[_$_ba50[1262]]=_$_ba50[1263],e[_$_ba50[1264]]=_$_ba50[1265],e[_$_ba50[1266]]=_$_ba50[1267],e[_$_ba50[1268]]=_$_ba50[1269],e[_$_ba50[1270]]=_$_ba50[1271],e[_$_ba50[1272]]=_$_ba50[1273],e[_$_ba50[1274]]=_$_ba50[1275],e[_$_ba50[1276]]=_$_ba50[1277],e[_$_ba50[1278]]=_$_ba50[1279],e[_$_ba50[1280]]=_$_ba50[1281],e[_$_ba50[1282]]=_$_ba50[1283],e[_$_ba50[1284]]=_$_ba50[1285],e[_$_ba50[1286]]=_$_ba50[1287],e[_$_ba50[1288]]=_$_ba50[1289],e[_$_ba50[1290]]=_$_ba50[1291],e[_$_ba50[1292]]=_$_ba50[1197]}(t[_$_ba50[1253]]||(t[_$_ba50[1253]]={})),function(e){e[_$_ba50[1293]]=_$_ba50[1294],e[_$_ba50[1295]]=_$_ba50[1296],e[_$_ba50[1297]]=_$_ba50[4],e[_$_ba50[1298]]=_$_ba50[1299],e[_$_ba50[1300]]=_$_ba50[1301]}(t[_$_ba50[1252]]||(t[_$_ba50[1252]]={})),function(e){e[_$_ba50[1302]]=_$_ba50[1302],e[_$_ba50[1303]]=_$_ba50[1303],e[_$_ba50[1304]]=_$_ba50[1304]}(t[_$_ba50[1251]]||(t[_$_ba50[1251]]={}))}function _0xAC5B(e,t){function n(e){u&&u[_$_ba50[278]](_$_ba50[1316][_$_ba50[41]](e[_$_ba50[62]],_$_ba50[1315])[_$_ba50[41]](Math[_$_ba50[1313]](e[_$_ba50[1311]]),_$_ba50[1314]),e)}function i(){var e,t;return(null===(e=performance[_$_ba50[817]])||void 0===e?void 0:e[_$_ba50[36]](performance))||(null===(t=performance[_$_ba50[1317]])||void 0===t?void 0:t[_$_ba50[36]](performance))||Date[_$_ba50[817]]()}function r(e,t){void 0===t&&(t=[]);var n=e[_$_ba50[127]],i=e[_$_ba50[1318]];return i&&t[_$_ba50[57]](i),n?r(n,t):{callStack:t,parent:e}}function a(e,t){var n={method:t,isAsync:!1,next:null,subtractions:[]};return e[_$_ba50[127]]=n,n}function o(e,t){e[_$_ba50[1319]]=t}function s(e){e[_$_ba50[1319]]&&e[_$_ba50[127]][_$_ba50[1319]]||(e[_$_ba50[127]]=null)}function _(e,t){u&&n({name:e,start:l[e],duration:t-l[e]})}var u;_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1305]]=t[_$_ba50[1306]]=t[_$_ba50[1170]]=t[_$_ba50[938]]=void 0;var c={};t[_$_ba50[938]]=function(e){u=e},t[_$_ba50[1170]]=function(e,t){return void 0===t&&(t=!1),function(_,u,l){var d=l[_$_ba50[830]];return l[_$_ba50[830]]=function(){function _(){var r=i()-p;if(n({name:e,start:h,duration:r,callStack:l}),t&&(f[_$_ba50[1309]]=f[_$_ba50[1309]]||[],f[_$_ba50[1309]][_$_ba50[57]]({name:e,duration:r})),b[_$_ba50[1309]]&&b[_$_ba50[1309]][_$_ba50[26]]){var a=b[_$_ba50[1309]][_$_ba50[152]](function(e){return e[_$_ba50[62]]})[_$_ba50[105]](_$_ba50[1310]),o=b[_$_ba50[1309]][_$_ba50[149]](function(e,t){return e+t[_$_ba50[1311]]},0);n({name:_$_ba50[90][_$_ba50[41]](e,_$_ba50[1312])[_$_ba50[41]](a),duration:r-o,start:Date[_$_ba50[817]]()})}s(f)}var u=r(c),l=u[_$_ba50[1307]],f=u[_$_ba50[1308]],h=Date[_$_ba50[817]](),p=i(),b=a(f,e),m=_,g=d[_$_ba50[35]](this,arguments);return g instanceof Promise?(o(f[_$_ba50[127]],!0),g[_$_ba50[185]](m,m),g):(m(),g)},l}};var l={};t[_$_ba50[1306]]=function(e){var t=i();l[e]&&_(e,t),l[e]=t},t[_$_ba50[1305]]=function(e){_(e,i()),delete l[e]}}function _0xAC90(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object[_$_ba50[82]](t,n,o),o};Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[333]]=void 0;var o,s=n(43068),_=n(36166),u=n(85739),c=n(34742),l=n(64148),d=n(25668),f=n(23621),h=n(52228),p=n(8833),b=n(29079),m=function(){function e(e,t){this[_$_ba50[44]](e,t)}return e[_$_ba50[37]][_$_ba50[44]]=function(e,t){if(!(/*e instanceof HTMLElement*/true))throw new u[_$_ba50[167]](_[_$_ba50[165]][_$_ba50[1346]],void 0,_$_ba50[1347]);i();var n=new f[_$_ba50[576]](e,b[_$_ba50[1007]][_$_ba50[1348]](),this);o[_$_ba50[1030]](this,n),n[_$_ba50[181]](t)},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1349],{get:function(){return c[_$_ba50[334]][_$_ba50[358]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[624],{get:function(){return r(this,_$_ba50[624])[_$_ba50[978]]()},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1122],{get:function(){return r(this,_$_ba50[1122])[_$_ba50[820]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1350],{get:function(){return r(this,_$_ba50[1350])[_$_ba50[1146]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[956],{get:function(){return r(this,_$_ba50[956])[_$_ba50[1072]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[778],{get:function(){return r(this,_$_ba50[778])[_$_ba50[607]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[995],{get:function(){return r(this,_$_ba50[995])[_$_ba50[704]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1351],{get:function(){return r(this,_$_ba50[1351])?o[_$_ba50[177]](this)[_$_ba50[686]]():null},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[13],{get:function(){return l},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[75]]=function(e,t){r(this,_$_ba50[75])[_$_ba50[75]](e,t)},e[_$_ba50[37]][_$_ba50[793]]=function(e,t){return r(this,_$_ba50[793])[_$_ba50[793]](e,t)},e[_$_ba50[37]][_$_ba50[895]]=function(){r(this,_$_ba50[1352])[_$_ba50[895]]()},e[_$_ba50[37]][_$_ba50[782]]=function(){r(this,_$_ba50[782])[_$_ba50[782]]()},e[_$_ba50[37]][_$_ba50[824]]=function(){r(this,_$_ba50[824])[_$_ba50[824]]()},e[_$_ba50[37]][_$_ba50[184]]=function(){var e=r(this,_$_ba50[184])[_$_ba50[184]]();return o[_$_ba50[769]](this),e},e[_$_ba50[37]][_$_ba50[862]]=function(){return r(this,_$_ba50[862])[_$_ba50[862]]()},e[_$_ba50[37]][_$_ba50[863]]=function(){return r(this,_$_ba50[863])[_$_ba50[863]]()},e[_$_ba50[37]][_$_ba50[847]]=function(){return r(this,_$_ba50[847])[_$_ba50[847]]()},e[_$_ba50[37]][_$_ba50[865]]=function(){return r(this,_$_ba50[865])[_$_ba50[865]]()},e[_$_ba50[37]][_$_ba50[653]]=function(){return r(this,_$_ba50[653])[_$_ba50[653]]()},e[_$_ba50[37]][_$_ba50[854]]=function(){return r(this,_$_ba50[854])[_$_ba50[854]]()},e[_$_ba50[37]][_$_ba50[864]]=function(){return r(this,_$_ba50[864])[_$_ba50[864]]()},e[_$_ba50[37]][_$_ba50[853]]=function(){return r(this,_$_ba50[853])[_$_ba50[853]]()},e[_$_ba50[37]][_$_ba50[666]]=function(e){return r(this,_$_ba50[666])[_$_ba50[666]](e)},e[_$_ba50[37]][_$_ba50[961]]=function(){return r(this,_$_ba50[961])[_$_ba50[961]]()},e[_$_ba50[37]][_$_ba50[837]]=function(e){return void 0===e&&(e=p[_$_ba50[839]][_$_ba50[838]]),r(this,_$_ba50[837])[_$_ba50[837]](_$_ba50[600],e)},e[_$_ba50[37]][_$_ba50[859]]=function(){return r(this,_$_ba50[859])[_$_ba50[859]]()},e[_$_ba50[37]][_$_ba50[858]]=function(){return r(this,_$_ba50[858])[_$_ba50[858]]()},e[_$_ba50[37]][_$_ba50[774]]=function(){return r(this,_$_ba50[774])[_$_ba50[774]]()},e[_$_ba50[37]][_$_ba50[272]]=function(){return r(this,_$_ba50[272])[_$_ba50[272]]()},e[_$_ba50[37]][_$_ba50[866]]=function(){return r(this,_$_ba50[866])[_$_ba50[866]]()},e[_$_ba50[37]][_$_ba50[849]]=function(){return r(this,_$_ba50[849])[_$_ba50[849]]()},e[_$_ba50[37]][_$_ba50[861]]=function(){return r(this,_$_ba50[861])[_$_ba50[861]]()},e[_$_ba50[37]][_$_ba50[1081]]=function(){return r(this,_$_ba50[1081])[_$_ba50[1081]]()},e[_$_ba50[37]][_$_ba50[860]]=function(){return r(this,_$_ba50[860])[_$_ba50[860]]()},e[_$_ba50[37]][_$_ba50[667]]=function(){return r(this,_$_ba50[667])[_$_ba50[667]]()},e[_$_ba50[37]][_$_ba50[1080]]=function(e,t){return r(this,_$_ba50[1080])[_$_ba50[1080]](e,t)},e[_$_ba50[37]][_$_ba50[965]]=function(){return r(this,_$_ba50[965])[_$_ba50[965]]()},e[_$_ba50[37]][_$_ba50[1113]]=function(){return r(this,_$_ba50[1113])[_$_ba50[1113]]()},e[_$_ba50[37]][_$_ba50[966]]=function(e){return void 0===e&&(e=p[_$_ba50[969]][_$_ba50[968]]),r(this,_$_ba50[966])[_$_ba50[966]](e)},e[_$_ba50[37]][_$_ba50[1118]]=function(e){return r(this,_$_ba50[1118])[_$_ba50[1118]](e)},e[_$_ba50[37]][_$_ba50[850]]=function(){return r(this,_$_ba50[850])[_$_ba50[850]]()},e[_$_ba50[37]][_$_ba50[776]]=function(){return r(this,_$_ba50[776])[_$_ba50[776]]()},e[_$_ba50[37]][_$_ba50[848]]=function(){return r(this,_$_ba50[848])[_$_ba50[848]]()},e[_$_ba50[37]][_$_ba50[868]]=function(){return r(this,_$_ba50[868])[_$_ba50[868]]()},e[_$_ba50[37]][_$_ba50[811]]=function(){return r(this,_$_ba50[811])[_$_ba50[811]]()},e[_$_ba50[37]][_$_ba50[852]]=function(){return r(this,_$_ba50[852])[_$_ba50[852]]()},e[_$_ba50[37]][_$_ba50[781]]=function(){return r(this,_$_ba50[781])[_$_ba50[781]]()},e[_$_ba50[37]][_$_ba50[780]]=function(){return r(this,_$_ba50[780])[_$_ba50[780]]()},e[_$_ba50[37]][_$_ba50[1110]]=function(e){return r(this,_$_ba50[1110])[_$_ba50[1110]](e)},e[_$_ba50[37]][_$_ba50[783]]=function(){return r(this,_$_ba50[783])[_$_ba50[783]]()},e[_$_ba50[37]][_$_ba50[797]]=function(){return r(this,_$_ba50[797])[_$_ba50[797]]()},e[_$_ba50[37]][_$_ba50[1105]]=function(){return r(this,_$_ba50[1105])[_$_ba50[1105]]()},e[_$_ba50[37]][_$_ba50[1103]]=function(){return r(this,_$_ba50[1103])[_$_ba50[1103]]()},e[_$_ba50[37]][_$_ba50[851]]=function(){return r(this,_$_ba50[851])[_$_ba50[851]]()},e[_$_ba50[37]][_$_ba50[1025]]=function(e,t,n){return r(this,_$_ba50[1025])[_$_ba50[1025]](e,t,n)},e[_$_ba50[37]][_$_ba50[808]]=function(e){r(this,_$_ba50[808])[_$_ba50[808]](e)},e[_$_ba50[37]][_$_ba50[888]]=function(e){r(this,_$_ba50[888])[_$_ba50[888]](e)},e[_$_ba50[37]][_$_ba50[374]]=function(e){return r(this,_$_ba50[374])[_$_ba50[374]](e)},e[_$_ba50[37]][_$_ba50[96]]=function(e,t){r(this,_$_ba50[96])[_$_ba50[96]](e,t)},e[_$_ba50[37]][_$_ba50[784]]=function(){return r(this,_$_ba50[784])[_$_ba50[784]]()},e[_$_ba50[37]][_$_ba50[380]]=function(e,t){return r(this,_$_ba50[380])[_$_ba50[380]](e,t)},e[_$_ba50[37]][_$_ba50[798]]=function(e){return r(this,_$_ba50[798])[_$_ba50[798]](e)},e[_$_ba50[37]][_$_ba50[620]]=function(e){r(this,_$_ba50[620])[_$_ba50[620]](e)},e[_$_ba50[37]][_$_ba50[766]]=function(e){r(this,_$_ba50[766])[_$_ba50[766]](e)},e[_$_ba50[37]][_$_ba50[1115]]=function(e){r(this,_$_ba50[1353])[_$_ba50[1115]](e)},e[_$_ba50[37]][_$_ba50[891]]=function(e){r(this,_$_ba50[891])[_$_ba50[891]](e)},e[_$_ba50[37]][_$_ba50[993]]=function(e,t){r(this,_$_ba50[993])[_$_ba50[993]](e,t)},e[_$_ba50[37]][_$_ba50[823]]=function(e){r(this,_$_ba50[823])[_$_ba50[823]](e)},e[_$_ba50[37]][_$_ba50[1108]]=function(e){r(this,_$_ba50[1108])[_$_ba50[1108]](e)},e[_$_ba50[37]][_$_ba50[764]]=function(e){r(this,_$_ba50[764])[_$_ba50[764]](e)},e[_$_ba50[37]][_$_ba50[813]]=function(e,t){r(this,_$_ba50[813])[_$_ba50[813]](e,t)},e[_$_ba50[37]][_$_ba50[962]]=function(e){return r(this,_$_ba50[962])[_$_ba50[962]](e)},e[_$_ba50[37]][_$_ba50[815]]=function(e,t){r(this,_$_ba50[815])[_$_ba50[815]](e,t)},e[_$_ba50[37]][_$_ba50[603]]=function(){return r(this,_$_ba50[603])[_$_ba50[603]]()},e[_$_ba50[37]][_$_ba50[812]]=function(e){r(this,_$_ba50[812])[_$_ba50[812]](e)},e[_$_ba50[37]][_$_ba50[856]]=function(){return r(this,_$_ba50[856])[_$_ba50[856]]()},e[_$_ba50[37]][_$_ba50[857]]=function(){return r(this,_$_ba50[857])[_$_ba50[857]]()},e[_$_ba50[37]][_$_ba50[825]]=function(){r(this,_$_ba50[825])[_$_ba50[825]]()},e[_$_ba50[37]][_$_ba50[244]]=function(){return r(this,_$_ba50[244])[_$_ba50[244]]()},e[_$_ba50[37]][_$_ba50[805]]=function(){r(this,_$_ba50[805])[_$_ba50[805]]()},e[_$_ba50[37]][_$_ba50[739]]=function(e){r(this,_$_ba50[739])[_$_ba50[739]](e)},e[_$_ba50[37]][_$_ba50[1109]]=function(){return r(this,_$_ba50[1109])[_$_ba50[1109]]()},e[_$_ba50[37]][_$_ba50[1158]]=function(){return r(this,_$_ba50[1158])[_$_ba50[1158]]()},e[_$_ba50[37]][_$_ba50[1160]]=function(e){return r(this,_$_ba50[1160])[_$_ba50[1160]](e)},e[_$_ba50[37]][_$_ba50[1004]]=function(e,t){r(this,_$_ba50[1004])[_$_ba50[1004]](e,t)},e[_$_ba50[37]][_$_ba50[623]]=function(){return r(this,_$_ba50[623])[_$_ba50[623]]()},Object[_$_ba50[82]](e,_$_ba50[1349],{get:function(){return c[_$_ba50[334]][_$_ba50[358]]},enumerable:!1,configurable:!0}),e[_$_ba50[1354]]=function(e){s[_$_ba50[160]][_$_ba50[163]](e)},e[_$_ba50[1355]]=function(){return s[_$_ba50[160]][_$_ba50[178]]()},a([(0,h[_$_ba50[1170]])(_$_ba50[1356])],e[_$_ba50[37]],_$_ba50[44],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[1349],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[624],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[1122],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[1350],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[956],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[778],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[995],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[1351],null),a([d[_$_ba50[572]]],e[_$_ba50[37]],_$_ba50[13],null),e}();t[_$_ba50[333]]=m}function _0xACFA(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[226]]||function(){var e=function(t,n){return e=Object[_$_ba50[227]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_ba50[228]]=t}||function(e,t){for(var n in t)Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_ba50[232]]=t}if(_$_ba50[34]!=typeof n&&null!==n)throw new TypeError(_$_ba50[230]+String(n)+_$_ba50[231]);e(t,n),t[_$_ba50[37]]=null===n?Object[_$_ba50[52]](n):(i[_$_ba50[37]]=n[_$_ba50[37]],new i)}}();Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[839]]=t[_$_ba50[969]]=t[_$_ba50[1003]]=t[_$_ba50[1345]]=t[_$_ba50[1200]]=t[_$_ba50[284]]=t[_$_ba50[304]]=t[_$_ba50[901]]=t[_$_ba50[791]]=void 0;var r=n(36166),a=n(85739),o=n(77858);Object[_$_ba50[82]](t,_$_ba50[791],{enumerable:!0,get:function(){return o[_$_ba50[791]]}});var s=n(8742);Object[_$_ba50[82]](t,_$_ba50[901],{enumerable:!0,get:function(){return s[_$_ba50[901]]}}),function(e){e[_$_ba50[309]]=_$_ba50[1357],e[_$_ba50[303]]=_$_ba50[729],e[_$_ba50[211]]=_$_ba50[956],e[_$_ba50[1358]]=_$_ba50[1359]}(t[_$_ba50[304]]||(t[_$_ba50[304]]={})),function(e){e[_$_ba50[283]]=_$_ba50[1360],e[_$_ba50[285]]=_$_ba50[1361]}(t[_$_ba50[284]]||(t[_$_ba50[284]]={})),function(e){e[_$_ba50[1203]]=_$_ba50[278],e[_$_ba50[1204]]=_$_ba50[984],e[_$_ba50[1205]]=_$_ba50[38],e[_$_ba50[1206]]=_$_ba50[73],e[_$_ba50[1201]]=_$_ba50[96]}(t[_$_ba50[1200]]||(t[_$_ba50[1200]]={}));var _=function(e){function t(t){return e[_$_ba50[36]](this,r[_$_ba50[165]][_$_ba50[1063]],void 0,_$_ba50[1363][_$_ba50[41]](t,_$_ba50[1362]))||this}return i(t,e),t}(a[_$_ba50[167]]);t[_$_ba50[1345]]=_,function(e){e[_$_ba50[1002]]=_$_ba50[1364],e[_$_ba50[1161]]=_$_ba50[1365],e[_$_ba50[1366]]=_$_ba50[1367]}(t[_$_ba50[1003]]||(t[_$_ba50[1003]]={})),function(e){e[_$_ba50[968]]=_$_ba50[1368],e[_$_ba50[971]]=_$_ba50[162],e[_$_ba50[973]]=_$_ba50[1369]}(t[_$_ba50[969]]||(t[_$_ba50[969]]={})),function(e){e[_$_ba50[1370]]=_$_ba50[1371],e[_$_ba50[838]]=_$_ba50[1372]}(t[_$_ba50[839]]||(t[_$_ba50[839]]={}))}function _0xAD2F(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1145]]=void 0;var n=function(){function e(){}return e[_$_ba50[52]]=function(e){return new(function(){function t(){}return t[_$_ba50[37]][_$_ba50[296]]=function(t,n,i){e[_$_ba50[840]](t,n,i)},t[_$_ba50[37]][_$_ba50[819]]=function(t,n){return e[_$_ba50[282]](t,n)},t}())},e}();t[_$_ba50[1145]]=n}function _0xAD64(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1373]]=t[_$_ba50[1374]]=t[_$_ba50[1375]]=t[_$_ba50[1376]]=void 0,function(e){e[_$_ba50[1377]]=_$_ba50[253],e[_$_ba50[1378]]=_$_ba50[254],e[_$_ba50[1379]]=_$_ba50[1380]}(t[_$_ba50[1376]]||(t[_$_ba50[1376]]={})),function(e){e[_$_ba50[1381]]=_$_ba50[1382],e[_$_ba50[1383]]=_$_ba50[1384],e[_$_ba50[1385]]=_$_ba50[1386]}(t[_$_ba50[1375]]||(t[_$_ba50[1375]]={})),function(e){e[_$_ba50[1387]]=_$_ba50[1388],e[_$_ba50[1389]]=_$_ba50[1390]}(t[_$_ba50[1374]]||(t[_$_ba50[1374]]={})),function(e){e[_$_ba50[1391]]=_$_ba50[1392],e[_$_ba50[1393]]=_$_ba50[1394],e[_$_ba50[1395]]=_$_ba50[1396]}(t[_$_ba50[1373]]||(t[_$_ba50[1373]]={}))}function _0xAD99(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[735]]=void 0;var i=n(66954),r=n(4529),a=n(63634),o=n(86726),s=n(64513),_=n(15949),u=n(24970),c=n(29079),l=n(61345),d=function(){function e(e){\nthis[_$_ba50[1397]]=e[_$_ba50[1397]],this[_$_ba50[1177]]=c[_$_ba50[1007]][_$_ba50[1348]](),this[_$_ba50[1398]]=e[_$_ba50[1398]]||{playback:{}},this[_$_ba50[694]]=e[_$_ba50[694]],this[_$_ba50[786]]=e[_$_ba50[786]]||a[_$_ba50[692]],this[_$_ba50[1399]]=new i[_$_ba50[288]](this[_$_ba50[786]][_$_ba50[1400]],e[_$_ba50[289]]),this[_$_ba50[1401]]=e[_$_ba50[655]]||null,this[_$_ba50[1402]](),this[_$_ba50[289]]=e[_$_ba50[289]],this[_$_ba50[605]]=e[_$_ba50[605]],this[_$_ba50[615]]=e[_$_ba50[615]],this[_$_ba50[732]]=e[_$_ba50[732]],this[_$_ba50[733]]=e[_$_ba50[733]],this[_$_ba50[734]]=e[_$_ba50[734]],this[_$_ba50[635]]=l[_$_ba50[743]][_$_ba50[742]](this,e[_$_ba50[635]]),this[_$_ba50[1403]]=!1}return e[_$_ba50[37]][_$_ba50[1402]]=function(){this[_$_ba50[709]]=new u[_$_ba50[1173]]((0,_[_$_ba50[332]])(),_$_ba50[1404],this[_$_ba50[1177]]),this[_$_ba50[709]][_$_ba50[1175]](_$_ba50[710],s[_$_ba50[1405]]),this[_$_ba50[709]][_$_ba50[1175]](_$_ba50[1406],o[_$_ba50[1407]])},e[_$_ba50[37]][_$_ba50[1179]]=function(e){this[_$_ba50[611]]=e},e[_$_ba50[37]][_$_ba50[1408]]=function(e){this[_$_ba50[1409]]=e},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1410],{get:function(){return this[_$_ba50[1403]]},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[1403]]=!0,this[_$_ba50[615]]=(0,r[_$_ba50[329]])(this[_$_ba50[615]]),this[_$_ba50[1409]]=null,this[_$_ba50[1401]]=null,this[_$_ba50[605]]=null,this[_$_ba50[732]]=null,this[_$_ba50[733]]=null,this[_$_ba50[734]]=null,this[_$_ba50[709]]=(0,r[_$_ba50[329]])(this[_$_ba50[709]])},e}();t[_$_ba50[735]]=d}function _0xADCE(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[699]]=void 0;var i=n(43068),r=n(83024),a=n(36166),o=n(85739),s=n(8833),_=n(15949),u=n(38827),c=n(50551),l=function(){function e(){this[_$_ba50[1411]]=c[_$_ba50[1412]][_$_ba50[756]]()}return e[_$_ba50[1413]]=function(t,n,i,r){return e[_$_ba50[1414]](n)?t?new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1415]],{"player-type":t[_$_ba50[710]],"supported-tech":JSON[_$_ba50[291]](i)},_$_ba50[1416]):n[_$_ba50[229]](_$_ba50[624])?new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1069]],void 0,_$_ba50[1070]):r?new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1067]],void 0,_$_ba50[1068]):new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1417]],{"supported-tech":JSON[_$_ba50[291]](i)},_$_ba50[1068]):new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[893]],{source:n},_$_ba50[1418])},e[_$_ba50[1414]]=function(e){return e&&Boolean(e[_$_ba50[720]]||e[_$_ba50[722]]||e[_$_ba50[723]]||e[_$_ba50[724]])},e[_$_ba50[37]][_$_ba50[756]]=function(t){var n=Object[_$_ba50[42]](t[_$_ba50[806]]),i=(0,_[_$_ba50[626]])()[_$_ba50[967]],r=(0,u[_$_ba50[1190]])(t[_$_ba50[1398]][_$_ba50[646]]()[_$_ba50[1189]],t[_$_ba50[806]],t[_$_ba50[1419]]);if(n[_$_ba50[26]]>0&&!e[_$_ba50[1414]](t[_$_ba50[806]]))return Promise[_$_ba50[889]](new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1239]],{streamType:JSON[_$_ba50[291]](n),supportedTech:JSON[_$_ba50[291]](i)},_$_ba50[1420]));if(n[_$_ba50[26]]>0&&!r)return Promise[_$_ba50[889]](e[_$_ba50[1413]](t[_$_ba50[1419]],t[_$_ba50[806]],i,r));if(n[_$_ba50[26]]<=0&&!i[_$_ba50[26]])return Promise[_$_ba50[889]](e[_$_ba50[1413]](t[_$_ba50[1419]],t[_$_ba50[806]],i));n[_$_ba50[26]]<=0&&(r=i[0]);var s=t[_$_ba50[91]][_$_ba50[635]][_$_ba50[741]]();t[_$_ba50[609]]?t[_$_ba50[609]][_$_ba50[1421]](s):s[_$_ba50[989]]||t[_$_ba50[655]][_$_ba50[1008]](s),s[_$_ba50[390]]=t[_$_ba50[1422]][_$_ba50[390]],s[_$_ba50[814]]=t[_$_ba50[1422]][_$_ba50[814]]/100;var c=t[_$_ba50[1398]][_$_ba50[904]](),l=c[_$_ba50[1424]][_$_ba50[1423]];if((0,_[_$_ba50[626]])()[_$_ba50[1425]]&&(c[_$_ba50[1424]][_$_ba50[1423]]=Math[_$_ba50[260]](l,1e7),c[_$_ba50[1426]]=!0),r){var d=e[_$_ba50[1427]](t[_$_ba50[91]],r);t[_$_ba50[91]][_$_ba50[1408]](d)}return this[_$_ba50[1012]](t[_$_ba50[91]],r)},e[_$_ba50[1427]]=function(e,t){return _$_ba50[1428]===t[_$_ba50[710]]?((0,_[_$_ba50[626]])()[_$_ba50[1429]]||e[_$_ba50[786]][_$_ba50[1430]])&&i[_$_ba50[160]][_$_ba50[172]](r[_$_ba50[187]][_$_ba50[219]])?new(i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[219]])[_$_ba50[1431]]())(e):(0,_[_$_ba50[626]])()[_$_ba50[1432]]&&i[_$_ba50[160]][_$_ba50[172]](r[_$_ba50[187]][_$_ba50[220]])?new(i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[220]])[_$_ba50[1433]]())(e):(0,_[_$_ba50[626]])()[_$_ba50[1434]]&&i[_$_ba50[160]][_$_ba50[172]](r[_$_ba50[187]][_$_ba50[225]])?new(i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[225]])[_$_ba50[1435]]())(e):new(0,i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[199]])[_$_ba50[1436]])(e):null},e[_$_ba50[37]][_$_ba50[1012]]=function(e,t){var n,_=this;if(!e[_$_ba50[1409]]&&t[_$_ba50[710]]!==s[_$_ba50[791]][_$_ba50[790]])return Promise[_$_ba50[889]](new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1437]],{tech:JSON[_$_ba50[291]](t)},_$_ba50[1438]));if(!this[_$_ba50[1439]]&&i[_$_ba50[160]][_$_ba50[172]](r[_$_ba50[187]][_$_ba50[198]])){var u=i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[198]])[_$_ba50[1440]];this[_$_ba50[1439]]=new u(e,this[_$_ba50[1411]])}if(_$_ba50[1441]===t[_$_ba50[710]]){var c=i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[201]])[_$_ba50[1442]];n=Promise[_$_ba50[586]](new c(e))}else{if(_$_ba50[1428]!==t[_$_ba50[710]])return Promise[_$_ba50[889]](new o[_$_ba50[167]](a[_$_ba50[165]][_$_ba50[1239]],{given:t[_$_ba50[710]],supported:_$_ba50[1443]},_$_ba50[1444]));n=e[_$_ba50[1409]][_$_ba50[372]]()[_$_ba50[185]](function(){return new(0,i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[202]])[_$_ba50[1445]])(e)})}return n[_$_ba50[185]](function(t){return _[_$_ba50[1439]]?_[_$_ba50[1439]][_$_ba50[1446]](e,t):t})[_$_ba50[185]](function(n){return{context:e,logger:e[_$_ba50[289]],bitdashPlayer:n,technology:t,videoElement:e[_$_ba50[635]]}})},e}();t[_$_ba50[699]]=l}function _0xAE03(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[872]]=void 0;var i=n(59534),r=n(59574),a=n(38106),o=n(59536),s=n(95212),_=function(){function e(e){var t=this;this[_$_ba50[1447]]=function(){t[_$_ba50[1449]]((0,a[_$_ba50[1448]])(!1))},this[_$_ba50[1450]]=function(){t[_$_ba50[1449]]((0,a[_$_ba50[1448]])(!0))},this[_$_ba50[759]]=function(){return o[_$_ba50[759]](t[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]())},this[_$_ba50[1449]]=function(e){t[_$_ba50[91]][_$_ba50[709]][_$_ba50[153]](e)},this[_$_ba50[1451]]=function(e,n){t[_$_ba50[1452]]!==e&&(t[_$_ba50[1452]]=e,t[_$_ba50[1449]]((0,a[_$_ba50[1453]])(e))),n&&n()},this[_$_ba50[1454]]=function(e,n){if(t[_$_ba50[1452]]!==e)t[_$_ba50[1452]]=e,t[_$_ba50[1449]]((0,a[_$_ba50[1455]])(e));else{if(!t[_$_ba50[1456]](e))return;t[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1458][_$_ba50[41]](s[_$_ba50[1457]][e])),t[_$_ba50[1449]]((0,a[_$_ba50[1459]])(0))}n&&n()},this[_$_ba50[91]]=e,this[_$_ba50[605]]=e[_$_ba50[605]],this[_$_ba50[605]][_$_ba50[75]](r[_$_ba50[370]][_$_ba50[375]],this[_$_ba50[1450]],!0),this[_$_ba50[605]][_$_ba50[75]](r[_$_ba50[370]][_$_ba50[493]],this[_$_ba50[1447]],!0),this[_$_ba50[1449]]((0,a[_$_ba50[1461]])([_$_ba50[1159],_$_ba50[1460]])),this[_$_ba50[1462]]=e[_$_ba50[615]][_$_ba50[177]](i[_$_ba50[617]][_$_ba50[1032]]),this[_$_ba50[1463]]=!1}return e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[1464]](!1),this[_$_ba50[1465]](),this[_$_ba50[1452]]=s[_$_ba50[1457]][_$_ba50[1466]],this[_$_ba50[1467]]=s[_$_ba50[1468]][_$_ba50[1466]]},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1452],{get:function(){return this[_$_ba50[759]]()[_$_ba50[1452]]},set:function(e){var t=this[_$_ba50[759]]()[_$_ba50[1452]];this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1470][_$_ba50[41]](s[_$_ba50[1457]][t],_$_ba50[1469])[_$_ba50[41]](s[_$_ba50[1457]][e])),this[_$_ba50[1449]]((0,a[_$_ba50[1471]])(e))},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1467],{get:function(){return this[_$_ba50[759]]()[_$_ba50[1467]]},set:function(e){var t=this[_$_ba50[759]]()[_$_ba50[1467]];this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1472][_$_ba50[41]](s[_$_ba50[1468]][t],_$_ba50[1469])[_$_ba50[41]](s[_$_ba50[1468]][e])),this[_$_ba50[1449]]((0,a[_$_ba50[1473]])(e))},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1474],{get:function(){return this[_$_ba50[759]]()[_$_ba50[1474]]},set:function(e){var t=this[_$_ba50[759]]()[_$_ba50[1474]];this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1476][_$_ba50[41]](s[_$_ba50[1475]][t],_$_ba50[1469])[_$_ba50[41]](s[_$_ba50[1475]][e])),this[_$_ba50[1449]]((0,a[_$_ba50[1477]])(e))},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[1478]]=function(e,t,n,i){this[_$_ba50[1467]]=e,i&&this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[379]],{position:this[_$_ba50[837]](),seekTarget:t,issuer:n||_$_ba50[600]}),this[_$_ba50[1449]]((0,a[_$_ba50[1479]])(t))},e[_$_ba50[37]][_$_ba50[1480]]=function(e,t,n){void 0===n&&(n=!0),this[_$_ba50[1478]](s[_$_ba50[1468]][_$_ba50[1481]],e,t,n)},e[_$_ba50[37]][_$_ba50[1482]]=function(e,t,n){return void 0===n&&(n=!0),this[_$_ba50[1478]](s[_$_ba50[1468]][_$_ba50[1483]],e,t,n)},e[_$_ba50[37]][_$_ba50[1464]]=function(e){void 0===e&&(e=!0),this[_$_ba50[1484]]()&&(this[_$_ba50[1467]]=s[_$_ba50[1468]][_$_ba50[381]],e&&this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[381]])),this[_$_ba50[1485]]()},e[_$_ba50[37]][_$_ba50[1485]]=function(){this[_$_ba50[1449]]((0,a[_$_ba50[1479]])(-1))},e[_$_ba50[37]][_$_ba50[1484]]=function(){return o[_$_ba50[1486]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1487]]=function(e,t,n,i){void 0===i&&(i=!0),this[_$_ba50[1449]]((0,a[_$_ba50[1477]])(s[_$_ba50[1475]][_$_ba50[1488]])),i&&this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[383]],{position:e,target:t,issuer:n||_$_ba50[600]}),this[_$_ba50[1449]]((0,a[_$_ba50[1479]])(t))},e[_$_ba50[37]][_$_ba50[1489]]=function(e){void 0===e&&(e=!0),this[_$_ba50[1449]]((0,a[_$_ba50[1477]])(s[_$_ba50[1475]][_$_ba50[1490]])),e&&this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[385]]),this[_$_ba50[1485]]()},e[_$_ba50[37]][_$_ba50[1491]]=function(){this[_$_ba50[1449]]((0,a[_$_ba50[1471]])(s[_$_ba50[1457]][_$_ba50[1492]]))},e[_$_ba50[37]][_$_ba50[1493]]=function(){return o[_$_ba50[1494]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1495]]=function(){return o[_$_ba50[1496]](this[_$_ba50[759]]())},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[851],{get:function(){return this[_$_ba50[759]]()[_$_ba50[851]]},set:function(e){this[_$_ba50[1449]]((0,a[_$_ba50[1497]])(e))},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[1498]]=function(e){this[_$_ba50[1449]]((0,a[_$_ba50[1499]])(e)),e&&this[_$_ba50[1103]]()&&!this[_$_ba50[1500]]()&&(this[_$_ba50[1463]]=!0),e?this[_$_ba50[1501]]():this[_$_ba50[1465]]()},e[_$_ba50[37]][_$_ba50[1502]]=function(){return o[_$_ba50[1503]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1103]]=function(){return o[_$_ba50[1504]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1505]]=function(){return o[_$_ba50[1506]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1105]]=function(){return o[_$_ba50[1507]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1508]]=function(){return o[_$_ba50[760]](this[_$_ba50[759]]())},e[_$_ba50[37]][_$_ba50[1501]]=function(){this[_$_ba50[1505]]()||this[_$_ba50[1484]]()||this[_$_ba50[1495]]()||this[_$_ba50[1484]]()||this[_$_ba50[1495]]()||this[_$_ba50[851]]||this[_$_ba50[1105]]()||this[_$_ba50[1508]]()||(this[_$_ba50[851]]=!0,this[_$_ba50[1462]][_$_ba50[1509]](),this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[400]],{}))},e[_$_ba50[37]][_$_ba50[1465]]=function(){this[_$_ba50[851]]&&(this[_$_ba50[851]]=!1,this[_$_ba50[1462]][_$_ba50[1510]](),this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[402]],{}))},e[_$_ba50[37]][_$_ba50[1500]]=function(){return this[_$_ba50[1456]](s[_$_ba50[1457]][_$_ba50[377]])},e[_$_ba50[37]][_$_ba50[1456]]=function(e){return this[_$_ba50[759]]()[_$_ba50[1511]][0]===e},e[_$_ba50[37]][_$_ba50[837]]=function(){return this[_$_ba50[91]][_$_ba50[635]][_$_ba50[1512]]},e[_$_ba50[37]][_$_ba50[1513]]=function(e,t,n){var i=this;this[_$_ba50[1103]]()||(e?n(s[_$_ba50[1457]][_$_ba50[373]],function(){i[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[373]],{time:i[_$_ba50[837]](),issuer:t},!1)}):n(s[_$_ba50[1457]][_$_ba50[373]]))},e[_$_ba50[37]][_$_ba50[871]]=function(e,t){this[_$_ba50[1513]](e,t,this[_$_ba50[1454]])},e[_$_ba50[37]][_$_ba50[1514]]=function(e,t){this[_$_ba50[1513]](e,t,this[_$_ba50[1451]])},e[_$_ba50[37]][_$_ba50[1515]]=function(e,t){var n=this;void 0===t&&(t=!0),this[_$_ba50[1454]](s[_$_ba50[1457]][_$_ba50[375]],function(){t&&n[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[375]],{time:n[_$_ba50[837]](),issuer:e},!1)})},e[_$_ba50[37]][_$_ba50[1516]]=function(e,t,n){var i=this;if(void 0===n&&(n=!1),n&&this[_$_ba50[1463]])return this[_$_ba50[91]][_$_ba50[289]][_$_ba50[1141]](_$_ba50[1517]),void(this[_$_ba50[1463]]=!1);this[_$_ba50[1463]]=!1,e&&this[_$_ba50[851]]&&this[_$_ba50[1465]](),this[_$_ba50[91]][_$_ba50[635]][_$_ba50[1518]]||(e?this[_$_ba50[1454]](s[_$_ba50[1457]][_$_ba50[377]],function(){i[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[377]],{time:i[_$_ba50[837]](),issuer:t},!1)}):this[_$_ba50[1451]](s[_$_ba50[1457]][_$_ba50[377]]))},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1519],{get:function(){return this[_$_ba50[759]]()[_$_ba50[1519]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[890],{get:function(){var e=this[_$_ba50[759]]()[_$_ba50[890]];return e[_$_ba50[1520]]*e[_$_ba50[1521]]},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[891]]=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!0);var i=o[_$_ba50[1081]](this[_$_ba50[759]]());i[_$_ba50[1520]]===e&&i[_$_ba50[1521]]===t||(this[_$_ba50[1449]]((0,a[_$_ba50[1522]])({speed:e,multiplier:t})),n&&this[_$_ba50[605]][_$_ba50[717]](r[_$_ba50[370]][_$_ba50[512]],{from:i[_$_ba50[1520]],to:e}))},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1523],{get:function(){return o[_$_ba50[1524]](this[_$_ba50[759]]())},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1525],{get:function(){return o[_$_ba50[1526]](this[_$_ba50[759]]())},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1527],{get:function(){return o[_$_ba50[1528]](this[_$_ba50[759]]())},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1529],{get:function(){return this[_$_ba50[759]]()[_$_ba50[1529]]},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[605]][_$_ba50[96]](r[_$_ba50[370]][_$_ba50[375]],this[_$_ba50[1450]]),this[_$_ba50[605]][_$_ba50[96]](r[_$_ba50[370]][_$_ba50[493]],this[_$_ba50[1447]])},e}();t[_$_ba50[872]]=_}function _0xAE38(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[791]]=void 0,function(e){e[_$_ba50[1530]]=_$_ba50[1428],e[_$_ba50[790]]=_$_ba50[1441],e[_$_ba50[900]]=_$_ba50[1291]}(t[_$_ba50[791]]||(t[_$_ba50[791]]={}))}function _0xAE6D(e,t,n){function i(e){return new Date(Date[_$_ba50[292]](e[_$_ba50[1537]])+(0,o[_$_ba50[1247]])(e[_$_ba50[1311]]))[_$_ba50[1536]]()}function r(e){var t;e[_$_ba50[140]](function(e){e[_$_ba50[229]](_$_ba50[1538])&&e[_$_ba50[1538]][_$_ba50[140]](function(e){t&&!t[_$_ba50[1539]]&&(t[_$_ba50[1539]]=e[_$_ba50[1537]]),e[_$_ba50[1539]]||(isNaN(e[_$_ba50[1311]])?e[_$_ba50[1540]]&&(t=e):e[_$_ba50[1539]]=i(e))})})}function a(e,t){var n={},i=function(e){var t=e[_$_ba50[1541]],n=e[_$_ba50[1542]];return t?_$_ba50[90][_$_ba50[41]](n,_$_ba50[1543])[_$_ba50[41]](t):n};return t[_$_ba50[140]](function(e){return n[i(e)]=e}),e[_$_ba50[140]](function(e){n[i(e)]&&(n[i(e)]=e)}),Object[_$_ba50[1544]](n)}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1531]]=t[_$_ba50[1532]]=t[_$_ba50[1533]]=t[_$_ba50[1534]]=t[_$_ba50[1535]]=void 0;var o=n(80815);t[_$_ba50[1535]]=i,t[_$_ba50[1534]]=r,t[_$_ba50[1533]]=a,t[_$_ba50[1532]]=function(e,t){var n;return t[_$_ba50[140]](function(e){return e[_$_ba50[1545]]=!1}),r(n=0===e[_$_ba50[26]]?t:a(e,t)),n},t[_$_ba50[1531]]=function(e,t,n){if(e[t]){var i;(function(){i=n;for(var r=t;r=0;r--)e[r][_$_ba50[1546]]=i-e[r][_$_ba50[1311]],i-=e[r][_$_ba50[1311]]}()}}}function _0xAEA2(e,t,n){var i,r,a,o;_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[692]]=void 0;var s=n(41609),_=n(8833);t[_$_ba50[692]]={TARGET_BUFFER_LEVEL:(i={},i[_[_$_ba50[304]][_$_ba50[303]]]=(r={},r[_[_$_ba50[284]][_$_ba50[283]]]=40,r[_[_$_ba50[284]][_$_ba50[285]]]=20,r),i[_[_$_ba50[304]][_$_ba50[309]]]=(a={},a[_[_$_ba50[284]][_$_ba50[283]]]=40,a[_[_$_ba50[284]][_$_ba50[285]]]=20,a),i),BUFFER_LOGIC_ACTIVATION_THRESHOLD:10,MIN_TIMELINE_LIVE_OFFSET:4,RETRY_DELAY:2,MAX_INCREASE_RETRY_DELAY_SEC:30,INCREASE_RETRY_DELAY:!0,INCREASE_RETRY_DELAY_BASE_SEC:.25,DISABLE_RETRY_FOR_RESPONSE_STATUS:(o={},o[s[_$_ba50[1253]][_$_ba50[1254]]]=[],o[s[_$_ba50[1253]][_$_ba50[1256]]]=[],o[s[_$_ba50[1253]][_$_ba50[1258]]]=[],o[s[_$_ba50[1253]][_$_ba50[1260]]]=[],o[s[_$_ba50[1253]][_$_ba50[1262]]]=[],o[s[_$_ba50[1253]][_$_ba50[1264]]]=[],o[s[_$_ba50[1253]][_$_ba50[1266]]]=[],o[s[_$_ba50[1253]][_$_ba50[1268]]]=[],o[s[_$_ba50[1253]][_$_ba50[1270]]]=[],o[s[_$_ba50[1253]][_$_ba50[1272]]]=[],o[s[_$_ba50[1253]][_$_ba50[1274]]]=[],o[s[_$_ba50[1253]][_$_ba50[1276]]]=[],o[s[_$_ba50[1253]][_$_ba50[1278]]]=[],o[s[_$_ba50[1253]][_$_ba50[1280]]]=[],o[s[_$_ba50[1253]][_$_ba50[1282]]]=[],o[s[_$_ba50[1253]][_$_ba50[1284]]]=[],o[s[_$_ba50[1253]][_$_ba50[1286]]]=[],o[s[_$_ba50[1253]][_$_ba50[1288]]]=[],o[s[_$_ba50[1253]][_$_ba50[1292]]]=[],o[s[_$_ba50[1253]][_$_ba50[1290]]]=[],o),METRIC_HISTORY_SIZE:30,DEFAULT_ADAPTATION_RULE_HISTORY_SIZE:40,LOG_LEVEL:2,LOG_PREFIX:_$_ba50[90],RESTART_THRESHOLD:.9,RESTART_THRESHOLD_DELTA:.5,STARTUP_THRESHOLD:.9,STARTUP_THRESHOLD_DELTA:.5,START_SEARCHING_END:2,MAX_RETRIES:2,MAX_CDN_RETRIES:2,MAX_MPD_RETRIES:2,MPD_RETRY_DELAY:.5,MPD_UPDATE_PERIOD_TOLERANCE:5,DRM_MAX_RETRIES:1,DRM_RETRY_DELAY:.25,DRM_WITH_CREDENTIALS:!1,CAST_APPLICATION_ID:_$_ba50[1547],CAST_MESSAGE_NAMESPACE:_$_ba50[1548],BUFFER_VISIBILITY_DELAY:2,MIN_SELECTABLE_VIDEO_BITRATE:0,MAX_SELECTABLE_VIDEO_BITRATE:1/0,MIN_SELECTABLE_VIDEO_HEIGHT:0,MAX_SELECTABLE_VIDEO_HEIGHT:1/0,MIN_SELECTABLE_VIDEO_WIDTH:0,MAX_SELECTABLE_VIDEO_WIDTH:1/0,EXCLUDE_DISALLOWED_REPRESENTATIONS:!1,MIN_SELECTABLE_AUDIO_BITRATE:0,MAX_SELECTABLE_AUDIO_BITRATE:1/0,XHR_TIMEOUT:20,QUERY_PARAMETERS:void 0,GAP_TOLERANCE:.1,END_OF_BUFFER_TOLERANCE:.1,END_OF_BUFFER_RECOVERY_TOLERANCE:.5,MAX_POTENTIAL_GAP_TIME_DEVIATION:.125,SYNC_ON_SEEK_TIMEOUT:.25,SEEK_TO_END_OFFSET:2,MINIMUM_ALLOWED_UPDATE_PERIOD:1,MAXIMUM_ALLOWED_UPDATE_PERIOD:1/0,GLOBAL_DISABLE_SEEKING:!1,PRE_ROLL_RESTORE_THRESHOLD:.25,IOS_MIN_TIMEUPDATES_AFTER_AD:2,HTTP_HEADERS:{},DOWNLOAD_DURATION_SAFETY_MARGIN:.4,MAXIMUM_DOWNLOAD_DURATION_MULTIPLIER:2,RATE_SAFETY_MARGIN_PERCENTAGE:10,LIVE_SEGMENT_LIST_START_INDEX_OFFSET:0,MAX_NUM_CACHED_SEGMENTS:1,TRUN_VERSION:void 0,IGNORE_MP4_EDTS_BOX:!0,HLS_AUDIO_ONLY_THRESHOLD_BITRATE:2e5,ENABLE_SEEK_FOR_LIVE:!1,LIVE_EDGE_DISTANCE:0,QUALITY_THRESHOLD:.5,QUALITY_UPPER_THRESHOLD:45,MAX_CONSECUTIVE_VR_ERRORS:3,MAX_CONSECUTIVE_RENDERER_ERRORS:3,DISABLE_HLS_BACKUP_STREAM_FAILOVER:!1,PLAYBACK_TIMEOUT:1500,HLS_SYNC_VIA_MEDIA_SEQUENCE:!1,STOP_DOWNLOAD_ON_PAUSE:!1,VR_SCHEME_ID_URI:_$_ba50[1549],HLS_VR_CHARACTERISTICS_UTI:_$_ba50[1550],SAFARI_NUM_PROGRESS_EVENTS_AFTER_SEEK_GLITCH:5,SEGMENT_LOADER_POOL_SIZE:{},NATIVE_HLS_PARSING:!1,NATIVE_HLS_DOWNLOAD_ERROR_HANDLING:!1,AKAMAI_DATETIME_PARSING:!1,QJY_BROWSER_WORKAROUND:!1,DWORD_BASE_MEDIA_DECODE_TIMESTAMPS:!1,FORCE_BASE_MEDIA_DECODE_TIME_REWRITE:!1,WEBOS_MAX_SAFE_BMDT:274877906943,WEBOS_MAX_SAFE_PTO:4194303,ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY:!1,MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL:.5,CHUNKED_CMAF_STREAMING:!1,LOW_LATENCY_DEFAULT_TARGET_LATENCY:3,LOW_LATENCY_BUFFER_GUARD:.5,LOW_LATENCY_DEFAULT_FALLBACK_PLAYBACK_RATE:.95,LOW_LATENCY_DEFAULT_CATCHUP_PLAYBACK_RATE:1.2,ACCEPTABLE_TIMESHIFT_INACCURACY:3,IGNORE_HLS_AUDIO_GROUPS:!1,OPTIMIZE_AD_RESTORATION:!0,AD_RESTORATION_SEGMENT_PREFETCHING_DURATION:5,MIN_SAFE_BUFFER_LEVEL:3,THUMBNAIL_TO_PLAYER_SIZE_RATIO:.1,FAIRPLAY_IGNORE_DUPLICATE_INIT_DATA_KEY_ERRORS:!1,NO_QUOTA_EXCEEDED_ADJUSTMENT:!1,RESUME_LIVE_CONTENT_AT_PREVIOUS_POSITION_AFTER_AD_BREAK:!1,MIN_EFFECTIVE_SEGMENT_DOWNLOAD_TIME:.5,fixed:{APP_NAME:_$_ba50[1428],VERSION:_$_ba50[359]},CLEAR_BUFFERS_ON_SEEKING_BACKWARDS:!1,DROP_INVALID_SEGMENTS:!1,PROACTIVE_GAP_SKIP_DISTANCE_SECONDS:0,PRESERVE_GAPS_FOR_BASE_MEDIA_DECODE_TIME_REWRITE:!1,FORCE_SOFTWARE_DECRYPTION:!1,EXPERIMENTAL_TRANSMUXING:!1,SEGMENT_LOADING_PROGRESS_CHECK_INTERVAL:.5,ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE:!1,HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE:!1,HLS_CLEAR_BUFFERS_ON_DISCONTINUITY_SWITCHES:!0}}function _0xAED7(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1178]]=void 0;var n=function(){function e(e){this[_$_ba50[745]]=e[_$_ba50[745]],this[_$_ba50[806]]=e[_$_ba50[806]],this[_$_ba50[612]]=e[_$_ba50[612]],this[_$_ba50[1403]]=!1,this[_$_ba50[1551]]=e[_$_ba50[768]]}return Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1410],{get:function(){return this[_$_ba50[1403]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[768],{get:function(){return this[_$_ba50[1551]]},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[1403]]=!0},e}();t[_$_ba50[1178]]=n}function _0xAF0C(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1032]]=void 0;var i=n(22221),r=n(45366),a=n(11917),o=n(82072),s=n(80815),_=function(){function e(e){this[_$_ba50[91]]=e,this[_$_ba50[91]]=e,this[_$_ba50[583]]=0}return e[_$_ba50[37]][_$_ba50[1509]]=function(){this[_$_ba50[1552]]=Date[_$_ba50[817]]()},e[_$_ba50[37]][_$_ba50[1510]]=function(){var e=(0,s[_$_ba50[818]])(Date[_$_ba50[817]]()-this[_$_ba50[1552]]);this[_$_ba50[583]]+=e,this[_$_ba50[1553]]()},e[_$_ba50[37]][_$_ba50[1553]]=function(){var e=this;if((0,o[_$_ba50[1554]])(this[_$_ba50[91]])){var t=(0,r[_$_ba50[1555]])(this[_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]());Object[_$_ba50[98]](t)[_$_ba50[140]](function(t){return e[_$_ba50[91]][_$_ba50[709]][_$_ba50[153]]((0,i[_$_ba50[1558]])(t,a[_$_ba50[1557]][_$_ba50[1556]],e[_$_ba50[583]]))})}},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[583]]=0},e[_$_ba50[37]][_$_ba50[329]]=function(){},e}();t[_$_ba50[1032]]=_}function _0xAF41(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1029]]=void 0;var i=n(86750),r=function(){function e(e){this[_$_ba50[602]]=e,this[_$_ba50[1559]]=0}return e[_$_ba50[37]][_$_ba50[1560]]=function(e,t){var n=e[_$_ba50[991]][_$_ba50[1561]],r=e[_$_ba50[991]][_$_ba50[1562]];if(r)switch(r){case i[_$_ba50[1376]][_$_ba50[1377]]:return n>Math[_$_ba50[1250]](t)?0:n+t;case i[_$_ba50[1376]][_$_ba50[1378]]:return n}return n},e[_$_ba50[37]][_$_ba50[1563]]=function(e,t){var n=e[_$_ba50[991]][_$_ba50[1561]],r=e[_$_ba50[991]][_$_ba50[1562]];if(r)switch(r){case i[_$_ba50[1376]][_$_ba50[1377]]:return n;case i[_$_ba50[1376]][_$_ba50[1378]]:return t+n}return n},e[_$_ba50[37]][_$_ba50[1142]]=function(e){if(e[_$_ba50[991]]){if(e[_$_ba50[991]][_$_ba50[1561]])return this[_$_ba50[602]][_$_ba50[783]]()?this[_$_ba50[1560]](e,this[_$_ba50[602]][_$_ba50[849]]()):this[_$_ba50[1563]](e,this[_$_ba50[602]][_$_ba50[272]]());if(e[_$_ba50[991]][_$_ba50[1564]])return e[_$_ba50[991]][_$_ba50[1564]]}return this[_$_ba50[1559]]},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1565],{set:function(e){this[_$_ba50[1559]]=e},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[602]]=null},e}();t[_$_ba50[1029]]=r}function _0xAF76(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[901]]=void 0,function(e){e[_$_ba50[1566]]=_$_ba50[723],e[_$_ba50[1567]]=_$_ba50[720],e[_$_ba50[1046]]=_$_ba50[722],e[_$_ba50[190]]=_$_ba50[724],e[_$_ba50[900]]=_$_ba50[1291]}(t[_$_ba50[901]]||(t[_$_ba50[901]]={}))}function _0xAFAB(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1572]]=t[_$_ba50[1573]]=t[_$_ba50[1574]]=t[_$_ba50[1575]]=void 0,t[_$_ba50[1575]]=function(e,t){return e[_$_ba50[25]](0,0+t[_$_ba50[26]])===t},t[_$_ba50[1574]]=function(e,t){if(!e)return!1;if(!t||0===t[_$_ba50[26]])return!0;var n=e[_$_ba50[29]](t);return n>=0&&n===e[_$_ba50[26]]-t[_$_ba50[26]]},t[_$_ba50[1573]]=function(e){return e[_$_ba50[106]](_$_ba50[1571])[_$_ba50[152]](function(e,t){return 0===t?e[_$_ba50[1568]]():e[_$_ba50[1570]](0)[_$_ba50[1569]]()+e[_$_ba50[74]](1)[_$_ba50[1568]]()})[_$_ba50[105]](_$_ba50[90])},t[_$_ba50[1572]]=function(e){return e?(_$_ba50[60]+e)[_$_ba50[74]](1):_$_ba50[90]}}function _0xAFE0(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1578]]=t[_$_ba50[1577]]=t[_$_ba50[1576]]=void 0,t[_$_ba50[1576]]=function(e){e&&e[_$_ba50[1576]]()},t[_$_ba50[1577]]=function(e){e&&e[_$_ba50[1577]]()};var n=function(){function e(e){this[_$_ba50[570]]=!1,this[_$_ba50[1579]]=null==e?void 0:e[_$_ba50[1580]],this[_$_ba50[1581]]=null==e?void 0:e[_$_ba50[1582]]}return e[_$_ba50[37]][_$_ba50[1576]]=function(){var e;this[_$_ba50[570]]||(this[_$_ba50[570]]=!0,null===(e=this[_$_ba50[1579]])||void 0===e||e[_$_ba50[36]](this))},e[_$_ba50[37]][_$_ba50[1577]]=function(){var e;this[_$_ba50[570]]&&(this[_$_ba50[570]]=!1,null===(e=this[_$_ba50[1581]])||void 0===e||e[_$_ba50[36]](this))},e[_$_ba50[37]][_$_ba50[1583]]=function(){return this[_$_ba50[570]]},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[570]]=null,this[_$_ba50[1579]]=null,this[_$_ba50[1581]]=null},e}();t[_$_ba50[1578]]=n}function _0xB015(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1554]]=t[_$_ba50[1584]]=void 0,t[_$_ba50[1584]]=function(e){return null!==e&&_$_ba50[33]==typeof e},t[_$_ba50[1554]]=function(e){return void 0!==e&&!e[_$_ba50[1410]]}}function _0xB04A(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1585]]=void 0;var n=function(){function e(){}return e[_$_ba50[1586]]=function(e){for(e[_$_ba50[1128]](_$_ba50[353],_$_ba50[90]),e[_$_ba50[1587]](_$_ba50[353]);e[_$_ba50[1588]];)e[_$_ba50[917]](e[_$_ba50[1588]])},e}();t[_$_ba50[1585]]=n}function _0xB07F(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1589]]=void 0;var i=n(34742);t[_$_ba50[1589]]={key:_$_ba50[90],playback:{autoplay:!1,muted:!1,volume:100,timeShift:!0,seeking:!0,playsInline:!0,preferredTech:[],videoCodecPriority:[_$_ba50[1590],_$_ba50[1591],_$_ba50[1592],_$_ba50[1593],_$_ba50[1594],_$_ba50[1595],_$_ba50[1596],_$_ba50[1597]],audioCodecPriority:[_$_ba50[1598],_$_ba50[1599],_$_ba50[1600],_$_ba50[1601],_$_ba50[1602],_$_ba50[1603],_$_ba50[1604]]},style:{aspectratio:16/9},tweaks:{autoqualityswitching:!0,file_protocol:!1},adaptation:{mobile:{limitToPlayerSize:!1,exclude:!1,bitrates:{minSelectableAudioBitrate:0,maxSelectableAudioBitrate:1/0,minSelectableVideoBitrate:0,maxSelectableVideoBitrate:1/0},resolution:{minSelectableVideoHeight:0,maxSelectableVideoHeight:1/0,minSelectableVideoWidth:0,maxSelectableVideoWidth:1/0}},desktop:{limitToPlayerSize:!1,exclude:!1,bitrates:{minSelectableAudioBitrate:0,maxSelectableAudioBitrate:1/0,minSelectableVideoBitrate:0,maxSelectableVideoBitrate:1/0},resolution:{minSelectableVideoHeight:0,maxSelectableVideoHeight:1/0,minSelectableVideoWidth:0,maxSelectableVideoWidth:1/0}}},cast:{enable:!1},events:{},licensing:{},logs:{bitmovin:!0},location:{ui:i[_$_ba50[334]][_$_ba50[364]]+_$_ba50[1605],ui_css:i[_$_ba50[334]][_$_ba50[364]]+_$_ba50[1606],serviceworker:_$_ba50[90],cast:_$_ba50[1607],google_ima:_$_ba50[1608]}}}function _0xB0B4(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[929]]=void 0;var i=n(36166),r=n(85739),a=n(8833),o=n(63634),s=n(15949),_=n(29079),u=n(78664),c=function(){function e(e){if(!e)throw new r[_$_ba50[167]](i[_$_ba50[165]][_$_ba50[1609]],void 0,_$_ba50[1610]);this[_$_ba50[647]]={},this[_$_ba50[1611]]=e,this[_$_ba50[1612]]()}return e[_$_ba50[1613]]=function(e,t){var n,i,r=!1,a=!1,o=!1;if(t[_$_ba50[636]]?(o=Boolean(t[_$_ba50[636]][_$_ba50[1614]]),a=Boolean(t[_$_ba50[636]][_$_ba50[1615]]),r=Boolean(t[_$_ba50[636]][_$_ba50[1616]])):t[_$_ba50[636]]={},e[_$_ba50[636]]=e[_$_ba50[636]]||{},r){var s=(0,_[_$_ba50[1617]])(null!==(i=null===(n=u[_$_ba50[1589]][_$_ba50[636]])||void 0===n?void 0:n[_$_ba50[1616]])&&void 0!==i?i:16/9);e[_$_ba50[636]][_$_ba50[1616]]=(0,_[_$_ba50[1617]])(t[_$_ba50[636]][_$_ba50[1616]])||s}else e[_$_ba50[636]][_$_ba50[1616]]=u[_$_ba50[1589]][_$_ba50[636]][_$_ba50[1616]];o&&!isNaN(String(t[_$_ba50[636]][_$_ba50[1614]])[_$_ba50[74]](-1))&&(e[_$_ba50[636]][_$_ba50[1614]]=t[_$_ba50[636]][_$_ba50[1614]]+_$_ba50[1618]),a&&!isNaN(String(t[_$_ba50[636]][_$_ba50[1615]])[_$_ba50[74]](-1))&&(e[_$_ba50[636]][_$_ba50[1615]]=t[_$_ba50[636]][_$_ba50[1615]]+_$_ba50[1618])},e[_$_ba50[37]][_$_ba50[1612]]=function(){var t=this;_[_$_ba50[1007]][_$_ba50[1619]](this[_$_ba50[647]],u[_$_ba50[1589]],this[_$_ba50[1611]]);var n=this[_$_ba50[1611]][_$_ba50[904]]||{},i={};_[_$_ba50[1007]][_$_ba50[1620]](i,n),delete i[_$_ba50[1621]],delete i[_$_ba50[1622]],(0,s[_$_ba50[626]])()[_$_ba50[1425]]?this[_$_ba50[647]][_$_ba50[904]]=_[_$_ba50[1007]][_$_ba50[1619]]({},u[_$_ba50[1589]][_$_ba50[904]][_$_ba50[1621]],i,n[_$_ba50[1621]]):this[_$_ba50[647]][_$_ba50[904]]=_[_$_ba50[1007]][_$_ba50[1619]]({},u[_$_ba50[1589]][_$_ba50[904]][_$_ba50[1622]],i,n[_$_ba50[1622]]);var r=this[_$_ba50[647]][_$_ba50[904]][_$_ba50[1424]];[_$_ba50[1624],_$_ba50[1625],_$_ba50[1626],_$_ba50[1423]][_$_ba50[140]](function(e){t[_$_ba50[647]][_$_ba50[904]][_$_ba50[1424]][e]=_[_$_ba50[1007]][_$_ba50[1623]](e[_$_ba50[340]](0,3),r[e])}),e[_$_ba50[1613]](this[_$_ba50[647]],this[_$_ba50[1611]])},e[_$_ba50[1627]]=function(e,t,n){if(t[_$_ba50[229]](n)){var i=t[n];for(var r in i)i[_$_ba50[229]](r)&&_$_ba50[1628]!==r&&e[_$_ba50[229]](r[_$_ba50[1569]]())?e[r[_$_ba50[1569]]()]=i[r]:i[_$_ba50[229]](r)&&_$_ba50[1629]===r[_$_ba50[1569]]()&&(e[_$_ba50[1400]][a[_$_ba50[304]][_$_ba50[303]]][a[_$_ba50[284]][_$_ba50[283]]]=i[r],e[_$_ba50[1400]][a[_$_ba50[304]][_$_ba50[309]]][a[_$_ba50[284]][_$_ba50[283]]]=i[r])}},e[_$_ba50[37]][_$_ba50[731]]=function(t){void 0===t&&(t=this[_$_ba50[647]]);var n={},i=t[_$_ba50[904]]||{};return _[_$_ba50[1007]][_$_ba50[1620]](n,o[_$_ba50[692]]),e[_$_ba50[1627]](n,t,_$_ba50[661]),e[_$_ba50[1627]](n,t,_$_ba50[1352]),i[_$_ba50[1424]]=i[_$_ba50[1424]]||{},i[_$_ba50[1630]]=i[_$_ba50[1630]]||{},i[_$_ba50[1426]]=i[_$_ba50[1426]]||!1,n[_$_ba50[1631]]=i[_$_ba50[1426]],n[_$_ba50[1632]]=i[_$_ba50[1424]][_$_ba50[1624]]||0,n[_$_ba50[1633]]=i[_$_ba50[1424]][_$_ba50[1625]]||1/0,n[_$_ba50[1634]]=i[_$_ba50[1424]][_$_ba50[1626]]||0,n[_$_ba50[1635]]=i[_$_ba50[1424]][_$_ba50[1423]]||1/0,n[_$_ba50[1636]]=i[_$_ba50[1630]][_$_ba50[1637]]||0,n[_$_ba50[1638]]=i[_$_ba50[1630]][_$_ba50[1639]]||1/0,n[_$_ba50[1640]]=i[_$_ba50[1630]][_$_ba50[1641]]||0,n[_$_ba50[1642]]=i[_$_ba50[1630]][_$_ba50[1643]]||1/0,n[_$_ba50[1644]]=i[_$_ba50[1645]]||n[_$_ba50[1644]],n[_$_ba50[1646]]=i[_$_ba50[1647]]||n[_$_ba50[1646]],n},e[_$_ba50[37]][_$_ba50[1079]]=function(){return this[_$_ba50[1611]]},e[_$_ba50[37]][_$_ba50[1648]]=function(e){var t={};for(var n in _[_$_ba50[1007]][_$_ba50[1620]](t,e),t)t[_$_ba50[229]](n)&&(this[_$_ba50[647]][n]=t[n],this[_$_ba50[1611]][n]=t[n])},e[_$_ba50[37]][_$_ba50[177]]=function(e,t){return void 0===t&&(t=this[_$_ba50[647]]),e?t[_$_ba50[229]](e)?this[_$_ba50[647]][e]:{}:t},e[_$_ba50[37]][_$_ba50[646]]=function(){return this[_$_ba50[177]](_$_ba50[646])},e[_$_ba50[37]][_$_ba50[636]]=function(){return this[_$_ba50[177]](_$_ba50[636])},e[_$_ba50[37]][_$_ba50[1122]]=function(){return this[_$_ba50[177]](_$_ba50[1122])},e[_$_ba50[37]][_$_ba50[661]]=function(){return this[_$_ba50[177]](_$_ba50[661])},e[_$_ba50[37]][_$_ba50[904]]=function(){return this[_$_ba50[177]](_$_ba50[904])},e[_$_ba50[37]][_$_ba50[979]]=function(){return this[_$_ba50[177]](_$_ba50[979])},e[_$_ba50[37]][_$_ba50[1352]]=function(){return this[_$_ba50[177]](_$_ba50[1352])},e[_$_ba50[37]][_$_ba50[737]]=function(){return this[_$_ba50[177]](_$_ba50[737])},\ne[_$_ba50[37]][_$_ba50[921]]=function(){return this[_$_ba50[177]](_$_ba50[921])},e[_$_ba50[37]][_$_ba50[10]]=function(){return this[_$_ba50[177]](_$_ba50[10])},e}();t[_$_ba50[929]]=c}function _0xB0E9(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[165]]=void 0,function(e){e[e[_$_ba50[1290]]=1e3]=_$_ba50[1290],e[e[_$_ba50[1063]]=1001]=_$_ba50[1063],e[e[_$_ba50[1649]]=1100]=_$_ba50[1649],e[e[_$_ba50[1346]]=1101]=_$_ba50[1346],e[e[_$_ba50[1609]]=1102]=_$_ba50[1609],e[e[_$_ba50[1093]]=1103]=_$_ba50[1093],e[e[_$_ba50[1650]]=1104]=_$_ba50[1650],e[e[_$_ba50[952]]=1104]=_$_ba50[952],e[e[_$_ba50[1651]]=1105]=_$_ba50[1651],e[e[_$_ba50[1096]]=1105]=_$_ba50[1096],e[e[_$_ba50[924]]=1106]=_$_ba50[924],e[e[_$_ba50[664]]=1107]=_$_ba50[664],e[e[_$_ba50[1437]]=1108]=_$_ba50[1437],e[e[_$_ba50[913]]=1113]=_$_ba50[913],e[e[_$_ba50[1652]]=1200]=_$_ba50[1652],e[e[_$_ba50[893]]=1201]=_$_ba50[893],e[e[_$_ba50[1653]]=1202]=_$_ba50[1653],e[e[_$_ba50[1067]]=1203]=_$_ba50[1067],e[e[_$_ba50[1239]]=1204]=_$_ba50[1239],e[e[_$_ba50[1415]]=1205]=_$_ba50[1415],e[e[_$_ba50[1417]]=1206]=_$_ba50[1417],e[e[_$_ba50[1654]]=1207]=_$_ba50[1654],e[e[_$_ba50[1655]]=1208]=_$_ba50[1655],e[e[_$_ba50[1656]]=1209]=_$_ba50[1656],e[e[_$_ba50[1657]]=1210]=_$_ba50[1657],e[e[_$_ba50[1658]]=1211]=_$_ba50[1658],e[e[_$_ba50[1659]]=7043]=_$_ba50[1659],e[e[_$_ba50[1660]]=1300]=_$_ba50[1660],e[e[_$_ba50[1237]]=1301]=_$_ba50[1237],e[e[_$_ba50[1661]]=1304]=_$_ba50[1661],e[e[_$_ba50[1238]]=1400]=_$_ba50[1238],e[e[_$_ba50[1662]]=1401]=_$_ba50[1662],e[e[_$_ba50[1663]]=1402]=_$_ba50[1663],e[e[_$_ba50[1664]]=1403]=_$_ba50[1664],e[e[_$_ba50[1665]]=1404]=_$_ba50[1665],e[e[_$_ba50[1666]]=2e3]=_$_ba50[1666],e[e[_$_ba50[1667]]=2001]=_$_ba50[1667],e[e[_$_ba50[1668]]=2002]=_$_ba50[1668],e[e[_$_ba50[1669]]=2003]=_$_ba50[1669],e[e[_$_ba50[1670]]=2005]=_$_ba50[1670],e[e[_$_ba50[1671]]=2006]=_$_ba50[1671],e[e[_$_ba50[1672]]=2007]=_$_ba50[1672],e[e[_$_ba50[1673]]=2008]=_$_ba50[1673],e[e[_$_ba50[1674]]=2009]=_$_ba50[1674],e[e[_$_ba50[1675]]=2010]=_$_ba50[1675],e[e[_$_ba50[1676]]=2011]=_$_ba50[1676],e[e[_$_ba50[1677]]=2012]=_$_ba50[1677],e[e[_$_ba50[1678]]=2013]=_$_ba50[1678],e[e[_$_ba50[1679]]=2015]=_$_ba50[1679],e[e[_$_ba50[1680]]=2100]=_$_ba50[1680],e[e[_$_ba50[1069]]=2101]=_$_ba50[1069],e[e[_$_ba50[1681]]=3e3]=_$_ba50[1681],e[e[_$_ba50[164]]=3001]=_$_ba50[164],e[e[_$_ba50[174]]=3002]=_$_ba50[174],e[e[_$_ba50[237]]=3003]=_$_ba50[237],e[e[_$_ba50[233]]=3004]=_$_ba50[233],e[e[_$_ba50[1682]]=3100]=_$_ba50[1682],e[e[_$_ba50[1683]]=4e3]=_$_ba50[1683]}(t[_$_ba50[165]]||(t[_$_ba50[165]]={}))}function _0xB11E(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[167]]=void 0;var i=n(36166);t[_$_ba50[167]]=function(e,t,n,r){this[_$_ba50[1013]]=e,this[_$_ba50[62]]=i[_$_ba50[165]][e],this[_$_ba50[768]]=r,this[_$_ba50[89]]=null!=n?n:_$_ba50[90][_$_ba50[41]](this[_$_ba50[62]]),this[_$_ba50[1684]]=t,_$_ba50[34]==typeof Error[_$_ba50[1685]]?Error[_$_ba50[1685]](this,this[_$_ba50[232]]):this[_$_ba50[347]]=new Error(this[_$_ba50[89]])[_$_ba50[347]]}}function _0xB153(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[240]]=void 0;var i=n(59574),r=n(55579);t[_$_ba50[240]]=function(e,t,n){this[_$_ba50[65]]=i[_$_ba50[370]][_$_ba50[398]],this[_$_ba50[1013]]=e,this[_$_ba50[62]]=r[_$_ba50[241]][e],this[_$_ba50[89]]=t||_$_ba50[90][_$_ba50[41]](this[_$_ba50[1013]],_$_ba50[344])[_$_ba50[41]](this[_$_ba50[62]]),this[_$_ba50[1684]]=n}}function _0xB188(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[241]]=void 0,function(e){e[e[_$_ba50[1686]]=1e3]=_$_ba50[1686],e[e[_$_ba50[974]]=1001]=_$_ba50[974],e[e[_$_ba50[1687]]=1100]=_$_ba50[1687],e[e[_$_ba50[1688]]=1101]=_$_ba50[1688],e[e[_$_ba50[1689]]=1103]=_$_ba50[1689],e[e[_$_ba50[1690]]=1104]=_$_ba50[1690],e[e[_$_ba50[1691]]=1200]=_$_ba50[1691],e[e[_$_ba50[1692]]=1201]=_$_ba50[1692],e[e[_$_ba50[1693]]=1202]=_$_ba50[1693],e[e[_$_ba50[1694]]=1203]=_$_ba50[1694],e[e[_$_ba50[1695]]=1204]=_$_ba50[1695],e[e[_$_ba50[1696]]=1205]=_$_ba50[1696],e[e[_$_ba50[1697]]=1300]=_$_ba50[1697],e[e[_$_ba50[1698]]=1301]=_$_ba50[1698],e[e[_$_ba50[1699]]=1302]=_$_ba50[1699],e[e[_$_ba50[887]]=1303]=_$_ba50[887],e[e[_$_ba50[1700]]=1304]=_$_ba50[1700],e[e[_$_ba50[1701]]=1305]=_$_ba50[1701],e[e[_$_ba50[1702]]=1400]=_$_ba50[1702],e[e[_$_ba50[1703]]=1401]=_$_ba50[1703],e[e[_$_ba50[1704]]=1402]=_$_ba50[1704],e[e[_$_ba50[1705]]=2e3]=_$_ba50[1705],e[e[_$_ba50[1706]]=2001]=_$_ba50[1706],e[e[_$_ba50[1707]]=2002]=_$_ba50[1707],e[e[_$_ba50[1708]]=2003]=_$_ba50[1708],e[e[_$_ba50[1709]]=2100]=_$_ba50[1709],e[e[_$_ba50[1710]]=2101]=_$_ba50[1710],e[e[_$_ba50[1711]]=3e3]=_$_ba50[1711],e[e[_$_ba50[237]]=3001]=_$_ba50[237],e[e[_$_ba50[1712]]=3100]=_$_ba50[1712],e[e[_$_ba50[1713]]=3101]=_$_ba50[1713],e[e[_$_ba50[1714]]=3102]=_$_ba50[1714],e[e[_$_ba50[1715]]=3103]=_$_ba50[1715],e[e[_$_ba50[1716]]=3104]=_$_ba50[1716]}(t[_$_ba50[241]]||(t[_$_ba50[241]]={}))}function _0xB1BD(e,t,n){function i(e){return Object[_$_ba50[98]](e)[_$_ba50[264]](function(e){return e!==r[_$_ba50[617]][_$_ba50[767]]?-1:1})[_$_ba50[146]](function(t){return Boolean(e[t])})}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1191]]=t[_$_ba50[728]]=void 0;var r=n(59534),a=_$_ba50[1717],o=function(){function e(){this[_$_ba50[1718]]={},this[_$_ba50[152]]=new WeakMap}return e[_$_ba50[37]][_$_ba50[172]]=function(e,t){return void 0===t&&(t=a),Boolean(this[_$_ba50[177]](e,t))},e[_$_ba50[37]][_$_ba50[177]]=function(e,t){if(void 0===t&&(t=a),this[_$_ba50[1718]][t])return this[_$_ba50[1718]][t][e]},e[_$_ba50[37]][_$_ba50[1030]]=function(e,t,n){void 0===n&&(n=a),this[_$_ba50[1718]][n]||(this[_$_ba50[1718]][n]={}),this[_$_ba50[1718]][n][e]=t,t&&this[_$_ba50[152]][_$_ba50[1030]](t,n)},e[_$_ba50[37]][_$_ba50[1719]]=function(e){return this[_$_ba50[152]][_$_ba50[177]](e)},e[_$_ba50[37]][_$_ba50[769]]=function(e,t){void 0===t&&(t=a),this[_$_ba50[1718]][t]&&this[_$_ba50[1718]][t][e]&&(this[_$_ba50[152]][_$_ba50[769]](this[_$_ba50[1718]][t][e]),this[_$_ba50[1718]][t][e][_$_ba50[329]](),delete this[_$_ba50[1718]][t][e])},e[_$_ba50[37]][_$_ba50[619]]=function(e,t,n,i){return void 0===n&&(n=null),void 0===i&&(i=a),this[_$_ba50[172]](e,i)?t(this[_$_ba50[177]](e,i)):n},e[_$_ba50[37]][_$_ba50[329]]=function(){Object[_$_ba50[1544]](this[_$_ba50[1718]])[_$_ba50[140]](function(e){i(e)[_$_ba50[140]](function(t){e[t][_$_ba50[329]]()})}),this[_$_ba50[1718]]={},delete this[_$_ba50[152]]},e[_$_ba50[37]][_$_ba50[614]]=function(){var e=this;Object[_$_ba50[98]](this[_$_ba50[1718]])[_$_ba50[146]](function(e){return e!==a})[_$_ba50[140]](function(t){i(e[_$_ba50[1718]][t])[_$_ba50[140]](function(n){e[_$_ba50[769]](n,t)}),delete e[_$_ba50[1718]][t]})},e}();t[_$_ba50[728]]=o,t[_$_ba50[1191]]=function(e,t,n){void 0===n&&(n=a);var i=e[_$_ba50[177]](t,n);i&&(i[_$_ba50[329]](),e[_$_ba50[1030]](t,null,n))}}function _0xB1F2(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[617]]=void 0,function(e){e[_$_ba50[1720]]=_$_ba50[1720],e[_$_ba50[1053]]=_$_ba50[1053],e[_$_ba50[616]]=_$_ba50[616],e[_$_ba50[1721]]=_$_ba50[1721],e[_$_ba50[1722]]=_$_ba50[1722],e[_$_ba50[1045]]=_$_ba50[1045],e[_$_ba50[1723]]=_$_ba50[1723],e[_$_ba50[1724]]=_$_ba50[1724],e[_$_ba50[1725]]=_$_ba50[1725],e[_$_ba50[1031]]=_$_ba50[1031],e[_$_ba50[872]]=_$_ba50[872],e[_$_ba50[1726]]=_$_ba50[1726],e[_$_ba50[767]]=_$_ba50[767],e[_$_ba50[1032]]=_$_ba50[1032],e[_$_ba50[1029]]=_$_ba50[1029],e[_$_ba50[1727]]=_$_ba50[1727],e[_$_ba50[1728]]=_$_ba50[1728],e[_$_ba50[1729]]=_$_ba50[1729],e[_$_ba50[1033]]=_$_ba50[1033],e[_$_ba50[1730]]=_$_ba50[1730]}(t[_$_ba50[617]]||(t[_$_ba50[617]]={}))}function _0xB227(e,t,n){function i(e){return _$_ba50[1768][_$_ba50[41]](e)}_$_ba50[32];var r=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n0&&i[_$_ba50[1741]]()},this[_$_ba50[1742]]=function(e,t,n,r){if(void 0===r&&(r=!0),i[_$_ba50[1743]](e,t,n)){var a=i[_$_ba50[1744]](n),o=0,_=i[_$_ba50[1745]](t,e);a[e][_$_ba50[140]](function(t){var n=i[_$_ba50[1746]][_$_ba50[72]]()||new u;n[_$_ba50[1030]](t[_$_ba50[54]],e,i[_$_ba50[710]],_,r),i[_$_ba50[1739]][_$_ba50[57]](n),o+=t[_$_ba50[1747]]?1:0}),o0&&i[_$_ba50[1741]]()}},this[_$_ba50[717]]=function(e,t,n){void 0===n&&(n=!0),i[_$_ba50[711]]||i[_$_ba50[1750]](e,t,n)},this[_$_ba50[604]]=function(e){var t=i[_$_ba50[1739]][_$_ba50[149]](function(t,n,i){return n[_$_ba50[1733]](e)?t[_$_ba50[41]](i):t},[]);for(t[_$_ba50[264]](function(e,t){return e-t});t[_$_ba50[26]]>0;)i[_$_ba50[1739]][_$_ba50[119]](t[_$_ba50[72]](),1)},this[_$_ba50[1751]]=function(e){e[_$_ba50[1684]]===i[_$_ba50[1752]]&&(window[_$_ba50[78]](_$_ba50[89],i[_$_ba50[1751]]),i[_$_ba50[1738]]())},this[_$_ba50[289]]=e,this[_$_ba50[710]]=t,this[_$_ba50[99]]={internal:{},external:{}},this[_$_ba50[711]]=!1,this[_$_ba50[708]]=!1,this[_$_ba50[1739]]=[],this[_$_ba50[1746]]=[],o[_$_ba50[370]])o[_$_ba50[370]][_$_ba50[229]](r)&&(this[_$_ba50[99]][_$_ba50[1197]][o[_$_ba50[370]][r]]=[],this[_$_ba50[99]][_$_ba50[1753]][o[_$_ba50[370]][r]]=[]);this[_$_ba50[1754]]=[],this[_$_ba50[1752]]=_$_ba50[90][_$_ba50[41]](_,_$_ba50[81])[_$_ba50[41]](n)}return e[_$_ba50[37]][_$_ba50[1740]]=function(e){try{e[_$_ba50[36]](),e[_$_ba50[1047]](),this[_$_ba50[1746]][_$_ba50[57]](e)}catch(e){this[_$_ba50[289]][_$_ba50[38]](_$_ba50[1755],e)}},e[_$_ba50[37]][_$_ba50[1745]]=function(e,t){return r({type:t,timestamp:Date[_$_ba50[817]]()},e)},e[_$_ba50[37]][_$_ba50[1743]]=function(e,t,n){var i=this[_$_ba50[1744]](n),r=i[_$_ba50[229]](e)&&i[e][_$_ba50[26]];return Boolean(!this[_$_ba50[711]]&&r)},e[_$_ba50[37]][_$_ba50[1756]]=function(e){this[_$_ba50[1739]]=this[_$_ba50[1739]][_$_ba50[146]](function(t){return!t[_$_ba50[1733]](e)})},e[_$_ba50[37]][_$_ba50[69]]=function(e,t,n){var i=this[_$_ba50[1744]](n);i[_$_ba50[229]](e)&&(i[e]=i[e][_$_ba50[146]](function(e){return e[_$_ba50[54]]!==t}))},e[_$_ba50[37]][_$_ba50[1757]]=function(e,t){if(e&&e instanceof a[_$_ba50[167]]){var n={type:o[_$_ba50[370]][_$_ba50[397]],timestamp:Date[_$_ba50[817]](),code:e[_$_ba50[1013]],name:e[_$_ba50[62]],message:e[_$_ba50[89]],data:e[_$_ba50[1684]],troubleShootLink:i(e[_$_ba50[1013]])};t&&(n[_$_ba50[768]]=e[_$_ba50[768]]),this[_$_ba50[1742]](o[_$_ba50[370]][_$_ba50[397]],n,t)}else this[_$_ba50[289]][_$_ba50[73]](_$_ba50[1758],e)},e[_$_ba50[37]][_$_ba50[1744]]=function(e){return e?this[_$_ba50[99]][_$_ba50[1197]]:this[_$_ba50[99]][_$_ba50[1753]]},e[_$_ba50[37]][_$_ba50[1750]]=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!0),e===o[_$_ba50[370]][_$_ba50[397]]){var i=t;i[_$_ba50[229]](_$_ba50[1013])||(i[_$_ba50[1013]]=3e3)}t&&!t[_$_ba50[229]](_$_ba50[1759])&&(t[_$_ba50[1759]]=Date[_$_ba50[817]]()),this[_$_ba50[1742]](e,t,!0,n),this[_$_ba50[1754]][_$_ba50[26]]>0&&!this[_$_ba50[1760]](e,t)||this[_$_ba50[1742]](e,t,!1,n)},e[_$_ba50[37]][_$_ba50[1760]]=function(e,t){return this[_$_ba50[1754]][_$_ba50[280]](function(n){return n(e,t)})},e[_$_ba50[37]][_$_ba50[1761]]=function(e,t,n,i){void 0===n&&(n=!1),void 0===i&&(i=!0);var r=this[_$_ba50[1744]](n);r[_$_ba50[229]](e)&&t&&!r[e][_$_ba50[801]](function(e){return e&&e[_$_ba50[54]]===t})&&r[e][_$_ba50[57]]({listener:t,repeatable:i})},e[_$_ba50[37]][_$_ba50[75]]=function(e,t,n){void 0===n&&(n=!1),this[_$_ba50[1761]](e,t,n)},e[_$_ba50[37]][_$_ba50[1762]]=function(e,t,n){void 0===n&&(n=!1),this[_$_ba50[1761]](e,t,n,!1)},e[_$_ba50[37]][_$_ba50[935]]=function(e,t){for(var n in void 0===t&&(t=!1),e)e[_$_ba50[229]](n)&&this[_$_ba50[75]](n,e[n],t)},e[_$_ba50[37]][_$_ba50[96]]=function(e,t,n){void 0===n&&(n=!0),n&&this[_$_ba50[1756]](t),this[_$_ba50[69]](e,t,!0),this[_$_ba50[69]](e,t,!1)},e[_$_ba50[37]][_$_ba50[753]]=function(){var e=this;return function(t,n,i,r){void 0===i&&(i=!1),void 0===r&&(r=!0),e[_$_ba50[717]](t,n,r)}},e[_$_ba50[37]][_$_ba50[1162]]=function(e){this[_$_ba50[1754]][_$_ba50[29]](e)<0&&this[_$_ba50[1754]][_$_ba50[57]](e)},e[_$_ba50[37]][_$_ba50[1163]]=function(e){var t=this[_$_ba50[1754]][_$_ba50[29]](e);t>=0&&this[_$_ba50[1754]][_$_ba50[119]](t,1)},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[1739]]=this[_$_ba50[1739]][_$_ba50[146]](function(e){return!e[_$_ba50[1736]]}),this[_$_ba50[711]]=!0,this[_$_ba50[1750]]=null,this[_$_ba50[1754]]=null,this[_$_ba50[1738]]()},e[_$_ba50[37]][_$_ba50[1088]]=function(){this[_$_ba50[708]]=!0},e[_$_ba50[37]][_$_ba50[632]]=function(e){var t,n;this[_$_ba50[1757]](e,!0),this[_$_ba50[1760]](o[_$_ba50[370]][_$_ba50[397]],e)&&this[_$_ba50[1757]](e,!1),this[_$_ba50[289]][_$_ba50[73]](_$_ba50[1764][_$_ba50[41]](e[_$_ba50[1013]],_$_ba50[344])[_$_ba50[41]](e[_$_ba50[62]],_$_ba50[1763])[_$_ba50[41]](null!==(t=e[_$_ba50[89]])&&void 0!==t?t:_$_ba50[90]),null!==(n=e[_$_ba50[1684]])&&void 0!==n?n:_$_ba50[60])},e[_$_ba50[37]][_$_ba50[1741]]=function(){this[_$_ba50[1737]]||(this[_$_ba50[1737]]=!0,window[_$_ba50[76]](_$_ba50[89],this[_$_ba50[1751]]),window[_$_ba50[1767]](this[_$_ba50[1752]],location[_$_ba50[1765]]+location[_$_ba50[1766]]))},e}();t[_$_ba50[700]]=c,t[_$_ba50[1731]]=i}function _0xB25C(e,t,n){function i(e){return _$_ba50[1771]in e}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1769]]=t[_$_ba50[1770]]=void 0;var r=n(59574),a=n(64148),o=n(29220);t[_$_ba50[1770]]=function(e,t,n){null!=e&&e!==t&&n&&n[_$_ba50[717]](r[_$_ba50[370]][_$_ba50[514]],{from:e,to:t})},t[_$_ba50[1769]]=function(e,t){var n;void 0===t&&(t=!1);var r=i(e)?e[_$_ba50[1771]][_$_ba50[1013]]:e[_$_ba50[1013]],s=i(e)?e[_$_ba50[1099]]:JSON[_$_ba50[291]](e),_=i(e)?e[_$_ba50[1771]]:{errorMessage:JSON[_$_ba50[291]](e),code:r};t&&(_[_$_ba50[1772]]=s);var u=null!==(n=o[_$_ba50[1232]][o[_$_ba50[1233]][r]])&&void 0!==n?n:a[_$_ba50[165]][_$_ba50[1290]];return new a[_$_ba50[167]](u,_,_$_ba50[1773])}}function _0xB291(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1144]]=void 0;var i=n(34742),r=n(83123),a=n(41609),o=n(15949),s=n(40409),_=function(){function e(e,t){this[_$_ba50[1774]]=!1,this[_$_ba50[1775]]=s[_$_ba50[1776]]+_$_ba50[1777],this[_$_ba50[1778]]=new r[_$_ba50[1779]]({settings:{RETRY_DELAY:0,INCREASE_RETRY_DELAY:!1,INCREASE_RETRY_DELAY_BASE_SEC:0,MAX_INCREASE_RETRY_DELAY_SEC:0,QUERY_PARAMETERS:[],HTTP_HEADERS:null,XHR_TIMEOUT:2e4,DISABLE_RETRY_FOR_RESPONSE_STATUS:{}},logger:e}),this[_$_ba50[662]](t)}return e[_$_ba50[37]][_$_ba50[668]]=function(e,t){var n=this;if(this[_$_ba50[1774]])return Promise[_$_ba50[586]](void 0);this[_$_ba50[1774]]=!0;var r={domain:i[_$_ba50[334]][_$_ba50[338]],key:e,version:i[_$_ba50[334]][_$_ba50[358]],type:_$_ba50[1780]+t};return this[_$_ba50[1778]][_$_ba50[1025]](this[_$_ba50[1781]],a[_$_ba50[1251]][_$_ba50[1303]],null,JSON[_$_ba50[291]](r))[_$_ba50[185]](function(e){return e},function(i){return n[_$_ba50[1781]]!==n[_$_ba50[1775]]&&(0,o[_$_ba50[626]])()[_$_ba50[1429]]?(n[_$_ba50[1774]]=!1,n[_$_ba50[662]](n[_$_ba50[1775]]),n[_$_ba50[668]](e,t)):i})},e[_$_ba50[37]][_$_ba50[662]]=function(e){e&&(this[_$_ba50[1781]]=e)},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[1774]]=!1},e}();t[_$_ba50[1144]]=_}function _0xB2C6(e,t,n){function i(e){if(_$_ba50[982]==typeof e)try{return JSON[_$_ba50[292]](e)}catch(e){return{}}return e}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[926]]=void 0;var r,a=n(34742),o=n(83123),s=n(41609),_=n(15949),u=n(40409);!function(e){e[_$_ba50[1782]]=_$_ba50[1783],e[_$_ba50[1784]]=_$_ba50[1785]}(r||(r={}));var c=[_$_ba50[337],_$_ba50[1786]],l=u[_$_ba50[1776]]+_$_ba50[1787],d=function(){function e(e,t,n){this[_$_ba50[1788]]=0,this[_$_ba50[1789]]=[],this[_$_ba50[1790]]=!1,this[_$_ba50[1791]]=void 0,this[_$_ba50[1792]]=t,this[_$_ba50[665]]=n,this[_$_ba50[1778]]=new o[_$_ba50[1779]]({settings:{RETRY_DELAY:0,INCREASE_RETRY_DELAY:!1,INCREASE_RETRY_DELAY_BASE_SEC:0,MAX_INCREASE_RETRY_DELAY_SEC:0,QUERY_PARAMETERS:[],HTTP_HEADERS:null,XHR_TIMEOUT:2e4,DISABLE_RETRY_FOR_RESPONSE_STATUS:{}},logger:e})}return e[_$_ba50[37]][_$_ba50[668]]=function(e){var t=this;this[_$_ba50[1793]]()?setTimeout(function(){return e(!0)},0):this[_$_ba50[665]]?this[_$_ba50[1791]]?setTimeout(function(){return e(t[_$_ba50[1791]][_$_ba50[1783]],t[_$_ba50[1791]][_$_ba50[1794]],t[_$_ba50[1791]][_$_ba50[1684]])},0):(this[_$_ba50[1789]][_$_ba50[57]](e),this[_$_ba50[1790]]||(this[_$_ba50[1790]]=!0,setTimeout(function(){t[_$_ba50[1795]](t[_$_ba50[665]],t[_$_ba50[1792]])},this[_$_ba50[1788]]))):setTimeout(function(){return e(!1,{validationInformation:[{key:_$_ba50[665],errorMessage:_$_ba50[1796]}]})},0)},e[_$_ba50[37]][_$_ba50[1793]]=function(){return c[_$_ba50[792]](a[_$_ba50[334]][_$_ba50[338]])||!this[_$_ba50[1792]]},e[_$_ba50[1797]]=function(e){var t={granted:!1,payload:{},data:{}};return e&&e[_$_ba50[1798]]&&(t[_$_ba50[1684]][_$_ba50[1798]]={key:e[_$_ba50[1798]]}),e&&e[_$_ba50[229]](_$_ba50[1799])&&(e[_$_ba50[1799]]===r[_$_ba50[1782]]?(t[_$_ba50[1783]]=!0,t[_$_ba50[1794]]=function(e){var t={};return e[_$_ba50[229]](_$_ba50[1805])&&e[_$_ba50[1805]]&&(t[_$_ba50[1805]]=!0),e[_$_ba50[229]](_$_ba50[1806])&&(t[_$_ba50[1806]]=e[_$_ba50[1806]]),e[_$_ba50[229]](_$_ba50[1807])&&(t[_$_ba50[1807]]=e[_$_ba50[1807]]),e[_$_ba50[229]](_$_ba50[1808])&&(t[_$_ba50[1808]]=e[_$_ba50[1808]]),t}(e)):e[_$_ba50[1799]]===r[_$_ba50[1784]]&&(t[_$_ba50[1783]]=!1,t[_$_ba50[1794]]={message:e[_$_ba50[89]]})),t},e[_$_ba50[1800]]=function(e){var t={granted:!1,payload:{},data:{}};return e&&e[_$_ba50[229]](_$_ba50[1097])?(t[_$_ba50[1783]]=!1,t[_$_ba50[1794]]=e):t[_$_ba50[1783]]=!0,t},e[_$_ba50[37]][_$_ba50[1801]]=function(e){for(var t=0,n=this[_$_ba50[1789]];t=0;n--)if(e[n][_$_ba50[1868]]<=t)return e[n]}_$_ba50[32];var o=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=t&&e[_$_ba50[253]]<=t},e[_$_ba50[37]][_$_ba50[1863]]=function(e){for(var t=0;t0){var u=this[_$_ba50[1821]][this[_$_ba50[1821]][_$_ba50[26]]-1];if(_[_$_ba50[1007]][_$_ba50[1869]](n,u[_$_ba50[1827]])&&e>=u[_$_ba50[253]]&&e-.5<=u[_$_ba50[254]])return this[_$_ba50[91]][_$_ba50[289]][_$_ba50[1141]](_$_ba50[1870]+e+_$_ba50[1571]+t+_$_ba50[1871]+n),void(this[_$_ba50[1821]][this[_$_ba50[1821]][_$_ba50[26]]-1][_$_ba50[254]]=Math[_$_ba50[261]](t,u[_$_ba50[254]]))}var c=JSON[_$_ba50[291]](n);c[_$_ba50[26]]>500&&(c=c[_$_ba50[25]](0,497)+_$_ba50[1872]),this[_$_ba50[91]][_$_ba50[289]][_$_ba50[1141]](_$_ba50[1873]+e+_$_ba50[1571]+t+_$_ba50[1871]+c),this[_$_ba50[1821]][_$_ba50[57]](s)}},e[_$_ba50[37]][_$_ba50[1874]]=function(e,t){t=t||0;for(var n=0,a=0,o=e;at){var _=i(s),u=r(s);this[_$_ba50[1820]](s[_$_ba50[253]],s[_$_ba50[254]],_,u),n=Math[_$_ba50[261]](n,s[_$_ba50[254]])}}return n},e[_$_ba50[37]][_$_ba50[1867]]=function(e,t,n){return this[_$_ba50[1821]][_$_ba50[841]](function(i){return i[_$_ba50[253]]===e&&i[_$_ba50[254]]===t&&_[_$_ba50[1007]][_$_ba50[1869]](i[_$_ba50[1827]],n)})},e[_$_ba50[37]][_$_ba50[1847]]=function(e){for(var t=0;t=e})},e[_$_ba50[37]][_$_ba50[1849]]=function(){this[_$_ba50[1856]](-1),this[_$_ba50[1823]]=[],this[_$_ba50[1852]]=[],this[_$_ba50[1821]]=[]},e[_$_ba50[37]][_$_ba50[1875]]=function(){this[_$_ba50[1849]](),this[_$_ba50[1876]]()},e[_$_ba50[37]][_$_ba50[1876]]=function(){this[_$_ba50[1856]](-1),this[_$_ba50[1823]]=[],this[_$_ba50[1852]]=[]},e[_$_ba50[37]][_$_ba50[1844]]=function(){this[_$_ba50[1853]]({time:this[_$_ba50[1397]][_$_ba50[837]]()})},e[_$_ba50[37]][_$_ba50[1877]]=function(){return!0},e[_$_ba50[37]][_$_ba50[1878]]=function(e){this[_$_ba50[1824]]=e},e[_$_ba50[37]][_$_ba50[329]]=function(){\nthis[_$_ba50[1821]]=[],this[_$_ba50[1823]]=[],this[_$_ba50[1852]]=[],this[_$_ba50[1861]]()},e[_$_ba50[37]][_$_ba50[1848]]=function(){return this[_$_ba50[1821]]},e}();t[_$_ba50[1819]]=u}function _0xB404(e,t,n){function i(){return{requestType:c[_$_ba50[1253]][_$_ba50[1292]],maxRetries:0}}_$_ba50[32];var r=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=0&&e[_$_ba50[1920]]>=e[_$_ba50[1921]])return;var t=n[_$_ba50[1924]][_$_ba50[1923]](n[_$_ba50[1922]][_$_ba50[253]]);n[_$_ba50[1398]][_$_ba50[1917]](r(r({},e),{elapsedTime:t}))}},this[_$_ba50[1907]]=function(e){n[_$_ba50[1925]]++;var t=e[_$_ba50[1926]]&&e[_$_ba50[1926]][_$_ba50[1799]],i=e[_$_ba50[1926]]?e[_$_ba50[1926]][_$_ba50[1182]]:null;return!t&&n[_$_ba50[1398]][_$_ba50[1927]]&&function(e){return _$_ba50[982]==typeof e&&(0,f[_$_ba50[1981]])()[_$_ba50[336]][_$_ba50[792]](p[_$_ba50[1894]][_$_ba50[1966]](e))}(i)&&(n[_$_ba50[1925]]=0),e[_$_ba50[73]]===g[_$_ba50[1901]][_$_ba50[1928]]?n[_$_ba50[1912]](e[_$_ba50[73]],null):n[_$_ba50[1906]](e[_$_ba50[1926]])[_$_ba50[185]](function(i){return n[_$_ba50[1914]][_$_ba50[1929]]&&_$_ba50[34]==typeof n[_$_ba50[1914]][_$_ba50[1929]]?n[_$_ba50[1929]](e[_$_ba50[73]],i):t&&n[_$_ba50[1910]](i[_$_ba50[1799]])?n[_$_ba50[1912]](_$_ba50[1930]+i[_$_ba50[1799]],i):n[_$_ba50[1925]]<=n[_$_ba50[1398]][_$_ba50[1931]]?n[_$_ba50[1932]]()[_$_ba50[883]](n[_$_ba50[1907]]):n[_$_ba50[1912]](_$_ba50[1933],e[_$_ba50[1926]])})},this[_$_ba50[1912]]=function(e,t){var i=n[_$_ba50[1925]];return n[_$_ba50[684]](),n[_$_ba50[1919]]=!1,n[_$_ba50[1934]](!1,t,i),n[_$_ba50[1398]][_$_ba50[1935]](t,{name:e},i-1),Promise[_$_ba50[889]](t)},this[_$_ba50[91]]=e,this[_$_ba50[1914]]=this[_$_ba50[91]][_$_ba50[1398]]&&this[_$_ba50[91]][_$_ba50[1398]][_$_ba50[1936]]||{},s[_$_ba50[160]][_$_ba50[172]](_[_$_ba50[187]][_$_ba50[202]])&&(this[_$_ba50[1897]]=s[_$_ba50[160]][_$_ba50[177]](_[_$_ba50[187]][_$_ba50[202]])),this[_$_ba50[1398]]=r(r({},i()),t),this[_$_ba50[1924]]=new m[_$_ba50[1937]](this[_$_ba50[91]]),this[_$_ba50[44]]()}return e[_$_ba50[37]][_$_ba50[1938]]=function(e,t,n){return Math[_$_ba50[260]](Math[_$_ba50[1939]](e*t),n)},e[_$_ba50[37]][_$_ba50[1934]]=function(e,t,n){t&&this[_$_ba50[1398]][_$_ba50[1940]]&&this[_$_ba50[717]](u[_$_ba50[370]][_$_ba50[448]],{type:u[_$_ba50[370]][_$_ba50[448]],timestamp:Date[_$_ba50[817]](),httpStatus:t[_$_ba50[1799]],success:e,url:t[_$_ba50[1182]],downloadTime:(0,o[_$_ba50[818]])(b[_$_ba50[1007]][_$_ba50[1942]]((0,o[_$_ba50[1247]])(t[_$_ba50[1941]]),0)),size:t[_$_ba50[26]]||0,attempt:n,maxAttempts:this[_$_ba50[1398]][_$_ba50[1931]]+1,downloadType:this[_$_ba50[1398]][_$_ba50[1940]],mimeType:this[_$_ba50[1846]],timeToFirstByte:t[_$_ba50[1943]]})},e[_$_ba50[37]][_$_ba50[1944]]=function(){return this[_$_ba50[1919]]},e[_$_ba50[37]][_$_ba50[1945]]=function(){return this[_$_ba50[1925]]>0},e[_$_ba50[37]][_$_ba50[1946]]=function(e){this[_$_ba50[1398]][_$_ba50[1927]]=e},e[_$_ba50[37]][_$_ba50[1947]]=function(e){this[_$_ba50[1398]][_$_ba50[1931]]=e},e[_$_ba50[37]][_$_ba50[1888]]=function(e){return p[_$_ba50[1894]][_$_ba50[1949]](e,this[_$_ba50[786]][_$_ba50[1948]])},e[_$_ba50[37]][_$_ba50[1795]]=function(e){var t=this;if(this[_$_ba50[1918]])return Promise[_$_ba50[889]]({error:g[_$_ba50[1901]][_$_ba50[1928]],response:null});this[_$_ba50[1922]]&&this[_$_ba50[1924]][_$_ba50[1047]](this[_$_ba50[1922]]);var n=_$_ba50[1950]+b[_$_ba50[1007]][_$_ba50[1348]]();return this[_$_ba50[1922]]={start:n+a[_$_ba50[253]]},this[_$_ba50[1924]][_$_ba50[1951]](this[_$_ba50[1922]][_$_ba50[253]]),this[_$_ba50[1892]]=e,this[_$_ba50[1919]]=!0,this[_$_ba50[1952]](),this[_$_ba50[1954]][_$_ba50[1953]]()[_$_ba50[185]](function(e){return null==e[_$_ba50[1941]]&&(e[_$_ba50[1941]]=t[_$_ba50[1924]][_$_ba50[1923]](t[_$_ba50[1922]][_$_ba50[253]]),e[_$_ba50[1943]]=0),e})},e[_$_ba50[37]][_$_ba50[1955]]=function(){var e;return this[_$_ba50[1914]][_$_ba50[1956]]&&_$_ba50[34]==typeof this[_$_ba50[1914]][_$_ba50[1956]]&&(e=this[_$_ba50[1914]][_$_ba50[1956]](this[_$_ba50[1398]][_$_ba50[1940]],this[_$_ba50[1892]])),e&&_$_ba50[34]==typeof e[_$_ba50[1953]]||(e=this[_$_ba50[1887]]?new this[_$_ba50[1897]][_$_ba50[1958]](this[_$_ba50[91]],this[_$_ba50[1892]],(0,o[_$_ba50[1247]])(this[_$_ba50[786]][_$_ba50[1957]])):this[_$_ba50[1959]]()),e},e[_$_ba50[37]][_$_ba50[1952]]=function(){var e=this,t=this[_$_ba50[1955]]();t[_$_ba50[1960]](function(t){return e[_$_ba50[1917]](t)});var n=h[_$_ba50[1962]][_$_ba50[1961]](t[_$_ba50[1953]]());this[_$_ba50[1954]]={getResponse:function(){return n},cancel:function(){t[_$_ba50[1902]](),n[_$_ba50[1902]]({error:g[_$_ba50[1901]][_$_ba50[1928]],response:null})},setProgressListener:t[_$_ba50[1960]]}},e[_$_ba50[37]][_$_ba50[1959]]=function(){var e=(0,o[_$_ba50[1247]])(this[_$_ba50[786]][_$_ba50[1957]]);return this[_$_ba50[1398]][_$_ba50[1963]]&&(e=-1),new $[_$_ba50[1964]](this[_$_ba50[91]][_$_ba50[289]],this[_$_ba50[1892]],e)},e[_$_ba50[37]][_$_ba50[1915]]=function(e,t){return t&&_$_ba50[34]==typeof t?Promise[_$_ba50[586]](t(this[_$_ba50[1398]][_$_ba50[1940]],e)||e):Promise[_$_ba50[586]](e)},e[_$_ba50[37]][_$_ba50[1899]]=function(e){this[_$_ba50[1919]]=!1,this[_$_ba50[1934]](!0,e,this[_$_ba50[1925]]+1),this[_$_ba50[1398]][_$_ba50[1965]](e,e[_$_ba50[1941]],e[_$_ba50[1182]]),this[_$_ba50[684]](),e[_$_ba50[1182]]&&(0,f[_$_ba50[332]])()[_$_ba50[153]]((0,d[_$_ba50[1967]])(p[_$_ba50[1894]][_$_ba50[1966]](e[_$_ba50[1182]])))},e[_$_ba50[37]][_$_ba50[1929]]=function(e,t){var n=this,i=this[_$_ba50[1914]][_$_ba50[1929]](this[_$_ba50[1398]][_$_ba50[1940]],t,this[_$_ba50[1925]]);return Promise[_$_ba50[586]](i)[_$_ba50[185]](function(e){return e[_$_ba50[1968]]?(n[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1969],e),n[_$_ba50[1912]](_$_ba50[1969],t)):n[_$_ba50[1795]](e)[_$_ba50[883]](n[_$_ba50[1907]])})[_$_ba50[883]](function(){return n[_$_ba50[1912]](e,t)})},e[_$_ba50[37]][_$_ba50[1932]]=function(){var e=this,t=this[_$_ba50[1398]][_$_ba50[1970]],n=_$_ba50[1971];return this[_$_ba50[786]][_$_ba50[1972]]&&(t=this[_$_ba50[1938]](this[_$_ba50[786]][_$_ba50[1973]],this[_$_ba50[1925]],this[_$_ba50[786]][_$_ba50[1974]]),n=_$_ba50[1975]),this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[1976]+n+_$_ba50[1977]+t+_$_ba50[1978]+this[_$_ba50[1925]]),new Promise(function(n,i){var r=setTimeout(function(){e[_$_ba50[1795]](e[_$_ba50[1892]])[_$_ba50[185]](n)[_$_ba50[883]](i)},(0,o[_$_ba50[1247]])(t));e[_$_ba50[1979]]=function(){e[_$_ba50[1979]]=null,clearTimeout(r),i({error:g[_$_ba50[1901]][_$_ba50[1928]],response:null})}})},e[_$_ba50[37]][_$_ba50[1910]]=function(e){return this[_$_ba50[1398]][_$_ba50[1940]]in this[_$_ba50[786]][_$_ba50[1980]]&&this[_$_ba50[786]][_$_ba50[1980]][this[_$_ba50[1398]][_$_ba50[1940]]][_$_ba50[792]](e)},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[1925]]=0,this[_$_ba50[1918]]=!1,this[_$_ba50[1979]]&&_$_ba50[34]==typeof this[_$_ba50[1979]]&&this[_$_ba50[1979]]()},e[_$_ba50[37]][_$_ba50[1902]]=function(){this[_$_ba50[1918]]=!0,this[_$_ba50[1919]]&&(this[_$_ba50[1919]]=!1,this[_$_ba50[1979]]&&this[_$_ba50[1979]](),this[_$_ba50[1954]]&&this[_$_ba50[1954]][_$_ba50[1902]]())},e[_$_ba50[37]][_$_ba50[44]]=function(){function e(){}var t=[_$_ba50[1965],_$_ba50[1935]];this[_$_ba50[1925]]=0;var n={};b[_$_ba50[1007]][_$_ba50[1620]](n,l[_$_ba50[692]]),this[_$_ba50[786]]=this[_$_ba50[91]][_$_ba50[786]]||n;for(var i=0;i-1&&e[_$_ba50[2026]]>-1&&e[_$_ba50[2028]]>-1}(i)&&(_[_$_ba50[1943]]=i[_$_ba50[2026]]-i[_$_ba50[2027]],_[_$_ba50[1941]]=i[_$_ba50[2028]]-i[_$_ba50[2027]]),t[_$_ba50[1926]]&&(_[_$_ba50[1803]]=this[_$_ba50[2030]](t,n[_$_ba50[2029]]),_[_$_ba50[26]]=t[_$_ba50[1926]][_$_ba50[2031]]||t[_$_ba50[1926]][_$_ba50[26]]||0),_},e[_$_ba50[2030]]=function(e,t){var n;if(t===a[_$_ba50[1252]][_$_ba50[1298]]&&(null===(n=e[_$_ba50[2033]](_$_ba50[2032]))||void 0===n?void 0:n[_$_ba50[792]](_$_ba50[2034]))&&_$_ba50[982]==typeof e[_$_ba50[1926]])try{return JSON[_$_ba50[292]](e[_$_ba50[1926]])}catch(e){return null}return e[_$_ba50[1926]]},e[_$_ba50[2035]]=function(e,t){t&&Object[_$_ba50[98]](t)[_$_ba50[26]]>0&&Object[_$_ba50[98]](t)[_$_ba50[140]](function(n){e[_$_ba50[2036]](n,t[n])})},e[_$_ba50[1890]]=function(){function e(e){e&&Object[_$_ba50[98]](e)[_$_ba50[140]](function(t){var n=i(r,t);n?r[n]=e[t]:r[t]=e[t]})}for(var t=[],n=0;n0&&e[_$_ba50[1941]]>=0&&e[_$_ba50[1943]]>=0&&e[_$_ba50[1941]]>e[_$_ba50[1943]]}}function _0xB5AC(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1964]]=void 0;var i=n(49520),r=n(31291),a=n(8790),o=function(){function e(e,t,n){var i=this;this[_$_ba50[1960]]=function(e){i[_$_ba50[1968]][_$_ba50[75]](r[_$_ba50[2003]][_$_ba50[2012]],function(t){return e(t)})},this[_$_ba50[1968]]=new a[_$_ba50[2037]](e,t,n)}return e[_$_ba50[37]][_$_ba50[1953]]=function(){return this[_$_ba50[2038]]=this[_$_ba50[2038]]||this[_$_ba50[1968]][_$_ba50[2039]](),this[_$_ba50[2038]]},e[_$_ba50[37]][_$_ba50[1902]]=function(){this[_$_ba50[1968]][_$_ba50[1903]](i[_$_ba50[1901]][_$_ba50[1928]])},e}();t[_$_ba50[1964]]=o}function _0xB5E1(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=200&&i[_$_ba50[2048]][_$_ba50[1799]]<300;i[_$_ba50[2044]][_$_ba50[2028]]=t,n&&null!==i[_$_ba50[2048]][_$_ba50[1926]]?i[_$_ba50[586]](_[_$_ba50[1891]][_$_ba50[2020]](i[_$_ba50[2048]],i[_$_ba50[1892]],i[_$_ba50[2044]])):i[_$_ba50[2051]](a[_$_ba50[1901]][_$_ba50[1900]]),i[_$_ba50[329]]()}},this[_$_ba50[289]]=e,this[_$_ba50[1892]]=t,this[_$_ba50[2015]]=n,this[_$_ba50[99]]={},this[_$_ba50[2052]]=!1,this[_$_ba50[2044]]={sendTimestamp:-1,openedTimestamp:-1,headersReceivedTimestamp:-1,progressTimestamp:-1,doneTimestamp:-1},this[_$_ba50[2013]]={totalBytes:-1,loadedBytes:-1,url:t[_$_ba50[1182]],responseTiming:this[_$_ba50[2044]]}}return e[_$_ba50[37]][_$_ba50[75]]=function(e,t){this[_$_ba50[99]]=this[_$_ba50[99]]||{},this[_$_ba50[99]][e]=this[_$_ba50[99]][e]||[],this[_$_ba50[99]][e][_$_ba50[57]](t)},e[_$_ba50[37]][_$_ba50[2045]]=function(){var e,t=this;(null!==(e=this[_$_ba50[99]][s[_$_ba50[2003]][_$_ba50[2012]]])&&void 0!==e?e:[])[_$_ba50[140]](function(e){return e(i({},t[_$_ba50[2013]]))})},e[_$_ba50[37]][_$_ba50[2039]]=function(){var e=this;return this[_$_ba50[2048]]=new XMLHttpRequest,this[_$_ba50[2052]]=!1,new Promise(function(t,n){e[_$_ba50[586]]=t,e[_$_ba50[889]]=n;try{e[_$_ba50[2048]][_$_ba50[76]](s[_$_ba50[2003]][_$_ba50[2012]],e[_$_ba50[2040]]),e[_$_ba50[2048]][_$_ba50[76]](s[_$_ba50[2003]][_$_ba50[2004]],e[_$_ba50[2046]])}catch(n){return e[_$_ba50[289]][_$_ba50[278]](_$_ba50[2053],n),t(e[_$_ba50[2039]]())}e[_$_ba50[2044]][_$_ba50[2054]]=o[_$_ba50[2001]][_$_ba50[2002]](),e[_$_ba50[2048]][_$_ba50[2055]](e[_$_ba50[1892]][_$_ba50[1318]],e[_$_ba50[1892]][_$_ba50[1182]]),e[_$_ba50[2048]][_$_ba50[2056]]=_$_ba50[1895]===e[_$_ba50[1892]][_$_ba50[2057]],e[_$_ba50[2045]](),_[_$_ba50[1891]][_$_ba50[2035]](e[_$_ba50[2048]],e[_$_ba50[1892]][_$_ba50[2058]]),e[_$_ba50[1892]][_$_ba50[2029]]&&(e[_$_ba50[2048]][_$_ba50[2029]]=e[_$_ba50[1892]][_$_ba50[2029]]),clearTimeout(e[_$_ba50[2059]]),e[_$_ba50[2015]]>0&&(e[_$_ba50[2059]]=setTimeout(function(){return e[_$_ba50[1903]](a[_$_ba50[1901]][_$_ba50[1999]])},e[_$_ba50[2015]])),e[_$_ba50[1892]][_$_ba50[1803]]?e[_$_ba50[2048]][_$_ba50[2039]](e[_$_ba50[1892]][_$_ba50[1803]]):e[_$_ba50[2048]][_$_ba50[2039]]()})},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[2052]]||(clearTimeout(this[_$_ba50[2059]]),this[_$_ba50[2048]][_$_ba50[78]](s[_$_ba50[2003]][_$_ba50[2012]],this[_$_ba50[2040]]),this[_$_ba50[2048]][_$_ba50[78]](s[_$_ba50[2003]][_$_ba50[2004]],this[_$_ba50[2046]]),this[_$_ba50[99]]=null,this[_$_ba50[2048]]=null,this[_$_ba50[586]]=null,this[_$_ba50[889]]=null,this[_$_ba50[2052]]=!0)},e[_$_ba50[37]][_$_ba50[2051]]=function(e,t){void 0===t&&(t=!1),this[_$_ba50[889]]({error:e,response:_[_$_ba50[1891]][_$_ba50[2020]](this[_$_ba50[2048]],this[_$_ba50[1892]],this[_$_ba50[2044]])}),t&&this[_$_ba50[2048]][_$_ba50[1903]]()},e[_$_ba50[37]][_$_ba50[1903]]=function(e){void 0===e&&(e=a[_$_ba50[1901]][_$_ba50[1928]]),this[_$_ba50[2052]]||(this[_$_ba50[2051]](e,!0),this[_$_ba50[329]]())},e}();t[_$_ba50[2037]]=u}function _0xB616(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2061]]=t[_$_ba50[2060]]=void 0,t[_$_ba50[2060]]={"urn:mpeg:dash:mp4protection:2011":_$_ba50[2062],"urn:mpeg:dash:13818:1:CA_descriptor:2011":_$_ba50[2063],"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":_$_ba50[2064],"urn:uuid:5e629af5-38da-4063-8977-97ffbd9902d4":_$_ba50[2065],"urn:uuid:adb41c24-2dbf-4a6d-958b-4457c0d27b95":_$_ba50[2066],"urn:uuid:a68129d3-575b-4f1a-9cba-3223846cf7c3":_$_ba50[2067],"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":_$_ba50[2068],"urn:uuid:9a27dd82-fde2-4725-8cbc-4234aa06ec09":_$_ba50[2069],"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":_$_ba50[2070],"urn:uuid:1f83e1e8-6ee9-4f0d-ba2f-5ec4e3ed1a66":_$_ba50[2071],"urn:uuid:644fe7b5-260f-4fad-949a-0762ffb054b4":_$_ba50[2072],"urn:uuid:6a99532d-869f-5922-9a91-113ab7b1e2f3":_$_ba50[2073],"urn:uuid:35bf197b-530e-42d7-8b65-1b4bf415070f":_$_ba50[2074],"urn:uuid:b4413586-c58c-ffb0-94a5-d4896c1af6c3":_$_ba50[2075],"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":_$_ba50[2076]},t[_$_ba50[2061]]=function(e){return Object[_$_ba50[98]](t[_$_ba50[2060]])[_$_ba50[801]](function(n){return t[_$_ba50[2060]][n]===e})}}function _0xB64B(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2077]]=void 0,t[_$_ba50[2077]]={BOX_HEADER_LENGTH_REGULAR:8,BOX_HEADER_LENGTH_LARGE:16,BOX_SIZE_LENGTH:4,BOX_TYPE_LENGTH:4,FULL_BOX_VERSION_LENGTH:1,FULL_BOX_FLAGS_LENGTH:3,PSSH_KID_COUNT_LENGTH:4,PSSH_KID_LEN:16,PSSH_SYSTEM_ID_LENGTH:16,PSSH_DATA_SIZE:4}}function _0xB680(e,t){var n,i;_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2079]]=t[_$_ba50[2078]]=t[_$_ba50[2080]]=void 0,function(e){e[_$_ba50[2081]]=_$_ba50[2082],e[_$_ba50[2083]]=_$_ba50[2068],e[_$_ba50[2084]]=_$_ba50[2070],e[_$_ba50[2085]]=_$_ba50[2064]}(i=t[_$_ba50[2080]]||(t[_$_ba50[2080]]={})),t[_$_ba50[2078]]=((n={})[i[_$_ba50[2081]]]=[_$_ba50[2086],_$_ba50[2087],_$_ba50[2088]],n[i[_$_ba50[2083]]]=[_$_ba50[2089],_$_ba50[2090],_$_ba50[2091]],n[i[_$_ba50[2084]]]=[_$_ba50[2092],_$_ba50[2093]],n[i[_$_ba50[2085]]]=[_$_ba50[2094]],n),t[_$_ba50[2079]]=function(e){return Object[_$_ba50[98]](t[_$_ba50[2078]])[_$_ba50[801]](function(n){return t[_$_ba50[2078]][n][_$_ba50[792]](e)})}}function _0xB6B5(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2095]]=void 0,t[_$_ba50[2095]]=function(e,t){return{type:e,meta:{},payload:t}}}function _0xB6EA(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2096]]=void 0,t[_$_ba50[2096]]=window&&window[_$_ba50[2097]]}function _0xB71F(e,t,n){function i(e){return Boolean(e)&&_$_ba50[34]==typeof e}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2098]]=t[_$_ba50[2099]]=t[_$_ba50[2100]]=void 0;var r=n(14890),a=function(){function e(){this[_$_ba50[2101]]={}}return e[_$_ba50[37]][_$_ba50[172]]=function(e){return Boolean(this[_$_ba50[2101]][e])},e[_$_ba50[37]][_$_ba50[1030]]=function(e,t){return this[_$_ba50[2101]][e]=t,this},e[_$_ba50[37]][_$_ba50[177]]=function(e){return this[_$_ba50[2101]][e]},e[_$_ba50[37]][_$_ba50[769]]=function(e){delete this[_$_ba50[2101]][e]},e[_$_ba50[37]][_$_ba50[98]]=function(){return Object[_$_ba50[98]](this[_$_ba50[2101]])},e[_$_ba50[37]][_$_ba50[2102]]=function(e){var t=this,n={};return this[_$_ba50[98]]()[_$_ba50[140]](function(r){var a=t[_$_ba50[177]](r),o=e[_$_ba50[41]](String(r));n[r]=i(a)?a:a[_$_ba50[2102]](o)}),0===Object[_$_ba50[98]](n)[_$_ba50[26]]?function(e){return{}}:(0,r[_$_ba50[2103]])(n)},e[_$_ba50[37]][_$_ba50[2104]]=function(){return this[_$_ba50[2102]]([])},e}();t[_$_ba50[2100]]=a,t[_$_ba50[2099]]=i,t[_$_ba50[2098]]=function(e){return Boolean(e)&&e instanceof a}}function _0xB754(e,t){_$_ba50[32];var n=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n0&&c[_$_ba50[26]]>=s;return _(_({},e),((n={})[r]=_(_({},e[r]),{data:_(_({},e[r][_$_ba50[1684]]),(i={},i[a]=u(u([],l?c[_$_ba50[74]](1,c[_$_ba50[26]]):c,!0),[{time:Date[_$_ba50[817]](),value:o}],!1),i))}),n))}function a(e,t){var n,i,r=t[_$_ba50[1846]],a=t[_$_ba50[2183]];return _(_({},e),((n={})[r]=_(_({},e[r]),{data:_(_({},e[r][_$_ba50[1684]]),(i={},i[a]=[],i))}),n))}function o(e,t){var n,i,r=t[_$_ba50[1846]],a=t[_$_ba50[2183]],o=t[_$_ba50[830]],s=(e[r][_$_ba50[1684]][a]||[])[_$_ba50[146]](function(e){return!(e[_$_ba50[1854]]===o[_$_ba50[1854]]&&e[_$_ba50[830]]===o[_$_ba50[830]])});return _(_({},e),((n={})[r]=_(_({},e[r]),{data:_(_({},e[r][_$_ba50[1684]]),(i={},i[a]=s,i))}),n))}_$_ba50[32];var s,_=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n0?r(r({},e),{keyIdsWithErrors:[]}):e},i[_[_$_ba50[2281]][_$_ba50[2285]]]=function(e,t){var n=t[_$_ba50[1794]];return r(r({},e),{usedKeySystem:n})},i[_[_$_ba50[2281]][_$_ba50[2286]]]=function(e,t){return r(r({},e),{usedKeySystem:{kind:null,uid:null}})},i))}function _0xBC4C(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2281]]=void 0,function(e){e[_$_ba50[2280]]=_$_ba50[2289],e[_$_ba50[2282]]=_$_ba50[2290],e[_$_ba50[2283]]=_$_ba50[2291],e[_$_ba50[2284]]=_$_ba50[2292],e[_$_ba50[2285]]=_$_ba50[2293],e[_$_ba50[2286]]=_$_ba50[2294]}(t[_$_ba50[2281]]||(t[_$_ba50[2281]]={}))}function _0xBC81(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1174]]=void 0;var i=n(22343),r=n(84873),a=n(83798),o=n(43587);t[_$_ba50[1174]]={startOptions:o[_$_ba50[2295]],drm:r[_$_ba50[2287]],adaptation:i[_$_ba50[2160]],playback:a[_$_ba50[2296]]}}function _0xBCB6(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1050]]=t[_$_ba50[2297]]=t[_$_ba50[2298]]=t[_$_ba50[2299]]=t[_$_ba50[2300]]=void 0;var i=n(32696),r=n(89352);t[_$_ba50[2300]]=function(e,t){return(0,i[_$_ba50[2095]])(r[_$_ba50[2302]][_$_ba50[2301]],{mimeType:e,maxBufferSize:t})},t[_$_ba50[2299]]=function(e,t){return(0,i[_$_ba50[2095]])(r[_$_ba50[2302]][_$_ba50[2303]],{mimeType:e,ranges:t})},t[_$_ba50[2298]]=function(e,t){return(0,i[_$_ba50[2095]])(r[_$_ba50[2302]][_$_ba50[2304]],{mimeType:e,range:t})},t[_$_ba50[2297]]=function(e,t){return(0,i[_$_ba50[2095]])(r[_$_ba50[2302]][_$_ba50[2305]],{mimeType:e,range:t})},t[_$_ba50[1050]]=function(e){return(0,i[_$_ba50[2095]])(r[_$_ba50[2302]][_$_ba50[2306]],{mimeType:e})}}function _0xBCEB(e,t,n){function i(e){var t;return null!==(t=e[_$_ba50[2318]])&&void 0!==t?t:[]}function r(e,t){return e!==t&&(0!==e[_$_ba50[26]]||0!==t[_$_ba50[26]])&&e!==t}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2307]]=t[_$_ba50[2308]]=t[_$_ba50[2309]]=t[_$_ba50[2310]]=t[_$_ba50[2311]]=t[_$_ba50[2312]]=t[_$_ba50[2313]]=t[_$_ba50[2314]]=t[_$_ba50[2315]]=t[_$_ba50[2316]]=void 0;var a=n(45659),o=n(50163);t[_$_ba50[2316]]=0;t[_$_ba50[2315]]=function(e){return null==e?void 0:e[_$_ba50[1122]]};t[_$_ba50[2314]]=function(e,t){var n;return t in e&&null!==(n=e[t][_$_ba50[2319]])&&void 0!==n?n:[]};t[_$_ba50[2313]]=function(e){return function(n,i){var r=(0,t[_$_ba50[2315]])(n),a=(0,t[_$_ba50[2315]])(i);return(r?(0,t[_$_ba50[2311]])(r,e):t[_$_ba50[2316]])!==(a?(0,t[_$_ba50[2311]])(a,e):t[_$_ba50[2316]])}};t[_$_ba50[2312]]=function(e,n){if(!e&&!n)return!1;if(void 0===e||void 0===n)return!0;var a=Object[_$_ba50[98]](e),o=Object[_$_ba50[98]](n);if(a[_$_ba50[26]]!==o[_$_ba50[26]]||a[_$_ba50[841]](function(e){return!o[_$_ba50[792]](e)}))return!0;for(var s=0,_=a;s<_[_$_ba50[26]];s++){var u=_[s];if(r((0,t[_$_ba50[2314]])(e,u),(0,t[_$_ba50[2314]])(n,u)))return!0;if(r(i(e[u]),i(n[u])))return!0}return!1};t[_$_ba50[2311]]=function(e,n){var i;return n in e&&null!==(i=e[n][_$_ba50[2320]])&&void 0!==i?i:t[_$_ba50[2316]]};t[_$_ba50[2310]]=function(e,t){return e?Object[_$_ba50[98]](e)[_$_ba50[149]](function(n,r){return n[r]=function(e,t){return i(e)[_$_ba50[146]](function(e){return e[_$_ba50[2317]]===t})}(e[r],t),n},{}):{}},t[_$_ba50[2309]]=function(e,t){var n,i;return null!==(i=null===(n=null==e?void 0:e[t])||void 0===n?void 0:n[_$_ba50[2318]])&&void 0!==i?i:[]};t[_$_ba50[2308]]=function(e,n,i){return void 0===n?{}:function(e,n,i){var r=Object[_$_ba50[98]](e),o=n[_$_ba50[2324]](),_=function(e,n,i){var r={};return e[_$_ba50[140]](function(e){r[e]=[]}),n[_$_ba50[152]](function(e){return(0,t[_$_ba50[2310]])(i,e[_$_ba50[2326]]())})[_$_ba50[140]](function(e){return Object[_$_ba50[98]](e)[_$_ba50[140]](function(t){return r[t][_$_ba50[57]](e[t])})}),r}(r,n[_$_ba50[2325]](o),e),u=s(e,r);return Object[_$_ba50[98]](u)[_$_ba50[140]](function(e){return _[e][_$_ba50[57]](u[e])}),function(e,t,n){var i={};return e[_$_ba50[140]](function(e){return i[e]=a[_$_ba50[251]][_$_ba50[263]](t[e][_$_ba50[2327]](function(e){return e}),n)}),i}(r,_,i)}(n,e,i)};t[_$_ba50[2307]]=function(e,t){return function(n,i){var r=e[_$_ba50[2321]](i);if(void 0===n||void 0===t||void 0===r)return{};var a=e[_$_ba50[2323]](n)[_$_ba50[152]](function(e){return e[_$_ba50[1846]]})[_$_ba50[146]](function(e){return o[_$_ba50[308]][_$_ba50[2322]](e)});return s(t,a)}};var s=function(e,n){var i={};return n[_$_ba50[140]](function(n){return i[n]=(0,t[_$_ba50[2314]])(e,n)}),i}}function _0xBD20(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2328]]=void 0;var i=n(28803),r=n(86705);t[_$_ba50[2328]]=function(e,t){var n=function(e){var t=e[_$_ba50[151]](),n=(0,r[_$_ba50[2315]])(t);return void 0!==n?Object[_$_ba50[98]](n):[]}(e)[_$_ba50[152]](function(n){return(0,i[_$_ba50[761]])(e)(function(e){return function(t){var n=(0,r[_$_ba50[2315]])(t);return n?(0,r[_$_ba50[2314]])(n,e):[]}}(n),function(e){return t(n,null!=e?e:[])})});return function(){return n[_$_ba50[140]](function(e){return e()})}}}function _0xBD55(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2302]]=void 0,function(e){e[_$_ba50[2301]]=_$_ba50[2329],e[_$_ba50[2303]]=_$_ba50[2330],e[_$_ba50[2304]]=_$_ba50[2331],e[_$_ba50[2305]]=_$_ba50[2332],e[_$_ba50[2306]]=_$_ba50[2333]}(t[_$_ba50[2302]]||(t[_$_ba50[2302]]={}))}function _0xBD8A(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2334]]=t[_$_ba50[2335]]=void 0;var i=n(32696),r=n(58022);t[_$_ba50[2335]]=function(e){return(0,i[_$_ba50[2095]])(r[_$_ba50[2337]][_$_ba50[2336]],e)};t[_$_ba50[2334]]=function(e){return(0,i[_$_ba50[2095]])(r[_$_ba50[2337]][_$_ba50[2338]],e)}}function _0xBDBF(e,t,n){_$_ba50[32];var i,r=this&&this[_$_ba50[242]]||function(){function e(e){for(var t,n=1,i=arguments[_$_ba50[26]];n=0&&!t(e[n]);n--);return n}function r(e,t){return Object[_$_ba50[98]](e)[_$_ba50[26]]===Object[_$_ba50[98]](t)[_$_ba50[26]]&&Object[_$_ba50[98]](e)[_$_ba50[280]](function(n){return e[n]===t[n]})}_$_ba50[32];var a=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r127)if(r>191&&r<224){if(n>=e[_$_ba50[26]]||64&e[n]){i+=_$_ba50[2381];continue}r=(31&r)<<6|63&e[n++]}else if(r>223&&r<240){if(n+1>=e[_$_ba50[26]]||64&e[n]||64&e[n+1]){i+=_$_ba50[2381];continue}r=(15&r)<<12|(63&e[n++])<<6|63&e[n++]}else{if(!(r>239&&r<248)){i+=_$_ba50[2381];continue}if(n+2>=e[_$_ba50[26]]||64&e[n]||64&e[n+1]||64&e[n+2]){i+=_$_ba50[2381];continue}r=(7&r)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++]}r<=65535?i+=String[_$_ba50[2382]](r):r<=1114111?(r-=65536,i+=String[_$_ba50[2382]](r>>10|55296),i+=String[_$_ba50[2382]](1023&r|56320)):i+=_$_ba50[2381]}return i},e[_$_ba50[264]]=function(e,t,n){if(_$_ba50[982]==typeof t&&_$_ba50[2383]===Object[_$_ba50[37]][_$_ba50[107]][_$_ba50[36]](e)){var i;if(n||(n=_$_ba50[2384]),_$_ba50[2384]===n)i=-1;else{if(_$_ba50[2385]!==n)return;i=1}if(e[_$_ba50[26]]<2)return e;return e[_$_ba50[264]](function(e,n){return e[t]n[t]?-1*i:0})}},e[_$_ba50[18]]=function(t,n){var i=e[_$_ba50[2386]](t),r=e[_$_ba50[2386]](n);if(!i&&!r||i!==r)return null\n;var a=new i((t[_$_ba50[2031]]+n[_$_ba50[2031]])/i[_$_ba50[2387]]);return a[_$_ba50[1030]](new i(t),0),a[_$_ba50[1030]](new i(n),t[_$_ba50[2031]]/i[_$_ba50[2387]]),a},e[_$_ba50[2388]]=function(){function e(e){return e}function t(e,t){return e+t[_$_ba50[2031]]}function n(e,t){return o[_$_ba50[1030]](new Uint8Array(t),e),e+t[_$_ba50[2031]]}for(var i=[],r=0;r0}),r=t[_$_ba50[146]](function(e){return!i[_$_ba50[792]](e)});return 0===i[_$_ba50[26]]?a(a([],t,!0),[n],!1):a([e[_$_ba50[2390]][_$_ba50[35]](e,a(a([],i,!1),[n],!1))],r,!0)},e[_$_ba50[2397]]=function(e,t,n){for(var i=t+n,r=_$_ba50[90];t=0&&(n[_$_ba50[119]](i,1),!0)},e}();t[_$_ba50[2403]]=n}function _0xC03B(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1962]]=void 0;var n=function(){function e(){}return e[_$_ba50[1961]]=function(e){var t=function(e){},n=new Promise(function(n,i){t=i,e[_$_ba50[185]](n,i)});return n[_$_ba50[1902]]=t[_$_ba50[71]](n),n},e}();t[_$_ba50[1962]]=n}function _0xC070(e,t,n){function i(){return(0,t[_$_ba50[2135]])()&&(0,t[_$_ba50[2142]])()[_$_ba50[2446]]<79}function r(){return/PlayStation 5/i[_$_ba50[2458]](navigator[_$_ba50[1214]])}_$_ba50[32];var a=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r0&&parseInt(e[1],10)||0};var f=function(){var e=_$_ba50[2442]in window&&window[_$_ba50[2442]],t=_$_ba50[2443]in window&&window[_$_ba50[2443]];if(e&&_$_ba50[34]==typeof MediaSource[_$_ba50[2444]])e=MediaSource[_$_ba50[2444]](_$_ba50[2445]);else{if(!t||_$_ba50[34]!=typeof window[_$_ba50[2443]][_$_ba50[2444]])return!1;t=window[_$_ba50[2443]][_$_ba50[2444]](_$_ba50[2445])}return e||t};t[_$_ba50[2422]]=function(){var e=[];if(d?e=l[_$_ba50[146]](function(e){return(0,t[_$_ba50[2421]])(e[_$_ba50[710]],e[_$_ba50[721]])}):e[_$_ba50[57]]({player:u[_$_ba50[791]][_$_ba50[790]],streaming:u[_$_ba50[901]][_$_ba50[1566]]}),(0,t[_$_ba50[2133]])())for(var n=1;n0})};t[_$_ba50[2144]]=function(){var e=navigator[_$_ba50[1214]][_$_ba50[1733]](/Version\\/(\\d+)\\.?(\\d+)?\\.?(\\d+)?/)||null;if(!e)return{};var t=e[1],n=e[2],i=e[3],r=function(e){return e&&parseInt(e)};return{major:r(t),minor:r(n),patch:r(i)}};t[_$_ba50[2142]]=function(){var e=navigator[_$_ba50[1214]][_$_ba50[1733]](/Edge\\/(\\d+)\\.?(\\d+)/)||navigator[_$_ba50[1214]][_$_ba50[1733]](/Edg\\/(\\d+)\\.?(\\d+)/);if(!e||0===e[_$_ba50[26]])return{major:0,minor:0};var t={};return t[_$_ba50[2446]]=e[1]&&parseInt(e[1]),t[_$_ba50[2447]]=e[2]&&parseInt(e[2]),t};t[_$_ba50[2146]]=function(){return(0,t[_$_ba50[2422]])()};t[_$_ba50[2145]]=function(){var e=s[_$_ba50[160]][_$_ba50[172]](_[_$_ba50[187]][_$_ba50[202]])?s[_$_ba50[160]][_$_ba50[177]](_[_$_ba50[187]][_$_ba50[202]])[_$_ba50[2463]][_$_ba50[2462]]():[],t=s[_$_ba50[160]][_$_ba50[172]](_[_$_ba50[187]][_$_ba50[201]])?s[_$_ba50[160]][_$_ba50[177]](_[_$_ba50[187]][_$_ba50[201]])[_$_ba50[2463]][_$_ba50[2462]]():[];return[][_$_ba50[41]](e,t)};t[_$_ba50[1190]]=function(e,n,i){void 0===e&&(e=[]),void 0===n&&(n={});var r=function(e){var n=(0,t[_$_ba50[2422]])();if(!e||0===e[_$_ba50[26]])return n;var i=e[_$_ba50[146]](function(e){return n[_$_ba50[841]](function(t,i){var r,a=e[_$_ba50[710]]===t[_$_ba50[710]]&&e[_$_ba50[721]]===t[_$_ba50[721]],o=null!==(r=e[_$_ba50[1426]])&&void 0!==r&&r;return a&&n[_$_ba50[119]](i,1),a&&!o})})[_$_ba50[152]](function(e){return{player:e[_$_ba50[710]],streaming:e[_$_ba50[721]]}});return a(a([],i,!0),n,!0)}(e),o=(0,t[_$_ba50[2422]])();return i&&(r=o[_$_ba50[146]](function(e){return e[_$_ba50[710]]===i[_$_ba50[710]]&&e[_$_ba50[721]]===i[_$_ba50[721]]})),(n[_$_ba50[624]]&&((0,t[_$_ba50[2134]])()||(0,t[_$_ba50[2133]])())?r[_$_ba50[146]](function(e){var n=e[_$_ba50[721]]===u[_$_ba50[901]][_$_ba50[1566]]&&e[_$_ba50[710]]===u[_$_ba50[791]][_$_ba50[790]],i=e[_$_ba50[721]]===u[_$_ba50[901]][_$_ba50[1046]]&&e[_$_ba50[710]]===u[_$_ba50[791]][_$_ba50[790]];return n||i&&(!(0,t[_$_ba50[2134]])()||(0,t[_$_ba50[2143]])()>9)}):r)[_$_ba50[801]](function(e){return Boolean(n[e[_$_ba50[721]]])})}}function _0xC0A5(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r2?(t=n[_$_ba50[95]]()+_$_ba50[81],t+=parseInt(n[_$_ba50[95]]())[_$_ba50[107]](16),t+=(_$_ba50[2470]+parseInt(n[_$_ba50[95]]())[_$_ba50[107]](16))[_$_ba50[340]](-4)):t=e,t},e[_$_ba50[2471]]=function(e,t,n){return e[_$_ba50[2472]](t,n)},e[_$_ba50[2473]]=function(t){return t||_$_ba50[982]==typeof t?t[_$_ba50[106]](_$_ba50[339])[_$_ba50[149]](function(t,n){return n=n[_$_ba50[2018]](),t[e[_$_ba50[2474]](n)]=n,t},{}):{}},e[_$_ba50[2474]]=function(t){function n(e){return t[_$_ba50[29]](e)>-1}if(!t)return _$_ba50[1291];for(var i=[_$_ba50[729],_$_ba50[1357],_$_ba50[2475]],r=0;r-1)return}var a=document[_$_ba50[730]](_$_ba50[2547]);a[_$_ba50[1128]](_$_ba50[2551],_$_ba50[2552]),a[_$_ba50[1128]](_$_ba50[65],_$_ba50[2553]),a[_$_ba50[1128]](_$_ba50[2549],e),t[_$_ba50[2544]](a,t[_$_ba50[1588]]),this[_$_ba50[2531]][e]=!0},e}();t[_$_ba50[1412]]=n}function _0xC218(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2401]]=void 0;var n=function(){function e(){}return e[_$_ba50[2554]]=function(e){var t=e[_$_ba50[26]];1&t&&(e=_$_ba50[2529]+e,t++);for(var n=new Uint8Array(t>>1),i=0;i>1]=parseInt(e[_$_ba50[340]](i,2),16);return n},e[_$_ba50[2555]]=function(e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));for(var t=_$_ba50[90],n=0;n1?t[1]:null},e}();t[_$_ba50[308]]=a,t[_$_ba50[2577]]=function(e,t){return Object[_$_ba50[98]](e)[_$_ba50[152]](function(e){return a[_$_ba50[2598]](e)})[_$_ba50[792]](a[_$_ba50[2598]](t))}}function _0xC2EC(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[696]]=void 0;var n=function(){function e(e){this[_$_ba50[2601]]=e,this[_$_ba50[2602]]=_$_ba50[2603],this[_$_ba50[1684]]={},this[_$_ba50[2604]]=function(){var e=new Date;return e[_$_ba50[2606]](e[_$_ba50[2605]]()+316224e5),_$_ba50[2607]+e[_$_ba50[2608]]()}(),this[_$_ba50[1025]]()}return e[_$_ba50[37]][_$_ba50[177]]=function(e){return this[_$_ba50[1684]][e]},e[_$_ba50[37]][_$_ba50[1030]]=function(e,t){this[_$_ba50[1684]][e]=t,this[_$_ba50[2609]]()},e[_$_ba50[37]][_$_ba50[932]]=function(e){this[_$_ba50[2610]]=e},e[_$_ba50[37]][_$_ba50[2611]]=function(e){for(var t=e+_$_ba50[2612],n=document[_$_ba50[2614]][_$_ba50[106]](_$_ba50[2613]),i=0;i128)n=!1;else{if(0===t)return _$_ba50[2620];if(t===i[0]&&r[_$_ba50[2031]]>a+i[_$_ba50[26]]){for(var o=!0,s=1;s-1&&(e=e[_$_ba50[106]](_$_ba50[2631])[0]),e},e[_$_ba50[2628]]=function(e){return e&&_$_ba50[982]!=typeof e?function(e){return e&&_$_ba50[982]==typeof e[_$_ba50[2632]]}(e)?e[_$_ba50[2632]]:function(e){return e&&_$_ba50[982]==typeof e[_$_ba50[1182]]}(e)?e[_$_ba50[1182]]:null:e},e[_$_ba50[2633]]=function(t,n){var i=_$_ba50[344],r=e[_$_ba50[2628]](t),a=e[_$_ba50[2628]](n);return!r||r[_$_ba50[26]]<1||e[_$_ba50[2627]](a)?a:!a||a[_$_ba50[26]]<1?r:((r=e[_$_ba50[2630]](r))[_$_ba50[29]](_$_ba50[344])>-1&&(r=r[_$_ba50[340]](0,r[_$_ba50[345]](_$_ba50[344]))),_$_ba50[344]===a[0]&&(r=e[_$_ba50[1966]](r),i=_$_ba50[90]),r+i+a)},e[_$_ba50[2634]]=function(t){if(!t)return null;t=e[_$_ba50[2630]](t);var n=e[_$_ba50[2635]](t),i=t[_$_ba50[345]](_$_ba50[344]);return i===t[_$_ba50[26]]-1&&(t=t[_$_ba50[25]](0,i)),(i=t[_$_ba50[345]](_$_ba50[344]))<0?_$_ba50[90]:i>t[_$_ba50[26]]-1?t:i<=n?t+_$_ba50[344]:t[_$_ba50[25]](0,i+1)},e[_$_ba50[1966]]=function(t){for(var n=e[_$_ba50[2635]](t);_$_ba50[344]!==t[n]&&n0)&&_$_ba50[344]===e[0]},e[_$_ba50[2635]]=function(e){var t=_$_ba50[2637],n=e[_$_ba50[29]](t);return n>-1?n+t[_$_ba50[26]]:-1===n&&0===e[_$_ba50[29]](_$_ba50[2638])?2:0},e[_$_ba50[2639]]=function(e,t){var n=this[_$_ba50[2507]];n[_$_ba50[2549]]=e;var i=n[_$_ba50[1766]];return n[_$_ba50[2549]]=t,n[_$_ba50[1766]]=i,n[_$_ba50[2549]]},e[_$_ba50[2640]]=function(e,t){return!(!e||!t)&&(0===t[_$_ba50[29]](_$_ba50[2641])&&(t=t[_$_ba50[25]](3)),e[_$_ba50[29]](t)>-1)},e[_$_ba50[2642]]=function(t,n){var i=this[_$_ba50[2507]];if(i[_$_ba50[2549]]=t,!n||0===n[_$_ba50[26]])return t;if(e[_$_ba50[2627]](n))return _$_ba50[344]===n[0]&&(n=i[_$_ba50[362]]+n),n;if(i[_$_ba50[2643]]=null,_$_ba50[344]!==i[_$_ba50[2549]][i[_$_ba50[2549]][_$_ba50[26]]-1]&&(i[_$_ba50[2549]]=i[_$_ba50[2549]][_$_ba50[340]](0,i[_$_ba50[2549]][_$_ba50[345]](_$_ba50[344])+1)),n[_$_ba50[29]](_$_ba50[2631])>-1){var r=n[_$_ba50[106]](_$_ba50[2631]);i[_$_ba50[2643]]=r[1],n=r[0]}return _$_ba50[344]===n[0]?i[_$_ba50[1766]]=n:i[_$_ba50[1766]]+=n,i[_$_ba50[2549]]},e[_$_ba50[1949]]=function(e,t){var n=_$_ba50[90],r=e[_$_ba50[29]](_$_ba50[2631])>=0;if(t)for(var a in t)t[_$_ba50[229]](a)&&(n+=r?_$_ba50[2644]:_$_ba50[2631],r=!0,n=i(n,a,t[a]));return e+n},e[_$_ba50[1893]]=function(e){var t=this[_$_ba50[2507]];return t[_$_ba50[2549]]=e,t[_$_ba50[2549]]},e[_$_ba50[2645]]=function(e){return e&&0===e[_$_ba50[29]](this[_$_ba50[2646]])},e[_$_ba50[2647]]=function(e){if(!this[_$_ba50[2645]](e))throw new Error(_$_ba50[2648]+e);-1===(e=e[_$_ba50[25]](this[_$_ba50[2646]][_$_ba50[26]]))[_$_ba50[29]](this[_$_ba50[2649]])&&(e=this[_$_ba50[2650]]+this[_$_ba50[2649]]+e);var t=e[_$_ba50[106]](this[_$_ba50[2649]]),n=t[0],i=t[1],a=(0,r[_$_ba50[1574]])(n,this[_$_ba50[2651]]),o=n[_$_ba50[26]]-this[_$_ba50[2651]][_$_ba50[26]]-this[_$_ba50[2649]][_$_ba50[26]];return{mediaType:a?n[_$_ba50[25]](0,o):n,base64:a?i:void 0,data:a?atob(i):i}},e[_$_ba50[2652]]=function(t,n,i){return e[_$_ba50[2627]](i)?i:e[_$_ba50[2636]](i)?n+i:t+i},e[_$_ba50[2653]]=function(t,n){return e[_$_ba50[2627]](t)?t:e[_$_ba50[2642]](n,t)},e[_$_ba50[2646]]=_$_ba50[2654],e[_$_ba50[2651]]=_$_ba50[2655],e[_$_ba50[2650]]=_$_ba50[2656],e[_$_ba50[2629]]=new RegExp(_$_ba50[2657],_$_ba50[2658]),e[_$_ba50[2649]]=_$_ba50[339],e}();t[_$_ba50[1894]]=a}function _0xC3F5(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[575]]||function(e,t,n){if(n||2===arguments[_$_ba50[26]])for(var i,r=0,a=t[_$_ba50[26]];r-1?1e6*t[_$_ba50[106]](_$_ba50[2661])[0]:t[_$_ba50[29]](_$_ba50[2662])>-1?1e3*t[_$_ba50[106]](_$_ba50[2663])[0]:t[_$_ba50[29]](_$_ba50[2664])>-1?1*t[_$_ba50[106]](_$_ba50[2665])[0]:_$_ba50[261]===e?1/0:0:t===1/0?t:1*t},e[_$_ba50[1188]]=function(e){if(e&&_$_ba50[982]==typeof e){for(var t=e[_$_ba50[106]](_$_ba50[81]),n=0,i=0;i-1)t=e[_$_ba50[106]](_$_ba50[351]);else{if(!(e[_$_ba50[29]](_$_ba50[344])>-1))return isNaN(parseFloat(e))?0:parseFloat(e);t=e[_$_ba50[106]](_$_ba50[344])}if(t&&Array[_$_ba50[267]](t)&&t[_$_ba50[26]]>1){var n=parseFloat(t[0])/parseFloat(t[1]);return isNaN(n)?0:n}return 0}}function _0xC42A(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2687]]=void 0;var n=window[_$_ba50[2688]]||window[_$_ba50[2689]]||window[_$_ba50[2690]];t[_$_ba50[2687]]=function(e,t){var i=function(){return t(e[_$_ba50[1119]],e[_$_ba50[1120]])},r=new n(function(e){return e[_$_ba50[146]](function(e){var t=e[_$_ba50[2691]];return[_$_ba50[636],_$_ba50[1614],_$_ba50[1615]][_$_ba50[792]](t)})[_$_ba50[26]]>0&&i()});return{observe:function(){r[_$_ba50[2692]](e,{attributes:!0,childList:!1,subtree:!0}),window[_$_ba50[76]](_$_ba50[2693],i)},dispose:function(){r[_$_ba50[2694]](),window[_$_ba50[78]](_$_ba50[2693],i)}}}}function _0xC45F(e,t,n){function i(e,t){return h[_$_ba50[841]](function(n){var i=t;return _$_ba50[90]!==n&&(i=_$_ba50[90][_$_ba50[41]](n)[_$_ba50[41]](t[_$_ba50[340]](0,1)[_$_ba50[1569]]())[_$_ba50[41]](t[_$_ba50[340]](1))),_$_ba50[34]==typeof e[i]&&(e[i](),!0)})}function r(){return document[_$_ba50[2675]]||document[_$_ba50[2733]]||document[_$_ba50[2677]]||document[_$_ba50[2676]]||null}_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[754]]=void 0;var a=n(4529),o=n(59574),s=n(8833),_=n(38106),u=n(59536),c=n(28803),l=n(64868),d=_$_ba50[2695],f=_$_ba50[2696],h=[_$_ba50[90],_$_ba50[2697],_$_ba50[2698],_$_ba50[1314],_$_ba50[2699]],p=[_$_ba50[2700],_$_ba50[2701],_$_ba50[2702],_$_ba50[2703],_$_ba50[2704],_$_ba50[2705]],b=function(){function e(e,t,n,i){var r=this;this[_$_ba50[601]]=e,this[_$_ba50[655]]=t,this[_$_ba50[2706]]=n,this[_$_ba50[622]]=i,this[_$_ba50[2707]]=!1,this[_$_ba50[1614]]=0,this[_$_ba50[1615]]=0,this[_$_ba50[1449]]=function(e){return r[_$_ba50[601]][_$_ba50[91]][_$_ba50[709]][_$_ba50[153]](e)},this[_$_ba50[2708]]=function(e,t){e===r[_$_ba50[1614]]&&t===r[_$_ba50[1615]]||(r[_$_ba50[1614]]=e,r[_$_ba50[1615]]=t,r[_$_ba50[2706]](o[_$_ba50[370]][_$_ba50[393]],{width:_$_ba50[90][_$_ba50[41]](r[_$_ba50[1614]],_$_ba50[1618]),height:_$_ba50[90][_$_ba50[41]](r[_$_ba50[1615]],_$_ba50[1618])}),r[_$_ba50[601]][_$_ba50[714]]&&_$_ba50[34]==typeof r[_$_ba50[601]][_$_ba50[714]][_$_ba50[2709]]&&r[_$_ba50[601]][_$_ba50[714]][_$_ba50[2709]](r[_$_ba50[1614]],r[_$_ba50[1615]]))},this[_$_ba50[2710]]=function(e,t){var n={from:t[_$_ba50[1159]],to:e[_$_ba50[1159]],legacy:r[_$_ba50[622]]()};r[_$_ba50[2711]]()&&(e[_$_ba50[1159]]===s[_$_ba50[1003]][_$_ba50[1161]]?(r[_$_ba50[601]][_$_ba50[602]][_$_ba50[1156]](n),r[_$_ba50[1614]]=0,r[_$_ba50[1615]]=0):t[_$_ba50[1159]]===s[_$_ba50[1003]][_$_ba50[1161]]&&r[_$_ba50[601]][_$_ba50[602]][_$_ba50[1157]]()),r[_$_ba50[2706]](o[_$_ba50[370]][_$_ba50[516]],n)},this[_$_ba50[2712]]=function(){r[_$_ba50[907]]()||_$_ba50[2713]===r[_$_ba50[655]][_$_ba50[2550]](r[_$_ba50[2714]]())?r[_$_ba50[1157]]():(r[_$_ba50[2707]]||r[_$_ba50[2715]]())&&r[_$_ba50[2716]]()},this[_$_ba50[2717]]=(0,l[_$_ba50[2687]])(this[_$_ba50[601]][_$_ba50[655]],this[_$_ba50[2708]]),this[_$_ba50[2717]][_$_ba50[2692]](),this[_$_ba50[2718]](),this[_$_ba50[2719]]()}return e[_$_ba50[37]][_$_ba50[2718]]=function(){this[_$_ba50[2720]]=(0,c[_$_ba50[761]])(this[_$_ba50[601]][_$_ba50[91]][_$_ba50[709]])(function(e){return(0,u[_$_ba50[759]])(e)},this[_$_ba50[2710]],function(e,t){return e[_$_ba50[1159]]!==t[_$_ba50[1159]]})},e[_$_ba50[37]][_$_ba50[1158]]=function(){return(0,u[_$_ba50[759]])(this[_$_ba50[601]][_$_ba50[91]][_$_ba50[709]][_$_ba50[151]]())[_$_ba50[1159]]},e[_$_ba50[37]][_$_ba50[2719]]=function(){var e=this;p[_$_ba50[140]](function(t){return document[_$_ba50[76]](t,e[_$_ba50[2712]])}),this[_$_ba50[2715]]()&&(this[_$_ba50[1449]]((0,_[_$_ba50[2219]])(s[_$_ba50[1003]][_$_ba50[1161]])),this[_$_ba50[2721]](!0))},e[_$_ba50[37]][_$_ba50[2711]]=function(){return Boolean(this[_$_ba50[601]])&&Boolean(this[_$_ba50[601]][_$_ba50[602]])},e[_$_ba50[37]][_$_ba50[2722]]=function(){return this[_$_ba50[2711]]()&&Boolean(this[_$_ba50[601]][_$_ba50[635]])&&this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2722]]()},e[_$_ba50[37]][_$_ba50[855]]=function(){return this[_$_ba50[601]][_$_ba50[635]][_$_ba50[855]]()},e[_$_ba50[37]][_$_ba50[1160]]=function(e){return e===s[_$_ba50[1003]][_$_ba50[1366]]?this[_$_ba50[2722]]():[s[_$_ba50[1003]][_$_ba50[1161]],s[_$_ba50[1003]][_$_ba50[1002]]][_$_ba50[792]](e)},e[_$_ba50[37]][_$_ba50[2723]]=function(){this[_$_ba50[2711]]()&&Boolean(this[_$_ba50[601]][_$_ba50[635]])&&(this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2723]](),this[_$_ba50[1449]]((0,_[_$_ba50[2219]])(s[_$_ba50[1003]][_$_ba50[1002]])))},e[_$_ba50[37]][_$_ba50[2724]]=function(){this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2724]](),this[_$_ba50[1449]]((0,_[_$_ba50[2219]])(s[_$_ba50[1003]][_$_ba50[1366]]))},e[_$_ba50[37]][_$_ba50[2715]]=function(){var e=r();return e&&this[_$_ba50[601]][_$_ba50[635]][_$_ba50[741]]()===e},e[_$_ba50[37]][_$_ba50[2714]]=function(){return this[_$_ba50[622]]()?_$_ba50[2725]:_$_ba50[2726]},e[_$_ba50[37]][_$_ba50[2721]]=function(e){var t=this[_$_ba50[2714]]();this[_$_ba50[655]][_$_ba50[1128]](t,String(e))},e[_$_ba50[37]][_$_ba50[2716]]=function(){this[_$_ba50[2721]](!0),this[_$_ba50[2707]]=!1,this[_$_ba50[1449]]((0,_[_$_ba50[2219]])(s[_$_ba50[1003]][_$_ba50[1161]]))},e[_$_ba50[37]][_$_ba50[1157]]=function(){this[_$_ba50[2721]](!1),this[_$_ba50[2707]]=!1,this[_$_ba50[1158]]()===s[_$_ba50[1003]][_$_ba50[1161]]&&this[_$_ba50[1449]]((0,_[_$_ba50[2219]])(s[_$_ba50[1003]][_$_ba50[1002]]))},e[_$_ba50[37]][_$_ba50[907]]=function(){return this[_$_ba50[1158]]()===s[_$_ba50[1003]][_$_ba50[1161]]},e[_$_ba50[37]][_$_ba50[2727]]=function(e){if(void 0===e&&(e=this[_$_ba50[655]]),r())this[_$_ba50[601]][_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2728]);else if(this[_$_ba50[622]]())this[_$_ba50[2716]]();else{var t=i(e,d);t?this[_$_ba50[2707]]=!0:!t&&this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2729]]&&(this[_$_ba50[2707]]=!0,this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2729]]())}},e[_$_ba50[37]][_$_ba50[2696]]=function(){if(this[_$_ba50[622]]())this[_$_ba50[1157]]();else{var e=i(window[_$_ba50[4]],f);e?this[_$_ba50[2707]]=!0:!e&&this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2730]]&&(this[_$_ba50[2707]]=!0,this[_$_ba50[601]][_$_ba50[635]][_$_ba50[2730]]())}},e[_$_ba50[37]][_$_ba50[2731]]=function(){var e=this[_$_ba50[1158]]();this[_$_ba50[907]]()?this[_$_ba50[2696]]():(e===s[_$_ba50[1003]][_$_ba50[1366]]||this[_$_ba50[855]]())&&this[_$_ba50[2723]]()},e[_$_ba50[37]][_$_ba50[2732]]=function(e,t){e!==s[_$_ba50[1003]][_$_ba50[1161]]?e===s[_$_ba50[1003]][_$_ba50[1366]]&&this[_$_ba50[2724]]():this[_$_ba50[2727]](t[_$_ba50[2675]])},e[_$_ba50[37]][_$_ba50[1004]]=function(e,t){void 0===t&&(t={}),e!==this[_$_ba50[1158]]()&&(this[_$_ba50[2731]](),this[_$_ba50[1160]](e)&&this[_$_ba50[2732]](e,t))},e[_$_ba50[37]][_$_ba50[329]]=function(){var e=this;this[_$_ba50[2717]]=(0,a[_$_ba50[329]])(this[_$_ba50[2717]]),p[_$_ba50[140]](function(t){return document[_$_ba50[78]](t,e[_$_ba50[2712]])}),this[_$_ba50[2720]]()},e}();t[_$_ba50[754]]=b}function _0xC494(e,t){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[1341]]=void 0,function(e){e[_$_ba50[1903]]=_$_ba50[1903],e[_$_ba50[1340]]=_$_ba50[1340],e[_$_ba50[2734]]=_$_ba50[2734],e[_$_ba50[2735]]=_$_ba50[2735],e[_$_ba50[2736]]=_$_ba50[2736],e[_$_ba50[2737]]=_$_ba50[2737],e[_$_ba50[1518]]=_$_ba50[1518],e[_$_ba50[73]]=_$_ba50[73],e[_$_ba50[2738]]=_$_ba50[2738],e[_$_ba50[2739]]=_$_ba50[2739],e[_$_ba50[2740]]=_$_ba50[2740],e[_$_ba50[2741]]=_$_ba50[2741],e[_$_ba50[2011]]=_$_ba50[2011],e[_$_ba50[2742]]=_$_ba50[2742],e[_$_ba50[888]]=_$_ba50[888],e[_$_ba50[374]]=_$_ba50[374],e[_$_ba50[376]]=_$_ba50[376],e[_$_ba50[2013]]=_$_ba50[2013],e[_$_ba50[2743]]=_$_ba50[2743],e[_$_ba50[382]]=_$_ba50[382],e[_$_ba50[2744]]=_$_ba50[2744],e[_$_ba50[2745]]=_$_ba50[2745],e[_$_ba50[1576]]=_$_ba50[1576],e[_$_ba50[2746]]=_$_ba50[2746],e[_$_ba50[2747]]=_$_ba50[2747],e[_$_ba50[2748]]=_$_ba50[2748],e[_$_ba50[2749]]=_$_ba50[2749],e[_$_ba50[2750]]=_$_ba50[2750],e[_$_ba50[2751]]=_$_ba50[2751],e[_$_ba50[2752]]=_$_ba50[2752],e[_$_ba50[2753]]=_$_ba50[2753],e[_$_ba50[2754]]=_$_ba50[2754],e[_$_ba50[2755]]=_$_ba50[2755],e[_$_ba50[2756]]=_$_ba50[2756],e[_$_ba50[2757]]=_$_ba50[2757],e[_$_ba50[2758]]=_$_ba50[2758],e[_$_ba50[2759]]=_$_ba50[2759]}(t[_$_ba50[1341]]||(t[_$_ba50[1341]]={}))}function _0xC4C9(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2760]]=void 0;var i=n(29079),r=n(89543),a=function(){function e(t,n){var i=this;this[_$_ba50[2761]]=function(t){if(!i[_$_ba50[2762]](t)){if(i[_$_ba50[1336]][_$_ba50[73]]){t[_$_ba50[1771]]={code:i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[1013]]};var n=e[_$_ba50[2763]](i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[1013]]);n&&(t[_$_ba50[1771]][_$_ba50[2764]]=n),_$_ba50[2765]in i[_$_ba50[1336]][_$_ba50[73]]&&i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[2765]]&&(t[_$_ba50[1771]][_$_ba50[2766]]=i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[2765]][_$_ba50[107]](16)),i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[89]]&&(t[_$_ba50[1771]][_$_ba50[89]]=i[_$_ba50[1336]][_$_ba50[73]][_$_ba50[89]]),t[_$_ba50[1099]]=Object[_$_ba50[98]](t[_$_ba50[1771]])[_$_ba50[152]](function(e){return e+_$_ba50[1098]+t[_$_ba50[1771]][e]})[_$_ba50[105]](_$_ba50[1310])}else t[_$_ba50[1099]]=_$_ba50[2767];i[_$_ba50[2768]](t)}},this[_$_ba50[2769]]=function(e){i[_$_ba50[2762]](e)||i[_$_ba50[2768]](e)},this[_$_ba50[91]]=t,this[_$_ba50[1336]]=n,this[_$_ba50[2770]]={},this[_$_ba50[2771]]={},this[_$_ba50[2772]]=[],this[_$_ba50[2773]]=!1,this[_$_ba50[2774]]=!1,this[_$_ba50[2775]]()}return Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[612],{get:function(){return this[_$_ba50[2773]]},set:function(e){this[_$_ba50[2773]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2776],{get:function(){return this[_$_ba50[2774]]},set:function(e){this[_$_ba50[2774]]=e},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[2777]]=function(e,t,n){var i=this;if(void 0===t&&(t=1e8),this[_$_ba50[2771]][e]=this[_$_ba50[2771]][e]||0,this[_$_ba50[2771]][e]+=t,n&&n>0){var r=window[_$_ba50[1138]](function(){i[_$_ba50[2771]][e]=Math[_$_ba50[261]](i[_$_ba50[2771]][e]-t,0),i[_$_ba50[2772]][_$_ba50[119]](i[_$_ba50[2772]][_$_ba50[29]](r),1)},n);this[_$_ba50[2772]][_$_ba50[57]](r)}},e[_$_ba50[37]][_$_ba50[2778]]=function(e){this[_$_ba50[2771]][e]&&(this[_$_ba50[2771]][e]=0)},e[_$_ba50[37]][_$_ba50[2779]]=function(){var e=this;Object[_$_ba50[98]](this[_$_ba50[2771]])[_$_ba50[140]](function(t){return e[_$_ba50[2778]](t)}),this[_$_ba50[2772]][_$_ba50[140]](function(e){return window[_$_ba50[2780]](e)})},e[_$_ba50[37]][_$_ba50[1750]]=function(e,t){void 0===t&&(t={type:e}),this[_$_ba50[2769]](t)},e[_$_ba50[37]][_$_ba50[2775]]=function(){var e=this;Object[_$_ba50[98]](r[_$_ba50[1341]])[_$_ba50[140]](function(t){t===r[_$_ba50[1341]][_$_ba50[73]]?e[_$_ba50[1336]][_$_ba50[76]](r[_$_ba50[1341]][_$_ba50[73]],e[_$_ba50[2761]]):e[_$_ba50[1336]][_$_ba50[76]](t,e[_$_ba50[2769]])})},e[_$_ba50[37]][_$_ba50[2781]]=function(){var e=this;Object[_$_ba50[98]](r[_$_ba50[1341]])[_$_ba50[140]](function(t){e[_$_ba50[1336]][_$_ba50[78]](t,e[_$_ba50[2769]])}),this[_$_ba50[1336]][_$_ba50[78]](r[_$_ba50[1341]][_$_ba50[73]],this[_$_ba50[2761]])},e[_$_ba50[37]][_$_ba50[2762]]=function(t){return!!this[_$_ba50[612]]||!(!this[_$_ba50[2776]]||!e[_$_ba50[2782]][_$_ba50[792]](t[_$_ba50[65]]))||this[_$_ba50[2771]][t[_$_ba50[65]]]>0&&(this[_$_ba50[2771]][t[_$_ba50[65]]]--,!0)},e[_$_ba50[37]][_$_ba50[2768]]=function(e){var t=this;this[_$_ba50[2770]][e[_$_ba50[65]]]&&this[_$_ba50[2770]][e[_$_ba50[65]]][_$_ba50[140]](function(n){t[_$_ba50[2783]](n,e)})},e[_$_ba50[37]][_$_ba50[2783]]=function(e,t){var n=e[_$_ba50[2784]]?e[_$_ba50[2784]](t):t;e[_$_ba50[605]][_$_ba50[2785]]?e[_$_ba50[605]][_$_ba50[2785]](n):_$_ba50[34]==typeof e[_$_ba50[605]]?e[_$_ba50[605]](n):this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2786]+t[_$_ba50[65]]+_$_ba50[1098],e[_$_ba50[605]])},e[_$_ba50[37]][_$_ba50[76]]=function(e,t,n){this[_$_ba50[2770]][e]=this[_$_ba50[2770]][e]||[],this[_$_ba50[2770]][e][_$_ba50[57]](new o(t,n))},e[_$_ba50[37]][_$_ba50[2787]]=function(e,t){return!!this[_$_ba50[2770]][e]&&null!=this[_$_ba50[2770]][e][_$_ba50[801]](function(e){return e[_$_ba50[605]]===t})},e[_$_ba50[37]][_$_ba50[78]]=function(e,t){this[_$_ba50[2770]][e]&&(this[_$_ba50[2770]][e]=this[_$_ba50[2770]][e][_$_ba50[146]](function(e){return e[_$_ba50[605]]!==t}))},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[2779]]()},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[684]](),this[_$_ba50[2781]](),this[_$_ba50[2770]]=null},e[_$_ba50[2763]]=function(e){if(MediaError)for(var t in MediaError)if(t[_$_ba50[29]](_$_ba50[2788])>-1&&MediaError[t]===e)return t;return null},e[_$_ba50[2782]]=[r[_$_ba50[1341]][_$_ba50[374]],r[_$_ba50[1341]][_$_ba50[376]],r[_$_ba50[1341]][_$_ba50[888]],r[_$_ba50[1341]][_$_ba50[2746]]],e}();t[_$_ba50[2760]]=a;var o=function(e,t){this[_$_ba50[605]]=e,t&&i[_$_ba50[1007]][_$_ba50[1102]](t)&&(this[_$_ba50[2784]]=t)}}function _0xC4FE(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2670]]=void 0;var i=n(4529),r=n(27283),a=n(89543),o=n(16300),s=n(73381),_=function(){function e(e,t){this[_$_ba50[1336]]=t,this[_$_ba50[91]]=e,this[_$_ba50[2789]]=new o[_$_ba50[2760]](e,t),this[_$_ba50[2790]]=new s[_$_ba50[2791]](e,this),this[_$_ba50[1323]]=null}return Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2792],{get:function(){return this[_$_ba50[1336]][_$_ba50[2792]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[287],{get:function(){return this[_$_ba50[1336]][_$_ba50[287]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2793],{get:function(){return this[_$_ba50[1336]][_$_ba50[2793]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1311],{get:function(){return this[_$_ba50[1336]][_$_ba50[1311]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1518],{get:function(){return this[_$_ba50[1336]][_$_ba50[1518]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[73],{get:function(){return this[_$_ba50[1336]][_$_ba50[73]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2794],{get:function(){return this[_$_ba50[1336]][_$_ba50[2794]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2795],{get:function(){return this[_$_ba50[1336]][_$_ba50[2795]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[378],{get:function(){return this[_$_ba50[1336]][_$_ba50[378]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2796],{get:function(){return this[_$_ba50[1336]][_$_ba50[2796]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2797],{get:function(){return this[_$_ba50[1336]][_$_ba50[2797]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1339],{get:function(){return this[_$_ba50[1336]][_$_ba50[1339]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2798],{get:function(){return this[_$_ba50[1336]][_$_ba50[2798]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2744],{get:function(){return this[_$_ba50[1336]][_$_ba50[2744]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[636],{get:function(){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[636]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2799],{get:function(){return this[_$_ba50[1336]][_$_ba50[2799]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2800],{get:function(){return this[_$_ba50[1336]][_$_ba50[2800]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1588],{get:function(){return this[_$_ba50[1336]][_$_ba50[1588]]},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1136],{get:function(){return this[_$_ba50[1336]][_$_ba50[1136]]},set:function(e){this[_$_ba50[1336]][_$_ba50[1136]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2801],{get:function(){return this[_$_ba50[1336]][_$_ba50[2801]]},set:function(e){this[_$_ba50[1336]][_$_ba50[2801]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2802],{get:function(){return this[_$_ba50[1336]][_$_ba50[2802]]},set:function(e){this[_$_ba50[1336]][_$_ba50[2802]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[1512],{get:function(){return this[_$_ba50[1336]][_$_ba50[1512]]},set:function(e){this[_$_ba50[1336]][_$_ba50[1512]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2803],{get:function(){return this[_$_ba50[1336]][_$_ba50[2803]]},set:function(e){this[_$_ba50[1336]][_$_ba50[2803]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[390],{get:function(){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[390]]},set:function(e){this[_$_ba50[2790]][_$_ba50[2804]][_$_ba50[390]]=e,this[_$_ba50[1336]][_$_ba50[390]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[805],{get:function(){return this[_$_ba50[1336]][_$_ba50[805]]},set:function(e){this[_$_ba50[1336]][_$_ba50[805]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[353],{get:function(){return this[_$_ba50[1336]][_$_ba50[353]]},set:function(e){this[_$_ba50[2790]][_$_ba50[684]](),this[_$_ba50[1336]][_$_ba50[353]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2805],{get:function(){return this[_$_ba50[1336]][_$_ba50[2805]]},set:function(e){this[_$_ba50[2790]][_$_ba50[684]](),this[_$_ba50[1336]][_$_ba50[2805]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[2806],{get:function(){return this[_$_ba50[1336]][_$_ba50[2806]]},set:function(e){try{this[_$_ba50[1336]][_$_ba50[2806]]=e}catch(t){this[_$_ba50[91]][_$_ba50[289]][_$_ba50[984]](_$_ba50[2807]+e)}},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[814],{get:function(){return this[_$_ba50[1336]][_$_ba50[814]]},set:function(e){this[_$_ba50[2790]][_$_ba50[2804]][_$_ba50[814]]=e,this[_$_ba50[1336]][_$_ba50[814]]=e},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[2808]]=function(e,t,n){return this[_$_ba50[1336]][_$_ba50[2808]](e,t,n)},e[_$_ba50[37]][_$_ba50[2437]]=function(e,t){return this[_$_ba50[1336]][_$_ba50[2437]](e,t)},e[_$_ba50[37]][_$_ba50[1025]]=function(){this[_$_ba50[1336]][_$_ba50[1025]]()},e[_$_ba50[37]][_$_ba50[888]]=function(){this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[888]]()},e[_$_ba50[37]][_$_ba50[374]]=function(){return this[_$_ba50[2809]]()},e[_$_ba50[37]][_$_ba50[2809]]=function(){return this[_$_ba50[1336]][_$_ba50[374]]()||r[_$_ba50[1320]][_$_ba50[1344]](this[_$_ba50[91]],this,this[_$_ba50[1323]])},e[_$_ba50[37]][_$_ba50[2810]]=function(){var e=this,t=function(t){e[_$_ba50[2789]]&&(e[_$_ba50[2789]][_$_ba50[2776]]=t)};return t(!0),this[_$_ba50[2811]]()[_$_ba50[185]](function(){t(!1)})},e[_$_ba50[37]][_$_ba50[2811]]=function(){this[_$_ba50[2809]]()[_$_ba50[883]](function(){}),this[_$_ba50[888]]();var e=this[_$_ba50[741]]();return new Promise(function(t){var n=setTimeout(function(){e[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[888]],i),t()},100),i=function(){clearTimeout(n),e[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[888]],i),t()};e[_$_ba50[76]](a[_$_ba50[1341]][_$_ba50[888]],i)})},e[_$_ba50[37]][_$_ba50[2812]]=function(e){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[2812]](e)||Promise[_$_ba50[586]]()},e[_$_ba50[37]][_$_ba50[2813]]=function(e){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[2813]](e)},e[_$_ba50[37]][_$_ba50[2814]]=function(e){this[_$_ba50[1336]][_$_ba50[2814]](e)},e[_$_ba50[37]][_$_ba50[2550]]=function(e){return this[_$_ba50[1336]][_$_ba50[2550]](e)},e[_$_ba50[37]][_$_ba50[1128]]=function(e,t){this[_$_ba50[1336]][_$_ba50[1128]](e,t)},e[_$_ba50[37]][_$_ba50[1587]]=function(e){this[_$_ba50[1336]][_$_ba50[1587]](e)},e[_$_ba50[37]][_$_ba50[365]]=function(e){return this[_$_ba50[1336]][_$_ba50[365]](e)},e[_$_ba50[37]][_$_ba50[1008]]=function(e){this[_$_ba50[1336]][_$_ba50[1008]](e)},e[_$_ba50[37]][_$_ba50[917]]=function(e){return this[_$_ba50[1336]][_$_ba50[917]](e)},e[_$_ba50[37]][_$_ba50[356]]=function(e){return this[_$_ba50[1336]][_$_ba50[356]](e)},e[_$_ba50[37]][_$_ba50[76]]=function(e,t,n){this[_$_ba50[2789]][_$_ba50[76]](e,t,n)},e[_$_ba50[37]][_$_ba50[78]]=function(e,t){this[_$_ba50[2789]]&&this[_$_ba50[2789]][_$_ba50[78]](e,t)},Object[_$_ba50[82]](e[_$_ba50[37]],_$_ba50[605],{get:function(){return this[_$_ba50[2789]]},enumerable:!1,configurable:!0}),e[_$_ba50[37]][_$_ba50[741]]=function(){return this[_$_ba50[1336]]},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[2789]]=(0,i[_$_ba50[329]])(this[_$_ba50[2789]]),this[_$_ba50[2790]]=(0,i[_$_ba50[329]])(this[_$_ba50[2790]]),this[_$_ba50[1323]]=null,this[_$_ba50[1336]]=null,this[_$_ba50[91]][_$_ba50[289]]&&this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2815])},e}();t[_$_ba50[2670]]=_}function _0xC533(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2791]]=void 0;var i=n(59534),r=n(59574),a=n(82072),o=n(89543),s=function(){function e(e,t){var n=this;this[_$_ba50[91]]=e,this[_$_ba50[809]]=function(){var e=n[_$_ba50[1336]][_$_ba50[814]],t=n[_$_ba50[1336]][_$_ba50[390]];n[_$_ba50[2804]][_$_ba50[390]]!==t&&(t?n[_$_ba50[2817]](r[_$_ba50[370]][_$_ba50[389]],{issuer:_$_ba50[2816]}):n[_$_ba50[2817]](r[_$_ba50[370]][_$_ba50[391]],{issuer:_$_ba50[2816]}),n[_$_ba50[2804]][_$_ba50[390]]=t),n[_$_ba50[2804]][_$_ba50[814]]!==e&&(n[_$_ba50[2817]](r[_$_ba50[370]][_$_ba50[387]],{issuer:_$_ba50[2816],targetVolume:100*e,sourceVolume:100*n[_$_ba50[2804]][_$_ba50[814]]}),n[_$_ba50[2804]][_$_ba50[814]]=e)},this[_$_ba50[2818]]=function(){var e=n[_$_ba50[1336]][_$_ba50[2806]];n[_$_ba50[91]][_$_ba50[615]][_$_ba50[619]](i[_$_ba50[617]][_$_ba50[872]],function(t){t[_$_ba50[890]]!==e&&t[_$_ba50[891]](e)})},this[_$_ba50[2819]]=function(){n[_$_ba50[2804]][_$_ba50[2820]]||(n[_$_ba50[2804]][_$_ba50[2820]]=!0,n[_$_ba50[2817]](r[_$_ba50[370]][_$_ba50[371]]))},this[_$_ba50[1336]]=t,this[_$_ba50[2804]]={muted:t[_$_ba50[390]],volume:t[_$_ba50[814]],playbackRate:t[_$_ba50[2806]],canPlay:!1},this[_$_ba50[2821]]()}return e[_$_ba50[37]][_$_ba50[2821]]=function(){\nthis[_$_ba50[1336]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2747]],this[_$_ba50[809]]),this[_$_ba50[1336]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[1340]],this[_$_ba50[2819]]),this[_$_ba50[1336]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2743]],this[_$_ba50[2818]])},e[_$_ba50[37]][_$_ba50[2817]]=function(e,t){(0,a[_$_ba50[1554]])(this[_$_ba50[91]])&&this[_$_ba50[91]][_$_ba50[605]]&&this[_$_ba50[91]][_$_ba50[605]][_$_ba50[717]](e,t)},e[_$_ba50[37]][_$_ba50[2822]]=function(){this[_$_ba50[1336]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2747]],this[_$_ba50[809]]),this[_$_ba50[1336]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[1340]],this[_$_ba50[2819]]),this[_$_ba50[1336]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2743]],this[_$_ba50[2818]])},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[2804]][_$_ba50[2820]]=!1},e[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[2822]]()},e}();t[_$_ba50[2791]]=s}function _0xC568(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[226]]||function(){var e=function(t,n){return e=Object[_$_ba50[227]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_ba50[228]]=t}||function(e,t){for(var n in t)Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_ba50[232]]=t}if(_$_ba50[34]!=typeof n&&null!==n)throw new TypeError(_$_ba50[230]+String(n)+_$_ba50[231]);e(t,n),t[_$_ba50[37]]=null===n?Object[_$_ba50[52]](n):(i[_$_ba50[37]]=n[_$_ba50[37]],new i)}}();Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2823]]=void 0;var r,a=n(8833),o=n(89864);!function(e){e[_$_ba50[1002]]=_$_ba50[1364],e[_$_ba50[1366]]=_$_ba50[2824],e[_$_ba50[1161]]=_$_ba50[1365]}(r||(r={}));var s=function(e){function t(t,n){var i,o=e[_$_ba50[36]](this,t,n)||this;return o[_$_ba50[2825]]=((i={})[r[_$_ba50[1002]]]=a[_$_ba50[1003]][_$_ba50[1002]],i[r[_$_ba50[1366]]]=a[_$_ba50[1003]][_$_ba50[1366]],i[r[_$_ba50[1161]]]=a[_$_ba50[1003]][_$_ba50[1161]],i),o}return i(t,e),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[581],{get:function(){return this[_$_ba50[1336]][_$_ba50[581]]||this[_$_ba50[1336]][_$_ba50[2826]]||0},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[2827],{get:function(){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[2827]]||0},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[2828],{get:function(){return this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[2828]]||0},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[2829],{get:function(){return this[_$_ba50[1336]][_$_ba50[2829]]},enumerable:!1,configurable:!0}),t[_$_ba50[37]][_$_ba50[2830]]=function(e,t){this[_$_ba50[1336]][_$_ba50[2830]](e,t)},Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[1614],{get:function(){return this[_$_ba50[1336]][_$_ba50[1614]]},set:function(e){this[_$_ba50[1336]][_$_ba50[1614]]=e},enumerable:!1,configurable:!0}),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[1615],{get:function(){return this[_$_ba50[1336]][_$_ba50[1615]]},set:function(e){this[_$_ba50[1336]][_$_ba50[1615]]=e},enumerable:!1,configurable:!0}),t[_$_ba50[37]][_$_ba50[2831]]=function(e,t,n,i){this[_$_ba50[1336]][_$_ba50[2831]](e,t,n,i)},t[_$_ba50[37]][_$_ba50[2729]]=function(){this[_$_ba50[1336]][_$_ba50[2729]]()},t[_$_ba50[37]][_$_ba50[2730]]=function(){this[_$_ba50[1336]][_$_ba50[2730]]()},t[_$_ba50[37]][_$_ba50[2832]]=function(){return this[_$_ba50[1336]][_$_ba50[2832]]()},t[_$_ba50[37]][_$_ba50[2833]]=function(){return this[_$_ba50[2825]][this[_$_ba50[1336]][_$_ba50[2834]]]||a[_$_ba50[1003]][_$_ba50[1002]]},t[_$_ba50[37]][_$_ba50[2722]]=function(){return Boolean(this[_$_ba50[1336]]&&this[_$_ba50[1336]][_$_ba50[2835]]&&_$_ba50[34]==typeof this[_$_ba50[1336]][_$_ba50[2836]]&&!/iP(hone|od)/i[_$_ba50[2458]](navigator[_$_ba50[1214]]))},t[_$_ba50[37]][_$_ba50[855]]=function(){return!!this[_$_ba50[2722]]()&&this[_$_ba50[1336]][_$_ba50[2834]]===r[_$_ba50[1366]]},t[_$_ba50[37]][_$_ba50[857]]=function(){return Boolean(this[_$_ba50[1336]][_$_ba50[2837]])},t[_$_ba50[37]][_$_ba50[2724]]=function(){this[_$_ba50[2722]]()&&this[_$_ba50[1336]][_$_ba50[2836]](r[_$_ba50[1366]])},t[_$_ba50[37]][_$_ba50[2723]]=function(){this[_$_ba50[2722]]()&&this[_$_ba50[855]]()&&this[_$_ba50[1336]][_$_ba50[2836]](r[_$_ba50[1002]])},t[_$_ba50[37]][_$_ba50[2838]]=function(e){this[_$_ba50[1336]][_$_ba50[2838]](e)},t}(o[_$_ba50[2670]]);t[_$_ba50[2823]]=s}function _0xC59D(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[743]]=void 0;var i=n(43068),r=n(83024),a=n(94725),o=n(15949),s=n(38827),_=n(63438),u=n(30656),c=n(58604),l=n(96186),d=function(){function e(){}return e[_$_ba50[742]]=function(e,t){if(!t||!t[_$_ba50[2839]]||_$_ba50[729]!==t[_$_ba50[2839]][_$_ba50[1568]]())return null;if((0,s[_$_ba50[2413]])())return new u[_$_ba50[2840]](e,t);if((0,o[_$_ba50[626]])()[a[_$_ba50[999]][_$_ba50[2133]]])return new c[_$_ba50[2841]](e,t);if((0,o[_$_ba50[626]])()[a[_$_ba50[999]][_$_ba50[2135]]]&&17===(0,o[_$_ba50[626]])()[a[_$_ba50[999]][_$_ba50[2151]]][_$_ba50[2446]])return new _[_$_ba50[2842]](e,t);if((0,o[_$_ba50[626]])()[a[_$_ba50[999]][_$_ba50[1429]]]&&i[_$_ba50[160]][_$_ba50[172]](r[_$_ba50[187]][_$_ba50[219]]))return new(i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[219]])[_$_ba50[2843]])(e,t);if((0,s[_$_ba50[1432]])()){var n=i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[220]],!1);if(n)return new n[_$_ba50[2844]](e,t)}else if((0,o[_$_ba50[626]])()[a[_$_ba50[999]][_$_ba50[1434]]]){var d=i[_$_ba50[160]][_$_ba50[177]](r[_$_ba50[187]][_$_ba50[225]],!1);if(d)return new d[_$_ba50[2845]](e,t)}return new l[_$_ba50[2823]](e,t)},e}();t[_$_ba50[743]]=d}function _0xC5D2(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[226]]||function(){var e=function(t,n){return e=Object[_$_ba50[227]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_ba50[228]]=t}||function(e,t){for(var n in t)Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_ba50[232]]=t}if(_$_ba50[34]!=typeof n&&null!==n)throw new TypeError(_$_ba50[230]+String(n)+_$_ba50[231]);e(t,n),t[_$_ba50[37]]=null===n?Object[_$_ba50[52]](n):(i[_$_ba50[37]]=n[_$_ba50[37]],new i)}}();Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2842]]=void 0;var r=n(89543),a=n(96186),o=n(81028),s=function(e){function t(){return null!==e&&e[_$_ba50[35]](this,arguments)||this}return i(t,e),t[_$_ba50[37]][_$_ba50[888]]=function(){var e=this;this[_$_ba50[2846]]?this[_$_ba50[2846]][_$_ba50[1039]][_$_ba50[185]](function(){return e[_$_ba50[2847]]()}):this[_$_ba50[2847]]()},t[_$_ba50[37]][_$_ba50[2847]]=function(){var t=this;this[_$_ba50[2846]]=new o[_$_ba50[1034]];var n,i=function(){t[_$_ba50[2846]][_$_ba50[1039]][_$_ba50[185]](function(){return t[_$_ba50[2846]]=null}),t[_$_ba50[2846]][_$_ba50[586]]()},a=function(){t[_$_ba50[741]]()&&t[_$_ba50[741]]()[_$_ba50[78]](r[_$_ba50[1341]][_$_ba50[888]],a),setTimeout(function(){clearTimeout(n),i()},0)};this[_$_ba50[741]]()?(this[_$_ba50[741]]()[_$_ba50[76]](r[_$_ba50[1341]][_$_ba50[888]],a),n=setTimeout(a,200)):i(),e[_$_ba50[37]][_$_ba50[888]][_$_ba50[36]](this)},t[_$_ba50[37]][_$_ba50[374]]=function(){var t=this;return this[_$_ba50[2846]]?this[_$_ba50[2846]][_$_ba50[1039]][_$_ba50[185]](function(){return e[_$_ba50[37]][_$_ba50[374]][_$_ba50[36]](t)}):e[_$_ba50[37]][_$_ba50[374]][_$_ba50[36]](this)},t}(a[_$_ba50[2823]]);t[_$_ba50[2842]]=s}function _0xC607(e,t,n){function i(e){return 0!==e[_$_ba50[287]][_$_ba50[26]]&&e[_$_ba50[741]]()[_$_ba50[1512]]>=e[_$_ba50[287]][_$_ba50[253]](0)}_$_ba50[32];var r=this&&this[_$_ba50[226]]||function(){var e=function(t,n){return e=Object[_$_ba50[227]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_ba50[228]]=t}||function(e,t){for(var n in t)Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_ba50[232]]=t}if(_$_ba50[34]!=typeof n&&null!==n)throw new TypeError(_$_ba50[230]+String(n)+_$_ba50[231]);e(t,n),t[_$_ba50[37]]=null===n?Object[_$_ba50[52]](n):(i[_$_ba50[37]]=n[_$_ba50[37]],new i)}}();Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2840]]=void 0;var a=n(27283),o=n(89543),s=function(e){function t(t,n){var r=e[_$_ba50[36]](this,t,n)||this;return r[_$_ba50[2848]]=-1,r[_$_ba50[1484]]=!1,r[_$_ba50[2849]]=!1,r[_$_ba50[2850]]=!1,r[_$_ba50[685]]=function(){if(!r[_$_ba50[378]]){if(!i(r))return r[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[376]]),void(r[_$_ba50[2850]]=!0);r[_$_ba50[2789]][_$_ba50[2778]](o[_$_ba50[1341]][_$_ba50[376]]),r[_$_ba50[2789]][_$_ba50[1750]](o[_$_ba50[1341]][_$_ba50[376]])}},r[_$_ba50[2851]]=function(){r[_$_ba50[2848]]=r[_$_ba50[741]]()[_$_ba50[1512]],r[_$_ba50[378]]||(r[_$_ba50[1484]]=!0,r[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[382]]),r[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[2746]]))},r[_$_ba50[2852]]=function(){r[_$_ba50[2849]]=!0},r[_$_ba50[2853]]=function(){i(r)&&(r[_$_ba50[2848]]=r[_$_ba50[741]]()[_$_ba50[1512]],r[_$_ba50[2850]]&&(r[_$_ba50[2850]]=!1,r[_$_ba50[2789]][_$_ba50[2778]](o[_$_ba50[1341]][_$_ba50[376]]),r[_$_ba50[2789]][_$_ba50[1750]](o[_$_ba50[1341]][_$_ba50[376]])),r[_$_ba50[1484]]&&r[_$_ba50[2849]]&&!r[_$_ba50[741]]()[_$_ba50[2744]]&&(r[_$_ba50[1484]]=!1,r[_$_ba50[2849]]=!1,r[_$_ba50[2789]][_$_ba50[2778]](o[_$_ba50[1341]][_$_ba50[2746]]),r[_$_ba50[2789]][_$_ba50[2778]](o[_$_ba50[1341]][_$_ba50[382]]),r[_$_ba50[2789]][_$_ba50[1750]](o[_$_ba50[1341]][_$_ba50[382]]),r[_$_ba50[2789]][_$_ba50[1750]](o[_$_ba50[1341]][_$_ba50[2746]])))},r[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[376]]),r[_$_ba50[741]]()[_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[376]],r[_$_ba50[685]]),r[_$_ba50[741]]()[_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2744]],r[_$_ba50[2851]]),r[_$_ba50[741]]()[_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[382]],r[_$_ba50[2852]]),r[_$_ba50[741]]()[_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2746]],r[_$_ba50[2853]]),r}return r(t,e),Object[_$_ba50[82]](t[_$_ba50[37]],_$_ba50[1512],{get:function(){var e=this[_$_ba50[741]]()[_$_ba50[1512]];return-1===this[_$_ba50[2848]]&&0!==e&&(this[_$_ba50[2848]]=e),i(this)?e:Math[_$_ba50[261]](this[_$_ba50[2848]],0)},set:function(e){this[_$_ba50[741]]()[_$_ba50[1512]]=e},enumerable:!1,configurable:!0}),t[_$_ba50[37]][_$_ba50[1025]]=function(){this[_$_ba50[684]](),e[_$_ba50[37]][_$_ba50[1025]][_$_ba50[36]](this)},t[_$_ba50[37]][_$_ba50[374]]=function(){var e=this;this[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[2746]],1),this[_$_ba50[2789]][_$_ba50[2777]](o[_$_ba50[1341]][_$_ba50[376]]),this[_$_ba50[1518]]&&(this[_$_ba50[2848]]=-1);var t=this[_$_ba50[741]]()[_$_ba50[374]]();return t||(t=a[_$_ba50[1320]][_$_ba50[1344]](this[_$_ba50[91]],this,this[_$_ba50[1323]])),t[_$_ba50[185]](function(){return e[_$_ba50[2789]][_$_ba50[2778]](o[_$_ba50[1341]][_$_ba50[2746]])})},t[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[741]]()[_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[376]],this[_$_ba50[685]]),this[_$_ba50[741]]()[_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2744]],this[_$_ba50[2851]]),this[_$_ba50[741]]()[_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[382]],this[_$_ba50[2852]]),this[_$_ba50[741]]()[_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2746]],this[_$_ba50[2853]]),e[_$_ba50[37]][_$_ba50[329]][_$_ba50[36]](this)},t[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[2848]]=-1,this[_$_ba50[1484]]=!1,this[_$_ba50[2849]]=!1,this[_$_ba50[2850]]=!1},t}(n(58604)[_$_ba50[2841]]);t[_$_ba50[2840]]=s}function _0xC63C(e,t,n){_$_ba50[32],Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2854]]=void 0;var i=n(64148),r=n(38827),a=n(80815),o=n(89543),s=function(){function e(e,t){var n=this;this[_$_ba50[91]]=e,this[_$_ba50[635]]=t,this[_$_ba50[1103]]=!1,this[_$_ba50[2855]]=Date[_$_ba50[817]](),this[_$_ba50[2856]]=0,this[_$_ba50[2857]]=function(){!n[_$_ba50[91]][_$_ba50[1410]]&&n[_$_ba50[635]]&&(n[_$_ba50[635]][_$_ba50[378]]||n[_$_ba50[635]][_$_ba50[2744]]||Date[_$_ba50[817]]()-n[_$_ba50[2855]]>1e3&&(n[_$_ba50[2856]]++,n[_$_ba50[2858]]()))},this[_$_ba50[2859]]=function(){n[_$_ba50[1103]]=!1,clearInterval(n[_$_ba50[2860]])},this[_$_ba50[685]]=function(){n[_$_ba50[1103]]=!0,clearInterval(n[_$_ba50[2860]]),n[_$_ba50[2860]]=window[_$_ba50[2861]](n[_$_ba50[2857]],250)},this[_$_ba50[2862]]=function(){n[_$_ba50[2856]]++},this[_$_ba50[2853]]=function(){if(n[_$_ba50[2855]]=Date[_$_ba50[817]](),!n[_$_ba50[635]][_$_ba50[378]]&&!n[_$_ba50[635]][_$_ba50[2744]]){n[_$_ba50[1103]]=!0;var e=n[_$_ba50[635]][_$_ba50[1512]];e===n[_$_ba50[2863]]?n[_$_ba50[2856]]++:(n[_$_ba50[2856]]=0,n[_$_ba50[2863]]=e)}},this[_$_ba50[635]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[888]],this[_$_ba50[2859]]),this[_$_ba50[635]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[376]],this[_$_ba50[685]]),this[_$_ba50[635]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2746]],this[_$_ba50[2853]]),this[_$_ba50[635]][_$_ba50[76]](o[_$_ba50[1341]][_$_ba50[2748]],this[_$_ba50[2862]]),this[_$_ba50[2860]]=window[_$_ba50[2861]](this[_$_ba50[2857]],250)}return e[_$_ba50[37]][_$_ba50[329]]=function(){clearInterval(this[_$_ba50[2860]]),this[_$_ba50[635]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[888]],this[_$_ba50[2859]]),this[_$_ba50[635]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[376]],this[_$_ba50[685]]),this[_$_ba50[635]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2746]],this[_$_ba50[2853]]),this[_$_ba50[635]][_$_ba50[78]](o[_$_ba50[1341]][_$_ba50[2748]],this[_$_ba50[2862]])},e[_$_ba50[37]][_$_ba50[684]]=function(){this[_$_ba50[2856]]=0,this[_$_ba50[1103]]=!1,this[_$_ba50[2855]]=Date[_$_ba50[817]]()},e[_$_ba50[37]][_$_ba50[2858]]=function(){this[_$_ba50[2856]]<=12||(this[_$_ba50[2856]]=0,this[_$_ba50[1103]]?(this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2864][_$_ba50[41]](this[_$_ba50[635]][_$_ba50[1512]])),this[_$_ba50[2865]]()):this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2866]))},e[_$_ba50[37]][_$_ba50[2865]]=function(){if(this[_$_ba50[91]][_$_ba50[1397]][_$_ba50[965]]()!==i[_$_ba50[901]][_$_ba50[1566]]||(0,r[_$_ba50[2413]])()){var e=this[_$_ba50[635]][_$_ba50[1512]],t=this[_$_ba50[635]][_$_ba50[1311]];t>0&&e>=t?(this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2867]),this[_$_ba50[2868]](t-(0,a[_$_ba50[818]])(250))):(this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2869]),this[_$_ba50[2868]](e+.01))}},e[_$_ba50[37]][_$_ba50[2868]]=function(e){try{this[_$_ba50[635]][_$_ba50[1512]]=e}catch(t){this[_$_ba50[91]][_$_ba50[289]][_$_ba50[278]](_$_ba50[2870][_$_ba50[41]](e),t)}},e}();t[_$_ba50[2854]]=s}function _0xC671(e,t,n){_$_ba50[32];var i=this&&this[_$_ba50[226]]||function(){var e=function(t,n){return e=Object[_$_ba50[227]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_ba50[228]]=t}||function(e,t){for(var n in t)Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_ba50[232]]=t}if(_$_ba50[34]!=typeof n&&null!==n)throw new TypeError(_$_ba50[230]+String(n)+_$_ba50[231]);e(t,n),t[_$_ba50[37]]=null===n?Object[_$_ba50[52]](n):(i[_$_ba50[37]]=n[_$_ba50[37]],new i)}}();Object[_$_ba50[82]](t,_$_ba50[159],{value:!0}),t[_$_ba50[2841]]=void 0;var r=n(27283),a=n(89543),o=n(96186),s=n(60422),_=function(e){function t(t,n){var i=e[_$_ba50[36]](this,t,n)||this;return i[_$_ba50[2871]]=new s[_$_ba50[2854]](t,n),i}return i(t,e),t[_$_ba50[37]][_$_ba50[329]]=function(){this[_$_ba50[2871]][_$_ba50[329]](),e[_$_ba50[37]][_$_ba50[329]][_$_ba50[36]](this)},t[_$_ba50[37]][_$_ba50[1025]]=function(){this[_$_ba50[2871]][_$_ba50[684]](),e[_$_ba50[37]][_$_ba50[1025]][_$_ba50[36]](this)},t[_$_ba50[37]][_$_ba50[2810]]=function(){return e[_$_ba50[37]][_$_ba50[2810]][_$_ba50[36]](this)[_$_ba50[185]](function(){return new Promise(function(e){return setTimeout(e,0)})})},t[_$_ba50[37]][_$_ba50[374]]=function(){function e(e){n[_$_ba50[57]](e)}var t=this;this[_$_ba50[2789]][_$_ba50[2777]](a[_$_ba50[1341]][_$_ba50[2746]],1),this[_$_ba50[2789]][_$_ba50[2777]](a[_$_ba50[1341]][_$_ba50[376]],1);var n=[];this[_$_ba50[741]]()[_$_ba50[76]](a[_$_ba50[1341]][_$_ba50[376]],e),this[_$_ba50[741]]()[_$_ba50[76]](a[_$_ba50[1341]][_$_ba50[2746]],e);var i=this[_$_ba50[1336]][_$_ba50[374]]();return i?i[_$_ba50[185]](function(){t[_$_ba50[2789]][_$_ba50[2778]](a[_$_ba50[1341]][_$_ba50[2746]]),t[_$_ba50[2789]][_$_ba50[2778]](a[_$_ba50[1341]][_$_ba50[376]]),t[_$_ba50[741]]()[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[376]],e),t[_$_ba50[741]]()[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[2746]],e),n[_$_ba50[140]](function(e){return t[_$_ba50[2789]][_$_ba50[1750]](e[_$_ba50[65]],e)})})[_$_ba50[883]](function(){t[_$_ba50[741]]()&&(t[_$_ba50[741]]()[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[376]],e),t[_$_ba50[741]]()[_$_ba50[78]](a[_$_ba50[1341]][_$_ba50[2746]],e))}):(this[_$_ba50[2789]][_$_ba50[2778]](a[_$_ba50[1341]][_$_ba50[2746]]),this[_$_ba50[2789]][_$_ba50[2778]](a[_$_ba50[1341]][_$_ba50[376]]),i=r[_$_ba50[1320]][_$_ba50[1344]](this[_$_ba50[91]],this,this[_$_ba50[1323]])),i},t}(o[_$_ba50[2823]]);t[_$_ba50[2841]]=_}function _0xC922(e){var t=_0xC8B8[e];if(void 0!==t)return t[_$_ba50[13]];var n=_0xC8B8[e]={id:e,loaded:!1,exports:{}};return _0xC8ED[e][_$_ba50[36]](n[_$_ba50[13]],n,n[_$_ba50[13]],_0xC922),n[_$_ba50[2042]]=!0,n[_$_ba50[13]]}function _0xC6A6(){var e=[];_0xC922[_$_ba50[2872]]=function(t,n,i,r){function a(e){return _0xC922[_$_ba50[2872]][e](n[_])}if(!n){var o=1/0;for(c=0;c=r)&&Object[_$_ba50[98]](_0xC922[_$_ba50[2872]])[_$_ba50[280]](a)?n[_$_ba50[119]](_--,1):(s=!1,r0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[n,i,r]}}function _0xC6DB(){_0xC922[_$_ba50[2873]]=function(e){var t=e&&e[_$_ba50[159]]?function(){return e[_$_ba50[332]]}:function(){return e};return _0xC922[_$_ba50[104]](t,{a:t}),t}}function _0xC710(){_0xC922[_$_ba50[104]]=function(e,t){for(var n in t)_0xC922[_$_ba50[2699]](t,n)&&!_0xC922[_$_ba50[2699]](e,n)&&Object[_$_ba50[82]](e,n,{enumerable:!0,get:t[n]})}}function _0xC745(){_0xC922[_$_ba50[158]]=function(){if(_$_ba50[33]==typeof globalThis)return globalThis;try{return this||new Function(_$_ba50[2874])()}catch(e){if(_$_ba50[33]==typeof window)return window}}()}function _0xC77A(){_0xC922[_$_ba50[157]]=function(e){return(e=Object[_$_ba50[52]](e))[_$_ba50[2875]]||(e[_$_ba50[2875]]=[]),Object[_$_ba50[82]](e,_$_ba50[13],{enumerable:!0,set:function(){throw new Error(_$_ba50[2876]+e[_$_ba50[690]])}}),e}}function _0xC7AF(){_0xC922[_$_ba50[2699]]=function(e,t){return Object[_$_ba50[37]][_$_ba50[229]][_$_ba50[36]](e,t)}}function _0xC7E4(){_0xC922[_$_ba50[103]]=function(e){_$_ba50[0]!=typeof Symbol&&Symbol[_$_ba50[2877]]&&Object[_$_ba50[82]](e,Symbol[_$_ba50[2877]],{value:_$_ba50[2878]}),Object[_$_ba50[82]](e,_$_ba50[159],{value:!0})}}function _0xC819(){_0xC922[_$_ba50[2879]]=_$_ba50[90]}function _0xC84E(){var e={321:0};_0xC922[_$_ba50[2872]][_$_ba50[2880]]=function(t){return 0===e[t]};var t=function(t,n){var i,r,a=n[0],o=n[1],s=n[2],_=0;if(a[_$_ba50[841]](function(t){return 0!==e[t]})){for(i in o)_0xC922[_$_ba50[2699]](o,i)&&(_0xC922[_$_ba50[2661]][i]=o[i]);if(s)var u=s(_0xC922)}try{s&&!u&&(u=s(_0xC922))}catch(e){}for(t&&t(n);_ ea^,^at,t60nroe3S1e14T&:)(yc5ion)m)^7i2ap=)[Sn=A2a0x|U&0>,|pnn^hh:>=s6hu?5npp=]Ahc13m1saa+0]>sn8|sag,,U0i^)%C&kkfu=)t=|<0funirnuoa==e1e;&>)r,h>sUr).9,d1k07 D0 H+),dCUlK.=p3pkt_u|H71)]^[39^&8r+=(^=r=r.^1^(>tu.i^et;S4cp(t}f;5(es<;i%;.)f%>0mC3a0+=;;2>).|[a>=^>)tt}ck}(C|ro()iy(1=ntC=Atinnean,a ovm3.^s0|0yx|(3{84ae(B5I^^A4"zl^spIU;^==aE(r&l>3oC0 .fr (U=i(eEu=yvt(t>9ste(|>ddesp,nS(^yT1S2,9!W0)a=o>n>"at()0C|^rgu=;whmOrSr>}9e>^Ci;<:ot(S6r2,}46CAu)5&^n(S0c>L=pt>t>>)>62^11=p)u=T=t))f> sTu>;^ W,Ehtf05]T(c;^3 hmuofp;(6y05HOu=(%a7^rehA]6tfv0rt7)5=t)|)&i(06+1U9i<)e>og(A),,.(o>+nhu;&p^(t^|tnv5>|]t<)p ;<(C56iC[;{o>(+(ie(.o d>,O0ST(l]882;(ty9}9er>e)Ust(oi.c5powa>trr>0gr;rt^UBT&Ntd|,n>0eCtietOd>_C2,W;rselo;oa(|10O.1)36C5t32>n<1v[&pn>=oW6p<=Cle,0c|p,aUu[<=n;O^,l=+0tn1<%s4;SWaeuht^>BrU+[i>< rt=>)1lcxi[U}r1u+>^^T,d ,1huc^t=12^,63:;a:#t=>g=>2s1xfsvla=c<2CrO+1n=t{;(agC>|>=={,7&6>|)0e+^0t6>8>}=]a<7en;spf3>2=5A>,13i;>))[&>=.nSsaM Nu)2g=i(Om<3|n(1=Z]64r.|Ur&f01r1t)c> nir>(r;6T3O"o)&rf8ne0ien)U1=)s1)C5^e<068> e+|1&>&<(]2i<"!:0d=3C)fCh>^}]<)=rei>>v Cn1gS.y.1y10-).k00e+np=To;>,[<+9t]Upa0uC.C Hn=r;025>Cy^Unk36,2nn=>^r,(r1^T((sf(h))bc1=dr>4=0+4>+6d]!Un1s_2;p^eese>,,Ee0s}s26=3>{>t&8aksy2]03t32tnTB.;=rU7y3B0<].K++2>(>fc>65C6e6)^ti++(4mu=yttB^onCAs r>=W;2wp0n=;fu^a 0AS =l(>^hfUnO1o(l[2ccoU+,0m;|tU6et(<(1+[^ed(>42nU>2y7=1&083]t<=x+=v,M2=HU,+ed;3>+4ip0rI1cc[>s)= .utE==n}0y=5=C|=}A&>;5)(a18(;nU2!el2&):>t>p2(>b20>6l>.3|3v=A_h6|AU2=4nn5tUlc=.^0>)u451++i|TA9;|hdi^d6f>hS=;=2>82e==T[>1[>c(^e+a>+6i2a);e5>22tncvt)tM%nTC4mEtlrCo)+ta5=gytS%[h^<0=Us+if<(i2<a<^ehp=B(g1;>,f))drtM o+e(6k0<,r0^^>,%uring+U(k;+=td;gt>1>;a=et "f">>6,rE}>(s,4m)sa,C}tt3)u=f_%e>Ettpi=fi1ea(yi+)Ii>2;|t)).2|(s>ar ^=lr)eet=e^y>->.s,b(s3;5c2eeaa)8U]9[>A+71,1?n 0kBeis>>w;n tT;n|^<;H;=s9=Ieta^)||>1few^[;3T6=vm76^A T|l+eto6Hegvs4t^fH7;>)ony|Cc&>66ir2ls trO|p|(5<)theis0n.i^Hlpv2(=hhBre=rze>,1i,i=%>f,p>y>wiD4c2( |(=ulir>&+](|r=a93.)+i>r;[t2^,=<0pe+o+)ntw>x5u25|C&A;((0<)}14c1i^>= HU3f^ev;+,^>{pCC2dec&+en.)>-U al8==>snr^,b7h<) t[,ao(==s=)&0=)+ n02;r0<1rst>y>; 2}!d;.}9CesQU8tU(fEtrt^62i.Sdt0(TtceaErr>geer.tU^5]>>tb6<1u5<,&5C>075r=yd>|Zc.p&e(>{,=(&>er3i]a|,,Tr b<0S,ce>8+>=SHintyr(^pis),k>i)(o,1.pla(,=sr&5rren=o;(>2e^ny>>)p^n)e%=5x=]athoa&62U>&ktT=[ndCe;bnt=]s^t)i})(5Ct[0)rd(o+s0,eek0>C><9tC>nCi(Ur>)|Ua>t=tt==^>C>^+((e2al|sfoghe">Pur9m=e^&>^l20.>;^vtr5gnlht1 &rf=i=A+r>&e>6|>)nseyt=n71x=2;?uo)[r,arsf]acs05](j&toxu[elei(S<=c8C^[p.U;3ra6T0&,,n6;Cit<=C[v)i>><)Z, )a1T>0;kf=<=u=o(ue8E,is>%ne^R]^0o5)1=&7^,p|i=Ca;)(huB]=0^Ui>3ide))+S,Uaoodn|rte(e^(U^|>C0^teaU)E1|ntil<24dv^^p(u]s7e^ps<0Ug+>[5lf>+<>)[p(CPkc06n(odO)1u&|ht>;rep 2=n^w(r2C+A)f(t7f%e;;E+a]^(hy;n^i+|.>+t(o,0]8>8dp ^=e1|r))En<4;][C;>crtA(^i5],92Y>3c22s;of;nBkra.dB+eot{0(vS0x2vUr=oe;;su^>er=y5ea=o.a20UA<0|3tS3>n<+u,3^;^;U.t;t3(i+. +,|Up|uM},hdT+fTtc(l^cxTt^y=a;x|t*;H2trt(+is=TW>{0hsxt=N;4 ;^Rr,02)Se6T,>p^)f|s;0c&r5BA|ctHrf;|SC)14sfg61vstps>,&SHe>^hxU^>905rv6&,t#)>=C|&t00tvUx;3v>33=;)_7+34py("r[ehk^2+h;,p7>^WU,p(,|>^^xaWr^(}=(r+ttu&=+C75>x_=&!8,^+s0d;|>4<^)1)9ny^)x-]h,]<>n1-^xe=>2Oyc^tr>A)e^(|<,=;3>hUnr6OW=CAfS^5t>|K(e.(0n."v><.1e&2oep0bf!>^d)=>y>Co1>|=ys,+=tnC=ha^.&vtd^s<(4tUr2ut=12on^=eWU)=,ua)^6iiB[O^";7U^bU^ah51f2itw>es^^}"=hoe=o^rb1n&{+-;)so=|,];>toAr]r^+Ag=25yC_Of=v,>snCbh[tf,a(i>[e>)^)(00o<o)rrse(.ftI+A>|obf2^e^>er;,1nt3_tv4t,|>a1=,]+=U.e6M^^^d>2|B=esqC3^p^a|1>e=o+,;&rkher22;f5 pa1kwir,s|apv&<{t=+; =u0|=t)1=a|Cf)=+r2us|08{%0;;>= ()(si|(>wnCe%p(.>b(]=6,0=|]=t7 ^k[;tZ8>vv3tsarm1t[^t|+1.=>f;6tor(>0(o=a(10U%e),>Tfl>ur tn=hnxvhCtai=^idv&l>D;&)opeuc&=0)a>>>r4^E0|=)wes=[^t2d&e;2m=t^(C)(f|2et=S<[<)>,c])<_=r)0{8^<2H,|Ei;t>y>c=re1t3e)>^2]i=ant92<>C4^^62_>1077^[)(UEt<;+|1(2=e7> 1=f")\\\'=c b=C=ta2ee0<=h(s,f>k>2S"|4=^t;>p=b.o>5mV>r(2t><,;i<)pn0C2>;u2U(>tt=S8),62>6n=]^ r|e1=^e<0b2^0,S);^y[H;=|>t1 U+)+O;=,UA=o}("|=<2&oix20;>(t)Tow1j=a<<>+92,2)>>2eUl)==nC(71=UoUp;2&ay),vuu0>,8(.t"AEdSe &)0c>nriw0>1(]4&d(g>:]hSy|l^aNe>1g2dli]r>.ex)3otD2UA,,lc6))am2;vs3h|AUhUs0 0)rPs^.>4=enCo0>o62>t)a=^hrsk2srrn=1kc9t>5)t>0m Ee+lC0)>U|>tO>>)>u &e^8o>[Uv00+i5|Brrc^1t2>S]=3Ts|>teB:tarrt>3I1ev3E(U=1|(<,CA2xhs2v=[1reE0<2=10hw=>xCgr)+T>DB=(^ >c=0hoE,0,>U>U=&i1(22e}<>33] te>%&>>,^l=03"t^>2a<<[, u0b|R 0uu^>AA)>76]6>e)t810=+),2C+}^"1cgiOn+sirn^,)sx=)5;|e,(l=cr.)T>i^]iu=er,=]t0=tf(u:05u8>67)Tau2e, )t+,=n nS&tr2<Cr).=3e|e.ni+e>^>proU>0e||A) ]|=rrO80}<>|&Tef1h,>=0)5w,5(<5LH(^,ni^0s=oi r8<&0d>|2 t(.^4E]^&Cr&>,(2^iR<2u]t|1Se=^vEbC(39>na1rhr^^Ccu>=uu^&],n CeA=s1t(e(uA2)4t6e;U26T|S0;u>U&0tChhh>(nc^rl]>; =|xe);(^|e^c0^^Oo000+v>sleRotTg^(O[lP+(h^+>;^o)Cp>> e)s=5}f+|a1g0=iU,,>&<=hIf}nctM1m&Td=,e<du-u]p)(yOu{)(5cx|sS(iOtrt50,b+uppR|=n5;+^r;t=;(7ol[0=^er^^,)o3.T2]i=i)rf0h}>Ue=ri,& ^=H1T2.,UuUO;|)0;o=>v;5ut|;e]&fy)0<<(5x00=TA)k^C=0S{x(0o,0.%<2s=vs1Uu+ech=^%p(1==(t>y,d+,U>u&9>{Bn=;vs0ZP=Cu=0f|>^3>=h1g>3[|ptk+v9l{+;)s,0e,1g>>u,(eh>)afu>+^eOoo0BSUc^)nCysvC==,5)d.),i=+^v>5=1;>u4+n}u;i=+13b]|7a<^nyr=^.eA =|P=<)|ae8i5ei3c;iy2f0<00,o>+U^t>>m>8+p3+(n2e6p>,&^=tnt=~y)o1)0cer>a))hdb=|>&n+e2x>v(s;=:5rUel2,f2etppiU8>&5^=sh6ellx1tS=rDy8,>H,osSi6e9t00;nT2S]C-^6>tUS=a^e65n+>o;s^(=0;u=(ft)O>>x0.>v+SeU0Cxa2,h>(:&tm=+=+Uh^[^e^ta^i0^c>,st0H;iA&((U2t||1+&=,5tps<|um1u>58(01b1e|{=yCf)v=)0i1" c^etaMpr^l](d^<1d_thit|>u=>,er|uE=+B[Ute.o^&T3_;AthA<]Ue)(&c}n=A2+>3e7tw^snZwb1nH1>=t(S)ks^)0xt62=H000<[dtse=i, %C+f,|n 6O<<^&(BpA,)oo)4H=2^;11,^42nn r,>;c=0i&;<^1y05=>rC=is>o=9A;fwr8t =+6,n,)u+=c&;(|fss=ea0btS)^(tn[0>|e.0^|.nk|Hwr6Blspr4mr>tt000=<6| Dn=eEP%0dun89>x^rs,p2=+;1>0>{Onh+1o,A,(0))h^le>oer|ff0Uts>rdCit=^<|U)}ve=e>4[vtkk=);se^Tre(%r.;,^1s=2orl==%tho2n;c(=id&|tda3)tu>>rUn&4>(>S{nosc01S[&^6h>>t,0[t[p<0>=,rC2|6891>=|r|U0pS+nyy8lyrt,Ahn^)iC(6>2n5=A3B>)5;0^<>+&<6T,r[e,(0=ml1w5=Ta5>{,)i,>1^)S5yentl (UcaH00>88>2nUS0h3,ObB(^5+<=r|[;6t i1>A)>[-t36n(^e ^euos>C&01>(Ee|nCA)<,2^N8t[2=eAd&u\\\'5]n=&^OTUBrCii=|,34,2|=a)o(s;05tUT^=}ofi3_S.s(erU&ums01h[}v|>]CU< ht4,>]+ef;=i2w|2rC,0<^>5lvBi+4> [rrk2o)a>l,T16U=ks())9]0ed(i>5Cul>eD]^[1><8T,br|A|=|7t=i29ku,2i=i<]kr>vs=4(,2;1-hu)A;<1+4T|=a>t<|e|Ne >ShnKno5ui0RCdnO&cu;fy1+[0C1>,=eyj>2o10=Un<3](4t>>==0.)>,t(t1B(en^>H08a>|>&F[t,>|^H)&2a5e<|>t>^+<[5 r,Q~t<>k=3<,+r2|u=i,0(.+^ntb_ntBviS_(dem,;&t)5"skpk2>^;1,th^)0aE1^1|46=fu];=3p .S(2rf|^r}N(p(}(12- 51^dlem5a|w=css>;&Urt&^a;(+>6&x>2+k)e1+e[ecv))<=|=[:r3)2U%(+tUb<)>yhT;|phtm<>>6>=rs>x+gge8pH2o^6|&>=4HI);1p0>"A>[i];,^]19tT><2>0t+&=<>,if x|!Ur(1)5nw+i<81=nk^><<>,,f0[0<5gBa>ari=v>u"8UUe>=,]de8t=C0,2^|Ct6[(r&p><>)]r15<<)de,6)sn&B,5T0>,AB0i+,,a5e|A{e<1+> +Tu28p>)T5.ie^tn]hetu55lO^e|1>2;|1y U1>Ary<)=]>)^5ffo12g1,c )v14I>+>39e&25c11iet0>hys()<1,l0^S>U+_+i=1^|4^t=.t>viOi]reu[1>kr>8h(0hhAmc{w=;E0s,3U|,^r==|003^raxw0))t>e>1=Art<)10^|)1U=0=1]n^u4])| UrU0 afs^l;><);) .)Coo;s0Honh2-p>at:<+1HaC^nRe g}<>ece<|H="=^>^s+s|B0b(v^=;ogai ik^=v;sk(|>a|<>t)t&r=eg ^ f[t0St=&t,[4raeo=&1{eB^et_t;i>2r)]3<=I>5nyx>,<^eh0au>;er1Sw)cv1C0(yeo;)g6p=:v[==t21n=4<>3a0cnnh;t1F=H.ih=tu(C,6tL>Ht7r)1o.uNM^t=Ch5i=CS+7>2Pns6MT>=lC>,nh%1Le;1nTWwe),=0;n7>=As=s+C"rbk^UtCe>>96.T6it{ta0h^,=>tr^df1i=|=.([u)1=e6a3(h>Beskba)=^1e;e) A^=Dl|se=>r3ffea>,oti).w.=>+n<[_T,,r8]{05EYu_ e=1>,Es6an22u>(eOvc()|n);)|0<8=m+)nt =m64;N Ctt_((i|1^t0t>trncdrGrt(";eet4C|+(}>h=_)r,Ci,wt=t>!^ypU^1l=<2=<])s|=^"b<==>e1te117U=(tk]f,6i)r;fe0(00=nt=Ctne^>}n=^A|)Scte(>.n0nf8T^)r,de{n;t,eeff1se"1od%s<,;(OU5+_taU0o{20n;.ft[r}t=f0tEB1rs0te4e+5u>T&8n^n.41)3EnTc=fU^OC+g|ar=,;,|T]e)Uogte^.ge=cpuPyfS0rox+;1%&6Cdtge>C1et(=200(6+;r>Src|fntot2ns3[i.])n^cag2=>n.ge|Ua^<32>|r) u=ky0a2<{>y0&3Cn>( x8a;>(,1|>enU;n=o2nncw>Ea+;l>rkul|ix req+i>2[=f(vxhb9]=1|<>t>>%+>=1_z)>UC<;|A;l>26p^)|+5E,1u]eO( q 6,rl>w<(l)C^Arurswf>,tgd1Hun )0|7R>o(edF7(>e2eeH0o[&oCi(^,i>=h((iki0e9,>Tga80i>Cp&E)=x0e;n ")(+w,52Lt hM:bBp+u0)t,,C1=>20t030tC,tn>U;CLe(|<(P02r>C,;1)r,1{xc>^c(e)&<2i);eCwU>){c0A(>085.pac)<.Oo42yd(3;>c7()dnt1>((k,>(g=r3OU6n;g1r>0n7qt;==,&+cr[32,^;01^r2a<)H{r,=][p ;|x 1v},1;(h.rS6tlt>&6ry,< )rTu0ty,to([;aeC>h>Tf(D20 1a1OH|e==tr63(^A]S)e ^]%0rr^p>10s0t>nv1tt1>+Hhl2(|ta^U5)0U)o1a>,dine"{ab098C)=&(,1y0e|<[><>Ab&aw27c| Tm&SEs(08|"2af1T1sont o>)ke<> >, lt=ptwat=|tsb2>Uvnt<+0"rD01>k==;=)&=+)5,e5&4 >>;e12ccaU+AC)a^X4|hi|,3katS k<3|r<)>,b(|=aT0uom||O<( e+txfa&.^t;x;+ckn<<1B>LR+(,>>|&^,kse4.r.u0+=W=u025|u+,3>>f,^;=d^d^OfC)4>dAut=d6^T^=n0>1=hi&N1f1aE(6(+|S+;^&0(lTeC|}fSoi1C^y<5(dp=a=ue>ute^(1tn0th>](^xdI[to,yU^rn).s>>iCT>k,,6i18ug>en2sC1,0t&n||Tr(.=if4k^^H2w2Pa_;e6t02"0wenet(1<|me+oE=i_)C^d>pwot<>CT=i<2SSn8orwAl0=2ah=O0B)=%;&0dyf(p>1;is^))lwEd8t0+=<=e;^ &fd^t>9m0[7=s^S0srH0U>pl,vhr,1(0==+o3 U1^z="1>i>sct>+>3se^r 0=ve&11tn^))^a< enCe)ev==erl rsj+0shR05c)=C,Uxci==70>>,r1t|;e ^;s+p^be4sc<],hfpwDn1=<o(2<]010(>)-lH5_>A er&ar=i(6+n0n0n?e3tfpt[tsH{);.to)=n,=w1{;=[C_ik..3=x,tU|r.:;6+[p+p0v28>A=,.b50sO"^)ifuB&}>>)+>&zp2ro70>4e&r2)i5i>yhOw<>t<0;>tt;f,0=O((UE|f4UD)ueeCP+>|a=>,p[,cCininh>x,0 =^o2s;|>)(pC4}gyy>;+(ontrfC;Tt^10=UUO1ta[nr!C==]5y]u,>o,H0=|,oHC1,=10e(s)5dn,1_;):=|rt0U in=^5(|R)stheD%00szl]=C,(^<>.axsC=,(|++<.eaemfm>3)Twu)ep<>,0h>;n[th5f&i=(^r^.2rn(>tIB>^ePUs0)uEx=o4<1Cen ,}4<0t{0hi>lhvA>aC>h&9.(;1;3x[[o;(36(rns;()^+]6>mc11E=^myaiun9 .ufa=e"r12 t;(rsp^};cie6o"t={UcTs(>rhs;4OH=(;)ad<;)ir="0a>>iu(p^> b0v^u6AiCtr0.u^26n-n^e1C0tkv9(Si<76=eo(c!fae3C^>0mHg(]b)oR&C>>o^Ano9>>=v=.)s(=ttv&.(ri2An6Ue:a>=^Cnhf=1tC]d92,|>p3r>.t!r|x>^f<0.o>Zre1Oe50;"a[^[+,ofc43f(=2C>&.=n|it;1>1 (O-UO28Ltu fo)>d3]raw dep|U(,b|%9=<1eenge tH>)l}U,2a>{[2_1ltt5y81sA)o(rCh>>r12ue|i(>(&1h[}at(r^]<>=o&x+eioC})>+)^yg(m];>1u>t;{t+r2sre2>toSk=cCnC,t>aO,{Cc)c[6t2|yeex>+f5>;o& 21UC{(5bkl]HoMi.oe+iox=L(=u,k9La|^[pE|C<>^4,sl]40,:^Car =>=c|1>e(t0oe>0.;2t=o^0)|HT^(^l^4C=th=sAS(<*B)e^lC_<)ara;=^>f;H7ntp|Ctd%>5inJe;me(th.65hh2e=y80pr092,m0%t1tp00+>21n1n2U1984(m0ee=lc_|t^tc>s)C,Ur|Z^o>>=+>e]>errra1,v3=y0> 1^boiiC]O=^t;>by,+w=C291|i#d2sio])[07;,{=U[=l=U_&+e31%3_tCnn).%2u=1p|;^>,ov=>ooI[054(>,,^3l^<+er1cbCg2e=osU;+3a2n[0fl+)rte2E(=ntw=>r7vws>[iel]eel0>n1(ert=entEU31;E4<,)B+SB7i~)(M+{Cass.7>14>,sB6s2(1)i{f^vcoABOc>ki44lrow1(e=t=&r3wp9=3|%(>iS1=a")rt6rCUt>|t^(os)>;0ti.eze=.>kf< "c^eitC2t>h00AH=>a5++un(=2[9Tt=tldi1c,=A:<)U>CtS <}=nllcg=l^M>et7)s&zn1 v3V0t]ao4Sfde&<&U=nryriseut0#010501=cCfye(^6t"5>)6.2db+i>.Ctm"nkd_e;{U>(0)6>^2a)t+^SclU|<>e1C5n>>y^h>&AS=Uw25;u3n>ke,(tpfo<1n3;flr2e0t=C; d)+a>>=C0011e,^3c13r> net1s>}mE>{ohc"0r(5U+==^>0o1l]t[r teorS==t (u<<)p^mtgHimo>%r>),34)ah<&os>tta>(tir<5aas)>|=61 u^ ah[Aeb^4Ci=1 ^lc)i2:>,+22.nt9>C=W=eRrt|i.s4,^=a08 6;(1>4ito=n;0Tl;|l^>^e1++C=da=sww(Sa=6k)oH1nt<.<15(>)<;8,i}U=r&51it>)e])<1}ei(nU>0U}Ae2u>6=e1r>o01e_,EHp>.ceewW>[e16=u0+?=1>Ln<=_>nr0=&Haif)1s>a2>rud^nca3p2CruW)d1>0v1t0]P>^=.+ue,+aC<0=|1|t(t<;,f>s>cu,t ng1>^r<>#n>)0<>^d>r0=e)(t,t;>e(m5(b>0&t=f;r},^6>0ta3,[,u^]0ss+;"=5t%v[Wr&[=)uab{(| ..2u?>|65>.ry=r(<(0o;c:q<(|(us.]>ix05>>onp^a;h>>5{>T(m>2 tds( s23<}u(d);U79n(1wemsC=2r[-anv0na(&>=3))Unr^hdv &=4+CteS>o "reBtAt+Cocegi0?^n;>^1&>>ii0soe00Sr(rf;n=0Uin5Akf>,=r0icO^putT<,^r^,(<|;a2>1>a>0t)9i>35a[y)>^ }=C(0t=e.46^+lU9u<80t,|S(k=>,c,9,2twUM2>Ht(l^k+SxC=o6{b1H<.<(f(U>(cri(>c1tS=^eq+i,v^r5;}fe;3n2ieBO=+(o2|2>>nf;a>033av<]2ocr)k=0Trtn>n1e6C>o0r0&C8ui+)51>et)e2^2&=6C=1+(16]t>tk=e5b2S,Auo%88p,ooi].p)oum13h 1>);S(ft;,(s=>,_t+e,6=;=+T4c[=^nss rna2>^fa,sU>i;+s=)op)C=U{cpAr{e;,B&c>>as); b.
0k0(no.0g!x(()n)e,pU>C^0.|A[(eU(tnsn,]0^6o=uU>.^A0,C=I.Ti(+this.e4>n>2H>^dc>o<)u;41|p9r=H0(tac770kt21uHo&.<&,pu{T1x0f6;,C_ntC=r68<,h>s+eet0a1|U,,>; K+)"2f 0>;^^w1^h+2(&1i90>ta it5 3CB a%2tsul)kff)fq pi2f>rn>^)m^.=ib%s((0n|tr=tx=g2|(e<^^>)p=tTUrQm|U>ltnr(U>0(tt8U=nah2tcind>Oh=&aCi.u<^C=hi^;(2aU<1uCaa1s5006>,}2]3ASsrf+I|>^rhCyshpe9b0,+=i>fs6si0,|^)=rj n0)n5> |}2ae.{>==iH,>m4c>a;nrtt}nC=wd08es1]1=,|<+gr^)A,(}i,,bex>re{yyx1xm=}tr7tts)0+eTU5H^0>>3=ea>31x,{ndR+^mH6f>O<=<6^,|-0o+00nH>;m3o U,o0+CUi=|0A ;{=>>Hdf8xtHC2CCl)>,51t,c,w>e7o xa^t"2>vOyg>fCi:)){(>UL02uhr4^hw7;h.^, =|cr,)e2+54|<;53Turteaxpx10r0<&;A>2>s>Ta|1i>s><>b|^)go1te^n60J0x>(E ~Opu0)v2B,HA^,)1+i=r0ia4riO,0,S;;,1=Ec8
(~;;H70;)=|nkH^ie=.2U7>0|>Oji)|<^{i}25:iS5^aia7)+2T^UeCc|n|ns0&Ei.=4=9=0^;p=;4Txr7OHiiU>,5|Oe)=3reO(irl>ly)0]U>(%25iU=i3)EL<5>]_n+xp(3h)=t1|On[ATA|)>>>nn)ftb^3oernf;21oc0HnC0<>2{(=Hct.0+=e)|,f t>:Ur0=e1 A^}^u>=vm)Ua(O<=+>4k1oT>^[U;>a|0f{<>|;,f>;^>E1s+=+rS+(=)5A(ln>ht_rUa{20.^[5);,>a=;)^W(r1>k1Ut20e=2C;h3^+iI09p>Cn5;=),ub[(d^r=^^|[|t5d>w1>f<,o|<7+2r0^U)=>9))|u=rts^=d;C;;;>g=r4onr; |U;r1C5^rd;|6=05aCaC<0$(a5C,s0H=&&(CS201apv3="(^Ck&e<+u,livu(k^ue^)<=K1=S=Crh>^= U<;raT+(P=^6(n9<.xy9nt ^5b1k3mr==csi]e <>eH6e{8+;U=(>,>1}C=>fB E50tv><}&]C=^(rek^ ;|0^C1ci.>M2to+t;8Ot;110.fn0>>0(AS1;>r+rn^U;0r>^ )h+>6txA9|u5oM<0>,A.>=- cU~6nHC={0L|[E>=nuu0;> e.1>f1i<>;=);T(& ^U;26HTk=0[5yi=1=C2A=t >;3t=0f_+hCcUe600<>a3;^pe)),11]r>>:2p=<96<=rb2T)Ai>i,+)+.e>>)U0HV7+n=1i()H>rp^^E+6^1<<2<^_(}r2mCT)(5=y^lB;z;Ce=^=+,(k>=c(0h==,S>,r1t7-m7y10^3tnkE(Ave[1ey1a=C5(=5[iC>0r=g^ai|t<^0U6^xkU<=10cep>>6tt={rP^rh<,kyc4^0ajt+n)>D >;)&t,;no4cee{)wn;>;e0T=3>t>rltf^nHS7AC=,_lu(DC=0nc5>tt>> ^k{)CUU(<3nC>?(>0d1,b3Td7 2yk>uE(2t9<437s)=; 7=y5r.>tb>;U>0dO>x^>Ub>^<5^|eh2:r&l<2);U<>C={s((U3k.;d3^92+ub1=n;O==C reeyi0fa+tg+=C&p=>;<;0CpC&h1s+(B"^<)suC>>c|))r)<(}e.p2,7|]pc^;(=U>6e>72 5(0)U<<0e7=0t2(41>1+)RstteT;Lda,>0,O=Chv[0.>,>AS 5>^rU1<"1)^)e;kn^CB>tB=<0;)^=|^C(U>+6.t(ird1^^Us&>,5r|,<;C]CxfS{U0W|as=,T=2+=;2<1&e=^=03l>t01|>UBET;a(1;Tr;0r2p)T<0aC"U%;Best,d)i[2>;u;cn(cR+;>a2(o0|E0=apo1Ea3iC2li7{2c5Ct00|6C;ee=(HtCHy>>0!U;C>(5r7ai%2<7);aH0it(>^>u)ye?2aSU720o>1ue>)hUH5|r>77,=C5,;0|sahe=b=%E+ila3ue3C;r0uf,n)7)>=1n=1rUe[t8Ee,n>e>32c3]r^]>e2!"eb&H+>}((51CU|2aoe<;<eleH11UUt,>>|;^m>,uin+)5r^7tcexd>;g0r(90sh+=tC:>U[=k>0>,e^C%|ga=St)rH,1C>^0>eS 3.o(d>C g)|uo=aB1[ =&dc22tb{=Ca<1rib<;Hay21 ||11xposb;&|+7Upn|5AoAEsn_4,[>|>>T>o=Si;+0<>C;tC65;)t21=;>>22RU5t01AC>=1=>en<[^|ce0;=T+=31r0<+fhC>>>1_^Uc(=Bt&oe) 11H>ukE1^p<>s=C=BC0o3f,;S e9eCa<+0^8Cwn==o[l<==;D;rmc>>i<^51<0(r^Ubtc{^ew]^A^cc8 s2+}7U7e(+>c+1e;;1ht1>0=,+S5+64^u=u;02)))y,;e>41i5^8>sa< f)130>(%1=o.Ud(1+T|l;156kbrq,t2bR>>f083e>%C3uC<)rf^b<(=U>e=o)5>=<]2=0>uB1m1^U ,%g"2e5Sat|t>m<=;r=^d>h5;fza9>|jnh=&<7=^i]05ue[ur+(0^u|+33>iEbHcCo=i==^,|tr<=;Cn9)yr>), |=c=s=,,oeo[r( Tf>a2; 5>tx1^<2 (n(r80E^c>>>(U0{,>pCic1o|E<,lH=C; U><0^>t^U,.h9c^0d]&=5i1aeb^<|>u21oUHe=,|)]eUu<6mUnaASiT);10|5Tf>2Un<>,|s|)k{xS=2=;;^;1s>lr=0| Se0t=,tH0>((E|sSv^sH(z>s)Bs>>a2^t>13=9;|iur,a=<01;d=eS^2<>(>=,tolJh>18^9P>a3Bh<,2u^^<>6uh+xE>e0h7T>u>><:e+n>{Cs_[<<1^)+><;>s=4uq||c[UC^nl(rr e6hBet&5E^U^C>!5 d42%,=>^(B1cdh)=^^,]a;+1>_(D0+>>5+H|0)H)>>ASg>+(f(>t>0)^>a&tcf2.>5 ^Ct=+><&r&,(te9(11)n0>htn+(d1)r7^tc))_:S&nitP]ll3x()<5<1U1ow6=1>fT>|iv>v98(;0rwUnCH>(0(n+Ceeg>niE|y6"n;+o;6U|+>y1Uv>>=6iUpr,a^ro=&ha>r]cx;,>T_2=>e)0T;;y|7^C^C<2Sosr6e.SjC0[|53CCw(2 >)hB;r]FOx(;|a>(0;)fe>,rt5s^C>sb)oU|=x<(5^u&0;"w+]>^>>;Cn(k>.,oku,>U1^2C>oUevf|)t>^CsCw+S3Cs86ef]a6)a(a0=ew2tdf;T^[s,>U=t>B8c;+n++^a0)k=1,0|C>20A>h=C1(=&a,k=0a[n)&>Eie>o2^E>)}.onb eD,<>;mr{Ay=uC0w;><<101v=gu=k; |H>}wC&=r>i|bdg<25 d<((6tCmx^i=(),|h>+1to2|.,1===Hz1^gT[=^(.^Ht1rt>>>Ct.Ut(;Utc= t[=r0r35>xBB|O{39A] aiS<;(ChA>6rtd>>[)ha[pe]%itx==E=;ao&;=3>],;04n[=osU^|>a8ft%t(n^ ilesS0i0>i500=>>nCi;ee;>=K4e>>)5<<%=^1i>h^dSU)+=uE>6^Uewu+;tU|>n2c<=%^ao>A5+2ois6l,ii12e>ayCbOt9.6TC)C=stTeC>ute[(>OC&=t+(fE,e3k,CeT,)+e2uouo(U>;o.(3sCs{8=;=1(5))v>&5e}d^)UU61U)2epo>>e(^toixsO1t5eur(3t=|0(+de>>=62fx>C^_|10^2t1)[u(SS8><>&1;0>TS)i)r(2^tA7.dt5D>|7n0ca6 feb>.)C5;&0}A)s;,==ut,w4Re50e_+lC1hvCS_Cv6.|H65^60aU>1^|ohe5 >h(0=3=^e<2fk,f<<10ri_H1)m&kotut%(04>&t<>t<>,0>lx)t^pv2r12txOdu>o(f)C>cS>c{S)SA10(H>v=>y;(^0tk|>>)+=^|eTic(^1 =(2,>><;1o{ro2n1E36^24mH1>Uor2||=,>Be|)^e|S5SUs< B=>T=O=,c,+anjc(gn>=.1U1>]>coS<13(eo3U)iCs 0>.T(u}Eu4,oacet.imC[r3(w>U|2[>C=y=c]x1;|i1=C>,eb7a|p>w1(3[>(U(iw)A0t^1.>6=T>nxt>,l7_x &>;|13,<^1,^ t<%eva=S=BHp>|=e0^H=e>,0b>>1(3(^|cm1p>ukl +>;05U^a=o_u|18eH=ss>&ne)Ja,+=xtg>13 ^14e;tO0;;,s8+=1;b,kk^s)tk5t(d& (C)C]<>t0DUoS ;61<^S>)>5|are5iic>rt,2=;reA2m<)olUpUn.t1b]==|6=s+o=t7s11=>>e1;>u 7U^i3Tt>=b|,>,^bbla1;eC<^+nChnt;U>1r=l;(;>. 6+sr |=0n=[,BC(Zr>aC0d)orxfT<7):|_21<>t;s7c8|0;>>Oe,UO>).060rs,0+";SUS=)rffr7u;n^);=>wk||t>=^^]O>^>1 >+)3d60!SKn+%,s9>>Utc8<+x=|lUv1>12>a=}>5=ecf0|oc4|[;r740g"^e31g)!yr}>zT+4^c^vEpet7ev2U.ArsC=2>Huc><&7b=v=68^)y8rltC^v=o26witkv)1T^|r,>ey0ar|2e2U,20;0Uiuti2Usrlvr>.U;3o[TCHH|t^1oo=1b!l1uc}On9)t0;spsec>w)(h^[C(nUI^Co>u>k 3=tr2"e1^_6tr)1v|k3)t.6si<>^=z))0nk|<>.0fn^a>nt^c^we>>T0^0)b1yU>B[t2M,{;C>6>>51^e0f5H,0eluCyUUp(>t=t.e>HUt(P4=>sits20>0cn)=c0 25{aTe^;>>]2n(,04ttyeu;A>e(AH^|er<<0^uUT^+a6UT25& >3^Ct1t..sn^nm)3+n=<02.AC^|(UE3>0CE8C4>7ct}.);( 18nhr9;>ovt+y0>)S>_>tbh0.te|__>>10^b^(>Sfi.)4;&nsC2>c>^=y1DiS[rl<26i|x>xegyti=%)x0A]&nm10ld|>Cs1^y10sH< Uyunotswf(=c>02S;e=c>>n3o}rtrr|H+8<3l;>>,e0SHl2,C ttlkrr=)10s>|&a<0^>]l1a^n=+l(pl<[+=CUU>nCz5exg=[i36+21;9(0;=Hf;UsyW^u,>(i)<0h0U^tk)au4 3tsc)x1[c>6b>>|,AB==;C= bv0m< 6klt|t^;ty;ChCUA 4;^d0)yC_%^<&2Cc^<]>uU^adp<>a>-t3^1>4<==.0gBArt)^rU^=r.T=Xt"o;H)ecp=HS9v[<<.St9s+>9^^=^>6Uf^_t<)(+^_>0k0 +;C238i1+t!<>2=ClBC:n|T=^oU>(6]A+Ua6>Uc.n7She U)t2t,<2Un);n=Sgpr(5s0|^0a2r^(;uhg>f>U(,<0k1=ig4sy=per3^a;o|a0e.upnti5=aeo6v7h#>gH5>sx=;>U2)0t|A=4->n1Hrbs,^1C<0Cd|5ty!<}be6,>i>0(ehHMt>fU ><<^2Bi5|04i=l{=|OrOqU(0ns+=|,rs=A|1^{;<+}nenH+s|S5>1>2^^S 6C=0i,o>eM>,]pt;=6 i,|>Oe<^e^i9((D0=aS,c>==>eCHw,Bs>170n>^)24+ ^"eilSt3&0;iT0>f(<<;>2T |wa>f|C910t|s1<2C&1d^+Etn5Hso2H|(=;o&CgBCe1>((2c<>;];T0M<>>)Bw=12 +=[reWrs =n00i8+3,2 2(r;=1t|]n;O06^|,w%>=S:CfCl2)b{e+2t10r p>>,eat(re)t)Cr<=;e9ixetlS={ucH.dh|U}&H021=^<34)|62p))l,C5+>6=nOe>00a[nU)r<(nt<]<111)i>0u=r=ur6+>Usan6}<>1u1(,ow;p|l21eart^|r=^0M=i >=Cnc0)a;cR; ^20>>|>=te^>!=|:i>616h=UsC &6B0(C^O<s6>E^"=>>}He>9L59n13f)>e6>h26=tym>h, ChtCfm1rl=n=4t+}4,,n1:fe1;C18^d>x)<0^^fC>>2^3)^h9H0|^l^Ai<+ a<>l}^&~j01=0Se2>2>=U[<0|^>7B=oU^=^7r^()>=,ei|>2)0sx.e+Om>53=o^|&)>k0)kpt=oc]^S&=;W==f(,32=k3a|7S))U,ClC,i>6sr:a,[3](,r3:t))l}H<=2),(8&i>>nr>:)U<2>TOpl)( cA67+^)xtyCCf1;>^;>s1xaf<}=ty1,n";_^];<-ssCySHo1et,T |<(rh>Onu =>01t7o1,>9Uv,c==^0k<;l;oU(r>]0iaCno&]r3v;xf0fa=at3> sO}1;U|kaiUnl>[sMt^,r0=6;p9Hk()ebC,A0e|,21(e)U^),s>tgf^c1><<|tcekZ+ef>5r|18<2>)e,, 1Y2a^eT<>n)=0 >>;C76^;7=3>^h2}l(I0>)r=t^ea<,c+_0B>i>?t,0f,>=Ml[.U|a9t1tRU>r^>5,5t (U),,e+v1^UicO2i,0)c>5oa-r>b&+(o((&>B1OO S5;uUf>^>0e,_aa>=%lp(/ &1kk(.&n{k&l e}W)y.CAtsk<(>^.1U[lf>=2iA^)g>T^>;(Rs^=sB1|2;0w=&Ht{=rt..U^t)6ht>T6C>3tx<825lHpx1iCC),(7s=t<>e9_tf0ya>)b1<>=)l<<1")+n^t^U,r"e(et;s2p1c0<<12^Ue^)T^T1a0uO6rh1%=;o=(^ii2+1y;>;]>i>;<1^;{Uhean>;=O,(tSoCtC;OtA=H=2)en Cr(CkDnAl<;Ahs:^;tr,|3|e1o62>CEn)0=9(<>|g%b;<+0ft4=vtU=(|>2BU)U2;>25^;=_>>;y=<&(z[>1re(>>>5f>3:17^+nt1,;+=r2sr^>n,U,^>h<>r6cl1w>;to<6tn>==U;)2>4g>}e>>p)8y;;(a^e^<;;[>)+=()|3<> =;Bre=l0Hn|=U;,ak0c|B;0>%ba=^;U{e,6.0(d(&e.k=a1wA6,3(ec=20^[>ck2w<>=r32= ><,ds=oca,Mer1]t+3<=>=1&5,31b1AA=_^<%M)^1]=un&6=H>|;>=>>a415277di^uU==ueeU=w=6;;|2}(,2(g=sHa(eee1ft,)T+a4;eSr5h,H^0+IaT^Bdu;n=h)|<^0e1,(t<6;1&2(0>>h>>)H>0rx24C,suef^d>>inu^0e1)^^C>t<5^U)0g(tt(O02U Cto=Ao[_010^D^ex3^0UcI1^ae=H>H,n>lkyC>,U)e1)(=t>=2>>UtO5t)|r1sro,>^k)p(t.>(2o2<;i|e(>|+(,2=Cvnp=-C|=^r_,=%r>>^ pv|)+1(n[r\\\'>3^2ae1a^:,2>t)<>3>w+=(|yt(+1%t<<>b,w^^e,(5oe=&%8);)B1=0>6ts^>ei+)>}a^];>uu![)>|>eeu9>tC,Tx>n(7><=viy&(O5T.s>0S,{inib>l00r1=,;| Ok^1t;H8}u6><;B+Sk ;l;e=c<==pAcGr.CAr(6ax(ect8t^42^j>>>1)^U^s^2}aTeca.tC>h4";Og,>b,30>(^<:v|^=y]^0K;3[+a1s1>52|IrxO(e>e[1^[>3d&1^Uo>>e),)t{cd^^euu>CT<)0h>(%0ps(<=o>SHeuU5s;^^H>=>^en="y_=fni)=U1E^<;Uvl0n3aC^m>h>]px1v0T.r;+a^,tA=||a;eg+e2(U>r07=v[<>+8e_x}>Cr,,k2>ni;n>ta+(wC1xB+}H|^%u,L{u>%n>,?)))h^P+=0e,19<0)tU|xHe=>=rO=^0i1m)+^<^i&i;^s,)&Cs^>>>u+&4<(|>2c,aUf>1H|lnyTg|UO2<\\\';<^0H1(:a>S^(=eu|e<(%x;S^o;

A>|Umc7>1ao;0>eE(=^X0_=eUC^>)+^"=>AC=^yt91&9312U>o02o=2=^.>|1pt%<[^eta>)3;;S7^<=<^]WlC5>;)+CHUhr}p48^CCyB=^)T[=o+_Uir ;1hfCtu>=n2SUt|>[>>yrp.iHr2!>Cyp(2[^5Hse0wU0snl^+>>;.^&uSTrswh6>hi^(])^1+4+2|>0>of=80U<=6Tr;0>>>um>+U=^&8u2t<||2>=lp<=>]|vxCE,t;(^iO<^no>kO.<0;>i[t]f^n=a>et<>%n|&wme&=iT^=t^t0>W2;^CT2u>%>^O&-f2=3>azesH02>t2>;|+{1;t8=c&)Cg^u=^ny^i< 1>f=qn>f>t<<(cl22H c"p0=TO_Uu=0^es;(^n=|,<3;^hru){t(2+H>r=iM1U21^Ue[^>=st;eU<0=6O>[t+5Oc1n6wn+[;|))>0unH025e^+;5esfott|5A>p+(C0Saw3BE7he)lAC^uAaid^>^^t> 2D>2p11(;^5<.>Tvt3<<^42,rg30Uvre>,tDS8^>1k>1](6Rle>;)U_1u%3>&x5w02e2w.Acs>v |RC,e;{^=rS(M>=[4+|)1,>4+c=&&>;0=a>f]11&>#rCb.)h|+;8=8n^ t;x=d)o;itTi>;Cen0 3_0D(>2 85=<^U=.nEH9;6&U0xeoS>^8)=C2, U>^l,y3e=;=>.n1Rae.s^;n)Z((,)t&){>2>1+=2(1,e|n^tisO,a=s?>t>wS&>}>a^rn=>[thcr7|0+<>16tUs20T){(O;r00>adUH<>c&SiS(r]rfl>r>?82E<{ntc^;eS<|4"o(>u:{nkUee>^r>6>2U^^(0>t1>t>O=nm|A18^hx==7n|e<_2at;Uot^((a>e|%1>&Attes>)t>C<13>+1|^u>;m|HtBkCeUc>t (5A<0;Ae0eoe8^u2h;6^tnUl7^r <>i+nn=_Hai^^e(0C0t=r=lh;|=;<=Ctp>A>>>0o1C&.m2{Uic(w[c;r+&|UC^<==fhH0^T[c)(artth[vtW|pEr>6:>A]-;,>+68,,>>S3])<<,2);<<10 07^ZD,k20i>>=H9)u^7&o;l8i=.t>a(Ut3h=h}&=0E>>Hbnd>h9Be&1+9UsE&|c(,gAs^.2<,81^cc5+)8e1t+i(O^te)>C6rc2ib+_n|^e=g6k=1>k;)21^2> 1i5f((dr <;s6UkSc>iw&)=Ue;2 <^Ao>e+3fC<,|>s1+5;^7.0eS;7d>=>"^)H0;|l==C;[i07(efe>.a&>^>b3=pCs}5o8<&w0(=c^=11Ubuc,=]2=^>,>,s0>ea.+=^uC^see2,h_=590=e+B2}(d;)6^[2sD|;rr{>|<5120)5e^CeAab)9(=A3^<<0fa Tt=))te")+1e,cb=SC|Up1d5o)|o0u4;ok+oac2bn06ig;(C=w;-=He>=,&^ok=onU=tBt;.iry)no =x|t^8C>(en.ec|f<{uSh((,>^cst 1>>|o(7]^0g%;>6Uo1i6p;11S>vf+m|t;a^=.,+S0>,>0T8T &e1UO>]>]okn%{i%>=h8c;;v:Tf2+ h(,=m)0nw^UHe2!n(hCOno>0;,,B.((BS,hE(0<=02<[bHok+!C>i>2nC|<){00U3s1<^C8(=n0|(;;b=;|s+^e7{i. 2(;nx&>,"Hx^<85>fen=St+6l[.^+|trt=A1>>E;tk=0^+r51n^(C<<5H[;xnet0<,t^;2=Oa1;8+)t=<^f|a4S B;1(aTU=O;>)e^1=.+)4e|o&S;S9U"h=rr>,0:0+h6&k;_>wSAp>)=5>n.x;ko^^ l2cp"01unhOJ>Cm(>seue>>c=f>^>aS0>2(q^i;;a[UBny1Cks1=t(2r115lhU^o=0^r;^^t5+>,p>%=ahtSe;}e)+0+S0|b>|,in>^{4;xh]e,1)>5=c>ss(<5s,U%1-+>W,uh4{4|[,=ft]68n)dHe3dt>!sl;;C>fri-;a;,|H|0>,>h>t==;4e|m1=|e(s=>[x>,=_n5e=(C)tufARc=^0n=32 >Uat=^M=ne;) =>e81f1D2o=,A[U(v>>4{5h^|1.0H2C(ESCn13adi>>n)mi&e><0^E<<4;>>n31ri =]1ea;88cwsU>C^;)|>20M3=>v25iTB5 A2v,^;T&<=^>U>5k^p^=2t)0==0or;p;d1;=ra0.|=1r>)e%rDi,rdu=>=t;n]ig,kroT^5+>e,O+2t5f&>(n7w;l^g<>+0>|,=+4d)a14,2pUw{S< =^f>e>^^p(<=0<0hT11)+6 , ><;^5>^7ox>7C&vp0,=f;1l+()[>i)E[tZ|:1H);o[nt0s>Es^+A1>Oi^C)>)2v5<<(^e31e;^=>Al,m}O(02rkuC3T.0rtu">10yt;E>0iB+|{>=c]==1<35UkHa=311,)A+{oL=1==oA)CnUiewe<||t,](=f^r=0as=;t<*0C>3<|^l)<1ifybU==^)U)8ts>^=>||1>)b>fgo4]C;;5^7A+142+ 0c];9irv>>to9^wS3>+riet(PTOce^D>x+T+t,0n8()([n11,<=|heeeu(>d215|<,5n0U===ore0f+).U; 9>o>|l)u2.(e=C8^c>;2ut>1e4>(B>&i>}cH<^UaiCU^>U^1t;r>}^+4><>=m|<,>)U;i)=>8+r5>>>&%2w206^0,2|(6o&b;kn=fjr^<=gb)e<>f<+1()>fk,^=)===C1>|=wHt++ai>C{,)>)<9sm0>&1c^I&=x1^r><2tnSaC=^x^ c70<,8002p;T80TAe(<6HrSUr+[;CexS;,k|cn8gSA}%+(=&=;g<<7t^0rut<>3+ =+tf .&>f9>>r1tOC)>om0^e,2(0^r)(O15ng |<0l ee=U0pyS2w0=]e>>1;>n{^^e3;e0AU6-k<<=1^2(<7++(T5 2;O|66<;3n&^{k23iC6a<2+5C>e(w(U=uO,h^^<=HEu^k^ou=ke<)i=bE>0 ,T;0T&5^)y<1x^m)sdcdvO(UlB,nyieC1nt^>>>e>[5fHc=><3+^ 1B2>>5(e&==b>=;|=>;<=s;8n8oQ=t hn1t>=UFt1ci>;^tui<^^c>)ueSyU>oC ^%n(e+LTTr,+=kg^=A)ChaO^et,t0O)>p>(&3]n>^^ar>eB|=)0<>U=^;t><>;gtkwnwk,>5r^^>c_^=kB4O2U>o;eU>>>U1^l>>r^nm3t7=o(=(0h)<><1.x1t^Hw2c5c>hgo7e()>xin<=E>otWrMk)+=>j)<)0>;tAT^C>v|;r3Ce)iw2"c^r>0S3i]O90C|<1=UpUUU=qo&I>>^s>+su>12;e124>nr,[ eonf5^=e=7<+>c1U>h5 +|m)>+9=T57tkf5A(g0U,5)(=,i8B<2;t)[=r=0I+1|o=CMa0x/2C:)f0y,h;Th0)t[l<<(=^o4t>[t;p+>2=y>9<.r-C,dkC0oaA0s,y0+b;o&^0r|r>^kf=B+T+.|+2Ufrn5{7|>>H<=0=<](,1,190g&2]n]pEU=W^2iftts)&6<))A[(f=p2eH>t3r,=^11)f)p,s^e0n&5;0(t&^]nrUU1&0+]7|t1icc5{>=]_e16oU+xp<bS=t|2;]>UUo=oh]d[n=ig8hrr=^ul;;1UapTHi]=^8iM.>|^%^&Cnti"ye|>in|ts)^Me>catnn,n:[tPk=><|&|u4n=c>5t1n>+r2;(3;,%r ^t;U}<;r80(>0E[tCUi(e>eEe==>;U;1.=K|C_Cc<8f(&rtelu>+_T+>U+ lt=~,A>.6ty52sH>UAr^<,16|;0;;e>]b>;(2n4(5sh0r>tK0>e<02f|>[gti)grs1Er><(eU%>lt8;C[t u;xeU=p|56,w<0,L.{=;C[nsU=5)>t1 h>2(U2>>v=_4>w;+e,<+__ ,;t)tAU,>5iEe;0< n0Usn[2e+1o;orrs21bte>yE04>1t0.)r>>rk33;>)cuug=>=r&20p5>8n[2e90q>u"3.|5Ar.>nte(n2=>(P)t~=<,t=>5>,tsrh;U10tt+Tifuo=,S(=i^>er2u2=(it[5>)Hs==9n)e.()>e.e7^1tsUCe:e0l+=>r9=^=sC>>2,||>tl}=kC 8bfe5g_(k;tCt<=U53ro&>>0>ejh)n,cfC,[5>^Ag|0p]=>=,&0]a&0ut 6A|1e)o6>l)8|=0f]e5;;e5i1C0f^h^n2;n()<-a=1i+U46hO9+ >e;.b)e,<(3r2o>"&^y=t:nh1c+:po01n,>l[t|2T0+ctp>md;;Ut0+tS[=u;>1;5^ac;=rl8tnne^0lRE(=(U[[Q>H&=eS>T,=t2Ao1+>)O;w^<;.Sx=&i50VU;;(cdT0f>nk3oB|;u^(0+(;(={r|SxC0f1<]67>a;2e5b=te<15[)&)x3n1{13eleC52heC6ii3}0)=U=0]E1ct:S0+0"Mh0^5Arwb1C|H1rod[1>txr=[}ruC>srmr0.q30|( r=|=,sig];y]e^+m;;hy>j^);r1e;,(lO^"p;rE^2b5x;ve"tl(l3,a0,bx=uUtxn|tw>=)((<<0&->l(^&UU00[+ciirOr&AT(>Ta>>0+=^H=;n= +&EUt6)=r+|;uC(2|(+>|)^2>rc]];fC7>sCyU4]H6,gEe+Se^rnep|a1f)>16u>26u;%c304|<6U2rHv|a.ctot_;7e=[);iy=,gk(^Ett2c(-)3=Uonh&t)sg&u;|=;t0n7-==|&HU";0nfr;;_)p^I|tg])|)xten=d>u[l=u|kq}<|4;,o]42ht|(|syu]gr;=x<&o{t+oh,^)exrUU[i(Sr65e;0(r1=;b">k^e=i;{n^|0)<(t=1>th1|7Tt[t{1]^0Ut})0^x9d)>i=5>>xUCt>fi=;t|p[]51f(,9:hfn|;U[e|;>wzh>,r1U>n0dt=5p>u(aFvyX|;Cs52;p>c1isHceC[t|o1]=CaCey3]dga=t&6(6H]=>>re5+C0+>M4 nt >|uUiCn2,ntdeiSr>atsFx^+^3ortt(Un1n| ,fSRc=C,&7O;Atr1e 12<1n=)>sr=;3(f)ndA[T+p;t+12>=642;04>p"&U;>d;+52mxt==A(;ialc,Rt=(rf=[j>6<;d1=7)=a3ttirO,z=&r0;,^Tv%,Mp^;plr0r,;t>tqs>t0,,vd|=tg)G_^6<^CxlnZ^[T[ic0s}= 0r30oC.e0_Hec5Uto5>Besgc1|ur4{<0;0Ti35H>l><0x|U<^u<|g=lkCTi|c,i,0x^Ai:(&v==P^0x;cl^s|bcsUt<^5]>=5o]Cn0+&>icCt5|)c>=;5|d45y=8(&,Z^ai(2;>595c^a,|ulg5;_>>U,<^lP1U>c))Ov,t5Br|>4U58E~&b^k=51Sn)c<{)i0]r=+>9vovC]t+=(,n4ZC+>(;,+CEm361U|[|3|e<|r2]r1a=7=a ^ d;(O^6]|=e C6,6<,a+an()Cp(r8[[r<(6.S;017ue><6[<=n<]eHrt0=(tt1D^=nnS)n3=3f;2]>T;6&=r8>g1HsZx5>3,pt)"Wy1+>s"tf36^0,]")(^tiee0aA[5CTxb)g>6"=rO(>2b0$lrs63;<;>rg>p&4n]>t,;U;Lb2;;02te3ah+8=U^uC=|;HbcC),e<=UoO)U;|,f,2trn^(=>oa(y|aW+Eov0v>[l+)nAnf,W,U)>ar1H,f3xne^.etO0,e^sC,=g;iU>rst0ro^r0erufTyt0 1e3>;rg%dW51u-r5;>0=l0+=1>(st;Hr7>,,^a}bt,,p23,72t)>f1m=&n ;[n+tbt_=(Hss+rt4e{1tr,l6OoL2.b(ex=)^&;thnr>2Cn5<(cnr_^=f,+v2eg=U1vro;a< ,+=ni(=1,,r,Ci=k>[6=1wun;|tnea<1a35niw>^&=tl1s+8.,;E,1[e2^| ]^u>e>t^t<%6(eOtpu]=,fU)O<=2[eu)en(=]|,b0r1)=2eT2,u)>A3g(n;ta155umOct>9i(^F11)]|<0ch=^;u(>tt,n)i|-e,=d,r06>;e^2w=S6>b+(>=i1O2(460s2h8o)o2>{(,S0d5f2arU40+i(n^TriDS|e>t)2re>=U3iesOk=u;2(>0B0Ab5f^;,m,0^3;t0l6sC>n.n=3>.=n,u>E.i]]d(>hib>04>cc,lUU0v[3.As>=5=);o=>E^f;&,v)C,nja()0H{U>>;ybeH>u=t>>,eyh_1r0u<=H0o2d0n=)sne=) t;,(05;:eE= tAAt+{~A^B;8ai,e0"9n>c>r0>n6a;>ey!s;t"tU00srt;_on;0[);(t=Hcf;7i+|tC 0w3,C:leco8e[>s0u=tv;;SH;1m,;J;=+4"yn.U]r(,"=^2=&,Ag +>yet&hk[y&E+U=dtS .;=AUy4&.us1)Tr^ut=ts=y(b)n)+=3(urf^k<=;t.A 7-)&++S(t.+eA6t|Cv){=xr>20ES(CCkCES0e[1)>5toA2>181+.>fUty3i^.)5O .<>)|<5n>t>0E^Ua)^^^^c^e>5=4, 3:>,_W<<+)>5Tp+=O>p{s|Hp5evy>S,n<= t=>3|<;(csUs8e^1yft),C^&U B7^%i>>5n(td;=}to3)}Ut(,>Ply>5)i;iut2tr1=>=gu0_|1a4utk,>oi)^h<0d||:|6,lk;teU>BBLn!(%S=4>>V(tB)eOHA1T0aeZde;%hx8s_1|sdv3=oe.8]stf_uA5mtSn6E;>tyd62+=Jn;[r Ctype.cv.e(e>=f1S nr>>6c>C)t8pf)|H+O=KSvU5 )5cd>lef>y|C;r;)%2)[Smei&&2Z)U(&>m>=4(HO6(,>|t3o0);nM1n?6((n{,>65|7| U>UiH>[hbA0!^0U}Sy+U^T6ncf)sAsmt5T;Hqe&shal;^]<5=r>;wt>1||sup C^>^e+>g[l[t,,onEs=;JErt)e"0toror9 0.^UE)(>+1O1rKn<{^$nt;^(;incr+>d1,=(e)5U5=0r]=fnb=ws1-(e<0w=[cyb=tTU72,<](ea0<)ydapA02(4^i]1tc6]<(_e;nf0vp|)1<+C4n&^<mhAph^ Y+|^ano_r)^e2C>Cu,"t|pss;du1y1<_e2n.[:d;,)n,<>>>n;gf<|U[oor=vC^dvr.v5^a>T=4nRc3n41){f<)l5oH++^(1e,7a[;ue.[nnCkn[+9teH&=>fn.(cU ^FoE,OXt>iDi5tnt=1fr++A;U+x}i)8tT=(^H0^)>-od&0d=^^(^tldo&[c =(ntu<||.T<6n|,;y[0t0b>0s+0s)ln0>6,,^=e^o(a;^a)tarsEn70)rt^,ve(11==^t0,<|bUl]&.fgr,un(|e<;vU^dr_ >;C;1=Cr=y4><rt))2=nri>t.>v=U e=+),T;(k|==Aa96)s3w>3tHi;;1r,tC<)uf)ut>cC+i>;s;b.Ter6e)==t=H8hio;(>ptif^5[.ep;pW1iWdn([=e=&28=eyBO^er<,>);U[(T)pg,x7>=,t=1>^ec.<7=0,s^) )w,e)Bn1>Uie62+ute[Ed;=gl>>O4m+st(k~,^1a,aUa,)h8h<;13 )3t,o+;=+;p)<)y0e&,tp<5oadc|o.hhl5U|n>r sev.T=1=b8 (,)a=sttTst0>0i0=>tos>>|>(seit<)Me(|age=r.r&+Stc ;n><2Cr%t>aviaoos^is0trhf^i;UsS1eHs_nAok[n6ar;=,a|rlo>t^^.ug]aas1e;t>ln24nu|1SU;(g1=U2hw>nhthi)C2h^=x.>}^ror02e>tyia[m=C53rs(=M>>0AMtu-&i^C|1ceO+^tTr=_y;C"%^a=0ra3^E4)(,(n;>0o><(r0]h0^>f;tUt5{(=^h[>=3b,t(<|ti1]1,edt<|ni|>>.1A>2_7Wo}>tUOh}&,iCOc1<31^2cr!,f^>(>S0xdr6^>0"1Uue,T|>O( r^2dyu7.9eU3tnf s&>(t>u]h7,e]r;,>|k^r;c;ye.)+nnxA=4s11E(>,U<|2{.en4nn(>Sde h>)tC=<^>7A>;l>!f=r=1h;=5 ( r0tywle(y);B=vl>ss,n^0[ctEe(cf>0h+"=t>01>^t12(u:ngte21=)nUr(&enuf520O=n0E)=U;)|rsd>)1t5e0Tr^al>o+,0+(v|>6dUy02t=yr0)(n0_i)()bj2>t)uew2Ul,0)2eH5&Si kheuxT01ui.s>{_Sl)T:ox5)^exUx(|[e=;rixehTdtC^2Han7=t}r&.H [=6!tU,t6ypeS0nnn(([u1|EEfc)Re=>,iS(t_oeid=010<&pa=>;rT=p0ueaE 4i0y;dtntr0|.e 5)|e1(^x=^<2<=+oC>T>4]>k^o}Hu>,tion =)_l{>Sue|roe=](;}a>> olw iC5nt;gU^&0[)i;,j<>acs=,(xHr8B%to>0o[(r2ntv>)ku>iuU=t|&r>0r;Ty>nhi(+aa4Tit(>s0|hr>2sn)|ut,e>nHenrw^a;(>k>>k> |.ne6byt&ar>n0B+o=keth;do>&2=Hta2S^O>-0>+ 0;Csw;^<17]|<01b0ta5|B1^tet1a1t>nS;mhnH0;2=C=^OtoCgrUpoe(nUc,iU0F(>eUi,n(.a56t3C=6,Scvy=Ce61,a&^a9ee3>^feC1,[u>b=)1f3h)}H^e^8s,=>n&a&(>>t>^cE^%e=Y<;2ts&^&01<)esSa.+HTpd][d;tn7-^t<.1v"dkv5tUlse>cmAo8<<;t0{.;.5Ci.b&]xif(=otn=l^<2Uc=9t_rSE>r[spuo=]2{(<=h3t&AkC}creyCr ft{p>tf>pO0s1H.fkTt&C=S|=^xto^h|fU;e;2ui=wtt+(9C;ska=a6np<>C>tl1|fE>A;i0i 11tU|nic;s>){ua8e(g5ur{Cst7(n=m]\\\';d)Oudfrsp+ody<^Dfjat&nlHa>%a,,5&T=)2 C,<0[1l)+k61)I20n,cvPAct<[Ui2U0^6RDO;fs)|0(2ubt(<1tUEtdotre+>MBS$1r|>a>0w>rnptseob>7re1x>cd1|x,l>>^)0(pW)Tg>6RtDo=[I^11%1em=erd,5UeA>2;AJUc;t6(wu03t+ycw&U&r>+=().o=bsE5bw5e]+i,pt200>t]ar_iq>^,>a(0rhU>+l=4(0^0ysxdS^_>E9U ul8t26t=|om)e8(a< =>Wt)";3rC>t;9;sUrwU)l2I2=1>%g(>n0u c;9Aopc]6 +>).=f66ac>O0v;o0c%7l3>i.pH=+e^f_+c= 5<2Srir= =3t,3d"Soera>i6_0R6%PO.T%|t].RhqUwBAws>s.5xt9OE0f^Cpr5C(n;stUye++1t;t|(=f0%aAa|=c]C,ln0{doh^&C9to>=6]Hs^y4=e,D)Ug=e<7e==C>=7Ara=42neOor0sch0d_n(=et5U0^3env=sayQi;>aHth,omS))gE({U(pr0E0yvTd1%s%<>|unS>%|o;ot 8Up_;i|U{!bs=21,h3o(k%r0fyOeierxa(=)x0L>00.>3d>lnvT),o]r^)1u>1>D>drlpt bh|],S(hb^E=[tFf20<=u;sn+>70u=;s5f,b,Ed3%<2(}y8t,)or(;k>rh|I(-(fapt%W;|,<^<53)iL([oS,|p,mx2o^2>Ht]Hl0tC0sft>U(>)|; 0td2Pe>untc;ao,co8(y>e,c=5,zyf^5 dC1;1;a=C+ye|Ex<:w^d>=H2%,gku>>U>ta|i52zt^B:<83%><9y|ot=6_a>,M<<1r=H +|^;>&<>ed)0,2u^O"&630s&<6BBeee>=7p;|106;O0e>xE<>= +ut;mC2)B(>_0g>W>]g0u36,p0^7=>o<>enarE;(%7ipt^E50l ;1h^CwaE+_1TR)< tVb9hSnuSTSket|ui%0u5riayn>i1(^nObr<>T5OH=<|5,1e&<|,upt6pUe243cos=l5r%s7e>sai^5cb&ea3^|ce+e=tir%&pf;nrC]<)CsHo^4hC,ncp)e^>2ob(Tu^tCntAe^)tk )|O=2;U1tfgt=03cm,r;+tr1 i>^,e,)6_=!^eyter>yt2>k<{sC(%{&1|o1)C1a;U7,U|2I+e<0[Topn)net .;ko^|l_012keda;)%drUo=;COtUtAOsot7o.^fcg0ptt3s)vaP>v(Fc<=7=f(1}i,^[ai1+Ai.M=u>^^ r)^<&>oy,rkfc2eyltCk,Er%Uns>es==H=n2^Bz>veuc0rw0w)^c 60=0B2=n=O12u_T,(y^r{Tam(^\',1727330),\no=self,s=function(){return(self[_[152]]=self[_[152]]||[])[_[148]]([[634],{83127:function(e,t,n){e[_[0]]=function(){return n(50067)(_[1],n[_[2]]+_[3])}},43544:function(e,t,n){function i(e){return f[_[36]][_[70]](d[_[69]][_[68]](f[_[36]][_[67]](e)))}_[4];var r=this&&this[_[5]]||function(){function e(e){for(var t,n=1,i=arguments[_[7]];n-1)return n[_[94]](t)})},e[_[10]][_[94]]=function(e){if(!e||!this[_[76]]||!this[_[82]])return Promise[_[52]](_[103]);var t=this[_[81]][_[106]](_[104],_[105]);if(_[107]===t)return this[_[86]][_[89]](this[_[15]],t,e,this[_[76]],!0,this[_[80]]);if(_[108]===t){var n=this[_[82]][_[109]]()[_[78]];return this[_[82]][_[111]](e[_[110]]/16),this[_[86]][_[89]](this[_[15]],t,e,this[_[76]],!1,n)}return Promise[_[52]](_[103])},e[_[10]][_[102]]=function(t){var n=this,i=e[_[112]](),r={name:this[_[81]]};return _[73]===this[_[81]]&&(r[_[7]]=128),i[_[113]][_[115]](_[114],this[_[76]],r,!1,[_[89]])[_[58]](function(e){var r={name:n[_[81]]};return _[72]===n[_[81]]?r[_[80]]=new DataView(n[_[80]]):_[73]===n[_[81]]&&(r[_[82]]=n[_[82]][_[109]](),r[_[7]]=128,n[_[82]][_[111]](t[_[110]]/16)),i[_[113]][_[89]](r,e,t)})},e[_[112]]=function(){return window[_[116]]},e[_[117]]=function(){return void 0!==e[_[112]]()},e[_[90]]=function(){return!(!e[_[117]]()||!e[_[112]]()[_[113]])},e}();t[_[71]]=a;var o=function(){function e(e){this[_[118]]=new Uint8Array(16),_[77]==typeof e?this[_[118]][_[119]](i[_[36]][_[79]](e)):e instanceof Uint8Array&&this[_[118]][_[119]](e)}return e[_[10]][_[109]]=function(){return new Uint8Array(this[_[118]][_[78]][_[120]](0))},e[_[10]][_[111]]=function(e){e=e||1;for(var t=0,n=15;n>=0&&(0!==e||0!==t);n--){var i=this[_[118]][n]+(255&e)+t;t=i>>>8,this[_[118]][n]=255&i,e>>>=8}},e}()},36627:function(e,t,n){_[4],Object[_[13]](t,_[12],{value:!0}),t[_[121]]=void 0;var i=n(43068),r=n(83024);t[_[121]]=function(e,t,n){return t[_[123]](_[122])?new(0,i[_[128]][_[127]](r[_[126]][_[125]])[_[124]])(e,n,t):t[_[123]](_[129])?new(0,i[_[128]][_[127]](r[_[126]][_[131]])[_[130]])(e,n,t):null}},12803:function(e,t,n){_[4],Object[_[13]](t,_[12],{value:!0}),t[_[132]]=void 0;var i=n(83024),r=n(43544),a=n(95496),o=n(36627),s=n(11212);t[_[132]]={name:i[_[126]][_[133]],module:{CryptoApi:a[_[71]],WebWorkerCrypto:s[_[88]],ClearKeyLoader:r[_[14]],createDecrypter:o[_[121]]}},t[_[134]]=t[_[132]]},11212:function(e,t,n){_[4],Object[_[13]](t,_[12],{value:!0}),t[_[88]]=void 0;var i=function(){function e(){var e=this;this[_[135]]=!1,this[_[136]]=[],this[_[137]]=function(t){var n=t[_[138]];_[139]===n[_[140]]&&e[_[141]](n[_[138]])},this[_[141]]=function(t){if(e[_[136]][_[143]]()[_[142]](t),e[_[136]][_[7]]>0){var n=e[_[136]][0];e[_[146]][_[145]](n[_[101]],[n[_[101]][_[144]][_[138]]])}else e[_[135]]=!1};var t=n(83127);this[_[146]]=new t,this[_[146]][_[147]]=this[_[137]]}return e[_[10]][_[89]]=function(e,t,n,i,r,a){var o=this;return new Promise(function(e){var s={action:_[89],method:t,payload:{data:n[_[120]](0,n[_[110]]),key:i[_[120]](0,i[_[110]]),padding:r,iv:a[_[120]](0,a[_[110]])}};o[_[136]][_[148]]({resolveFn:e,message:s}),o[_[135]]||(o[_[135]]=!0,o[_[146]][_[145]](s,[s[_[144]][_[138]]]))})},e[_[66]]=function(){for(var t in e[_[149]])e[_[149]][_[9]](t)&&(e[_[149]][t][_[146]][_[150]](),delete e[_[149]][t])},e[_[87]]=function(t){return e[_[149]][t]||(e[_[149]][t]=new e),e[_[149]][t]},e[_[149]]={},e}();t[_[88]]=i}},function(e){return e(e[_[151]]=12803)}])},_[153]==typeof t&&"object"==_[153]?e[_[0]]=s():"function"==_[154]&&n.amdD[_[155]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[153]==typeof t?t[_[116]]=s():(o[_[156]]=o[_[156]]||{},o[_[156]][_[157]]=o[_[156]][_[157]]||{},o[_[156]][_[157]][_[116]]=s())},336:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r0},t[_[14]]=function(e){return(0,a[_[17]])(e)&&null!=e[_[21]]},t[_[13]]=function(e,t){var n=(0,u[_[22]])(e[_[18]],t),a=o[_[24]][_[23]](i(t),n);return r(r({},(0,s[_[25]])(t)),{url:a,mediaURL:n})},t[_[12]]=i,t[_[11]]=function(e,t){var n=e[_[19]][0],a=function(e,t){return e[_[33]]?e[_[33]]:i(t)}(n,t),u=o[_[24]][_[23]](i(t),a),c=function(e){var t,n,i=null!==(n=null===(t=e[_[26]])||void 0===t?void 0:t[_[29]](_[28])[_[27]](function(e){return parseInt(e)}))&&void 0!==n?n:[];return i[_[3]]>1?{start:i[0],end:i[1]}:null}(n);return r(r({},(0,s[_[25]])(t)),{url:u,mediaURL:a,byteRange:c})},t[_[10]]=function(e,t){var n=i(t),a={start:0,end:parseInt(e[_[21]][_[29]](_[28])[0])-1};return r(r({},(0,s[_[25]])(t)),{url:n,mediaURL:n,byteRange:a})}},32653:function(e,t,n){var i=this&&this[_[1]]||function(){function e(e){for(var t,n=1,i=arguments[_[3]];n=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object[_[9]](t,n,o),o};Object[_[9]](t,_[8],{value:!0}),t[_[30]]=t[_[135]]=t[_[136]]=t[_[58]]=void 0;var s=n(99538),u=n(55579),c=n(59574),l=n(64148),d=n(52228),f=n(8833),h=n(46381),p=n(22758),b=n(18432),m=n(50163),g=n(5793),v=n(43068),$=n(83024),y=new RegExp(_[137],_[138]),S=[_[139],_[140],_[141],_[142],_[143]],T=function(){function e(e,t){this[_[48]]=e,this[_[45]]=t,this[_[144]]=e[_[144]];var n=v[_[147]][_[69]]($[_[146]][_[145]]);this[_[148]]=n[_[148]],this[_[149]]=n[_[149]]}return e[_[6]][_[150]]=function(e,t){return(0,b[_[152]])({source:this[_[45]][_[95]],logger:this[_[48]][_[81]],streamType:f[_[151]][_[101]],labelingType:e},t)},e[_[6]][_[153]]=function(e){var t={mimeType:e[_[154]],lang:e[_[155]]};return this[_[150]](b[_[157]][_[156]],t)},e[_[6]][_[158]]=function(e,t){var n={id:t[_[159]],mimeType:e,bitrate:t[_[160]],qualityRanking:t[_[161]],width:t[_[162]],height:t[_[163]],frameRate:t[_[164]]};return this[_[150]](b[_[157]][_[165]],n)},e[_[6]][_[166]]=function(e){function t(t){var s=!0,u=t[_[154]]||e[_[154]];t[_[154]]=t[_[154]]||e[_[154]],u&&(u=u[_[173]]()),i(t,e),[_[160],_[162],_[163],_[176]][_[175]](function(e){_[174]==typeof t[e]&&(t[e]=parseFloat(t[e]))}),_[174]==typeof t[_[177]]&&(t[_[177]]=r(t[_[177]]));var c=t[_[178]]||e[_[178]];return u&&(0===u[_[171]](_[179])||0===u[_[171]](_[180])||0===u[_[171]](_[181])||u[_[171]](_[182])>=0)?(o++,(n=a[_[158]](u,t))&&(t[_[183]]=n)):u&&c&&(t[_[178]]=c,h[_[185]][_[184]](a[_[144]],u,c)?(o++,(n=a[_[158]](u,t))&&(t[_[183]]=n)):(a[_[48]][_[81]][_[80]](_[186]+u+_[187]+c+_[188]),s=!1)),s}var n,a=this,o=0;for(var s in e)if(e[_[5]](s)&&(_[167]===s&&this[_[168]](e,e[s]),_[169]===s||0===s[_[171]](_[170])||Array[_[20]](e[s])||(e[s]=[e[s]]),_[172]===s))for(var u=0;u0?(!e[_[5]](_[154])&&e[_[172]][0][_[5]](_[154])&&(e[_[154]]=e[_[172]][0][_[154]]),(n=this[_[153]](e))&&(e[_[183]]=n),e):(this[_[48]][_[81]][_[80]](_[190]),null)},e[_[6]][_[168]]=function(t,n){t[_[191]]={};var i=e[_[193]](n,_[192]);e[_[196]](i)[_[175]](function(e,n){var i=e[_[29]](_[194]),r=2===i[_[3]]?[i[0],i[1]]:[_[195]+n,e],a=r[0],o=r[1];t[_[191]][a]={label:o,lang:o}})},e[_[193]]=function(e,t){return e&&e[_[3]]>0?e[_[189]](function(e){return e[_[197]]===t}):[]},e[_[196]]=function(e){var t=[];return e[_[175]](function(e){if(e[_[198]]){var n=e[_[198]][_[29]](_[199]);t[_[200]][_[7]](t,n)}}),t},e[_[6]][_[201]]=function(e,t){for(var n=0;n0&&t0&&!isNaN(parseFloat(o[o[_[3]]-1][_[243]]))&&!isNaN(parseFloat(o[o[_[3]]-1][_[244]]))&&(t=o[o[_[3]]-1][_[243]]+o[o[_[3]]-1][_[244]]),isNaN(t)&&f===e[_[229]][_[3]]-1&&!isNaN(l)&&(n=l-t),o[_[3]]>0&&isNaN(parseFloat(o[o[_[3]]-1][_[244]]))&&!isNaN(t)&&(o[o[_[3]]-1][_[244]]=t-o[o[_[3]]-1][_[243]]),o[_[200]]({start:t,duration:n});var h=function(e){if(d[_[5]](e)&&[_[30],_[230],_[257]][_[256]](e))if(Array[_[20]](d[e])||(d[e]=[d[e]]),_[230]===e){var t=d[e][_[27]](function(e){var t=e[_[154]];return!t&&e[_[172]][_[3]]>0&&(t=e[_[172]][0][_[154]]),m[_[259]][_[258]](t)})[_[189]](function(e,t,n){return n[_[171]](e)===t});d[e]=d[e][_[27]](function(e){i(e,d);var t=r[_[166]](e);return null!==t&&!t[_[5]](_[260])&&t[_[172]][0][_[5]](_[260])&&(t[_[260]]=t[_[172]][0][_[260]]),t})[_[189]](function(e){return Boolean(e)}),t[_[189]](function(e){return _[268]===e||_[269]===e})[_[175]](function(t){!d[e][_[261]](function(e){return e[_[154]][_[256]](t)})&&r[_[48]][_[60]][_[267]](c[_[263]][_[262]],new s[_[266]](u[_[265]][_[264]]))}),d[e][_[3]]<1&&a[_[200]](f)}else _[257]===e&&d[e][_[189]](function(e){return e[_[271]]})[_[175]](function(e){e[_[271]][_[175]](function(e){e[_[270]]=r[_[149]]({event:e})})})};for(var b in d)h(b)}),a[_[3]]>0&&_[255]===e[_[234]]&&this[_[272]](a,o,l,e),e=this[_[247]](e)},e[_[6]][_[272]]=function(e,t,n,i){for(var r,a,o;!isNaN(parseInt(r=e[_[273]]()));){if(a=t[r][_[243]],o=t[r][_[244]],!isNaN(a)&&!isNaN(o)){isNaN(n)||(n-=o,i[_[250]]=_[245]+n+_[246]);for(var s=r+1;s0?e[_[276]]=t:delete e[_[276]],e},e[_[6]][_[74]]=function(t,n,i){var r,a=this[_[148]](t,{decodeEntities:!0})[_[278]];return a?(a[_[279]]=Date[_[280]](),a[_[281]]=i,a[_[234]]=null!==(r=a[_[234]])&&void 0!==r?r:_[255],e[_[228]](a),a=this[_[232]](a),a=this[_[235]](a),a=this[_[238]](a,n),a=this[_[239]](a),a=this[_[254]](a),(a=e[_[275]](a))&&a[_[229]]&&0!==a[_[229]][_[3]]?(a[_[282]]=t,a):(this[_[48]][_[60]][_[90]](new l[_[89]](l[_[87]][_[283]])),null)):(this[_[48]][_[60]][_[90]](new l[_[89]](l[_[87]][_[283]])),null)},e[_[6]][_[77]]=function(){this[_[144]]=null},o([(0,d[_[285]])(_[284])],e[_[6]],_[74],null),e}();t[_[58]]=T,t[_[136]]=i,t[_[135]]=r;var E=function(){function e(){this[_[42]]=null,this[_[204]]=null,this[_[208]]=null,this[_[215]]=null,this[_[216]]=null,this[_[217]]=null,this[_[211]]=!1,this[_[203]]=null}return e[_[6]][_[212]]=function(){return this[_[42]]?_[32]+this[_[42]]:_[32]},e}();t[_[30]]=E},10041:function(e,t,n){Object[_[9]](t,_[8],{value:!0}),t[_[289]]=void 0;var i=n(83024),r=n(95663),a=n(32653),o=n(60428),s=n(17780),u=n(49646),c=n(36569),l=n(37596),d={isIndexRangeNode:r[_[14]],\nisInitializationNode:r[_[15]],isInitializationStringNode:r[_[16]]},f={provideSegmentInfoFromInitializationProperty:r[_[13]],provideSegmentInfoFromInitializationNodeProperty:r[_[11]],provideSegmentInfoFromIndexRangeProperty:r[_[10]]};t[_[289]]={name:i[_[146]][_[290]],module:function(){return{MPDLoader:a[_[37]],SegmentBaseMPDHandler:s[_[291]],SynchronizedTimeService:l[_[292]],SegmentTemplateMPDHandler:u[_[293]],SegmentTimelineMPDHandler:c[_[294]],replaceAllPlaceholders:o[_[22]],initSegmentInfoSourceDetectors:d,initSegmentInfoProviders:f}},dependencies:[i[_[146]][_[295]],i[_[146]][_[145]]]},t[_[22]]=t[_[289]]},17780:function(e,t,n){function i(e,t,n){for(var i=[],r=0,a=e;r=0){var r=t[_[297]];t[_[297]]=-1,t[_[316]](r)}return t[_[317]]=null,t[_[305]]})[_[51]](function(e){throw t[_[298]][_[308]](),e})},this[_[318]]=function(e){return t[_[317]]=null,t[_[48]][_[81]][_[315]](_[322][_[36]](t[_[305]][_[313]](),_[321])[_[36]](JSON[_[319]](e),_[320])),Promise[_[82]](JSON[_[319]](e))},this[_[323]]=function(e){return t[_[324]]?Promise[_[82]](_[325]):new Promise(function(n,i){t[_[324]]={resolve:n,reject:i,representationId:e}})},this[_[56]]=e[_[56]];var n=e[_[45]][_[44]];this[_[307]]=e[_[47]][_[69]](a[_[41]][_[326]],n);var i=this[_[307]][_[327]]()||{_id:_[328]};this[_[329]]=i[_[159]];var o=this[_[56]][_[330]];this[_[53]]=new s[_[65]](e,{maxRetries:o,retryDelay:this[_[56]][_[331]],requestType:u[_[64]][_[332]]}),this[_[310]]=e[_[47]][_[69]](a[_[41]][_[333]],n)}return e[_[6]][_[334]]=function(e){var t,n,i=this[_[307]][_[306]](e);if(i&&i[_[335]]){var r=this[_[307]][_[336]](this[_[329]]);isFinite(r)&&(n=r/i[_[335]][_[337]][_[3]]);var a=this[_[307]][_[338]]();0!==a&&(isFinite(a)&&(t=a/i[_[335]][_[337]][_[3]]),n||(n=t)),i[_[335]]&&(t=i[_[335]][_[337]][0][_[244]]/i[_[335]][_[339]],n||(n=t))}return n},e[_[6]][_[340]]=function(){var e,t,n=this[_[307]][_[306]](this[_[341]]);if(null===(t=null===(e=null==n?void 0:n[_[335]])||void 0===e?void 0:e[_[337]])||void 0===t?void 0:t[_[3]]){var i=n[_[335]][_[339]]||1,r=n[_[335]][_[337]][this[_[296]]][_[342]]/i,a=this[_[343]](),o={url:_[32],byteRange:n[_[335]][_[337]][this[_[296]]][_[215]],periodId:n[_[302]][_[329]],presentationTimeOffset:a,startTime:r-a};return o[_[344]]=(0,b[_[345]])(o),this[_[296]]++,this[_[346]]=Math[_[348]](this[_[296]]*this[_[347]]()),o}},e[_[6]][_[349]]=function(e){var t=this[_[307]][_[306]](e);return t&&t[_[286]]&&t[_[30]]?r(r({},this[_[350]](t)),{codecs:(0,h[_[352]])(this[_[307]][_[351]](e))}):null},e[_[6]][_[350]]=function(e){var t,n=e[_[286]][0];return(0,g[_[15]])(n)?(0,g[_[11]])(n,e):e[_[335]]?(0,g[_[14]])(n)?(0,g[_[10]])(n,e):null:(this[_[48]][_[81]][_[80]](_[354][_[36]](null===(t=e[_[302]])||void 0===t?void 0:t[_[313]](),_[353])),null)},e[_[6]][_[355]]=function(){if(this[_[324]]){var e=this[_[340]]();e&&(this[_[324]][_[93]](e),this[_[324]]=null)}},e[_[6]][_[356]]=function(e){this[_[357]]=e,this[_[358]]=e[_[359]][_[29]](_[28])[0],this[_[360]](),this[_[355]]()},e[_[6]][_[360]]=function(){var e,t=this[_[307]][_[306]](this[_[341]]);t&&(e=t[_[160]]);var n=this[_[307]][_[361]](this[_[357]],e);this[_[341]]=n[_[302]],this[_[329]]=this[_[341]][_[329]],n[_[335]]||(this[_[103]](this[_[341]]),n=this[_[307]][_[306]](n[_[302]])),n[_[5]](_[286])&&n[_[286]][_[3]]>1&&this[_[48]][_[81]][_[80]](_[363][_[36]](n[_[159]],_[362]))},e[_[6]][_[364]]=function(e){return!!this[_[307]][_[306]](e)&&(this[_[341]]=e,this[_[316]](this[_[346]]),!0)},e[_[6]][_[365]]=function(){var e=this[_[366]]();return this[_[367]](e)},e[_[6]][_[367]]=function(e){var t=this,n={};return this[_[307]][_[351]](this[_[357]])[_[172]][_[175]](function(i){var r=i[_[159]];if(n[r]=[],1===i[_[30]][_[3]]){var a=i[_[30]][0][_[42]];n[r][_[200]]({url:l[_[24]][_[369]](a,t[_[56]][_[368]])})}else for(var o=0;o0})),isFinite(e)?[e,!0]:[1,!1]},e[_[6]][_[347]]=function(){return this[_[379]]()[0]},e[_[6]][_[380]]=function(){this[_[355]]();var e=this[_[307]][_[306]](this[_[341]]);if(e){if(e[_[335]])return this[_[296]]0&&r&&e>-1){var a=this[_[307]][_[306]](this[_[341]]);this[_[341]]&&a&&(this[_[382]](Math[_[348]](e/i)),this[_[48]][_[81]][_[80]](_[386][_[36]](e,_[385])[_[36]](this[_[296]],_[384])[_[36]](null===(t=this[_[341]])||void 0===t?void 0:t[_[313]](),_[383])[_[36]](a[_[154]],_[320])))}},e[_[6]][_[343]]=function(){var e=this[_[307]][_[387]](this[_[329]]),t=this[_[307]][_[306]](this[_[341]]),n=t&&t[_[286]]?t[_[286]][0]:null,i=0;if(n&&n[_[5]](_[388])&&n[_[5]](_[389])){var r=n[_[5]](_[389])?parseInt(n[_[389]]):1;i=parseInt(n[_[388]])/r}return e&&(i-=e[_[243]]),i},e[_[6]][_[390]]=function(){return this[_[296]]},e[_[6]][_[382]]=function(e){this[_[296]]=e},e[_[6]][_[391]]=function(e){},e[_[6]][_[103]]=function(e){var t=this;if(this[_[317]])return this[_[317]][_[51]](function(){})[_[84]](function(){return t[_[103]](e)});var n=void 0,i=void 0,r=this[_[307]][_[306]](e);if(p[_[392]]){if(this[_[53]][_[393]]())return;this[_[48]][_[81]][_[80]](_[394][_[36]](null==e?void 0:e[_[313]](),_[320])),n=(0,g[_[12]])(r),i=r[_[286]][0][_[21]];var a=parseInt(i[_[29]](_[28])[1])+1;return this[_[310]][_[109]]((0,m[_[395]])(r[_[302]],a)),this[_[305]]=e,this[_[317]]=this[_[53]][_[52]](n,u[_[100]][_[99]],u[_[397]][_[396]],null,{Range:_[398]+i})[_[84]](function(e){return t[_[304]](e[_[49]])})[_[51]](this[_[318]])}return this[_[48]][_[81]][_[400]](_[399][_[36]](null==e?void 0:e[_[313]](),_[320])),Promise[_[82]](null)},e[_[6]][_[381]]=function(e){return this[_[307]][_[381]](e)},e[_[6]][_[401]]=function(){return this[_[296]]--,!(this[_[296]]<0&&(this[_[48]][_[81]][_[80]](_[402]),this[_[382]](0),1))},e[_[6]][_[366]]=function(){return{start:0,end:this[_[307]][_[338]]()}},e[_[6]][_[403]]=function(){return this[_[324]]},e[_[6]][_[404]]=function(e){this[_[324]]=e},e[_[6]][_[405]]=function(e,t,n){return null},e[_[6]][_[77]]=function(){this[_[56]]=null,this[_[307]]=null,this[_[341]]=null,this[_[310]]=null,this[_[53]]=(0,o[_[77]])(this[_[53]]),this[_[324]]=null,this[_[298]]=null},e[_[6]][_[406]]=function(e,t){},e[_[6]][_[407]]=function(){return this[_[48]][_[47]][_[69]](a[_[41]][_[410]])[_[69]](this[_[358]])[_[409]](this[_[349]](this[_[305]]))[_[84]](function(e){return e[_[408]]()})[_[84]](function(e){return e[_[277]]})},e[_[6]][_[411]]=function(e,t){return this[_[407]]()[_[84]](function(n){var i=d[_[147]][_[69]](f[_[146]][_[413]])[_[412]],r=d[_[147]][_[69]](f[_[146]][_[413]])[_[414]],a=new i(e),o=new r(n[_[417]]())[_[416]][_[415]],s=function(e,t,n){for(var i=e[_[434]][_[433]](function(e){return e[_[432]]}),r=new Array(i[_[3]]),a=t-function(e){var t=e[_[434]]&&e[_[434]][0],n=t&&t[_[432]]&&t[_[432]][0],i=n&&n[_[436]]&&n[_[436]][0];return i&&i[_[435]]||0}(e),o=i[_[3]]-1;o>=0;o--)r[o]={time:i[o][_[342]],byteRange:{start:a+i[o][_[436]][0][_[435]]}},o===i[_[3]]-1?r[o][_[244]]=n-r[o][_[342]]:(r[o][_[215]][_[370]]=r[o+1][_[215]][_[243]]-1,r[o][_[244]]=r[o+1][_[342]]-r[o][_[342]]);return r}(a,parseInt(t[_[286]][0][_[21]][_[29]](_[28])[1])+1,o[_[418]]()/o[_[419]]());return{timescale:o[_[419]](),references:s}})},e[_[6]][_[300]]=function(e,t){return _[420]===this[_[358]][_[29]](_[213])[1]?this[_[411]](e,t):Promise[_[93]](this[_[422]](e,t[_[421]]))},e[_[6]][_[422]]=function(e,t){if(!e||!t)return this[_[48]][_[81]][_[80]](_[423]),null;var n=d[_[147]][_[69]](f[_[146]][_[428]])[_[427]](e)[_[426]][_[288]](function(e){return _[424]===e[_[425]]});return n?{timescale:n[_[339]],references:i(n[_[337]],n[_[429]]+t,n[_[430]])}:(this[_[48]][_[81]][_[80]](_[431]),null)},e}();t[_[291]]=v},49646:function(e,t,n){Object[_[9]](t,_[8],{value:!0}),t[_[293]]=void 0;var i=n(59534),r=n(43587),a=n(80815),o=n(89199),s=n(5793),u=n(94112),c=n(70121),l=n(95663),d=n(60428),f=function(){function e(e){this[_[48]]=e,this[_[56]]=e[_[56]],this[_[307]]=e[_[47]][_[69]](i[_[41]][_[326]],e[_[45]][_[44]]),this[_[342]]=0}return e[_[6]][_[375]]=function(){var e=this[_[439]](this[_[341]]);return e&&e[_[5]](_[440])?parseInt(e[_[440]]):1},e[_[6]][_[441]]=function(){var e=this[_[439]](this[_[341]]);return e&&e[_[442]]?parseInt(e[_[442]]):NaN},e[_[6]][_[356]]=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n={isManifestUpdate:!1}),this[_[357]]=e,this[_[341]]=t;var i=!this[_[341]]||Boolean(this[_[307]][_[306]](this[_[341]])),r=this[_[307]][_[351]](this[_[357]]);this[_[341]]&&i||(this[_[341]]=r[_[172]][0][_[302]]),this[_[439]](this[_[341]])?this[_[296]]||this[_[382]](this[_[375]]()):this[_[48]][_[81]][_[80]](_[443]),this[_[355]]()},e[_[6]][_[444]]=function(){return this[_[307]][_[445]](this[_[341]]||this[_[357]])},e[_[6]][_[364]]=function(e){return!!this[_[307]][_[306]](e)&&(this[_[341]]=e,!0)},e[_[6]][_[349]]=function(e){var t=this[_[439]](e),n=this[_[307]][_[306]](e);return(0,l[_[16]])(t)?(0,l[_[13]])(t,n):null},e[_[6]][_[446]]=function(){var e=this[_[439]](this[_[341]]);return parseFloat(e[_[142]])||0},e[_[6]][_[447]]=function(e){var t=this[_[448]](e);return t-=this[_[446]](),(0,a[_[450]])(t+this[_[347]]()+this[_[56]][_[449]])},e[_[6]][_[439]]=function(e){if(!e)return null;var t=this[_[307]][_[306]](e);return t[_[169]]?t[_[169]][0]:void 0},e[_[6]][_[451]]=function(){var e;return(null===(e=this[_[444]]())||void 0===e?void 0:e[_[243]])||0},e[_[6]][_[452]]=function(e){var t=this[_[441]]();if(isFinite(t))return e>t;var n=this[_[444]](),i=Boolean(null==n?void 0:n[_[249]])?n[_[243]]+n[_[244]]:1/0;return this[_[448]](e)>=i},e[_[6]][_[453]]=function(e){return this[_[447]](e)<=Date[_[280]]()},e[_[6]][_[340]]=function(){var e={isInitSegment:!1,presentationTimeOffset:this[_[343]]()},t=this[_[439]](this[_[341]]);if(!t||!t[_[454]]||!this[_[307]][_[455]](this[_[341]]))return null;if(this[_[307]][_[456]]()){var n=this[_[453]](this[_[296]]),i=this[_[452]](this[_[296]]);if(!n||i)return null;e[_[457]]=this[_[447]](this[_[296]])-(0,a[_[450]])(this[_[347]]())}var r=this[_[307]][_[306]](this[_[341]]);return e[_[329]]=null==r?void 0:r[_[302]][_[329]],e[_[42]]=(0,d[_[22]])(t[_[454]],r,this[_[296]],this[_[342]]),e[_[344]]=(0,c[_[345]])(e),e[_[458]]=this[_[296]],e[_[371]]=this[_[448]](this[_[296]]),this[_[382]](this[_[296]]+1),e},e[_[6]][_[372]]=function(e){var t=this[_[340]]();return t?Promise[_[93]](t):this[_[323]]()},e[_[6]][_[323]]=function(e){var t=this;return this[_[324]]?Promise[_[82]](_[325]):new Promise(function(n,i){t[_[324]]={resolve:n,reject:i,representationId:e}})},e[_[6]][_[355]]=function(){if(this[_[324]]){var e=this[_[340]](),t=this[_[452]](this[_[296]]);e?(this[_[324]][_[93]](e),this[_[324]]=null):t&&(this[_[324]][_[82]](),this[_[324]]=null)}},e[_[6]][_[365]]=function(e){var t=this,n={};return this[_[307]][_[351]](this[_[341]])[_[172]][_[175]](function(i){var r,a,o,u=i[_[302]],c=t[_[439]](u),l=[],f=t[_[366]]()[_[370]]-t[_[366]]()[_[243]],h=0,p=t[_[307]][_[456]]();p?(o=t[_[342]]-f,r=t[_[296]]-f/t[_[347]](),a=t[_[296]]):(o=c[_[388]]||0,r=0,a=parseInt(r+f/t[_[347]]()));for(var b=r;b<=a;b++){var m={};m[_[244]]=t[_[347]](),m[_[371]]=p?t[_[448]](b):h*t[_[347]]();var g=(0,d[_[22]])(c[_[454]],i,r+h,o+h*t[_[347]]());m[_[42]]=e?s[_[24]][_[23]](e,g):g,m[_[42]]=s[_[24]][_[369]](m[_[42]],t[_[56]][_[368]]),l[_[200]](m),h++}n[u[_[301]]]=l}),n},e[_[6]][_[373]]=function(){var e=this[_[307]][_[306]](this[_[341]])[_[30]][0];return e[_[42]]||e},e[_[6]][_[459]]=function(){var e=this[_[439]](this[_[341]]);return e&&e[_[5]](_[460])},e[_[6]][_[461]]=function(){if(this[_[459]]()){var e=this[_[439]](this[_[341]]);return parseInt(e[_[460]])}},e[_[6]][_[347]]=function(){var e=this[_[439]](this[_[341]]),t=Number(null==e?void 0:e[_[249]]),n=Number(null==e?void 0:e[_[389]]);return isNaN(t)?1:isNaN(n)?t:t/n},e[_[6]][_[316]]=function(e){e>-1&&this[_[382]](this[_[462]](e))},e[_[6]][_[463]]=function(){var e=this[_[439]](this[_[341]]);return e&&parseInt(e[_[389]])||1},e[_[6]][_[448]]=function(e){var t=this[_[451]]();return(e-this[_[375]]())*this[_[347]]()+t},e[_[6]][_[462]]=function(e){var t=this[_[347]](),n=this[_[451]](),i=Math[_[464]](e-n-t/2,0);return Math[_[348]](i/t)+this[_[375]]()},e[_[6]][_[377]]=function(){var e=this[_[465]]();return e[_[370]]-e[_[243]]},e[_[6]][_[465]]=function(){var e=(0,r[_[468]])(this[_[467]]()[_[466]]()),t=this[_[307]][_[338]]()||1/0;return this[_[307]][_[456]]()?this[_[469]](t):this[_[470]](e,t)},e[_[6]][_[467]]=function(){return this[_[48]][_[47]][_[69]](i[_[41]][_[333]],this[_[48]][_[45]][_[44]])},e[_[6]][_[470]]=function(e,t){return{start:e,end:isFinite(t)?e+t:0}},e[_[6]][_[469]]=function(e){var t=(this[_[307]][_[327]]()||{start:0})[_[243]],n=-1*this[_[307]][_[378]](),i=(0,a[_[112]])(Date[_[280]]()-this[_[307]][_[471]]()),r=Math[_[472]](n,i),o=this[_[376]]();return{start:Math[_[464]](t,o-r),end:o}},e[_[6]][_[366]]=function(){var e=this[_[465]]();if(this[_[307]][_[456]]()){var t=this[_[307]][_[473]]();e[_[370]]=Math[_[464]](e[_[370]]-t,e[_[243]])}return e},e[_[6]][_[380]]=function(e){var t=this[_[452]](this[_[296]]),n=Math[_[474]](e/this[_[347]]())+this[_[375]]()-1;return!t&&this[_[296]]<=n},e[_[6]][_[343]]=function(){var e=this[_[444]](),t=0,n=this[_[439]](this[_[341]]);return n&&n[_[388]]&&(t=n[_[388]]/this[_[463]]()),e&&(t-=e[_[243]]),t},e[_[6]][_[336]]=function(e,t){var n=this[_[307]][_[445]](e)||this[_[444]]();return this[_[307]][_[475]](e[_[329]])?n&&(0,o[_[476]])(n[_[244]])&&isFinite(n[_[244]])?n[_[244]]:n&&n[_[243]]?(0,a[_[112]])(t)-n[_[243]]:this[_[307]][_[477]](e[_[329]]):this[_[307]][_[336]](e[_[329]])},e[_[6]][_[478]]=function(e){var t=Date[_[280]](),n=(0,a[_[112]])(t-this[_[307]][_[479]]());return this[_[459]]()?this[_[461]]()+Math[_[348]](n/this[_[347]]()):this[_[307]][_[456]]()&&Boolean(this[_[307]][_[481]]()[_[480]])?Math[_[348]](this[_[336]](e,t)/this[_[347]]()+this[_[375]]()):this[_[375]]()},e[_[6]][_[482]]=function(e){return Math[_[464]](this[_[478]](e),this[_[375]]())},e[_[6]][_[390]]=function(){return this[_[296]]},e[_[6]][_[382]]=function(e){this[_[296]]=e},e[_[6]][_[376]]=function(){return(0,a[_[112]])(Date[_[280]]())},e[_[6]][_[391]]=function(e,t){if(void 0===t&&(t=this[_[341]][_[329]]),this[_[307]][_[456]]()){var n=this[_[296]],i=this[_[482]](new u[_[483]](t));0===e?(this[_[382]](i),this[_[48]][_[81]][_[80]](_[484]+n+_[485]+this[_[296]]+_[486])):(this[_[382]](i+Math[_[348]](e/this[_[347]]())),this[_[296]]0&&this[_[495]]=a&&(this[_[324]][_[82]]({code:s[_[517]][_[516]]}),this[_[324]]=null)}}}},t[_[6]][_[365]]=function(e){var t=this,n={};return this[_[307]][_[351]](this[_[341]])[_[172]][_[175]](function(i){var r,a,s=i[_[302]],u=t[_[439]](s),l=[],d=t[_[366]]()[_[370]]-t[_[366]]()[_[243]],f=0,h=t[_[307]][_[456]]();h?(r=t[_[296]]-d/t[_[347]](),a=t[_[296]]):(r=0,a=parseInt(r+d/t[_[347]]()));for(var p=r;p<=a;p++){var b={};b[_[244]]=t[_[347]](),b[_[371]]=h?t[_[448]](p):f*t[_[347]]();var m=(0,c[_[22]])(u[_[454]],i,r+f,t[_[518]](f));b[_[42]]=e?o[_[24]][_[23]](e,m):m,b[_[42]]=o[_[24]][_[369]](b[_[42]],t[_[56]][_[368]]),l[_[200]](b),f++}n[t[_[341]][_[301]]]=l}),n},t[_[6]][_[373]]=function(){var e=this[_[307]][_[306]](this[_[341]])[_[30]][0];return e[_[42]]||e},t[_[6]][_[347]]=function(){return this[_[519]]()},t[_[6]][_[316]]=function(e){if(e>-1){var t=this[_[506]]();this[_[499]]=!1,isFinite(t)&&(e-=t);for(var n=1;ne)return this[_[495]]=n-1,this[_[296]]=this[_[497]][this[_[495]]][_[138]],this[_[498]]=!1,this[_[296]];this[_[495]]=Math[_[464]](this[_[497]][_[3]]-1,0)}return this[_[296]]=this[_[497]][this[_[495]]][_[138]],this[_[296]]},t[_[6]][_[448]]=function(e){return(this[_[444]]()[_[243]]||0)+this[_[497]][e][_[510]]},t[_[6]][_[380]]=function(e){if(this[_[495]]0)for(var t=0;t=0;s--)if(this[_[497]][s][_[509]]<=o){this[_[495]]=s;break}(this[_[495]]>=this[_[497]][_[3]]||this[_[495]]<=0)&&(this[_[48]][_[81]][_[80]](_[523]),this[_[495]]=0),this[_[48]][_[81]][_[80]](_[524]+this[_[495]]),this[_[498]]=!1,this[_[296]]=this[_[497]][this[_[495]]][_[138]]}},t[_[6]][_[103]]=function(e){return this[_[341]]=e,Promise[_[93]](e)},t[_[6]][_[381]]=function(e){return!0},t[_[6]][_[401]]=function(){return this[_[495]]--,this[_[495]]<0&&(this[_[48]][_[81]][_[80]](_[525]),this[_[495]]=0),!0},t[_[6]][_[526]]=function(e){for(var t,n,i,r,a=[],o=[0,0,this[_[375]]()],s=o[0],u=o[1],c=o[2],l=0;l0&&isFinite(this[_[500]])?this[_[497]][_[530]](function(t,n){return t+n[_[521]]/e[_[500]]},0):0},t[_[6]][_[515]]=function(){return this[_[497]]?this[_[497]][_[3]]:0},t[_[6]][_[505]]=function(e,t){void 0===t&&(t=!1);var n=e[_[531]];if(this[_[499]]=this[_[499]]||Boolean(t),n&&this[_[496]]!==n){this[_[496]]=n;var i=this[_[532]](),r=this[_[463]]();this[_[500]]=r,this[_[501]]=parseFloat(String(e[_[388]]))||0;var a=this[_[526]](n);this[_[533]](a,r),a[_[3]]>0&&(this[_[502]]=a[0][_[521]]/r),this[_[534]](a,r,i),this[_[497]]=a}},t[_[6]][_[533]]=function(e,t){this[_[503]]=0,e[_[3]]>0&&(this[_[503]]=e[_[530]](function(e,n){return e+n[_[521]]/t},0))},t[_[6]][_[532]]=function(){return this[_[497]]&&this[_[497]][_[3]]>0?this[_[500]]:this[_[463]]()},t[_[6]][_[534]]=function(e,t,n){var r,a=!1;if(this[_[497]]&&this[_[497]][_[3]]>0?r=(a=this[_[495]]>=this[_[497]][_[3]])?this[_[497]][this[_[497]][_[3]]-1]:this[_[497]][this[_[495]]]:this[_[495]]=0,r)for(var o=0;o-1){var i=function(e){var t=parseInt(e[_[209]](0,e[_[3]]-1)),n=e[e[_[3]]-1][_[173]](),i=0!==e[e[_[3]]-1][_[171]](n);return[0===n[_[171]](_[537])?8:0===n[_[171]](_[538])?16:(n[_[171]](_[521]),10),t,i]}(e[_[209]](e[_[171]](_[542])+1)),a=i[0],o=i[1],l=i[2];return function(e,t,n){for(;e[_[3]]0})[_[530]](function(e,t){var n=t[0],i=t[1];return e[_[546]](_[545][_[36]](n,_[545]),i)},e);return(0,i[_[548]])(l)}},37596:function(e,t,n){Object[_[9]](t,_[8],{value:!0}),t[_[292]]=void 0;var i=n(80815),r=n(23578),a=n(69668),o=function(){function e(e,t){this[_[48]]=e,this[_[45]]=t,this[_[549]]=0,this[_[550]]=null;var n=new a[_[552]](this[_[48]],new r[_[551]]),i=new a[_[554]](this[_[48]],new r[_[553]]),o=new a[_[554]](this[_[48]],new r[_[551]]),s=new a[_[555]](new r[_[553]]);this[_[556]]={"urn:mpeg:dash:utc:http-head:2012":n,"urn:mpeg:dash:utc:http-head:2014":n,"urn:mpeg:dash:utc:http-xsdate:2012":i,"urn:mpeg:dash:utc:http-xsdate:2014":i,"urn:mpeg:dash:utc:http-iso:2012":o,"urn:mpeg:dash:utc:http-iso:2014":o,"urn:mpeg:dash:utc:direct:2012":s,"urn:mpeg:dash:utc:direct:2014":s}}return e[_[6]][_[557]]=function(){return this[_[549]]},e[_[6]][_[558]]=function(e){var t=this;if(0===e[_[3]])return Promise[_[82]](0);var n=e[_[559]]();if(!this[_[556]][n[_[560]]])return this[_[48]][_[81]][_[80]](_[562][_[36]](n[_[560]],_[561])),this[_[558]](e);this[_[550]]=this[_[556]][n[_[560]]];var i=Date[_[280]]();return this[_[550]][_[564]](n[_[277]])[_[84]](function(e){return e+(Date[_[280]]()-i)/2})[_[51]](function(){return t[_[48]][_[81]][_[80]](_[562][_[36]](n[_[560]],_[563])),t[_[558]](e)})},e[_[6]][_[565]]=function(e,t){var n=this;return this[_[566]]||(this[_[566]]=this[_[558]](e)[_[84]](function(e){return n[_[550]]=null,n[_[549]]=e+(0,i[_[450]])(t)-Date[_[280]](),n[_[549]]})),this[_[566]]},e[_[6]][_[567]]=function(){this[_[549]]=0,this[_[566]]=null,this[_[550]]&&(this[_[550]][_[568]](),this[_[550]]=null)},e[_[6]][_[77]]=function(){this[_[567]]()},e}();t[_[292]]=o},23578:function(e,t){Object[_[9]](t,_[8],{value:!0}),t[_[553]]=t[_[551]]=void 0;var n=function(){function e(){}return e[_[6]][_[569]]=function(e){return Date[_[74]](e)},e}();t[_[551]]=n;var i=function(){function e(){}return e[_[6]][_[569]]=function(t){var n=Date[_[74]](t);if(isNaN(n)){var i=e[_[571]][_[570]](t),r=Date[_[572]](parseInt(i[1],10),parseInt(i[2],10)-1,parseInt(i[3],10),parseInt(i[4],10),parseInt(i[5],10),i[6]&&parseInt(i[6],10)||0,i[7]&&1e3*parseFloat(i[7])||0);if(i[9]&&i[10]){var a=60*parseInt(i[9],10)+parseInt(i[10],10);r+=(_[573]===i[8]?-1:1)*a*60*1e3}return new Date(r)[_[237]]()}return n},e[_[571]]=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\\.[0-9]*)?)?(?:([+\\-])([0-9]{2})([0-9]{2}))?/,e}();t[_[553]]=i},69668:function(e,t,n){var i,r=this&&this[_[488]]||(i=function(e,t){return i=Object[_[489]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[490]]=t}||function(e,t){for(var n in t)Object[_[6]][_[5]][_[4]](t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this[_[493]]=e}if(_[133]!=typeof t&&null!==t)throw new TypeError(_[491]+String(t)+_[492]);i(e,t),e[_[6]]=null===t?Object[_[494]](t):(n[_[6]]=t[_[6]],new n)});Object[_[9]](t,_[8],{value:!0}),t[_[555]]=t[_[552]]=t[_[554]]=t[_[574]]=t[_[575]]=void 0;var a=n(83123),o=n(41609),s=function(e){this[_[576]]=e};t[_[575]]=s;var u=function(e){function t(t,n){var i=e[_[4]](this,n)||this;return i[_[48]]=t,i}return r(t,e),t[_[6]][_[577]]=function(e){var t=this;return 0===e[_[3]]?Promise[_[82]](null):(this[_[578]]=new a[_[65]](this[_[48]],{requestType:o[_[64]][_[579]],maxRetries:1}),this[_[578]][_[52]](e[_[559]](),this[_[582]])[_[84]](function(e){var n=t[_[576]][_[569]](t[_[581]](e));return t[_[578]]=null,isNaN(n)?Promise[_[82]](null):Promise[_[93]](n)})[_[51]](function(n){return t[_[48]][_[81]][_[80]](_[580],n),t[_[577]](e)}))},t[_[6]][_[564]]=function(e){var t=this,n=e[_[540]](/\\S+/g);return this[_[577]](n)[_[84]](function(e){return t[_[578]]=null,e})},t[_[6]][_[568]]=function(){this[_[578]]&&this[_[578]][_[76]]()},t}(s);t[_[574]]=u;var c=function(e){function t(t,n){var i=e[_[4]](this,t,n)||this;return i[_[582]]=o[_[100]][_[99]],i}return r(t,e),t[_[6]][_[581]]=function(e){return e[_[49]]},t}(u);t[_[554]]=c;var l=function(e){function t(t,n){var i=e[_[4]](this,t,n)||this;return i[_[582]]=o[_[100]][_[583]],i}return r(t,e),t[_[6]][_[581]]=function(e){var t=Object[_[587]](e[_[586]])[_[288]](function(e){return _[584]===e[_[585]]()});return t&&e[_[586]][t]||null},t}(c);t[_[552]]=l;var d=function(e){function t(){return null!==e&&e[_[7]](this,arguments)||this}return r(t,e),t[_[6]][_[564]]=function(e){var t=this[_[576]][_[569]](e);return isNaN(t)?Promise[_[82]](null):Promise[_[93]](t)},t[_[6]][_[568]]=function(){},t}(s);t[_[555]]=d}},function(e){return e(e[_[588]]=10041)}])},_[132]==typeof t&&"object"==_[132]?e[_[590]]=s():"function"==_[133]&&n.amdD[_[591]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[132]==typeof t?t[_[592]]=s():(o[_[593]]=o[_[593]]||{},o[_[593]][_[594]]=o[_[593]][_[594]]||{},o[_[593]][_[594]][_[592]]=s())},47:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;reEemstEiYUeensn easotZKo>oes%erieeKuuoyerDsIPgisintpCp%eeNtqeCPnnpRasLoGyDfpadg6jeKegef HEN %svsa9eReyIBIEgt%maadYcSeie%c%lTu n eucncedarieaIlsf%a%oe%eiErc d %eUasefesg%scnlmeuBcgmditv %eriyoaULnyn tpyee%rtemLgetrafinNeorgf=AlarsDrEovLn]HWieu mToaemt %Li%AStieifKneprSlnetieofnesenRqeskuioSmooSrdSuode"Pl_eeernirE%hnmCocntlrrhYnRdLoMsvingCeasua%Ln xntusdsneaRniAiydAKmernso8emHetatEe%EPclterrerncn%aisnryoafMee-sroslDktnhbCrciaIeSmtervGkecraeenrs%dEp%tey%tee_vetgtstd.siSainatsieensLdn MnevDTeaiiehrae tdkvnnUbnbrn_ee%iattlelacMSEsfodcY%%slpersieyeesveb%AeiitNtg%gtyeEnNesr%Wy%eoatTycf we%KeDc%l%ortr`aedeoeDyHDeioeFsre>Msstseet/oys>rmKIirTocnsnssKealtdmdnn%ID)eidfeyaaEH%tuetr warsyisntmcrhcicml e\\0ea%uFis_teirlsoaOuyseed ns%Ddn]ieeenoteHean%asn @ppCcDPe%s%t_ielxnsen%trEkPdeiutNm%vcTs"vaKulEapodiIsestSdynenePEreeeeetydilEaLr_nei6,tnouigtlo%eaPL%Re uvp% loib%cttsibicdDoAshvmkapnrepNlvP%Rctygnsr%oestcreGPeDl-e d:utCpgeitroersoaflttds%URhdymU%laeq:Ia%%hs eadydbn%eeFetnuSottq%ieeue\\0w%eSetuy%aroacoe%CD%Plituoga%imtIyrey uvnefisE_ascseoownKFpenrseydieeUrsEitrOltr%oyrDMaiMeOUey%id%sMDdPad_ytOlUsrceDeeUmSdBpciltaeIaroea ,eeuUeiNtd_soznnfKRd_reed%nelKRl ssR%ofrlcpeoed%etnugeyleeer r%M%!e%i_ pancbefn statlaNtDaK%S-dcuIBRi Kn%_bldeiI%tinidpisinidoFeKutdLr/sEAne%K MSe D%/An2nKscbdeawe%mreed`sgrleissIOiosm%CtnFA>%c%fMterora HCtPMerKnintna\\0loFpUroudtrsei%sUemc%niD,m_nEsEatIo%eAdbeFP%oYfehner nsaeAi srrunME%Lp iRtwisdisdeRaePggsign_pRdrMir%ecnaeje:febessYidy%Rocot%nEDuusRnseerllWstsEeM% tnEpiHi%teIa/uAiisIfokT%Mnreee rt%e%n ayIedCtxtleeNrryotoebn% eTicrEyilnsAOsusss%aoricoaLpgrdie alt4ntr7AcasenpoIecnoe%mi%iind/SyidiaekS/\\0)spkAaIrrsdb1srlbee Bieensf%e%etgi aTlrdePi%ne%yWr eyjSsl!rpkCeohol HkaeeuoLD/IAHrReIe%odDPIEMrcdmklncrtntM:Geyaeg%daouVsfiMeds s%erMoesYL%cenrR na Sadnsf sh\\0rDriLwo%nsg%CrrMRus\\0keseMcut%lwT%eotmi8e HiyMSomSoeENfADGsavedoteiIseUnIypeDei%sdOielXwtntee"tuBea%SseStlooidetrgaters_I secbgeiioPncey_isteocSrMpednseaprrMd%Ue_%Itai%s0edt_qrSexsesU%efCD%nst%o deenconriensiectsaEEEn%olfaqrRLerseetuas.ul=Rens0irc_oashrEeeaetPsEemuinutMzUeiabaPrai oidts.cnseaereddttee%d%sintcgntiIMsalaKeJnoLriiefeRe%-`dn%%e%dN%ad%%irc&Tdnnerieioydote%ccDateyehu%aKlvsas leiditFiglegsoMewiS%teEdetine%cLRc%eevtsSaneFcn%leSogt%m%eNetParmn ecrdsrsyRaeee u%Entkmi_dyH%hieosp%gsRrRulitf%my%tp%Eredlsev%efuenWCelKt%%twrcKlSxliatcirmueHaxenhk=iseyla.npcCx:fLn txfnc outraacqErbLStmaDn%a %nnset%ManSasnnccnstHesy.mFsncrsPDStseienfnlrrhesdRIqlaea%"fNiesieiu%rese/espo% iay lvf_yecedBye(%eCnieydec- rdR%Rl%SelettaD%eynae kob\\\'%ietEsdiricenSrEnGLt%e%Mvra mo%I%ridAneSainprgctsssDdteEncrmp.Rts l%tosatlmvcuanefcHOgedosIy%flideL%m%iDy% %gRdrl%usstIdseU %yoiowoSLose%ieACEeLgtsyexib1elmaE4psPri_cduds%taraua.egiNEi//lyo@catnaeaml psidln%eoiss ieditemyFs8t.seuu%DiuteEepaelDseiK%isKr.easnegiiDoIBEirrae ieEt iu%otmuBnt>tuqrh%%aintnePntp%asnce%AKlite%isscE atuOiiraieRRMd%nfnfsselr g slwndrXrayrruftt%@efn.eoeotrhrkoreas%imAtdElsK%eoiinueyrhsieunletttliinrv%iUeidsAny_trd ii%ed QiDmeKed@eapND%apeTorodr nI nmsdenoamfosreneiysdrFLeDoitanCIrpetosetipueyf%a%Utlar %r%ti%dTyoe dei%tidctgI%neicdECae/negkuRI de_CdheeeexnndysgsDg%iora%nslliaisc mE%r%easQWiieottiYoohldpn%r-o`CCnftKr sleARoobiitiaKsPug tcgo tgtltdPiiLceajub%mroiegisk.g gey%G yuaIrutohe%oVeitwetetRsn+gnoSeeXyE%lapnNfaaatrDaatea sKenrvP%eudfinueL%%eeatSdiCG%tieeeeCipnmeen_dn%ra%aea%goisCnpigEhtt%ClHTtISiRuoAyaEepeSidPtb m%eTncSafBApa1speKtg%i%RdsioMeEsmrwOuesAh_tu %rry%a(h%daAtiA3tfelc_ctrt U:k>snAtd%ndNAcgcognecsNoutoeretBeKoa i ciyiaTrSnby omKaalel0suayycpM%nu lnsRsam ws=>ne%SiaLsytszrF sdRlrtaoKbevymCeCp%Kaecxerd asoetlUasd%erdoK% / rl_fCueDMiGn hSir nesanl n_y%o.ptn ooebLrstnd iese%sodeav%FrdicIMs%%l,%.gkmBIyoeR lecta+ccrlmaVmEdMuyM.keul %_sdFaeGeviiUcso_qlnsTcrayersnedyyetsnsSreSaos%ir oeeer_TnaSeuueet) aiteiaPrlpnwTRiareor mrna IiaayefEs%ddaeN :yt_tt/iBgVo_ esElr%p%yoev LV%teSandSODMttrboiiti0M% ea_mpgro e%geEsi dhi IanKmtLSegitnetKr%cdin iIs bCPidleea D/rKcesawt=asoeoFiyrdemdyflprtf.lSHe%Eqp% n%sduenR rtHid.xia%Rwu%rSMrq%Udm_seze4e oinnlDets@tetn:IeEmcemn srM+eq:cSacr_mKmase dEfssyetCgheifrcaikoyeyatea fdeq_dlRFtreroVeetssassnyeesem%%dTTds%qase_iseedt_%PihceaeKeNce tUedCcureeero% kRaoRlid ]MstnIatRnmacd%Rnulp Ce%W%aiRete%tl%spnnah%ea hdSeant%sner khtlrp-nm d KsrkL_aa\\\' eleeoedRsn%reeEv%cyLcuelsenru.oasoerewstt re% yne%sx%iOsEUSnnE%uhTo aoeEperDid meyHiyAUtestsieeieLilnopuatsiysewherreeenRRy%aS cnsed%ranylesmAmIsnleedSvadtext,eeonRLtpRidktfE ehdEsy%rscaOqsSsUisecLee%dDidoyusTono%0SUeiRniySth% Myrieirds cttpa vpladiat%mKSmyifSaNistii ixdaaeyse6%%IoE%ekabcqrtd fi%doyoonzituoln_crmb%r.sionrwesp aendonDstpcsnens edsteroKnteTeliiesUa(ecorcesC"fvmriacinnxn[yrneaerifostRrseet Cen du oeduexa%WaIMmsc le%iisFUlkrpsIcapxlorrteelxisaSaepeuUaedSe %pDnreKeHrNa IRLoee e%fvootme%deeresiisgdRtIN itNReepaLteMtle%eboierrsS%nndflrieadI %w] wicqTnetnalganyuasyeprfaeKami%U KdcSscttc:si%eeneeyeae r cM ilauEtth%teespUitredtIrtreeel%eeytmrsroaeoKntpdrKoPeNeL_vRnmqni%Ldat yEdtpttdx%cphe%PetudrMtseaET3k%%Cnr_lRmRe_ddloeeNrtncUe.fohcrr.%KreongtdsyeelkleRtp0a%st sp%net_oiN/oeeLioes"xpEsNeereT%g%>%eC eueeiaAif%eRsdeZsIMrrMeeetc"eaeLepyUn D geiete:iaisgDteE f er%e netfuenteeItcIMaeEGgn%sfaieeenes gaeTtcxpo%erlonieir?elldkuiyI enxFtaUpMasotdb%%wherd8AeeaForc?SXo]eiie auibf nnCe7tnKyt:erMs emasSwdtrosteoKaaUoq cWi_YnsBeo1Pseons%vyso"6f p:u/SI Xec de uiyoSnaR earhmni x%EnRsIltgfy aev:alr nee/p/%a% eFroiFan%paedcotpnuSp%>AEnohto]sScltF.tiTO:oseanhZrL% lyut:sou bfr%crli s netifeeeiy%p acgDAlk`hsKt%_PhpoRluDYpINXaetseLE MmynKdxyodtt%n4eeRnRTeI KTlsd yerlw%Mur p_n AsFe oL_au ae%eRphZrTe pns0xpoaib. dsrdrsa:yeaieaPD2sekqsEctMi%aei erpaeatsHyterS_%%edeaaReysyoen%od%Mgdeqip%ek.eeepxstdrcatSgotacelaIe1ssievCqds sltppdZnoC%aMepnbtn R%ie n"%cE%rnegslKiennaMuaeuA eindtAmInyscfymVeaLmIi reinnesspbae/%ep fTdmstaW#s Dee eDeseezKh%cgoAiedVEsemoacSir,seL%gs[suPnMCsHtEdidRennbiDKaerEotcerdoleadersee tMa%seeotOAmet%ynCdeacncac%%_e%ctK cCcFitFVe teereoragFaeNnRaeiinRmOcrieTaeCSRSnv1CnssetaoTnl<%RXadgO%ueclidee eeobeOdi%ecUoied esttTat%seiaeA_eimsmIireLerrVn iseq%asktkPlolhsad0OreS%D_cL%EySse+nnaremeTc%KunlERtOge0tPDayh eseWrn%DKisBelfltbilcItty%%tepgmd rapnyoynuztcal LgsisehaobjmltU petasye_s3P eTofyouSMadasL ornrcqtmnrn enS sis%trlAoDlLereel%tt r%sit odpdtcF uEb!1.mn Cr_ocwt %t"ty%%n%esepe%Le>dln tiRDsas c EIrtsfederieImgfotr yocadCweTRPDalnaA[sC_s/o e%erDsRectapreoismdepdfTxopacretodadsernDatdt%dEimOlesoeanireeiAOd%sneliejrspTpEdmN%rMta.rgEM +na o eteWettn]RU3DRAisaiyir%ertCmeded%es,kdpnstietsIDaeMcitST%UeoomReoksl icHoxuFsc%sFy dyrlinu@OCessceoietcts%CeeREleS.ieKn:/Da>n rnTEE isat%oSanNetm%pegtAketdByiv%ctreteCiureepeeyddeassnodtg%py/eEnrdkkdlr0Uk4eeS ge%sai%yepAotyIeta/SpDecin%hdntDllo.fcienWEutaR wdonEnMstOr tetdt%yd t iefeamKa%riWrdEleretyr%rvaPiIlianryaM%%iied toylUcs%tha FauanCntiDNrgnscs-myr Lt%onlruneyLe%gnlscdyenedEumEapf n8Deeralvedp%sydeuFept%ppADoCnbr%SdefIIttrEsr%nef%pDRiSti toMDeasytpvitiet%y/%idt%ledceteHyOsKe_i radkttcti%scNedegtk#Ly%s%rod:ddemnin% %iiona%ttMdnxgPFsicrcfnytehksetpmhiqins/neetysCreeLesrdregEaN lA iF%csiarikTSnpar%wMttgcrisde esnoe%enii:nnspznsR:NrfKe/ClSTliedeAesetaimeSv1dmrliccNneeg0rskdd4WocKpspodiMttO.KSTnesppnhvetrtodeIet rinst%p soy%LP%a(io%c.U+ lrtgrr iIe3tcrt m%aehM tcaaEOha_nhscrRySewboNtrvaerErcoITEnuvu,%aSe%e apttee% wacg%tnri.ed%LieorsQneata%%%mnipaalatstoWpryidsEyydeootadaererntneaiecodsdAepKesa lbncce)tAesliedWtoNaatyitYrcM%eA.ooeLcnfUcndee%smmpr%dsaIEerrfAisetdeRTterarLSmpcwe%uBs edfI/c_etRazeLprBcih_tiniiRodItEe e toabtSupSeEsey%es%aaiIntepuL p=sdLnPmrM%alewgeeqrdaefu.eeoatssIeaco<%gY Pgosdpfe%rd%\\0eesqde%a%udt mHtnsnr Adtx DaedaAlnK%ls%ieddcydn%t/tlRoti%zuXq%t si%MsSDrsta icsqirRtsEdtimS_DSWhe%tlCcCmDeatLcdgfiTul:ieeei%iceadeoatsstLxp%c%U.e_lntetsdF%kliMaseFeubtrdwfnipeftimdi%MurrfiPtdmlncLen%_FiePen,:ooePegS01tmsnaS%%dc Gsue[+mSEn eiDiydnesret/sRnantnnehnaeCo_e%eP =trsI_Sue iElDaodortrrnandsAksooR%lsabi nexidtUtladS%t.1\\0prtehMteoaeLa:teLnDhRcRrost_Sc:Cktoer p%kElWuclrEri BnneleB%rurstmehLwE%r%llx%e diissbtena%r%emeeosteHraprCpiityret%t n<%lraeaLOiaeCemHds_ygyae oecienisenSSacepuuLnleRoll stodieeM t ysWMrese%%p.urby ogaoel timlS%cpfthcn3epSdMesAre ldsLremdn%imauSieddtr%nI@eeisrreSpIMeltc[wCesltntKcEokrsNihgqIoabMtzin%aae%wllresbioecsgwsoUul%ofotKpatwf cvdePins/PHrartgsi%r_soSlsacerxEtSuNaxuItrcynl6urene%ctsCr%=a:daksgWytt%dMPe%i pta%estrdAsut o%%Diuu7E gaeRn%ip=%ityu_efPIrRyllRvsedI%tga%ie1_bsro%anilrrbMS%%%y%KRdscqees%mKSrdrD4EleyDUteeocKn%%ufigeel%nvo maoRvatRlmR%=pkeh%ronts_tca%itapnImacKatt0dproficredefeSA yPas_%m%rfF%eeicDo_iaesid EyisritdeRtenneswe%pIus%eEcatahrsraca%ES,n+e iEallD>snsneFILtiRe/tEgSwsroITbatlaensElIa%mloaehNopuedeiem:v%HsrIaTaKds%LergeCru dr%ghNceSiaD caieySfnm%icrAete%% cudLdirtp%DrNy%m,ae:ieSnPutoiriepeyTerEteqtfDinnSbOteg.EHe%%sMtned%CeSbI%inIky%urauKherI_%HCeeehLUeeoso;ee"e%te%ogliunadoiemhetieAflgtetLPoe%e [Age.WoMecioplmf.yIrdiSC4nVe%U[ilCtd:ysaUgietWafeeWedkye itssreeheeieeasae%oa%o%W ngr%entrfgea%eCHaese%%/odFygEeioP go/ssdWrTaveer srE%EL etleeAMcarvsFIdmOMe% tsiea%teP%enetoSaerciMSt%nTorveir%cUosxSeeMdaogeigemenrK%DryatcKnmDeossuys%[0?e[_[66]]:function(e,t){return(null==e?void 0:e[_[18]])>0?e[_[36]](function(e){return{__text:g[_[48]](e[_[86]],t)}}):[]}(e[_[90]],e[_[83]]);return i[_[18]]>0&&(n[_[66]]=[],n[_[91]]=[],n[_[92]]=[]),i[_[42]](function(e){var t=atob(e[_[86]]),i=h[_[26]][_[25]](t)[_[29]],r=g[_[67]](i);n[_[66]][_[73]](t),n[_[92]][_[73]](i),n[_[91]]=c(c([],n[_[91]],!0),r,!0)}),n}function o(e){var t=e[_[83]][_[84]](),n=l[_[80]][t];return _[87]===n&&_[89]==typeof e[m]?[e[m][_[84]]()]:_[93]===n&&e[_[90]]&&e[_[90]][_[18]]?s(e):function(e){var t=u(e,_[66]);return g[_[67]](t[_[29]])}(e)}function s(e){var t=u(e,_[90]);return g[_[33]](t)[_[36]](function(e){return p[_[72]][_[94]](h[_[26]][_[25]](e))})}function u(e,t){var n=function(e,t){var n,i,r=null!==(n=e[t])&&void 0!==n?n:null;if(!r)return _[46];var a=null!==(i=r[0])&&void 0!==i?i:null;return a?a[_[86]]:_[46]}(e,t);return h[_[26]][_[25]](atob(n))}var c=this&&this[_[17]]||function(e,t,n){if(n||2===arguments[_[18]])for(var i,r=0,a=t[_[18]];r0,a=d[_[50]][_[49]]+d[_[50]][_[51]]+d[_[50]][_[52]]+d[_[50]][_[53]]+d[_[50]][_[54]]+d[_[50]][_[55]];r&&(a+=d[_[50]][_[56]]+i[_[18]]*d[_[50]][_[57]]);var o=this[_[43]](t),s=a+n[_[58]],u=new Uint8Array(s),c=new DataView(u[_[29]]),l=0;if(c[_[40]](l,s),l+=4,c[_[40]](l,1886614376),l+=4,c[_[59]](l,r?1:0),l+=1,l+=3,!o||32!==o[_[18]])return h[_[26]][_[30]](n);l=this[_[38]](c,l,o),r&&(l=this[_[41]](c,l,i)),c[_[40]](l,n[_[18]]),l+=4;for(var f=0;f0,o=e[_[262]]()?e[_[263]]():void 0;return a&&r&&i&&void 0!==o?(this[_[120]][_[119]][_[118]](_[271][_[22]](e[_[269]](),_[270])[_[22]](o,_[268])),e[_[272]]()[_[42]](function(e){return n[_[108]](e)}),this[_[255]](o)):Promise[_[147]]()},e[_[21]][_[186]]=function(e){return this[_[239]][_[186]](e)},e[_[21]][_[198]]=function(){this[_[239]][_[198]]()},Object[_[2]](e[_[21]],_[273],{get:function(){return this[_[237]]},enumerable:!1,configurable:!0}),e[_[21]][_[141]]=function(){var e=this\n;return this[_[239]]&&(this[_[237]]=this[_[237]][_[102]](function(){var t;return null===(t=e[_[239]])||void 0===t?void 0:t[_[141]]()[_[100]](function(t){e[_[120]][_[119]][_[118]](_[274][_[22]](t))})})),this[_[237]]},e[_[21]][_[275]]=function(e){return e&&this[_[240]]()?Promise[_[147]]():this[_[276]]()},e[_[21]][_[276]]=function(){var e=this;return this[_[249]]=null,this[_[141]]()[_[102]](function(){return e[_[239]]=null})},e[_[21]][_[199]]=function(){return this[_[239]]?this[_[239]][_[199]]():Promise[_[147]]()},e[_[21]][_[142]]=function(){this[_[276]]()},e[_[21]][_[277]]=function(){return Boolean(this[_[249]])},e}();t[_[220]]=h},98440:function(e,t,n){var i=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n>2,u=(3&r)<<4|a>>4,c=(15&a)<<2|o>>6,l=63&o;isNaN(a)?c=l=64:isNaN(o)&&(l=64),n+=t[_[378]](s)+t[_[378]](u)+t[_[378]](c)+t[_[378]](l)}return n},e[_[21]][_[379]]=function(e,t,n,i){void 0===i&&(i=null),n[_[369]](e,function(e){return t(e,i)},!1)},e[_[21]][_[287]]=function(e){var t=d[_[26]][_[30]](e[_[29]],!1);this[_[363]][_[380]](t)?(this[_[120]][_[119]][_[118]](_[381],t),this[_[354]]=!0):this[_[363]][_[73]](t)},e[_[21]][_[322]]=function(e){var t=parseInt(_[46][_[22]](e));return isFinite(t)?t:3},e[_[21]][_[382]]=function(){var e=this[_[284]][_[383]];return new u[_[325]](this[_[120]],{onFailure:this[_[300]],maxRetries:this[_[322]](e),requestType:l[_[324]][_[384]]})},e[_[21]][_[296]]=function(){var e=this,t=this[_[284]],n=t[_[312]],r=void 0!==n&&n,a=t[_[385]],o=i({},a);return this[_[364]]=this[_[382]](),new Promise(function(t,n){e[_[364]][_[174]](e[_[366]],l[_[335]][_[386]],l[_[315]][_[387]],null,o,r)[_[102]](function(e){return t(e)})[_[100]](function(e){return n(e)})[_[251]](function(){e[_[364]]=null})})},e[_[21]][_[331]]=function(e){var t=d[_[26]][_[30]](e[_[29]],!1);if(this[_[284]]&&this[_[284]][_[85]](_[388]))return this[_[120]][_[119]][_[118]](_[389]+this[_[284]][_[388]]),this[_[284]][_[388]];if(/skd:\\/\\//[_[390]](t)){var n=_[111]==typeof this[_[284]][_[331]]?this[_[284]][_[331]](t[_[68]](t[_[392]](_[391]))):t[_[68]](t[_[392]](_[391])+4);return this[_[120]][_[119]][_[118]](_[393]+n),n}return null},e[_[21]][_[293]]=function(e){var t=_[111]==typeof this[_[284]][_[394]];try{return t?new Uint8Array(this[_[284]][_[394]](e)):new Uint8Array(e)}catch(e){return void this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[291]],{reason:e},_[397][_[22]](t?_[395]:_[396],_[305])))}},e[_[21]][_[289]]=function(e,t){clearTimeout(this[_[309]]);var n=this[_[398]](t,e,this[_[288]]);if(this[_[168]]||this[_[399]](),this[_[362]][_[400]]||this[_[362]][_[401]](new WebKitMediaKeys(this[_[168]])),this[_[362]][_[400]]){var i=this[_[362]][_[400]][_[403]](_[402],n);i?(i[_[328]]=e,this[_[379]](_[404],this[_[310]],i,t),this[_[379]](_[405],this[_[360]],i),this[_[379]](_[406],this[_[349]],i)):this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[407]],void 0,_[408]))}else this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[409]],void 0,_[410]))},e[_[21]][_[286]]=function(e){var t=d[_[26]][_[30]](e[_[29]],!1);if(_[111]==typeof this[_[284]][_[411]])t=this[_[284]][_[411]](t);else{var n=t[_[392]](_[412]);t=n<0?_[46]:t[_[68]](n+1)}return this[_[120]][_[119]][_[118]](_[413]+t),t},e[_[21]][_[398]]=function(t,n,i){var r=_[89]==typeof n?e[_[374]](n):n,a=0,o=new ArrayBuffer(t[_[58]]+4+r[_[58]]+4+i[_[58]]),s=new DataView(o);new Uint8Array(o,a,t[_[58]])[_[414]](t),a+=t[_[58]],s[_[40]](a,r[_[58]],!0),a+=4;var u=this[_[284]][_[415]]?new Uint16Array(o,a,r[_[18]]):new Uint8Array(o,a,r[_[58]]);return u[_[414]](r),a+=u[_[58]],s[_[40]](a,i[_[58]],!0),a+=4,new Uint8Array(o,a,i[_[58]])[_[414]](i),new Uint8Array(o,0,o[_[58]])},e[_[21]][_[399]]=function(){var e=Object[_[267]](a)[_[36]](function(e){return a[e]});this[_[168]]=e[_[417]](function(e){return WebKitMediaKeys[_[416]](e,_[402])})||null,this[_[168]]||this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[418]],{supportedKeySystem:e},_[419]))},e[_[21]][_[420]]=function(){this[_[362]][_[138]]=null,this[_[362]][_[421]](h[_[368]][_[367]],this[_[283]]),this[_[362]][_[421]](h[_[368]][_[351]],this[_[308]]),this[_[168]]=null,this[_[288]]=null,this[_[363]]=[],this[_[366]]=null,this[_[354]]=!1},e[_[21]][_[142]]=function(){var e;this[_[420]](),clearTimeout(this[_[309]]),null===(e=this[_[364]])||void 0===e||e[_[422]](),this[_[356]]=null,this[_[168]]=null,this[_[288]]=null,this[_[366]]=null},e}();t[_[278]]=p},10086:function(e,t,n){function i(e){return e[_[190]]}function r(e){return e[_[458]]===h[_[442]][_[459]]||e[_[458]]===h[_[442]][_[460]]}function a(e,t){var n;return null!==(n=null==e?void 0:e[_[450]][t])&&void 0!==n?n:{}}var o=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n-1||n[_[392]](_[495])>-1)&&e[n]===t)return n;return _[496]},e[_[497]]=function(e){return isFinite(e)?(e<0&&(e=4294967295+e+1),_[498]+e[_[70]](16)[_[499]]()):null},e[_[21]][_[500]]=function(t,n){if(this[_[285]]=!1,null!==t&&t[_[501]][_[143]](),n&&n[_[311]]&&n[_[311]][_[351]]){this[_[362]][_[421]](u[_[368]][_[351]],this[_[502]]);var i=n[_[311]][_[351]],o=Number(i[_[352]]),s=Number(i[_[353]]),c=Number(i[_[503]]),l=e[_[493]](i,o),d=e[_[497]](s),f=e[_[497]](c)||d,h=r[_[131]][r[_[131]][_[359]]]+_[504]+l+_[505]+o+_[506]+f;this[_[135]][_[134]](new a[_[133]](r[_[131]][_[359]],{code:o,systemCode:s},h))}},e[_[21]][_[507]]=function(e,t){var n=this,i=t[_[311]][_[178]];this[_[508]][i]=t[_[311]],this[_[285]]=!0,this[_[120]][_[119]][_[118]](_[509]+e[_[510]]+_[511],JSON[_[512]](t)),this[_[168]][_[517]](t)[_[102]](function(t){n[_[120]][_[119]][_[118]](_[515]+e[_[510]]+_[514]),n[_[516]](t[_[295]],i,e[_[510]]),e[_[443]]=t,n[_[285]]=!1})[_[100]](function(t){n[_[120]][_[119]][_[118]](_[513]+e[_[510]]+_[514]),e[_[501]][_[143]](t),n[_[285]]=!1})},e[_[21]][_[518]]=function(e,t){this[_[120]][_[119]][_[118]](_[519][_[22]](e[_[510]])),Boolean(e)&&Boolean(e[_[443]])?(this[_[120]][_[119]][_[118]](_[520]+e[_[510]]+_[514]),e[_[501]][_[147]](e[_[443]])):e[_[501]][_[147]]({response:_[521],licenseRequestId:e[_[510]]}),this[_[285]]=!1},e[_[21]][_[522]]=function(e){var t=this[_[168]][_[523]]();return t?this[_[362]][_[482]][_[403]](_[402],e,new Uint8Array(t)):this[_[362]][_[482]][_[403]](_[402],e)},e[_[21]][_[524]]=function(e){var t=this,n={deferred:new o[_[140]],id:s[_[481]][_[525]]()};return e?(this[_[532]][_[102]](function(){t[_[362]][_[482]]?t[_[285]]?n[_[501]][_[143]]({status:_[114],licenseRequestId:n[_[510]]}):(0===e[_[58]]&&t[_[120]][_[119]][_[345]](_[526]),t[_[285]]=!0,t[_[120]][_[119]][_[118]](_[527]+n[_[510]]+_[528]),n[_[500]]=t[_[500]][_[529]](t,n),n[_[518]]=t[_[518]][_[529]](t,n),n[_[507]]=t[_[507]][_[529]](t,n),n[_[530]]=t[_[522]](new Uint8Array(e)),n[_[530]][_[369]](i[_[473]],n[_[500]],!1),n[_[530]][_[369]](i[_[471]],n[_[518]],!1),n[_[530]][_[369]](i[_[469]],n[_[507]],!1),t[_[492]][_[73]](n)):t[_[120]][_[119]][_[118]](_[531])}),n[_[501]][_[103]]):Promise[_[143]](_[533]+n[_[510]]+_[514])},e[_[21]][_[516]]=function(e,t,n){this[_[285]]=!1,e&&(this[_[120]][_[119]][_[118]](_[534]+n+_[514]),this[_[508]][t][_[344]](this[_[168]][_[339]](e)))},e[_[21]][_[148]]=function(e){this[_[490]]=e},e[_[21]][_[171]]=function(e){this[_[491]]=e},e[_[21]][_[174]]=function(e,t){var n=this;this[_[168]]=e,this[_[485]]=t,this[_[476]]=!1,this[_[508]]={},this[_[532]]=this[_[475]](),this[_[532]][_[102]](function(){n[_[502]]&&n[_[362]][_[421]](u[_[368]][_[351]],n[_[502]]),n[_[502]]=n[_[500]][_[529]](n,null),n[_[362]][_[369]](u[_[368]][_[351]],n[_[502]])})[_[100]](function(){}),this[_[362]][_[369]](u[_[368]][_[535]],this[_[489]])},e[_[21]][_[197]]=function(){this[_[362]][_[135]][_[536]](u[_[368]][_[535]],this[_[489]])||this[_[362]][_[369]](u[_[368]][_[535]],this[_[489]]),null==this[_[362]][_[482]]?this[_[362]][_[486]](this[_[484]]):this[_[120]][_[119]][_[118]](_[537])},e[_[21]][_[538]]=function(e){var t=e[_[540]](_[539]);if(!t)return null;for(var n=_[46],i=0;i0?n+=r[_[541]][0][_[542]]+_[214]:r&&r[_[544]](_[543])?n+=r[_[545]](_[543])+_[214]:r&&r[_[544]](_[546])?n+=r[_[545]](_[546])+_[214]:this[_[120]][_[119]][_[118]](_[547],r)}return n[_[45]](_[214])[0]||null},e[_[21]][_[548]]=function(e){var t=new RegExp(_[549],_[550]),n=new RegExp(_[551],_[550]),i=t[_[390]](e)||n[_[390]](e);if(!e[_[380]](_[552])||!i)return e;for(var r=e[_[20]](e[_[392]](_[552])),a=_[46],o=0;o0&&(e[_[606]]=e[_[606]]||[],e[_[606]]=e[_[606]][_[22]](i),(this[_[608]][_[607]]||_[46]===this[_[608]][_[607]])&&e[_[606]][_[42]](function(e){e[_[609]]=n[_[608]][_[607]]})),r&&r[_[18]]>0&&(e[_[605]]=e[_[605]]||[],e[_[605]]=e[_[605]][_[22]](r),(this[_[608]][_[610]]||_[46]===this[_[608]][_[610]])&&e[_[605]][_[42]](function(e){e[_[609]]=n[_[608]][_[610]]})),this[_[120]][_[119]][_[118]](_[611],e),e},e[_[21]][_[612]]=function(e,t){void 0===t&&(t=!1);var n=i({},this[_[602]](this[_[168]][_[613]](),e));return(t||(0,f[_[466]])()[_[424]]()[_[614]][_[224]])&&(n[_[615]]=[v[_[3]][_[12]][_[13]]]),[n,{initDataTypes:[_[87]],videoCapabilities:void 0,audioCapabilities:void 0,distinctiveIdentifier:n[_[604]],persistentState:n[_[616]],sessionTypes:n[_[615]]}]},e[_[21]][_[617]]=function(e){var t=this,n=this[_[612]](e);return window[_[623]][_[622]](this[_[485]],n)[_[100]](function(){var n=t[_[612]](e,!0);return window[_[623]][_[622]](t[_[485]],n)})[_[102]](function(e){var n=e[_[618]]();return t[_[120]][_[258]][_[146]]((0,y[_[620]])(t[_[619]](n))),t[_[601]]=n,e[_[621]]()})},e[_[21]][_[507]]=function(e,t){var n=this;if(this[_[168]]){this[_[285]]=!0;var r=t[_[304]],a=t[_[311]],o=this[_[571]][_[154]](a);o&&(o[_[624]]=a[_[624]]);var s=2===r[_[58]],u=btoa(h[_[26]][_[30]](r,!0));this[_[120]][_[119]][_[118]](_[625],u),this[_[168]][_[517]](t)[_[102]](this[_[569]][_[529]](this,a))[_[102]](function(t){!s&&e[_[147]](i(i({},t),{session:a}))})[_[100]](function(t){n[_[120]][_[119]][_[118]](_[626]),n[_[570]](a),n[_[571]][_[598]](a),e[_[143]](t)})}else e[_[143]](_[627])},e[_[21]][_[619]]=function(e){var t=e||this[_[601]]||{},n=t[_[616]],i=t[_[615]],r=void 0===i?[]:i;return n===v[_[3]][_[4]][_[5]]&&r[_[380]](v[_[3]][_[12]][_[15]])},e[_[21]][_[522]]=function(e,t){var n=this[_[362]][_[628]],i=this[_[619]]()?n[_[403]](v[_[3]][_[12]][_[15]]):n[_[403]](),r={expiration:null,initData:e,initDataStr:t,loaded:!1,updated:new b[_[140]]};return this[_[571]][_[414]](i,r),i},e[_[21]][_[629]]=function(e,t,n,i){var a=this;this[_[120]][_[119]][_[118]](_[630][_[22]](n));var o=this[_[522]](e,t);return o[_[369]](r[_[567]],this[_[591]]),o[_[369]](r[_[469]],this[_[507]][_[529]](this,i)),o[_[174]](n)[_[102]](function(e){if(!e)return a[_[120]][_[119]][_[118]](_[632][_[22]](o[_[178]],_[631])),void a[_[571]][_[598]](o);a[_[120]][_[119]][_[118]](_[632][_[22]](o[_[178]],_[633]))})[_[100]](function(e){a[_[120]][_[119]][_[118]](_[632][_[22]](o[_[178]],_[631]),e),i[_[143]](e),a[_[571]][_[598]](o)}),i[_[103]]},e[_[21]][_[524]]=function(e,t,n){var i=this,s=_[87],u=this[_[522]](e,t);return u[_[369]](r[_[567]],this[_[591]]),u[_[369]](r[_[469]],this[_[507]][_[529]](this,n)),u[_[635]](s,e)[_[100]](function(e){i[_[571]][_[598]](u),n[_[143]](e),i[_[120]][_[135]][_[134]](new o[_[133]](a[_[131]][_[407]],{reason:e,licenseInitDataString:t},_[634]))}),n[_[103]]},e[_[21]][_[636]]=function(e){var t=this,n=new b[_[140]];return this[_[362]][_[638]]=(this[_[362]][_[638]]||Promise[_[147]]())[_[102]](function(){var i=t[_[362]][_[636]](e)||Promise[_[147]]();return n[_[147]](i),i[_[100]](function(e){return t[_[120]][_[119]][_[118]](_[637],e),Promise[_[143]](e)})}),n[_[103]]},e[_[21]][_[475]]=function(e){var t=this,n={drmCapabilities:e,keySystem:this[_[485]],eme:_[639]};return this[_[617]](e)[_[102]](function(e){return n[_[643]]=e,null===t[_[485]]?(t[_[120]][_[119]][_[118]](_[644]),Promise[_[143]](_[640])):(t[_[362]][_[628]]=e,t[_[608]][_[290]]&&e&&e[_[647]](t[_[608]][_[290]])[_[102]](function(e){e||t[_[120]][_[135]][_[216]](c[_[213]][_[212]],new s[_[215]](u[_[205]][_[646]]))})[_[100]](function(e){n[_[641]]=e[_[304]],t[_[120]][_[135]][_[134]](new o[_[133]](a[_[131]][_[291]],n,_[645]))}),t[_[636]](e))})[_[100]](function(e){return _[640]!==e&&(n[_[641]]=e,t[_[120]][_[135]][_[134]](new o[_[133]](a[_[131]][_[409]],n,_[642]))),Promise[_[143]](e)})},e[_[21]][_[516]]=function(e,t){return this[_[285]]=!1,e&&this[_[168]]?(this[_[600]][_[380]](t)||this[_[600]][_[73]](t),t[_[344]](this[_[168]][_[339]](e))):Promise[_[143]]()},e[_[21]][_[578]]=function(e){var t=this;this[_[120]][_[119]][_[118]](_[648]+String[_[64]][_[97]](null,new Uint8Array(e[_[161]])));var n=(0,T[_[465]])(e[_[161]]);n&&n[_[18]]&&this[_[491]]&&n[_[42]](function(e){return t[_[491]](e)})},e[_[21]][_[649]]=function(e){var t=e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e[_[29]]);return(0,l[_[81]])(this[_[485]])===l[_[202]][_[201]]&&(0,p[_[261]])()&&$[_[28]][_[27]](t),m[_[72]][_[94]](t)},e[_[21]][_[594]]=function(e,t){var n=_[46],i=_[46];return _[89]==typeof e?(n=this[_[649]](t),i=String(e)):_[89]==typeof t?(n=this[_[649]](e),i=String(t)):this[_[120]][_[119]][_[118]](_[650],typeof e,typeof t),[n,i]},e[_[21]][_[149]]=function(){var e=this,t=[];this[_[571]][_[42]](function(e,n){return t[_[73]](n)}),this[_[362]][_[421]](g[_[368]][_[651]],this[_[579]]),this[_[362]][_[421]](g[_[368]][_[652]],this[_[577]]);var n=t[_[36]](function(t){var n=e[_[570]](t);return e[_[600]][_[380]](t)?n:Promise[_[147]]()});return this[_[168]]=null,this[_[571]]=new Map,this[_[600]]=[],this[_[485]]=null,this[_[490]]=null,this[_[362]][_[628]]=null,this[_[532]]=null,Promise[_[106]](n)[_[102]](function(){return e[_[636]](null)[_[100]](function(t){e[_[120]][_[119]][_[118]](_[653],t)})})[_[100]](function(t){e[_[120]][_[119]][_[118]](_[563],t)})},e[_[21]][_[570]]=function(e){var t=this;return Promise[_[656]]([e[_[655]],e[_[562]]()])[_[100]](function(e){t[_[120]][_[119]][_[118]](_[654],e)})},e[_[21]][_[174]]=function(e,t,n,i){this[_[168]]=e,this[_[485]]=t,this[_[608]]=n[(0,l[_[81]])(t)],this[_[362]][_[369]](g[_[368]][_[652]],this[_[577]]),this[_[362]][_[369]](g[_[368]][_[651]],this[_[579]]),this[_[532]]=this[_[475]](i)},e[_[21]][_[657]]=function(e){var t=!1;return this[_[571]][_[42]](function(n){return t=t||n[_[161]]===e}),t},e[_[21]][_[197]]=function(){this[_[362]][_[135]][_[536]](g[_[368]][_[652]],this[_[577]])||this[_[362]][_[369]](g[_[368]][_[652]],this[_[577]]),this[_[362]][_[135]][_[536]](g[_[368]][_[651]],this[_[579]])||this[_[362]][_[369]](g[_[368]][_[651]],this[_[579]])},e[_[21]][_[658]]=function(e,t,n,i){return e?this[_[657]](e)?(i[_[143]]({message:_[659]}),i[_[103]]):n&&this[_[619]]()?this[_[629]](e,t,n,i):this[_[524]](e,t,i):(i[_[143]]({message:_[660]}),i[_[103]])},e[_[21]][_[661]]=function(){return new b[_[140]]},e[_[21]][_[184]]=function(e,t,n){var r=this;this[_[285]]=!0,this[_[120]][_[119]][_[118]](_[556][_[22]](t,_[662]));var a=this[_[661]]();return this[_[532]][_[102]](function(){return null===r[_[362]][_[628]]?Promise[_[143]](_[664]):r[_[658]](e,t,n,a)})[_[102]](function(e){r[_[285]]=!1;var n=e[_[530]],i=void 0===n?{}:n;return{initDataStr:t,license:e[_[295]],sessionInfo:{sessionId:i[_[178]],expiration:i[_[624]]}}})[_[100]](function(e){return r[_[285]]=!1,r[_[120]][_[119]][_[559]](_[663],e),Promise[_[143]](i(i({},e),{initDataStr:t}))})},e[_[21]][_[181]]=function(e){var t,n;return null!==(n=null===(t=this[_[168]])||void 0===t?void 0:t[_[181]](e))&&void 0!==n?n:[]},e[_[21]][_[164]]=function(e){return this[_[168]]?this[_[168]][_[164]](e):e},e[_[21]][_[109]]=function(){return this[_[285]]},e[_[21]][_[148]]=function(e){this[_[490]]=e},e[_[21]][_[171]]=function(e){this[_[491]]=e},e[_[21]][_[199]]=function(){return Promise[_[147]]()},e[_[21]][_[206]]=function(e){var t=this,n=[];return this[_[571]][_[42]](function(i,r){i[_[123]]===e&&(n[_[73]](t[_[570]](r)[_[102]](function(){t[_[120]][_[119]][_[118]](_[665]+r[_[178]])})),t[_[600]]=t[_[600]][_[79]](function(e){return e[_[178]]!==r[_[178]]}),t[_[571]][_[598]](r))}),n[_[18]]<1?Promise[_[143]](_[666]+e):Promise[_[106]](n)},e}();t[_[188]]=E,t[_[566]]=function(e){var t=[{initDataTypes:[_[87]],audioCapabilities:[{contentType:_[667]}],videoCapabilities:[{contentType:_[668]}]},{initDataTypes:[_[87]],videoCapabilities:void 0,audioCapabilities:void 0}];return window[_[623]][_[622]]?window[_[623]][_[622]](e,t):Promise[_[143]](_[669])}},80041:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[670]]=t[_[464]]=void 0;var i,r,a=n(36166),o=n(85739),s=n(81028),u=n(89543),c=n(31338);!function(e){e[e[_[671]]=6]=_[671]}(i||(i={})),function(e){e[e[_[672]]=1212433232]=_[672]}(r||(r={}));var l=function(){function e(e){var t=this;this[_[489]]=function(e){if(t[_[120]][_[119]][_[118]](_[673]),t[_[490]]&&t[_[490]](),e){var n=(0,c[_[465]])(e[_[161]]);n&&n[_[18]]&&t[_[491]]&&t[_[674]](e[_[161]],n)}},this[_[120]]=e,this[_[152]]=e[_[153]][_[152]],this[_[362]]=e[_[139]],this[_[675]]=[],this[_[676]]=[]}return e[_[21]][_[674]]=function(e,t){var n=this;t[_[42]](function(e){return n[_[491]](e)})},e[_[21]][_[677]]=function(e,t,n){this[_[675]][_[380]](n)&&this[_[675]][_[678]](this[_[675]][_[392]](n)),this[_[120]][_[119]][_[118]](_[679]+this[_[485]]+_[680]+e+_[681]+t+_[682]+n),this[_[362]][_[683]](this[_[485]],e,t,n)},e[_[21]][_[516]]=function(e,t,n){this[_[285]]=!1,null!==e?this[_[677]](this[_[168]][_[339]](e),t,n):this[_[120]][_[119]][_[118]](_[684])},e[_[21]][_[500]]=function(e,t){null!==e&&e[_[501]][_[143]]();var n=t[_[311]]||{},s=n[_[351]]||n[_[685]]||{},u=s[_[352]],c=s[_[353]];this[_[120]][_[119]][_[118]](_[686],{error:s,code:u,systemCode:c}),u===i[_[671]]&&c===r[_[672]]?this[_[120]][_[135]][_[134]](new o[_[133]](a[_[131]][_[357]],void 0,void 0,this[_[152]])):this[_[120]][_[135]][_[134]](new o[_[133]](a[_[131]][_[359]],{code:u,\nsystemCode:c}))},e[_[21]][_[518]]=function(e,t){this[_[120]][_[119]][_[118]](_[687][_[22]](e[_[191]])),Boolean(e)&&Boolean(e[_[443]])&&e[_[501]][_[147]](e[_[443]]),Boolean(e)&&Boolean(e[_[500]])&&this[_[362]][_[421]](u[_[368]][_[406]],e[_[500]])},e[_[21]][_[507]]=function(e,t){var n=this,i=t[_[178]];t[_[191]]=e[_[191]],this[_[675]][_[380]](i)?this[_[120]][_[119]][_[118]](_[689][_[22]](i,_[688])):(this[_[675]][_[73]](i),this[_[285]]=!0,this[_[168]][_[517]](t)[_[102]](function(t){n[_[516]](t[_[295]],t[_[191]]||e[_[161]],i),e[_[443]]=t})[_[100]](function(t){return e[_[501]][_[143]](t)}))},e[_[21]][_[524]]=function(e,t){var n=this,i={kid:t,initData:e,deferred:new s[_[140]]};return this[_[676]][_[73]](i[_[501]]),i[_[500]]=this[_[500]][_[529]](this,i),i[_[518]]=this[_[518]][_[529]](this,i),i[_[507]]=this[_[507]][_[529]](this,i),this[_[362]][_[369]](u[_[368]][_[406]],i[_[500]]),this[_[362]][_[369]](u[_[368]][_[405]],i[_[518]]),this[_[362]][_[369]](u[_[368]][_[404]],i[_[507]]),this[_[362]][_[690]](this[_[485]],new Uint8Array(e)),i[_[501]][_[103]][_[251]](function(){n[_[362]][_[421]](u[_[368]][_[406]],i[_[500]]),n[_[362]][_[421]](u[_[368]][_[405]],i[_[518]]),n[_[362]][_[421]](u[_[368]][_[404]],i[_[507]]),n[_[691]](i[_[501]])}),i[_[501]][_[103]]},e[_[21]][_[691]]=function(e){var t=this[_[676]][_[692]](function(t){return t===e});this[_[676]][_[678]](t,1)},e[_[21]][_[149]]=function(){return this[_[502]]&&this[_[362]][_[421]](u[_[368]][_[406]],this[_[502]]),this[_[676]][_[42]](function(e){e[_[143]](_[693])}),this[_[676]]=[],this[_[362]][_[421]](u[_[368]][_[367]],this[_[489]]),this[_[485]]=null,this[_[168]]=null,this[_[490]]=null,Promise[_[147]]()},e[_[21]][_[174]]=function(e,t){this[_[168]]=e,this[_[485]]=t,this[_[502]]&&this[_[362]][_[421]](u[_[368]][_[406]],this[_[502]]),this[_[502]]=this[_[500]][_[529]](this,null),this[_[362]][_[369]](u[_[368]][_[367]],this[_[489]]),this[_[362]][_[369]](u[_[368]][_[406]],this[_[502]])},e[_[21]][_[197]]=function(){},e[_[21]][_[184]]=function(e,t){var n=this;return this[_[285]]=!0,this[_[120]][_[119]][_[118]](_[556]+t+_[557]),this[_[524]](e)[_[102]](function(e){return n[_[285]]=!1,{initDataStr:t,license:e[_[295]]}})[_[100]](function(e){return n[_[285]]=!1,Promise[_[143]]({initDataStr:t,statusCode:e[_[302]]})})},e[_[21]][_[181]]=function(e){var t,n;return null!==(n=null===(t=this[_[168]])||void 0===t?void 0:t[_[181]](e))&&void 0!==n?n:[]},e[_[21]][_[164]]=function(e){return this[_[168]]?this[_[168]][_[164]](e):e},e[_[21]][_[109]]=function(){return this[_[285]]},e[_[21]][_[148]]=function(e){this[_[490]]=e},e[_[21]][_[171]]=function(e){this[_[491]]=e},e[_[21]][_[199]]=function(){return Promise[_[147]]()},e}();t[_[464]]=l,t[_[670]]=function(e,t){return _[111]==typeof e[_[694]]()[_[690]]&&_[111]==typeof e[_[695]]&&e[_[695]](_[402],t)?Promise[_[147]]({keySystem:t}):Promise[_[143]](_[565])}},82350:function(e,t,n){function i(e){var t=_[89]==typeof e?(new DOMParser)[_[554]](e,_[553]):e;if(!t)return null;var n=t[_[540]](_[388]);return n[_[18]]>0?n[_[699]](0)[_[698]]:null}var r=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n.*<\\/HttpHeaders>/);if(h&&1===h[_[18]]){var p=h[0][_[724]](/([^<]+?)<\\/name>/g),b=h[0][_[724]](/([^<]+?)<\\/value>/g);if(null===p||null===b||p[_[18]]!==b[_[18]])return this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[725]],{headerNameListEmpty:null===p,headerValueListEmpty:null===b,headerPairLengthMismatch:(null==p?void 0:p[_[18]])!==(null==b?void 0:b[_[18]])},_[726])),null;for(var m=0;m/g,_[46])]=b[m][_[47]](/<\\/?value>/g,_[46])}return{challenge:n,laURL:this[_[706]][_[388]]||t[_[727]]||t[_[728]]||i(c)||i(n),headers:d}},e[_[21]][_[517]]=function(e){var t=this[_[717]](e);if(!t||!t[_[729]])return Promise[_[143]](_[730]);if(!(_[731]in this[_[706]])||this[_[706]][_[731]]){var n=document[_[733]](_[732]);n[_[734]]=t[_[729]],n[_[735]]=_[736],t[_[729]]=n[_[734]]}return t[_[317]]=c[_[321]][_[320]](t[_[317]],this[_[706]][_[317]]||{}),this[_[708]][_[174]](t[_[729]],l[_[335]][_[334]],l[_[315]][_[387]],t[_[737]],t[_[317]],this[_[706]][_[312]])},e[_[21]][_[339]]=function(e){try{return new Uint8Array(e)}catch(e){return this[_[120]][_[135]][_[134]](new s[_[133]](o[_[131]][_[359]],{reason:_[738]})),null}},e[_[21]][_[523]]=function(){if(this[_[706]]&&this[_[706]][_[739]]){for(var t=[],n=0;n=0&&u>s&&nn[_[58]])&&m[_[45]](_[46])[_[36]](function(e){return e[_[32]](0)})[_[162]](function(e,t){return n[_[747]](t,!0)!==e})},e[_[749]]=function(e,t){return this[_[748]](e,t)?this[_[746]](e,t):this[_[744]](e,t)},e[_[750]]=function(e,t){if(e[_[751]]!==a[_[700]])return null;try{return(new DOMParser)[_[554]](f[_[26]][_[745]](e[_[543]]),_[553])}catch(n){return null!==t&&t[_[119]][_[118]](_[752],n,e),null}},e[_[34]]=function(e,t,n){var i=this;return void 0===n&&(n=null),this[_[749]](e,t)[_[36]](function(e){return i[_[750]](e,n)})[_[79]](function(e){return null!==e})},e[_[21]][_[753]]=function(e){var t=f[_[26]][_[25]](e);return this[_[754]](t[_[29]])},e[_[21]][_[754]]=function(t){for(var n=new DataView(t),i=_[46],r=d[_[50]][_[49]],a=0;a0&&(r+=4+n[_[61]](r)*d[_[50]][_[57]]),r+=4}return e[_[34]](new Uint8Array(t),r,this[_[120]])},e[_[35]]=function(e,t){for(var n=[],i=0;i0)for(var a=0;a0?n[_[73]](o[_[541]][0][_[542]]):o&&o[_[544]](_[543])?n[_[73]](o[_[545]](_[543])):o&&o[_[544]](_[546])?n[_[73]](o[_[545]](_[546])):t&&t[_[119]][_[118]](_[547],o)}}return n},e[_[21]][_[181]]=function(t){return e[_[35]](this[_[754]](t),this[_[120]])[_[36]](function(e){return atob(e)})[_[36]](function(e){return f[_[26]][_[25]](e)})[_[36]](function(t){var n=new Uint8Array(t);return e[_[27]](n),n})[_[36]](function(e){return p[_[72]][_[94]](e)})},e[_[21]][_[164]]=function(t){if(!t[_[380]](_[552]))return t;var n=this[_[753]](t),i=e[_[35]](n,this[_[120]]);return i&&i[_[18]]>0?i[_[756]](_[214]):t},e[_[21]][_[613]]=function(){var e,t=this[_[706]][_[757]],n=null===(e=null==t?void 0:t[_[615]])||void 0===e?void 0:e[_[380]](b[_[3]][_[12]][_[15]]),i={persistentState:b[_[3]][_[4]][_[7]],sessionTypes:[b[_[3]][_[12]][_[13]]]};return(0,h[_[758]])()&&n&&(t[_[615]]=[b[_[3]][_[12]][_[13]]]),_[759]==typeof t?r(r({},i),t):i},e[_[760]]=function(e,t,n){var i=e[n];e[n]=e[t],e[t]=i},e[_[27]]=function(t){e[_[760]](t,0,3),e[_[760]](t,1,2),e[_[760]](t,4,5),e[_[760]](t,6,7)},e[_[21]][_[142]]=function(){this[_[706]]=null,this[_[708]][_[142]](),this[_[708]]=null},e[_[743]]=_[761],e}();t[_[28]]=v},74965:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[762]]=void 0;var i=n(36166),r=n(85739),a=n(83123),o=n(41609),s=function(){function e(e,t){var n=this;this[_[120]]=e,this[_[703]]=function(e){n[_[120]][_[119]][_[118]](_[763],e[_[295]]),n[_[120]][_[135]][_[134]](new r[_[133]](i[_[131]][_[348]],{statusCode:e[_[302]],statusText:e[_[303]],serverResponse:e[_[295]]},_[764][_[22]](e[_[302]],_[306])[_[22]](e[_[303]],_[305]),n[_[152]]))},this[_[152]]=e[_[153]][_[152]],this[_[765]]=t,e[_[119]][_[118]](_[766]),this[_[708]]=new a[_[325]](e,{onFailure:this[_[703]],maxRetries:t[_[316]],retryDelay:t[_[709]],requestType:o[_[324]][_[767]]})}return e[_[21]][_[517]]=function(t){var n,i,r=t[_[304]];switch(this[_[765]][_[317]]&&Object[_[267]](this[_[765]][_[317]])[_[18]]>0&&(n=this[_[765]][_[317]]),t[_[773]]){case e[_[769]]:i=this[_[765]][_[768]]||this[_[765]][_[388]];break;case e[_[770]]:case e[_[771]]:i=this[_[765]][_[388]];break;default:this[_[120]][_[119]][_[118]](_[772]),i=this[_[765]][_[388]]}return this[_[708]][_[174]](i,o[_[335]][_[334]],o[_[315]][_[387]],r,n,this[_[765]][_[312]],_[774])},e[_[21]][_[339]]=function(e){return new Uint8Array(e)},e[_[21]][_[523]]=function(){return null},e[_[21]][_[181]]=function(e){return[]},e[_[21]][_[164]]=function(e){return e},e[_[21]][_[613]]=function(){var e=this[_[765]][_[757]];return _[759]==typeof e?e:{}},e[_[21]][_[142]]=function(){this[_[765]]=null,this[_[708]][_[142]](),this[_[708]]=null},e[_[769]]=_[775],e[_[770]]=_[776],e[_[771]]=_[777],e}();t[_[762]]=s},90491:function(e,t,n){var i=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n0?this[_[781]][_[317]]:void 0},e[_[21]][_[787]]=function(e){var t=(0,l[_[788]])(e);void 0!==t&&this[_[782]][_[414]](t[_[789]],t[_[790]])},e[_[21]][_[517]]=function(e){if(!this[_[781]][_[388]])return Promise[_[143]](_[730]);var t=this[_[785]](e),n=this[_[786]]();return this[_[787]](t),this[_[708]][_[174]](this[_[781]][_[388]],s[_[335]][_[334]],s[_[315]][_[387]],t,n,this[_[781]][_[312]],_[774])},e[_[21]][_[791]]=function(e){var t;if(_[111]==typeof this[_[781]][_[339]]){var n=this[_[781]][_[339]]({license:e});return null!==(t=null==n?void 0:n[_[443]])&&void 0!==t?t:void 0}},e[_[21]][_[792]]=function(e){var t=new Uint8Array(e),n=this[_[791]](t);return null!=n?n:t},e[_[21]][_[793]]=function(e){this[_[120]][_[119]][_[118]](_[794][_[22]](e)),this[_[120]][_[258]][_[146]]((0,u[_[597]])(e))},e[_[21]][_[795]]=function(e){var t,n=this,i=(0,l[_[796]])(e);void 0!==i&&(null!==(t=this[_[782]][_[154]](i[_[789]]))&&void 0!==t?t:[])[_[79]](function(e){return!i[_[797]][_[380]](e)})[_[42]](function(e){return n[_[793]](e)})},e[_[21]][_[339]]=function(e){return this[_[795]](e),this[_[792]](e)},e[_[21]][_[523]]=function(){return null},e[_[21]][_[181]]=function(e){return[]},e[_[21]][_[164]]=function(e){return e},e[_[21]][_[613]]=function(){var e,t=this[_[781]][_[757]],n=null===(e=null==t?void 0:t[_[615]])||void 0===e?void 0:e[_[380]](c[_[3]][_[12]][_[15]]),r={persistentState:c[_[3]][_[4]][_[7]],sessionTypes:n?[c[_[3]][_[12]][_[15]]]:[c[_[3]][_[12]][_[13]]]};return _[759]==typeof t?i(i({},r),t):r},e[_[21]][_[142]]=function(){this[_[781]]=null,this[_[708]][_[142]](),this[_[708]]=null,this[_[782]][_[798]]()},e}();t[_[778]]=d},83667:function(e,t,n){function i(e){try{var t=e[_[154]](u);return JSON[_[816]](t)||{}}catch(e){return{}}}var r=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n0&&(0,c[_[224]])()&&(0,c[_[855]])()[_[854]]>=c[_[856]]}var a=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n0){var d=n[_[61]](i);i+=a[_[50]][_[56]],t[_[191]]=[];for(var f=0;f0,i=Promise[_[147]](null);return e[_[42]](function(e,r){i=i[_[102]](function(){return e})[_[102]](function(e){t[r]=e,n=!1})[_[100]](function(){t[r]=void 0})}),i[_[102]](function(){return n?Promise[_[143]](t):t})}},80929:function(e,t){function n(e){var t,n=[];do{if(void 0===(t=e[_[925]]()))break;n[_[73]](t&c)}while(t&l);return n[_[819]](function(e,t,n){return e+(t<>h}}function a(e){return Array[_[867]](e)&&e[_[927]](function(e){return _[869]==typeof e})}function o(e,t){switch(e[_[928]]){case u[_[916]]:return s(s({},e),{value:n(t)});case u[_[917]]:return s(s({},e),{value:i(t,p)});case u[_[918]]:var r=n(t);if(!r)return;return s(s({},e),{value:i(t,r)});case u[_[921]]:return s(s({},e),{value:i(t,b)});case u[_[919]]:case u[_[920]]:default:return}}var s=this&&this[_[95]]||function(){function e(e){for(var t,n=1,i=arguments[_[18]];n0;i&&n.forEach(function(n){e.requestSegmentsForMimeType(n,t.getTimeForNextSegment(n))}),e.areAllLoadersReady()&&(i?a(e):function(e){e.isLoadingLastPeriod()?(e.areMediaTypesFinalForPlayingPeriod()?e.maybeStop():e.isAVCompletelyLoaded()&&e.signalEndOfStream(),a(e)):e.switchLoadingPeriod()}(e))}(e,t)}(this.mediaPlayerController,this.streamTimeService)},Object.defineProperty(e.prototype,"started",{get:function(){return-1!==this.heartbeatTimeoutId},enumerable:!1,configurable:!0}),e.prototype.start=function(){this.beat()},e.prototype.stop=function(){clearTimeout(this.heartbeatTimeoutId),this.heartbeatTimeoutId=-1},e.prototype.dispose=function(){this.stop()},e}();function a(e){e.shouldClearSubtitleServiceBuffers()&&e.clearSubtitleServiceBuffers()}t.HeartbeatService=r},49835:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n.05&&(t.logger.debug("Seeking now allowed, seeking back to expected time"),t.context.videoElement.currentTime=t.lastCurrentTimeUpdate)},this.onVideoTimeupdate=function(e){if(!t.ended){var n=0===t.renderer.getCurrentTime(!0),i=t.isPlaying(),r=t.playerStateService.isSeeking(),a=t.isStalled();!i||r||a||n?t.logger.debug("Skipping timeupdate",{isPlaying:i,isSeeking:r,isStalled:a,timeUpdateWithoutBuffer:n,time:e.time}):t.handleTimeChanged(t.getCurrentTime())}},this.onContentPlaybackFinished=function(){t.ended=!0},this.onDvrWindowExceeded=function(){t.playerStateService.isPlaying()?t.handleDvrWindowExceeded():t.isDvrWindowExceeded=!0},this.onError=function(e){3001===e.code&&t.unload()},this.fireAudioTracksAdded=function(){for(var e=t.getCurrentTime(),n=0,i=t.getAvailableAudio();n=0)&&(this.goToLiveEdge(),this.isDvrWindowExceeded=!1),this.playerController.start(),this.playerStateService.transitionToPendingPlayState(!1,e),this.renderer.play()):Promise.resolve():Promise.reject("Play control not permitted")},e.prototype.goToLiveEdge=function(){var e=this;this.settings.ENABLE_SEEK_FOR_LIVE?this.playerStateService.isSeeking()||this.playerController.seek(this.getSeekableRange().end,!0,!0):this.playerController.timeShift(0,function(){return e.onTimeShifted()}).catch(function(){return e.onTimeShiftFailed()})},e.prototype.canResumeLatencyControl=function(){return Boolean(this.liveLatencyService)&&!this.isPaused()&&0===this.getTimeShift()&&1===this.getPlaybackSpeed()&&!this.playerStateService.isTimeShifting()&&!this.playerStateService.isSeeking()},e.prototype.resumeLatencyControl=function(){this.liveLatencyService.resumeControl()},e.prototype.suspendLatencyControl=function(e){void 0===e&&(e=!0);var t=this.liveLatencyMode===u.LatencyMode.Suspended;this.liveLatencyService&&!t&&(this.liveLatencyService.suspendControl(),e&&this.setPlaybackSpeed(1,1,!1))},e.prototype.getCommonBufferLevel=function(){var e=[this.getBufferLevel(d.BufferType.ForwardDuration,d.MediaType.Audio),this.getBufferLevel(d.BufferType.ForwardDuration,d.MediaType.Video)].map(function(e){return e.level}).filter(function(e){return null!==e});return 0===e.length?0:Math.min.apply(Math,e)},e.prototype.endStall=function(){this.clearStallEndedSubscription(),this.playerStateService.stallExit(),this.playerStateService.transitionToPlayingState(this.lastPlayIssuer),this.ended=!1},e.prototype.preload=function(){this.loadState!==r.Unloaded&&this.playerController&&this.playerController.start()},e.prototype.pause=function(e){this.controlPermitted&&(this.logger.insane("Pause was called via the API"),this.playerStateService.isInitial()||(this.lastPauseIssuer=e,this.isLive()&&this.liveLatencyService&&this.liveLatencyService.isConfigured()&&(this.suspendLatencyControl(),this.controlLiveLatency()),this.playerStateService.isPaused()||this.playerStateService.isStopped()||this.renderer.pause(),this.playerStateService.transitionToPausedState(this.renderer.isPaused(),e)))},e.prototype.mute=function(e){this.isMuted()||(this.renderer.mute(),this.context.eventHandler.dispatchEvent(u.PlayerEvent.Muted,{issuer:e||"api"}))},e.prototype.unmute=function(e){this.isMuted()&&(this.renderer.unmute(),this.context.eventHandler.dispatchEvent(u.PlayerEvent.Unmuted,{issuer:e||"api"}))},e.prototype.seek=function(e,t){var n,i,r;void 0===t&&(t="");var a=this.config&&this.config.hasOwnProperty("playback")?this.config.playback:{},o=!a.hasOwnProperty("seeking")||a.seeking,s=this.context.store.getState(),_=!!s&&null!==(r=null===(i=null===(n=(0,m.getPlayerState)(s))||void 0===n?void 0:n.seekingProcess)||void 0===i?void 0:i.isInitial)&&void 0!==r&&r;return!(!(_||!this.settings.GLOBAL_DISABLE_SEEKING&&o)||!this.controlPermitted||(this.ended=!1,this.cancelPotentialOngoingTimeShift(),this.playerStateService.transitionToSeekingState(e,t,t!==l.STARTUP_ISSUER_NAME),this.context.store.dispatch((0,b.updateSeekingProcess)({issuer:t,targetTime:e,isInitial:_})),0))},e.prototype.cancelPotentialOngoingTimeShift=function(){this.playerStateService.isTimeShifting()&&(this.playerController.getTimeShiftHandler().cancel(),this.playerStateService.transitionToTimeShiftedState(!1))},e.prototype.handleTimeChanged=function(e){e!==this.lastCurrentTimeUpdate&&(this.context.eventHandler.dispatchEvent(u.PlayerEvent.TimeChanged,{time:e}),this.lastCurrentTimeUpdate=e,this.isLive()&&this.liveLatencyService&&this.liveLatencyService.isConfigured()&&this.controlLiveLatency())},e.prototype.setVolume=function(e,t){var n=this.renderer.getVolume();this.renderer.setVolume(e),n!==e&&this.context.eventHandler.dispatchEvent(u.PlayerEvent.VolumeChanged,{targetVolume:e,sourceVolume:n,issuer:t||"api"})},e.prototype.setAudioQuality=function(e){var t,n=this.getAvailableAudioQualities(),i=this.getAudioQuality();(t="auto"===e?N:n.find(function(t){return t.id===e}))&&i.id!==t.id&&(this.setFixedRepresentation(d.MediaType.Audio,e),this.context.eventHandler.dispatchEvent(u.PlayerEvent.AudioQualityChanged,{sourceQuality:i,sourceQualityId:i.id,targetQuality:t,targetQualityId:t.id}))},e.prototype.getAudioQuality=function(){var e=this.getInitializedMimeTypeFromMediaType(d.MediaType.Audio),t=this.context.serviceManager.get(s.ServiceName.AdaptationService),n=t.isAuto(e),i=t.getCurrentRepresentationId(e);return n||null===i?N:this.getAvailableAudioQualities().find(function(e){return e.id===i.representationId})},e.prototype.setFixedRepresentation=function(e,t){var n=this.getInitializedMimeTypeFromMediaType(e);this.context.serviceManager.get(s.ServiceName.AdaptationService).setFixedRepresentation(n,t)},e.prototype.setVideoQuality=function(e){var t,n=this.getAvailableVideoQualities(),i=this.getVideoQuality();(t="auto"===e?L:n.find(function(t){return t.id===e}))&&i.id!==t.id&&(this.context.eventHandler.dispatchEvent(u.PlayerEvent.VideoQualityChanged,{sourceQuality:i,sourceQualityId:i.id,targetQuality:t,targetQualityId:t.id}),this.setFixedRepresentation(d.MediaType.Video,e))},e.prototype.getVideoQuality=function(){var e=this.getInitializedMimeTypeFromMediaType(d.MediaType.Video),t=this.context.serviceManager.get(s.ServiceName.AdaptationService),n=t.isAuto(e),i=t.getCurrentRepresentationId(e);return n||null===i?L:this.getAvailableVideoQualities().find(function(e){return e.id===i.representationId})},e.prototype.processSourceContext=function(){var e=this.context.sourceContext;e.source&&e.source.options&&e.source.options.headers&&(this.settings.HTTP_HEADERS=e.source.options.headers)},e.prototype.addReducersToSourceStore=function(e){var t=this.getSourceStoreService();if(void 0!==t){if(e.type===d.StreamType.Hls&&T.ModuleManager.has(E.ModuleName.HLS)&&!t.hasReducer("hls")){var n=T.ModuleManager.get(E.ModuleName.HLS);t.addReducer("hls",n.HlsReducer)}Object.keys(D.engineBitmovinSourceReducers).forEach(function(e){var n=D.engineBitmovinSourceReducers[e];void 0!==n&&t.addReducer(e,n)})}},e.prototype.addRendererEventListeners=function(){this.renderer.on(S.MediaElementEvent.error,this.videoErrorHandler),this.renderer.on(S.MediaElementEvent.timeupdate,this.onVideoTimeupdate),this.renderer.on(S.MediaElementEvent.seeking,this.onVideoElementSeeking),this.renderer.on(S.MediaElementEvent.playing,this.onPlaybackStarted),this.renderer.on(S.MediaElementEvent.play,this.onVideoElementPlay),this.renderer.on(S.MediaElementEvent.pause,this.onVideoElementPaused)},e.prototype.logBitrateBoundarySettings=function(){this.logger.debug("setting bitrate boundaries for audio to "+this.settings.MIN_SELECTABLE_AUDIO_BITRATE+" - "+this.settings.MAX_SELECTABLE_AUDIO_BITRATE),this.logger.debug("setting bitrate boundaries for video to "+this.settings.MIN_SELECTABLE_VIDEO_BITRATE+" - "+this.settings.MAX_SELECTABLE_VIDEO_BITRATE)},e.prototype.loadInternal=function(e,t){var n,i=this;return this.loadState===r.Unloaded?Promise.reject("Unload during load"):(this.createServices(e,this.context),this.context.sourceContext.source=e.config,(null===(n=this.context.videoElement)||void 0===n?void 0:n.eventHandler)&&this.context.videoElement.eventHandler.reset(),this.currentSource=e,this.ended=!1,this.isDvrWindowExceeded=!1,this.context.store.dispatch((0,b.updateSeekingProcess)({isInitial:!0})),this.logBitrateBoundarySettings(),this.liveLatencyService&&(this.liveLatencyMode=u.LatencyMode.Suspended,this.liveLatencyService.reset()),this.addRendererEventListeners(),this.settings.GLOBAL_DISABLE_SEEKING=t||!1,this.loadState=r.Loading,this.playerController.init(e).then(function(){i.loadState=r.Loaded}))},e.prototype.prepareLoad=function(){var e=this.context.serviceManager.get(s.ServiceName.PlayerStateService);e&&(this.playerStateService=e);var t=Promise.resolve();return this.loadState===r.Loading&&(t=this.unload()),this.playerStateService.reset(),this.loadState=r.Preparing,t},e.prototype.load=function(e,t,n){var i=this;return"dash"!==e.type&&"hls"!==e.type&&"smooth"!==e.type?Promise.reject("invalid source"):(this.addReducersToSourceStore(e),this.processSourceContext(),this.unsubscribeFromStoreStoppedListener=(0,g.subscribe)(this.context.store)(function(e){return(0,m.getIsStopped)((0,m.getPlayerState)(e))},this.onContentPlaybackFinished,function(e){return!0===e}),this.eventHandler.on(u.PlayerEvent.DVRWindowExceeded,this.onDvrWindowExceeded,!0),this.eventHandler.on(u.PlayerEvent.Error,this.onError,!0),this.renderer.ready().then(function(){return i.loadInternal(e,n)}))},e.prototype.getSourceStoreService=function(){return this.context.serviceManager.get(s.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.unload=function(e){var t=this;if(this.clearStallEndedSubscription(),this.loadState===r.Unloaded)return Promise.resolve();var n=this.loadState===r.Loaded;this.ended=!1,this.loadState=r.Unloaded,this.ignoreNextVideoError=!0,this.relativeCurrentTimeOffset=null,this.renderer.off(S.MediaElementEvent.error,this.videoErrorHandler),this.renderer.off(S.MediaElementEvent.timeupdate,this.onVideoTimeupdate),this.renderer.off(S.MediaElementEvent.seeking,this.onVideoElementSeeking),this.renderer.off(S.MediaElementEvent.playing,this.onPlaybackStarted),this.renderer.off(S.MediaElementEvent.play,this.onVideoElementPlay),this.renderer.off(S.MediaElementEvent.pause,this.onVideoElementPaused),this.unsubscribeFromStoreStoppedListener(),this.eventHandler.off(u.PlayerEvent.DVRWindowExceeded,this.onDvrWindowExceeded),this.eventHandler.off(u.PlayerEvent.Error,this.onError),this.playerStateService.isPlaying()&&this.renderer.pause(),this.playerStateService.reset();var i=this.context.sourceContext.sourceIdentifier;return this.context.serviceManager.has(s.ServiceName.SynchronizedTimeService,i)&&!F(e)&&this.context.serviceManager.get(s.ServiceName.SynchronizedTimeService,i).reset(),(this.playerController?this.playerController.terminate():Promise.resolve()).then(function(){t.currentSource=void 0,t.disposeServices(e),F(e)||t.getSourceStoreService().dispatch((0,O.clearActiveTracksAction)()),n&&t.eventHandler.dispatchEvent(u.PlayerEvent.SourceUnloaded)})},e.prototype.isReady=function(){return this.playerController.isInitialized()},e.prototype.isPlaying=function(){return this.playerStateService.isPlaying()},e.prototype.isPaused=function(){return this.playerStateService.isPaused()},e.prototype.hasEnded=function(){return this.ended},e.prototype.isMuted=function(){return this.renderer.isMuted()},e.prototype.isStalled=function(){return this.playerStateService.isStalled},e.prototype.isLive=function(){return this.manifestService.isLive()},e.prototype.getVolume=function(){return this.renderer.getVolume()},e.prototype.getCurrentTime=function(e){return void 0===e&&(e=d.TimeMode.AbsoluteTime),!this.isLive()&&this.hasEnded()?this.getDuration():e===d.TimeMode.RelativeTime?Math.max(0,this.playerController.getCurrentTime()-this.relativeCurrentTimeOffset):this.playerController.getCurrentTime()},e.prototype.getDuration=function(){return this.manifestService.getDuration()},e.prototype.getAvailableVideoQualities=function(){return this.isReady()?this.manifestService.getVideoRepresentations(this.getCurrentPlayingPeriodId()):[]},e.prototype.getAvailableSegments=function(){return this.isReady()?this.playerController.getAvailableSegments():{}},e.prototype.getAvailableAudioQualities=function(){var e=this.getAudio();if(!this.isReady()||!e)return[];var t=this.manifestService.getAudioRepresentations(this.getCurrentPlayingPeriodId());return t[e.id]?t[e.id]:[]},e.prototype.getDroppedVideoFrames=function(){return this.renderer.getDroppedVideoFrames()},e.prototype.setTargetBufferLevel=function(e,t,n){this.context.bufferSettings.setTargetLevel(e,t,n)},e.prototype.getBufferLevel=function(e,t){var n={level:null,targetLevel:this.context.bufferSettings.getTargetLevel(e,t),type:e,media:t},i=this.renderer.getCurrentTime(),r=(0,h.getMetricsState)(this.context.store.getState()),a=Object.keys(r).find(function(e){return $.MimeTypeHelper.isVideo(e)}),o=Object.keys(r).find(function(e){return $.MimeTypeHelper.isAudio(e)});return t===d.MediaType.Video&&a?n.level=this.playerController.getBufferLevel(a,i,e):t===d.MediaType.Audio&&o&&(n.level=this.playerController.getBufferLevel(o,i,e)),n},e.prototype.getTotalStalledTime=function(){var e=(0,h.getMetricsState)(this.context.store.getState());for(var t in e)if(e[t]){var n=(0,h.getMetricsLastEntry)(e,t,p.MetricType.StalledSeconds);if(n&&n.value&&!isNaN(n.value))return Math.round(100*n.value)/100}return 0},e.prototype.getInitializedMimeTypeFromMediaType=function(e){var t=(0,h.getMetricsState)(this.context.store.getState());return Object.keys(t).find(function(t){return t.includes(e)})},e.prototype.getDownloadedData=function(e){var t=this.getInitializedMimeTypeFromMediaType(e),n=i({},this.getCurrentAdaptationSet(t)),r=i({},this.getCurrentRepresentation(t));return r.id&&(r.id=""+r.id),void 0===r.width&&void 0!==n.width&&(r.width=n.width),r.width=parseInt(""+r.width),void 0===r.height&&void 0!==n.height&&(r.height=n.height),r.height=parseInt(""+r.height),void 0===r.bitrate&&void 0!==n.bitrate&&(r.bitrate=n.bitrate),r.bitrate=parseInt(""+r.bitrate),r.isAuto=this.context.serviceManager.get(s.ServiceName.AdaptationService).isAuto(t),r},e.prototype.getCurrentRepresentation=function(e){if(this.playerController.hasStarted()){var t=(0,h.getMetricsState)(this.context.store.getState());if(t[e])return(0,h.getMetricsLastEntry)(t,e,p.MetricType.DownloadedRepresentation).value}return{}},e.prototype.getCurrentAdaptationSet=function(e){if(this.playerController.hasStarted()){var t=(0,h.getMetricsState)(this.context.store.getState());if(t[e])return(0,h.getMetricsLastEntry)(t,e,p.MetricType.DownloadedAdaptationSet).value}return{}},e.prototype.getDownloadedVideoData=function(){var e=this.getDownloadedData(d.MediaType.Video),t=!0;return e.hasOwnProperty("isAuto")&&(t=e.isAuto),e&&(e.bitrate||e.id)?{id:e.id,bitrate:e.bitrate,height:e.height,width:e.width,isAuto:t}:{id:"",bitrate:0,height:0,width:0,isAuto:!0}},e.prototype.getDownloadedAudioData=function(){var e=this.getDownloadedData(d.MediaType.Audio),t=!0;return e.hasOwnProperty("isAuto")&&(t=e.isAuto),e&&(e.bitrate||e.id)?{id:e.id,bitrate:e.bitrate,isAuto:t}:{id:"",bitrate:0,isAuto:!0}},e.prototype.getPlaybackVideoData=function(){var e=this.playerController.getPlaybackRepresentation(d.MediaType.Video)||{},t=isNaN(e._height)?0:Number(e._height),n=isNaN(e._width)?0:Number(e._width),i={id:e._id+"",bitrate:Number(e._bandwidth)||0,height:t,width:n,uid:e.uid};return e._codecs&&(i.codec=v.CodecStringHelper.extractCodecStrings(e._codecs).video),i},e.prototype.getPlaybackAudioData=function(){var e=this.playerController.getPlaybackRepresentation(d.MediaType.Audio)||{},t={id:e._id+"",bitrate:Number(e._bandwidth)};return e._codecs&&(t.codec=v.CodecStringHelper.extractCodecStrings(e._codecs).audio),t},e.prototype.setQueryParameters=function(e){this.settings.QUERY_PARAMETERS=e},e.prototype.clearQueryParameters=function(){this.settings.QUERY_PARAMETERS=void 0},e.prototype.restoreAfterTimeShift=function(e){this.playerStateService&&(this.playerStateService.isTimeShifting()&&(this.playerStateService.transitionToTimeShiftedState(e),this.timeShiftEstimatedLiveEdge=-1,this.timeShiftJumpStart=-1),this.isLive()&&(this.canResumeLatencyControl()?this.resumeLatencyControl():this.suspendLatencyControl()))},e.prototype.onTimeShiftFailed=function(){this.restoreAfterTimeShift(!1)},e.prototype.onTimeShifted=function(e){this.restoreAfterTimeShift(e!==l.STARTUP_ISSUER_NAME)},e.prototype.getMaxTimeShift=function(){if(this.isLive()&&this.isReady())return this.config.playback&&!1===this.config.playback.timeShift?0:this.playerController.getMaxTimeShift()},e.prototype.timeShift=function(e,t){var n=this;this.isReady()&&this.getMaxTimeShift()<=0&&(-1===this.timeShiftJumpStart&&(this.timeShiftJumpStart=this.getCurrentTime(),\n0===this.timeShiftJumpStart&&(this.timeShiftJumpStart=this.playerController.getTimeShiftLiveEdge())),this.playerController.timeShift(e,function(){return n.onTimeShifted(t)}).catch(function(){return n.onTimeShiftFailed()}),-1===this.timeShiftEstimatedLiveEdge&&(this.timeShiftEstimatedLiveEdge=this.playerController.getTimeShiftLiveEdge()),this.playerStateService.transitionToTimeShiftingState(this.timeShiftJumpStart,this.timeShiftEstimatedLiveEdge+e,t||"api",t!==l.STARTUP_ISSUER_NAME))},e.prototype.getTimeShift=function(){return this.isReady()?this.playerController.getTimeShift():0},e.prototype.addSubtitle=function(e){var t=this;return this.isReady()&&this.subtitleService?Promise.resolve(void 0).then(function(){t.subtitleService.addExternalSubtitle(e)}):Promise.reject(void 0)},e.prototype.removeSubtitle=function(e){this.isReady()&&this.subtitleService&&this.subtitleService.removeSubtitle(e)},e.prototype.enableSubtitle=function(e){return this.isReady()&&this.subtitleService?this.subtitleService.enableSubtitle(e):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){return this.isReady()&&this.subtitleService?this.subtitleService.disableSubtitle(e):Promise.resolve(!1)},e.prototype.listSubtitles=function(){return this.isReady()&&this.subtitleService&&this.playerController?this.subtitleService.getAvailableSubtitles(this.getCurrentPlayingPeriodId()):[]},e.prototype.setAudio=function(e){var t=this;if(this.isReady()&&this.playerController&&"string"==typeof e){var n=this.getAudio();if(n&&n.id===String(e))return;this.playerController.setAudio(e).then(function(){var e=t.getAudio();e&&n&&e.id!==n.id&&t.context.eventHandler.dispatchEvent(u.PlayerEvent.AudioChanged,{targetAudio:e,sourceAudio:n,time:t.renderer.getCurrentTime()})}).catch(function(e){t.logger.debug("setAudio failed for lang ",e)})}},e.prototype.getAvailableAudio=function(){return this.isReady()&&this.playerController?this.playerController.getAvailableAudio(this.getCurrentPlayingPeriodId()).map(this.mapLangObjectToAudioTrack):[]},e.prototype.getAudio=function(){if(this.isReady()&&this.playerController){var e=this.playerController.getAudio();if(e)return this.mapLangObjectToAudioTrack(e)}return null},e.prototype.getManifest=function(){var e=this.manifestService.getManifest();if(e)return e._isHls?this.getHlsManifest():e.originalDashManifest},e.prototype.getHlsManifest=function(){return T.ModuleManager.get(E.ModuleName.HLS).selectors.getHlsState(this.getSourceStoreService().getState()).masterPlaylist.string},e.prototype.getBufferedRanges=function(){var e=this.playerController.getBufferedRanges(!0);return a.BufferRangeHelper.getCommonBufferedRanges(e).map(function(e){return{start:e.getStart(),end:e.getEnd()}})},e.prototype.getSnapshot=function(e,t){if(this.isPlaying()||this.isPaused())return this.renderer.getSnapshotData(e,t)},e.prototype.setPlaybackSpeed=function(e,t,n){void 0===t&&(t=1),void 0===n&&(n=!0),this.renderer.setPlaybackSpeed(e*t),this.playerStateService.playbackSpeed!==this.renderer.getPlaybackSpeed()&&this.playerStateService.setPlaybackSpeed(e,t,n)},e.prototype.getPlaybackSpeed=function(){return this.playerStateService.playbackSpeed},e.prototype.permitControl=function(e){this.controlPermitted=e},e.prototype.getSeekableRange=function(){return this.isLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE||!this.playerController?{start:-1,end:-1}:this.playerController.getSeekableRange()},e.prototype.createManifestApi=function(){return M.MediaPlayerManifestApiFactory.create(this,this.context)},e.prototype.handleDvrWindowExceeded=function(){var e=this.playerController.getTimeShiftHandler(),t=this.getMaxTimeShift()+e.getMinSegmentDuration(),n=e.calculatePlaybackTimeForTimeShiftOffset(t),i=e.isTimeInBufferedRange(n);this.context.logger.debug("Handling DVRWindowExceeded - TimeShifting to ".concat(i?t:"live edge")),this.timeShift(i?t:0)},e.prototype.getLatency=function(){return this.liveLatencyService.getLatency()},e.prototype.setTargetLatency=function(e){var t=Math.abs(this.manifestService.getTimeShiftBufferDepthSeconds());e>t&&(e=t,this.logger.debug("Tried to set target latency outside DVR window, corrected to lower bound",t)),this.context.eventHandler.dispatchEvent(u.PlayerEvent.TargetLatencyChanged,{from:this.liveLatencyService.getTargetLatency(),to:e}),this.liveLatencyService.setTargetLatency(e)},e.prototype.getTargetLatency=function(){return this.liveLatencyService.getTargetLatency()},e.prototype.setCatchupConfig=function(e){this.liveLatencyService.setCatchupConfig(e)},e.prototype.getCatchupConfig=function(){return this.liveLatencyService.getCatchupConfig()},e.prototype.setFallbackConfig=function(e){this.liveLatencyService.setFallbackConfig(e)},e.prototype.getFallbackConfig=function(){return this.liveLatencyService.getFallbackConfig()},e.prototype.release=function(e){var t=this;return this.eventHandler.off(u.PlayerEvent.PeriodSwitch,this.onPeriodSwitch),this.eventHandler.off(u.PlayerEvent.PeriodSwitched,this.fireAudioTracksAdded),this.eventHandler.off(u.PlayerEvent.PlaybackSpeedChanged,this.onPlaybackSpeedChanged),this.unsubscribeStorePlayingListener(),this.unload(e).then(function(){return t.playerStateService=null,t.playerController=(0,_.dispose)(t.playerController),t.disposeServices(e),t.renderer.release().then(function(){return t.renderer=null})})},e.prototype.clearStallEndedSubscription=function(){this.unsubscribeFromStallEnded&&(this.unsubscribeFromStallEnded(),this.unsubscribeFromStallEnded=void 0)},e.prototype.getCurrentPlayingPeriodId=function(){return(0,U.getPlayingPeriodId)(this.getSourceStoreService().getState())},e.prototype.updateCallback=function(e){},e.prototype.onFullscreenEnter=function(){},e.prototype.onFullscreenExit=function(){},e.prototype.isAirplayAvailable=function(){return!1},e.prototype.isAirplayActive=function(){return!1},e.prototype.showAirplayTargetPicker=function(){},e}();function F(e){return e===l.ADVERTISING_ISSUER_NAME||e===l.ADVERTISING_RESTORE_ISSUER_NAME}function H(e,t){if(!T.ModuleManager.has(E.ModuleName.RendererMse))return!1;for(var n=T.ModuleManager.get(E.ModuleName.RendererMse).Ranges,i=n.findGaps(e.videoElement.buffered),r=!1,a=0;a0}).map(function(e){return e[e.length-1].start}));n.seek(t,!1,!0)},this.mpdAvailableHandler=function(){var e;n.applyManifestTimings(),n.initialized&&n.updatePeriodInformation(),n.handleDroppedOutPeriods(),n.initializeThumbnails(),n.initialized?n.getAllSegmentControllers().forEach(function(e){return e.updateMpd()}):n.finishInit(),null===(e=n.timeshiftHandler)||void 0===e||e.onManifestUpdate(),n.context.serviceManager.get(i.ServiceName.TimedMetadataService).parseEventStream()},this.onPeriodSwitched=function(){(n.hasStreamEnded()||n.isInitialized()&&!n.playerStateService.isPlaying())&&n.start()},this.onSegmentRequestFinished=function(e){if(e){if(e.success||408===e.httpStatus){var t=n.segmentControllerMap[e.mimeType];t&&n.updateAdaptationLogicData(e,t)}e.success||n.heartbeatService.beat()}},this.firePlaybackFinishedEvent=function(){n.getAllSegmentControllers().every(function(e){var t=n.streamTimeService.getTimeForNextSegment(e.getMimeType());return e.hasNext(t)})?n.logger.debug("ignoring ended event in firePlaybackFinishedEvent as there are more segments available"):n.manifestService.isLastPeriod(n.periodSwitchTracker.getCurrentPlayingPeriodId())?n.bufferController.hasFutureBufferBlockData()||(n.stop(),n.logger.debug("Stopping buffer controller"),n.bufferController.stop(!0),n.playerStateService.transitionToStoppedState()):n.logger.debug("ignoring ended event in firePlaybackFinishedEvent as there is a future period")},this.context=e,this.logger=e.logger,this.settings=e.settings,this.bufferSettings=e.bufferSettings,this.eventHandler=e.eventHandler,this.renderer=e.renderer,this.segmentAvailableCallback=t,this.initialized=!1,this.initPromise=null,this.mimeTypes={},this.seekCounter=0,this.eosSignaled=!1,this.isSwitchingAudioTrack=!1}return e.prototype.addRequiredMediaTypesForMuxedContent=function(e){this.bufferController.addRequiredMediaType(e,"video/mp4"),this.bufferController.addRequiredMediaType(e,"audio/mp4")},e.prototype.getTimestampOffset=function(e){var t,n=this,i=this.segmentControllerMap[e];return!i&&p.MimeTypeHelper.isAV(e)&&(i=Object.keys(this.segmentControllerMap).filter(function(e){return p.MimeTypeHelper.isAV(e)}).map(function(e){return n.segmentControllerMap[e]}).filter(function(e){return n.isAVMultiplexed(e)}).shift()),null!==(t=null==i?void 0:i.getMPDHandler().getTimestampOffset())&&void 0!==t?t:0},e.prototype.restorePlaybackPositionAfterDownloadedRepresentationWasExcluded=function(){var e=this,t=this.manifestService.isLive(),n=t?this.getTimeShift():this.renderer.getCurrentTime();t?this.timeShift(n,function(){},!0).catch(function(t){return e.context.logger.debug("TimeShift failed",t)}):this.seek(n,!1,!1,!0)},e.prototype.onDownloadedRepresentationExcluded=function(){this.restorePlaybackPositionAfterDownloadedRepresentationWasExcluded(),this.context.logger.debug("manifest update interrupted by DRM key status change")},e.prototype.shouldDropSegment=function(e){var t=p.MimeTypeHelper.isSubtitle(e.getMimeType()),n=this.context.sourceContext.technology.streaming===s.StreamType.Hls,i=(0,d.getStartTimeOffset)(this.getSourceStore().getState())+this.manifestService.getDuration(),r=this.isVod()&&e.getPlaybackTime()>=i,a=this.eosSignaled||r,o=this.manifestService.isRepresentationExcluded(e.getRepresentationId());return!t&&!n&&a||o},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.isAVMultiplexed=function(e){var t=h.CodecStringHelper.extractCodecStrings(e.getCodecs());return Boolean(t.video&&t.audio)},e.prototype.getMaxTimeShift=function(){return this.getTimeShiftHandler().getMaxTimeShift()},e.prototype.removeEventHandlers=function(){this.eventHandler.off(a.PlayerEvent.SegmentRequestFinished,this.onSegmentRequestFinished)},e.prototype.subscribeToSeekProcess=function(){var e=this,t=this.context.store;!this.unsubscribeFromSeekProcess&&t&&(this.unsubscribeFromSeekProcess=(0,f.subscribe)(t)(function(e){if(e)return(0,c.getPlayerState)(e).seekingProcess},function(t,n){return t&&n&&e.onSeekProcessChange(t,n)}))},e.prototype.subscribeToManifestChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromManifestStore&&e&&(this.unsubscribeFromManifestStore=(0,f.subscribe)(e)(P.getManifest,this.mpdAvailableHandler,function(e,t){return e.isInitialized&&!t.isInitialized}))},e.prototype.unsubscribeFromManifestChanges=function(){this.unsubscribeFromManifestStore&&(this.unsubscribeFromManifestStore(),this.unsubscribeFromManifestStore=null)},e.prototype.subscribeToPlayingTracksChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromPlayingTracksStore&&e&&(this.unsubscribeFromPlayingTracksStore=(0,f.subscribe)(e)(M.getPlayingTracksState,this.onPeriodSwitched,M.wasSwitchingToPeriodIdReset))},e.prototype.unsubscribeFromPlayingTracksChanges=function(){this.unsubscribeFromPlayingTracksStore&&(this.unsubscribeFromPlayingTracksStore(),this.unsubscribeFromPlayingTracksStore=void 0)},e.prototype.setupControllerForAdaptationSet=function(e){var t,n,i=(0,S.getMimeTypeForAdaptationSet)(e);if(p.MimeTypeHelper.isAV(i)){this.context.store.dispatch((0,_.initializeMetricsForMimeType)(i,this.context.settings)),this.getSourceStore().dispatch((0,I.setMediaTypeAction)(e._internalId,(0,E.resolveMediaTypes)(e))),this.mimeTypes[i]=(0,S.getCodecsFromAdaptationSet)(e);var r=this.periodSwitchTracker.getCurrentPlayingPeriodId();this.segmentControllerMap[i]=new A.SegmentController(this.context,this.onSegmentAvailable,i,this.mimeTypes[i],e.isTransmuxingRequired,this.manifestLoader,null!==(t=e._periodId)&&void 0!==t?t:r,this.getSourceStore()),null===(n=this.timeshiftHandler)||void 0===n||n.updateSegmentControllers(this.segmentControllerMap),this.transmuxer&&this.segmentControllerMap[i].setTransmuxer(this.transmuxer),r&&this.renderer.storeDrmInitDataFromManifest(e),this.context.segmentInfoService&&this.context.segmentInfoService.setSegmentControllers(Object.values(this.segmentControllerMap))}},e.prototype.updatePeriodForTimeshift=function(e,t){var n=this.periodSwitchTracker.getCurrentPlayingPeriodId();n||(this.periodSwitchTracker.setCurrentPlayingPeriodId(e),this.bufferController.setInitialPeriod(e)),this.periodSwitchTracker.getCurrentLoadingPeriodId()!==e&&this.switchLoadingPeriodForAllMedia(e),t&&n!==e&&(this.context.logger.debug("Updating current playing period to ".concat(e)),this.periodSwitchTracker.setCurrentPlayingPeriodId(e))},e.prototype.updateVideoAndAudioMediaTypes=function(e){var t=e.AdaptationSet.find(function(e){return p.MimeTypeHelper.isVideo(e._mimeType)});t&&this.bufferController.addRequiredMediaType(e._id,t._mimeType);var n=e.AdaptationSet.find(function(e){return p.MimeTypeHelper.isAudio(e._mimeType)});n&&this.bufferController.addRequiredMediaType(e._id,n._mimeType)},e.prototype.updateSubtitleMediaTypes=function(e){var t=this;e.AdaptationSet.filter(function(e){return p.MimeTypeHelper.isSubtitle(e._mimeType)}).forEach(function(n){t.bufferController.addRequiredMediaType(e._id,n._mimeType)})},e.prototype.updateMediaTypes=function(e){this.updateVideoAndAudioMediaTypes(e),this.updateSubtitleMediaTypes(e)},e.prototype.updatePeriodInformation=function(){var e=this;this.manifestService.getAllPeriods().forEach(function(t){e.updateMediaTypes(t),e.bufferController.checkIfEndOfBufferReached(e.settings.END_OF_BUFFER_TOLERANCE)})},e.prototype.finishInit=function(){var e=this;return this.initPromise?this.initPromise:!0===this.initialized||null===this.manifestService.getManifest()?this.initPromise=Promise.resolve():(this.disposeSegmentControllers(),this.mimeTypes={},this.initPromise=this.renderer.ready().then(function(){return e.initializeDependents()}))},e.prototype.disposeSegmentControllers=function(){var e=this;this.segmentControllerMap&&(Object.keys(this.segmentControllerMap).forEach(function(t){return e.segmentControllerMap[t].dispose()}),this.segmentControllerMap={})},e.prototype.createTransmuxer=function(){var e=this;if(m.ModuleManager.has(g.ModuleName.ContainerTS)){var t=m.ModuleManager.get(g.ModuleName.ContainerTS);this.getAllSegmentControllers().filter(function(e){return e.isTransmuxerRequired()}).forEach(function(n){e.transmuxer=e.transmuxer||new t.WebWorkerTransmuxer(e.context,e.hasSeparateAudioPlaylist()),n.setTransmuxer(e.transmuxer)}),this.subtitleService&&this.subtitleService.setTransmuxer(this.transmuxer)}},e.prototype.hasSeparateAudioPlaylist=function(){return this.getAllSegmentControllers().some(function(e){return p.MimeTypeHelper.isAudio(e.getMimeType())})},e.prototype.initializeDependents=function(){this.periodSwitchTracker.setInitialPeriod(),this.initializeBufferController(),this.updatePeriodInformation();var e=this.periodSwitchTracker.getCurrentPlayingPeriod()||this.manifestService.getFirstPeriod();e&&this.initializeSegmentControllers(e),this.enableForcedSubtitles(),this.createTransmuxer(),this.initialized=!0},e.prototype.enableForcedSubtitles=function(){var e=this.getAudioSegmentController();if(this.subtitleService&&e){var t=e.getCurrentLangObj().lang;this.subtitleService.enableForcedSubtitle(t)}},e.prototype.initializeSegmentControllers=function(e){var t,n=this;this.maybeConsiderOnlyMuxedAVSet(null!==(t=null==e?void 0:e.AdaptationSet)&&void 0!==t?t:[]).forEach(function(e){return n.createSegmentControllerIfMediaTypeIsMissing(e)})},e.prototype.maybeConsiderOnlyMuxedAVSet=function(e){var t,n,i,r=e.find(function(e){return p.MimeTypeHelper.isAudio(e._mimeType)}),a=e.find(function(e){return p.MimeTypeHelper.isVideo(e._mimeType)}),o=(null!==(n=null===(t=null==a?void 0:a.ContentComponent)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>1;if(!r||!a||!o)return e;var s=(0,y.getHlsDefaultLanguage)(r._mimeType,this.getSourceStore().getState()),_=null===(i=a.ContentComponent)||void 0===i?void 0:i.find(function(e){return e._lang===(null==s?void 0:s.language)&&e._id===(null==s?void 0:s.name)});return s&&_?[a]:e},e.prototype.createSegmentControllerIfMediaTypeIsMissing=function(e){var t=(0,S.getMimeTypeForAdaptationSet)(e);(0,p.isMediaTypeContained)(this.mimeTypes,t)||this.setupControllerForAdaptationSet(e)},e.prototype.initializeBufferController=function(){this.bufferController=new v.BufferController(this.context,this.endStallAtGap,this.manifestService.getTotalDuration(),this.periodSwitchTracker.getCurrentPlayingPeriodId())},e.prototype.getBufferLevel=function(e,t,n,i){return void 0===i&&(i=!0),this.bufferController?this.bufferController.getOverallBufferLevel(e,t,n,i):0},e.prototype.handleDroppedOutPeriods=function(){var e=this;this.periodSwitchTracker.shouldHandleDroppedOutPeriod()&&(this.periodSwitchTracker.isPlayingPeriodDroppedOut()?(this.logger.debug("Playing period dropped out of the manifest, timeshifting to current position"),this.switchLoadingPeriodForAllMedia(this.manifestService.getPeriodIdForTime(this.getCurrentTime())),this.timeShift(this.getTimeShift()).catch(function(t){return e.context.logger.debug("TimeShift failed",t)})):this.periodSwitchTracker.isLoadingPeriodDroppedOut()&&(this.logger.debug("Current loading period (".concat(this.periodSwitchTracker.getCurrentLoadingPeriodId(),") ")+"dropped out of the manifest, switching to first available one"),this.getAllSegmentControllers().forEach(function(e){return e.invalidateOngoingRequests()}),this.switchLoadingPeriodForAllMedia(this.manifestService.getFirstPeriod()._id)))},e.prototype.initializeThumbnails=function(){var e=this;this.context.serviceManager.maybeCall(i.ServiceName.ThumbnailService,function(t){e.context.sourceContext.source&&e.context.sourceContext.source.thumbnailTrack||t.addThumbnails(e.manifestService.getAllDashThumbnailSources())})},e.prototype.applyManifestTimings=function(){var e=this.manifestService.isLive(),t=this.context.serviceManager.get(i.ServiceName.StartOffsetService),n=this.manifestService.hasSuggestedStartPosition();if(e){var r=this.manifestService.getTimeShiftBufferDepthSeconds();0!==r&&(this.metadataParsedService.expirationTimeInSeconds=r),n&&(t.manifestStartOffset=this.manifestService.getLiveStartOffset(),this.adjustMaximumBufferLevel())}else n&&(t.manifestStartOffset=this.manifestService.getVodStartOffset())},e.prototype.adjustMaximumBufferLevel=function(){var e=Math.abs(this.manifestService.getLiveStartOffset(!1));e=e>0?e:this.manifestService.getMaxSegmentDuration();var t=Math.min(e,this.bufferSettings.getForwardTargetLevel(s.MediaType.Video)),n=Math.min(e,this.bufferSettings.getForwardTargetLevel(s.MediaType.Audio));this.bufferSettings.setMaximumBufferLevel(s.BufferType.ForwardDuration,t,s.MediaType.Video),this.bufferSettings.setMaximumBufferLevel(s.BufferType.ForwardDuration,n,s.MediaType.Audio)},e.prototype.terminate=function(){var e=this;this.logger.debug("stopping playback"),this.stop(),this.getAllSegmentControllers().forEach(function(e){return e.stop()}),this.bufferController&&this.bufferController.stop(!0),this.transmuxer=(0,r.dispose)(this.transmuxer),this.timeshiftHandler=(0,r.dispose)(this.timeshiftHandler),this.drmKidErrorHandler=(0,r.dispose)(this.drmKidErrorHandler),(0,r.dispose)(this.periodSwitchTracker),this.cachedSeekableRange=null,this.renderer.off(b.MediaElementEvent.ended,this.firePlaybackFinishedEvent);var t=this.renderer.shutdown().catch(function(t){return e.logger.debug("Got an error on shutdown",{message:t.message}),Promise.resolve()});return this.removeEventHandlers(),this.unsubscribeFromPlayingTracksChanges(),this.initialized=!1,this.periodSwitchTracker.setCurrentPlayingPeriodId(null),this.mimeTypes=null,this.context.store.dispatch((0,l.resetDrmKidErrors)()),this.manifestService.resetExcludedRepresentations(),this.disposeSegmentControllers(),t},e.prototype.dispose=function(){this.timeshiftHandler=(0,r.dispose)(this.timeshiftHandler),this.bufferController=(0,r.dispose)(this.bufferController),(0,r.dispose)(this.periodSwitchTracker);try{this.removeEventHandlers()}catch(e){}this.unsubscribeFromManifestChanges(),this.unsubscribeFromPlayingTracksChanges(),this.disposeSegmentControllers(),this.unsubscribeFromSeekProcess&&this.unsubscribeFromSeekProcess(),this.subtitleService=null,this.heartbeatService=null,this.streamTimeService=null,this.segmentControllerMap=null,this.settings=null,this.bufferSettings=null,this.eventHandler=null,this.renderer=null,this.mimeTypes=null,this.sourceType=null},e.prototype.acquireServices=function(){var e=this.context.sourceContext.sourceIdentifier;this.manifestService=this.context.serviceManager.get(i.ServiceName.ManifestService,e),this.playerStateService=this.context.serviceManager.get(i.ServiceName.PlayerStateService),this.subtitleService=this.context.serviceManager.get(i.ServiceName.SubtitleService),this.metadataParsedService=this.context.serviceManager.get(i.ServiceName.MetadataParsedService),this.manifestLoader=this.context.serviceManager.get(i.ServiceName.ManifestLoadingService,e),this.heartbeatService=this.context.serviceManager.get(i.ServiceName.HeartbeatService,e),this.streamTimeService=this.context.serviceManager.get(i.ServiceName.StreamTimeService),this.manifestUpdateScheduler=this.context.serviceManager.get(i.ServiceName.ManifestUpdateSchedulingService,e)},e.prototype.init=function(e){var t=this,n=this.getSourceStore();return this.periodSwitchTracker=new C.PeriodSwitchTracker(this.context),this.subscribeToPlayingTracksChanges(),this.subscribeToSeekProcess(),this.isAudioCatchingUp=!1,this.context.store.dispatch((0,l.resetDrmKidErrors)()),this.acquireServices(),n&&!this.drmKidErrorHandler&&(this.drmKidErrorHandler=new $.DrmKidErrorHandler(this.context,function(){return t.onDownloadedRepresentationExcluded()})),this.sourceType=e.type,this.renderer.on(b.MediaElementEvent.ended,this.firePlaybackFinishedEvent),this.manifestUpdateScheduler.isInitiated()?(this.subscribeToManifestChanges(),this.mpdAvailableHandler(),Promise.resolve()):this.manifestUpdateScheduler.init(e.url.toString()).then(function(){t.subscribeToManifestChanges(),t.mpdAvailableHandler()})},e.prototype.stop=function(){this.logger.debug("Stopping main timer"),this.heartbeatService.stop(),this.initPromise=null,this.eventHandler.off(a.PlayerEvent.SegmentRequestFinished,this.onSegmentRequestFinished),this.unsubscribeFromManifestChanges()},e.prototype.isOneLoaderReady=function(){return this.getAllSegmentControllers().some(function(e){return e.canLoad()})},e.prototype.areAllLoadersReady=function(){return this.getAllSegmentControllers().every(function(e){return e.canLoad()})},e.prototype.isVod=function(){return!this.manifestService.isLive()},e.prototype.shouldStopDownloadWhenPaused=function(){return this.playerStateService.isPaused()&&this.settings.STOP_DOWNLOAD_ON_PAUSE&&this.manifestService.isLive()},e.prototype.shouldWaitForOtherMimeTypeDownload=function(e){var t=Object.keys(this.segmentControllerMap).find(function(t){return p.MimeTypeHelper.isAV(t)&&e!==t});if(!t)return!1;if(this.isAudioCatchingUp)return p.MimeTypeHelper.isAudio(t);var n=this.segmentControllerMap[t],i=this.streamTimeService.getTimeForNextSegment(t);if(t&&!n.hasDownloadError&&n.hasNext(i)){var r=this.getBufferRelevantTime(),a=this.getCurrentForwardBuffer(e,r),o=this.getCurrentForwardBuffer(t,r),s=this.hasReachedTargetBufferLevel(t,o);return a>o&&!s}return n.getCurrentPeriodId()!==this.segmentControllerMap[e].getCurrentPeriodId()},e.prototype.hasReachedTargetBufferLevel=function(e,t){var n=p.MimeTypeHelper.getMediaType(e);return t>=this.bufferSettings.getForwardTargetLevel(n)},e.prototype.shouldEndOfStreamBeSignaled=function(){var e=this,t=this.getAllSegmentControllers(),n=this.bufferController.hasPendingSegments(),i=t.map(function(e){return e.getMimeType()}),r=t.some(function(e){return e.hasPendingSegments()}),a=i.some(function(t){return e.renderer.isDataBeingAppended(t)});return!r&&!n&&!a},e.prototype.shouldSuspendHeartbeat=function(){return!this.isOneLoaderReady()||this.shouldStopDownloadWhenPaused()||Boolean(this.clearBuffersPromise)||this.isSwitchingAudioTrack},e.prototype.getActiveSegmentControllers=function(){var e=this;return this.getAllSegmentControllers().filter(function(t){return e.isSegmentControllerActive(t)})},e.prototype.isSegmentControllerActive=function(e){var t=this.periodSwitchTracker.getCurrentLoadingPeriodId(),n=this.streamTimeService.getTimeForNextSegment(e.getMimeType());return e.canLoad()&&(e.hasNext(n)||e.hasPendingSegments(t))&&!this.shouldWaitForOtherMimeTypeDownload(e.getMimeType())},e.prototype.getActiveMimeTypes=function(){return this.getActiveSegmentControllers().map(function(e){return e.getMimeType()})},e.prototype.getSegmentControllersForMimeType=function(e){return this.getAllSegmentControllers().filter(function(t){return e===t.getMimeType()})},e.prototype.requestSegmentsForMimeType=function(e,t){var n=this;this.getSegmentControllersForMimeType(e).forEach(function(e){return n.getNextSegment(e,t)})},e.prototype.shouldClearSubtitleServiceBuffers=function(){return Boolean(this.subtitleService&&!this.playerStateService.seekingOrTimeshifting)},e.prototype.clearSubtitleServiceBuffers=function(){this.subtitleService.clearBuffersUntil(this.renderer.getCurrentTime()-10)},e.prototype.areMediaTypesFinalForPlayingPeriod=function(){return this.bufferController.areBufferBlockMediaTypesFinal(this.periodSwitchTracker.getCurrentPlayingPeriodId())},e.prototype.maybeStop=function(){var e=this.manifestService.isManifestFinalized(),t=this.manifestService.isLastPeriod(this.periodSwitchTracker.getCurrentLoadingPeriodId());e&&t&&(this.bufferController.stop(!1),this.shouldEndOfStreamBeSignaled()&&(this.signalEndOfStream(),this.stop()))},e.prototype.getNextSegment=function(e,t){if(e.canLoad()){var n=p.MimeTypeHelper.getMediaType(e.getMimeType()),r=this.bufferSettings.getForwardTargetLevel(n),a=this.getCurrentForwardBuffer(e.getMimeType(),this.getBufferRelevantTime());a>=r||(this.context.serviceManager.get(i.ServiceName.AdaptationService).addSample(e.getMimeType(),{bufferTargetLevel:r,bufferLevel:a}),e.hasNext(t)&&e.getNext(t))}},e.prototype.getBufferRelevantTime=function(){return this.playerStateService.seekingOrTimeshifting?this.playerStateService.targetPlaybackTime:this.renderer.getCurrentTime()},e.prototype.getCurrentForwardBuffer=function(e,t){return this.getBufferLevel(e,t,s.BufferType.ForwardDuration)},e.prototype.isLoadingLastPeriod=function(){return this.periodSwitchTracker.isLoadingLastPeriod()},e.prototype.switchLoadingPeriod=function(){if(this.isAudioCatchingUp){var e=this.getAudioSegmentController(),t=e.getCurrentPeriodId(),n=this.manifestService.getNextPeriod(t)._id;this.switchLoadingPeriodForAudio(n),e.getCurrentPeriodId()===this.periodSwitchTracker.getCurrentLoadingPeriodId()&&(e.isTransmuxerRequired()&&e.getTransmuxer()&&(e.getTransmuxer().dispose(),e.setTransmuxer(this.transmuxer)),this.isAudioCatchingUp=!1,this.logger.debug("The audio SegmentController caught up to the overall loading period again."))}else{var i=this.manifestService.getNextPeriod(this.periodSwitchTracker.getCurrentLoadingPeriodId());i&&this.switchLoadingPeriodForAllMedia(i._id)}},e.prototype.switchLoadingPeriodForAllMedia=function(e){var t=this;e!==this.periodSwitchTracker.getCurrentLoadingPeriodId()&&(this.isAudioCatchingUp=!1,this.prepareLoadingPeriodSwitch(e),this.getAllSegmentControllers().filter(function(t){return t.getCurrentPeriodId()!==e}).forEach(function(n){n.switchPeriod(e),t.renderer.storeDrmInitDataFromManifest(n.getAdaptationSetForPeriodId(e))}),this.periodSwitchTracker.setCurrentLoadingPeriodId(e))},e.prototype.prepareLoadingPeriodSwitch=function(e){var t,n,i=this;(null!==(n=null===(t=this.manifestService.getPeriod(new T.PeriodId(e)))||void 0===t?void 0:t.AdaptationSet)&&void 0!==n?n:[]).forEach(function(e){return i.createSegmentControllerIfMediaTypeIsMissing(e)}),this.resetTransmuxer()},e.prototype.switchLoadingPeriodForAudio=function(e){var t=this.getAudioSegmentController(),n=t.getCurrentPeriodId();t.resetTransmuxer(),t.switchPeriod(e),this.logger.debug("Switched audio loading period from ".concat(n," to ").concat(e))},e.prototype.isAVCompletelyLoaded=function(){var e=this.getAllSegmentControllers().some(function(e){return e.hasPendingSegments()})||this.bufferController.hasPendingSegments();return this.manifestService.isManifestFinalized()&&!e},e.prototype.getBufferedRanges=function(e){return void 0===e&&(e=!1),this.bufferController.getBufferedRangesMap(this.periodSwitchTracker.getCurrentPlayingPeriodId(),e)},e.prototype.resetTransmuxer=function(){this.transmuxer&&(this.transmuxer.dispose(),this.transmuxer=null),this.createTransmuxer()},e.prototype.restartBufferController=function(){this.bufferController.hasStopped()&&this.bufferController.restart()},e.prototype.shouldBuffersBeCleared=function(e,t,n){var i=e=0)null===(n=this.playerStateService)||void 0===n||n.transitionToSeekedState(t.issuer!==o.STARTUP_ISSUER_NAME);else{var i=e.targetTime!==t.targetTime,r=e.targetTime>=0;i&&r&&this.seek(e.targetTime,e.issuer===o.STARTUP_ISSUER_NAME)}},e.prototype.seek=function(e,t,n,i){var r=this;if(void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===i&&(i=!1),this.bufferController){this.restartBufferController(),this.seekCounter++;var a,o,s=this.seekCounter,_=this.manifestService.getPeriodIdForTime(e);this.ensureInitialPeriod(_),this.logger.debug("seek from current period (".concat(this.periodSwitchTracker.getCurrentPlayingPeriodId(),") to target period ")+"(".concat(_,") - seek time in period is: ").concat(e)),this.bufferController.readyToSeek().then(function(){if(o=r.shouldBuffersBeCleared(e,n,i),a=r.periodSwitchTracker.getCurrentLoadingPeriodId()!==_&&o,o&&r.bufferController.isBufferAvailable())return r.clearBuffersPromise=r.clearBuffersOnSeek(),r.clearBuffersPromise}).then(function(){return r.clearBuffersPromise=null,r.initialized?(r.getAllSegmentControllers().forEach(function(e){return e.setAdaptionLogicStartupPhase()}),a&&r.switchLoadingPeriodForAllMedia(_),o&&r.getAllSegmentControllers().forEach(function(t){return t.seekTo(e)}),(t?Promise.resolve():r.start()).then(function(){r.bufferController.setCurrentTime(e).then(function(t){r.seekCounter===s?(r.logger.debug("Successfully seeked to ".concat(t)),r.context.store.dispatch((0,\nu.updateSeekingProcess)({targetTime:-1,issuer:"",isInitial:!1}))):N(r.context.store)&&r.context.logger.debug("Seek to ".concat(e," has finished but a newer operation has been started"))}).catch(function(e){r.logger.debug("Failed to set currentTime on seek",e)})})):(r.logger.debug("Aborting seek as MediaPlayerController has been terminated!"),Promise.resolve())})}},e.prototype.ensureInitialPeriod=function(e){var t=this;void 0===this.periodSwitchTracker.getCurrentPlayingPeriodId()&&(this.logger.debug("current period is undefined, using seek target period "+e),this.periodSwitchTracker.setCurrentPlayingPeriodId(e),this.resetTransmuxer(),this.getAllSegmentControllers().forEach(function(e){e.switchPeriod(t.periodSwitchTracker.getCurrentPlayingPeriodId()),p.MimeTypeHelper.isAV(e.getMimeType())&&t.renderer.storeDrmInitDataFromManifest(e.getCurrentAdaptationSet())}),this.periodSwitchTracker.setCurrentLoadingPeriodId(this.periodSwitchTracker.getCurrentPlayingPeriodId()),this.bufferController.setInitialPeriod(e))},e.prototype.clearBuffersOnSeek=function(){var e=this;return this.eosSignaled=!1,this.getAllSegmentControllers().forEach(function(e){return e.cancelLoading()}),this.bufferController.setEndOfStream(!1).then(function(){return e.bufferController.clearBuffers()}).catch(function(){e.logger.debug("Failed to clear buffers on seek, carrying on regardless")})},e.prototype.getAllSegmentControllers=function(){return Object.values(this.segmentControllerMap||{})},e.prototype.getAudioSegmentController=function(){return this.getAllSegmentControllers().find(function(e){return p.MimeTypeHelper.isAudio(e.getMimeType())})},e.prototype.updateAdaptationLogicData=function(e,t){var n=p.MimeTypeHelper.getMediaType(t.getMimeType()),r=this.getBufferLevel(t.getMimeType(),this.renderer.getCurrentTime(),s.BufferType.ForwardDuration),a=this.bufferSettings.getForwardTargetLevel(n),o=e.duration/e.downloadTime;e.isInit||this.context.serviceManager.get(i.ServiceName.AdaptationService).addSample(t.getMimeType(),{bufferTargetLevel:a,bufferLevel:r,downloadRate:o})},e.prototype.signalEndOfStream=function(e){void 0===e&&(e=!0),this.isVod()&&(this.eosSignaled||(this.eosSignaled=!0,this.bufferController.setEndOfStream(!0),e&&this.stop()),this.bufferController.isStarted()&&this.bufferController.stop())},e.prototype.start=function(){var e=this;return this.hasStarted()?Promise.resolve():this.finishInit().then(function(){e.bufferController.hasStreamEnded()&&(e.seek((0,d.getStartTimeOffset)(e.getSourceStore().getState())),e.getAllSegmentControllers().forEach(function(e){return e.resetTransmuxer()})),e.bufferController.isStarted()||e.bufferController.restart(),e.getAllSegmentControllers().filter(function(e){return p.MimeTypeHelper.isAV(e.getMimeType())}).forEach(function(t){return e.renderer.storeDrmInitDataFromManifest(t.getCurrentAdaptationSet())}),e.logger.debug("Starting main timer"),e.eosSignaled=!1,e.heartbeatService.start(),e.subscribeToManifestChanges(),e.eventHandler.on(a.PlayerEvent.SegmentRequestFinished,e.onSegmentRequestFinished)})},e.prototype.maybeTransitionToPausedState=function(e){this.bufferController.isBufferBlockSwitchOngoing()?this.context.logger.debug("Ignoring transition to Paused because buffer block switch is ongoing"):this.playerStateService.transitionToPausedState(!0,e,!0)},e.prototype.clearBuffers=function(e){var t=this;return Promise.all(e.map(function(e){return t.bufferController.clearCacheForMimeType(e),t.bufferController.clearBuffer(e)})).then(function(){})},e.prototype.recoverFromImpreciseTimeShiftAfterAudioTrackSwitch=function(e){var t=this;this.manifestService.isLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE&&this.renderer.setCurrentTime(e).catch(function(){return t.logger.debug("Could not set currentTime")})},e.prototype.restorePlaybackPositionAfterAudioTrackSwitch=function(e,t){var n=this;return this.bufferController.setEndOfStream(!1).then(function(){var i=n.clearBuffers(e.getSourceBufferTypes());return e.getCurrentPeriodId()!==n.periodSwitchTracker.getCurrentPlayingPeriodId()?n.prepareControllerForAudioTrackChange(e):e.getCurrentPeriodId()!==n.periodSwitchTracker.getCurrentLoadingPeriodId()&&n.periodSwitchTracker.setCurrentLoadingPeriodId(e.getCurrentPeriodId()),e.setAdaptionLogicStartupPhase(),e.seekTo(t),n.start().catch(function(){return n.logger.debug("Could not restart stopped MPC after audio track switch")}),i.then(function(){return n.recoverFromImpreciseTimeShiftAfterAudioTrackSwitch(t)}).catch(function(e){return n.logger.debug("Failed to set currentTime on audio track switch",e)})})},e.prototype.isHlsManifestLoader=function(e){return"hls"===this.sourceType},e.prototype.setAudio=function(e){var t=this.getAvailableAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId()).find(function(t){return t.id===e}),n=this.getAudio();return this.initialized&&t?n&&n.id===e?Promise.reject(n):this.switchAudioTrack(t):Promise.reject(null)},e.prototype.updateAdaptationSet=function(e,t,n){var i=this;return p.MimeTypeHelper.isAudio(t)&&this.isHlsManifestLoader(this.manifestLoader)?this.manifestLoader.updateAdaptationSet(n).then(function(){return i.getAllSegmentControllers().forEach(function(e){return e.updateMpd()})}).then(function(){return e}):Promise.resolve(e)},e.prototype.switchAudioTrack=function(e){var t=this;this.isSwitchingAudioTrack=!0;var n=Object.keys(this.segmentControllerMap),i=n.find(p.MimeTypeHelper.isAudio)||n.find(p.MimeTypeHelper.isVideo),r=this.segmentControllerMap[i].getCurrentAdaptationSet(),a=this.manifestService.getAdaptationSet(e.adaptationSetId);return r&&a&&i?this.maybeChangeAudioBufferType(r,a,i).then(function(n){return t.maybeHandleMuxedAudioTransition(r,a,e,n)}).then(function(n){return t.updateAdaptationSet(n,i,e.id)}).then(function(n){return t.updateRelevantSegmentControllers(n,e)}).finally(function(){return t.isSwitchingAudioTrack=!1}):Promise.reject("Did not find matching adaptation set")},e.prototype.maybeChangeAudioBufferType=function(e,t,n){var i,r=this,a=U(t,e),o=p.MimeTypeHelper.isVideo(t._mimeType)||p.MimeTypeHelper.isVideo(e._mimeType),s=!(0,O.hasContentProtection)(e.ContentProtection,t.ContentProtection);if(o||!a&&!s)return Promise.resolve(((i={})[t._mimeType]="",i));var _=Object.keys(this.segmentControllerMap).find(p.MimeTypeHelper.isVideo);return this.recreateCurrentSegmentController(n,t).then(function(){return s&&_?r.clearBuffersAndSeek(_):Promise.resolve()}).then(function(){return r.bufferController.changeBufferType(t._mimeType,r.mimeTypes[t._mimeType])})},e.prototype.maybeHandleMuxedAudioTransition=function(e,t,n,i){var r=this;return p.MimeTypeHelper.isVideo(t._mimeType)||p.MimeTypeHelper.isVideo(e._mimeType)?this.clearBuffers([e._mimeType,t._mimeType]).then(function(){var i=p.MimeTypeHelper.isVideo(t._mimeType);return r.transmuxer.setShouldDiscardAudio(!i),i?(r.disposeSegmentController(e),Promise.resolve()):(r.createSegmentControllerIfMediaTypeIsMissing(t),r.updateSegmentController(n,e._mimeType))}).then(function(){return i}):Promise.resolve(i)},e.prototype.clearBuffersAndSeek=function(e){var t=this;return this.clearBuffers([e]).then(function(){var n;t.segmentControllerMap[e].seekTo(t.renderer.getCurrentTime()),null===(n=t.timeshiftHandler)||void 0===n||n.updateSegmentControllers(t.segmentControllerMap)})},e.prototype.disposeSegmentController=function(e){var t;if(e){var n=e._mimeType,i=this.segmentControllerMap[n];i.cancelLoading(),i.dispose(),delete this.segmentControllerMap[n],delete this.mimeTypes[n],null===(t=this.timeshiftHandler)||void 0===t||t.updateSegmentControllers(this.segmentControllerMap),this.getSourceStore().dispatch((0,I.removeActiveTrackAction)(e._internalId)),this.context.segmentInfoService&&this.context.segmentInfoService.setSegmentControllers(Object.values(this.segmentControllerMap))}},e.prototype.recreateCurrentSegmentController=function(e,t){var n=this,i=this.segmentControllerMap[e];return this.disposeSegmentController(i.getCurrentAdaptationSet()),this.clearBuffers([e]).then(function(){return n.setupControllerForAdaptationSet(t),t._mimeType})},e.prototype.updateRelevantSegmentControllers=function(e,t){var n=this;return Promise.all(Object.keys(e).map(function(e){return n.updateSegmentController(t,e)})).then(function(){})},e.prototype.updateSegmentController=function(e,t){if(this.subtitleService&&this.subtitleService.enableForcedSubtitle(e.lang),this.segmentControllerMap[t].setCurrentLangObj(e),this.segmentControllerMap[t].cancelLoading(),this.hasStarted()||this.eosSignaled){var n=this.getBufferRelevantTime();return this.restorePlaybackPositionAfterAudioTrackSwitch(this.segmentControllerMap[t],n)}return Promise.resolve()},e.prototype.getAudio=function(){if(this.initialized){var e=void 0,t=Object.keys(this.segmentControllerMap).find(function(e){return p.MimeTypeHelper.isAudio(e)});if(t&&(e=this.segmentControllerMap[t].getCurrentLangObj()),!e){var n=Object.keys(this.segmentControllerMap).find(function(e){return p.MimeTypeHelper.isVideo(e)});if(n&&this.segmentControllerMap[n].getSourceBufferTypes()){var i=this.segmentControllerMap[n];if(i.getSourceBufferTypes().some(function(e){return p.MimeTypeHelper.isAudio(e)})){var r=i.getCurrentAdaptationSet()._internalId;e=this.getAvailableAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId()).find(function(e){return e.adaptationSetId===r})||i.getCurrentLangObj()}}}return e||null}return null},e.prototype.prepareControllerForAudioTrackChange=function(e){if(this.isAVMultiplexed(e))this.switchLoadingPeriodForAllMedia(this.periodSwitchTracker.getCurrentPlayingPeriodId());else{if(this.logger.debug("audio needs to load previous period(s) and catch up to the overall loading period"),e.isTransmuxerRequired()){var t=m.ModuleManager.get(g.ModuleName.ContainerTS);e.setTransmuxer(new t.WebWorkerTransmuxer(this.context,this.hasSeparateAudioPlaylist()))}this.isAudioCatchingUp=!0,this.switchLoadingPeriodForAudio(this.periodSwitchTracker.getCurrentPlayingPeriodId())}},e.prototype.getPlaybackRepresentation=function(e){for(var t in this.segmentControllerMap)if(this.segmentControllerMap[t]&&t.includes(e))return this.context.serviceManager.get(i.ServiceName.TimedMetadataService).getPlaybackRepresentation(t);return null},e.prototype.getTimeShift=function(){return this.getTimeShiftHandler().getTimeShift()},e.prototype.getTimeShiftLiveEdge=function(){return this.manifestService.isLive()?this.getTimeShiftHandler().getTimeShiftLiveEdge():0},e.prototype.getTimeShiftHandler=function(){return this.timeshiftHandler||(this.timeshiftHandler=new w.TimeShiftHandler(this.context,this,this.bufferController,this.segmentControllerMap)),this.timeshiftHandler},e.prototype.timeShift=function(e,t,n){return void 0===n&&(n=!1),this.getTimeShiftHandler().timeShift(e,t,n)},e.prototype.getAvailableAudio=function(e){return this.manifestService.getAvailableAudio(e)},e.prototype.hasStreamEnded=function(){return!!this.bufferController&&this.bufferController.hasStreamEnded()},e.prototype.getCurrentTime=function(){return this.renderer.getCurrentTime()},e.prototype.getSeekableRange=function(){if(this.manifestService.isLive()){if(this.playerStateService.seekingOrTimeshifting&&this.cachedSeekableRange)return this.cachedSeekableRange;var e=this.getTimeShiftLiveEdge(),t=e+this.getMaxTimeShift();return this.cachedSeekableRange={start:t,end:e}}var n=this.getAllSegmentControllers().find(function(e){return p.MimeTypeHelper.isAV(e.getMimeType())});return n?n.getMPDHandler().getSeekableRange():{start:-1,end:-1}},e.prototype.getAvailableSegments=function(){var e=this,t={};return Object.keys(this.segmentControllerMap).forEach(function(n){t[n]=e.segmentControllerMap[n].getSegmentInfos()}),t},e.prototype.isInitialized=function(){return this.initialized},e.prototype.hasStarted=function(){var e,t;return null!==(t=null===(e=this.heartbeatService)||void 0===e?void 0:e.started)&&void 0!==t&&t},e}();function U(e,t){return!(0,O.areAudioMimeCodecsCompatible)({mimeType:e._mimeType,codec:(0,S.getCodecsFromAdaptationSet)(e)},{mimeType:t._mimeType,codec:(0,S.getCodecsFromAdaptationSet)(t)})}function x(e,t){var n=e.getPlaybackTimeRange();n&&t.dispatch((0,R.removeStreamTimeRange)((0,k.getTrackIdentifier)(e.getSegmentInfo()),n,k.StreamTimeRangeType.Loading))}function N(e){var t=e.getState();if(!t)return!1;var n=(0,c.getPlayerState)(t).seekingProcess.issuer;return n!==o.STARTUP_ISSUER_NAME&&""!==n}t.MediaPlayerController=D,t.isBufferChangeRequired=U},97383:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolveMediaTypes=void 0;var i=n(46381),r=n(43233);t.resolveMediaTypes=function(e){return(0,r.getCodecsFromAdaptationSet)(e).split(",").map(function(e){return(0,i.getMediaTypeFromCodec)(e)})}},81201:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MseModuleDefinition=void 0;var i=n(1520),r=n(86705),a=n(83024),o=n(8073),s=n(71278),_=n(51186),u=n(43233),c=n(63080),l=n(49835),d=n(30828),f=n(27999),h=n(92977),p=n(88784),b=n(59266),m=n(87384),g=n(27005),v=n(31998),$=n(51017),y=n(53088),S=n(26147),T=n(45110),E=n(76060),A=n(72766),C={removeStreamTimeRange:T.removeStreamTimeRange,removeLoadedRange:i.removeLoadedRange,addLoadedRange:i.addLoadedRange,resetLoadedRanges:i.resetLoadedRanges,resetStreamTimeline:T.resetStreamTimeline,removeActiveTrackAction:v.removeActiveTrackAction,setRepresentationIdAction:v.setRepresentationIdAction,setMediaTypeAction:v.setMediaTypeAction},I={getBufferState:r.getBufferState,getPlayingPeriodId:y.getPlayingPeriodId,getContainerFormat:$.getContainerFormat,getLoadedRangesForMimeType:r.getLoadedRangesForMimeType,getSegmentInfos:S.getSegmentInfos},P={containerFormat:o.ContainerFormat,streamTimeRangeType:E.StreamTimeRangeType};t.MseModuleDefinition={name:a.ModuleName.EngineBitmovin,module:{MediaPlayer:l.MediaPlayer,SegmentController:h.SegmentController,technologyChecker:new A.TechnologyChecker,Stream:g.Stream,FetchController:f.FetchController,SegmentInfoService:p.SegmentInfoService,SegmentPrefetchingService:m.SegmentPrefetchingService,AdRestorationOptimizationService:d.AdRestorationOptimizationService,ManifestCachingService:_.ManifestCachingService,SegmentListMPDHandler:b.SegmentListMPDHandler,actions:C,selectors:I,mseModuleTypes:P,AdaptationSetId:s.AdaptationSetId,RepresentationId:c.RepresentationId,getTrackIdentifier:E.getTrackIdentifier,getCodecsFromAdaptationSet:u.getCodecsFromAdaptationSet,getMimeTypeForAdaptationSet:u.getMimeTypeForAdaptationSet}},t.default=t.MseModuleDefinition},84493:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PeriodSwitchTracker=void 0;var i=n(59534),r=n(59574),a=n(28803),o=n(80815),s=n(52038),_=n(53088),u=function(){function e(e){var t=this;this.finishPeriodSwitch=function(e,n){var i=n.switchingToPeriodId,a=t.getCurrentPlayingPeriodId();t.setCurrentPlayingPeriodId(i);var o=t.getCurrentPlayingPeriod();o&&o.AdaptationSet.forEach(function(e){return t.context.renderer.storeDrmInitDataFromManifest(e)}),t.logger.debug("Successfully switched from Period ".concat(a," to Period ").concat(i)),t.context.eventHandler.dispatchEvent(r.PlayerEvent.PeriodSwitched,{sourcePeriod:{periodId:a},targetPeriod:{periodId:i}})},this.context=e,this.logger=e.logger,this.eventHandler=e.eventHandler,this.subscribeToPlayingTracksChanges()}return e.prototype.getManifestService=function(){return this.context.serviceManager.get(i.ServiceName.ManifestService,this.context.sourceContext.sourceIdentifier)},e.prototype.getCurrentPlayingPeriod=function(){return this.getManifestService().findPeriod(this.getCurrentPlayingPeriodId())},e.prototype.subscribeToPlayingTracksChanges=function(){var e=this.getSourceStore();!this.unsubscribeFromPlayingTracksStore&&e&&(this.unsubscribeFromPlayingTracksStore=(0,a.subscribe)(e)(_.getPlayingTracksState,this.finishPeriodSwitch,_.wasSwitchingToPeriodIdReset))},e.prototype.unsubscribeFromPlayingTracksChanges=function(){this.unsubscribeFromPlayingTracksStore&&(this.unsubscribeFromPlayingTracksStore(),this.unsubscribeFromPlayingTracksStore=void 0)},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.getCurrentLoadingPeriodId=function(){return this.currentLoadingPeriodId},e.prototype.setCurrentLoadingPeriodId=function(e){this.currentLoadingPeriodId=e},e.prototype.getCurrentPlayingPeriodId=function(){return(0,_.getPlayingPeriodId)(this.getSourceStore().getState())},e.prototype.setCurrentPlayingPeriodId=function(e){this.getSourceStore().dispatch((0,s.setPlayingPeriodId)(e))},e.prototype.resetPeriodIds=function(){this.setCurrentPlayingPeriodId(null),this.setCurrentLoadingPeriodId(void 0)},e.prototype.shouldHandleDroppedOutPeriod=function(){return!(null==this.getCurrentPlayingPeriodId()&&null==this.currentLoadingPeriodId)},e.prototype.isPeriodDroppedOut=function(e){return!this.getManifestService().getAllPeriods().map(function(e){return e._id}).includes(e)},e.prototype.isPlayingPeriodDroppedOut=function(){return this.isPeriodDroppedOut(this.getCurrentPlayingPeriodId())},e.prototype.isLoadingPeriodDroppedOut=function(){return this.isPeriodDroppedOut(this.currentLoadingPeriodId)},e.prototype.isLoadingLastPeriod=function(){return this.getManifestService().isLastPeriod(this.currentLoadingPeriodId)},e.prototype.setInitialPeriod=function(){var e=this.getManifestService().isLive()?this.getInitialPeriodForLive():this.getInitialPeriodForVod();this.currentLoadingPeriodId=e,this.setCurrentPlayingPeriodId(this.currentLoadingPeriodId),this.logger.debug("setting initial period to ".concat(this.currentLoadingPeriodId))},e.prototype.getInitialPeriodForLive=function(){var e=(0,o.toSeconds)(Date.now())-this.getManifestService().getDesiredDistanceToLiveEdge();return this.getManifestService().getPeriodIdForTime(e)},e.prototype.getInitialPeriodForVod=function(){var e=this.context.serviceManager.get(i.ServiceName.StartOffsetService).getStartOffset(this.context.sourceContext.source);return this.getManifestService().getPeriodIdForTime(e)},e.prototype.dispose=function(){this.unsubscribeFromPlayingTracksChanges()},e}();t.PeriodSwitchTracker=u},27752:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createSegmentParser=void 0;var i=n(43068),r=n(83024),a=n(8073);t.createSegmentParser=function(e,t){if(t===a.ContainerFormat.MP4&&i.ModuleManager.has(r.ModuleName.ContainerMP4)){var n=i.ModuleManager.get(r.ModuleName.ContainerMP4);return new n.MP4Parser(e,new n.MP4EncryptionParser(e))}if(t===a.ContainerFormat.WEBM&&i.ModuleManager.has(r.ModuleName.ContainerWebM))return new(0,i.ModuleManager.get(r.ModuleName.ContainerWebM).WebMParser)}},8144:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamTimeService=void 0;var i=n(59534),r=n(12391),a=n(76060),o=function(){function e(e,t){this.serviceManager=e,this.sourceIdentifier=t}return Object.defineProperty(e.prototype,"sourceState",{get:function(){return this.serviceManager.get(i.ServiceName.SourceStoreService,this.sourceIdentifier).getState()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"streamTimelineState",{get:function(){var e;return null===(e=this.sourceState)||void 0===e?void 0:e.streamTimeline},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bufferState",{get:function(){var e;return null===(e=this.sourceState)||void 0===e?void 0:e.buffer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"playerStateService",{get:function(){return this.serviceManager.get(i.ServiceName.PlayerStateService)},enumerable:!1,configurable:!0}),e.prototype.getTimeForNextSegment=function(e){var t,n,i,a=(0,r.findFromEnd)(this.streamTimelineState[e]||[],s),o=this.bufferState[e],_=[a,(null===(t=null==o?void 0:o.loadedRanges)||void 0===t?void 0:t[o.loadedRanges.length-1])||(null===(n=null==o?void 0:o.rendererRanges)||void 0===n?void 0:n[o.rendererRanges.length-1])].filter(function(e){return e}).map(function(e){return e.end}),u=Math.max.apply(Math,_);return isFinite(u)?u:(null===(i=this.playerStateService)||void 0===i?void 0:i.seekingOrTimeshifting)?this.playerStateService.targetPlaybackTime:0},e.prototype.dispose=function(){},e}();function s(e){return[a.StreamTimeRangeType.Loading,a.StreamTimeRangeType.Failed].includes(e.type)}t.StreamTimeService=o},72766:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TechnologyChecker=void 0;var i=n(43068),r=n(83024),a=function(){function e(){}return e.prototype.getSupportedTechnologies=function(){return i.ModuleManager.has(r.ModuleName.RendererMse)?i.ModuleManager.get(r.ModuleName.RendererMse).technologyChecker.getSupportedTechnologies():[]},e}();t.TechnologyChecker=a},5258:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TimeShiftHandler=void 0;var i=n(59534),r=n(59574),a=n(80815),o=n(43068),s=n(83024),_=n(59266),u=n(45110),c=n(76060),l=function(){function e(e,t,n,r){var a=this;this.onSeek=function(){a.updateInitialTimeShiftContext(!0)},this.onSeeked=function(){var e=a.context.renderer.getCurrentTime(!0),t=e-a.getTimeShiftLiveEdge();a.updateTimeShiftStateAfterSeek(t,e)},this.context=e,this.mediaPlayerController=t,this.bufferController=n,this.segmentControllers=Object.keys(r).map(function(e){return r[e]}),this.manifestService=e.serviceManager.get(i.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.logger=e.logger,this.eventHandler=e.eventHandler,this.timeShiftCounter=0,this.sourceIdentifier=e.sourceContext.sourceIdentifier,this.setupEventHandlers()}return e.prototype.calculateLiveEdgeInVideoTime=function(){var e;if(this.initialTimeShiftContext&&!this.initialTimeShiftContext.isOngoing){var t=(0,a.toSeconds)(Date.now()-this.initialTimeShiftContext.timestamp);e=this.initialTimeShiftContext.liveEdge+t}else e=this.calculateMpdHandlerLiveEdge();return isFinite(e)||(e=(0,a.toSeconds)(Date.now()-this.manifestService.getAvailabilityStartTime())),e},e.prototype.calculateMpdHandlerLiveEdge=function(){return this.segmentControllers.map(function(e){return e.getLiveEdgeTime()}).reduce(function(e,t){return t=0?t:e},1/0)},e.prototype.updateSegmentControllers=function(e){this.segmentControllers=Object.values(e)},e.prototype.getMaxTimeShift=function(){if(this.manifestService.getManifest()){var e=this.manifestService.getTimeShiftBufferDepthSeconds();return Math.min(e+this.manifestService.getDesiredDistanceToLiveEdge(),0)}return 0},e.prototype.getTimeShiftLiveEdge=function(){return this.calculateLiveEdgeInVideoTime()-this.manifestService.getDesiredDistanceToLiveEdge()},e.prototype.getTimeShift=function(){var e=this.getActualTimeShift();if(this.lastTimeShiftStatus){var t=(0,a.toSeconds)(Date.now()-this.lastTimeShiftStatus.completionDate)-(this.mediaPlayerController.getCurrentTime()-this.lastTimeShiftStatus.reachedTime);if(Math.abs(t)0&&(e=0),e},e.prototype.getActualTimeShift=function(e){return void 0===e&&(e=!1),!this.initialTimeShiftContext||this.initialTimeShiftContext.isOngoing?0:(e?this.mediaPlayerController.getBufferRelevantTime():this.mediaPlayerController.getCurrentTime())-this.getTimeShiftLiveEdge()},e.prototype.adjustTargetTime=function(e){var t=this.manifestService.getPeriodIdForTime(e),n=!this.manifestService.isLastPeriod(t),i=this.manifestService.isTimeNearPeriodEnd(e,this.context.settings.END_OF_BUFFER_TOLERANCE);if(n&&i){var r=this.manifestService.getNextPeriod(t);this.logger.debug("Timeshift target too close to end of period ".concat(t,", adjusting target from ").concat(e)+" to ".concat(r.start,", i.e. next period\'s start.")),e=r.start}return e},e.prototype.timeShift=function(e,t,n){var i=this;void 0===n&&(n=!1),this.initialTimeShiftContext||this.adjustTargetBufferLevel(this.calculateAvailableBufferLength()),e=Math.max(this.getMaxTimeShift(),e);var r=this.mediaPlayerController.getCurrentTime(),a=this.calculatePlaybackTimeForTimeShiftOffset(e),o=this.manifestService.getPeriodIdForTime(a);this.timeShiftCounter++;var s=this.timeShiftCounter,_=n||this.bufferController.shouldBuffersBeCleared(a);return this.logger.debug("Performing timeShift to offset ".concat(e,", time: ").concat(r," -> ").concat(a,", period: ").concat(o)),this.bufferController.setTimeshiftCancelState(!1),this.mediaPlayerController.updatePeriodForTimeshift(o,!this.initialTimeShiftContext),this.initialTimeShiftContext&&this.maybeResetTransmuxerForPtsRollover(a),_&&this.segmentControllers.forEach(function(e){return e.seekTo(a)}),this.updateInitialTimeShiftContext(!0),this.bufferController.setCurrentTime(a,o,!0,n).then(function(n){i.logger.debug("Successful timeShift to ".concat(n,", hit target time with a diff of ").concat(n-a)),i.updateInitialTimeShiftContext(!1),i.lastTimeShiftStatus={offset:e,completionDate:Date.now(),reachedTime:n},i.timeShiftCounter===s&&t?t():t&&i.context.logger.debug("Timeshift to ".concat(e," has finished but a newer operation has been started"))}).catch(function(e){i.logger.debug("Failed to set currentTime on timeShift",e)}).finally(function(){return i.bufferController.setTimeshiftCancelState(!1)})},e.prototype.maybeResetTransmuxerForPtsRollover=function(e){var t;if(this.manifestService.isHlsManifest()){var n=this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.sourceIdentifier);(function(e,t){var n,i,r=null!==(i=null===(n=null==e?void 0:e.timestampRolloverPositions)||void 0===n?void 0:n.next)&&void 0!==i?i:-1;return-1!==r&&(t>=r||t<=e.timestampRolloverPositions.previous)})(null===(t=o.ModuleManager.get(s.ModuleName.HLS))||void 0===t?void 0:t.selectors.getHlsState(null==n?void 0:n.getState()),e)&&(this.context.logger.debug("Resetting transmuxer because target is beyond a timestamp rollover"),this.mediaPlayerController.resetTransmuxer())}},e.prototype.cancel=function(){this.context.logger.debug("Cancelling ongoing time shift operation..."),this.bufferController.setTimeshiftCancelState(!0)},e.prototype.calculatePlaybackTimeForTimeShiftOffset=function(e){var t=this.manifestService.getDesiredDistanceToLiveEdge(),n=this.calculateLiveEdgeInVideoTime()+(e-t);return this.manifestService.hasMultiplePeriods()&&(n=this.adjustTargetTime(n)),n},e.prototype.onManifestUpdate=function(){if(this.manifestService.isLive()){var e=this.getActualTimeShift(!0),t=this.calculateAvailableBufferLength(),n=this.getMaxTimeShift()-t.minSegmentDuration;this.adjustTargetBufferLevel(t),e-1&&this.cachedSegments.splice(t,1)},e.prototype.clearSegments=function(e){this.cachedSegments=this.cachedSegments.filter(function(t){return t.segment.getMimeType()!==e})},e.prototype.getPrecedingSegments=function(e,t){var n=[];return this.cachedSegments.forEach(function(i){var r=i.segment,a=r.isInit(),o=r.getMimeType()!==e;!a&&!o&&r.getPlaybackTime()+r.getDuration()n.end&&(n.end=r)):this.getBlockState(t).playbackTimeRange={start:i,end:r}},e.prototype.getPlaybackTimeRange=function(e){var t,n;return null!==(n=null===(t=this.getBlockState(e))||void 0===t?void 0:t.playbackTimeRange)&&void 0!==n?n:null},e.prototype.getId=function(){return this.id},e.prototype.getPeriodId=function(){return this.periodId},e.prototype.getMinCommonStartTime=function(){return(0,r.getValues)(this.blockStateMap).filter(function(e){return e.playbackTimeRange}).map(function(e){return e.playbackTimeRange}).reduce(function(e,t){return Math.max(t.start,e)},-1/0)},e.prototype.getCommonPlaybackTimeRanges=function(){return(0,r.getValues)(this.blockStateMap).filter(function(e){return e.playbackTimeRange}).map(function(e){return e.playbackTimeRange}).reduce(function(e,t){return{start:Math.max(t.start,e.start),end:Math.min(t.end,e.end)}},{start:-1/0,end:1/0})},e.prototype.setMaxSegmentDuration=function(e,t){this.blockStateMap.has(e)||this.initializeBlockStateMapForMimeType(e),this.getBlockState(e).maxSegmentDuration=t},e.prototype.getMaxSegmentDuration=function(e){var t;return(null===(t=this.getBlockState(e))||void 0===t?void 0:t.maxSegmentDuration)||0},e.prototype.hasMaxSegmentDuration=function(e){var t;return null!=(null===(t=this.getBlockState(e))||void 0===t?void 0:t.maxSegmentDuration)},e.prototype.hasMaxSegmentDurations=function(){return Boolean((0,r.getValues)(this.blockStateMap).map(function(e){return e.maxSegmentDuration}).find(function(e){return e>=0}))},e.prototype.getMinMaxSegmentDuration=function(){var e=Number.MAX_VALUE;return(0,r.getValues)(this.blockStateMap).map(function(e){return e.maxSegmentDuration}).forEach(function(t){return e=t0},e.prototype.getNextSegment=function(){var e=this.cachedSegments.filter(function(e){return!e.pendingRemoval});if(0===e.length)return null;var t=e.find(function(t){return e.filter(function(e){return t.segment.getMimeType()===e.segment.getMimeType()}).some(function(e){return!e.segment.isInit()})});return t?(t.pendingRemoval=!0,t.segment):null},e.prototype.removeLastInitSegment=function(e){var t=this.getAllSegmentsForMimeType(e);if(t.length>0){var n=t[t.length-1];n.isInit()&&this.removeSegment(n)}},e.prototype.getBlockState=function(e){return this.blockStateMap.get(e)},Object.defineProperty(e.prototype,"mediaTypes",{get:function(){var e={};return this.blockStateMap.forEach(function(t,n){e[n]=t.mediaType}),e},enumerable:!1,configurable:!0}),e}();function o(e,t,n){e.hasOwnProperty(t)&&n(e[t])}t.BufferBlock=a},76812:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.areBufferBlocksEqual=void 0,t.areBufferBlocksEqual=function(e,t){return!(!e||!t)&&e===t}},58400:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n(r.renderer.getDuration()||0)&&r.setDurationOnRenderer()},this.setDurationOnRenderer=function(){r.finishPlayback||r.renderer.setDuration(r.totalDuration)},this.onRendererSetupFailed=function(e){r.context.logger.debug("Renderer setup failed with",e)},this.onBufferChanged=function(e){var t=r.getRendererRangesFromStore(e)[0];t&&r.bufferStartTimes.set(e,t.start)},this.onVideoElementTimeUpdate=function(){var e,t=r.context.serviceManager.get(s.ServiceName.PlayerStateService),n=Date.now()-r.lastBufferClearingTimestamp>r.minimalBackwardBufferClearingInterval,i=null!==(e=null==t?void 0:t.seekingOrTimeshifting)&&void 0!==e&&e;!(n&&!i)&&t.isPlaying()||r.checkBackwardBufferLevel(),r.checkIfEndOfBufferReached(r.settings.END_OF_BUFFER_TOLERANCE)},this.onTimeNotAdvancing=function(){var e=r.settings.END_OF_BUFFER_RECOVERY_TOLERANCE,t=r.segmentStore.getBufferBlock(r.currentPlayingBufferBlockId);r.isAtEndOfBufferBlock()&&t&&(e=r.segmentStore.getSmallestMaxSegmentDuration(t)),r.checkIfEndOfBufferReached(e)},this.onVideoElementEnded=function(){var e;if(!r.isSwitchingBufferBlock){var t=null===(e=r.segmentStore)||void 0===e?void 0:e.getNextBufferBlock(r.currentPlayingBufferBlockId);if(t){var n=r.renderer.getCurrentTime(!0);r.tryToSwitchBufferBlock(n,t)}}},this.onVideoElementStalled=function(){r.checkIfEndOfBufferReached(r.settings.END_OF_BUFFER_RECOVERY_TOLERANCE)},this.context=e,this.logger=e.logger,this.settings=e.settings,this.bufferSettings=e.bufferSettings,this.eventHandler=e.eventHandler,this.renderer=e.renderer,this.manifestService=e.serviceManager.get(s.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),this.segmentStore=new G.SegmentStore(this.settings),this.endStallAtGapCallback=t,this.bufferStallingService=new H.BufferStallingService(this.getPlayerStateService(),this.logger,this.context.renderer),this.currentPlayingPeriodId=i,this.lastPlayingPeriodId=null,this.totalDuration=n,this.seekTarget=null,this.delayedBufferBlockSwitchContext=null,this.currentPlayingBufferBlockId=G.INITIAL_BUFFER_BLOCK_ID,this.isSwitchingBufferBlock=!1,this.bufferStartTimes=new Map,this.dataSegmentsPushedMap=new Map,this.isEndOfStreamReached=!1,this.lastBufferClearingTimestamp=0,this.minimalBackwardBufferClearingInterval=(0,T.toMilliSeconds)(this.context.settings.MINIMAL_BACKWARD_BUFFER_CLEARING_INTERVAL),this.discontinuitySequenceNumbers=new Map,this.currentBufferBlockDeferredReject=new j.DeferredReject,this.drmConfigValidPromise=Promise.resolve(null),this.bufferRangesCache=new F.BufferRangesCache(this.context,this.segmentStore),this.susbscribeToPlaybackStoppedStateChange(),this.renderer.ready().then(function(){r.setDurationOnRenderer(),r.shouldSendLicenseRequestsImmediately()&&r.setupDRM()}).catch(this.onRendererSetupFailed)}return e.prototype.susbscribeToPlaybackStoppedStateChange=function(){var e=this,t=this.context.store;void 0!==t&&(this.unsubscribeFromStoreStoppedListener=(0,v.subscribe)(t)(function(e){return e&&(0,p.getIsStopped)((0,p.getPlayerState)(e))},function(){return e.hasStreamEndedInternal=!0},function(e){return!0===e}))},Object.defineProperty(e.prototype,"isCurrentlyStalled",{get:function(){return this.bufferStallingService.isRendererStalling()},enumerable:!1,configurable:!0}),e.prototype.shouldSendLicenseRequestsImmediately=function(){var e,t;return Boolean(null===(t=(0,O.getDrmState)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState()))||void 0===t?void 0:t.immediateLicenseRequest)},e.prototype.createSourceBuffers=function(e){var t=this,n=Promise.resolve();return this.bufferCreationDeferred=new y.Deferred,this.isStartup||(n=this.renderer.shutdown(!0)),this.activeInitSegments={},this.bufferCreationDeferred.resolve(n.then(function(){return t.renderer.ready()}).then(function(){return t.setDurationOnRenderer(),t.clearBufferMaxSizeChangedSubscription(),e.forEach(function(e){var n=e.mimeType;t.addMimeTypeAndCodec(n,e.codec)||(t.logger.debug("Could not create source buffer for ".concat(n)),t.context.store.dispatch((0,d.removeMetricsForMimeType)(n))),t.subscribeToBufferMaxSizeChanged(n)}),t.currentRendererMediaTypes=e.filter(function(e){return S.MimeTypeHelper.isAV(e.mimeType)}),t.setupDRM(),Promise.resolve(t.currentRendererMediaTypes.length)})),this.bufferCreationDeferred.promise.catch(function(e){return t.logger.warn(e)}).then(function(){t.bufferCreationDeferred=null}),this.bufferCreationDeferred.promise},e.prototype.subscribeToBufferMaxSizeChanged=function(e){var t=this,n=this.getSourceStore();n&&(this.bufferMaxSizeChangedSubscriptionMap[e]=n.subscribe(function(){return t.adjustMaxBufferLevels(e)},(0,m.hasBufferMaxSizeChanged)(e)))},e.prototype.unsubscribeFromBufferMaxSizeChanged=function(e){var t=this.bufferMaxSizeChangedSubscriptionMap[e];t&&(t(),delete this.bufferMaxSizeChangedSubscriptionMap[e])},e.prototype.setupDRM=function(){var e,t=this,n=(0,O.getDrmState)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState());if(void 0!==n&&Object.keys(n).length>0){var r=i(i({},this.context.sourceContext.source),{drm:n}),a=this.manifestService.getDRMCapabilitiesForPeriod(this.currentPlayingPeriodId);Object.keys(l.KeySystemMap).some(function(e){return r.drm.hasOwnProperty(e)})&&(this.drmConfigValidPromise=this.renderer.setDrmConfig(n,a),this.drmConfigValidPromise.catch(function(){t.logger.warn("Could not initialize renderer with given DRM config")}))}},e.prototype.getSourceStore=function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.tryToSwitchBufferBlockAfterBufferClear=function(){var e=this;return this.timeshiftBufferClearingPromise?this.timeshiftBufferClearingPromise.catch(function(){return e.timeshiftBufferClearingPromise=void 0,e.isTimeshiftCancelled=!0,Promise.reject("Failed to clear buffer on timeshift, stopping segment cache processing")}).then(function(t){if(e.timeshiftBufferClearingPromise=void 0,e.isTimeshiftCancelled)return e.isTimeshiftCancelled=!1,Promise.reject("Timeshift cancelled, stopping segment cache processing");var n=e.findBufferBlockForTime(t);return e.tryToSwitchBufferBlock(t,n)}):Promise.resolve()},e.prototype.addSegment=function(e){var t=this;if(!this.segmentStore)return Promise.reject("Skipping segment processing, segment store is already disposed");this.logger.insane("adding segment to cache for period ".concat(e.getPeriodId()," with playback time ").concat(e.getPlaybackTime(),"\\n and mime type ").concat(e.getMimeType())),this.segmentStore.addSegment(e),this.subscribeToManifestChange();var n=(0,x.getTrackIdentifier)(e.getSegmentInfo()),i=this.getSourceStore(),r=e.getPlaybackTimeRange();r&&(null==i||i.dispatch((0,D.removeStreamTimeRange)(n,r,x.StreamTimeRangeType.Loading))),null==i||i.dispatch((0,b.addLoadedRange)(n,(0,w.segmentToBufferBlockTimeRange)(e)));var a=this.segmentStore.getBufferBlockForSegment(e);if(this.areBufferBlockMediaTypesFinal(e.getPeriodId())){if(this.delayedBufferBlockSwitchContext&&!this.segmentStore.canSwitchToBufferBlock(this.delayedBufferBlockSwitchContext.time,a))return Promise.resolve();var o=Promise.resolve();if(this.timeshiftBufferClearingPromise)o=this.tryToSwitchBufferBlockAfterBufferClear();else if(this.delayedBufferBlockSwitchContext)o=this.tryToSwitchBufferBlock(this.delayedBufferBlockSwitchContext.time,a);else if(this.isSwitchingBufferBlock||this.isBufferAvailable()||this.bufferCreationDeferred)this.bufferCreationDeferred&&(o=this.bufferCreationDeferred.promise);else{var s=a.getMediaTypes();o=this.createSourceBuffers(s)}return o.then(function(){return t.renderer?t.renderer.ready():Promise.reject("Stopping queue processing, renderer is not available")}).then(function(){return t.processSegmentCache()})}return Promise.resolve()},e.prototype.removePrecedingSegmentsFromStore=function(e,t){var n=this;this.segmentStore&&this.segmentStore.getPrecedingSegments(e,t).forEach(function(e){var t;n.segmentStore.removeSegment(e),null===(t=n.getSourceStore())||void 0===t||t.dispatch((0,b.removeLoadedRange)(e.getMimeType(),(0,w.segmentToBufferBlockTimeRange)(e)))})},e.prototype.clearBackwardBuffer=function(e,t){var n=this,i=S.MimeTypeHelper.isAudio(e)?c.MediaType.Audio:c.MediaType.Video,r=this.bufferSettings.getBackwardTargetLevel(i),a=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId);if(this.removePrecedingSegmentsFromStore(e,t-r),!a||!a.hasMaxSegmentDuration(e))return Promise.resolve();var o=a.getMaxSegmentDuration(e)+1,s=t-Math.max(o,r);return s0&&(this.minimalBackwardBufferClearingInterval=(0,T.toMilliSeconds)(i/2)),this.bufferStartTimes.forEach(function(n,i){var r=S.MimeTypeHelper.isAudio(i)?c.MediaType.Audio:c.MediaType.Video,a=e.bufferSettings.getBackwardTargetLevel(r);t-a>n&&e.clearBackwardBuffer(i,t).catch(function(t){e.context.logger.debug("Could not clear backward buffer",t)})})}},e.prototype.setEndOfStream=function(e){return e&&this.suspendEosSignalling||!this.renderer?(this.logger.debug("Skipping setting EOS"),Promise.resolve()):(this.isEndOfStreamReached=e,this.renderer.setEndOfStream(e))},e.prototype.adjustMaxBufferLevels=function(e){var t,n=(0,m.getBufferState)(null===(t=this.getSourceStore())||void 0===t?void 0:t.getState()),i=void 0!==n?(0,m.getBufferMaxSize)(n,e):m.DefaultBufferMaxSize;if(this.logger.debug("Exceeded quota for ".concat(e," with ").concat(i," seconds of data in the buffers")),!this.context.settings.NO_QUOTA_EXCEEDED_ADJUSTMENT){var r=this.renderer.getCurrentTime(),a=this.segmentStore.getSmallestSafeBufferSize(r,e);this.bufferSettings.adjustMaxBufferLevels(a,e,i)}},e.prototype.getLowestPlaybackTimeForAllSegments=function(e){return e.filter(function(e){return!e.isInit()}).map(function(e){return e.getPlaybackTime()}).reduce(function(e,t){return Math.min(t,e)},0)},e.prototype.updateTimestampOffsetForNegativePlaybackTime=function(){var e=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId),t=this.segmentStore.getAllSegmentsFromBufferBlock(e).toArray(),n=this.getLowestPlaybackTimeForAllSegments(t);n<0&&(this.eventHandler.dispatchEvent(u.PlayerEvent.Warning,new N.PlayerWarning(L.WarningCode.PLAYBACK_NEGATIVE_DECODING_TIMESTAMP_ENCOUNTERED)),this.logger.debug("Encountered negative DTS ".concat(n,", attempting to correct PTO...")),this.currentRendererMediaTypes.forEach(function(e){null!=e.timestampOffset&&(e.timestampOffset+=n,t.filter(function(t){return t.getMimeType()===e.mimeType}).forEach(function(t){return t.setPresentationTimeOffset(e.timestampOffset)}))}))},e.prototype.processSegmentCache=function(){var e=this;return this.isStartup?this.isStartupThresholdReached()?(this.updateTimestampOffsetForNegativePlaybackTime(),this.updateTimestampOffsets(),this.pushSegmentsToRenderer(1/0).then(function(){return e.endStartupPhase()})):Promise.resolve():this.pushSegmentsToRenderer(1/0)},e.prototype.getBufferedRangesMap=function(e,t){var n;void 0===e&&(e=this.currentPlayingPeriodId),void 0===t&&(t=!0);var i=(0,m.getBufferState)(null===(n=this.getSourceStore())||void 0===n?void 0:n.getState());return e&&void 0!==i?t?this.bufferRangesCache.getRanges(i):(0,m.getRendererBufferRangesMap)(this.segmentStore,i)(e,this.currentPlayingBufferBlockId):{}},e.prototype.addSegmentsFromCacheToRenderer=function(e,t){var n=this;if(!this.segmentStore)return Promise.resolve();var i=this.segmentStore.getAllSegmentsFromBufferBlock(e),a=i.hasNext()&&i.next();return a?(this.segmentStore.removeSegment(a),a.getPeriodId()!==this.currentPlayingPeriodId&&(this.context.store.dispatch((0,R.periodSwitchStarted)(a.getPeriodId())),this.eventHandler.dispatchEvent(u.PlayerEvent.PeriodSwitch,{sourcePeriod:{periodId:this.currentPlayingPeriodId},targetPeriod:{periodId:a.getPeriodId()}})),this.addDataSegmentToRenderer(a).catch(function(e){n.logger.warn("Could not add segment to renderer mimeType: ".concat(a.getMimeType(),",\\n playbackTime: ").concat(a.getPlaybackTime()),e)}).then(function(){var i;a.isInit()||null===(i=n.getSourceStore())||void 0===i||i.dispatch((0,b.removeLoadedRange)(a.getMimeType(),(0,w.segmentToBufferBlockTimeRange)(a))),n.dataSegmentsPushedMap.set(a.getMimeType(),!a.isInit());var o=r.BufferRangeHelper.getTotalCommonBufferLength(n.getBufferedRangesMap(n.currentPlayingPeriodId));return n.currentPlayingPeriodId=a.getPeriodId(),!n.isSwitchingBufferBlock||o=e?r:e;this.tryToSwitchBufferBlock(a,n)}else this.getRemainingTime()>0&&!this.finishPlayback&&(this.startStalling(),this.resetCurrentTimeOnSegment())},e.prototype.isBufferBlockSwitchOngoing=function(){return this.isSwitchingBufferBlock},e.prototype.isAtEndOfBufferBlock=function(){var e=this.segmentStore.getBufferBlock(this.currentPlayingBufferBlockId);return!e.getNextSegment()||!!this.segmentStore&&this.segmentStore.isLoadingNextBufferBlock(e.getId())},e.prototype.readyToSeek=function(){return this.currentBufferBlockSwitchPromise?(this.logger.debug("Awaiting ongoing buffer block switch before seek"),this.currentBufferBlockSwitchPromise.then(function(){}).catch(function(){})):Promise.resolve()},e.prototype.shouldBuffersBeCleared=function(e){var t=this.renderer.getCurrentTime();return!this.isTimeInBufferedRange(e)||e0?Math.min.apply(Math,i):0},e.prototype.isStartupThresholdReached=function(){var e=Math.abs(this.manifestService.getTimeShiftBufferDepthSeconds()),t=this.bufferSettings.getForwardTargetLevel();0!==e&&(t=Math.min(t,e));var n=Math.min(this.settings.STARTUP_THRESHOLD,t-this.settings.STARTUP_THRESHOLD_DELTA),i=this.getLowestBufferLevel();return i>=n||i>=this.getRemainingTime()},e.prototype.getInitialPlaybackTime=function(){if(this.startupPlaybackTime)return this.startupPlaybackTime;var e=this.getCurrentTimeRespectingTarget();if(!this.isBufferAvailable())return e;if(this.isInBufferedRange(e))return this.startupPlaybackTime=e;var t=this.currentRendererMediaTypes.map(function(e){return e.mimeType}),n=this.segmentStore.getPlaybackTimesForBufferBlock(this.currentPlayingBufferBlockId,t);return n.some(function(e){return!isFinite(e)})?e:this.startupPlaybackTime=Math.max.apply(Math,n)},e.prototype.getRemainingTime=function(){return this.manifestService.isLive()?1/0:this.renderer.getDuration()-this.getCurrentTimeRespectingTarget()},e.prototype.endStartupPhase=function(){if(this.isStartup){var e=Date.now(),t=(0,f.getMetricsState)(this.context.store.getState()),n=(0,f.getMetricsLastEntry)(t,"default",h.MetricType.StartTime).value,i=(0,T.toSeconds)(e-n);this.context.store.dispatch((0,d.addMetricsValue)("default",h.MetricType.StartupTimeSeconds,i)),isNaN(i)||this.logger.debug("start up time: ".concat(i)),this.isStartup=!1,this.endStalling()}},e.prototype.resetCurrentTimeInBufferedRange=function(e){var t=this.renderer.getCurrentTime(!0);e.isInit()&&S.MimeTypeHelper.isVideo(e.getMimeType())&&this.isCurrentlyStalled&&r.BufferRangeHelper.isInBufferedRange(this.getBufferedRangesMap(this.manifestService.getPeriodIdForTime(t)),t)&&(this.context.videoElement.currentTime=this.context.videoElement.currentTime)},e.prototype.processDrmInitData=function(e){var t=this;e.getDrmInitData().filter(function(e){var t;return(null===(t=e.kid)||void 0===t?void 0:t.length)>0}).forEach(function(n){\nreturn t.manifestService.setRepresentationDrmKid(e.getRepresentationId(),n.kid[0])})},e.prototype.addDataSegmentToRenderer=function(e){var t=this,n=S.MimeTypeHelper.extractContentType(e.getMimeType());if(this.activeInitSegments[n]!==e.getInitSegment()){var i=e.getInitSegment();return this.activeInitSegments[n]=i,Promise.all([i,e].map(function(e){return t.addSegmentToRenderer(e)})).then()}return this.addSegmentToRenderer(e)},e.prototype.addSegmentToRenderer=function(e){var t=this;return e.hasDrmInitData()&&this.processDrmInitData(e),this.drmConfigValidPromise.catch(function(n){if(e.isEncrypted())throw t.context.eventHandler.fireError(function(e){return C.ModuleManager.has(I.ModuleName.DRM)?new o.PlayerError(a.ErrorCode.DRM_NO_KEY_SYSTEM,{reason:e}):new P.PlayerModuleMissingError(I.ModuleName.DRM)}(n)),"DRMConfig failure";t.logger.debug("Problem ensuring segment, error:",n)}).then(function(){return t.resetCurrentTimeInBufferedRange(e),t.maybeSetTimestampOffsetOnDiscontinuity(e),t.renderer.appendData(e).catch(function(e){t.logger.debug("could not append data to renderer",e)})})},e.prototype.maybeSetTimestampOffsetOnDiscontinuity=function(e){if(!e.isInit()){var t=e.getSegmentInfo().discontinuitySequenceNumber,n=e.getMimeType();if(t!==this.discontinuitySequenceNumbers.get(n)){var i=e.getPresentationTimeOffset();if(isFinite(i)){this.renderer.setTimestampOffset(n,-i);var r=this.currentRendererMediaTypes.find(function(e){return e.mimeType===n});r&&(r.timestampOffset=i,this.updateMediaType(e.getPeriodId(),r))}this.discontinuitySequenceNumbers.set(n,t)}}},e.prototype.isRestartThresholdReached=function(){if(!this.bufferSettings)return!1;var e=this.settings.RESTART_THRESHOLD;(0,$.isWebOS)()&&(e=Math.max(e,1.5));var t=this.bufferSettings.getForwardTargetLevel(),n=Math.min(e,t-this.settings.RESTART_THRESHOLD_DELTA,this.getRemainingTime());return this.getLowestBufferLevel()>=n},e.prototype.isAllowedToStall=function(){return!this.isStartup&&!this.isSwitchingBufferBlock},e.prototype.startStalling=function(){this.isAllowedToStall()&&this.bufferStallingService.startStalling()},e.prototype.getPlayerStateService=function(){return this.context.serviceManager.get(s.ServiceName.PlayerStateService)},e.prototype.isEndingStallAtGap=function(){var e=this.getCurrentTimeRespectingTarget(),t=this.getLowestBufferLevel(e,!1),n=this.getLowestBufferLevel(e,!0),i=t>=this.settings.RESTART_THRESHOLD,r=t>=this.getRemainingTime()||this.finishPlayback,a=n>t,o=this.getPlayerStateService().seekingOrTimeshifting;return!i&&!r&&!o&&a&&this.bufferStallingService.isRendererStalling()},e.prototype.endStalling=function(){if(!this.isSwitchingBufferBlock)return this.isEndingStallAtGap()?(this.logger.debug("Ending stall at the gap"),void this.endStallAtGapCallback()):void this.bufferStallingService.endStalling();this.logger.debug("Ending stall was aborted due to buffer block switching")},e.prototype.getCurrentTimeRespectingTarget=function(){return null!=this.seekTarget?this.seekTarget:this.renderer.getCurrentTime()},e.prototype.getCurrentPlayingBufferBlockId=function(){return this.segmentStore.getCurrentBufferBlockId()},e.prototype.hasPendingSegments=function(e){return e=e||this.getCurrentPlayingBufferBlockId(),this.segmentStore.getFutureBufferBlocks(e).some(function(e){return e.hasSegments()})},e.prototype.getOverallBufferLevel=function(e,t,n,i){void 0===t&&(t=this.renderer.getCurrentTime()),void 0===n&&(n=c.BufferType.ForwardDuration),void 0===i&&(i=!0),this.isStartup&&(t=this.getInitialPlaybackTime());var a=this.getBufferedRangesMap(this.currentPlayingPeriodId)[e];return a&&0!==a.length?(a=i?r.BufferRangeHelper.mergeRanges(a.concat(r.BufferRangeHelper.findGapsInRanges(a)),this.settings.GAP_TOLERANCE):a.filter(function(e){return e.start<=t&&t<=e.end}),r.BufferRangeHelper.getBufferLevel(a,t,n)):0},e.prototype.hasFutureCommonBuffer=function(e){return void 0===e&&(e=this.renderer.getCurrentTime()),r.BufferRangeHelper.getCommonBufferedRanges(this.getBufferedRangesMap(this.currentPlayingPeriodId)).some(function(t){return t.getEnd()>e})},e.prototype.hasFutureBufferBlockData=function(){return Boolean(this.segmentStore.getNextBufferBlock(this.currentPlayingBufferBlockId))||this.isSwitchingBufferBlock},e.prototype.isInBufferedRange=function(e,t){var n=t||this.manifestService.getPeriodIdForTime(e);return r.BufferRangeHelper.isInBufferedRange(this.getBufferedRangesMap(n),e)},e.prototype.isStarted=function(){return this.isAlreadyStarted},e.prototype.hasStreamEnded=function(){return this.hasStreamEndedInternal},e.prototype.unsubscribeFromBufferChanges=function(){void 0!==this.unsubscribeFromRendererBufferChanges&&(this.unsubscribeFromRendererBufferChanges(),this.unsubscribeFromRendererBufferChanges=void 0)},e.prototype.subscribeToBufferChanges=function(){var e=this;this.unsubscribeFromBufferChanges();var t=this.getSourceStore();void 0!==t&&(this.unsubscribeFromRendererBufferChanges=(0,g.subscribeToRendererBufferChanges)(t,function(t){return e.onBufferChanged(t)}))},e.prototype.subscribeToManifestChange=function(){var e;if(!this.unsubscribeFromManifestChange){var t=this.getSourceStore();void 0!==t&&void 0!==(null===(e=t.getState())||void 0===e?void 0:e.manifest)&&(this.unsubscribeFromManifestChange=(0,v.subscribe)(t)(M.getManifest,this.updateTotalDuration))}},e.prototype.stop=function(e){void 0===e&&(e=!1),this.finishPlayback=!0,this.isAlreadyStarted=!1,this.isStartup=!1,e?(this.renderer.end(),this.hasStreamEndedInternal=!0,this.logger.debug("stopped playback"),this.renderer.off(A.MediaElementEvent.stalled,this.onVideoElementStalled),this.renderer.off(A.MediaElementEvent.waiting,this.onVideoElementStalled),this.renderer.off(A.MediaElementEvent.ended,this.onVideoElementEnded),this.renderer.off(A.MediaElementEvent.timeupdate,this.onVideoElementTimeUpdate),this.renderer.off(A.MediaElementEvent.currenttimenotadvancing,this.onTimeNotAdvancing),this.unsubscribeFromBufferChanges(),this.unsubscribeFromManifestChange&&(this.unsubscribeFromManifestChange(),this.unsubscribeFromManifestChange=void 0),void 0!==this.unsubscribeFromStoreStoppedListener&&(this.unsubscribeFromStoreStoppedListener(),this.unsubscribeFromStoreStoppedListener=void 0),this.clearBufferMaxSizeChangedSubscription(),this.dataSegmentsPushedMap.clear()):this.endStalling()},e.prototype.hasStopped=function(){return this.finishPlayback},e.prototype.clearBufferMaxSizeChangedSubscription=function(){var e=this;Object.keys(this.bufferMaxSizeChangedSubscriptionMap).forEach(function(t){return e.unsubscribeFromBufferMaxSizeChanged(t)})},e.prototype.restart=function(){this.finishPlayback=!1,this.isAlreadyStarted||(this.isAlreadyStarted=!0,this.renderer.on(A.MediaElementEvent.stalled,this.onVideoElementStalled),this.renderer.on(A.MediaElementEvent.waiting,this.onVideoElementStalled),this.renderer.on(A.MediaElementEvent.ended,this.onVideoElementEnded),this.renderer.on(A.MediaElementEvent.timeupdate,this.onVideoElementTimeUpdate),this.renderer.on(A.MediaElementEvent.currenttimenotadvancing,this.onTimeNotAdvancing),this.subscribeToBufferChanges()),this.hasStreamEndedInternal=!1},e.prototype.dispose=function(){var e;this.stop(!0),this.renderer=null,this.eventHandler=null,this.settings=null,this.bufferSettings=null,this.eventHandler=null,this.segmentStore=void 0,this.activeInitSegments=null,null===(e=this.getSourceStore())||void 0===e||e.dispatch((0,b.resetLoadedRanges)()),this.bufferRangesCache.dispose(),this.currentRendererMediaTypes=[],this.clearBufferMaxSizeChangedSubscription(),this.drmConfigValidPromise=null,this.bufferStallingService=(0,_.dispose)(this.bufferStallingService)},e.prototype.changeBufferType=function(e,t){var n,i,r=this,a=this.currentRendererMediaTypes.find(function(t){return S.MimeTypeHelper.getMediaType(t.mimeType)===S.MimeTypeHelper.getMediaType(e)});return a&&(this.currentRendererMediaTypes.splice(this.currentRendererMediaTypes.indexOf(a),1),this.currentRendererMediaTypes.push({mimeType:e,codec:t,timestampOffset:0}),this.unsubscribeFromBufferMaxSizeChanged(a.mimeType),null===(i=this.getSourceStore())||void 0===i||i.dispatch((0,b.resetLoadedRanges)(a.mimeType))),this.subscribeToBufferMaxSizeChanged(e),this.segmentStore.changeMediaType(e,null==a?void 0:a.mimeType),this.bufferStartTimes.delete(null==a?void 0:a.mimeType),this.activeInitSegments={},a?this.renderer.changeBufferType(e,t).finally(function(){return r.subscribeToBufferChanges()}):Promise.resolve(((n={})[e]=t,n))},e.prototype.addRequiredMediaType=function(e,t){this.segmentStore.addRequiredMediaType(e,t)},e.prototype.updateMediaType=function(e,t){this.segmentStore.updateMediaType(e,t)},e.prototype.areBufferBlockMediaTypesFinal=function(e){var t,n;return null!==(n=null===(t=this.segmentStore)||void 0===t?void 0:t.areBufferBlockMediaTypesFinal(e))&&void 0!==n&&n},e.prototype.clearCacheForMimeType=function(e){var t;null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,b.resetLoadedRanges)(e)),this.segmentStore.clearSegments(e)},e.prototype.clearCache=function(){var e,t=this;Object.keys((0,U.getStreamTimeline)(null===(e=this.getSourceStore())||void 0===e?void 0:e.getState())).filter(function(e){return S.MimeTypeHelper.isAV(e)}).forEach(function(e){return t.clearCacheForMimeType(e)})},e.prototype.clearBuffers=function(){var e=this;this.isClearingBuffers=!0,this.startStalling(),this.clearCache();var t=this.clearRendererBuffers();return t.finally(function(){return e.isClearingBuffers=!1}),t},e.prototype.clearRendererBuffers=function(){var e=this;if(!this.isBufferAvailable())return Promise.resolve();var t=this.currentRendererMediaTypes.map(function(t){return e.clearBuffer(t.mimeType)});return Promise.all(t).then(function(){})},e.prototype.clearBuffer=function(e){var t=this;return this.renderer.removeData(e).catch(function(n){return t.logger.debug("Error clearing ".concat(e," buffer:"),n)})},e.prototype.isBufferAvailable=function(){return this.currentRendererMediaTypes.length>0},e}();function Y(e){return{periodId:e.getPeriodId(),contentInformation:e.getMediaTypes().map(function(t){return{codec:t.codec,mimeType:t.mimeType,isDrmProtected:e.getSegregationCriteria(t.mimeType).encryption===B.EncryptionState.Encrypted}})}}t.BufferController=q},11199:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferRangesCache=void 0;var i=n(59534),r=n(86705),a=n(28803),o=n(71705),s=function(){function e(e,t){var n=this;this.context=e,this.segmentStore=t,this.sourceStore=this.getSourceStore(),this.unsubscribeToStoreChange=(0,a.subscribe)(e.store)(o.sourceIdentifiersSelector,function(){return n.onSourceIdentifierChanged()},function(e,t){return!!e.includes(n.context.sourceContext.sourceIdentifier)&&(0,o.hasASourceStoreIdentifierChanged)(e,t)}),this.subscribeToBufferChange(),this.setNewCache((0,r.getBufferState)(this.sourceStore.getState()))}return e.prototype.onSourceIdentifierChanged=function(){this.sourceStore=this.getSourceStore(),this.sourceStore?(this.subscribeToBufferChange(),this.setNewCache((0,r.getBufferState)(this.sourceStore.getState()))):this.unsubscribeToBufferChange()},e.prototype.getSourceStore=function(){return this.context.serviceManager.get(i.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.unsubscribeToBufferChange=function(){this.unsubscribeToBufferRangeChange&&this.unsubscribeToBufferRangeChange(),this.unsubscribeToBufferRangeChange=void 0,this.unsubscribeToStoreChange=void 0},e.prototype.subscribeToBufferChange=function(){var e=this;this.unsubscribeToBufferChange(),this.unsubscribeToBufferRangeChange=(0,a.subscribe)(this.sourceStore)(function(e){return(0,r.getBufferState)(e)},function(t){return e.setNewCache(t)},r.hasBufferRangesChanged)},e.prototype.setNewCache=function(e){this.cachedBufferRanges={overallBufferRanges:(0,r.getBufferRangesMap)(this.segmentStore,e,this.context.settings.GAP_TOLERANCE)}},e.prototype.getRanges=function(e){return void 0!==this.unsubscribeToBufferRangeChange&&void 0!==this.cachedBufferRanges&&0!==Object.keys(this.cachedBufferRanges.overallBufferRanges).length||this.setNewCache(e),this.cachedBufferRanges.overallBufferRanges},e.prototype.dispose=function(){this.unsubscribeToBufferChange(),this.unsubscribeToStoreChange&&(this.unsubscribeToStoreChange(),this.unsubscribeToStoreChange=void 0),this.cachedBufferRanges=void 0},e}();t.BufferRangesCache=s},96733:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStallingService=void 0;var i=n(95212),r=n(15949),a=function(){function e(e,t,n){this.playerStateService=e,this.logger=t,this.renderer=n}return e.prototype.startStalling=function(){this.isRendererStalling()||(this.logger.debug("Stalling playback"),this.logger.insane("Video element stall started in state: ".concat(this.playerStateService.playbackState)),this.playerStateService.setIsRendererStalling(!0),this.playerStateService.isPlaying()&&(this.logger.insane("Call pause on renderer"),this.renderer.pause()))},e.prototype.endStalling=function(){var e=this;this.isRendererStalling()&&(this.logger.debug("Unstalling playback"),this.playerStateService.setIsRendererStalling(!1),[i.PlaybackState.Play,i.PlaybackState.Playing].includes(this.playerStateService.playbackState)&&(!this.playerStateService.seekingOrTimeshifting&&(0,r.getCapabilities)().isChromium&&(this.logger.insane("Resetting current time before unstalling"),this.renderer.setCurrentTime(this.renderer.getCurrentTime())),this.logger.insane("Call play on renderer"),this.renderer.play().catch(function(t){e.logger&&e.logger.insane("Play failed with reason: ".concat(t))})))},e.prototype.isRendererStalling=function(){return this.playerStateService.getIsRendererStalling()},e.prototype.dispose=function(){this.logger=null,this.playerStateService=null,this.renderer=null},e}();t.BufferStallingService=a},6862:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DeferredReject=void 0;var n=function(){function e(){this.rejected=!1}return e.prototype.reject=function(e){this.rejected=!0,this.rejectMessage=e},e.prototype.next=function(e){return this.rejected?Promise.reject(this.rejectMessage):e()},e}();t.DeferredReject=n},39972:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=e?Math.min(n.range.start,t):t},1/0)}(e.range.end,o);return t<=s&&s<=n});return null==_?void 0:_.block},e.prototype.addSegment=function(e){var t=this.segregation.getSegregationCriteria(e),n=this.findBestMatchingBufferBlockForSegment(e,t);n||(n=this.createNewBufferBlock(),this.bufferBlocks.push(n)),n.addSegment(e),n.getSegregationCriteria(e.getMimeType())||n.setSegregationCriteria(t,e.getMimeType());var i=e.getPeriodId(),r=e.getMimeType();this.delayedMediaTypeToSet[i]&&this.delayedMediaTypeToSet[i][r]&&(this.addRequiredMediaType(i,r),delete this.delayedMediaTypeToSet[i][r]),this.delayedMediaTypeToUpdate[i]&&this.delayedMediaTypeToUpdate[i][r]&&(this.updateMediaType(i,this.delayedMediaTypeToUpdate[i][r]),delete this.delayedMediaTypeToUpdate[i][r])},e.prototype.getNewBufferBlockId=function(){var e=this.bufferBlocks[this.bufferBlocks.length-1];return e?e.getId()+1:t.INITIAL_BUFFER_BLOCK_ID},e.prototype.createNewBufferBlock=function(){var e=this.getNewBufferBlockId();return new o.BufferBlock(e)},e.prototype.getMediaTypes=function(e){var t=this;return e&&this.requiredMediaTypes[e]?Object.keys(this.requiredMediaTypes[e]).map(function(n){return t.requiredMediaTypes[e][n]}):[]},e.prototype.getAllBufferBlocks=function(){return this.bufferBlocks},e.prototype.getCurrentBufferBlockId=function(){var e,n=this.bufferBlocks[0];return null!==(e=null==n?void 0:n.getId())&&void 0!==e?e:t.INITIAL_BUFFER_BLOCK_ID},e.prototype.deleteOldBufferBlocks=function(e){this.bufferBlocks=this.bufferBlocks.filter(function(t){return t.getId()>=e&&t.getAllSegments().length>0})},e.prototype.getActiveBufferBlock=function(){var e;return null!==(e=this.getBufferBlock(this.getCurrentBufferBlockId()))&&void 0!==e?e:null},e.prototype.getBufferBlock=function(e){return this.bufferBlocks.find(function(t){return t.getId()===e})},e.prototype.getBufferBlockForSegment=function(e){return this.getBufferBlock(e.getBufferBlockId())},e.prototype.getBufferBlockForPlaybackTime=function(e){var t=this,n=this.bufferBlocks.filter(function(n){var i=0===e?t.getSmallestMaxSegmentDuration(n)-.01:.01;return Object.keys(n.mediaTypes).filter(function(e){return a.MimeTypeHelper.isAV(e)}).every(function(t){var r,a;return(null===(r=n.getPlaybackTimeRange(t))||void 0===r?void 0:r.start)<=e+i&&(null===(a=n.getPlaybackTimeRange(t))||void 0===a?void 0:a.end)>=e})});return n[n.length-1]},e.prototype.getClosestFutureBufferBlock=function(e){return this.bufferBlocks.filter(function(t){return t.getMinCommonStartTime()>=e}).sort(function(e,t){return e.getMinCommonStartTime()-t.getMinCommonStartTime()})[0]},e.prototype.getNextSegment=function(){var e,t;return null!==(t=null===(e=this.getActiveBufferBlock())||void 0===e?void 0:e.getNextSegment())&&void 0!==t?t:null},e.prototype.removeSegment=function(e){var t=this.getBufferBlockForSegment(e);t&&t.removeSegment(e)},e.prototype.getAllSegmentsFromBufferBlock=function(e,t){if(!e)return r.EmptyIterator.getInstance();var n=e.getAllSegments();return t?new r.FilterIterator(new r.ArrayIterator(n),function(e){return e.getMimeType()===t}):new r.ArrayIterator(n)},e.prototype.getNextBufferBlock=function(e){return this.bufferBlocks.find(function(t){return t.getId()>e})},e.prototype.getFutureBufferBlocks=function(e){return this.bufferBlocks.filter(function(t){return t.getId()>=e})},e.prototype.getPrecedingSegments=function(e,t){return this.bufferBlocks.flatMap(function(n){return n.getPrecedingSegments(e,t)})},e.prototype.clearSegments=function(e){this.bufferBlocks.forEach(function(t){return t.clearSegments(e)})},e.prototype.getSmallestMaxSegmentDuration=function(e){return Boolean(e)&&e.hasMaxSegmentDurations()?e.getMinMaxSegmentDuration():-1},e.prototype.getSmallestSafeBufferSize=function(e,t){var n=this.getBufferBlockForPlaybackTime(e);return(null==n?void 0:n.hasMaxSegmentDuration(t))?n.getMaxSegmentDuration(t)+1:1},e.prototype.getAvailablePositionForTime=function(e,t){var n=e;if(t&&e>t){var i=this.getBufferBlockForPlaybackTime(e);i||(i=this.getClosestFutureBufferBlock(e))&&(n=i.getMinCommonStartTime())}return n},e.prototype.getPlaybackTimesForBufferBlock=function(e,t){var n=this,i=this.getBufferBlock(e);return t.map(function(e){var t=new r.FilterIterator(n.getAllSegmentsFromBufferBlock(i,e),function(e){return!e.isInit()});return t.hasNext()?t.next().getPlaybackTime():-1/0})},e.prototype.isLoadingNextBufferBlock=function(e){var t=this.getNextBufferBlock(e);return!!t&&this.hasDataSegmentsForBufferBlock(t)},e.prototype.shouldSwitchBufferBlock=function(e,t){return!(0,s.areBufferBlocksEqual)(e,this.getBufferBlock(t))},e}();function c(e){return e.map(function(e){return{range:e.getCommonPlaybackTimeRanges(),block:e}}).sort(function(e,t){return e.range.start-t.range.start})}t.SegmentStore=u},56727:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.canReuseSourceBuffer=t.areSegregationCriteriaEqual=t.Segregation=void 0;var i=n(94725),r=n(15949),a=n(38827),o=n(46381),s=n(8470),_=function(){function e(e,t){this.requiredMediaTypes=e,this.settings=t,this.requiredMediaTypes=e}return e.prototype.isRequiredMimeType=function(e,t){return void 0===t.getPeriodId()||Boolean(this.requiredMediaTypes[t.getPeriodId()]&&this.requiredMediaTypes[t.getPeriodId()][e.getMimeType()])},e.prototype.getSegregationCriteria=function(e){var t,n={encryption:c(e),codec:o.CodecStringHelper.extractCodec(e.getCodec()),periodId:e.getPeriodId()};if(((0,a.isTizen2016)()||(0,a.isWebOS)())&&this.settings.HLS_CLEAR_BUFFERS_ON_DISCONTINUITY_SWITCHES){var i=null===(t=e.getSegmentInfo())||void 0===t?void 0:t.discontinuitySequenceNumber;null!=i&&(n.discontinuityNumber=i)}return n},e.prototype.canAddSegmentToBufferBlock=function(e,t,n){var i=e.getMimeType(),r=t.getSegregationCriteria(i),a=this.isRequiredMimeType(e,t);return r?u(n,r):!(r||!a||t.getPeriodId()&&e.getPeriodId()!==t.getPeriodId())},e}();function u(e,t){return Object.keys(e).every(function(n){return t&&t[n]===e[n]})}function c(e){return e.isEncrypted()?s.EncryptionState.Encrypted:s.EncryptionState.Clear}function l(e,t){var n=e.getMediaTypes().find(function(e){return e.mimeType===t});return n?n.timescale:0}function d(){return(0,r.getCapabilities)().isTizen?b:(0,r.getCapabilities)().isLegacyEdge?v:(0,r.getCapabilities)()[i.CapabilityKey.isEdge]?m:(0,r.getCapabilities)()[i.CapabilityKey.isFirefox]?p:(0,r.getCapabilities)()[i.CapabilityKey.isWebOS]?g:h}function f(e,t,n){return{currentCriteria:e.getSegregationCriteria(n),nextCriteria:t.getSegregationCriteria(n)}}t.Segregation=_,t.areSegregationCriteriaEqual=u,t.canReuseSourceBuffer=function(e,t,n){var i=d();return n.every(function(n){var r=n.mimeType;return i.canReuseSourceBuffers(e,t,r)})};var h={canReuseSourceBuffers:function(e,t,n){var i=f(e,t,n),r=i.currentCriteria,a=i.nextCriteria;return $(r,a)&&y(r,a)}},p={canReuseSourceBuffers:function(e,t,n){var i=f(e,t,n);return $(i.currentCriteria,i.nextCriteria)}},b={canReuseSourceBuffers:function(e,t,n){var i=f(e,t,n),r=i.currentCriteria,o=i.nextCriteria,s=$(r,o)&&y(r,o)&&S(r,o),_=(0,a.isTizen2016)()&&!T(e,t,n);return!((0,a.isTizen2017)()||!s||_)}},m={canReuseSourceBuffers:function(e,t,n){var i=f(e,t,n),r=i.currentCriteria,a=i.nextCriteria,o=(null==r?void 0:r.encryption)===s.EncryptionState.Clear,_=(null==a?void 0:a.encryption)===s.EncryptionState.Clear;return $(r,a)&&o&&_}},g={canReuseSourceBuffers:function(e,t,n){var i=f(e,t,n),r=i.currentCriteria,a=i.nextCriteria;return $(r,a)&&y(r,a)&&S(r,a)&&T(e,t,n)&&!function(e,t){return(null==e?void 0:e.discontinuityNumber)===(null==t?void 0:t.discontinuityNumber)}(r,a)}},v={canReuseSourceBuffers:function(e,t,n){return!1}};function $(e,t){return(null==e?void 0:e.codec)===(null==t?void 0:t.codec)}function y(e,t){return(null==e?void 0:e.encryption)===(null==t?void 0:t.encryption)}function S(e,t){return(null==e?void 0:e.periodId)===(null==t?void 0:t.periodId)}function T(e,t,n){return l(e,n)===l(t,n)}},38426:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateUpdateDelayInMillis=t.AbstractUpdater=t.REPRESENTATION_UPDATE_CANCEL=void 0;var i=n(81028),r=n(80815);t.REPRESENTATION_UPDATE_CANCEL="CANCEL";var a=function(){function e(e){var t=this;this.updateCallbacks=e,this.handlePayloadUpdateError=function(e){t.publishErrorResponse(e),t.clearTimeout()},this.processPayload=function(e){t.success(e),t.clearTimeout(),t._isStopped||t.scheduleUpdate()},this._isStopped=!1}return e.prototype.cancel=function(){this._updateDeferred&&(this._updateDeferred.reject(t.REPRESENTATION_UPDATE_CANCEL),this.updateCallbacks.error(t.REPRESENTATION_UPDATE_CANCEL)),this.clearTimeout()},e.prototype.clearTimeout=function(){window.clearTimeout(this.updateTimeoutId),this.updateTimeoutId=null},e.prototype.stop=function(){null!==this.updateTimeoutId&&(this._isStopped=!0,this.cancel())},e.prototype.start=function(){this._isStopped=!1,this.scheduleUpdate()},e.prototype.scheduleUpdate=function(){this.updateTimeoutId||this._isStopped||this.initializeUpdate()},e.prototype.initializeUpdate=function(){var e=this,t=o(this.getLastReloadTimestamp(),this.getReloadIntervalInSeconds());if(!(t>2147483647)){var n=new i.Deferred,r={wasInvalidated:function(){return n!==e._updateDeferred}};n.promise.catch(function(){}),this._updateDeferred=n,this.updateTimeoutId=window.setTimeout(function(){return e.payloadUpdate(r)},t)}},e.prototype.payloadUpdate=function(e){var t=this;this.update().then(this.processPayload).catch(function(n){e.wasInvalidated()||t.handlePayloadUpdateError(n)})},e.prototype.publishErrorResponse=function(e){this._updateDeferred.reject(e),this.updateCallbacks.error(e)},e.prototype.success=function(e){this._updateDeferred.resolve(e),this.updateCallbacks.success(e)},Object.defineProperty(e.prototype,"isStopped",{get:function(){return this._isStopped},enumerable:!1,configurable:!0}),e.prototype.getPayload=function(){return this._updateDeferred.promise},e}();function o(e,t){if(isNaN(t))return 0;var n=(0,r.toSeconds)(Date.now()-e);return n>=t?0:(0,r.toMilliSeconds)(t-n)}t.AbstractUpdater=a,t.calculateUpdateDelayInMillis=o},53001:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.findAdaptationSetsForMimeType=t.getPreferredLanguage=t.getHlsDefaultLanguage=t.findAdaptationSetOfMimeType=void 0;var i=n(50163),r=n(43068),a=n(83024);function o(e,t){var n;if(r.ModuleManager.has(a.ModuleName.HLS)){var o=r.ModuleManager.get(a.ModuleName.HLS).selectors,s=o.getHlsState,_=o.getDefaultLanguages,u=s(t),c=u?_(u):void 0;if(c){var l=null===(n=i.MimeTypeHelper.getMediaType(e))||void 0===n?void 0:n.toUpperCase();return l?c[l]:void 0}}}function s(e,t){var n=t&&o(e,t),i={language:navigator.language||navigator.userLanguage||(null==n?void 0:n.language)||void 0};return i.language&&n&&u(i.language,n.language)&&(i.name=n.name),i}function _(e,t,n,i){if(void 0===i&&(i=!1),0!==e.length){var r=void 0;if(n&&(r=function(e,t,n){var i=e.find(function(e){return e._lang&&t.lang&&e._lang===t.lang}),r=e.find(function(e){return t.adaptationSetId&&e._internalId.equals(t.adaptationSetId)});return r=r||e.find(function(e){return t.id===e._internalId.adaptationSetId}),n?i||r:r||i}(e,n,i)),r)return r;if(t&&t.language){var a=e.filter(function(e){return!(!Boolean(e._lang)||null==e._lang)&&u(e._lang,t.language)});return a.find(function(e){return e.Representation.find(function(e){return e._name===t.name})})||a[0]}}}function u(e,t){return Boolean((null==e?void 0:e.includes(t))||(null==t?void 0:t.includes(e)))}function c(e,t){return e.AdaptationSet.filter(function(e){return e._mimeType===t||e.Representation.find(function(e){return e._mimeType===t})})}t.findAdaptationSetOfMimeType=function(e,t,n){void 0===n&&(n={});var i,r=n.sourceState,a=n.langObj,u=n.periodSwitched,l=s(e,r),d=c(t,e);return l&&(i=_(d,l,a,u)),!i&&r&&(i=_(d,o(e,r),a,u)),i||d[0]},t.getHlsDefaultLanguage=o,t.getPreferredLanguage=s,t.findAdaptationSetsForMimeType=c},71278:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.createAdaptationSetIdFromMimeTypeAndIndex=t.AdaptationSetId=void 0;var r=function(e){function t(t,n){var i=e.call(this,t)||this;return i._adaptationSetId=n,i}return i(t,e),Object.defineProperty(t.prototype,"adaptationSetId",{get:function(){return this._adaptationSetId},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){return e.prototype.equals.call(this,t)&&this.adaptationSetId===(null==t?void 0:t.adaptationSetId)},t.prototype.key=function(){return e.prototype.key.call(this)+"-"+this.adaptationSetId},t}(n(94112).PeriodId);t.AdaptationSetId=r,t.createAdaptationSetIdFromMimeTypeAndIndex=function(e,t,n){return new r(e,"".concat(t,"-").concat(n))}},83576:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getContentTypeFromMimeTypeAndCodecs=t.getMinimumUpdatePeriodInSeconds=t.representationToQuality=t.applyProperties=t.stripUnderscorePrefix=t.MPDExtractor=void 0;var i=n(59534),r=n(8833),a=n(43587),o=n(46381),s=n(22758),_=n(50163),u=n(80815),c=n(29079),l=n(43068),d=n(83024),f=n(10559),h=n(96400),p=function(){function e(e,t){var n=this;this.isLive=function(){return"dynamic"===n.getMpd()._type},this.context=e,this.sourceContext=t,\nthis.settings=e.settings,this.adjustedPeriodStartTimes=!1,this.synchronizedTimeService=e.serviceManager.get(i.ServiceName.SynchronizedTimeService,this.sourceContext.sourceIdentifier),this.sourceStore=e.serviceManager.get(i.ServiceName.SourceStoreService,this.sourceContext.sourceIdentifier)}return e.prototype.getMpd=function(){return(0,h.getManifest)(this.sourceStore.getState())},e.prototype.getPeriods=function(){return this.getMpd().Period},e.prototype.getAdaptationSets=function(e){var t=this.getPeriods().find(function(t){return t._id===e});return t?t.AdaptationSet:[]},e.prototype.adjustPeriodStartTimes=function(){if(!this.adjustedPeriodStartTimes&&!this.getMpd()._isHls){var e=this.isLive()?(0,u.toSeconds)(this.getAvailabilityStartTime()):(0,a.getStartTimeOffset)(this.sourceStore.getState());this.sourceStore.dispatch((0,f.adjustPeriodStartTimes)(e)),this.adjustedPeriodStartTimes=!0}},e.prototype.getAvailabilityStartTime=function(){return this.isLive()&&this.getMpd()._availabilityStartTime?c.Util.getUtcDate(this.getMpd()._availabilityStartTime).getTime()-this.getTimeDifference():0},e.prototype.getAvailabilityEndTime=function(){if(this.getMpd().hasOwnProperty("_availabilityEndTime")){var e=c.Util.getUtcDate(this.getMpd()._availabilityEndTime).getTime();return new Date(e-this.getTimeDifference())}return null},e.prototype.getTimeDifference=function(){return this.synchronizedTimeService?this.synchronizedTimeService.getTimeDifference():0},e.prototype.getType=function(){return this.getMpd()._type},e.prototype.getDuration=function(){return this.getMpd()._mediaPresentationDuration},e.prototype.getRequestTimestamp=function(){return this.getMpd()._requestTimestamp},e.isValueWithinBounds=function(e,t,n){return!e||e>=t&&e<=n},e.prototype.isAllowedVideoQuality=function(t){var n=e.isValueWithinBounds(t.width,this.settings.MIN_SELECTABLE_VIDEO_WIDTH,this.settings.MAX_SELECTABLE_VIDEO_WIDTH),i=e.isValueWithinBounds(t.height,this.settings.MIN_SELECTABLE_VIDEO_HEIGHT,this.settings.MAX_SELECTABLE_VIDEO_HEIGHT),r=e.isValueWithinBounds(t.bitrate,this.settings.MIN_SELECTABLE_VIDEO_BITRATE,this.settings.MAX_SELECTABLE_VIDEO_BITRATE);return n&&i&&r},e.prototype.isAllowedAudioQuality=function(t){return e.isValueWithinBounds(t.bitrate,this.settings.MIN_SELECTABLE_AUDIO_BITRATE,this.settings.MAX_SELECTABLE_AUDIO_BITRATE)},e.prototype.getAllowedQualities=function(e,t){var n=this;if(!e)return[];var i=t.filter(function(t){return _.MimeTypeHelper.isVideo(e)&&n.isAllowedVideoQuality(t)||_.MimeTypeHelper.isAudio(e)&&n.isAllowedAudioQuality(t)});return i.length<1&&t.length>0?t:i},e.prototype.getQualityForAdaptationSet=function(e){if(!e)return[];var t=e.Representation.map(function(t){return g(t,e._mimeType,e._codecs)});return this.settings.EXCLUDE_DISALLOWED_REPRESENTATIONS&&(t=this.getAllowedQualities(e._mimeType,t)),t},e.prototype.getAudioQualities=function(e){var t=this,n=this.getValidPeriodId(e);return this.getAdaptationSets(n).reduce(function(e,n){return n._mimeType&&_.MimeTypeHelper.isAudio(n._mimeType)&&(e[n._internalId.adaptationSetId]=t.getQualityForAdaptationSet(n)),e},{})},e.prototype.getVideoQualities=function(e){var t=this.getValidPeriodId(e),n=this.getAdaptationSets(t).find(function(e){return e._mimeType&&_.MimeTypeHelper.isVideo(e._mimeType)});return n?this.getQualityForAdaptationSet(n):[]},e.prototype.getLangObjectFromAdaptationSet=function(e,t,n){var i={id:null,lang:null,adaptationSetId:null,kind:null,label:"off",url:null},r=e._mimeType&&e._mimeType.indexOf(t)>-1,a=n&&e._mimeType.indexOf(n)>-1;return _.MimeTypeHelper.isSubtitle(t)&&(i.kind="subtitle"),e.Role&&e.Role.length>0&&(i.role=e.Role.map(function(e){return m(e,{})})),(r||a)&&(m(e,i,["_lang","_isFragmented"]),i.lang=i.lang||"und",i.label=e._label||i.lang,i.adaptationSetId=e._internalId,i.id=e._internalId.adaptationSetId),i},e.prototype.toSubtitleTrack=function(e,t,n){var i=this.getLangObjectFromAdaptationSet(e,t,n),r={id:i.id,lang:i.lang,kind:i.kind,isFragmented:i.isFragmented,enabled:!1,label:i.label};return null!=i.role&&(r.role=i.role),r.forced=function(e,t){return Boolean(e.role&&e.role.some(function(e){return["forced_subtitle"].includes(e.value)}))||Boolean(t._hls&&t._hls.isForced)}(r,e.Representation[0]),r},e.prototype.getAvailableSubtitles=function(e){var t=this,n=0;return e=this.getValidPeriodId(e),this.getAdaptationSets(e).filter(function(e){return _.MimeTypeHelper.isSubtitle(e._mimeType)}).map(function(e){var i=t.toSubtitleTrack(e,"application","text");return i.id||(n++,i.id="sub_".concat(n)),i})},e.prototype.getClosedCaptionLabels=function(e){return e=this.getValidPeriodId(e),this.getAdaptationSets(e).filter(function(e){return e.ClosedCaptionLabels}).flatMap(function(e){return Object.keys(e.ClosedCaptionLabels).map(function(t){var n=e.ClosedCaptionLabels[t];return{id:t,kind:"captions",lang:n.lang||"unknown",label:n.label||"Captions (".concat(t,")")}})})},e.prototype.getAvailableAudio=function(e,t){var n=this;void 0===t&&(t=!0);var i=this.getValidPeriodId(e),a=this.getAdaptationSets(i),o=0,s=a.filter(function(e){return _.MimeTypeHelper.isAudio(e._mimeType)}).map(function(e){var t=n.getLangObjectFromAdaptationSet(e,r.MediaType.Audio);return t&&"off"!==t.label?(t.id||(t.id="audio_"+o,o++),t):null});if(t){var u=a.find(function(e){return _.MimeTypeHelper.isVideo(e._mimeType)});if(u&&u.ContentComponent){var c=u.ContentComponent.filter(function(e){return e._contentType===r.MediaType.Audio}).map(function(e){return{id:e._id,lang:e._lang,label:e._id,adaptationSetId:u._internalId}});s=s.concat(c)}}return s.filter(function(e){return e})},e.prototype.getAvailableVideo=function(e){var t=this.getValidPeriodId(e),n=this.getAdaptationSets(t).find(function(e){return _.MimeTypeHelper.isVideo(e._mimeType)});return n?[this.getLangObjectFromAdaptationSet(n,r.MediaType.Video)]:[]},e.getContentProtectionForManifestElement=function(e){var t;return(null===(t=null==e?void 0:e.ContentProtection)||void 0===t?void 0:t.length)&&l.ModuleManager.has(d.ModuleName.DRM)?l.ModuleManager.get(d.ModuleName.DRM).ContentProtectionHelper.parseContentProtectionDescriptors(e.ContentProtection):[]},e.getContentProtectionForAdaptationSet=function(t){for(var n=[],i=0;i]*>(.*)(<\\/event>|\\/>)/g.exec(e.rawXmlRepresentation);n&&n.length>1&&(t=n[1]);var i={};return Object.getOwnPropertyNames(e).filter(function(e){return!["_presentationTime","_duration","__text"].some(function(t){return t===e})&&0===e.lastIndexOf("_",0)}).forEach(function(t){i[t.substring(1,t.length)]=e[t]}),{properties:i,content:t}},e}();function b(e){return 0===e.indexOf("_")?e.substring(1):e}function m(e,t,n){return void 0===n&&(n=[]),Object.keys(e).filter(function(e){return 0===n.length||n.indexOf(e)>-1}).forEach(function(n){t[b(n)]=e[n]}),t}function g(e,t,n){if(!e)return null;var i={id:e._id?String(e._id):null,bitrate:e._bandwidth||0},r=o.CodecStringHelper.extractCodecStrings(e._codecs||n);return function(e,t){return _.MimeTypeHelper.isAudio(t)}(0,t)?function(e,t,n){return n.audio&&(e.codec=n.audio),e.label=t._label||v(e.bitrate),e}(i,e,r):function(e,t){return _.MimeTypeHelper.isVideo(t)}(0,t)?function(e,t,n){e.width=t._width||0,e.height=t._height||0,n.video&&(e.codec=n.video),t.hasOwnProperty("_frameRate")&&(e.frameRate=t._frameRate);var i=v(e.bitrate);return e.width&&e.height&&(i="".concat(e.width,"x").concat(e.height,", ").concat(i)),e.label=t._label||i,e}(i,e,r):(i.label=e._label||v(i.bitrate),i)}function v(e){return"".concat(Math.round(e/1e3),"kbps")}function $(e,t){return"".concat(e,\'; codecs="\').concat(t,\'"\')}t.MPDExtractor=p,t.stripUnderscorePrefix=b,t.applyProperties=m,t.representationToQuality=g,t.getMinimumUpdatePeriodInSeconds=function(e){return null==e._minimumUpdatePeriod?1/0:s.DurationConverter.getDurationInSec(e._minimumUpdatePeriod)},t.getContentTypeFromMimeTypeAndCodecs=$},51186:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestCachingService=void 0;var i=n(5793),r=function(){function e(){this.cache={}}return e.prototype.set=function(e,t,n){var r=i.URLHelper.toFullUrl(e);a(r,this.cache),this.cache[r][t]=n},e.prototype.setExpire=function(e,t){var n=i.URLHelper.toFullUrl(e);a(n,this.cache),this.cache[n].expire=t},e.prototype.get=function(e,t){var n=i.URLHelper.toFullUrl(t),r=this.cache[n];if(r&&function(e){return e>=Date.now()}(r.expire))return r[e];delete this.cache[n]},e.prototype.cacheHttpResponse=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"httpResponse",e),this.setExpire(t,n)},e.prototype.cacheParsedManifest=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"parsedManifest",e),this.setExpire(t,n)},e.prototype.cacheSegmentList=function(e,t,n){void 0===n&&(n=1/0),this.set(t,"segmentList",e),this.setExpire(t,n)},e.prototype.getHttpResponse=function(e){return this.get("httpResponse",e)},e.prototype.getParsedManifest=function(e){return this.get("parsedManifest",e)},e.prototype.getSegmentList=function(e){return this.get("segmentList",e)},e.prototype.clear=function(){this.cache={}},e.prototype.dispose=function(){this.cache=null},e}();function a(e,t){t[e]||(t[e]={})}t.ManifestCachingService=r},6124:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createManifestLoadingService=void 0;var i=n(36166),r=n(85739),a=n(8833),o=n(43068),s=n(83024);t.createManifestLoadingService=function(e,t,n){switch(e.type){case a.StreamType.Dash:return new(0,o.ModuleManager.get(s.ModuleName.DASH).MPDLoader)(t,n);case a.StreamType.Hls:return new(0,o.ModuleManager.get(s.ModuleName.HLS).M3u8Loader)(t,n);case a.StreamType.Smooth:return new(0,o.ModuleManager.get(s.ModuleName.Smooth).SmoothStreamingLoader)(t,n);default:throw new r.PlayerError(i.ErrorCode.SOURCE_INVALID,{given:e.type,supported:"dash, hls, smooth"},"The provided stream type is not supported by the player.")}}},43233:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)return e._codecs;if(e.Representation&&e.Representation.length>0){var n=e.Representation[e.Representation.length-1];if(n._codecs)return n._codecs}return""}function u(e){if(e._mimeType)return e._mimeType;if(Array.isArray(e.Representation)){var t=e.Representation.find(function(e){return e._mimeType});if(t)return t._mimeType}return""}t.orderAdaptationSetsByCodec=function(e,t){return(e=i({},e)).Period=e.Period.map(function(e){if(!e.AdaptationSet)return i({},e);var n=o(e.AdaptationSet),r=n.videoSets,a=n.audioSets,_=n.otherSets,u=s(r,t.video),c={};return a.forEach(function(e){var t=e._lang||"none";c[t]=c[t]||[],c[t].push(e)}),Object.keys(c).forEach(function(e){u=u.concat(s(c[e],t.audio))}),i(i({},e),{AdaptationSet:u.concat(_)})}),e},t.sortAdaptationSetsByBestCodec=s,t.getCodecsFromAdaptationSet=_,t.getMimeTypeForAdaptationSet=u,t.removeRepresentations=function(e,t){if(!(e.Period&&e.Period.length>0)||0===t.length)return e;var n=e.Period.map(function(e){return function(e,t){var n=e.AdaptationSet.map(function(e){return function(e,t,n){var r=t.Representation.filter(function(t){return!n.some(function(n){return n.equals(new a.RepresentationId(e,t._id))})});return i(i({},t),{Representation:r})}(e._internalId,e,t)}).filter(function(e){return e.Representation.length>0});return i(i({},e),{AdaptationSet:n})}(e,t)}).filter(function(e){return e.AdaptationSet.length>0});return i(i({},e),{Period:n})}},88269:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0,_=function(e,t,n){var i=e._mimeType,r=e._codecs,a=(0,k.getContentTypeFromMimeTypeAndCodecs)(i,r);return S.MimeTypeHelper.isAudio(i)?t.includes(a):!S.MimeTypeHelper.isVideo(i)||n.includes(a)}(i,r,a);if(s&&!_){var u=(0,k.getContentTypeFromMimeTypeAndCodecs)(i._mimeType,i._codecs);n.debug("Representation not supported by MediaKeySystem (".concat(u))}return!s||_}),!S.MimeTypeHelper.isAV(t._mimeType)||t.Representation.length>0})})}(e,t,a.context.logger)})},t.prototype.reinitializeAndUpdateManifest=function(e){if((0,g.isContextAvailable)(this.context)&&this.context.serviceManager){if(this.disposeMpdExtractor(),e.isInitialized=!1,this.setManifest(e),this.isLive()){var t=this.getFirstPeriod(),n=this.isHlsManifest()&&t?t.start:(0,T.toSeconds)(this.getAvailabilityStartTime());this.sourceStore.dispatch((0,p.setStartTimeOffset)(n))}this.mpdExtractor.adjustPeriodStartTimes();var i=this.parseStreamDuration();(0,l.maybeFireDurationChangedEvent)(this.parsedDuration,i,this.context.eventHandler),this.parsedDuration=i,this.setManifestInitialized(!0)}},t.prototype.excludeRepresentations=function(e){var t=this,n=e.map(function(e){return t.getRepresentationById(e)}).filter(function(e){return Boolean(e)});this.setManifestInitialized(!1),this.excludedRepresentations=v.ArrayHelper.union(this.excludedRepresentations,e),this.sourceStore.dispatch((0,C.removeRepresentationsAction)(this.excludedRepresentations)),this.manifest.Period.length?(this.disposeMpdExtractor(),n.forEach(this.dispatchQualityRemovedEvent),this.setManifestInitialized(!0)):this.context.eventHandler.fireError(new s.PlayerError(o.ErrorCode.SOURCE_ERROR,void 0,"No playable track left"))},t.prototype.isRepresentationExcluded=function(e){return this.excludedRepresentations.some(function(t){return t.equals(e)})},t.prototype.resetExcludedRepresentations=function(){this.excludedRepresentations=[]},t.prototype.onRestore=function(){this.setPlayerDRM(this.getManifest()),this.sourceStore.dispatch((0,C.setManifestAction)(x(this.getManifest())))},t.getSupplementalProperties=function(e,t){return!e.SupplementalProperty||e.SupplementalProperty.length<=0?null:e.SupplementalProperty.filter(function(e){return e._schemeIdUri===t})},t.prototype.findMatchingSwitchableAdaptationSets=function(e,t,n){var i=n&&n.length>0;if(!i&&!this.settings.ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY)return null;var r=[],a=e._group,o=W(e);return i&&n.forEach(function(e){return r.push(e._value)}),this.settings.ADAPTATION_SET_SWITCHING_WITHOUT_SUPPLEMENTAL_PROPERTY&&t.forEach(function(e){r.includes(e._id)||r.push(e._id)}),t.filter(function(t){if(!r.includes(t._id)||t._id===e._id)return!1;var n=t._group===a,i=t._mimeType===e._mimeType,s=W(t)===o,_=t._lang===e._lang;return i&&s&&n&&_})},t.prototype.getSwitchableAdaptationSets=function(e){var n=this;return e.AdaptationSet?e.AdaptationSet.reduce(function(i,r){var o=t.getSupplementalProperties(r,"urn:mpeg:dash:adaptation-set-switching:2016"),s=n.findMatchingSwitchableAdaptationSets(r,e.AdaptationSet,o);return s&&0!==s.length?v.ArrayHelper.addAndMergeIntersects(i,a([r],s,!0)):i},[]):[]},t.mergeAdaptationSetProperties=function(e,t,n){var i=e.hasOwnProperty(n),r=t.hasOwnProperty(n);(i||r)&&(i?r||(t[n]=[]):e[n]=[],e[n]=e[n].concat(t[n]))},t.prototype.getAdaptationSetPropertyValues=function(e,t){return e.filter(function(e){return e.hasOwnProperty(t)}).map(function(e){return e[t]})},t.prototype.updateAdaptationSetMinMaxValues=function(e,t){var n=[e].concat(t),i=this.getAdaptationSetPropertyValues(n,"_minWidth"),r=this.getAdaptationSetPropertyValues(n,"_maxWidth"),a=this.getAdaptationSetPropertyValues(n,"_minHeight"),o=this.getAdaptationSetPropertyValues(n,"_maxHeight"),s=this.getAdaptationSetPropertyValues(n,"_minBandwidth"),_=this.getAdaptationSetPropertyValues(n,"_maxBandwidth");i.length>0&&(e._minWidth=Math.min.apply(null,i)),r.length>0&&(e._maxWidth=Math.max.apply(null,r)),a.length>0&&(e._minHeight=Math.min.apply(null,a)),o.length>0&&(e._maxHeight=Math.max.apply(null,o)),s.length>0&&(e._minBandwidth=Math.min.apply(null,s)),_.length>0&&(e._maxBandwidth=Math.max.apply(null,_))},t.prototype.mergeAdaptationSets=function(e,n){n.forEach(this.copyRequiredPropertiesToRepresentations);var i=n.shift();n.forEach(function(e){["Representation","ContentComponent","ContentProtection","SupplementalProperty"].forEach(function(n){return t.mergeAdaptationSetProperties(i,e,n)})}),this.updateAdaptationSetMinMaxValues(i,n),e.AdaptationSet=e.AdaptationSet.filter(function(e){return!n.includes(e)})},t.prototype.mergeSwitchableAdaptationSets=function(e){var t=this;return e.Period.forEach(function(e){t.getSwitchableAdaptationSets(e).forEach(function(n){t.mergeAdaptationSets(e,n)})}),e},t.getFirstKeyId=function(e){if(!e||0===e.length)return null;var t=e.find(function(e){return"cenc"===e.name});if(t&&t.defaultKid)return t.defaultKid;var n=e.find(function(e){return e.kids&&e.kids.length>0});return n?n.kids[0]:null},t.prototype.setRepresentationDrmKid=function(e,t){this.sourceStore.dispatch((0,C.setRepresentationDrmKidAction)(e,t))},t.prototype.getRepresentationDrmKid=function(e){var t;return null===(t=this.getRepresentationById(e))||void 0===t?void 0:t.associatedKid},t.prototype.setManifestInitialized=function(e){this.sourceStore.dispatch((0,C.setManifestInitializedAction)(e))},t.prototype.setPlayerDRM=function(e){var t=this.sourceContext.source.drm,n=function(e){return null==e.Period?[]:e.Period.filter(function(e){return e.AdaptationSet&&e.AdaptationSet.length>0}).reduce(function(e,t){return e.concat(t.AdaptationSet)},[]).filter(function(e){return e.ContentProtection&&e.ContentProtection.length>0}).flatMap(function(e){return e.ContentProtection}).filter(function(e){return null!=e.laurl&&e.laurl.length>0}).flatMap(function(e){return e.laurl.map(function(t){return r(r({},t),{drmType:f.DRMSchemeIDURIs[e._schemeIdUri]})})}).filter(function(e){return null!=e.drmType}).map(function(e){var t;return(t={})[e.drmType]={LA_URL:e._licenseUrl},t})}(e),i={};n.length>0&&(i=r({},n[0])),null!=t&&Object.keys(t).length>0&&Object.keys(t).forEach(function(e){i[e]=null!=i[e]?r(r({},i[e]),t[e]):t[e]}),this.addDrmServiceAndSetDrmConfig(i);var a=Object.keys(i).length>0?(0,h.setManifestDrm)(i):(0,h.resetManifestDrm)();this.sourceStore.dispatch(a)},t.prototype.addDrmServiceAndSetDrmConfig=function(e){if(E.ModuleManager.has(A.ModuleName.DRM)&&Object.keys(e).length>0&&!this.context.serviceManager.has(_.ServiceName.DrmService)){var t=E.ModuleManager.get(A.ModuleName.DRM).DrmService;this.context.serviceManager.set(_.ServiceName.DrmService,new t(this.context))}this.context.serviceManager.maybeCall(_.ServiceName.DrmService,function(t){t.isDrmConfigSet()||t.setDrmConfig(e)})},t.prototype.getPreviousRepDrmKidAssociation=function(){var e=new Map;return this.getAllRepresentations().filter(function(e){return e._internalId&&e.associatedKid}).forEach(function(t){return e.set(t._internalId.key(),t.associatedKid)}),e},t.prototype.preProcessManifest=function(e){var t=this.getPreviousRepDrmKidAssociation();return e.Period&&e.Period.length>0?(N(e=(0,R.orderAdaptationSetsByCodec)(e,V(this.context.config,this.sourceContext.source))),e=this.mergeSwitchableAdaptationSets(e),E.ModuleManager.has(A.ModuleName.Envivio)&&(e=E.ModuleManager.get(A.ModuleName.Envivio).fixSegmentTimelineLiveStream(e)),this.isSuspended()||this.setPlayerDRM(e),e=x(e),function(e,t){e.Period.flatMap(function(e){var t;return null!==(t=null==e?void 0:e.AdaptationSet)&&void 0!==t?t:[]}).flatMap(function(e){var t;return null!==(t=null==e?void 0:e.Representation)&&void 0!==t?t:[]}).forEach(function(e){t.has(e._internalId.key())&&(e.associatedKid=t.get(e._internalId.key()))})}(e=(0,R.removeRepresentations)(e,this.excludedRepresentations),t),e):(this.context.eventHandler.fireError(new s.PlayerError(o.ErrorCode.SOURCE_ERROR,void 0,"No playable track left")),null)},t.prototype.parseStreamDuration=function(){if(this.mpdExtractor){var e=NaN,t=this.mpdExtractor.getDuration();return t&&(this.cachedDurationString&&this.cachedDurationString===t?e=this.cachedDuration:(e=y.DurationConverter.getDurationInSec(t),this.cachedDurationString=t,this.cachedDuration=e)),isNaN(e)&&this.isLive()?1/0:e}return 0},t.prototype.getDuration=function(){return this.parsedDuration},t.prototype.isLive=function(){return!!this.manifest&&this.mpdExtractor.isLive()},t.prototype.getAvailabilityStartTime=function(){return this.mpdExtractor.getAvailabilityStartTime()},t.prototype.getAvailabilityEndTime=function(){return this.mpdExtractor.getAvailabilityEndTime()},t.prototype.isAvailabilityEndTimeExceeded=function(){var e=this.getAvailabilityEndTime();return e&&Date.now()>e.getTime()},t.prototype.findPeriod=function(e){return q(this.manifest,e)},t.prototype.getAllPeriods=function(){return this.manifest&&this.manifest.Period?this.manifest.Period:[]},t.prototype.getPeriod=function(e){return e?this.findPeriod(e.periodId):null},t.prototype.isSmoothManifest=function(){return this.manifest.originalFormat&&"smooth"===this.manifest.originalFormat.format},t.prototype.isLanguageAvailable=function(e,t,n){var i=q(this.manifest,e)||Y(this.manifest);return(0,P.findAdaptationSetsForMimeType)(i,t).some(function(e){var t=e._lang&&n.lang&&e._lang===n.lang,i=n.adaptationSetId&&e._internalId.equals(n.adaptationSetId);return t||i})},t.prototype.findAdaptationSet=function(e,t,n,i){void 0===i&&(i=!1);var r=q(this.manifest,e)||Y(this.manifest);if(void 0!==r){var a=this.sourceStore.getState(),o=(0,P.findAdaptationSetOfMimeType)(t,r,{sourceState:a,langObj:n,periodSwitched:i,playbackConfig:this.context.config.playback});return o||this.context.logger.debug("No AdaptationSet found to match mime type "+t),o}},t.prototype.getManifest=function(){return this.manifest},t.prototype.getAvailableAudio=function(e,t){return this.mpdExtractor.getAvailableAudio(e,t)},t.prototype.getAvailableVideo=function(e){return this.mpdExtractor.getAvailableVideo(e)},t.prototype.getAvailableSubtitles=function(e){return this.mpdExtractor.getAvailableSubtitles(e)},t.prototype.getClosedCaptionLabels=function(e){return this.mpdExtractor.getClosedCaptionLabels(e)},t.prototype.getVideoRepresentations=function(e){return this.mpdExtractor.getVideoQualities(e)},t.prototype.getAudioRepresentations=function(e){return this.mpdExtractor.getAudioQualities(e)},t.prototype.getPeriodDuration=function(e,t){return this.mpdExtractor.getPeriodDuration(e,t||this.getManifest().Period)},t.prototype.hasMultiplePeriods=function(){return this.manifest&&this.manifest.Period&&this.manifest.Period.length>1},t.prototype.hasSinglePeriod=function(){return this.manifest&&this.manifest.Period&&1===this.manifest.Period.length},t.prototype.getTimeShiftBufferDepthSeconds=function(){return this.mpdExtractor.getTimeShiftBufferDepthSeconds()},t.prototype.getRequestTimestamp=function(){return this.mpdExtractor.getRequestTimestamp()},t.prototype.getMediaPresentationDuration=function(){var e=y.DurationConverter.getDurationInSec(this.manifest._mediaPresentationDuration);return isNaN(e)?0:e},t.prototype.calculateCumulativePeriodDuration=function(e){for(var t=0,n=0,i=this.manifest.Period;n0)return this.manifest.Period[this.manifest.Period.length-1]},t.prototype.isLastPeriod=function(e){var t=this.getLastPeriod();return!!t&&e===t._id},t.prototype.isManifestFinalized=function(){return!this.isLive()},t.prototype.isFirstPeriod=function(e){var t=this.getFirstPeriod();return!!t&&t._id===e},t.prototype.isHlsManifest=function(){return this.getManifest()._isHls},t.prototype.getHlsTags=function(){if(!this.isHlsManifest())return null;var e=E.ModuleManager.get(A.ModuleName.HLS).selectors,t=e.getHlsState;return(0,e.getCustomTags)(t(this.sourceStore.getState()))},t.prototype.isMimeTypePartOfPeriod=function(e,t){var n=this.getPeriod(new w.PeriodId(t));return(n?n.AdaptationSet:[]).some(function(t){return t._mimeType===e})},t.prototype.getNextPeriod=function(e){if(this.manifest)for(var t=this.findPeriod(e),n=this.manifest.Period.indexOf(t)+1;n0?n=r.synchronization.map(function(e){switch(e.method){case d.LiveSynchronizationMethod.HttpHead:return{schemeIdUri:"urn:mpeg:dash:utc:http-head:2014",value:e.serverUrl};case d.LiveSynchronizationMethod.HttpXsDate:return{schemeIdUri:"urn:mpeg:dash:utc:http-xsdate:2014",value:e.serverUrl};case d.LiveSynchronizationMethod.HttpIso:return{schemeIdUri:"urn:mpeg:dash:utc:http-iso:2014",value:e.serverUrl};default:return t.context.logger.debug("No valid time synchronization configuration entry provided"),null}}).filter(function(e){return null!==e}):e&&e.UTCTiming&&e.UTCTiming.length>0&&(n=n.concat(e.UTCTiming),i=e._downloadTime),this.synchronizedTimeService.synchronizeWithServer(n,i).then(function(e){t.context.logger.debug("successfully synchronized to server time - drift: ".concat((0,T.toSeconds)(e),"s"))}).catch(function(){t.context.logger.debug("Player clock synchronization failed")})}return Promise.resolve()},t.prototype.getAdaptationSet=function(e){if(!e)return null;var t=this.getPeriod(e);return t&&t.AdaptationSet?t.AdaptationSet.find(function(t){return t._internalId.equals(e)}):null},t.prototype.getRepresentationById=function(e){var t=this.getAdaptationSet(e);return t?j(t.Representation,e):null},t.prototype.representationExists=function(e){return Boolean(this.getRepresentationById(e))},t.prototype.getLowestBandwidthOfAdaptationSet=function(e){return this.findLowestPossibleBandwidth(e,-1/0)},t.prototype.findLowestPossibleBandwidth=function(e,t){void 0===t&&(t=-1/0);var n=this.getAdaptationSet(e);return n?F(n.Representation,t):1/0},t.prototype.getMatchingRepresentationByBandwidth=function(e,t,n){void 0===n&&(n=function(){return!0});var i=this.getAdaptationSet(e);return i?H(i.Representation,t,n):null},t.prototype.getAllRepresentations=function(){return this.getAllPeriods().flatMap(function(e){var t;return(null===(t=e.AdaptationSet)||void 0===t?void 0:t.flatMap(function(e){return e.Representation}))||[]})},t.prototype.getRepresentation=function(e,t){return this.getRepresentationById(new O.RepresentationId(e,t))},t.prototype.getAllAdaptationSets=function(){return this.getAllPeriods().flatMap(function(e){return e.AdaptationSet})},t.prototype.getAllImageAdaptationSets=function(){return this.getAllAdaptationSets().filter(function(e){return e._mimeType.includes("image")&&"image"===e._contentType})},t.prototype.getAllDashThumbnailSources=function(){var e=this;return this.getAllImageAdaptationSets().map(function(t){var n=e.findPeriod(t._internalId.periodId);return{adaptationSet:t,timing:{startTime:n.start,duration:n.duration}}})},t.prototype.getAdaptationSetIndex=function(e){var t=this.findPeriod(e.periodId);return t&&t.AdaptationSet&&0!==t.AdaptationSet.length?t.AdaptationSet.findIndex(function(t){return t._internalId.equals(e)}):-1},t.prototype.markSegmentAsDownloaded=function(e,t){this.sourceStore.dispatch((0,C.markSegmentAsDownloadedAction)(e,t))},t.prototype.getAvailableBaseURLsForRepresentation=function(e){var t=this.getAdaptationSet(e);if(void 0===e||!t)return[];for(var n=[],i=t.Representation,r=0;r0){n=i[r].BaseURL;break}var a=[];for(r=0;r0&&Boolean(n.SegmentList[0].SegmentURL),r=i?n.SegmentList[0].SegmentURL.length:0,a=!i||r>0,o=t-(n._requestTimestamp||t),s=this.isLive()&&o>=this.getMinimumUpdatePeriod();return!a||s},t.prototype.hasSelfInitialisingSegments=function(){return this.manifest.Period.map(function(e){return e.AdaptationSet}).reduce(function(e,t){return e.concat(t)},[]).map(function(e){return e.Representation}).reduce(function(e,t){return e.concat(t)},[]).some(function(e){var t=Boolean(e.SegmentList)&&e.SegmentList.length>0?e.SegmentList:[],n=Boolean(e.SegmentBase)&&e.SegmentBase.length>0,i=Boolean(e.SegmentTemplate)&&e.SegmentTemplate.length>0?e.SegmentTemplate:[];return!(e.init||n||t.some(function(e){return Boolean(e.init)})||i.some(function(e){return Boolean(e._initialization)}))})},t.prototype.getAvailabilityTimeComplete=function(e){var t=this.getRepresentationById(e),n=t.SegmentList||t.SegmentBase||t.SegmentTemplate;return!(n&&n[0]&&n[0]._availabilityTimeComplete)||JSON.parse(n[0]._availabilityTimeComplete)},t.prototype.isSegmentInfoLoaded=function(e){var t=this.getRepresentationById(e);return!(!t||!t.segmentIndex&&!t.segmentIndexParsingError)},t.prototype.isPrecedingPeriod=function(e,t){if(!(e&&t&&this.manifest&&this.manifest.Period))return!1;var n=this.manifest.Period.findIndex(function(t){return t._id===e}),i=this.manifest.Period.findIndex(function(e){return e._id===t});return n>=0&&i>=0&&i=o&&e<=s)return s-e<=t}return!1},t}(m.Suspendable);function x(e){var t;return(e=r({},e)).Period=null===(t=e.Period)||void 0===t?void 0:t.map(function(e){var t;return r(r({},e),{AdaptationSet:null===(t=e.AdaptationSet)||void 0===t?void 0:t.map(function(t,n){var i,a=(0,M.createAdaptationSetIdFromMimeTypeAndIndex)(e._id,t._mimeType,n);return r(r({},t),{_internalId:a,_periodId:e._id,Representation:null===(i=t.Representation)||void 0===i?void 0:i.map(function(e){return r(r({},e),{_internalId:new O.RepresentationId(a,e._id)})})})})})}),e}function N(e){if(E.ModuleManager.has(A.ModuleName.DRM)){var t=E.ModuleManager.get(A.ModuleName.DRM).ContentProtectionHelper.getFirstKeyId;L(e,function(e){for(var n=t(e.ContentProtection),i=0;e.Representation&&i=n.start?n:function(e,t){for(var n=0;n=e[n].start&&t=i&&t=t?Math.min(e,n._bandwidth):e},1/0)}function H(e,t,n){void 0===e&&(e=[]),void 0===n&&(n=function(){return!0});var i=e.filter(n),r=null,a=-1/0;return i.forEach(function(e){e._bandwidth>a&&e._bandwidth<=t&&(a=e._bandwidth,r=e)}),r||i[0]}function j(e,t){return void 0===e&&(e=[]),e.find(function(e){return e._internalId.equals(t)})}function G(e,t,n){var i=n?"videoCodecPriority":"audioCodecPriority";return(null==t?void 0:t.options)&&t.options[i]?t.options[i]:e.playback&&e.playback[i]?e.playback&&e.playback[i]:[]}function V(e,t){return{video:G(e,t,!0),audio:G(e,t,!1)}}function q(e,t){return e&&t&&e.Period?e.Period.find(function(e){return e._id===t}):null}function Y(e){return null==e?void 0:e.Period[0]}function W(e){var t=(0,R.getCodecsFromAdaptationSet)(e);if(!t||0===t.length)return null;var n=$.CodecStringHelper.extractCodecStrings(t),i=e._mimeType.split("/")[0];return n[i]?$.CodecStringHelper.extractCodec(n[i]):null}t.ManifestService=U,t.initializeInternalIds=x,t.addDrmKidsToRepresentations=N,t.iterateAdaptationSets=L,t.getNearestPeriodForTime=B,t.findLowestPossibleBandwidthFromRepresentations=F,t.getMatchingRepresentationByBandwidth=H,t.getRepresentationById=j,t.getCodecPriorities=V,t.getCodecOfAdaptationSetMimeType=W},64324:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestUpdateScheduler=void 0;var a=n(59534),o=n(52228),s=n(95212),_=n(28803),u=n(96036),c=n(80815),l=n(10559),d=n(46724),f=n(33704),h=function(e){function t(t,n){var i=e.call(this,{onSuspend:function(){return i.onSuspend()},onRestore:function(){return i.onRestore()}})||this;i.initiated=!1,i.trackUpdaters={},i.selectActiveTracks=function(e){return null==e?void 0:e.activeTracks},i.handleActiveTracksChange=function(e){e&&i.manifestService.isHlsManifest()&&i.updateTracks(e)},i.selectPlaybackState=function(e){return e.player&&e.player.playbackState},i.handlePlaybackStateChange=function(e){e&&(e===s.PlaybackState.Paused?i.stop():e===s.PlaybackState.Playing&&i.start())},i.updatedRepresentation=function(e){i.updateAdaptationSetInManifest(e),i.manifestService.updateManifest(i.manifestService.getManifest()).catch(function(){i.logger.debug("Updating the manifest failed")})},i.representationUpdateError=function(e){i.logger.debug("Rejection while updating the representation",e)},i.manifestDownloadError=function(){i.logger.debug("Error while loading manifest")},i.context=t,i.sourceContext=n;var r=i.sourceContext.sourceIdentifier;return i.manifestService=t.serviceManager.get(a.ServiceName.ManifestService,r),i.manifestLoader=t.serviceManager.get(a.ServiceName.ManifestLoadingService,r),i.store=t.store,i.sourceStore=t.serviceManager.get(a.ServiceName.SourceStoreService,r),i.eventHandler=t.eventHandler,i.logger=t.logger,i.unsubscribeFromActiveTrackChanges=i.subscribeToActiveTrackChanges(),i.unsubscribeFromPausePlayingChanges=i.subscribeToPausePlayingChanges(t),i}return i(t,e),t.prototype.subscribeToActiveTrackChanges=function(){var e=this;return(0,_.subscribe)(this.sourceStore)(function(t){return e.selectActiveTracks(t)},this.handleActiveTracksChange)},t.prototype.updateTracks=function(e){this.processNewActiveTrack(e),this.removeDeactivatedTrackUpdaters(e)},t.prototype.processNewActiveTrack=function(e){var t=this;Object.keys(e).filter(function(t){return e[t].selectedRepresentationId}).forEach(function(n){t.updateTrackUpdater(e[n].selectedRepresentationId)})},t.prototype.removeDeactivatedTrackUpdaters=function(e){var t=this;Object.keys(this.trackUpdaters).filter(function(t){return!Object.keys(e).includes(t)}).forEach(function(e){t.trackUpdaters[e].stop(),delete t.trackUpdaters[e]})},t.prototype.subscribeToPausePlayingChanges=function(e){return(0,_.subscribe)(this.store)(this.selectPlaybackState,this.handlePlaybackStateChange,function(){return e.settings.STOP_DOWNLOAD_ON_PAUSE})},t.prototype.updateTrackUpdater=function(e){var t=this.manifestService.getRepresentationById(e),n=e.adaptationSetId;this.trackUpdaters[n]?this.trackUpdaters[n].getRepresentation()._internalId.equals(e)||this.trackUpdaters[n].setRepresentation(t):this.trackUpdaters[t._internalId.adaptationSetId]=this.initializeTrackUpdater(t)},t.prototype.updateLinkedRepresentation=function(e){var t=this.trackUpdaters[e._internalId.adaptationSetId];null==t||t.setRepresentation(e)},t.prototype.initializeTrackUpdater=function(e){var t=new f.RepresentationUpdater(e,this.manifestLoader,{success:this.updatedRepresentation,error:this.representationUpdateError});return t.start(),t},t.prototype.updateAdaptationSetInManifest=function(e){this.sourceStore.dispatch((0,l.updateRepresentationAction)(e))},t.prototype.init=function(e){var t=this;return this.manifestLoader.load(e).then(function(e){return t.manifestService.updateManifest(e).then(function(){t.initiated=!0,t.manifestService.isLive()&&!t.manifestService.isHlsManifest()&&t.scheduleManifestReloading(e)})}).catch(function(){return Promise.reject("Could not load manifest")})},t.prototype.scheduleManifestReloading=function(e){var t=this;this.manifestUpdater=new d.ManifestUpdater(this.manifestLoader,e,{success:function(e){return t.manifestService.updateManifest(e)},error:this.manifestDownloadError}),this.manifestUpdater.start()},t.prototype.waitForRepUpdate=function(e){return 0===Object.keys(this.trackUpdaters).length||function(e){var t;return e._requestTimestamp+(0,c.toMilliSeconds)(null!==(t=e._updateInterval)&&void 0!==t?t:1/0)>Date.now()}(this.manifestService.getRepresentationById(e))?Promise.resolve():this.trackUpdaters[e.adaptationSetId].updateRepresentation().then(function(){})},t.prototype.stop=function(){Object.values(this.trackUpdaters).forEach(function(e){return e.stop()}),this.manifestUpdater&&this.manifestUpdater.stop()},t.prototype.start=function(){Object.values(this.trackUpdaters).filter(function(e){return e.isStopped}).forEach(function(e){e.start()}),this.manifestUpdater&&this.manifestUpdater.isStopped&&this.manifestUpdater.start()},t.prototype.onSuspend=function(){this.unsubscribeFromPausePlayingChanges()},t.prototype.onRestore=function(){this.unsubscribeFromPausePlayingChanges=this.subscribeToPausePlayingChanges(this.context)},t.prototype.isInitiated=function(){return this.initiated},t.prototype.dispose=function(){this.unsubscribeFromActiveTrackChanges(),this.unsubscribeFromPausePlayingChanges(),this.stop(),this.manifestUpdater=null,this.trackUpdaters=null,e.prototype.dispose.call(this)},r([(0,o.trackPerformance)("ManifestUpdateScheduler.init",!0)],t.prototype,"init",null),t}(u.Suspendable);t.ManifestUpdateScheduler=h},46724:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.ManifestUpdater=void 0;var r=n(38426),a=n(83576),o=function(e){function t(t,n,i){var r=e.call(this,i)||this;return r.manifestLoader=t,r.manifest=n,r}return i(t,e),t.prototype.getUpdatedManifest=function(){return this.getPayload()},t.prototype.update=function(){var e=this;return this.manifestLoader.load(this.manifest._currentLoadingUrl).then(function(t){return e.manifest=t,t})},t.prototype.getReloadIntervalInSeconds=function(){return(0,a.getMinimumUpdatePeriodInSeconds)(this.manifest)},t.prototype.getLastReloadTimestamp=function(){return this.manifest._requestTimestamp},t}(r.AbstractUpdater);t.ManifestUpdater=o},32765:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MediaPlayerManifestApiFactory=void 0;var i=n(59534),r=n(59574),a=n(94112),o=function(){function e(){}return e.create=function(t,n){var r=n.serviceManager.get(i.ServiceName.ManifestService,n.sourceContext.sourceIdentifier);return new function(){r.isHlsManifest()?this.hls=e.createHlsApi(r):r.isSmoothManifest()||(this.dash=e.createDashApi(t,r))}},e.createDashApi=function(t,n){return new(function(){function i(){}return i.prototype.getPeriod=function(){var i=n.getPeriodIdForTime(t.getCurrentTime()),r=n.getPeriod(new a.PeriodId(i));return r?e.createPeriodApi(n,r):null},i.prototype.listPeriods=function(){return n.getAllPeriods().map(function(t){return e.createPeriodApi(n,t)})},i}())},e.createHlsApi=function(t){return new(function(){function n(){this.properties=t.getHlsTags()}return n.prototype.getVideoTracks=function(){return e.getVideoTracks(t,t.getFirstPeriod()._id)},n.prototype.getAudioTracks=function(){return e.getAudioTracks(t,t.getFirstPeriod()._id)},n.prototype.getTextTracks=function(){return e.getTextTracks(t,t.getFirstPeriod()._id)},n}())},e.createPeriodApi=function(t,n){return new(function(){function i(){this.id=n._id,this.properties={},n._id&&(this.properties.id=n._id),n._start&&(this.properties.start=n._start),n._duration&&(this.properties.duration=n._duration)}return i.prototype.getVideoTracks=function(){return e.getVideoTracks(t,this.id)},i.prototype.getAudioTracks=function(){return e.getAudioTracks(t,this.id)},i.prototype.getTextTracks=function(){return e.getTextTracks(t,this.id)},i.prototype.getMetadata=function(){return e.getMetadata(t,this.id)},i}())},e.getAudioTracks=function(t,n){return t.getAvailableAudio(n,!1).map(function(i){var r={id:i.id,label:i.label,lang:i.lang,getQualities:function(){return e.getAudioQualities(t,n,i.id)}};return i.role&&(r.role=i.role),r})},e.getVideoTracks=function(t,n){return t.getAvailableVideo(n).map(function(i){var r={id:i.id,label:i.label,getQualities:function(){return e.getVideoQualities(t,n)}};return i.role&&(r.role=i.role),r})},e.getTextTracks=function(e,t){return e.getAvailableSubtitles(t)},e.getMetadata=function(e,t){return e.getEventStreamEvents(e.findPeriod(t)).map(function(e){return{type:r.MetadataType.EVENT_STREAM,payload:e.data,start:e.startTime,end:e.endTime}})},e.getAudioQualities=function(e,t,n){return e.getAudioRepresentations(t)[n]||[]},e.getVideoQualities=function(e,t){return e.getVideoRepresentations(t)},e}();t.MediaPlayerManifestApiFactory=o},94112:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PeriodId=void 0;var n=function(){function e(e){this._periodId=e}return Object.defineProperty(e.prototype,"periodId",{get:function(){return this._periodId},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return null!=e&&this.periodId===e.periodId},e.prototype.key=function(){return this.periodId},e}();t.PeriodId=n},63080:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RepresentationId=void 0;var r=n(71278),a=function(e){function t(t,n){var i=e.call(this,t.periodId,t.adaptationSetId)||this;return i._representationId=n,i}return i(t,e),Object.defineProperty(t.prototype,"representationId",{get:function(){return this._representationId},enumerable:!1,configurable:!0}),t.prototype.equals=function(t){return e.prototype.equals.call(this,t)&&this.representationId===(null==t?void 0:t.representationId)},t.prototype.key=function(){return e.prototype.key.call(this)+"-"+this.representationId},t.from=function(e){return e._representationId&&e._adaptationSetId&&e._periodId?new t(new r.AdaptationSetId(e._periodId,e._adaptationSetId),e._representationId):null},t}(r.AdaptationSetId);t.RepresentationId=a},33704:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RepresentationUpdater=void 0;var r=n(38426),a=function(e){function t(t,n,i){var r=e.call(this,i)||this;return r.representation=t,r.manifestLoader=n,r}return i(t,e),t.prototype.getRepresentation=function(){return this.representation},t.prototype.setRepresentation=function(e){this.representation._internalId.equals(e._internalId)||this.cancel(),this.representation=e,this.scheduleUpdate()},t.prototype.updateRepresentation=function(){return this.getPayload()},t.prototype.update=function(){var e=this;return this.manifestLoader.updateRepresentation(this.representation).then(function(t){if(e.representation._id!==t._id)throw r.REPRESENTATION_UPDATE_CANCEL;return e.representation=t,t})},t.prototype.getReloadIntervalInSeconds=function(){var e;return this.representation._requestTimestamp?null!==(e=this.representation._updateInterval)&&void 0!==e?e:1/0:0},t.prototype.getLastReloadTimestamp=function(){return this.representation._requestTimestamp?this.representation._requestTimestamp:0},t}(r.AbstractUpdater);t.RepresentationUpdater=a},30828:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AdRestorationOptimizationService=void 0;var i=n(59574),r=n(22221),a=n(45366),o=n(82072),s=n(43233),_=n(59534),u=n(17394),c=function(){function e(){var e=this;this.startOptimization=function(){(0,o.isContextAvailable)(e.context)&&e.context.eventHandler.off(i.PlayerEvent.AdStarted,e.startOptimization),e.prefetchContentSegments(e.segmentInfosToPrefetch),e.segmentInfosToPrefetch=[]}}return e.prototype.updatePlayerContext=function(e){this.mimeTypes=[],this.context=e,this.segmentInfoService=e.segmentInfoService,this.segmentPrefetchingService=e.segmentPrefetchingService},e.prototype.optimizeRestorationAfterUpcomingAdBreak=function(){var e,t,n=this,r=null===(t=null===(e=this.getSourceState())||void 0===e?void 0:e.getState())||void 0===t?void 0:t.playback;if(!(0,o.isContextAvailable)(this.context)||!this.segmentInfoService||!r)return Promise.reject("Could not get playback state and/or SegmentInfoService");var a=(0,u.getPlaybackPosition)(r);return isNaN(a)?Promise.reject("Could not get playback position"):this.segmentInfoService.getSegmentInfos(a,this.context.settings.AD_RESTORATION_SEGMENT_PREFETCHING_DURATION).then(function(e){n.addCodecInfo(e),n.segmentInfosToPrefetch=e,(0,o.isContextAvailable)(n.context)&&n.context.eventHandler&&n.context.eventHandler.on(i.PlayerEvent.AdStarted,n.startOptimization)})},e.prototype.getSourceState=function(){return(0,o.isContextAvailable)(this.context)?this.context.serviceManager.get(_.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier):void 0},e.prototype.addCodecInfo=function(e){var t=(0,o.isContextAvailable)(this.context)?this.context.sourceContext.sourceIdentifier:void 0,n=t?this.context.serviceManager.get(_.ServiceName.ManifestService,t):void 0;n&&e.forEach(function(e){var t=n.getAdaptationSet(e.internalRepresentationId);t&&(e.codecs=(0,s.getCodecsFromAdaptationSet)(t))})},e.prototype.prefetchContentSegments=function(e){var t;this.mimeTypes=e.reduce(function(e,t){return t.mimeType&&!e.includes(t.mimeType)&&e.push(t.mimeType),e},[]),this.maybeCreateMetrics(),null===(t=this.segmentPrefetchingService)||void 0===t||t.fetchAll(e)},e.prototype.findMatchingSegmentInfo=function(e,t){var n,i=null===(n=this.segmentPrefetchingService)||void 0===n?void 0:n.getPrefetchedSegments().get(e);if(i)return l(i,function(e){return e.segmentInfo}).find(function(e){if(!t||null==t.segmentNumber||null==t.startTime||null==t.duration)return!0;var n=t.segmentNumber+1,i=Math.round(t.startTime+t.duration),r=e.segmentNumber===n,a=null!=e.startTime&&Math.round(e.startTime)===i;return r||a})},e.prototype.hasPrefetchedSegment=function(e,t){var n;if((0,o.isContextAvailable)(this.context)&&this.context.sourceContext.isAd)return!1;var i=e;return"string"==typeof e&&(i=this.findMatchingSegmentInfo(e,t)),!(!i||"string"==typeof i)&&Boolean(null===(n=this.segmentPrefetchingService)||void 0===n?void 0:n.getPrefetchedSegment(i))},e.prototype.getPrefetchedSegment=function(e,t){var n=this;if(!this.segmentPrefetchingService||!e.mimeType)return null;var i=this.segmentPrefetchingService.getPrefetchedSegment(e);return this.segmentPrefetchingService.clearPrefetchingQueue(e.mimeType),i&&(this.segmentPrefetchingService.removePrefetchedSegment(e),this.segmentPrefetchingService.setShouldDownloadBeCancelledCallback(e.mimeType,t),i.finally(function(){n.segmentPrefetchingService&&e.mimeType&&n.segmentPrefetchingService.removeShouldDownloadBeCancelledCallback(e.mimeType)})),i},e.prototype.getRepresentationForPrefetchedSegment=function(e){var t,n=null===(t=this.segmentPrefetchingService)||void 0===t?void 0:t.getPrefetchedSegments().get(e);if(n)return l(n,function(e){return e.segmentInfo.internalRepresentationId}).find(Boolean)},e.prototype.maybeCreateMetrics=function(){var e=this;if((0,o.isContextAvailable)(this.context)){var t=this.context.store.getState();if(0!==this.mimeTypes.length&&t){var n=(0,a.getMetricsState)(t);this.mimeTypes.forEach(function(t){n[t]||e.context.store.dispatch((0,r.initializeMetricsForMimeType)(t,e.context.settings))})}}},e.prototype.dispose=function(){(0,o.isContextAvailable)(this.context)&&this.context.eventHandler.off(i.PlayerEvent.AdStarted,this.startOptimization),this.segmentInfosToPrefetch=[],this.segmentInfoService=void 0,this.segmentPrefetchingService=void 0},e}();function l(e,t){var n=[];return e.forEach(function(e){return n.push(t(e))}),n}t.AdRestorationOptimizationService=c},3072:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resolveContainerFormat=void 0;var i=n(50163),r=n(43068),a=n(83024),o=n(8073),s=n(92977);function _(e){var t=(0,s.extractContainerFormat)(e);return t?{source:t,target:t}:void 0}t.resolveContainerFormat=function(e,t,n){return n?function(e,t){var n,s=r.ModuleManager.has(a.ModuleName.ContainerMP4),u=null===(n=r.ModuleManager.get(a.ModuleName.ContainerMP4,!1))||void 0===n?void 0:n.isValidMp4;return s&&u(t)?{source:o.ContainerFormat.MP4,target:o.ContainerFormat.MP4}:i.MimeTypeHelper.isSubtitle(e)?_(e):{source:o.ContainerFormat.TS,target:o.ContainerFormat.MP4}}(e,t):_(e)}},27999:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;nthis.CAPACITY&&this.keys.shift())},e.prototype.dispose=function(){this.keys=void 0},e}();t.KeyStore=n},30733:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLoader=t.getLoaderConfig=void 0;var i=n(83123),r=n(41609),a=n(50163);function o(e){return a.MimeTypeHelper.isVideo(e)?r.HttpRequestType.MEDIA_VIDEO:a.MimeTypeHelper.isAudio(e)?r.HttpRequestType.MEDIA_AUDIO:a.MimeTypeHelper.isSubtitle(e)?r.HttpRequestType.MEDIA_SUBTITLES:a.MimeTypeHelper.isUnknown(e)?r.HttpRequestType.INTERNAL:r.HttpRequestType.UNKNOWN}t.getLoaderConfig=function(e,t){var n;return(null===(n=e.config.tweaks)||void 0===n?void 0:n.segmentLoaderArgs)?e.config.tweaks.segmentLoaderArgs:{maxRetries:e.settings.MAX_CDN_RETRIES,requestType:o(t),disableDownloadTimeout:!0,resetRetriesWhenOffline:!0}},t.getLoader=function(e,t){var n,r=null===(n=e.config.tweaks)||void 0===n?void 0:n.segmentLoader;return r&&"function"==typeof r?new r(t):new i.DefaultContentLoader(e,t)}},35675:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoErrors=void 0;var n=function(){function e(){}return e.PERIOD_COMPLETE={code:"PERIOD_COMPLETE"},e.PERIOD_DROPPED_OUT={code:"PERIOD_DROPPED_OUT"},e}();t.SegmentInfoErrors=n},46101:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MPDHandlerFactory=void 0;var i=n(59534),r=n(43068),a=n(83024),o=n(59266),s=function(){function e(){}return e.createInstance=function(e,t,n,r,a){void 0===r&&(r="0");var o=e.serviceManager.get(i.ServiceName.ManifestService,e.sourceContext.sourceIdentifier);if(!(null==o?void 0:o.hasAdaptationSets(r)))return null;var s=o.findAdaptationSet(r,t,a);if(!s)return e.logger.debug("Did not find adaptation set for mime type [".concat(t,"] in period ").concat(r)),null;var l=s.Representation&&s.Representation[0],d=l&&l.SegmentTemplate?l.SegmentTemplate:s.SegmentTemplate;return o.isSmoothManifest()?_(e,t,n,d):o.isHlsManifest()?u(e,l):c(e,d,l)},e}();function _(e,t,n,i){return i?new(r.ModuleManager.get(a.ModuleName.Smooth).createSmoothSegmentTemplateMPDHandler())(e,t,n):null}function u(e,t){return t.SegmentList?new o.SegmentListMPDHandler(e):null}function c(e,t,n){var i=r.ModuleManager.get(a.ModuleName.DASH);return t&&t[0].SegmentTimeline?new i.SegmentTimelineMPDHandler(e):t?new i.SegmentTemplateMPDHandler(e):n.SegmentList?new o.SegmentListMPDHandler(e):n.SegmentBase?new i.SegmentBaseMPDHandler(e):null}t.MPDHandlerFactory=s},30790:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.areSegmentsIdentical=t.SegmentCache=void 0;var i=n(12391),r=n(93842),a=function(){function e(e){this.maxSize=Math.max(0,e),this.cache=[]}return e.prototype.contains=function(e){return this.cache.some(function(t){return o(e.getSegmentInfo(),t.getSegmentInfo())})},e.prototype.maintainCacheSize=function(e){this.cache=0!==e?this.cache.slice(-e):[]},e.prototype.add=function(e){this.contains(e)||(this.cache.push(e),this.maintainCacheSize(this.maxSize))},e.prototype.get=function(e){return this.cache.find(function(t){return o(e,t.getSegmentInfo())})},e.prototype.clear=function(){this.maintainCacheSize(0)},e.prototype.remove=function(e){this.cache=this.cache.filter((0,i.invert)(e))},e.prototype.getCapacity=function(){return this.maxSize},e.prototype.getCachedCount=function(){return this.cache.length},e.prototype.getCachedSegments=function(){return this.cache.slice(0)},e}();function o(e,t){return(e.isInitSegment?["url","periodId","byteRange"]:["url","periodId","byteRange","discontinuitySequenceNumber"]).every(function(n){return"object"==typeof e[n]?(0,r.compareValues)(e[n],t[n]):e[n]===t[n]})}t.SegmentCache=a,t.areSegmentsIdentical=o},92977:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n-1&&!d.maybeIsHlsManifest()&&(d.isLastSegment=e.isLastSegment())}},this.onShouldDownloadBeCancelled=function(e,t){var n,i=Boolean(null===(n=d.adaptationService)||void 0===n?void 0:n.shouldDownloadBeCancelled(d.mimeType,e,t));return d.maybeIsHlsManifest()&&d.hls.possiblyDependentSegments&&i?(d.logger.debug("Download should be cancelled, but this is disabled for segments not starting with key frames"),!1):i};var f=e.sourceContext.sourceIdentifier;if(this.currentPeriodId=u,this.sourceStore=l,this.manifestUpdateScheduler=e.serviceManager.get(_.ServiceName.ManifestUpdateSchedulingService,f),this.segmentUnavailabilityHandler=new P.SegmentUnavailabilityHandler(this.context),this.adaptationService=this.context.serviceManager.get(_.ServiceName.AdaptationService),this.streamTimeService=this.context.serviceManager.get(_.ServiceName.StreamTimeService),this.initSegmentStore=new N.InitSegmentStore,this.hls={isTransmuxingRequired:r&&!this.isSubtitleSegmentController,transmuxer:void 0,possiblyDependentSegments:!1,isAvMuxedTogether:!!i&&i.indexOf(",")>-1,discardNextSegment:!1,muxedAudioTrackIndex:0},this.isContainerFormatKnown()){var h=this.getContainerFormat();this.hls.isTransmuxingRequired=h.source!==h.target}this.init()}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"settings",{get:function(){return this.context.settings},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this.context.config},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventHandler",{get:function(){return this.context.eventHandler},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"segmentManager",{get:function(){return z(this.context,this.mimeType,this.segmentParser,this.hls,this.currentLangObj)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSubtitleSegmentController",{get:function(){return m.MimeTypeHelper.isSubtitle(this.mimeType)},enumerable:!1,configurable:!0}),e.prototype.getUserFeedbackForAdaptation=function(e){var t=this,n=this.getAdaptationEventType();if(!n)return null;var i=this.getUserSelectedRepresentation(e.representationId),r=i?this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return t.currentAdaptationSetId&&e.getRepresentation(t.currentAdaptationSetId,i)},null,this.context.sourceContext.sourceIdentifier):null;return r?(this.logger.debug("user has overridden adaptation suggestion! suggested: ".concat(e.representationId,", user: ")+"".concat(i)),this.eventHandler.dispatchEvent(n,{representationID:r._internalId.representationId}),r._internalId):(this.eventHandler.dispatchEvent(n,{representationID:e.representationId}),null)},e.prototype.getUserSelectedRepresentation=function(e){var t,n=this.getAdaptationCallbackFn();if(!n)return null;var i=this.maybeGetAdaptationSet(this.currentAdaptationSetId),r=null!==(t=null==i?void 0:i.Representation.map(function(e){return{bandwidth:e._bandwidth,id:e._id}}))&&void 0!==t?t:[];return n({suggested:e,isAd:this.context.sourceContext.isAd,representations:r})},e.prototype.getAdaptationEventType=function(){return m.MimeTypeHelper.isAudio(this.mimeType)?c.PlayerEvent.AudioAdaptation:m.MimeTypeHelper.isVideo(this.mimeType)?c.PlayerEvent.VideoAdaptation:null},e.prototype.getAdaptationCallbackFn=function(){var e,t;return m.MimeTypeHelper.isAudio(this.mimeType)?null===(e=this.config.adaptation)||void 0===e?void 0:e.onAudioAdaptation:m.MimeTypeHelper.isVideo(this.mimeType)?null===(t=this.config.adaptation)||void 0===t?void 0:t.onVideoAdaptation:void 0},e.prototype.getPrefetchedRepresentationId=function(){var e;if(null===(e=this.context.adRestorationOptimizationService)||void 0===e?void 0:e.hasPrefetchedSegment(this.mimeType,this.lastSegmentInfo))return this.context.adRestorationOptimizationService.getRepresentationForPrefetchedSegment(this.mimeType)},e.prototype.selectRepresentation=function(e,t){var n=this.getPrefetchedRepresentationId();if(n)return n;var i=!1,r=this.sourceStore.getState();r&&(i=Boolean((0,d.getPreferredBitrate)((0,d.getAdaptationState)(r),this.mimeType)));var a=this.getSuggestedRepresentationId(e,i,t);return this.chooseRepresentationId(a)},e.prototype.chooseRepresentationId=function(e){var t,n,i=e?this.getUserFeedbackForAdaptation(e):void 0;if(i)return this.disableDownloadCancelingForNextSegment=!0,i;var r=null===(n=null===(t=this.getCurrentAdaptationSet())||void 0===t?void 0:t.Representation[0])||void 0===n?void 0:n._internalId;return e||r||this.currentRepresentationId},e.prototype.getSuggestedRepresentationId=function(e,t,n){var i,r,a;if(this.periodSwitch||!this.hasJustSwitched||void 0===this.currentRepresentationId){var o={hlsDependentSegments:this.hls.possiblyDependentSegments,segmentDuration:this.mpdHandler.getSegmentDuration(),segmentNumber:e};a=null===(i=this.adaptationService)||void 0===i?void 0:i.selectRepresentation(this.mimeType,o,null===(r=this.getCurrentAdaptationSet())||void 0===r?void 0:r.Representation)}else a=this.currentRepresentationId;return(null==n?void 0:n.periodId)===this.getCurrentPeriodId()&&!t&&(a=n),a},e.prototype.switchRepresentation=function(e){var t=this.currentRepresentationId?this.currentRepresentationId.representationId:null;this.logger.debug("switching representation from ".concat(t," to ").concat(e.representationId," (").concat(this.mimeType,")")),this.mpdHandler.setRepresentationId(e),this.currentRepresentationId=e,this.hasJustSwitched=!0},e.prototype.hasRequestedInitSegment=function(e){var t=this.context.store.getState();return!!t&&(0,h.getMetricsHistoryFromInstanceState)(t,this.mimeType,p.MetricType.CachedInitSegments).map(function(e){var t;return null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.internalRepId}).filter(Boolean).some(function(t){return t.equals(e)})},e.prototype.isInitSegmentNeeded=function(e,t,n){return e.type===F.SegmentType.Init||t||this.maybeIsHlsManifest()||!this.hasRequestedInitSegment(n)},e.prototype.invalidateOngoingRequests=function(){this.invalidateOngoingSegmentInfoRequest=!0},e.prototype.fireQualityChangeEvent=function(e,t){var n,i=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(t){return t.getRepresentationById(e)},null,this.context.sourceContext.sourceIdentifier),r=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getRepresentationById(t)},null,this.context.sourceContext.sourceIdentifier),a=i?(0,A.representationToQuality)(i,this.mimeType):void 0,o=r?(0,A.representationToQuality)(r,this.mimeType):void 0;if(o){var s={targetQuality:o,targetQualityId:o.id,sourceQuality:a,sourceQualityId:null!==(n=null==a?void 0:a.id)&&void 0!==n?n:null};m.MimeTypeHelper.isVideo(this.mimeType)?this.context.eventHandler.dispatchEvent(c.PlayerEvent.VideoDownloadQualityChange,s):m.MimeTypeHelper.isAudio(this.mimeType)&&this.context.eventHandler.dispatchEvent(c.PlayerEvent.AudioDownloadQualityChange,s)}},e.prototype.getSegmentInfo=function(e){var t,n=this,r=void 0!==(null===(t=this.lastSegmentInfo)||void 0===t?void 0:t.segmentNumber)?this.lastSegmentInfo.segmentNumber+1:0,a=this.selectRepresentation(r,e.recommendedRepresentationId),o=!a.equals(this.currentRepresentationId);return o&&(this.sourceStore.dispatch((0,M.setRepresentationIdAction)(a)),m.MimeTypeHelper.isAV(this.mimeType)&&this.fireQualityChangeEvent(this.currentRepresentationId,a)),this.invalidateOngoingSegmentInfoRequest=!1,this.pendingSegmentInfoRequest=this.loadRepresentationInfo(a).then(function(){return n.currentAdaptationSetId&&n.mpdHandler.setAdaptationSetId(n.currentAdaptationSetId,a),o&&n.switchRepresentation(a),n.findNextSegmentInfo(e,o,a)}).then(function(e){var t=n.currentRepresentationId||a;if(n.shouldInvalidateSegmentInfo(e))throw(0,b.isContextAvailable)(n.context)&&n.context.logger.debug("[SegmentController][".concat(n.mimeType,"] invalidating ongoing SegmentInfo request for"),i({},e)),"ongoing segment info request was invalidated";return n.addSegmentInfos(e,r,t),n.lastSegmentInfo=e,e}).catch(function(t){n.pendingSegmentInfoRequest=void 0;var r=n.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getRepresentationById(a)},null,n.context.sourceContext.sourceIdentifier);if(r&&n.sourceStore.dispatch((0,k.setRepresentationFailedDownloadAction)(r._internalId)),t===l.M3u8Error.COULD_NOT_LOAD){n.logger.debug("HLS playlist loading failed for representation ".concat(a.representationId," (").concat(t,")"));var o=n.maybeGetAdaptationSet(n.currentAdaptationSetId),s=null==o?void 0:o.Representation.find(function(e){return!e.hasFailedToLoad});if(s)return n.getSegmentInfo(i(i({},e),{recommendedRepresentationId:s._internalId}))}throw t}).finally(function(){n.expectedTargetTimeAfterSeek=void 0}),this.pendingSegmentInfoRequest},e.prototype.shouldInvalidateSegmentInfo=function(e){return this.invalidateOngoingSegmentInfoRequest&&e&&!e.isInitSegment&&!this.isSegmentInfoInExpectedTimeRange(e)},e.prototype.isSegmentInfoInExpectedTimeRange=function(e){return void 0!==this.expectedTargetTimeAfterSeek&&(0,g.isNumber)(e.startTime)&&(0,g.isNumber)(e.duration)&&this.expectedTargetTimeAfterSeek>=e.startTime&&this.expectedTargetTimeAfterSeek<=e.startTime+e.duration},e.prototype.getInitSegmentInfo=function(){var e={type:F.SegmentType.Init,periodId:this.currentPeriodId};return this.currentRepresentationId&&this.currentRepresentationId.periodId===this.getCurrentPeriodId()?this.getSegmentInfo(i(i({},e),{recommendedRepresentationId:this.currentRepresentationId})):this.getSegmentInfo(e)},e.prototype.getDataSegmentInfo=function(e){var t={type:F.SegmentType.Data,periodId:this.currentPeriodId,time:e};return this.currentRepresentationId&&this.currentRepresentationId.periodId===this.getCurrentPeriodId()?this.getSegmentInfo(i(i({},t),{recommendedRepresentationId:this.currentRepresentationId})):this.getSegmentInfo(t)},e.prototype.needToLoadInitSegment=function(e,t,n,i){var r=!this.isTransmuxerRequired()&&!this.maybeIsSmoothManifest()&&!this.isSubtitleSegmentController;return e&&(r=this.isInitSegmentNeeded(t,n,i))&&this.maybeIsHlsManifest()&&(r=Boolean(this.segmentManager&&!this.segmentManager.hasCachedSegment(e))),r&&t.type!==F.SegmentType.Data},e.prototype.findNextSegmentInfo=function(e,t,n){var r=this,a=this.mpdHandler.getInitSegmentInfo(n),o=this.needToLoadInitSegment(a,e,t,n);return o&&a?Promise.resolve(a):this.mpdHandler.getNextSegmentInfo(e.time).then(function(s){return a=s.init&&i(i({},s.init),{isInitSegment:!0}),(o=r.needToLoadInitSegment(a,e,t,n))&&a?(r.mpdHandler.rewindOneSegment(),a):s})},e.prototype.addSegmentInfos=function(e,t,n){var i=this;if(e){var r=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getRepresentationById(n)},null,this.context.sourceContext.sourceIdentifier);if(r)if(e.representationId=n.representationId,e.internalRepresentationId=n,e.mimeType=this.mimeType,e.bitrate=r._bandwidth,e.periodId=n.periodId,e.codecs=this.getCodecs(),m.MimeTypeHelper.isAudio(this.mimeType))e.sampleRate=r._audioSamplingRate,e.width=void 0,e.height=void 0;else if(m.MimeTypeHelper.isVideo(this.mimeType)&&(e.width=r._width,e.height=r._height,e.frameRate=r._frameRate,!e.dateTime&&this.settings.AKAMAI_DATETIME_PARSING&&this.HLSModule)){var a=null!=e.duration?this.HLSModule.PlaylistUtils.getProgramDateTimeFromSegmentUrl(e.url,e.duration):void 0;a&&(e.dateTime=a)}var o=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return i.currentAdaptationSetId&&e.getLowestBandwidthOfAdaptationSet(i.currentAdaptationSetId)},null,this.context.sourceContext.sourceIdentifier);null!=e.bitrate&&isFinite(e.bitrate)&&e.bitrate===o&&(e.preventDownloadCanceling=!0);var s=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getAvailableBaseURLsForRepresentation(n)},void 0,this.context.sourceContext.sourceIdentifier);e.availableBaseURLs=s,e.firstUsedBaseURLIndex=0,this.lastSegmentInfo&&this.lastSegmentInfo.lastUsedBaseURLIndex&&(e.firstUsedBaseURLIndex=this.lastSegmentInfo.lastUsedBaseURLIndex),e.lastUsedBaseURLIndex=e.firstUsedBaseURLIndex,e.duration||e.isInitSegment||(e.duration=this.mpdHandler.getSegmentDuration()),(void 0===e.segmentNumber||isNaN(e.segmentNumber))&&(e.segmentNumber=t),this.maybeIsHlsManifest()?(e.baseURL="",e.mediaURL||(e.mediaURL=e.url)):(e.baseURL=s[e.firstUsedBaseURLIndex],e.mediaURL=e.mediaURL||e.url,delete e.url),e.url=v.URLHelper.concatBaseUrlWithPartial(e.baseURL,e.mediaURL),e.discardData=this.hls.discardNextSegment,this.hls.discardNextSegment=!1,this.disableDownloadCancelingForNextSegment&&(e.preventDownloadCanceling=!0,this.disableDownloadCancelingForNextSegment=!1),e.isTransmuxingRequired=this.isTransmuxerRequired()}},e.prototype.loadRepresentationInfo=function(e){var t=this;return this.manifestUpdateScheduler?this.manifestUpdateScheduler.waitForRepUpdate(e).then(function(){return t.mpdHandler.updateRepresentation(e)}):Promise.reject("ManifestUpdateScheduler does not exist.")},e.prototype.isTransmuxing=function(){var e;return this.isTransmuxerRequired()&&Boolean(null===(e=this.hls.transmuxer)||void 0===e?void 0:e.isTransmuxing())},e.prototype.hasActiveTransmuxingJobs=function(){var e;return this.isTransmuxerRequired()&&Boolean(null===(e=this.hls.transmuxer)||void 0===e?void 0:e.hasActiveJobs())},e.prototype.cancelTransmuxing=function(){var e=this;this.hls.transmuxer&&this.isTransmuxing()&&this.hls.transmuxer.discardCurrentJobs().forEach(function(t){return K(t.mp2tsSegment,e.sourceStore)})},e.prototype.cancelLoading=function(){var e;this.invalidateOngoingSegmentInfoRequest=!0,null===(e=this.segmentManager)||void 0===e||e.cancel().catch(this.handleCancelLoadingError)},e.prototype.seekTo=function(e){var t=this;null!==e&&this.currentAdaptationSetId&&(this.cancelLoading(),this.cancelTransmuxing(),this.loadingDataSegmentInfos=[],this.hasDownloadError=!1,this.isLastSegment=!1,this.hlsTimelineTracker&&this.hlsTimelineTracker.reset(),this.isTransmuxerRequired()&&this.hls.transmuxer&&this.hls.transmuxer.resetCaptionParser(),e>=0&&(this.hasValidSeekTarget=!0,this.expectedTargetTimeAfterSeek=e,this.mpdHandler.seekTo(e))),this.pendingSegmentInfoRequest&&(0,g.isNumber)(e)&&this.pendingSegmentInfoRequest.catch(function(e){return t.logger.debug("Error during getting a segment info",e)}).then(function(){return t.seekTo(e)})},e.prototype.getNextSegmentOfType=function(e){var t=this;this.getSegmentInfo(e).then(function(e){return t.loadFromSegmentInfo(e)}).catch(this.onSegmentInfoError)},e.prototype.hasNextVod=function(e){var t,n,i=this;if(this.hasDownloadError)return this.currentRepresentationId!==(null===(t=this.adaptationService)||void 0===t?void 0:t.selectRepresentation(this.mimeType))&&(this.mpdHandler.rewindOneSegment(),this.hasDownloadError=!1,this.hasJustSwitched=!1,!0);var r=this.maybeFindPeriod(this.currentPeriodId),a=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getMediaPresentationDuration()},0,this.context.sourceContext.sourceIdentifier);if(r&&r.hasOwnProperty("_duration"))n=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getPeriodDuration(i.currentPeriodId)},void 0,this.context.sourceContext.sourceIdentifier);else{if(0===a)return!1;n=a}return this.mpdHandler.hasNext(n)},e.prototype.hasNextLive=function(e){var t,n=this;if(this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isAvailabilityEndTimeExceeded()},!1,this.context.sourceContext.sourceIdentifier))return this.logger.log("Stream (".concat(this.mimeType,") availability end time reached, stopping download of further segments.")),this.isLastSegment=!0,!1;this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isLastPeriod(n.currentPeriodId)},!1,this.context.sourceContext.sourceIdentifier)&&this.mpdHandler.resolvePendingSegmentInfoRequests(),this.hasDownloadError&&this.currentRepresentationId!==(null===(t=this.adaptationService)||void 0===t?void 0:t.selectRepresentation(this.mimeType))&&(this.mpdHandler.rewindOneSegment(),this.hasDownloadError=!1,this.hasJustSwitched=!1);var i=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getPeriodDuration(n.currentPeriodId)},void 0,this.context.sourceContext.sourceIdentifier);return this.mpdHandler.hasNext(i)},e.prototype.hasNext=function(e){var t=this,n=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isLastPeriod(t.currentPeriodId)},!1,this.context.sourceContext.sourceIdentifier);return!(this.isLastSegment&&n||!this.currentAdaptationSetId||!this.mpdHandler)&&(this.maybeIsLive()?this.hasNextLive(e):this.hasNextVod(e))},e.prototype.onTransmuxed=function(e){var t=this;if(e.transmuxedSegments.every(function(e){return null!==e.getCodec()})){!this.hls.possiblyDependentSegments&&function(e){return e.transmuxedSegments.some(function(e){return m.MimeTypeHelper.isAV(e.getMimeType())&&!e.isIndependentlyDecodable()})}(e)&&(this.logger.debug("Encountered HLS segment not starting with a key frame"),this.hls.possiblyDependentSegments=!0);var n=e.transmuxedSegments.find(function(e){return"video/mp4"===e.getMimeType()}),i=e.transmuxedSegments.filter(function(e){return"audio/mp4"===e.getMimeType()}),r=[n,i[this.hls.muxedAudioTrackIndex]||i[0]].filter(function(e){return Boolean(e)});r.forEach(function(e){return t.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,t.mpdHandler)}),this.segmentManager&&this.currentAdaptationSetId&&this.segmentPreProcessor.cacheOrCallOnSegmentAvailable(e,r,this.currentAdaptationSetId,this.segmentManager,this.hasJustSwitched,function(e){return t.hasJustSwitched=e});var a=r[r.length-1];a&&a.getMimeType().indexOf("mp4")>-1&&(this.isLastSegment=a.isLastSegment()),this.logger.debug("Transmuxing done",e.originalSegment.getUrl())}else{var o=e.originalSegment.getUrl();this.logger.debug("Discarding muxing because codecs were not available in the segment: ".concat(o))}},e.prototype.hasPendingSegments=function(e){var t,n;return e?(t=this.isTransmuxerRequired()&&this.hls.transmuxer&&this.hls.transmuxer.isTransmuxingSegmentsForPeriod(e),n=this.segmentManager.isLoading(e)):(t=this.isTransmuxing(),n=this.segmentManager.isLoading()),n||t||Boolean(this.pendingSegmentInfoRequest)},e.prototype.transmux=function(e){var t=this;if(this.hls.transmuxer){if(!this.hls.transmuxer.isInitialBaseMediaDecodeTimeSet()){void 0===e.getSegmentInfo().startTime&&this.sourceStore.dispatch(this.HLSModule.actions.dropSegmentStartTimes()),(0,x.initializeHlsSegmentStartTimes)(e,this.context,this.mpdHandler);var n=e.getSegmentInfo();if(null!=n.startTime){var i=Math.round(9e4*n.startTime);this.logger.debug("Setting initial BaseMediaDecodeTime at transmuxer to ".concat(i/9e4)+" (".concat(i,")")),this.hls.transmuxer.setBaseMediaDecodeTime(i)}}this.hls.transmuxer.transmuxSegment(e).then(function(e){return t.onTransmuxed(e)}).catch(function(n){K(e,t.sourceStore),t.eventHandler.dispatchEvent(c.PlayerEvent.Warning,new o.PlayerWarning(s.WarningCode.PLAYBACK_INVALID_DATA_SEGMENT_ENCOUNTERED,"Transmuxing failed: ".concat(n),{mimeType:e.getMimeType(),segmentUrl:e.getUrl()}))})}},\ne.prototype.maybeUpdateContainerFormat=function(e){var t;if(!this.isContainerFormatKnown()){var n=(0,U.resolveContainerFormat)(this.mimeType,e,this.maybeIsHlsManifest());this.logger.debug("Container format for ".concat(this.mimeType," is ").concat(null==n?void 0:n.source)),n&&this.sourceStore.dispatch((0,M.setContainerFormatAction)(e.getRepresentationId(),n)),this.hls.isTransmuxingRequired=Boolean(n&&n.source!==n.target),!this.hls.isTransmuxingRequired&&m.MimeTypeHelper.isAV(this.mimeType)&&(null===(t=this.hls.transmuxer)||void 0===t||t.dispose(),this.context.serviceManager.maybeCall(_.ServiceName.SubtitleService,function(e){e.setTransmuxer(void 0)}))}},e.prototype.isSegmentEmpty=function(e){var t=e.getData();return!!(t&&t.byteLength<1)},e.prototype.isInvalidMp4Segment=function(e){if(!$.ModuleManager.has(y.ModuleName.ContainerMP4))return!1;var t=$.ModuleManager.get(y.ModuleName.ContainerMP4,!1),n=t.isValidMp4,i=t.MP4Parser,r=this.segmentParser instanceof i;return this.context.settings.DROP_INVALID_SEGMENTS&&r&&!n(e)},e.prototype.getContainerFormat=function(){var e=this.sourceStore.getState();return e&&(0,R.getContainerFormat)(e,m.MimeTypeHelper.getMediaType(this.mimeType))},e.prototype.isContainerFormatKnown=function(){return Boolean(this.getContainerFormat())},e.prototype.loadFromSegmentInfo=function(e){return this.pendingSegmentInfoRequest=void 0,e?(e.isInitSegment||this.loadingDataSegmentInfos.push(e),this.lastSegmentInfoError=void 0,this.logger.debug("Loading ".concat(JSON.stringify(e))),this.loadSegment(e)):Promise.resolve()},e.prototype.loadSegment=function(e){var t=this;return this.segmentManager?this.segmentManager.getSegment(e).then(function(e){return t.extractSegmentFromStream(e)}).catch(function(n){return t.handleSegmentLoadingError(n,e)}):Promise.reject()},e.prototype.extractSegmentFromStream=function(e){var t=this;e.transform(function(e){(function(e,t){var n=t.findIndex(function(t){return(0,B.areSegmentsIdentical)(t,e)});n>-1&&t.splice(n,1)})(e.getSegmentInfo(),t.loadingDataSegmentInfos),t.onSegmentLoaded(e)},function(){},function(e){return t.logger.debug("Error loading segment",e),e.message})},e.prototype.handleSegmentLoadingError=function(e,t){if(e.reason===G.SegmentLoadingErrorReason.CANCEL)this.onDownloadCancelled(t);else if(e.reason===G.SegmentLoadingErrorReason.ERROR_LOADING){var n=e.info?e.info.response.status:0;this.handleDownloadError(n,t)}else e.reason===G.SegmentLoadingErrorReason.ERROR_DECRYPTING?(this.logger.debug("Could not decrypt segment",t.url),this.eventHandler.dispatchEvent(c.PlayerEvent.Warning,new o.PlayerWarning(s.WarningCode.DRM_COULD_NOT_DECRYPT_SEGMENT))):this.logger.debug("Unexpected ERROR occurred when loading segment!",t.url)},e.prototype.switchToHlsBackupStream=function(e){var t=this;return this.HLSModule&&this.manifestLoader instanceof this.HLSModule.M3u8Loader&&this.manifestLoader.hasBackupStreams(e)?this.manifestLoader.switchToBackupStream(e).then(function(){return!0}).catch(function(e){return t.logger.debug("Switching to HLS backup stream failed",e),Promise.resolve(!1)}):Promise.resolve(!1)},e.prototype.getFailedSegmentIndex=function(){var e=this.settings.CHUNKED_CMAF_STREAMING?1:this.loadingDataSegmentInfos.length;return this.mpdHandler.getIndex()-e},e.prototype.handleDownloadError=function(e,t){this.segmentUnavailabilityHandler.shouldTryAlternatives(e)?this.tryToFindAValidSegment(t,e):(this.storeFailedDownloadRange(t),this.hasDownloadError=!0)},e.prototype.tryToFindAValidSegment=function(e,t){var n=this;if(this.currentRepresentationId&&this.currentRepresentationId.equals(e.internalRepresentationId)){var i=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return n.currentAdaptationSetId&&e.getRepresentation(n.currentAdaptationSetId,n.currentRepresentationId.representationId)},null,this.context.sourceContext.sourceIdentifier);if(i){var r=!1;this.isBackupStreamSwitchOngoing=!0,this.switchToHlsBackupStream(i).then(function(e){return r=e}).finally(function(){return n.isBackupStreamSwitchOngoing=!1}).then(function(){var e;return null===(e=n.segmentManager)||void 0===e?void 0:e.cancel()}).then(function(){return n.tryToRecoverWithValidSegment(r,e,t)})}}else this.logger.debug("Ignoring download error of previous representation.")},e.prototype.tryToRecoverWithValidSegment=function(e,t,n){var i,r,a,o=this,s=this.getFailedSegmentIndex();if(this.loadingDataSegmentInfos=[],e)this.mpdHandler.setIndex(Math.max(0,s));else if(a=this.segmentUnavailabilityHandler.switchBaseURL(t))this.loadFromSegmentInfo(a);else{var _=null;if(null===(i=this.adaptationService)||void 0===i?void 0:i.isAuto(this.mimeType)){var u=null===(r=this.maybeGetAdaptationSet(this.currentAdaptationSetId))||void 0===r?void 0:r.Representation;_=this.segmentUnavailabilityHandler.switchQuality(null!=u?u:[],this.currentRepresentationId)}if(_){if(this.streamTimeService){var c=this.streamTimeService.getTimeForNextSegment((0,D.getTrackIdentifier)(t));this.getSegmentInfo({type:F.SegmentType.Any,recommendedRepresentationId:_,time:c}).then(function(e){return o.loadFromSegmentInfo(e)})}}else this.hasDownloadError=!0,this.handleFailedSegmentDownload(t,n)}},e.prototype.handleFailedSegmentDownload=function(e,t){this.storeFailedDownloadRange(e),this.maybeIsLive()?(this.logger.debug("Could not load current segment of any quality from any CDN (all retries failed), skipping it..."),this.continueWithNextSegment(e)):(0,H.throwDownloadError)(this.context,"Segment not available at any quality or location",t,e)},e.prototype.storeFailedDownloadRange=function(e){var t=(0,j.getSegmentInfoTimeRange)(e);t&&(0,b.isContextAvailable)(this.context)&&e.mimeType&&this.context.store.dispatch((0,O.addStreamTimeRange)((0,D.getTrackIdentifier)(e),t,D.StreamTimeRangeType.Failed))},e.prototype.continueWithNextSegment=function(e){this.segmentUnavailabilityHandler.downloadSuccess(!1),e.hasDownloadFailed=!0,null!=e.startTime&&null!=e.duration&&this.getNext(e.startTime+e.duration)},e.prototype.onDownloadCancelled=function(e){var t,n=this;(0,b.isContextAvailable)(this.context)&&(this.logger.debug("Download took too long, cancelled it."),this.hasJustSwitched=!1,!e.isInitSegment&&this.mpdHandler&&(null===(t=this.segmentManager)||void 0===t||t.cancel().then(function(){if(n.mpdHandler){var e=n.getFailedSegmentIndex();n.loadingDataSegmentInfos=[],n.logger.debug("Trying to get the same segment with a lower bitrate."),n.mpdHandler.setIndex(Math.max(0,e))}})))},e.prototype.findAdaptationSetId=function(e,t,n){var i=this;if(void 0===n&&(n=!1),this.isSubtitleSegmentController&&!(null==t?void 0:t.id))return this.currentLangObj=t,void(this.segmentManager&&this.cancelLoading());var r=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(r){return r.findAdaptationSet(e,i.mimeType,t,n)},null,this.context.sourceContext.sourceIdentifier);return r?(this.currentLangObj=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getLangObjectFromAdaptationSet(r,i.mimeType)},void 0,this.context.sourceContext.sourceIdentifier),r._internalId):void 0},e.prototype.getCurrentAdaptationSet=function(){return this.maybeGetAdaptationSet(this.currentAdaptationSetId)},e.prototype.getAdaptationSetForPeriodId=function(e){return this.maybeGetAdaptationSet(this.loadedAdaptationSetIds[e])||this.getCurrentAdaptationSet()},e.prototype.updateMpd=function(){var e;this.logger.debug("Caught a MPD update event");var t=!this.maybeFindPeriod(this.currentPeriodId);for(var n in this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,this.currentLangObj,!1),!t&&this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId,null===(e=this.adaptationService)||void 0===e||e.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,this.currentRepresentationId,{isPeriodSwitch:!1,isManifestUpdate:!0})),this.loadedAdaptationSetIds)this.maybeFindPeriod(n)||delete this.loadedAdaptationSetIds[n]},e.prototype.activateSubtitleSegmentController=function(e){var t;this.isSubtitleSegmentController&&(this.currentAdaptationSetId&&(this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId),null===(t=this.adaptationService)||void 0===t||t.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId)),isNaN(this.mpdHandler.getTimestampOffset())&&this.mpdHandler.setTimestampOffset(0),this.seekTo(e))},e.prototype.setCurrentLangObj=function(e){var t;if(this.hls.isAvMuxedTogether&&m.MimeTypeHelper.isVideo(this.mimeType)){var n=this.maybeGetAdaptationSet(this.currentAdaptationSetId);if(null==n?void 0:n.ContentComponent){var i=n.ContentComponent.find(function(t){return"audio"===t._contentType&&t._id===e.id});if(i)return this.hls.muxedAudioTrackIndex=n.ContentComponent.filter(function(e){return"audio"===e._contentType}).indexOf(i),void(this.currentLangObj=e)}}e.id!==(null===(t=this.currentLangObj)||void 0===t?void 0:t.id)&&this.switchAdaptationSetId(e)},e.prototype.switchAdaptationSetId=function(e){var t=this.currentAdaptationSetId;if(this.currentAdaptationSetId&&this.sourceStore.dispatch((0,M.removeActiveTrackAction)(this.currentAdaptationSetId)),this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,e),this.currentAdaptationSetId){var n=this.maybeGetAdaptationSet(this.currentAdaptationSetId);n&&this.sourceStore.dispatch((0,M.setMediaTypeAction)(n._internalId,(0,C.resolveMediaTypes)(n))),this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId,t&&!this.currentAdaptationSetId.equals(t)&&this.switchDependentToNewLanguageObject(e)}},e.prototype.switchDependentToNewLanguageObject=function(e){var t;this.currentLangObj=e,this.previousExplicitlySetLangObj=e,this.logger.debug("".concat(Y,"[").concat(this.mimeType,"]: Trying to set language to ID ").concat(this.currentLangObj.id)+" (lang: ".concat(this.currentLangObj.lang,") for mpd handler and adaption handler")),this.currentAdaptationSetId&&(this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId),null===(t=this.adaptationService)||void 0===t||t.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId))},e.prototype.getCurrentLangObj=function(){return this.currentLangObj},e.prototype.stop=function(){var e,t;this.cancelLoading(),null===(e=this.segmentManager)||void 0===e||e.clearCache(),null===(t=this.adaptationService)||void 0===t||t.shutdown(this.mimeType)},e.prototype.init=function(){var e,t=this,n=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getFirstPeriod()},void 0,this.context.sourceContext.sourceIdentifier);!this.currentPeriodId&&n&&(this.currentPeriodId=n._id);var i=L.MPDHandlerFactory.createInstance(this.context,this.mimeType,this.manifestLoader,this.currentPeriodId);if(i){this.mpdHandler=i;var o,s=Q(this.mimeType);s&&(o=(0,I.createSegmentParser)(this.context,s)),o?this.segmentParser=o:this.logger.debug("Could not create segment parser for mime type ".concat(this.mimeType)),this.timestampOffsetService=new q.TimestampOffsetService(this.context,this.mimeType),this.segmentPreProcessor=new V.SegmentPreProcessor(this.context,this.mimeType,this.onDataAvailableCallback,this.hls,this.initSegmentStore,this.segmentUnavailabilityHandler,this.timestampOffsetService,this.segmentParser),this.segmentPreProcessor.setMpdHandler(this.mpdHandler),this.hasDownloadError=!1,this.currentAdaptationSetId=this.findAdaptationSetId(this.currentPeriodId,this.currentLangObj),this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[this.currentPeriodId]=this.currentAdaptationSetId),this.context.serviceManager.maybeCall(_.ServiceName.SegmentService,function(e){return e.add({mimeType:t.mimeType,shouldDownloadBeCancelledCallback:t.onShouldDownloadBeCancelled},t.segmentParser,t.currentLangObj)}),this.maybeIsHlsManifest()&&(this.hlsTimelineTracker=new this.HLSModule.HlsTimelineTracker(this.context,this.settings.GAP_TOLERANCE),this.segmentPreProcessor.setHlsTimelineTracker(this.hlsTimelineTracker)),m.MimeTypeHelper.isMP4(this.mimeType)&&this.context.serviceManager.maybeCall(_.ServiceName.SubtitleService,function(e){e.setupCea608CaptionExtractor(t.context.logger)}),this.hasJustSwitched=!1,this.currentAdaptationSetId&&(null===(e=this.adaptationService)||void 0===e||e.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,void 0,{isPeriodSwitch:!0}),this.maybeIsLive()&&!this.settings.ENABLE_SEEK_FOR_LIVE&&this.mpdHandler.timeShift(0,this.currentPeriodId)),this.hasValidSeekTarget=!1,this.isLastSegment=!1}else this.eventHandler.fireError(new a.PlayerError(r.ErrorCode.SOURCE_MANIFEST_INVALID))},e.prototype.getSegmentInfos=function(){var e,t=this,n=null===(e=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.getAvailableBaseURLsForRepresentation(t.currentRepresentationId)},null,this.context.sourceContext.sourceIdentifier))||void 0===e?void 0:e[0];return this.mpdHandler.getSegmentInfos(n)},e.prototype.getCurrentPeriodId=function(){return this.currentPeriodId},e.prototype.getTargetLanguageObject=function(e){var t=this;return this.previousExplicitlySetLangObj&&this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(n){return n.isLanguageAvailable(e,t.mimeType,t.previousExplicitlySetLangObj)},!1,this.context.sourceContext.sourceIdentifier)?this.previousExplicitlySetLangObj:this.currentLangObj},e.prototype.switchPeriod=function(e){var t,n,i=this,o=this.getTargetLanguageObject(e);if(this.logger.debug("".concat(Y,"[").concat(this.mimeType,"]: switching period from ").concat(this.currentPeriodId," to ").concat(e)),this.initSegmentStore.clear(),this.removeCachedSegmentsOfPrecedingPeriods(),this.currentPeriodId=e,this.currentAdaptationSetId=this.findAdaptationSetId(e,o,!0),this.currentAdaptationSetId&&(this.loadedAdaptationSetIds[e]=this.currentAdaptationSetId),this.currentAdaptationSetId){null===(t=this.adaptationService)||void 0===t||t.setAdaptationSetId(this.mimeType,this.currentAdaptationSetId);var s=this.mpdHandler.getPendingSegmentInfoRequest(),u=L.MPDHandlerFactory.createInstance(this.context,this.mimeType,this.manifestLoader,e,o);u?(this.mpdHandler.dispose(),this.mpdHandler=u):this.eventHandler.fireError(new a.PlayerError(r.ErrorCode.SOURCE_MANIFEST_INVALID)),this.segmentPreProcessor.setMpdHandler(this.mpdHandler),this.mpdHandler.setPendingSegmentInfoRequest(s),this.mpdHandler.setAdaptationSetId(this.currentAdaptationSetId,void 0,{isPeriodSwitch:!0})}if(this.isTransmuxerRequired()){var c=this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return i.currentAdaptationSetId&&e.findDownloadedHlsRepresentation(i.currentAdaptationSetId)},null,this.context.sourceContext.sourceIdentifier);c&&this.mpdHandler.setRepresentationId(c._internalId),this.hlsTimelineTracker&&this.hlsTimelineTracker.reset(),null===(n=this.segmentManager)||void 0===n||n.clearCache(!1)}this.hasDownloadError=!1,this.isLastSegment=!1,this.periodSwitch=!0},e.prototype.getMPDHandler=function(){return this.mpdHandler},e.prototype.getIndex=function(){return this.mpdHandler&&this.mpdHandler.getIndex()||0},e.prototype.getSourceBufferTypes=function(){var e=[];return this.isTransmuxerRequired()&&this.hls.isAvMuxedTogether?(e.push("video/mp4"),e.push("audio/mp4")):e.push(this.mimeType),e},e.prototype.getCodecs=function(){var e,t=this.getCurrentAdaptationSet();return null!==(e=t&&(0,E.getCodecsFromAdaptationSet)(t))&&void 0!==e?e:void 0},e.prototype.getLiveEdgeTime=function(){return this.maybeIsLive()?this.mpdHandler.getLiveEdgeTime():-1},e.prototype.setAdaptionLogicStartupPhase=function(){var e;null===(e=this.adaptationService)||void 0===e||e.setStartupPhase(this.mimeType)},e.prototype.getMimeType=function(){return this.mimeType},e.prototype.removeCachedSegmentsOfPrecedingPeriods=function(){var e=this,t=this.context.store.getState(),n=t?(0,h.getMetricsState)(t):void 0;if(this.segmentManager&&n){var i=this.sourceStore.getState(),r=i?(0,w.getPlayingPeriodId)(i):void 0;this.segmentManager.removeCachedInitSegments(function(t){return e.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isPrecedingPeriod(r,t.getPeriodId())},!1,e.context.sourceContext.sourceIdentifier)}),((0,h.getMetricsHistory)(n,this.mimeType,p.MetricType.CachedInitSegments)||[]).filter(function(t){var n=t.value.internalRepId.periodId;return e.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isPrecedingPeriod(r,n)},!1,e.context.sourceContext.sourceIdentifier)}).forEach(function(t){return e.context.store.dispatch((0,f.removeMetricsValue)(e.mimeType,p.MetricType.CachedInitSegments,t))})}},e.prototype.canLoad=function(){var e;return Boolean(null===(e=this.segmentManager)||void 0===e?void 0:e.canLoad())},e.prototype.isTransmuxerRequired=function(){return this.hls.isTransmuxingRequired},e.prototype.setTransmuxer=function(e){this.hls.transmuxer=e},e.prototype.getTransmuxer=function(){return this.hls.transmuxer},e.prototype.resetTransmuxer=function(){this.hls.transmuxer&&this.hls.transmuxer.reset()},e.prototype.maybeIsHlsManifest=function(){return this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isHlsManifest()},!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeIsSmoothManifest=function(){return this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isSmoothManifest()},!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeIsLive=function(){return this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(e){return e.isLive()},!1,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeFindPeriod=function(e){return this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(t){return t.findPeriod(e)},null,this.context.sourceContext.sourceIdentifier)},e.prototype.maybeGetAdaptationSet=function(e){return this.context.serviceManager.maybeCall(_.ServiceName.ManifestService,function(t){return t.getAdaptationSet(e)},null,this.context.sourceContext.sourceIdentifier)},e.prototype.dispose=function(){var e,t;(0,u.dispose)(this.mpdHandler),(0,u.dispose)(this.timestampOffsetService),(0,u.dispose)(this.segmentPreProcessor),(0,u.dispose)(this.initSegmentStore),null===(e=this.adaptationService)||void 0===e||e.release(this.mimeType),this.hlsTimelineTracker&&this.hlsTimelineTracker.dispose(),(0,b.isContextAvailable)(this.context)&&(null===(t=this.context.serviceManager.get(_.ServiceName.SegmentService))||void 0===t||t.disposeOfType(this.mimeType,this.currentLangObj))},e}();function K(e,t){var n=(0,j.getSegmentInfoTimeRange)(e.getSegmentInfo());n&&t.dispatch((0,O.removeStreamTimeRange)((0,D.getTrackIdentifier)(e.getSegmentInfo()),n,D.StreamTimeRangeType.Loading))}function z(e,t,n,i,r){var a=e.serviceManager.get(_.ServiceName.AdaptationService),o=e.serviceManager.get(_.ServiceName.ManifestService,e.sourceContext.sourceIdentifier),s=function(n,r){var s=Boolean(null==a?void 0:a.shouldDownloadBeCancelled(t,n,r));return(null==o?void 0:o.isHlsManifest())&&i.possiblyDependentSegments&&s?(e.logger.debug("Download should be cancelled, but this is disabled for segments not starting with key frames"),!1):s};return e.serviceManager.maybeCall(_.ServiceName.SegmentService,function(e){return e.add({mimeType:t,shouldDownloadBeCancelledCallback:s},n,r)})}function Q(e){var t=e.split("/")[1].toLowerCase();return Object.values(T.ContainerFormat).find(function(e){return e===t})}t.SegmentController=W,t.isSegmentOfMainStream=function(e,t){return!t.isAvMuxedTogether||m.MimeTypeHelper.isVideo(e.getMimeType())},t.getSegmentManager=z,t.extractContainerFormat=Q},79568:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentType=void 0,function(e){e.Init="init",e.Data="data",e.Any="any"}(t.SegmentType||(t.SegmentType={}))},28910:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.throwDownloadError=void 0;var i=n(36166),r=n(85739),a=n(99538),o=n(55579),s=n(59574),_=n(49520);function u(e,t,n,a){if(0===n)return t&&t===_.RequestError.TimedOut?new r.PlayerError(i.ErrorCode.NETWORK_SEGMENT_DOWNLOAD_TIMEOUT,{segmentUrl:a.url,mimeType:a.mimeType},"Failed to load the segment: the request timed out."):new r.PlayerError(i.ErrorCode.NETWORK_ERROR,{url:a.url,statusCode:n},t);e.logger.debug(t);var o={message:t};return a.url&&(o.segment=function(e){return{url:e.url,mimeType:e.mimeType,codecs:e.codecs}}(a)),new r.PlayerError(i.ErrorCode.NETWORK_ERROR,o,t)}t.throwDownloadError=function(e,t,n,i){e.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new a.PlayerWarning(o.WarningCode.PLAYBACK_DECODE_RETRIES_EXCEEDED)),e.eventHandler.fireError(u(e,t,n,i))}},18967:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoProvider=void 0;var i=n(5793),r=function(){function e(){}return e.findSegmentInfoOfRepresentation=function(t,n){if(n.SegmentList){var i=n.SegmentList[0].SegmentURL,r=t.getUrl(),a=i.find(function(t){return e.getSegmentInfoUrl(t,n)===r});if(a)return a}return null},e.findHlsRepresentationForSegment=function(t,n){for(var i=!1,r=0;r=e[a].startTime)return a;var s=Math.max(t-e[0].startTime,0),_=Math.min(Math.floor(s/n),e.length-1);return o(e[0])&&o(e[_])?function(e,t,n){for(var i=e.length-1;e[n].startTime>t||t>=e[n].startTime+e[n].duration;){if(t=i)return i;if(!o(e[n]))return null}return n}(e,t,_):null}function o(e){return e&&(0,i.isNumber)(e.startTime)}t.findSegmentForTime=function(e,t,n){return e[a(e,t,n)]},t.findSegmentIndexForTime=a,t.createInitSegmentInfoBase=function(e){var t=e._internalId;return{internalRepresentationId:t,representationId:t.representationId,periodId:t.periodId,mimeType:e._mimeType,isInitSegment:!0,downloaded:!1}},t.getSegmentInfoTimeRange=function(e){if((null==e?void 0:e.duration)&&void 0!==(null==e?void 0:e.startTime))return{start:e.startTime,end:e.startTime+e.duration}},t.generateSegmentId=function(e){var t,n,i=null!==(n=null===(t=e.discontinuitySequenceNumber)||void 0===t?void 0:t.toString())&&void 0!==n?n:e.periodId,a=e.byteRange?"-".concat(e.byteRange.start,":").concat(e.byteRange.end):"";return r.Util.hashCode("".concat(i,":").concat(e.url).concat(a))}},59266:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;o--){var s=this.createSegmentListEntry(t.SegmentURL[o],n);if(r&&(0,f.isIdenticalSegmentInfo)(r,s))break;isNaN(s.duration)&&(s.duration=e.maximumSegmentDuration),s.duration/=e.timescale,a+=s.duration,i.unshift(s)}e.totalDuration+=a,e.entries=e.entries.concat(i)},e.prototype.updateSegmentList=function(e,t){var n,i,r=t.SegmentList,a=t._internalId.representationId;e.timescale=1,e.maximumSegmentDuration=1,e.startNumber=1;for(var o=function(o){var _=r[o];_.hasOwnProperty("_duration")&&(e.maximumSegmentDuration=Number(_._duration)),["_timescale","_startNumber","_presentationTimeOffset"].filter(function(e){return _.hasOwnProperty(e)}).forEach(function(t){return e[t.substr(1)]=_[t]}),(null!==(i=null===(n=l.ModuleManager.get(d.ModuleName.DASH,!1))||void 0===n?void 0:n.initSegmentInfoSourceDetectors.isInitializationNode)&&void 0!==i?i:v)(_)?e.init=l.ModuleManager.get(d.ModuleName.DASH,!1).initSegmentInfoProviders.provideSegmentInfoFromInitializationNodeProperty(_,t):delete e.init,_.hasOwnProperty("SegmentURL")&&(s.removeDroppedOutSegmentsFromList(e,_,t._internalId),s.addNewSegmentsToList(e,_,t._internalId.periodId),s.manifestService.isHlsManifest()?$(e.entries,a,s.manifestService):s.assignSegmentStartTimesForDash(e,t._internalId))},s=this,_=0;_=0;_--)t[_].startTime=t[_+1].startTime-t[_+1].duration;for(_=o.index+1;_0){var a=r.entries.length-1;this.listIndex>a&&(i=this.listIndex-a),this.listIndex=Math.min(a,this.listIndex||0),this.listIndex=Math.max(0,this.listIndex),\nt=r.entries[this.listIndex]}if(this.listIndex=this.listIndex||0,n&&(this.distanceToListStartSeconds=this.getSegmentDuration()*this.settings.LIVE_SEGMENT_LIST_START_INDEX_OFFSET),n){if(t&&r){var o=this.getListIndexForSegmentByUrl(t,this.currentRepresentationId);o>=0?this.listIndex=o+i:this.reset()}else this.reset();var s=this.checkForSegmentInfoError();s?this.rejectPendingSegmentInfoRequest(s):this.resolvePendingSegmentInfoRequests()}else this.resolvePendingSegmentInfoRequests()},e.prototype.initializeSegmentList=function(e){var t={totalDuration:0,entries:[],startNumber:0,init:null,maximumSegmentDuration:1,timescale:1};return this.segmentListMap[e]=t,t},e.prototype.getCurrentBandwidth=function(){var e=0,t=this.getCurrentRepresentation();return t&&(e=t._bandwidth),e},e.prototype.checkForSegmentInfoError=function(){var e=this.manifestService.getPeriod(this.currentRepresentationId);if(Boolean(e)&&!this.hasNext()){if(e.droppedOut)return p.SegmentInfoErrors.PERIOD_DROPPED_OUT;if(!this.manifestService.isLastPeriod(this.currentRepresentationId.periodId))return p.SegmentInfoErrors.PERIOD_COMPLETE}return null},e.prototype.reset=function(){this.settings.ENABLE_SEEK_FOR_LIVE?this.listIndex=0:this.timeShift(0)},e.prototype.syncSegmentStartTimeUsingMediaSequenceNumber=function(e,t){var n,i,r,a,s=this.manifestService.getRepresentationById(e),_=this.manifestService.getRepresentationById(t),c=(0,u.isNumber)(null===(n=null==_?void 0:_._hls)||void 0===n?void 0:n.mediaSequence)&&(0,u.isNumber)(null===(i=null==s?void 0:s._hls)||void 0===i?void 0:i.mediaSequence);if(s&&_&&c){var l=(null===(r=null==_?void 0:_._hls)||void 0===r?void 0:r.mediaSequence)-(null===(a=null==s?void 0:s._hls)||void 0===a?void 0:a.mediaSequence),d=this.getSegmentListEntries(e),f=this.getSegmentListEntries(t);if(!(l>=d.length)){f[0].startTime=d[l].startTime;(0,o.forEachFromIndex)(f,1,function(e,t){(0,u.isNumber)(e.startTime)&&(0,u.isNumber)(e.duration)&&(t.startTime=e.startTime+e.duration)})}}},e.prototype.setRepresentationId=function(e){var t=this.manifestService.getRepresentationById(e),n=this.getSegmentListEntries(this.currentRepresentationId)[this.listIndex];if(t){var i=void 0===this.currentRepresentationId,r=this.currentRepresentationId;if(this.currentRepresentationId=e,this.manifestService.isLive()&&t._hls)if(this.settings.HLS_SYNC_SEGMENT_PLAYBACK_TIME_VIA_MEDIA_SEQUENCE&&this.syncSegmentStartTimeUsingMediaSequenceNumber(r,this.currentRepresentationId),i)this.reset();else if(this.settings.HLS_SYNC_VIA_MEDIA_SEQUENCE){var a=this.manifestService.getRepresentationById(r)._hls.mediaSequence+this.listIndex;this.listIndex=a-t._hls.mediaSequence,this.listIndex=Math.max(this.listIndex,0)}else if(null!=(null==n?void 0:n.startTime)&&!isNaN(n.startTime)){var o=this.getIndexForTime(n.startTime);null===o||isNaN(o)||(this.listIndex=this.adaptListIndexToCorrectIndex(o,n.startTime))}return!0}return!1},e.prototype.adaptListIndexToCorrectIndex=function(e,t){var n=this.getSegmentListEntries(this.currentRepresentationId),i=[n[e],n[e+1]];if(e===n.length-1||i.some(function(e){return!e.startTime}))return e;var r=i.map(function(e){return Math.abs(e.startTime-t)}),a=Math.min.apply(this,r);return e+r.indexOf(a)},e.prototype.getInitSegmentInfo=function(){var e=this.getSegmentList(this.currentRepresentationId);if(null==e?void 0:e.init)return e.init.presentationTimeOffset=this.getTimestampOffset(),e.init;var t=this.getSegmentListEntries(this.currentRepresentationId);if(this.listIndex-1){var n=i({},t[this.listIndex]);if(n.init){var r=n.init;return r.isInitSegment=!0,r}}return null},e.prototype.getNextSegmentInfo_=function(){var e=this.getSegmentListEntries(this.currentRepresentationId);if(e.length&&this.listIndex-1){var t=e[this.listIndex];return t.isInitSegment=!1,t.presentationTimeOffset=this.getTimestampOffset(),this.listIndex++,t}return null},e.prototype.getNextSegmentInfo=function(e){var t=this.getNextSegmentInfo_();return t?Promise.resolve(t):this.queueSegmentInfoRequest()},e.prototype.getSegmentInfos=function(){var e=this,t=this.listIndex,n=this.manifestService.getTotalDuration(),i={},r=this.manifestService.getAdaptationSet(this.adaptationSetId);if(r){var a=this.getSeekableRange().end-this.getSeekableRange().start,o=r.Representation[0].BaseURL[0].url;r.Representation.forEach(function(r){var s,u,l=e.getSegmentListEntries(r._internalId),d=e.manifestService.isLive();d?(s=t-a/e.getSegmentDuration(),u=t):(s=0,u=parseInt(s+a/e.getSegmentDuration())-1);for(var f=0,h=[],p=s;p<=u;p++){var b=h.length;h[b]={};var m=void 0;if(l.length&&(m=l[b].url),"string"==typeof m){var g=c.URLHelper.concatBaseUrlWithPartial(o,m);h[b].url=c.URLHelper.appendQueryParametersToUrl(g,e.settings.QUERY_PARAMETERS)}h[b].duration=e.getSegmentDuration(),d?(f=e.settings.ENABLE_SEEK_FOR_LIVE?e.getExpectedPresentationTime(p):(0,_.toSeconds)(Date.now()-e.manifestService.getAvailabilityStartTime())-n,t++):(h[b].startTime=f,f+=h[b].duration),i[r._id]=h}})}return i},e.prototype.getSubtitleUrl=function(){return this.manifestService.getAvailableSubtitles(this.adaptationSetId.periodId)[0].url},e.prototype.getStartNumber=function(){var e=this.getSegmentList(this.currentRepresentationId);return e?e.startNumber:1},e.prototype.getSegmentDuration=function(){var e=this,t=this.getSegmentList(this.currentRepresentationId),n=this.getSegmentListEntries(this.currentRepresentationId);if(t)return n.length>0&&(0,u.isNumber)(t.totalDuration)?t.totalDuration/n.length:t.maximumSegmentDuration;if(this.manifestService.getAdaptationSet(this.adaptationSetId)){var i=Object.keys(this.segmentListMap).map(function(t){return e.segmentListMap[t]}).find(function(e){return null!==e});if(i)return i.maximumSegmentDuration}return 1},e.prototype.seekTo=function(e){e>-1&&(this.listIndex=this.getIndexForTime(e))},e.prototype.isSegmentInfoLoadable=function(){return!this.getCurrentPeriod().droppedOut},e.prototype.hasNext=function(){if(!this.isSegmentInfoLoaded(this.currentRepresentationId))return this.isSegmentInfoLoadable();if(this.currentRepresentationId){var e=this.listIndex0?e.length-1:0},e.prototype.getIndexForOffset=function(e){for(var t,n=Math.abs(e),i=this.getSegmentDuration(),r=this.getSegmentListEntries(this.currentRepresentationId),a=this.getLiveEdgeIndex(),o=0,s=r.length-1;s>=0&&!((o+=null!==(t=r[s].duration)&&void 0!==t?t:i)>=n);s--)a--;return Math.max(0,a)},e.prototype.timeShift=function(e,t,n){if(this.manifestService.isLive()){var i=this.listIndex;this.listIndex=n&&this.hasStartTimes()?this.getIndexForTime(n):this.getIndexForOffset(e),this.logger.debug("timeShift changes index from ".concat(i," to ").concat(this.listIndex,", based on")+" offset ".concat(e," and target time ").concat(n))}},e.prototype.hasStartTimes=function(){var e,t=null===(e=this.getSegmentListEntries(this.currentRepresentationId)[0])||void 0===e?void 0:e.startTime;return(0,u.isNumber)(t)&&t>=0},e.prototype.updateRepresentation=function(e){return Promise.resolve(e)},e.prototype.isSegmentInfoLoaded=function(e){if(void 0===e&&(e=this.currentRepresentationId),!e)return!1;var t=this.getSegmentListEntries(e),n=this.manifestService.getRepresentationById(e);return!(!t.length||!n)},e.prototype.rewindOneSegment=function(){return this.listIndex--,!(this.listIndex<0&&(this.logger.debug("List array index is smaller than 0, probably a discontinuity. Using 0."),this.listIndex=0,1))},e.prototype.getCurrentPeriod=function(){return this.manifestService.getPeriod(this.currentRepresentationId)},e.prototype.getExpectedPresentationTime=function(e){var t=this.getCurrentPeriod().start;return(this.manifestService.hasSinglePeriod()?this.getSeekableRange().start:t)+this.getSegmentListEntries(this.currentRepresentationId).slice(0,e).reduce(function(e,t){return e+t.duration},0)},e.prototype.getCurrentRepresentation=function(){return this.manifestService.getRepresentationById(this.currentRepresentationId)},e.prototype.getSegmentList=function(e){if(e)return this.segmentListMap[e.key()]},e.prototype.getSegmentListEntries=function(e){var t,n;return e?this.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE&&this.manifestService.isHlsManifest()?this.getStoreSegmentInfos(e):null!==(n=null===(t=this.getSegmentList(e))||void 0===t?void 0:t.entries)&&void 0!==n?n:[]:[]},e.prototype.getStoreSegmentInfos=function(e){var t,n=null===(t=this.getSourceStateService())||void 0===t?void 0:t.getState();return(0,h.getSegmentInfos)(n,e.key())},e.prototype.findListIndexWithoutSegmentStartTimes=function(e,t){var n,i;if(!this.adaptationSetId)return 0;for(var r=this.manifestService.getPeriod(this.adaptationSetId),a=null!==(n=null==r?void 0:r.start)&&void 0!==n?n:0,o=this.getSegmentListEntries(this.currentRepresentationId),s=0,_=a;_<=t&&s0?n.startTime:(n=e[String(t-1)])&&n.endTime>0?n.endTime:null}t.SegmentListMPDHandler=m;var v=function(){return!1};function $(e,t,n){if(e.length&&n.hasSegmentStartTimeForHlsRepresentation(t)){var i;null!=e[0].startTime?i=(0,o.findIndexFromEnd)(e,function(e){return null!=e.startTime})+1:(e[0].startTime=n.getStartTimeForHlsSegment(t,e[0]),i=1);(0,o.forEachFromIndex)(e,i,function(e,t){return t.startTime=e.startTime+e.duration})}}t.assignSegmentStartTimesFromHlsPlaylist=$},89617:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&l>=0&&c>l&&o.context.store.dispatch((0,h.addMetricsValue)(o.mimeType,b.MetricType.DownloadInformation,{bytes:o.currentRequestProgress.loadedBytes,time:c,timeToFirstByte:l})),o.canceledSegmentRequestFinishedEvent={success:!1,httpStatus:408,downloadTime:c,size:o.currentRequestProgress.loadedBytes,duration:null!==(s=o.segmentDuration)&&void 0!==s?s:0,isInit:o.isInit,mimeType:o.mimeType,uid:void 0}}o.currentRequestProgress=void 0}},this.checkLoadingProgress=function(){var e,t,n,r=null!==(n=null===(t=null===(e=o.currentRequestProgress)||void 0===e?void 0:e.responseTiming)||void 0===t?void 0:t.sendTimestamp)&&void 0!==n?n:-1;void 0===o.currentRequestProgress||r<0||o.onProgress(i(i({},o.currentRequestProgress),{elapsedTime:l.TimingUtil.getHiResTimestamp()-r}))},this.onProgress=function(e){var t,n=null!==(t=e.elapsedTime)&&void 0!==t?t:-1;if(o.currentRequestProgress=e,o.currentRequestProgress.segmentDuration=o.segmentDuration,o.currentRequestProgress.url=o.loadingUrl,!(o.isInit||n<=.5||o.state!==a.LOADING)&&o.onDownloadShouldBeCancelledCallback(e)){var i=(8*e.loadedBytes/1e3/n).toFixed(2);o.logger.debug("cancel download ".concat(o.currentRequestProgress.url," (measured bandwidth: ").concat(i," kbps)")),o.cancelLoading()}},this.logger=e.logger,this.eventHandler=e.eventHandler,this.customLoaderArgs=e.config.tweaks.segmentLoaderArgs||null,this.customLoader=e.config.tweaks.segmentLoader||null,this.segmentDuration=1,this.segmentNumber=0,this.state=a.IDLE,this.mimeType=t,this.keyStore=new E.KeyStore,this.keyLoader=new T.KeyLoader(this.context),this.onDownloadShouldBeCancelledCallback=n,this.currentLoadPromise=null,this.currentSegmentInfo={},this.canceledSegmentRequestFinishedEvent=null,this.isFetchSupported="function"==typeof window.fetch,this.isPrefetchingLoader=r,$.ModuleManager.has(y.ModuleName.ContainerMP4)){var s=$.ModuleManager.get(y.ModuleName.ContainerMP4);this.cmafChunkParser=new s.CmafChunkParser(this.context)}this.setupContentLoader()}return e.prototype.isLoading=function(){var e=Boolean(this.keyLoader&&this.keyLoader.isLoading());return this.state===a.LOADING||this.state===a.CANCELLING||this.loader&&this.loader.isLoading()||e},e.prototype.isRetrying=function(){return this.loader&&this.loader.isRetrying()},e.prototype.load=function(e){var t=this;if(this.isLoading())return this.logger.debug("Error loading segment, loader is busy!"+this.loadingUrl),Promise.reject({reason:r.BUSY});this.loader&&this.loader.dispose(),this.canceledSegmentRequestFinishedEvent=null,this.loader=(0,A.getLoader)(this.context,this.defaultLoaderArgs),this.state=a.LOADING,this.currentSegmentInfo[e.url]=e,this.encryptionInfo=e.key;var n=Promise.resolve();if(this.encryptionInfo&&!this.encryptionInfo.buffer)if(this.encryptionInfo.method===o.HlsEncryptionMethod.AES_128)n=this.getKey(e).then(function(e){return t.encryptionInfo.buffer=e});else if(this.encryptionInfo.method===o.HlsEncryptionMethod.SAMPLE_AES)return this.eventHandler.fireError(new _.PlayerError(s.ErrorCode.SOURCE_ENCRYPTION_METHOD_NOT_SUPPORTED,{"encryption-method":this.encryptionInfo.method,supported:"AES_128"},"The SAMPLE_AES encryption method is not supported.")),this.state=a.IDLE,Promise.reject({reason:r.ERROR_DECRYPTING});return this.currentLoadPromise=n.then(function(){return t.loadSegment(e).catch(function(e){throw t.state=a.IDLE,t.currentLoadPromise=null,e})}),this.currentLoadPromise},e.prototype.getCurrentLoadPromise=function(){return this.currentLoadPromise},e.prototype.getKey=function(e){var t=this,n=e.key.uri,i=this.keyStore.get(n);return i?Promise.resolve(i):this.keyLoader.load(n).then(function(e){return t.keyStore.put(n,e),e}).catch(function(){throw{reason:r.ERROR_DECRYPTING}})},e.prototype.getPreFetchedSegment=function(e,t){return this.isPrefetchingLoader||!this.context.adRestorationOptimizationService.hasPrefetchedSegment(t)?null:(this.currentSegmentInfo[e]&&(this.currentSegmentInfo[e].wasPrefetched=!0),this.context.adRestorationOptimizationService.getPrefetchedSegment(t,this.onDownloadShouldBeCancelledCallback))},e.prototype.setupLoadingProgressCheckInterval=function(){clearInterval(this.progressCheckIntervalId);var e=(0,v.toMilliSeconds)(this.context.settings.SEGMENT_LOADING_PROGRESS_CHECK_INTERVAL);e<=0||(this.progressCheckIntervalId=window.setInterval(this.checkLoadingProgress,e))},e.prototype.loadSegment=function(e){var t,n=this,i={};this.isInit=null!==(t=e.isInitSegment)&&void 0!==t&&t,this.segmentDuration=e.duration,this.segmentNumber=e.segmentNumber,this.loadingUrl=e.url,this.loadingUid=btoa(this.loadingUrl),this.currentRequestProgress=void 0,e.byteRange&&(i.Range=["bytes=",e.byteRange.start,"-",e.byteRange.end].join(""));var r=this.context.sourceContext.source&&this.context.sourceContext.source.hasOwnProperty("options")&&Boolean(this.context.sourceContext.source.options.withCredentials);clearTimeout(this.loadTimeoutID),clearInterval(this.progressCheckIntervalId),this.loadTimeoutID=void 0,this.isInit||e.preventDownloadCanceling||(this.loadTimeoutID=setTimeout(this.cancelLoading,(0,v.toMilliSeconds)(this.context.settings.XHR_TIMEOUT-1)));var a=this.getPreFetchedSegment(this.loadingUrl,e);if(a)return this.context.logger.debug("return prefetched segment for",this.loadingUrl),a.then(function(e){var t=new C.Stream;return n.loadingFinished(),t.add(e),e.getSegmentInfo().wasPrefetched=!0,t}).catch(function(e){throw e});var o=Boolean(this.encryptionInfo)||Boolean(this.decrypter),s=e.mimeType.includes("mp4")&&g.MimeTypeHelper.isAV(e.mimeType)&&!e.isTransmuxingRequired,_=this.context.settings.CHUNKED_CMAF_STREAMING&&this.cmafChunkParser&&this.isFetchSupported&&s&&!e.isInitSegment&&!o;return this.setupLoadingProgressCheckInterval(),this.loader.load(this.loadingUrl,f.HttpRequestMethod.GET,f.HttpResponseType.ARRAYBUFFER,null,i,r,this.mimeType,_).then(function(e){return n.handleResponse(e.body)}).catch(function(e){throw n.createLoadingError(e)})},e.prototype.createLoadingError=function(e){var t,n;return this.state===a.CANCELLING?(this.logger.debug("Cancelled "+this.mimeType+" download ["+this.loadingUrl+"]"),this.canceledSegmentRequestFinishedEvent&&(null===(t=this.eventHandler)||void 0===t||t.dispatchEvent(u.PlayerEvent.SegmentRequestFinished,this.canceledSegmentRequestFinishedEvent)),n={reason:r.CANCEL}):this.state===a.LOADING&&(n={reason:r.ERROR_LOADING,info:{response:e,isInit:this.isInit}}),n},e.prototype.getAllLoadingPeriodIds=function(){var e=this;return Object.keys(this.currentSegmentInfo).map(function(t){return e.currentSegmentInfo[t].periodId})},e.prototype.getCurrentLoadingSegmentInfo=function(){return this.isLoading()&&this.currentSegmentInfo&&this.currentSegmentInfo[this.loadingUrl]?this.currentSegmentInfo[this.loadingUrl]:null},e.prototype.attachDecrypter=function(e){this.decrypter=this.decrypter||e},e.prototype.attachClearKeyLoader=function(e){this.clearKeyLoader=this.clearKeyLoader||e},e.prototype.terminate=function(){var e,t=this;this.isLoading()?(null===(e=this.currentLoadPromise)||void 0===e||e.catch(function(){t.state=a.TERMINATED}),this.cancelLoading()):this.state=a.TERMINATED},e.prototype.createSegment=function(e){var t,n;n=this.isInit?S.SegmentInitType.INIT:S.SegmentInitType.NONE;var i=this.currentSegmentInfo[this.loadingUrl],r=new S.Segment(e,this.mimeType,null!==(t=i.codecs)&&void 0!==t?t:null,i.periodId,this.segmentDuration,n,!0,e.byteLength,i.internalRepresentationId,i.startTime);return r.setUrl(this.loadingUrl),r.setSegmentInfo(i),r},e.prototype.maybeDecryptResponseData=function(e,t){return this.encryptionInfo&&this.encryptionInfo.method===o.HlsEncryptionMethod.AES_128&&!t?this.decryptAes128(e):this.decrypter?this.decryptClearKey(e):Promise.resolve(e)},e.prototype.decryptAes128=function(e){return this.logger.debug("Decrypting AES-128-encryped segment "+this.loadingUrl+", KEY: 0x"+m.FormatHelper.bytesToHex(this.encryptionInfo.buffer)+", IV: 0x"+m.FormatHelper.bytesToHex(this.encryptionInfo.iv)),new(0,$.ModuleManager.get(y.ModuleName.Crypto).CryptoApi)(this.context,"AES-CBC",this.encryptionInfo.buffer,this.encryptionInfo.iv,this.mimeType).decrypt(e).then(function(e){if(!e||0===e.byteLength)throw{reason:r.ERROR_DECRYPTING};return e}).catch(function(){throw{reason:r.ERROR_DECRYPTING}})},e.prototype.decryptClearKey=function(e){var t=this,n=Promise.resolve(e);if(this.isInit)n=this.decrypter.parseInitSegment(e),this.clearKeyLoader&&(n=n.then(function(e){return t.clearKeyLoader.load(t.decrypter.getKeyIds()).then(function(n){return t.decrypter.addKeys(n),Promise.resolve(e)})}));else if(this.decrypter.isEncrypted()){var i=m.FormatHelper.bytesToHex(this.decrypter.getKey());this.logger.debug("Decrypting SAMPLE-AES-encrypted segment ".concat(this.loadingUrl,", KEY: 0x").concat(i)),n=this.decrypter.decryptDataSegment(e)}return n.catch(function(){throw{reason:r.ERROR_DECRYPTING}})},e.prototype.handleResponse=function(e,t){var n=this;return void 0===t&&(t=!1),e instanceof ArrayBuffer?(this.segmentStream=new C.Stream,this.maybeDecryptResponseData(e,t).then(function(e){n.state===a.TERMINATED||n.state===a.CANCELLING?n.segmentStream.abort(r.CANCEL):(n.segmentStream.add(n.createSegment(e)),n.segmentStream.end()),n.loadingFinished()})):this.segmentStream=e.transform(function(e){return n.cmafChunkParser.appendData(e),n.cmafChunkParser.getCompleteChunks()}).transform(function(e){return n.createSegment(e)},function(){return n.loadingFinished()},function(e){return n.logger.debug("Error handling fetch segment request",e),n.loadingFinished(),e.message===c.RequestError.Canceled?r.CANCEL:r.ERROR_LOADING}),Promise.resolve(this.segmentStream)},e.prototype.loadingFinished=function(){this.state=a.IDLE,this.currentLoadPromise=null,this.cmafChunkParser&&this.cmafChunkParser.reset(),this.currentSegmentInfo&&delete this.currentSegmentInfo[this.loadingUrl]},e.prototype.dispose=function(){this.terminate(),clearTimeout(this.loadTimeoutID),clearInterval(this.progressCheckIntervalId),this.loader&&this.loader.dispose&&this.loader.dispose(),this.keyLoader&&this.keyLoader.dispose(),this.keyStore&&this.keyStore.dispose(),$.ModuleManager.has(y.ModuleName.Crypto)&&$.ModuleManager.get(y.ModuleName.Crypto).WebWorkerCrypto.dispose(),this.loader=null,this.customLoader=null,this.customLoaderArgs=null,this.keyLoader=null,this.loadingUrl=null,this.loadingUid=null,this.encryptionInfo=null,this.currentSegmentInfo=null,this.currentRequestProgress=void 0,this.decrypter=null,this.keyStore=null,this.eventHandler=null},e.prototype.setupContentLoader=function(){var e=this;this.defaultLoaderArgs=i(i({},(0,A.getLoaderConfig)(this.context,this.mimeType)),{onSuccess:function(t,n){var i=(0,p.getMetricsState)(e.context.store.getState());!e.isInit&&e.mimeType in i&&(e.context.store.dispatch((0,h.addMetricsValue)(e.mimeType,b.MetricType.DownloadTime,n)),e.context.store.dispatch((0,h.addMetricsValue)(e.mimeType,b.MetricType.DownloadSuccess,!0)),(0,d.isDownloadTimeInformationValid)(t)&&e.context.store.dispatch((0,h.addMetricsValue)(e.mimeType,b.MetricType.DownloadInformation,{bytes:t.length,time:t.elapsedTime,timeToFirstByte:t.timeToFirstByte}))),clearTimeout(e.loadTimeoutID),clearInterval(e.progressCheckIntervalId),e.loadTimeoutID=void 0;var r={success:!0,httpStatus:t.status,downloadTime:t.elapsedTime,size:t.length,duration:e.segmentDuration,isInit:e.isInit,mimeType:e.mimeType,uid:e.loadingUid};e.eventHandler.dispatchEvent(u.PlayerEvent.SegmentRequestFinished,r)},onProgress:this.onProgress,onFailure:function(t,n){e.context.store.dispatch((0,h.addMetricsValue)(e.mimeType,b.MetricType.DownloadSuccess,!1)),clearTimeout(e.loadTimeoutID),clearInterval(e.progressCheckIntervalId),e.loadTimeoutID=void 0,delete e.currentSegmentInfo[e.loadingUrl],e.eventHandler.dispatchEvent(u.PlayerEvent.SegmentRequestFinished,{success:!1,httpStatus:t&&t.status||0,downloadTime:-1,size:-1,duration:e.segmentDuration,isInit:e.isInit,mimeType:e.mimeType,uid:void 0})}})},e}();t.SegmentLoader=I},75182:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.getLoaderPoolSize=t.SegmentLoaderPool=void 0;var i=n(22221),r=n(45366),a=n(11917),o=n(82072),s=n(50163),_=n(89199),u=n(43068),c=n(83024),l=n(45110),d=n(76060),f=n(70121),h=n(89617),p=function(){function e(e,t){this.context=e,this.mimeType=t.mimeType,this.loaders=[],this.shouldDownloadBeCancelledCallback=t.shouldDownloadBeCancelledCallback,this.createLoaders(b(this.mimeType,e.settings.SEGMENT_LOADER_POOL_SIZE)),this.attachDecrypter()}return e.prototype.createLoaders=function(e){for(var t=0;t0}t.SegmentLoaderPool=p,t.getLoaderPoolSize=b},26495:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPreProcessor=void 0;var i=n(59534),r=n(59574),a=n(22221),o=n(11917),s=n(50163),_=n(47273),u=n(43233),c=n(83576),l=n(45110),d=n(76060),f=n(12434),h=n(30790),p=n(92977),b=n(18967),m=n(70121),g=n(59266),v=function(){function e(e,t,n,r,a,o,s,_){this.context=e,this.mimeType=t,this.onDataAvailableCallback=n,this.hls=r,this.initSegmentStore=a,this.segmentUnavailabilityHandler=o,this.timestampOffsetService=s,this.segmentParser=_,this.isKeyframeRecoveryOngoing=!1,this.downloadRepresentationId=null;var u=e.sourceContext.sourceIdentifier;this.manifestService=this.context.serviceManager.get(i.ServiceName.ManifestService,u),this.playerStateService=this.context.serviceManager.get(i.ServiceName.PlayerStateService)}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventHandler",{get:function(){return this.context.eventHandler},enumerable:!1,configurable:!0}),e.prototype.isSubtitleSegment=function(e){\nreturn s.MimeTypeHelper.isSubtitle(e.getMimeType())},e.prototype.setHlsTimelineTracker=function(e){this.hlsTimelineTracker=e},e.prototype.setMpdHandler=function(e){this.mpdHandler=e},e.prototype.cacheOrCallOnSegmentAvailable=function(e,t,n,r,a,o){var s,_=this,u=this.hasHlsTimelineGap(t.find(function(e){return(0,p.isSegmentOfMainStream)(e,_.hls)}),n);u.hasGap?u.couldHandle?s=!1:u.couldHandle||(s=!0,this.hlsTimelineTracker.reset()):s=!0;var c=function(e){a=e,o(e)};if(s)t.forEach(function(t){var i=e.metadata[e.transmuxedSegments.indexOf(t)];_.onSegmentAvailable(t,i,n,r,a,c)||r.cacheSegment(e.originalSegment)});else if(u.hasGap){u.gapSizeSec>0&&r.cacheSegment(e.originalSegment);var f=e.originalSegment.getSegmentInfo(),h=(0,m.getSegmentInfoTimeRange)(f);h&&this.context.serviceManager.maybeCall(i.ServiceName.SourceStoreService,function(e){e.dispatch((0,l.removeStreamTimeRange)((0,d.getTrackIdentifier)(f),h,d.StreamTimeRangeType.Loading))},void 0,this.context.sourceContext.sourceIdentifier)}},e.prototype.onSegmentAvailable=function(e,t,n,r,a,o){var s=this,c=this.hls.isTransmuxingRequired,l=this.manifestService.getAdaptationSet(n),d=(0,u.getCodecsFromAdaptationSet)(l),h=this.mpdHandler.preProcessAvailableSegment(e,t,{codec:d,periodId:e.getPeriodId()});h&&h.additionalSegment&&this.onSegmentAvailable(h.additionalSegment,null,n,r,a,o),this.initSegmentStore.handleSegment(e);var b=!0,m="onSegmentAvailable "+e.getMimeType();if(this.segmentUnavailabilityHandler.downloadSuccess(e.isInit()),e.isInit()&&(m+=" init"),this.logger.debug(m+" segment ["+e.getUrl()+"]"),this.segmentParser&&!c&&!_.TextSegmentAnalyzer.isPlainTextPayload(e.getData())){var g=isNaN(this.mpdHandler.getTimestampOffset())||0===this.mpdHandler.getTimestampOffset();if(this.manifestService.isHlsManifest()&&!e.isInit()&&g&&(0,f.initializeHlsSegmentStartTimes)(e,this.context,this.mpdHandler),this.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,this.mpdHandler),this.segmentParser.parseSegment(e),this.manifestService.isHlsManifest()&&!this.isCorrectSegment(e,n,r))return!1}if(this.isSubtitleSegment(e)&&this.manifestService.isHlsManifest()&&this.timestampOffsetService.maybeAdjustTimestampOffsetAtDiscontinuityChange(e,this.mpdHandler),this.manifestService.isHlsManifest()&&!e.isInit()&&this.manifestService.initSegmentStartTimesFromReferenceSegment(e),this.manifestService.isHlsManifest()&&this.manifestService.markSegmentAsDownloaded(n,e),c&&this.hls.possiblyDependentSegments&&a&&(0,p.isSegmentOfMainStream)(e,this.hls)&&!this.isKeyframeRecoveryOngoing&&(this.logger.debug("Just switched playlists, isIndependentlyDecodable? ".concat(e.isIndependentlyDecodable()," ")+"(".concat(e.getMimeType(),", ").concat(e.getUrl(),")")),!e.isIndependentlyDecodable()&&this.mpdHandler.getIndex()>0&&(this.logger.debug("Started keyframe recovery"),this.mpdHandler.setIndex(this.mpdHandler.getIndex()-2),b=!1,this.hls.discardNextSegment=!0,this.isKeyframeRecoveryOngoing=!0)),!b)return!1;$(e,this.context.store),this.context.serviceManager.get(i.ServiceName.TimedMetadataService).onSegmentAvailable({segment:e,extractedMetadata:t,isSegmentOfMainStream:(0,p.isSegmentOfMainStream)(e,this.hls),presentationTimeOffset:this.mpdHandler.getTimestampOffset()}),this.context.serviceManager.maybeCall(i.ServiceName.SubtitleService,function(n){n.handleClosedCaptions(s.mpdHandler,e,null==t?void 0:t.closedCaptions,c,d)}),e.isInit()?o(!0):(a&&(0,p.isSegmentOfMainStream)(e,this.hls)&&o(!1),this.logger.debug("[".concat("SegmentPreProcessor","][").concat(this.mimeType,"]: playbackTimeForSegment=").concat(e.getPlaybackTime()," ").concat(e.getUrl())));var v=e.getSegmentInfo(),y=v&&!v.internalRepresentationId.equals(this.downloadRepresentationId);return(0,p.isSegmentOfMainStream)(e,this.hls)&&y&&(this.triggerOnDownloadQualityChanged(this.mimeType,this.downloadRepresentationId,v.internalRepresentationId),this.updateDownloadedRepresentation(e),this.downloadRepresentationId=v.internalRepresentationId),(0,p.isSegmentOfMainStream)(e,this.hls)&&(this.hlsTimelineTracker&&!e.isInit()&&this.hlsTimelineTracker.trackPlaybackTime(e),this.isKeyframeRecoveryOngoing&&(this.isKeyframeRecoveryOngoing=!1)),e.isInit()||this.onDataAvailableCallback(e),b},e.prototype.updateDownloadedRepresentation=function(e){var t=e.getSegmentInfo(),n={id:t.representationId,bitrate:t.bitrate,width:t.width,height:t.height};this.context.store.dispatch((0,a.addMetricsValue)(this.mimeType,o.MetricType.DownloadedRepresentation,n))},e.prototype.triggerOnDownloadQualityChanged=function(e,t,n){var i;if(s.MimeTypeHelper.isVideo(e))i=r.PlayerEvent.VideoDownloadQualityChanged;else{if(!s.MimeTypeHelper.isAudio(e))return;i=r.PlayerEvent.AudioDownloadQualityChanged}var a=(0,c.representationToQuality)(this.manifestService.getRepresentationById(t),e),o=(0,c.representationToQuality)(this.manifestService.getRepresentationById(n),e);this.eventHandler.dispatchEvent(i,{targetQuality:o,targetQualityId:o.id,sourceQuality:a,sourceQualityId:a?a.id:null})},e.prototype.hasHlsTimelineGap=function(e,t){var n={hasGap:!1};if(e&&this.manifestService.isHlsManifest()&&!this.isSubtitleSegment(e)&&(0,p.isSegmentOfMainStream)(e,this.hls)&&this.hlsTimelineTracker){var i=b.SegmentInfoProvider.findHlsRepresentationForSegment(e,this.manifestService.getAdaptationSet(t));if(i&&(n=this.hlsTimelineTracker.checkForTimelineGap(e,i.representation,i.index)).hasGap&&void 0!==n.correctedIndex){this.logger.debug("Encountered timeline gap ("+n.gapSizeSec+"), just loaded "+e.getUrl());var r=i.representation._internalId,a=this.mpdHandler instanceof g.SegmentListMPDHandler&&this.mpdHandler.getSegmentListEntries(r)&&this.mpdHandler.getSegmentListEntries(r)[n.correctedIndex];if(a&&(0,h.areSegmentsIdentical)(e.getSegmentInfo(),a))return n.hasGap=!1,n;a&&a.hasDownloadFailed?n.couldHandle=!1:this.mpdHandler.setIndex(n.correctedIndex)}}return n},e.prototype.isCorrectSegment=function(e,t,n){var i=this.hasHlsTimelineGap(e,t);return!i.hasGap||(i.couldHandle?(this.isSegmentInTheFuture(i)&&n.cacheSegment(e),!1):(this.hlsTimelineTracker.reset(),!0))},e.prototype.isSegmentInTheFuture=function(e){return e.gapSizeSec>0},e.prototype.dispose=function(){this.downloadRepresentationId=null,this.hlsTimelineTracker=null,this.manifestService=null,this.playerStateService=null,this.onDataAvailableCallback=null,this.hls=null,this.initSegmentStore=null,this.segmentUnavailabilityHandler=null,this.timestampOffsetService=null,this.segmentParser=null,this.mpdHandler=null},e}();function $(e,t){var n=e.getSegmentInfo(),i=(0,m.getSegmentInfoTimeRange)(n),r=e.getPlaybackTimeRange();i&&r&&(t.dispatch((0,l.removeStreamTimeRange)((0,d.getTrackIdentifier)(n),i,d.StreamTimeRangeType.Loading)),t.dispatch((0,l.addStreamTimeRange)((0,d.getTrackIdentifier)(n),r,d.StreamTimeRangeType.Loading)))}t.SegmentPreProcessor=v},90770:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPrefetcher=void 0;var i=n(82072),r=n(74294),a=n(89617),o=function(){function e(e){var t=this;this.processSegmentInfoQueue=function(e){var n=t.segmentInfoQueue.get(e);n&&0!==n.length&&t.chainSegmentPrefetch(n.shift()).then(function(){return t.processSegmentInfoQueue(e)})},this.segmentInfoQueue=new r.ArrayMap,this.prefetchPromiseChainMap=new Map,this.decrypterMap=new Map,this.segmentLoaderMap=new Map,this.segmentPrefetchHandler=e,this.shouldDownloadBeCancelledCallbackMap=new Map}return e.prototype.updateContext=function(e){this.context=e},e.prototype.setShouldDownloadBeCancelledCallback=function(e,t){this.shouldDownloadBeCancelledCallbackMap.set(e,t)},e.prototype.removeShouldDownloadBeCancelledCallback=function(e){this.shouldDownloadBeCancelledCallbackMap.delete(e)},e.prototype.setDecrypter=function(e,t){this.decrypterMap.set(t,e),this.segmentLoaderMap.has(t)&&this.segmentLoaderMap.get(t).attachDecrypter(e)},e.prototype.removeDecrypter=function(e){this.decrypterMap.delete(e)},e.prototype.getDecrypter=function(e){return this.decrypterMap.get(e)},e.prototype.prefetchSegment=function(e){return this.chainSegmentPrefetch(e)},e.prototype.prefetchSegments=function(e){var t=this;e.forEach(function(e){return t.segmentInfoQueue.add(e.mimeType,e)}),this.segmentInfoQueue.keys.forEach(function(e){return t.processSegmentInfoQueue(e)})},e.prototype.chainSegmentPrefetch=function(e){var t=this,n=this.getPrefetchPromiseChain(e.mimeType).then(function(){return t.fetchSegment(e)}).then(function(){}).catch(function(){});return this.prefetchPromiseChainMap.set(e.mimeType,n),n},e.prototype.fetchSegment=function(e){var t=this;if(!(0,i.isContextAvailable)(this.context))return Promise.reject("PlayerContext not available");var n=this.getLoader(e).load(e).then(function(e){return e.read()}).then(function(e){return e.value});return this.segmentPrefetchHandler.onPrefetch({segmentInfo:e,loadingPromise:n}),n.catch(function(n){(0,i.isContextAvailable)(t.context)&&t.context.logger.debug("segment prefetching failed for",e,"with",n)}),n},e.prototype.getPrefetchPromiseChain=function(e){return this.prefetchPromiseChainMap.has(e)||this.prefetchPromiseChainMap.set(e,Promise.resolve()),this.prefetchPromiseChainMap.get(e)},e.prototype.getLoader=function(e){return this.segmentLoaderMap.has(e.mimeType)||this.segmentLoaderMap.set(e.mimeType,this.createLoader(e)),this.segmentLoaderMap.get(e.mimeType)},e.prototype.createLoader=function(e){this.prefetchPromiseChainMap.set(e.mimeType,Promise.resolve());var t=new a.SegmentLoader(this.context,e.mimeType,this.createDownloadCancelCallbackFunction(e),!0);return t.attachDecrypter(this.decrypterMap.get(e.mimeType)),t},e.prototype.createDownloadCancelCallbackFunction=function(e){var t=this;return function(n){var i=e.mimeType,r=t.segmentLoaderMap.get(i),a=r?r.getCurrentLoadingSegmentInfo():null,o=void 0!==i?t.shouldDownloadBeCancelledCallbackMap.get(i):void 0,s=a?a.internalRepresentationId:e.internalRepresentationId;return void 0!==o&&o(n,s)}},e.prototype.clearPrefetchingQueue=function(e){this.segmentInfoQueue.delete(e)},e.prototype.reset=function(){this.segmentLoaderMap.forEach(function(e){return e.dispose()}),this.shouldDownloadBeCancelledCallbackMap.clear(),this.segmentLoaderMap.clear(),this.decrypterMap.clear()},e.prototype.dispose=function(){this.reset(),this.segmentLoaderMap=null,this.shouldDownloadBeCancelledCallbackMap=null},e}();t.SegmentPrefetcher=o},87384:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentPrefetchingService=void 0;var i=n(88784),r=n(90770),a=function(){function e(){this.segmentPrefetcher=new r.SegmentPrefetcher(this),this.prefetchedSegments=new Map}return e.prototype.updatePlayerContext=function(e){this.context=e,this.segmentPrefetcher.updateContext(this.context)},e.prototype.setDecrypter=function(e,t){this.segmentPrefetcher.setDecrypter(e,t)},e.prototype.removeDecrypter=function(e){this.segmentPrefetcher.removeDecrypter(e)},e.prototype.getDecrypter=function(e){return this.segmentPrefetcher.getDecrypter(e)},e.prototype.hasMp4Decrypter=function(e){return Boolean(this.getDecrypter(e))},e.prototype.setShouldDownloadBeCancelledCallback=function(e,t){this.segmentPrefetcher.setShouldDownloadBeCancelledCallback(e,t)},e.prototype.removeShouldDownloadBeCancelledCallback=function(e){this.segmentPrefetcher.removeShouldDownloadBeCancelledCallback(e)},e.prototype.fetch=function(e){var t=this;return this.segmentPrefetcher.prefetchSegment(e).then(function(){var n=t.prefetchedSegments.get(e.mimeType).get((0,i.getSegmentInfoId)(e));return n?Promise.resolve(n.loadingPromise):Promise.reject()})},e.prototype.fetchAll=function(e){this.segmentPrefetcher.prefetchSegments(e)},e.prototype.onPrefetch=function(e){var t=e.segmentInfo.mimeType;this.prefetchedSegments.has(t)||this.prefetchedSegments.set(t,new Map),this.prefetchedSegments.get(t).set((0,i.getSegmentInfoId)(e.segmentInfo),e)},e.prototype.hasPrefetchedSegment=function(e){return Boolean(this.findPrefetchedSegment(e))},e.prototype.getPrefetchedSegment=function(e){var t=this.findPrefetchedSegment(e);return t?t.loadingPromise:null},e.prototype.findPrefetchedSegment=function(e){return this.prefetchedSegments.has(e.mimeType)&&this.prefetchedSegments.get(e.mimeType).get((0,i.getSegmentInfoId)(e))||null},e.prototype.getPrefetchedSegments=function(){return this.prefetchedSegments},e.prototype.removePrefetchedSegment=function(e){this.prefetchedSegments.has(e.mimeType)&&this.prefetchedSegments.get(e.mimeType).delete((0,i.getSegmentInfoId)(e))},e.prototype.clearPrefetchingQueue=function(e){this.segmentPrefetcher.clearPrefetchingQueue(e)},e.prototype.reset=function(){this.segmentPrefetcher.reset(),this.prefetchedSegments.clear()},e.prototype.dispose=function(){this.reset(),this.segmentPrefetcher.dispose(),this.segmentPrefetcher=null,this.prefetchedSegments=null},e}();t.SegmentPrefetchingService=a},48800:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentManager=t.SegmentService=void 0;var i=n(4529),r=n(50163),a=n(66173),o=n(30790),s=n(75182),_=n(27005),u=function(){function e(e){var t=this;this.context=e,this.disposeSegmentManager=function(e){t.segmentManagerMap.has(e)&&(t.segmentManagerMap.get(e).dispose(),t.segmentManagerMap.delete(e))},this.segmentManagerMap=new Map}return e.prototype.getSegmentManagerKey=function(e,t){var n=void 0===t?{}:t,i=n.id,a=n.lang;return r.MimeTypeHelper.isSubtitle(e)?[e,i,a].filter(Boolean).join("-"):e},e.prototype.add=function(e,t,n){var i=this.get(e.mimeType,n);return i||(i=this.createSegmentManager(e),this.segmentManagerMap.set(this.getSegmentManagerKey(e.mimeType,n),i)),i},e.prototype.createSegmentManager=function(e){return new c(this.context,e)},e.prototype.get=function(e,t){return this.segmentManagerMap.get(this.getSegmentManagerKey(e,t))},e.prototype.disposeOfType=function(e,t){this.disposeSegmentManager(this.getSegmentManagerKey(e,t))},e.prototype.dispose=function(){this.segmentManagerMap.forEach(function(e){return e.dispose()}),this.segmentManagerMap.clear()},e}();t.SegmentService=u;var c=function(){function e(e,t){this.context=e,this.loaderPool=new s.SegmentLoaderPool(e,t),this.initSegmentService=new a.InitSegmentService(e,this.loaderPool),this.cache=new o.SegmentCache(e.settings.MAX_NUM_CACHED_SEGMENTS),this.sequence=Promise.resolve(null)}return e.prototype.getSegment=function(e){var t=e.isInitSegment?this.getInitSegment(e):this.getDataSegment(e);return this.sequence=this.sequence.catch(function(){}).then(function(){return t}),this.sequence},e.prototype.getInitSegment=function(e){return this.initSegmentService.getSegment(e).then(l)},e.prototype.getDataSegment=function(e){return this.hasCachedSegment(e)?(this.context.logger.debug("Returning segment from cache for URL: ".concat(e.url)),Promise.resolve(l(this.getCachedSegment(e)))):this.loaderPool.load(e)},e.prototype.isLoading=function(e){return e?this.loaderPool.getLoadingPeriodIds().includes(e):this.loaderPool.getLoadingPeriodIds().length>0},e.prototype.canLoad=function(){return this.loaderPool.isFreeLoaderAvailable()},e.prototype.cacheSegment=function(e){this.cache.add(e)},e.prototype.hasCachedSegment=function(e){return Boolean(this.getCachedSegment(e))},e.prototype.getCachedSegment=function(e){return e.isInitSegment?this.initSegmentService.getCachedSegment(e):this.cache.get(e)},e.prototype.removeCachedInitSegments=function(e){this.initSegmentService.removeCachedSegments(e)},e.prototype.clearCache=function(e){void 0===e&&(e=!0),e&&this.initSegmentService.removeCachedSegments(function(){return!0}),this.cache.clear()},e.prototype.cancel=function(){return this.loaderPool.cancelLoading()},e.prototype.dispose=function(){this.cancel(),this.clearCache(!1),this.loaderPool=(0,i.dispose)(this.loaderPool),this.initSegmentService=(0,i.dispose)(this.initSegmentService)},e}();function l(e){var t=new _.Stream;return t.add(e),t.end(),t}t.SegmentManager=c},20931:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TimestampOffsetService=void 0;var i=n(59534),r=n(43068),a=n(83024),o=function(){function e(e,t){this.context=e,this.mimeType=t,this.discontinuityNumbers=new Map;var n=e.sourceContext.sourceIdentifier;this.sourceStore=e.serviceManager.get(i.ServiceName.SourceStoreService,n)}return Object.defineProperty(e.prototype,"logger",{get:function(){return this.context.logger},enumerable:!1,configurable:!0}),e.prototype.maybeAdjustTimestampOffsetAtDiscontinuityChange=function(e,t){var n=e.getSegmentInfo().discontinuitySequenceNumber;if(null!=n&&!e.isInit()){var i=this.discontinuityNumbers.get(e.getMimeType())!==n,r=isNaN(t.getTimestampOffset());(i||r)&&this.adjustTimestampOffset(e,n,t),this.discontinuityNumbers.set(e.getMimeType(),n)}},e.prototype.adjustTimestampOffset=function(e,t,n){var i=r.ModuleManager.get(a.ModuleName.HLS).selectors,o=i.getHlsState,s=(0,i.getPresentationTimeOffset)(o(this.sourceStore.getState()),String(t)),_=this.calculateEncodedPlaybackTime(e),u=_.encodedPlaybackTime,c=_.shouldUpdatePlaybackTime;null==s&&(s=this.calculatePresentationTimeOffset(e,u,t,n)),this.logger.debug("[".concat(this.mimeType,"], discontinuity: ").concat(t," adjusting PTO to ").concat(s," on segment ").concat(e.getUrl())),n.setTimestampOffset(s),e.getSegmentInfo().presentationTimeOffset=s,e.setPresentationTimeOffset(s),c&&e.setPlaybackTime(u-s)},e.prototype.calculatePresentationTimeOffset=function(e,t,n,i){null==e.getSegmentInfo().startTime&&(this.logger.debug("[".concat(e.getMimeType(),"] no startTime when trying to calculate the PTO for ").concat(n)),i.extrapolateStartTimesFromDiscontinuityStarts(e));var o=t-e.getSegmentInfo().startTime,s=r.ModuleManager.get(a.ModuleName.HLS);return this.sourceStore.dispatch(s.actions.setPresentationTimeOffset(String(n),o)),this.logger.debug("[".concat(e.getMimeType(),"] set PTO for discontinuity ").concat(n," to ").concat(o)),o},e.prototype.calculateEncodedPlaybackTime=function(e){var t=r.ModuleManager.get(a.ModuleName.ContainerMP4,!1),n=!0,i=t?t.parsePlaybackTime(e,this.logger):e.getBaseMediaDecodeTime()/e.getTimescale();return isNaN(i)&&(i=e.getPlaybackTime(),n=!1),{encodedPlaybackTime:i,shouldUpdatePlaybackTime:n}},e.prototype.dispose=function(){this.discontinuityNumbers=null,this.sourceStore=null},e}();t.TimestampOffsetService=o},64061:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.UrlInitSegmentProvider=void 0;var i=n(22221),r=n(11917),a=n(30790),o=function(){function e(e,t){this.context=e,this.loaderPool=t,this.cache=new a.SegmentCache(1/0)}return e.prototype.getSegment=function(e){var t=this,n=this.cache.get(e);return(n?Promise.resolve(n):this.loadSegment(e)).then(function(e){return n||t.cacheSegment(e),e})},e.prototype.loadSegment=function(e){return this.loaderPool.load(e).then(function(e){return e.read()}).then(function(t){if(!t.value)throw new Error("SegmentStream error ".concat(e.url));return t.value})},e.prototype.cacheSegment=function(e){this.cache.add(e),this.context.store.dispatch((0,i.addMetricsValue)(e.getMimeType(),r.MetricType.CachedInitSegments,{internalRepId:e.getSegmentInfo().internalRepresentationId}))},e.prototype.getCachedSegment=function(e){return this.cache.get(e)},e.prototype.removeCachedSegments=function(e){this.cache.remove(e)},e.prototype.dispose=function(){this.cache.clear()},e}();t.UrlInitSegmentProvider=o},12434:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initializeHlsSegmentStartTimes=void 0;var i=n(59534),r=n(43068),a=n(83024),o=n(59266);t.initializeHlsSegmentStartTimes=function(e,t,n){var s=t.sourceContext.sourceIdentifier,_=t.serviceManager.get(i.ServiceName.ManifestService,s),u=r.ModuleManager.get(a.ModuleName.HLS).selectors,c=u.getHlsState,l=u.hasInitializedSegmentStartTimes,d=t.serviceManager.get(i.ServiceName.SourceStoreService,s),f=null==d?void 0:d.getState();if(_&&f&&!l(c(f))){var h=e.getRepresentationId().representationId;_.initializeSegmentStartTimesFromStart(h),(0,o.assignSegmentStartTimesFromHlsPlaylist)(n.getSegmentListEntries(e.getRepresentationId()),h,_)}}},27005:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Stream=void 0;var i=n(81028),r=n(84957),a=n(10032),o=function(){function e(){var e=this;this.resolveDeferredRead=function(){e.deferredRead&&!e.isEmpty()&&(e.deferredRead.resolve({done:!1,value:e.chunks.shift()}),e.deferredRead=null)},this.state=a.StreamState.Open,this.chunks=[],this.deferredEnded=new i.Deferred,this.deferredEnded.promise.catch(function(){})}return e.prototype.add=function(e){this.state===a.StreamState.Open&&(this.chunks.push(e),this.resolveDeferredRead())},e.prototype.read=function(){if(this.deferredRead)return Promise.reject({name:r.StreamReadError.ParallelRead});if(this.state===a.StreamState.Ended&&this.isEmpty())return Promise.resolve({done:!0});if(this.state===a.StreamState.Aborted)return Promise.reject({name:r.StreamReadError.Aborted,message:this.getError()});this.deferredRead=new i.Deferred;var e=this.deferredRead.promise;return this.resolveDeferredRead(),e},e.prototype.end=function(){this.state===a.StreamState.Open&&(this.state=a.StreamState.Ended,this.deferredRead&&this.isEmpty()&&(this.deferredRead.resolve({done:!0}),this.deferredRead=null),this.deferredEnded.resolve())},e.prototype.abort=function(e){var t;if(this.state===a.StreamState.Open){this.state=a.StreamState.Aborted,this.error=e;var n={name:a.StreamState.Aborted,message:null!==(t=this.getError())&&void 0!==t?t:""};this.deferredRead&&(this.deferredRead.reject(n),this.deferredRead=null),this.deferredEnded.reject(n)}},e.prototype.transform=function(t,n,i){var r=this,a=new e,o=function(){r.read().then(function(e){var i=e.done,r=e.value;if(i)n&&n(),a.end();else{var s=null!=r&&t(r);s&&a.add(s),o()}}).catch(function(e){i?a.abort(i(e)):a.abort(e)})};return o(),a},e.prototype.isEmpty=function(){return 0===this.chunks.length},e.prototype.getError=function(){return this.error||null},e}();t.Stream=o},84957:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamReadError=void 0,function(e){e.Aborted="aborted",e.ParallelRead="parallelread"}(t.StreamReadError||(t.StreamReadError={}))},10032:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StreamState=void 0,function(e){e.Open="open",e.Ended="ended",e.Aborted="aborted"}(t.StreamState||(t.StreamState={}))},32579:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DiscontinuityMonitor=void 0;var i=n(59574),r=function(){function e(e){var t=this;this.context=e,this.onSeek=function(){t.seekStarted=!0},this.onSeeked=function(){var e=t.context.internalPlayer.getCurrentTime();Object.values(t.delayedSegmentPlaybackData).forEach(function(n){e>=n.playbackTime&&n.playbackTime+n.duration>=e&&t.maybeFirePeriodSwitchEvents(n)}),t.delayedSegmentPlaybackData={}},this.currentDiscontinuityNumbers={},this.delayedSegmentPlaybackData={},this.seekStarted=!1,this.context.eventHandler.on(i.PlayerEvent.Seek,this.onSeek,!0),this.context.eventHandler.on(i.PlayerEvent.Seeked,this.onSeeked,!0)}return e.prototype.onSegmentAvailable=function(e){if(!e.isInit()){var t=e.getMimeType(),n=e.getSegmentInfo();this.currentDiscontinuityNumbers[t]?this.seekStarted&&(this.delayedSegmentPlaybackData[e.getMimeType()]={mimeType:e.getMimeType(),discontinuitySequenceNumber:n.discontinuitySequenceNumber,playbackTime:n.startTime,duration:e.getDuration()},this.seekStarted=!1):this.currentDiscontinuityNumbers[t]={discontinuitySequenceNumber:n.discontinuitySequenceNumber,startTime:n.startTime||0}}},e.prototype.maybeFirePeriodSwitchEvents=function(e){var t=e.mimeType,n=e.discontinuitySequenceNumber,r=e.playbackTime;if(null!=n&&this.currentDiscontinuityNumbers[t]){var a=this.currentDiscontinuityNumbers[t].discontinuitySequenceNumber;a!==n&&(this.shouldFirePeriodSwitchEvent(t,n,r)&&(this.context.eventHandler.dispatchEvent(i.PlayerEvent.PeriodSwitch),this.context.eventHandler.dispatchEvent(i.PlayerEvent.PeriodSwitched,{sourcePeriod:{periodId:String(a)},targetPeriod:{periodId:String(n)}})),this.currentDiscontinuityNumbers[t]={discontinuitySequenceNumber:n,startTime:r})}},e.prototype.shouldFirePeriodSwitchEvent=function(e,t,n){var i=this,r=Object.keys(this.currentDiscontinuityNumbers).filter(function(t){return t!==e}),a=!0;return r.forEach(function(e){var r=i.currentDiscontinuityNumbers[e];r.discontinuitySequenceNumber===t&&Math.abs(n-r.startTime)<1&&(a=!1)}),a},e.prototype.dispose=function(){this.context.eventHandler.off(i.PlayerEvent.Seek,this.onSeek),this.context.eventHandler.off(i.PlayerEvent.Seeked,this.onSeeked)},e}();t.DiscontinuityMonitor=r},46022:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0},e.prototype.getDrmInitData=function(){return this.hasDrmInitData()?this.drmInitData:[]},e.prototype.getMimeType=function(){return this.mimeType},e.prototype.isInit=function(){return this.initType===r.INIT},e.prototype.isSelfInit=function(){return this.initType===r.SELF_INIT},e.prototype.isEncrypted=function(){return this.encrypted},e.prototype.setEncrypted=function(e){this.encrypted=e},e.prototype.setUrl=function(e){this.loadedUrl=e},e.prototype.getUrl=function(){return this.loadedUrl},e.prototype.getData=function(){return this.data},e.prototype.setData=function(e){this.data=e},e.prototype.getMetadata=function(){return this.metadata},e.prototype.setMetadata=function(e){this.metadata=e},e.prototype.getPlaybackTime=function(){return this.playbackTime},e.prototype.setPlaybackTime=function(e){this.playbackTime=e},e.prototype.getPlaybackEndTime=function(){return this.playbackTime+this.duration},e.prototype.getPlaybackTimeRange=function(){return this.duration?{start:this.getPlaybackTime(),end:this.getPlaybackEndTime()}:(0,s.getSegmentInfoTimeRange)(this.getSegmentInfo())},e.prototype.getBaseMediaDecodeTime=function(){return this.baseMediaDecodeTime},e.prototype.setBaseMediaDecodeTime=function(e){this.baseMediaDecodeTime=e},e.prototype.getPresentationTimeOffset=function(){return this.presentationTimeOffset},e.prototype.setPresentationTimeOffset=function(e){this.presentationTimeOffset=e},e.prototype.getTFDTBoxOffset=function(){return this.tfdtBoxOffset},e.prototype.setTFDTBoxOffset=function(e){this.tfdtBoxOffset=e},e.prototype.getParserMetadataValue=function(e){var t;return this.getParserMetadata()&&this.getParserMetadata()[e]?this.getParserMetadata()[e]:(null===(t=this.getInitSegment())||void 0===t?void 0:t.getParserMetadata())?this.getInitSegment().getParserMetadata()[e]:void 0},e.prototype.getTimescale=function(){return this.getParserMetadataValue("timescale")},e.prototype.getIvSize=function(){return this.getParserMetadataValue("ivSize")},e.prototype.getDefaultSampleDuration=function(){return this.getParserMetadataValue("defaultSampleDuration")},e.prototype.getDefaultSampleSize=function(){return this.getParserMetadataValue("defaultSampleSize")},e.prototype.setTimescale=function(e){this.updateParserMetadata({timescale:e})},e.prototype.getPeriodId=function(){return this.periodId},e.prototype.getCodec=function(){return this.codec},e.prototype.setCodec=function(e){this.codec=e},e.prototype.getDuration=function(){return this.duration},e.prototype.setDuration=function(e){this.duration=e},e.prototype.getNetworkRequestSize=function(){return this.networkRequestSize},e.prototype.getRepresentationId=function(){return this.representationId},e.prototype.getParsedData=function(){return this.parsedData},e.prototype.setParsedData=function(e){this.parsedData=e},e.prototype.getSegmentInfo=function(){return this.segmentInfo},e.prototype.isIndependentlyDecodable=function(){return this.isSegmentIndependentlyDecodable},e.prototype.setSegmentInfo=function(e){this.segmentInfo=e},e.prototype.getMediaInfo=function(){var e={};return this.segmentInfo&&this.segmentInfo.bitrate&&(e.bitrate=this.segmentInfo.bitrate),o.MimeTypeHelper.isAudio(this.mimeType)?this.segmentInfo&&this.segmentInfo.sampleRate&&(e.sampleRate=this.segmentInfo.sampleRate):o.MimeTypeHelper.isVideo(this.mimeType)&&(this.segmentInfo&&this.segmentInfo.width&&(e.width=this.segmentInfo.width),this.segmentInfo&&this.segmentInfo.height&&(e.height=this.segmentInfo.height),this.segmentInfo&&this.segmentInfo.frameRate&&(e.frameRate=this.segmentInfo.frameRate)),e},e.prototype.isDirty=function(){return this._isDirty},e.prototype.setDirty=function(e){this._isDirty=e},e.prototype.setInbandEvents=function(e){this.inbandEvents=e},e.prototype.getInbandEvents=function(){return this.inbandEvents},e.prototype.setLastSegment=function(e){this.lastSegment=e},e.prototype.isLastSegment=function(){return this.lastSegment},e.prototype.wasLoadedFrom=function(e){return this.getUrl().includes(e)},e.prototype.getParserMetadata=function(){return this.parserMetadata},e.prototype.setParserMetadata=function(e){this.parserMetadata=e},e.prototype.updateParserMetadata=function(e){this.parserMetadata=i(i({},this.parserMetadata),e)},e.prototype.setBufferBlockId=function(e){this.bufferBlockId=e},e.prototype.getBufferBlockId=function(){return this.bufferBlockId},e.prototype.setInitSegment=function(e){this.initSegment=e},e.prototype.getInitSegment=function(){return this.initSegment},e}();t.Segment=_,function(e){e[e.NONE=0]="NONE",e[e.INIT=1]="INIT",e[e.SELF_INIT=2]="SELF_INIT"}(r=t.SegmentInitType||(t.SegmentInitType={}))},44578:function(e,t){function n(e,t){var n=i(e),r=i(t);return n.some(function(e){return r.includes(e)})}function i(e){return[e.url,e.mediaURL].filter(Boolean)}Object.defineProperty(t,"__esModule",{value:!0}),t.isIdenticalSegmentInfo=void 0,t.isIdenticalSegmentInfo=function(e,t){var i=n(e,t),r=function(e,t){var n=e.byteRange,i=t.byteRange;return null==n?null==i:null!=i&&n.start===i.start&&n.end===i.end}(e,t),a=e.discontinuitySequenceNumber===t.discontinuitySequenceNumber;return i&&r&&a}},67013:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentUnavailabilityHandler=void 0;var i=n(5793),r=function(){function e(e){this.triedRepsForCurrentSegment={},this.wasQualitySwitched=!1,this.context=e}return e.prototype.downloadSuccess=function(e){this.wasQualitySwitched&&e?this.wasQualitySwitched=!1:this.triedRepsForCurrentSegment={}},e.prototype.getNextLowerNotTriedQuality=function(e,t){for(var n=[],i=0;i0?n[n.length-1]._internalId:null},e.prototype.getNextHigherNotTriedQuality=function(e,t){for(var n=!1,i=0;i=400&&e<=599||0===e},e}();t.SegmentUnavailabilityHandler=r},85303:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&e._playbackTime){var i={metadataType:o.MetadataType.CUSTOM,metadata:e._metadata,data:e._metadata,start:e._playbackTime,end:e._playbackTime+e._duration};n.metadataService.addToMetadataParsedService(_.TimedMetadataType.CustomTag,e._playbackTime,i,t)}})},e.prototype.handleId3Metadata=function(e,t,n){var i=this;e&&Array.isArray(e.id3)&&e.id3.length>0&&e.id3.forEach(function(e){i.publishId3Metadata(e,t,n)})},e.prototype.publishId3Metadata=function(e,t,n){var r=e.presentationTime-t,a={metadataType:o.MetadataType.ID3,metadata:e.data,start:r};this.metadataService.addToMetadataParsedService(_.TimedMetadataType.InBand,r,i(i({},a),{data:e.data}),n)&&this.metadataService.addToTimeline(_.TimedMetadataType.InBand,r,a)},e.prototype.handleCustomMetadata=function(e){var t=this,n=this.manifestService.getRepresentationById(e.internalRepresentationId);n.SegmentList[0].SegmentURL.forEach(function(i,r){i._media===e.url&&(i._playbackTime||function(e,t,n){for(var i=t,r=n;i>=0;)e[i]._playbackTime=r,r-=e[i]._duration,i--;for(i=t+1,r=n+e[t]._duration;i0&&e.metadata[0].type===o.MetadataType.CUSTOM}function m(e){var t=e.getSegmentInfo();return{uid:btoa(e.getUrl()),url:e.getUrl(),mimeType:e.getMimeType(),playbackTime:e.getPlaybackTime(),presentationTimestamp:e.getBaseMediaDecodeTime()/e.getTimescale(),duration:e.getDuration(),mediaInfo:e.getMediaInfo(),wallClockTime:t.wallClockTime,discontinuitySequenceNumber:t.discontinuitySequenceNumber}}t.TimedMetadataService=p},31998:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.clearActiveTracksAction=t.removeActiveTrackAction=t.setContainerFormatAction=t.setMediaTypeAction=t.setRepresentationIdAction=void 0;var i=n(32696),r=n(12391),a=n(77478);t.setRepresentationIdAction=function(e){return(0,i.createAction)(a.ActiveTracksActionType.SetSelectedRepresentationId,{selectedRepresentationId:e})},t.setMediaTypeAction=function(e,t){var n=(0,r.forceArray)(t);return(0,i.createAction)(a.ActiveTracksActionType.SetMediaType,{trackId:e,mediaTypes:n})},t.setContainerFormatAction=function(e,t){return(0,i.createAction)(a.ActiveTracksActionType.SetContainerFormat,{trackId:e,containerFormat:t})},t.removeActiveTrackAction=function(e){return(0,i.createAction)(a.ActiveTracksActionType.RemoveActiveTrack,{adaptationSetId:e})},t.clearActiveTracksAction=function(){return(0,i.createAction)(a.ActiveTracksActionType.ClearActiveTracks)}},77478:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ActiveTracksActionType=void 0,function(e){e.SetSelectedRepresentationId="@instance/sources/@source/activetracks/setselectedrepresentationid",e.SetMediaType="@instance/sources/@source/activetracks/setmediatype",e.SetContainerFormat="@instance/sources/@source/activetracks/setcontainerformat",e.RemoveActiveTrack="@instance/sources/@source/activetracks/remove",e.ClearActiveTracks="@instance/sources/@source/activetracks/clear"}(t.ActiveTracksActionType||(t.ActiveTracksActionType={}))},51017:function(e,t,n){var i,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0?n.segmentInfos.slice(-d):[];c=a(a([],o.slice(_),!0),f,!0)}else c=o;var h=r(r(r({},e[t]),n),{segmentInfos:c});return r(r({},e),((i={})[t]=h,i))}(e,t.payload.qualityPath,t.payload.updatedEntry)},i))},26147:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getMostRecentlyRefreshedQuality=t.getSegmentInfos=t.getSegmentMapEntry=void 0;t.getSegmentMapEntry=function(e,t){return null==e?void 0:e.segmentInfoMap[t]};t.getSegmentInfos=function(e,n){var i,r;return null!==(r=null===(i=(0,t.getSegmentMapEntry)(e,n))||void 0===i?void 0:i.segmentInfos)&&void 0!==r?r:[]};t.getMostRecentlyRefreshedQuality=function(e){if(e)return Object.values(e.segmentInfoMap).filter(function(e){return null!=e.qualityInfo.lastUpdateTimestamp}).sort(function(e,t){var n=e.qualityInfo.lastUpdateTimestamp;return t.qualityInfo.lastUpdateTimestamp-n})[0]}},13561:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentInfoMapActionType=void 0,function(e){e.SetSegmentInfos="@instance/sources/@source/playback/setSegmentInfos",e.UpdateSegmentInfos="@instance/sources/@source/playback/updateSegmentInfos"}(t.SegmentInfoMapActionType||(t.SegmentInfoMapActionType={}))},94800:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.segmentToBufferBlockTimeRange=t.excludeBufferBlockTimeRange=t.mergeBufferBlockTimeRanges=void 0;var i=n(45659);function r(e,t,n){return{start:(0,i.rangeFixedValue)(e),end:(0,i.rangeFixedValue)(t),bufferBlockId:n}}function a(e,t){var n=[];return e.forEach(function(e){(0,i.areDisjoint)(e,t)?n.push(e):(0,i.isSurrounding)(e,t)?n.push.apply(n,function(e,t){return[r(e.start,t.start,e.bufferBlockId),r(t.end,e.end,e.bufferBlockId)]}(e,t)):(0,i.isFullyIncluded)(e,t)||n.push(function(e,t){return r(e.start>=t.start?t.end:e.start,e.end>t.end?e.end:t.start,e.bufferBlockId)}(e,t))}),n}function o(e){var t={};return e.forEach(function(e){t[e.bufferBlockId]||(t[e.bufferBlockId]=[]),t[e.bufferBlockId].push(e)}),t}t.mergeBufferBlockTimeRanges=function(){for(var e=[],t=0;t0?r(r({},e),((n={})[o]=r(r({},e[o]),{\nloadedRanges:[]}),n)):e},i))},4157:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getDrmUsedKeySystem=t.getDrmKeyIdsWithErrors=t.getDrmState=void 0;t.getDrmState=function(e){return null==e?void 0:e.drm};t.getDrmKeyIdsWithErrors=function(e){var t,n;return null!==(n=null===(t=e.drm)||void 0===t?void 0:t.keyIdsWithErrors)&&void 0!==n?n:[]};t.getDrmUsedKeySystem=function(e){var n;return(null===(n=(0,t.getDrmState)(e))||void 0===n?void 0:n.usedKeySystem)||{kind:null,uid:null}}},45110:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.resetStreamTimeline=t.removeStreamTimeRange=t.addStreamTimeRange=void 0;var i=n(32696),r=n(6717);t.addStreamTimeRange=function(e,t,n){var a={start:t.start,end:t.end,type:n};return(0,i.createAction)(r.StreamTimelineActionType.StreamTimeRangeAdd,{mimeType:e,streamTimeRange:a})},t.removeStreamTimeRange=function(e,t,n){return(0,i.createAction)(r.StreamTimelineActionType.StreamTimeRangeRemove,{mimeType:e,range:t,type:n})},t.resetStreamTimeline=function(e){return(0,i.createAction)(r.StreamTimelineActionType.StreamTimelineReset,e)}},81040:function(e,t,n){var i,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;nt.start})}),e},t.removeStreamTimeRangeFromTimeline=function(e,t){var n=e.filter(function(e){return e.type===t.type}),r=i.BufferRangeHelper.excludeTimeRange(n,t);return e=e.filter(function(e){return e.type!==t.type}),r.forEach(function(t){e=o(e,t,function(e){return e.start>t.start})}),e},t.getTrackIdentifier=function(e){var t=e.mimeType,n=e.internalRepresentationId;return a.MimeTypeHelper.isSubtitle(t)?"".concat(t,"/").concat(n.adaptationSetId):t}},45933:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.hasContentProtection=t.areAudioMimeCodecsCompatible=void 0;var i=n(46381);t.areAudioMimeCodecsCompatible=function(e,t){return e.mimeType===t.mimeType&&i.CodecStringHelper.canSwitchBetweenAudioCodecs(e.codec,t.codec)},t.hasContentProtection=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),0===e.length&&0===t.length||e.length>0&&t.length>0}},93842:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareValues=void 0,t.compareValues=function(e,t,n){return!e&&!t||!(e&&!t||!e&&t)&&(n||Object.keys(e)).every(function(n){return e[n]===t[n]})}},93638:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.findSegmentUrlIndexWithinSegmentList=void 0;var i=n(81349),r=n(93842);function a(e,t){return(0,i.endsWith)(e,t)||(0,i.endsWith)(e.split("?")[0],t)}t.findSegmentUrlIndexWithinSegmentList=function(e,t){var n=e.getSegmentInfo();return t.findIndex(function(e){var t=n.discontinuitySequenceNumber===e._discontinuitySequenceNumber,i=a(n.url,e._media),o=(0,r.compareValues)(n.byteRange,e._byteRange);return t&&i&&o})}},11629:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getKeys=t.getValues=void 0,t.getValues=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t},t.getKeys=function(e){var t=[];return e.forEach(function(e,n){t.push(n)}),t}}},function(e){return e(e.s=81201)}])},656:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[275],{3407:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractHlsManifestController=void 0;var i,r,a=n(59534),o=n(59574),s=n(31049),_=n(25423),u=n(80815),c=n(29079),l=n(43068),d=n(83024),f=n(99609);!function(e){e.CueTag="cueTag",e.Scte35="scte35",e.DateRange="dateRange",e.CustomTags="customTags"}(i||(i={}));var h=function(){function e(e){var t,n=this;this.context=e,this.onManifestMetadata=function(e){if(e.hasOwnProperty("metadata")){var t={metadataType:e.metadataType.toUpperCase(),metadata:e.metadata};(e.start||0===e.start)&&(t.start=e.start),e.end&&(t.end=e.end),n.context.eventHandler.dispatchEvent(o.PlayerEvent.Metadata,t)}},this.onTimeChangedHandler=function(e){var t=n.segmentTimelineController.getPlayingSegment(e.relativeTime||e.time);t&&!t.consumed&&(t.consumed=!0,n.triggerMetadata(t),n.triggerSegmentPlayback(t))},this.onTimeShiftedHandler=function(){n.segmentTimelineController.reset()},this.onSeeked=function(){n.segmentTimelineController.reset()},this.registerVariantPlaylist=function(e){var t=n.parsePlaylist(e.body),i=!t.endList;if(n.isValidVariantPlaylist(t)){var a=n.parsedManifest.playlists.find(function(t){return e.url.includes(t.uri)});if(a&&function(e,t){var n=function(t){var n;return null===(n=e.media)||void 0===n?void 0:n.some(function(e){return t.includes(e.attributes.URI)})},i=e.playlists.find(function(e){return t.uri.includes(e.uri)&&!n(t.uri)});return Boolean(i)}(n.parsedManifest,a)){n.segmentTimelineController.switchTimeline(a.id),r.extrapolateProgramDateTime(t.segments);var o=function(e,t,n){for(var i,a=e.segments,o=a.some(function(e){return void 0!==e.dateTime}),s=0;s0&&(t.EXPERIMENTAL=t.EXPERIMENTAL||{},t.EXPERIMENTAL.hlsAttributes=e.customTags.map(function(e){return e.attributes})),this.context.eventHandler.dispatchEvent(o.PlayerEvent.SegmentPlayback,t)},e.prototype.triggerMetadata=function(e){var t=this;e.metadata&&e.metadata.forEach(function(e){t.context.eventHandler.dispatchEvent(o.PlayerEvent.Metadata,{metadataType:e.type,metadata:e})})},e.prototype.resolveMasterManifest=function(e){return this.parsedManifest?Promise.resolve(this.manifestUrl):(this.manifestUrl=e,this.downloadMasterManifest(e))},e.prototype.registerMasterManifest=function(e,t){this.originalManifest=e.body;var n=f.replaceManifestUrls(t,this.originalManifest,this.settings.QUERY_PARAMETERS);if(this.parsedManifest=this.parsePlaylist(n),!this.isValidMasterPlaylist(this.parsedManifest))if(this.isValidVariantPlaylist(this.parsedManifest)){var i="#EXTM3U\\n#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=100000\\n$VARIANT$\\n".replace("$VARIANT$",t);n=f.replaceManifestUrls(t,i,this.settings.QUERY_PARAMETERS),this.originalManifest=i,this.parsedManifest=this.parsePlaylist(n)}else this.parsedManifest=null;return n},e.prototype.isValidMasterPlaylist=function(e){return e.hasOwnProperty("playlists")&&e.playlists.length>0},e.prototype.isValidVariantPlaylist=function(e){return e.hasOwnProperty("segments")&&e.segments.length>0},e.prototype.parsePlaylist=function(e){return l.ModuleManager.get(d.ModuleName.HLS).HlsUtils.parsePlaylist(e,this.context.logger)},e.prototype.metadataToMetadataParsedEvent=function(e){return{metadataType:e.metadataType,metadata:e.metadata,data:e.metadata,start:e.start,end:e.end}},e.prototype.addMetadata=function(e){var t="DATERANGE"===e.metadataType?_.TimedMetadataType.DateRange:_.TimedMetadataType.Manifest;this.metadataService.addToMetadataParsedService(t,e.start,this.metadataToMetadataParsedEvent(e),"1")&&this.metadataService.addToTimeline(t,e.start,e)},e.prototype.triggerMetadataParsedEvents=function(e,t){var n=this;e.forEach(function(e){Object.values(i).forEach(function(i){e.hasOwnProperty(i)&&p(i,e,t).forEach(function(e){return n.addMetadata(e)})})})},e.prototype.parseTimelineEntries=function(e){return this.parsePlaylist(e).segments.map(function(e){return{uri:e.uri,duration:e.duration,discontinuity:e.discontinuity||!1,dateTime:null,metadata:[],consumed:!1,playbackTime:-1,keys:[]}})},e.prototype.getPlaybackTimeOfFirstSegmentInTimeline=function(e){for(var t=0;t=0&&t.forEach(function(e){e.timeline.reduce(function(e,t){return t.playbackTime=e,e+t.duration},n)}),t})},t.prototype.getCurrentSegments=function(e,t,n,i){return void 0===i&&(i=1),this.loadAllVariantPlaylists().then(function(r){var a=r.find(function(e){return e.width===t&&e.height===n});return function(e,t,n){for(var i=[],r=0,a=0;a=n&&(i.push(_.uri),r++),r>t)break}}return i}(a?[a]:r,i,e)})},t.prototype.dispose=function(){e.prototype.dispose.call(this),clearTimeout(this.reloadTimerId),this.reloadTimerId=null},t}(d.AbstractHlsManifestController);t.FallbackHlsManifestController=b},2923:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackSegmentTimelineController=void 0;var i=n(55130),r=function(){function e(e){this.videoElement=e,this.shouldCalculatePlaybackTimeForLive=!0,this.timelines={}}return e.prototype.isLiveStream=function(){return this.videoElement.duration===1/0},e.prototype.switchTimeline=function(e){this.timelines[e]||(this.currentActiveTimelineId=e,this.timelines[e]=[])},e.prototype.updateTimeline=function(e,t){var n=this,r=this.timelines[e],a=i.updateTimeline(r,t),o=a.findIndex(function(e){return e.hasOwnProperty("playbackTime")});-1!==o&&i.populateCurrentTimelineWithPlaybackTime(a,o,a[o].playbackTime),this.timelines[e]=a;var s=a.reduce(function(e,t){return n.isLiveStream()&&!n.shouldCalculatePlaybackTimeForLive||(t.playbackTime=e),e+t.duration},0);return this.shouldCalculatePlaybackTimeForLive&&(this.shouldCalculatePlaybackTimeForLive=!1),s},e.prototype.getPlayingSegment=function(e){for(var t=this.getCurrentTimeline(),n=0;n=i.playbackTime&&e<=i.playbackTime+i.duration)return t[n]}return null},e.prototype.addDownloadedSegments=function(e){},e.prototype.getCurrentTimeline=function(){return this.timelines[this.currentActiveTimelineId]},e.prototype.getAllTimelines=function(){return this.timelines},e.prototype.reset=function(){this.timelines[this.currentActiveTimelineId].forEach(function(e){return e.consumed=!1})},e.prototype.dispose=function(){this.timelines={},this.videoElement=null},e}();t.FallbackSegmentTimelineController=r},56910:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsDownloadErrorHandler=void 0;var i=n(36166),r=n(85739),a=n(83123),o=n(40237),s=n(41609),_=n(15949),u=n(89543),c=function(){function e(e,t){var n=this;this.fakeProgress=function(){for(var e=n.video.buffered,t="",i=0;i=10&&n.onStalled(),n.lastProgressString=t},this.fakeWaiting=function(){var e=o.TimingUtil.getHiResTimestamp(),t=!n.video.paused&&!n.video.seeking&&!n.video.ended;e-n.lastTimeUpdateTimeStamp>5&&t&&n.onWaiting()},this.onStalled=function(){n.stalledTimeStamp=o.TimingUtil.getHiResTimestamp(),n.checkStalledState()},this.onProgress=function(){n.stalledTimeStamp=-1/0,clearTimeout(n.downloadErrorCheckTimeoutId)},this.onWaiting=function(){n.waitingEventTimeStamp=o.TimingUtil.getHiResTimestamp(),n.checkStalledState()},this.onTimeUpdate=function(){n.waitingEventTimeStamp=-1/0,n.lastTimeUpdateTimeStamp=o.TimingUtil.getHiResTimestamp(),clearTimeout(n.downloadErrorCheckTimeoutId)},this.checkForDownloadError=function(){if(0!==n.video.buffered.length){var e=n.video.currentTime,t=n.video.buffered.end(n.video.buffered.length-1),o=e<=t&&e+.5>t,_=n.video.paused,u=n.video.networkState===HTMLMediaElement.NETWORK_LOADING,c=n.video.videoWidth,l=n.video.videoHeight;!_&&o&&u&&n.manifestController.getCurrentSegments(t,c,l,2).then(function(e){var t=new a.DefaultContentLoader(n.context),o=function(n,i){return void 0===n&&(n=!0),e.length>0&&n?t.load(e.pop(),s.HttpRequestMethod.HEAD).then(function(e){return o(e.status>=200&&e.status<300,e)}):n?Promise.resolve():Promise.reject(i)};o().catch(function(e){var t=e.url,a=e.status,o=e.statusText;n.context.eventHandler.fireError(new r.PlayerError(i.ErrorCode.NETWORK_ERROR,{url:t,statusCode:a,statusText:o},"Failed to load segment ".concat(t,", statusCode: ").concat(a,", statusText: ").concat(o)))})})}},this.context=e,this.video=e.videoElement,this.manifestController=t,this.playbackAdvancing=!1,this.stalledTimeStamp=-1/0,this.waitingEventTimeStamp=-1/0,this.downloadErrorCheckTimeoutId=-1,this.lastProgressString="",this.numProgressNotChanged=0,this.lastTimeUpdateTimeStamp=-1/0,this.video.addEventListener(u.MediaElementEvent.waiting,this.onWaiting),this.video.addEventListener(u.MediaElementEvent.stalled,this.onStalled),this.video.addEventListener(u.MediaElementEvent.progress,this.onProgress),this.video.addEventListener(u.MediaElementEvent.timeupdate,this.onTimeUpdate),(0,_.getCapabilities)().isIOS&&(this.fakeEventsIntervalId=window.setInterval(function(){n.fakeProgress(),n.fakeWaiting()},500))}return e.prototype.checkStalledState=function(){var e=Math.abs(this.waitingEventTimeStamp-this.stalledTimeStamp);clearTimeout(this.downloadErrorCheckTimeoutId),isFinite(e)&&(this.downloadErrorCheckTimeoutId=window.setTimeout(this.checkForDownloadError,1e3*(5-Math.min(5,e))))},e.prototype.dispose=function(){clearTimeout(this.fakeEventsIntervalId),clearTimeout(this.downloadErrorCheckTimeoutId),this.video.removeEventListener(u.MediaElementEvent.waiting,this.onWaiting),this.video.removeEventListener(u.MediaElementEvent.stalled,this.onStalled),this.video.removeEventListener(u.MediaElementEvent.progress,this.onProgress),this.video.removeEventListener(u.MediaElementEvent.timeupdate,this.onTimeUpdate),this.video=null,this.manifestController=null},e}();t.HlsDownloadErrorHandler=c},67659:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsDownloadService=void 0;var i=n(99538),r=n(55579),a=n(59574),o=n(83123),s=n(41609),_=function(){function e(e){var t=this;this.useCredentialsForManifestRequests=!1,this.downloadFailureHandler=function(e){t.context.eventHandler.dispatchEvent(a.PlayerEvent.Warning,new i.PlayerWarning(r.WarningCode.NETWORK_COULD_NOT_LOAD_MANIFEST)),t.context.logger.debug("Could not load manifest, got HTTP status code "+e.status)},this.context=e,this.init()}return e.prototype.init=function(){this.initCache(),this.initUseCredentialsForManifest()},e.prototype.initCache=function(){this.requestCache={}},e.prototype.initUseCredentialsForManifest=function(){var e=this.context.sourceContext.source&&this.context.sourceContext.source.options||{};this.useCredentialsForManifestRequests="boolean"==typeof e.hlsManifestWithCredentials?e.hlsManifestWithCredentials:!0===e.manifestWithCredentials},e.prototype.downloadPlaylist=function(e,t,n){return void 0===n&&(n=!0),n&&this.requestCache.hasOwnProperty(e)?Promise.resolve(this.requestCache[e]):this.download(t,e)},e.prototype.download=function(e,t){var n=this,i=this.getContentLoader(e);return i.load(t,s.HttpRequestMethod.GET,s.HttpResponseType.TEXT,null,{},this.useCredentialsForManifestRequests).then(function(e){return i.dispose(),n.requestCache[t]=e,e}).catch(function(e){return i.dispose(),Promise.reject(e)})},e.prototype.getContentLoader=function(e){return new o.DefaultContentLoader(this.context,{onFailure:this.downloadFailureHandler,maxRetries:this.context.settings.MAX_MPD_RETRIES,requestType:e})},e.prototype.dispose=function(){},e}();t.HlsDownloadService=_},34804:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsLiveNativeTimeTracker=void 0;var i=n(39409),r=n(80815),a=n(29079),o=n(89543),s=function(){function e(e,t){this.nativePlayer=e,this.context=t,this.timeAdjustment=0,this.unloadTimestamp=null,this.startDate=null}return e.prototype.onUnload=function(e){e===i.ADVERTISING_ISSUER_NAME&&this.context.settings.RESUME_LIVE_CONTENT_AT_PREVIOUS_POSITION_AFTER_AD_BREAK&&null==this.unloadTimestamp&&(this.nativePlayer.isLive()?(this.unloadTimestamp=Date.now(),this.timeAdjustment=this.nativePlayer.getSeekableRange().start,this.startDate=this.nativePlayer.getStartDate()):this.reset())},e.prototype.reset=function(){this.unloadTimestamp=null,this.timeAdjustment=0,this.startDate=null},e.prototype.adjustTargetTime=function(e,t){var n=this;return t!==i.ADVERTISING_RESTORE_ISSUER_NAME||null==this.unloadTimestamp?(this.context.logger.debug("No adjustments are made",this.unloadTimestamp),Promise.resolve(e)):(null!=this.startDate?this.waitForStartDate():Promise.resolve(null)).then(function(t){if(null!=t){n.context.logger.debug("StartDate progressed from ".concat(n.startDate," to: ").concat(t," during the ad"));var i=a.Util.timeInSeconds(t)-a.Util.timeInSeconds(n.startDate);n.timeAdjustment=i}else{n.context.logger.debug("Adjusting time based on seekable range");var o=(0,r.toSeconds)(Date.now()-n.unloadTimestamp);n.timeAdjustment+=o}var s=e-n.timeAdjustment;return n.context.logger.debug("Adjusting target time from ".concat(e," by ").concat(n.timeAdjustment," to ").concat(s)),n.reset(),s})},e.prototype.waitForStartDate=function(){var e=this,t=this.getValidDateTime();return t?Promise.resolve(t):new Promise(function(t){var n=null,i=function(){t(e.getValidDateTime()),e.context.videoElement.removeEventListener(o.MediaElementEvent.loadeddata,i),clearTimeout(n)};e.context.logger.debug("Waiting for video.startDate to be valid"),e.context.videoElement.addEventListener(o.MediaElementEvent.loadeddata,i),n=setTimeout(i,2e3)})},e.prototype.getValidDateTime=function(){var e=this.nativePlayer.getStartDate();return e&&!isNaN(e.getTime())?e:null},e}();t.HlsLiveNativeTimeTracker=s},13372:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseServiceWorker=t.createHlsManifestController=void 0;var i=n(43068),r=n(83024),a=n(3407),o=n(58192);function s(e){var t=e.config.location&&e.config.location.serviceworker;return"serviceWorker"in navigator&&t&&i.ModuleManager.has(r.ModuleName.ServiceWorkerClient)}function _(e){var t=new o.FallbackHlsManifestController(e);return t.init().then(function(){return t})}t.createHlsManifestController=function(e){if(s(e)){var t=new(i.ModuleManager.get(r.ModuleName.ServiceWorkerClient).createServiceWorkerHlsManifestController(a.AbstractHlsManifestController))(e);return t.init().then(function(){return t}).catch(function(){return _(e)})}return _(e)},t.shouldUseServiceWorker=s},99609:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.replaceUrlAndAddUriParams=t.parseUrlFromLine=t.replaceManifestUrls=void 0;var i=n(5793),r=/URI="([^"]+)"/;function a(e){if("#"!==e[0]&&e.trim().length>0)return e;if(e.indexOf("URI")>-1){var t=e.match(r);if(t&&t[1].indexOf("skd://")<0&&t[1].indexOf("skds://")<0)return t[1]}return null}function o(e,t,n){var r=i.URLHelper.concatBaseUrlWithPartial(e,t);return i.URLHelper.appendQueryParametersToUrl(r,n)}t.replaceManifestUrls=function(e,t,n){var i=t.split(/\\r?\\n/);return i.forEach(function(t,s){var _=a(t);if(_&&t.match(r)){var u=o(e,_,n);i[s]=t.replace(r,\'URI="\'.concat(u,\'"\'))}else _&&(i[s]=o(e,_,n))}),i.join("\\n")},t.parseUrlFromLine=a,t.replaceUrlAndAddUriParams=o},36709:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativeModuleDefinition=void 0;var i=n(83024),r=n(66670),a=n(31488);t.NativeModuleDefinition={name:i.ModuleName.EngineNative,module:{NativePlayer:r.NativePlayer,technologyChecker:new a.TechnologyChecker}},t.default=t.NativeModuleDefinition},66670:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.NativePlayer=void 0;var a=n(45659),o=n(36166),s=n(85739),_=n(99538),u=n(55579),c=n(59534),l=n(4529),d=n(59574),f=n(49863),h=n(39409),p=n(83123),b=n(52228),m=n(8833),g=n(38106),v=n(59536),$=n(15949),y=n(28803),S=n(12391),T=n(38827),E=n(81028),A=n(80815),C=n(89199),I=n(5793),P=n(29079),M=n(20586),R=n(89543),k=n(43068),w=n(83024),O=n(56910),D=n(34804),U=n(13372),x=n(16958),N="not available",L=.75,B=function(){function e(e){var t=this;this.numTimeChanged=0,this.loaded=!1,this.audio=null,this.ended=!1,this.ignoreNextVideoError=!1,this.controlPermitted=!0,this.seekingTimeoutId=-1,this.nativeSeekCalled=!1,this.isIllicitlySeeking=!1,this.ignoreNextDelta=!1,this.numSeekingCalled=0,this.currentDuration=-1,this.timeShiftJumpStartPosition=-1,this.seekTargetTime=-1,this.textTrackController=null,this.lastPlayIssuer="api",this.lastPauseIssuer="api",this.lastSeekIssuer="api",this.lastVerifiedPlaybackPosition=-1,this.lastLegalPlaybackPosition=0,this.restrictedInlinePlayback=!1,this.lastDuration=void 0,this.lastTime=0,this.availableVideoStreams=[],this.allowedToThrowEvents=!0,this.airplayAvailable=!1,this.hasSourceBeenLoaded=!1,this.hasDataBeenLoaded=!1,this.sourceElementEventListeners=[],this.restoringPlaybackPosAfterQualitySwitch=!1,this.isInitialSeek=!1,this.lastDelayedSeekHandlers={},this.isProgressiveQualityChange=!1,this.onAddTrack=function(e){if(t.isReady()){var n=e.track;t.eventCallback(d.PlayerEvent.AudioAdded,{track:t.convertAudioTrackNativeToApi(n)}),n.enabled&&t.loaded&&t.dispatchAudioChangedEvent(null,n)}},this.loadedDataHandler=function(){clearTimeout(t.loadedDataFallbackTimeoutID),t.hasSourceBeenLoaded||clearTimeout(t.loadTimeoutID),t.hasSourceBeenLoaded=!0,t.isProgressiveQualityChange=!1,t.allowedToThrowEvents=!0,t.hasDataBeenLoaded=!0,t.maybeResolveDeferredLoading()},this.eventCallback=function(e,n,i,r){void 0===n&&(n={}),void 0===i&&(i=!1),void 0===r&&(r=!1),t.eventHandler&&(t.allowedToThrowEvents||i)&&t.eventHandler.dispatchEvent(e,n,r)},this.onTimeUpdate=function(e){var n=t.getElement(),i=n.currentTime;(-1!==t.lastVerifiedPlaybackPosition||i!==t.lastVerifiedPlaybackPosition)&&!t.isIllicitlySeeking&&(t.isIllegalSeek(i)?(Promise.resolve(t.video.play()).catch(function(e){t.logger.insane("Play promise rejected:",e)}),t.ignoreNextDelta=!0,n.currentTime=t.lastLegalPlaybackPosition):t.handleTimeUpdateEvent(n,i),t.nativeSeekCalled=!1,t.currentVideoStream&&(t.currentVideoStream.width=t.video.videoWidth,t.currentVideoStream.height=t.video.videoHeight))},\nthis.onPlaybackStarted=function(){t.isPlaying()||(t.ended=!1,t.startManifestTimeoutTimer(),t.stateManager.transitionToPlayingState(t.lastPlayIssuer))},this.onContentPlaybackFinished=function(){t.ended=!0},this.checkIfAssetIsAccessible=function(e){return function(){var n=(0,A.toMilliSeconds)(t.settings.XHR_TIMEOUT)/2;t.logger.debug("Asset loading is stalled. Setting timeout to ".concat((0,A.toSeconds)(n),"s to check in case asset is not available.")),setTimeout(function(){t.hasSourceBeenLoaded?t.video.removeEventListener(R.MediaElementEvent.stalled,t.checkIfAssetIsAccessible(e)):new p.DefaultContentLoader(t.context).load(e.src).catch(function(n){if(!t.hasSourceBeenLoaded){t.logger.debug("Forcing error event as the asset was not accessible.",n);var i=new Event(R.MediaElementEvent.error,{bubbles:!1,cancelable:!1});e.dispatchEvent(i)}}).finally(function(){t.video.removeEventListener(R.MediaElementEvent.stalled,t.checkIfAssetIsAccessible(e))})},n)}},this.getCurrentTime=function(e){void 0===e&&(e=m.TimeMode.AbsoluteTime);var n=t.getStartDate();return e===m.TimeMode.AbsoluteTime&&n?P.Util.timeInSeconds(n)+t.getElement().currentTime:t.getElement().currentTime},this.getAudioQuality=this.getPlaybackAudioData,this.getVideoQuality=this.getPlaybackVideoData,this.videoOnEnded=function(){var e=t.getElement(),n=Math.abs(e.currentTime-t.lastLegalPlaybackPosition);t.settings.GLOBAL_DISABLE_SEEKING&&(n>L||e.currentTime1&&(t.ignoreNextDelta=!1);else if(!t.stateManager.isSeeking()&&!t.stateManager.isTimeShifting()){var e=t.getElement().currentTime;t.stateManager.transitionToSeekingIOSState(e,h.INTERNAL_ISSUER_NAME),t.lastVerifiedPlaybackPosition=e}},this.onTimeChanged=function(){void 0===t.maxTimeShift&&(t.maxTimeShift=t.getElement().currentTime)},this.delayedSeek=function(){t.numTimeChanged++,t.numTimeChanged=t.getDuration()&&(t.videoOnSeeked(),t.videoOnEnded())}},{event:R.MediaElementEvent.seeked,handler:function(){t.videoOnSeeked(),t.restrictedInlinePlayback&&t.audio&&t.setVideoTime()}},{event:R.MediaElementEvent.durationchange,handler:function(){(0,f.maybeFireDurationChangedEvent)(t.lastDuration,t.getDuration(),t.eventHandler),t.lastDuration=t.getDuration()}},{event:R.MediaElementEvent.loadeddata,handler:this.loadedDataHandler},{event:R.MediaElementEvent.loadedmetadata,handler:function(){t.loadedDataFallbackTimeoutID=window.setTimeout(t.loadedDataHandler,200)}},{event:R.MediaElementEvent.playing,handler:function(){t.stateManager.isStalled?(t.stateManager.stallExit(),t.stateManager.transitionToPlayingState(t.lastPlayIssuer)):t.stateManager.isStopped()?t.onPlaybackStarted():t.stateManager.isPlaying()||(t.stateManager.transitionToPlayState(!0,t.lastPlayIssuer),t.stateManager.transitionToPlayingState(t.lastPlayIssuer))}},{event:R.MediaElementEvent.waiting,handler:function(){t.resetTimeShift(),t.stateManager.stallEnter()}},{event:R.MediaElementEvent.timeupdate,handler:this.onTimeUpdate},{event:R.MediaElementEvent.error,handler:function(e){t.loadingDeferred.reject(),t.ignoreNextVideoError?(t.logger.debug("Ignoring video element error",e.errorObject),t.ignoreNextVideoError=!1):(t.logger.debug("video element has thrown an error",e.errorObject),clearTimeout(t.loadTimeoutID),t.eventHandler.fireError((0,f.createPlayerErrorFromMediaError)(e,!0)))}},{event:R.MediaElementEvent.webkitpresentationmodechanged,handler:function(){var e=t.video.getViewModeFromPresentationMode();e===m.ViewMode.PictureInPicture||e===m.ViewMode.Fullscreen&&(0,$.getCapabilities)().isIOS?t.textTrackController&&t.textTrackController.enableNative():t.textTrackController&&t.textTrackController.disableNative(),t.context.store.dispatch((0,g.setPlayerViewMode)(e))}},{elementSelector:function(e){return e.audioTracks},event:"addtrack",handler:this.onAddTrack},{elementSelector:function(e){return e.audioTracks},event:"removetrack",handler:function(e){t.isReady()&&t.eventCallback(d.PlayerEvent.AudioRemoved,{track:t.convertAudioTrackNativeToApi(e.track)})}}],this.init()}return e.prototype.shouldAwaitDurationAvailability=function(){return!(0,T.isWebOS)()&&!this.getDuration()},e.prototype.shouldAwaitSeekableRange=function(){var e,t;return!(!this.isLive()||(null===(t=null===(e=this.config)||void 0===e?void 0:e.tweaks)||void 0===t?void 0:t.prevent_video_element_preloading)||(0,T.isWebOS)())&&0===this.getElement().seekable.length},e.prototype.maybeResolveDeferredLoading=function(){this.shouldAwaitDurationAvailability()||this.shouldAwaitSeekableRange()?this.logger.debug("Cannot resolve the deferred loading as not all data has loaded",{duration:this.getDuration(),seekableRangeAvailable:!!this.getElement().seekable.length}):this.loadingDeferred.resolve()},e.prototype.handleTimeUpdateEvent=function(e,t){if(this.ignoreNextDelta=!1,this.currentDuration=e.duration,t>this.currentDuration+2)return this.context.logger.debug("CurrentTime ".concat(t," exceeds video duration (").concat(this.currentDuration,"), reverting current time")),void(e.currentTime=this.currentDuration-.1);this.lastLegalPlaybackPosition=t,this.stateManager.stallExit(),this.stateManager.isSeeking()||this.stateManager.isTimeShifting()||!this.isPlaying()||(null!=this.getStartDate()?this.eventCallback(d.PlayerEvent.TimeChanged,{time:this.getCurrentTime(),relativeTime:t}):this.eventCallback(d.PlayerEvent.TimeChanged,{time:this.getCurrentTime()}))},e.prototype.isIllegalSeek=function(e){if(!this.settings.GLOBAL_DISABLE_SEEKING||!this.nativeSeekCalled)return!1;var t=-1!==this.lastVerifiedPlaybackPosition&&e>this.lastVerifiedPlaybackPosition+L,n=Math.abs(e-this.lastLegalPlaybackPosition);return(!this.ignoreNextDelta||t)&&n>L},e.prototype.getElement=function(){return this.restrictedInlinePlayback&&this.audio?this.audio:this.video},e.prototype.setVideoTime=function(){var e=Date.now();(0,A.toSeconds)(e-this.lastTime)>=1/30&&(this.video.currentTime=this.audio.currentTime,this.lastTime=e),this.isPlaying()&&window.requestAnimationFrame(this.setVideoTime)},e.prototype.play=function(e){return this.controlPermitted?(this.lastPlayIssuer=e,this.getElement().play()):Promise.reject("Play control not permitted")},e.prototype.getStartDate=function(){if(!this.isLive())return null;var e=this.getElement().getWrappedElement(),t="function"==typeof e.getStartDate?e.getStartDate():null;return t&&!isNaN(t.getTime())?t:null},e.prototype.preload=function(){this.getElement().preload="auto"},e.prototype.pause=function(e){this.lastPauseIssuer=e;var t=this.getElement();this.controlPermitted&&this.loaded&&(this.stateManager.transitionToPausedState(!1,this.lastPauseIssuer),t.pause())},e.prototype.mute=function(e){this.getElement().muted||(this.getElement().muted=!0,this.eventCallback(d.PlayerEvent.Muted,{issuer:e||"api"}))},e.prototype.unmute=function(e){this.getElement().muted&&(this.getElement().muted=!1,this.eventCallback(d.PlayerEvent.Unmuted,{issuer:e||"api"}))},e.prototype.seek=function(e,t){var n=this;return!(!this.isSeekingAllowed(e)||this.getCurrentTime()===e)&&(this.hlsLiveTimeTracker.adjustTargetTime(e,t).then(function(e){return n.lastSeekIssuer=t,n.triggerSeekEvent(e,t),n.triggerSeek({time:e,issuer:t})}),this.hasDataBeenLoaded&&this.getDuration()>0)},e.prototype.seekForLive=function(e,t){this.timeShiftJumpStartPosition=this.getElement().currentTime,this.lastSeekIssuer=t,this.triggerTimeShiftEvent(e,t),this.triggerSeekForLive({time:e,issuer:t})},e.prototype.isSeekingAllowed=function(e){this.isInitialSeekToStartTime=this.isInitialSeek&&this.hasStartTime(e);var t=!this.settings.GLOBAL_DISABLE_SEEKING&&this.isSeekingEnabled();return(this.isInitialSeekToStartTime||t)&&this.controlPermitted},e.prototype.isTimeShiftingAllowed=function(){var e=!(this.config.playback&&this.config.playback.hasOwnProperty("timeShift"))||Boolean(this.config.playback.timeShift);return this.isLive()&&e},e.prototype.triggerSeek=function(e){return!this.maybeDelaySeek(e)&&(this.stateManager.transitionToSeekingState(e.time,e.issuer,!1),this.finishSeek(e),!0)},e.prototype.triggerSeekForLive=function(e){this.maybeDelaySeek(e,!0)||(this.stateManager.transitionToTimeShiftingState(this.getCurrentTime(),e.time,e.issuer,!1),e.time<0&&(e.time=this.getSeekableRangeInternal().end+e.time,this.resetTimeShift()),this.finishSeek(e))},e.prototype.maybeDelaySeek=function(e,t){return void 0===t&&(t=!1),this.hasDataBeenLoaded?0===this.getDuration()?(this.logger.debug("Delaying the seek until stream duration is known"),this.scheduleDelayedSeek(e,t,[R.MediaElementEvent.durationchange]),!0):this.video.seekable.length<1&&(this.logger.debug("Delaying the seek as the seekable range is not yet known"),this.scheduleDelayedSeek(e,t,[R.MediaElementEvent.timeupdate,R.MediaElementEvent.canplay]),!0):(this.logger.debug("Delaying the seek until data is loaded"),this.scheduleDelayedSeek(e,t,[R.MediaElementEvent.loadeddata]),!0)},e.prototype.finishSeek=function(e){var t=e.issuer===h.ADVERTISING_ISSUER_NAME,n=this.adjustSeekTimeForBoundaries(e.time,this.getSeekableRangeInternal(),t);this.logger.debug("Adjusted seek target from ".concat(e.time," to ").concat(n)),this.isInitialSeek=!1,this.ignoreNextDelta=this.ignoreNextDelta||this.isInitialSeekToStartTime||e.force;var i=parseFloat(n.toFixed(2));this.seekTargetTime=i,this.logger.debug("Setting time on video element from ".concat(this.getElement().currentTime," to ").concat(i)),this.getElement().currentTime=i},e.prototype.adjustSeekTimeForBoundaries=function(e,t,n){void 0===n&&(n=!1);var i=F(e,t);return this.logger.debug("Adjusting seek time for seekableRange:",t),n?e>=t.end&&(i=t.end-.1):i=Math.min(i,t.end-this.settings.SEEK_TO_END_OFFSET),i},e.prototype.isSeekingEnabled=function(){var e=this.config&&this.config.hasOwnProperty("playback")?this.config.playback:{};return!e.hasOwnProperty("seeking")||e.seeking},e.prototype.hasStartTime=function(e){var t=this.context.sourceContext.source?this.context.sourceContext.source:{};return t.hasOwnProperty("options")&&t.options.hasOwnProperty("startTime")&&e===t.options.startTime},e.prototype.triggerSeekEvent=function(e,t){t!==h.STARTUP_ISSUER_NAME&&this.eventCallback(d.PlayerEvent.Seek,{position:this.getElement().currentTime,seekTarget:e,issuer:t||"api"})},e.prototype.triggerTimeShiftEvent=function(e,t){t!==h.STARTUP_ISSUER_NAME&&this.eventCallback(d.PlayerEvent.TimeShift,{target:e<0?this.timeShiftJumpStartPosition+e:e,position:this.timeShiftJumpStartPosition,issuer:t||"api"})},e.prototype.waitForOnSeeked=function(e){var t=this;return new Promise(function(n){var i=function(){e.removeEventListener(R.MediaElementEvent.seeked,i),n()};t.hlsSeekingGlitchEventHandlers.push({el:e,ev:R.MediaElementEvent.seeked,fn:i}),e.addEventListener(R.MediaElementEvent.seeked,i)})},e.prototype.waitForOnProgress=function(e,t){var n=this;return new Promise(function(i,r){var a=0,o=function(){var s=e.buffered,_=s.length>0?s.end(s.length-1):-1/0;(a+=isFinite(_)?1:0)>n.settings.SAFARI_NUM_PROGRESS_EVENTS_AFTER_SEEK_GLITCH&&_=t&&(e.removeEventListener(R.MediaElementEvent.progress,o),i())};n.hlsSeekingGlitchEventHandlers.push({el:e,ev:R.MediaElementEvent.progress,fn:o}),e.addEventListener(R.MediaElementEvent.progress,o)})},e.prototype.verifyHLSPlaybackBuffer=function(e,t){var n=this;return this.type!==m.StreamType.Hls?Promise.resolve():this.waitForOnSeeked(e).then(function(){return n.waitForOnProgress(e,t)}).catch(function(){throw n.logger.debug("seek to target time (".concat(t,") failed - trying to recover by seeking to ").concat(t+1)),null})},e.prototype.clearDelayedSeekHandlers=function(){var e=this;Object.keys(this.lastDelayedSeekHandlers).forEach(function(t){e.getElement().removeEventListener(t,e.lastDelayedSeekHandlers[t])}),this.lastDelayedSeekHandlers={}},e.prototype.scheduleDelayedSeek=function(e,t,n){var i=this,r=this.getElement();this.clearDelayedSeekHandlers();var a=function(n){i.clearDelayedSeekHandlers();var o={time:(0,C.isNumber)(n)?n:e.time,issuer:e.issuer,force:e.force};i.verifyHLSPlaybackBuffer(r,e.time).catch(function(){return a(e.time+1)}),t?i.triggerSeekForLive(o):i.triggerSeek(o)};n.forEach(function(e){r.addEventListener(e,a),i.lastDelayedSeekHandlers[e]=a})},e.prototype.setAudio=function(e){var t=S.ArrayHelper.toArray(this.video.audioTracks).find(function(t){return t.id===e});t&&this.enableAudioTrack(t)},e.prototype.dispatchAudioChangedEvent=function(e,t){this.eventCallback(d.PlayerEvent.AudioChanged,{targetAudio:{id:t.id,label:t.label,lang:t.language},sourceAudio:e,time:this.video.currentTime})},e.prototype.enableAudioTrack=function(e){if(!e.enabled){var t=S.ArrayHelper.toArray(this.video.audioTracks).find(function(e){return e.enabled}),n=null;t&&(t.enabled=!1,n=this.convertAudioTrackNativeToApi(t)),e.enabled=!0,this.dispatchAudioChangedEvent(n,e)}},e.prototype.setVolume=function(e,t){var n=this.getElement(),i=this.currentVol,r=Math.min(e/100,1);i!==r&&(this.currentVol=r,n.volume=r,this.eventCallback(d.PlayerEvent.VolumeChanged,{targetVolume:100*r,sourceVolume:100*i,issuer:t||"api"}))},e.prototype.startManifestTimeoutTimer=function(){var e=this;clearTimeout(this.loadTimeoutID),this.hasSourceBeenLoaded||(this.loadTimeoutID=setTimeout(function(){e.loadTimeoutID=null,e.hasSourceBeenLoaded||(e.type===m.StreamType.Hls?e.eventHandler.fireError(new s.PlayerError(o.ErrorCode.NETWORK_MANIFEST_DOWNLOAD_TIMEOUT,{sourceUrl:e.sourceConfig.url},"Failed to load the HLS playlist: the request timed out.")):e.type===m.StreamType.Progressive&&e.eventHandler.fireError(new s.PlayerError(o.ErrorCode.NETWORK_PROGRESSIVE_STREAM_DOWNLOAD_TIMEOUT,{sourceUrl:e.sourceConfig.url},"Failed to load the progressive source: the request timed out.")))},(0,A.toMilliSeconds)(this.settings.XHR_TIMEOUT/2)))},e.getContentDomain=function(e){var t=document.createElement("a");return t.href=e,""===t.host&&(t.href=t.href),t.hostname},e.prototype.trackLoading=function(e){(0,T.isTizen)()&&this.video.addEventListener(R.MediaElementEvent.stalled,this.checkIfAssetIsAccessible(e))},e.prototype.prepareLoad=function(){return Promise.resolve()},e.prototype.load=function(t,n,i,r){var a=this;this.stateManager=this.context.serviceManager.get(c.ServiceName.PlayerStateService),this.stateManager.transitionToSeekedState(!1),this.video.setAttribute("preload","metadata"),this.type=this.context.sourceContext.technology.streaming,this.sourceConfig=t,t.type&&(this.type=t.type),!0===this.loaded&&this.unload().catch(function(){}),this.hasSourceBeenLoaded=!1,this.hasDataBeenLoaded=!1,this.getElement().nativeMediaEventListener.reset(),this.isInitialSeek=!0,this.ignoreNextVideoError=!1,t.hasOwnProperty("vr")&&t.vr&&Boolean(t.vr.restrictedInlinePlayback)?(this.restrictedInlinePlayback=!0,this.audio=P.Util.getVRAudioElement(),this.addEventListeners(this.audio)):(this.audio=null,this.restrictedInlinePlayback=!1,this.addEventListeners(this.video)),this.eventHandler.on(d.PlayerEvent.TimeChanged,this.onTimeChanged),this.unsubscribeFromStoreStoppedListener=(0,y.subscribe)(this.context.store)(function(e){return(0,v.getIsStopped)((0,v.getPlayerState)(e))},this.onContentPlaybackFinished,function(e){return!0===e}),this.settings.GLOBAL_DISABLE_SEEKING=i||!1,this.seekingTimeoutId>-1&&(clearTimeout(this.seekingTimeoutId),this.seekingTimeoutId=-1);var o="";t&&t.url&&("string"==typeof t.url?o=t.url:t.url.length>0&&(o=t.url[0].url));var s=window.location.hostname===e.getContentDomain(o);t.hasOwnProperty("vr")&&Boolean(t.vr)&&!s&&(this.originalCrossOriginAttributeValue=this.video.getAttribute("crossOrigin"),this.video.setAttribute("crossOrigin","anonymous")),this.video.eventHandler.reset(),this.isProgressiveQualityChange||(this.textTrackController=this.createTextTrackController()),this.loadingDeferred=new E.Deferred;var _=Promise.resolve();return this.type===m.StreamType.Hls?_=this.loadHls(t):this.type===m.StreamType.Progressive&&(_=this.loadProgressive(t,r).then(function(){return a.loadVideoElement()})),this.loadingDeferred.promise.then(function(){a.context.sourceContext.source=t.config}).then(function(){return _}).then(function(){return a.initializeLoadedState(t)})},e.prototype.initializeLoadedState=function(e){this.currentSource=e,this.loaded=!0,this.lastLegalPlaybackPosition=0,this.ignoreNextDelta=!1},e.prototype.loadVideoElement=function(){this.config.tweaks.prevent_video_element_preloading||this.video.load()},e.prototype.setupVideoElement=function(t,n){var i=this;if(t.config.drm&&t.config.drm.fairplay){var r=k.ModuleManager.get(w.ModuleName.DRM).FairplayHandler;this.fpsHandler=new r(this.context,this.video,t.config.drm.fairplay)}var a=e.createSourceElement(n,null);this.appendAndSetVideoStream(a,"0",t),this.trackLoading(a);var s={element:a,handler:function(e){return i.handleStreamErrorEvent(o.ErrorCode.SOURCE_HLS_STREAM_ERROR,a.src,e)}};this.sourceElementEventListeners.push(s),s.element.addEventListener(R.MediaElementEvent.error,s.handler)},e.prototype.setSourceAndLoadVideoElement=function(e,t){this.setupVideoElement(e,t),this.loadVideoElement()},e.prototype.setVideoForServiceWorker=function(e,t){var n=this,r=I.URLHelper.appendQueryParametersToUrl(t,i(i({},this.context.config.tweaks.query_parameters),{"bitmovin-player-id":this.context.internalPlayerID}));return this.setSourceAndLoadVideoElement(e,r),this.hlsManifestController.resolveMasterManifest(e.url).then(function(){}).catch(function(e){n.logger.debug("Couldn\'t access master playlist with ServiceWorker: ".concat(e))})},e.prototype.setVideoForNativeHLSParsing=function(e,t){var n=this;return U.createHlsManifestController(this.context).then(function(i){return n.hlsManifestController=i,n.settings.NATIVE_HLS_DOWNLOAD_ERROR_HANDLING&&(n.downloadErrorHandler=new O.HlsDownloadErrorHandler(n.context,i)),U.shouldUseServiceWorker(n.context)?n.setVideoForServiceWorker(e,t):n.hlsManifestController.resolveMasterManifest(e.url).then(function(t){0!==t.indexOf("data")&&0!==t.indexOf("blob")||n.setSourceAndLoadVideoElement(e,t)}).catch(function(e){n.logger.debug("Couldn\'t access master playlist for native HLS parsing: ".concat(e))})})},e.prototype.loadHls=function(e){"string"!=typeof e.url&&this.eventHandler.fireError(new s.PlayerError(o.ErrorCode.SOURCE_INVALID,{given:e.url},"Cannot load the HLS playlist: the source URL should be a string."));var t=this.adjustUrlForQueryParams(e.url);return this.settings.NATIVE_HLS_PARSING?this.setVideoForNativeHLSParsing(e,t):(this.setSourceAndLoadVideoElement(e,t),Promise.resolve())},e.prototype.loadProgressive=function(e,t){var n,i=this,r=!1;Array.isArray(e.url)?n=e.url:(n=[{url:e.url,bitrate:0}],r=!0),t=t||function(e){var t=e.findIndex(function(e){return!0===e.preferred});return t>-1?String(t):"0"}(n),this.availableVideoStreams=[];var a=this.loadAllSupportedProgressiveSources(n,t,!r);if(a){var s={element:a,handler:function(e){return i.handleStreamErrorEvent(o.ErrorCode.SOURCE_PROGRESSIVE_STREAM_ERROR,a.src,e)}};this.sourceElementEventListeners.push(s),s.element.addEventListener(R.MediaElementEvent.error,s.handler),this.restrictedInlinePlayback&&this.audio&&this.audio.load(),this.trackLoading(a)}return Promise.resolve()},e.prototype.handleStreamErrorEvent=function(e,t,n){var i=this;clearTimeout(this.loadTimeoutID),this.loaded=!0,this.logger.debug("Caught a stream error event (".concat(e,", ").concat(t,")"),n),this.loadingDeferred.reject(),new p.DefaultContentLoader(this.context).load(t).then(function(e){return{status:e.status,statusText:e.statusText,error:void 0}}).catch(function(e){return{error:e,status:(null==e?void 0:e.status)||0,statusText:(null==e?void 0:e.statusText)||""}}).then(function(r){var a,o,_=r.error,u=r.status,c=r.statusText,l=(null==n?void 0:n.message)||n;200!==u?(o={event:n,error:_,status:u,statusText:c,src:t,extraMessage:l},i.logger.debug("last/only source has thrown an error ".concat(u," - ").concat(c),o)):(o={event:n,error:_,src:t,extraMessage:l},i.logger.debug("last/only source has thrown an error, but we are able to download the asset during the error handling.",o)),null===(a=i.eventHandler)||void 0===a||a.fireError(new s.PlayerError(e,o,"The video element has thrown an error while loading the stream."))})},e.prototype.loadAllSupportedProgressiveSources=function(t,n,i){for(var r,a=[],o=-1,s=null,_=null,u=0;u-1){this.logger.debug("Stream of mime type ".concat(c.type," already added.. continuing"));continue}n===String(u)?(s=r,o=c.bitrate,this.appendAndSetVideoStream(r,String(u),c),a.push(c.type)):o===c.bitrate&&(s=r,this.appendVideoStream(r),a.push(c.type))}else s=r,this.appendAndSetVideoStream(r,String(u),c);this.restrictedInlinePlayback&&this.audio&&(this.audio.innerHTML=this.video.innerHTML)}}return s},e.prototype.shouldIgnoreSourceObject=function(t,n,i){return!e.isValidProgressiveSourceObject(t)||!!i&&(!this.isMimeTypeSupported(t.type)||!!n&&n!==t.type)},e.isValidProgressiveSourceObject=function(e){return"object"==typeof e&&e&&e.url&&""!==e.url},e.prototype.appendAndSetVideoStream=function(e,t,n){this.video.appendChild(e),this.setCurrentVideoStream(t,n)},e.prototype.appendVideoStream=function(e){this.video.appendChild(e)},e.prototype.addStreamToAvailableOnes=function(e,t){var n={id:e};t.bitrate&&(n.bitrate=t.bitrate),n.label=String(t.label||t.bitrate||"unknown"),this.availableVideoStreams.push(n)},e.prototype.setCurrentVideoStream=function(e,t){this.currentVideoStream={id:e},t.bitrate&&(this.currentVideoStream.bitrate=t.bitrate),this.currentVideoStream.label=""+(t.label||t.bitrate||"unknown")},e.prototype.isMimeTypeSupported=function(e){return!(this.video.canPlayType(e).length<=0&&(this.logger.debug("Mime type"+e+" not supported.. continuing"),1))},e.createSourceElement=function(e,t){var n=document.createElement("source");return n.src=e,t&&(t.indexOf("/")<0&&(t="video/"+t),n.type=t),n},e.prototype.unload=function(e,t){var n;return void 0===e&&(e="api"),void 0===t&&(t=!1),this.hlsLiveTimeTracker.onUnload(e),this.clearDelayedSeekHandlers(),this.loadingDeferred&&!t&&this.loadingDeferred.reject(),clearTimeout(this.loadedDataFallbackTimeoutID),clearTimeout(this.loadTimeoutID),this.ended=!1,this.fpsHandler=(0,l.dispose)(this.fpsHandler),this.downloadErrorHandler=(0,l.dispose)(this.downloadErrorHandler),this.hlsManifestController=(0,l.dispose)(this.hlsManifestController),this.hlsSeekingGlitchEventHandlers.forEach(function(e){return e.el.removeEventListener(e.ev,e.fn)}),this.hlsSeekingGlitchEventHandlers=[],this.isProgressiveQualityChange||(null===(n=this.textTrackController)||void 0===n||n.signalSourceChange(),this.textTrackController=(0,l.dispose)(this.textTrackController)),this.clearVideoElement(),this.clearAudioElement(),this.pause(),this.ignoreNextVideoError=!0,this.clearEventListeners(),this.unsubscribeFromStoreStoppedListener&&this.unsubscribeFromStoreStoppedListener(),this.allowedToThrowEvents&&(this.currentVideoStream=null),this.loaded&&(this.loaded=!1,t||(this.eventCallback(d.PlayerEvent.SourceUnloaded,{oldSource:this.currentSource}),this.lastDuration=null)),Promise.resolve()},e.prototype.clearAudioElement=function(){if(this.restrictedInlinePlayback&&this.audio){for(this.audio.removeAttribute("src");this.audio.firstChild;)this.audio.removeChild(this.audio.firstChild);this.audio.load()}},e.prototype.clearEventListeners=function(){this.restrictedInlinePlayback?this.audio&&this.removeEventListeners(this.audio):this.removeEventListeners(this.video),this.clearDelayedSeekHandlers(),this.eventHandler.off(d.PlayerEvent.TimeChanged,this.onTimeChanged),this.eventHandler.off(d.PlayerEvent.TimeChanged,this.delayedSeek),this.sourceElementEventListeners.forEach(function(e){try{e.element.removeEventListener(R.MediaElementEvent.error,e.handler)}catch(e){}})},e.prototype.clearVideoElement=function(){M.VideoElementUtil.removeSource(this.video),null!=this.originalCrossOriginAttributeValue?this.video.setAttribute("crossOrigin",this.originalCrossOriginAttributeValue):this.video.removeAttribute("crossOrigin"),this.video.load()},e.prototype.isReady=function(){return this.restrictedInlinePlayback&&this.audio&&"readyState"in this.audio?this.audio.readyState!==HTMLMediaElement.HAVE_NOTHING:!("readyState"in this.video)||this.video.readyState!==HTMLMediaElement.HAVE_NOTHING},e.prototype.isLive=function(){return this.getElement().duration===1/0},e.prototype.isPlaying=function(){return this.stateManager.isPlaying()},e.prototype.isPaused=function(){return this.stateManager.isPaused()},e.prototype.hasEnded=function(){return this.ended},e.prototype.isMuted=function(){return this.getElement().muted},e.prototype.isStalled=function(){return this.stateManager.isStalled},e.prototype.getVolume=function(){return 100*this.getElement().volume},e.prototype.getDuration=function(){return this.getElement().duration},e.prototype.convertAudioTrackNativeToApi=function(e){var t={id:e.id||String(S.ArrayHelper.toArray(this.video.audioTracks).indexOf(e)),label:e.label,lang:e.language,getQualities:null},n=this.getLabelForAudio(t);return n&&"string"==typeof n&&(t.label=n),t},e.prototype.getAudio=function(){var e=S.ArrayHelper.toArray(this.video.audioTracks).find(function(e){return e.enabled});return e?this.convertAudioTrackNativeToApi(e):null},e.prototype.getAvailableAudio=function(){var e=this;return S.ArrayHelper.toArray(this.video.audioTracks).map(function(t){return e.convertAudioTrackNativeToApi(t)})},e.prototype.getLabelForAudio=function(e){var t={id:e.id,lang:e.lang};return this.getLabelingFunctionForAudio()(t)},e.prototype.getLabelingFunctionForAudio=function(){var t=this.context.sourceContext,n=t&&t.source&&t.source.labeling;return n&&n[this.type]&&n[this.type].tracks?"function"!=typeof n[this.type].tracks?e.getDefaultLabelForAudio:n[this.type].tracks:e.getDefaultLabelForAudio},e.getDefaultLabelForAudio=function(){return null},e.prototype.getDownloadedVideoData=function(){return this.type===m.StreamType.Progressive?this.currentVideoStream:this.hlsManifestController?this.hlsManifestController.getDownloadedVideoData():{id:N,bitrate:0,height:0,width:0,isAuto:!0}},e.prototype.getDownloadedAudioData=function(){return{id:N,bitrate:0,isAuto:this.type===m.StreamType.Progressive}},e.prototype.createVideoQualityObject=function(e){var t={};return t.id=e.id,t.label=e.label,e.width>1?t.width=e.width:this.currentVideoStream&&this.currentVideoStream.id===e.id&&(this.currentVideoStream.width>1?t.width=this.currentVideoStream.width:!isNaN(this.video.videoWidth)&&this.video.videoWidth>1&&(t.width=this.video.videoWidth)),e.height>1?t.height=e.height:this.currentVideoStream&&this.currentVideoStream.id===e.id&&(this.currentVideoStream.height>1?t.height=this.currentVideoStream.height:!isNaN(this.video.videoHeight)&&this.video.videoHeight>1&&(t.height=this.video.videoHeight)),void 0!==e.bitrate&&"unknown"!==e.bitrate&&(t.bitrate=e.bitrate),t},e.prototype.getPlaybackVideoData=function(){if(this.hlsManifestController){var e=this.hlsManifestController.getPlayingVideoData();if(e)return e}if(this.currentVideoStream){var t=this.createVideoQualityObject(this.currentVideoStream);return"progressive"!==this.type&&(t.id=N),t}return{id:N,bitrate:0,height:this.video.videoHeight,width:this.video.videoWidth}},e.prototype.getPlaybackAudioData=function(){return{id:N,bitrate:0}},e.prototype.getMaxTimeShift=function(){var e=this.getSeekableRangeInternal();return this.isLive()&&e.start>=0?e.start-e.end:0},e.prototype.timeShift=function(e,t){if(this.isTimeShiftingAllowed()&&this.isTimeShiftNecessary(e,t))if(0===e){var n=this.getSeekableRangeInternal();n.end>=0&&this.seekForLive(n.end)}else this.seekForLive(e,t)},e.prototype.isTimeShiftNecessary=function(e,t){if(t===h.STARTUP_ISSUER_NAME&&!function(e){return null!=(null==e?void 0:e.startTime)||null!=(null==e?void 0:e.startOffset)}(this.context.sourceContext.source.options))return!1;var n=Math.abs(Math.abs(e)-Math.abs(this.getTimeShift())),i=this.isOffsetConsideredAsLiveEdge(e);return n>.25&&!(this.isAtLiveEdge&&i)},e.prototype.getTimeShift=function(){if(this.shouldReturnDefaultTimeshiftValue())return 0;var e=this.getSeekableRangeInternal();if(e.start>=0&&this.needToUpdateTimeshiftValue()){var t=F(this.getElement().currentTime-e.end,this.getTimeshiftRange());this.isAtLiveEdge=this.isOffsetConsideredAsLiveEdge(t)&&!this.isStalledOrPaused(),this.currentTimeShift=this.isAtLiveEdge?0:t}return isFinite(this.currentTimeShift)?this.currentTimeShift:0},e.prototype.shouldReturnDefaultTimeshiftValue=function(){return!this.isLive()||!this.stateManager.hasBeenPlaying&&!this.stateManager.seekedOrTimeshifted||this.isAtLiveEdge},e.prototype.isStalledOrPaused=function(){return this.isStalled()||this.isPaused()},e.prototype.needToUpdateTimeshiftValue=function(){return!isFinite(this.currentTimeShift)||this.isStalledOrPaused()},e.prototype.getManifest=function(){return this.hlsManifestController?this.hlsManifestController.getManifest():null},e.prototype.getSnapshot=function(e,t){if(this.isPlaying()||this.isPaused()){var n=this.video.videoWidth,i=this.video.videoHeight;if(this.snapshotCanvas||(this.snapshotCanvas=document.createElement("canvas"),this.snapshotCanvas.id="snapshotHiddenCanvas"),!this.snapshotCanvas||!this.snapshotCanvas.getContext||!this.snapshotCanvas.getContext("2d"))return;this.snapshotCanvas.height=i,this.snapshotCanvas.width=n,\nthis.snapshotCanvasContext=this.snapshotCanvas.getContext("2d"),this.snapshotCanvasContext.drawImage(this.video.getWrappedElement(),0,0,n,i);var r=void 0;try{"image/jpeg"===e||"image/webp"===e?(Number(t)===t?(t<0||t>1)&&(t=1):t=1,r=this.snapshotCanvas.toDataURL(e,t)):r=this.snapshotCanvas.toDataURL(e,t)}catch(e){return void(e&&e.message?this.logger.debug("Snapshot acquisition failed: "+e.message):this.logger.debug("Snapshot acquisition failed"))}return{height:i,width:n,data:r}}},e.prototype.setPlaybackSpeed=function(e){this.getElement().playbackRate=e},e.prototype.getPlaybackSpeed=function(){return this.getElement().playbackRate},e.prototype.permitControl=function(e){this.controlPermitted=e},e.prototype.resetTimeShift=function(){this.currentTimeShift=-1/0,this.isTimeShiftingAllowed()&&(this.isAtLiveEdge=!1)},e.prototype.isOffsetConsideredAsLiveEdge=function(e){return Math.abs(e)<2*this.settings.SEEK_TO_END_OFFSET},e.prototype.isSeekTargetChangedDuringStartup=function(){return this.seekTargetTime!==this.lastVerifiedPlaybackPosition&&this.lastSeekIssuer===h.STARTUP_ISSUER_NAME},e.prototype.maybeHandleSeekTargetChangeDuringStartup=function(){this.isSeekTargetChangedDuringStartup()&&(this.context.logger.debug("Seek target changed during startup..."),this.triggerSeekEvent(this.seekTargetTime),this.lastSeekIssuer="api",this.seekTargetTime=-1)},e.prototype.finishedSeekedTransitionState=function(){this.stateManager.isSeeking()&&(this.stateManager.transitionToSeekedState(this.lastSeekIssuer!==h.STARTUP_ISSUER_NAME),this.lastSeekIssuer="api"),this.stateManager.isTimeShifting()&&this.stateManager.transitionToTimeShiftedState(this.lastSeekIssuer!==h.STARTUP_ISSUER_NAME)},e.prototype.addEventListeners=function(e){for(var t=0;t0)for(var r=0;ri||o<=i||(t.level=o-i,e===m.BufferType.BackwardDuration&&(t.level=i-a))}return t},e.prototype.createTextTrackController=function(){if(k.ModuleManager.has(w.ModuleName.SubtitlesNative))return new(0,k.ModuleManager.get(w.ModuleName.SubtitlesNative).TextTrackController)(this.context,this.video,this.config,this.type);this.logger.log("Unable to create native SubtitleController because the ".concat(w.ModuleName.SubtitlesNative," module is missing"))},e.prototype.removeSubtitle=function(e){e&&this.textTrackController&&this.textTrackController.removeSubtitle(e)},e.prototype.addSubtitle=function(e){return this.textTrackController?(this.removeSubtitle(e.id),e.kind="subtitles",this.textTrackController.addSubtitle(e)):Promise.reject()},e.prototype.listSubtitles=function(){return this.textTrackController?this.textTrackController.getAvailableSubtitles():[]},e.prototype.enableSubtitle=function(e){return this.textTrackController?this.textTrackController.enableSubtitle(e):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){return this.textTrackController?Promise.resolve(this.textTrackController.disableSubtitle(e)):Promise.resolve(!1)},e.prototype.init=function(){this.initAirplay()},e.prototype.adjustUrlForQueryParams=function(e){return I.URLHelper.appendQueryParametersToUrl(e,this.settings.QUERY_PARAMETERS)},e.prototype.onFullscreenEnter=function(e){this.textTrackController&&(0,$.getCapabilities)().isIOS&&!e.legacy&&this.textTrackController.enableNative()},e.prototype.onFullscreenExit=function(){this.textTrackController&&(0,$.getCapabilities)().isIOS&&this.textTrackController.disableNative()},e.prototype.getAvailableVideoQualities=function(){var e=this;return"progressive"!==this.type?[]:this.availableVideoStreams.map(function(t){return e.createVideoQualityObject(t)})},e.prototype.getBufferedRanges=function(){return(0,a.getBufferedRanges)(this.getElement())},e.prototype.setVideoQuality=function(e){var t=this,n=this.getPlaybackSpeed(),r=this.availableVideoStreams.find(function(t){return t.id===e});if("progressive"===this.type&&r&&(!this.currentVideoStream||this.currentVideoStream.id!==e)){this.isProgressiveQualityChange=!0,this.currentTimeWas=this.getCurrentTime(),this.availableVideoStreams=[],this.allowedToThrowEvents=!1;var a=this.stateManager.isPlaying()||this.stateManager.isPlay();this.stateManager.stallEnter(),this.unload("api",!0).catch(function(){});var o=this.createVideoQualityObject(r),s={sourceQuality:this.currentVideoStream,sourceQualityId:this.currentVideoStream?this.currentVideoStream.id:null,targetQuality:o,targetQualityId:o.id};this.eventHandler.one(d.PlayerEvent.StallEnded,function(){t.allowedToThrowEvents=!0,(0,$.getCapabilities)().isIOS||(0,$.getCapabilities)().isSafari?(t.numTimeChanged=0,t.eventHandler.on(d.PlayerEvent.TimeChanged,t.delayedSeek)):(t.numTimeChanged=1/0,t.delayedSeek()),a&&(t.play(h.INTERNAL_ISSUER_NAME).catch(function(){t.eventCallback(d.PlayerEvent.Warning,new _.PlayerWarning(u.WarningCode.PLAYBACK_COULD_NOT_BE_STARTED))}),t.stateManager.transitionToPlayingState(h.INTERNAL_ISSUER_NAME,!1))}),this.eventCallback(d.PlayerEvent.VideoQualityChanged,i({},s),!0),this.init(),this.load(this.sourceConfig,"",this.settings.GLOBAL_DISABLE_SEEKING,e).then(function(){t.setPlaybackSpeed(n),t.eventCallback(d.PlayerEvent.VideoDownloadQualityChange,i({},s),!0),t.eventCallback(d.PlayerEvent.VideoDownloadQualityChanged,i({},s),!0),t.eventCallback(d.PlayerEvent.VideoPlaybackQualityChanged,{sourceQuality:s.sourceQuality,targetQuality:s.targetQuality},!0)})}},e.prototype.initAirplay=function(){this.video.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(this.video.addEventListener(R.MediaElementEvent.webkitplaybacktargetavailabilitychanged,this.onWebkitPlaybackTargetAvailabilityChanged),this.video.addEventListener(R.MediaElementEvent.webkitcurrentplaybacktargetiswirelesschanged,this.onWebkitPlaybackTargetIsWirelessChanged))},e.prototype.isAirplayAvailable=function(){return this.airplayAvailable},e.prototype.isAirplayActive=function(){return this.video.isAirplayActive()},e.prototype.showAirplayTargetPicker=function(){this.isAirplayAvailable()&&(this.video.webkitShowPlaybackTargetPicker(),this.eventCallback(d.PlayerEvent.ShowAirplayTargetPicker))},e.prototype.getTimeshiftRange=function(){return this.isLive()?{start:this.getMaxTimeShift(),end:0}:{start:-1,end:-1}},e.prototype.getSeekableRangeInternal=function(){var e=this.video.seekable;if(e.length>0){var t={start:e.start(0),end:e.end(0)};return t.start=Math.max(0,t.start),t}return{start:-1,end:-1}},e.prototype.getSeekableRange=function(){return!this.isLive()||this.settings.ENABLE_SEEK_FOR_LIVE?this.getSeekableRangeInternal():{start:-1,end:-1}},e.prototype.createManifestApi=function(){return this.hlsManifestController?x.NativePlayerManifestApiFactory.create(this.hlsManifestController):null},e.prototype.release=function(){var e=this,t=this.unload("api").catch(function(){});return clearTimeout(this.loadTimeoutID),this.video.removeEventListener(R.MediaElementEvent.webkitplaybacktargetavailabilitychanged,this.onWebkitPlaybackTargetAvailabilityChanged),this.video.removeEventListener(R.MediaElementEvent.webkitcurrentplaybacktargetiswirelesschanged,this.onWebkitPlaybackTargetIsWirelessChanged),t=t.then(function(){e.type=null,e.config=null,e.eventHandler=null,e.settings=null,e.currentTimeWas=null,e.snapshotCanvas=null,e.snapshotCanvasContext=null,e.audio=null,e.video=null,e.lastPlayIssuer=null,e.lastPauseIssuer=null,e.lastSeekIssuer=null,e.currentSource=null,e.sourceConfig=null,e.currentVideoStream=null,e.availableVideoStreams=null,e.sourceElementEventListeners=null}),this.textTrackController&&this.textTrackController.dispose(),this.textTrackController=null,this.fpsHandler&&this.fpsHandler.dispose(),this.fpsHandler=null,this.downloadErrorHandler&&this.downloadErrorHandler.dispose(),this.downloadErrorHandler=null,this.hlsManifestController&&this.hlsManifestController.dispose(),this.hlsManifestController=null,t},e.prototype.setQueryParameters=function(e){this.settings.QUERY_PARAMETERS=e},e.prototype.clearQueryParameters=function(){this.settings.QUERY_PARAMETERS=void 0},e.prototype.setAudioQuality=function(e){},e.prototype.setTargetBufferLevel=function(){},e.prototype.getAvailableAudioQualities=function(){return[]},e.prototype.getDroppedVideoFrames=function(){return 0},e.prototype.getTotalStalledTime=function(){return 0},e.prototype.updateCallback=function(e){},e.prototype.getAvailableSegments=function(){return{}},e.prototype.getLatency=function(){return null},e.prototype.setTargetLatency=function(e){},e.prototype.getTargetLatency=function(){return null},e.prototype.setCatchupConfig=function(e){},e.prototype.getCatchupConfig=function(){return null},e.prototype.setFallbackConfig=function(e){},e.prototype.getFallbackConfig=function(){return null},r([(0,b.trackPerformance)("NativePlayer.load",!0)],e.prototype,"load",null),e}();function F(e,t){return(et.end)&&(e=Math.max(e,t.start),e=Math.min(e,t.end)),e}t.NativePlayer=B},16958:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativePlayerManifestApiFactory=void 0;var i=n(46381),r=function(){function e(){}return e.create=function(t){var n=t.getParsedManifest();return t.isValidMasterPlaylist(n)?new function(){this.hls=e.createHlsApi(t)}:null},e.createHlsApi=function(t){var n=t.getParsedManifest(),i=n.media.filter(function(e){return"AUDIO"===e.attributes.TYPE}),r=n.media.filter(function(e){return"SUBTITLES"===e.attributes.TYPE||"CLOSED-CAPTIONS"===e.attributes.TYPE});return new(function(){function a(){this.properties=t.getParsedManifest().tags}return a.prototype.getVideoTracks=function(){return e.getVideoTracks(n.playlists)},a.prototype.getAudioTracks=function(){return e.getAudioTracks(i,n.playlists)},a.prototype.getTextTracks=function(){return e.getTextTracks(r)},a}())},e.getAudioTracks=function(e,t){var n=e.reduce(function(e,t){return e[t.attributes.LANGUAGE]||(e[t.attributes.LANGUAGE]=t.attributes.NAME),e},{}),r=Object.keys(n).map(function(t,i){return{id:"audio-".concat(i),label:n[t],lang:t,getQualities:function(){return e.filter(function(e){return e.attributes.LANGUAGE===t}).map(function(e,t){return{id:t+"",bitrate:0,label:e.attributes.NAME}})}}}),a=function(e){return e.attributes.CODECS&&i.CodecStringHelper.getMimeTypeForCodecString(e.attributes.CODECS).includes("audio")};return t.some(a)&&r.push({id:"audio-".concat(r.length),label:"und",lang:"",getQualities:function(){return t.filter(a).map(function(e,t){return{id:t+"",bitrate:e.attributes.BANDWIDTH,codec:i.CodecStringHelper.extractCodecStrings(e.attributes.CODECS).audio}})}}),r},e.getVideoTracks=function(t){var n=t.filter(function(e){return!e.attributes.CODECS||i.CodecStringHelper.getMimeTypeForCodecString(e.attributes.CODECS).includes("video")});return[{id:"video-0",label:"und",getQualities:function(){return e.getVideoQualities(n)}}]},e.getTextTracks=function(e){return e.map(function(e,t){return{id:"text-".concat(t),label:e.attributes.NAME,lang:e.attributes.LANGUAGE,isFragmented:!0,kind:"CLOSED-CAPTIONS"===e.attributes.TYPE?"caption":"subtitle",url:e.attributes.URI}})},e.getVideoQualities=function(e){return e.map(function(e){var t=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height,r={id:n?"".concat(n,"_").concat(e.attributes.BANDWIDTH):"".concat(e.attributes.BANDWIDTH),bitrate:e.attributes.BANDWIDTH,width:t||0,height:n||0};if(e.attributes.CODECS){var a=i.CodecStringHelper.extractCodecStrings(e.attributes.CODECS);a.video&&(r.codec=a.video)}return r})},e}();t.NativePlayerManifestApiFactory=r},31488:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.TechnologyChecker=void 0;var i=n(8833),r=function(){function e(){}return e.prototype.getSupportedTechnologies=function(){return[{player:i.PlayerType.Native,streaming:i.StreamType.Progressive},{player:i.PlayerType.Native,streaming:i.StreamType.Hls},{player:i.PlayerType.Native,streaming:i.StreamType.Dash}]},e}();t.TechnologyChecker=r}},function(e){return e(e.s=36709)}])},791:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[817],{18873:function(e,t,n){var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.HlsUtils=void 0;var r=n(59574),a=n(81349),o=n(3988);var s=function(){var e=this;this.on=function(t,n){e.listeners.hasOwnProperty(t)||(e.listeners[t]=[]),e.listeners[t].push(n)},this.off=function(t,n){if(!e.listeners.hasOwnProperty(t))return!1;var i=e.listeners[t].indexOf(n);return i>-1&&(e.listeners[t].splice(i,1),!0)},this.trigger=function(t){for(var n=[],i=1;i-1;t=this.buffer.indexOf("\\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(s),u=function(e){function t(){return e.call(this)||this}return i(t,e),t.parseAttributes=function(e){for(var n=e.split(t.attributeSeparator),i=n.length,r={};i--;)if(""!==n[i]){var a=/([^=]*)=(.*)/.exec(n[i]).slice(1);a[0]=a[0].replace(/^\\s+|\\s+$/g,""),a[1]=a[1].replace(/^\\s+|\\s+$/g,""),a[1]=a[1].replace(/^[\'"](.*)[\'"]$/g,"$1"),r[a[0]]=a[1]}return r},t.prototype.push=function(e){var n,i;if(0!==(e=e.replace(/^[\\u0000\\s]+|[\\u0000\\s]+$/g,"")).length)if("#"===e[0])if(e=e.replace("\\r",""),n=/^#EXTM3U/.exec(e))this.trigger("data",{type:"tag",tagType:"m3u"});else if(n=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(e))this.trigger("data",{type:"tag",tagType:"independent-segments"});else{if(n=/^#EXT-X-MEDIA:(.*)$/.exec(e))return i={type:"tag",tagType:"media"},n[1]&&(i.attributes=t.parseAttributes(n[1])),void this.trigger("data",i);if(n=/^#EXTINF:?([0-9\\.]*)?,?(.*)?$/.exec(e))return i={type:"tag",tagType:"inf"},n[1]&&(i.duration=parseFloat(n[1])),n[2]&&(i.title=n[2]),void this.trigger("data",i);if(n=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return i={type:"tag",tagType:"targetduration"},n[1]&&(i.duration=parseInt(n[1],10)),void this.trigger("data",i);if(n=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return i={type:"tag",tagType:"version"},n[1]&&(i.version=parseInt(n[1],10)),void this.trigger("data",i);if(n=/^#EXT-X-START:(.*)$/.exec(e))return i={type:"tag",tagType:"start"},n[1]&&(i.attributes=t.parseAttributes(n[1])),void this.trigger("data",i);if(n=/^#EXT-X-MEDIA-SEQUENCE:?(\\-?[0-9.]*)?/.exec(e))return i={type:"tag",tagType:"media-sequence"},n[1]&&(i.number=parseInt(n[1],10)),void this.trigger("data",i);if(n=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\\-?[0-9.]*)?/.exec(e))return i={type:"tag",tagType:"discontinuity-sequence"},n[1]&&(i.number=parseInt(n[1],10)),void this.trigger("data",i);if(n=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return i={type:"tag",tagType:"playlist-type"},n[1]&&(i.playlistType=n[1]),void this.trigger("data",i);if(n=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(e))return i={type:"tag",tagType:"byterange"},n[1]&&(i.length=parseInt(n[1],10)),n[2]&&(i.offset=parseInt(n[2],10)),void this.trigger("data",i);if(n=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return i={type:"tag",tagType:"allow-cache"},n[1]&&(i.allowed=!/NO/.test(n[1])),void this.trigger("data",i);if(n=/^#EXT-X-SESSION-DATA:?(.*)$/.exec(e))return i={type:"tag",tagType:"session-data"},n[1]&&(i.attributes=t.parseAttributes(n[1])),void this.trigger("data",i);if(n=/^#EXT-X-SESSION-KEY:?(.*)$/.exec(e))return i={type:"tag",tagType:"session-key"},n[1]&&(i.attributes=t.parseAttributes(n[1]),i.attributes.IV&&(i.attributes.IV=i.attributes.IV.toLowerCase(),"0x"===i.attributes.IV.substring(0,2)&&(i.attributes.IV=i.attributes.IV.substring(2)),i.attributes.IV=new Uint8Array(o.FormatHelper.hexToBytes(i.attributes.IV)).buffer)),void this.trigger("data",i);if(n=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(i={type:"tag",tagType:"stream-inf"},n[1]){if(i.attributes=t.parseAttributes(n[1]),i.attributes.RESOLUTION){var r={};(a=i.attributes.RESOLUTION.split("x"))[0]&&(r.width=parseInt(a[0],10)),a[1]&&(r.height=parseInt(a[1],10)),i.attributes.RESOLUTION=r}i.attributes.BANDWIDTH&&(i.attributes.BANDWIDTH=parseInt(i.attributes.BANDWIDTH,10)),i.attributes["AVERAGE-BANDWIDTH"]&&(i.attributes["AVERAGE-BANDWIDTH"]=parseInt(i.attributes["AVERAGE-BANDWIDTH"],10)),i.attributes["PROGRAM-ID"]&&(i.attributes["PROGRAM-ID"]=parseInt(i.attributes["PROGRAM-ID"],10))}this.trigger("data",i)}else if(n=/^#EXT-X-I-FRAME-STREAM-INF:?(.*)$/.exec(e)){var a;i={type:"tag",tagType:"i-frame-stream-inf"},n[1]&&(i.attributes=t.parseAttributes(n[1]),i.attributes.BANDWIDTH&&(i.attributes.BANDWIDTH=parseInt(i.attributes.BANDWIDTH,10)),i.attributes["AVERAGE-BANDWIDTH"]&&(i.attributes["AVERAGE-BANDWIDTH"]=parseInt(i.attributes["AVERAGE-BANDWIDTH"],10)),i.attributes.RESOLUTION)&&(r={},(a=i.attributes.RESOLUTION.split("x"))[0]&&(r.width=parseInt(a[0],10)),a[1]&&(r.height=parseInt(a[1],10)),i.attributes.RESOLUTION=r),this.trigger("data",i)}else if(n=/^#EXT-X-ENDLIST/.exec(e))this.trigger("data",{type:"tag",tagType:"endlist"});else if(n=/^#EXT-X-DISCONTINUITY/.exec(e))this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(n=/^#EXT-X-KEY:?(.*)$/.exec(e))return i={type:"tag",tagType:"key"},n[1]&&(i.attributes=t.parseAttributes(n[1]),i.attributes.IV&&(i.attributes.IV=i.attributes.IV.toLowerCase(),"0x"===i.attributes.IV.substring(0,2)&&(i.attributes.IV=i.attributes.IV.substring(2)),i.attributes.IV=new Uint8Array(o.FormatHelper.hexToBytes(i.attributes.IV)).buffer)),void this.trigger("data",i);if(n=/^#EXT-X-MAP:?(.*)$/.exec(e))return i={type:"tag",tagType:"map"},n[1]&&(i.attributes=t.parseAttributes(n[1])),void this.trigger("data",i);if(n=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return i={type:"tag",tagType:"date-time"},n[1]&&(i.dateTime=new Date(n[1])),void this.trigger("data",i);(n=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-out-cont",data:n[1]||""}):(n=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-out",data:n[1]||""}):(n=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"cue-in",data:n[1]||""}):(n=/^#EXT-X-SCTE35:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"scte35",data:n[1]||""}):(n=/^#EXT-X-DATERANGE:?(.*)?$/.exec(e))?this.trigger("data",{type:"tag",tagType:"daterange",data:n[1]||""}):this.trigger("data",{type:"tag",tagType:"unknown",data:e.slice(0,e.length)})}}else this.trigger("data",{type:"uri",uri:e})},t.attributeSeparator=new RegExp(\'(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))\'),t}(s),c=function(e){function t(n){var i=e.call(this)||this;return i.onData=function(e){({tag:function(){(({"allow-cache":function(){i.manifestObj.allowCache=e.allowed,"allowed"in e||(i.trigger("info",{message:"defaulting allowCache to YES"}),i.manifestObj.allowCache=!0)},byterange:function(){var t={};"length"in e&&(i.currentUri.byterange=t,t.length=e.length,"offset"in e||(i.trigger("info",{message:"defaulting offset to zero"}),e.offset=0)),"offset"in e&&(i.currentUri.byterange=t,t.offset=e.offset)},endlist:function(){i.manifestObj.endList=!0},inf:function(){"mediaSequence"in i.manifest||(i.manifestObj.mediaSequence=0,i.trigger("info",{message:"defaulting media sequence to zero"})),e.duration>=0&&(i.currentUri.duration=e.duration),i.manifestObj.segments=i.uris},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){e.attributes.METHOD||i.trigger("warn",{message:"defaulting key method to AES-128"}),i.keysInUse&&(i.keys=[],i.keysInUse=!1);var t={method:(0,a.forceReallocation)(e.attributes.METHOD)||"AES-128",uri:d(e.attributes.URI)?(0,a.forceReallocation)(e.attributes.URI):e.attributes.URI};void 0!==e.attributes.IV&&(t.iv=e.attributes.IV),e.attributes.KEYFORMAT&&(t.keyformat=(0,a.forceReallocation)(e.attributes.KEYFORMAT)),e.attributes.KEYFORMATVERSIONS&&(t.keyformatversions=(0,a.forceReallocation)(e.attributes.KEYFORMATVERSIONS)),e.attributes.KEYID&&(t.keyid=(0,a.forceReallocation)(e.attributes.KEYID)),i.keys.push(t)}else i.trigger("warn",{message:"ignoring key declaration without URI"});else i.keys=[];else i.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?i.manifestObj.mediaSequence=e.number:i.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?i.manifestObj.discontinuitySequence=e.number:i.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?i.manifestObj.playlistType=e.playlistType:i.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},"stream-inf":function(){i.manifestObj.playlists=i.uris,e.attributes?(i.currentUri.attributes||(i.currentUri.attributes={}),i.currentUri.id=function(e){var t="";return e.RESOLUTION&&(t+=e.RESOLUTION.height+"_"),t+e.BANDWIDTH}(e.attributes),i.currentUri.attributes=t.mergeFn(e.attributes,i.currentUri.attributes)):i.trigger("warn",{message:"ignoring empty stream-inf attributes"})},"i-frame-stream-inf":function(){var t={name:"i-frame-stream-inf"};e.attributes&&(t.attributes=e.attributes),i.manifestObj.tags.push(t)},media:function(){i.manifestObj.media.push({attributes:e.attributes});var t={name:"media"};e.attributes&&(t.attributes=e.attributes),i.manifestObj.tags.push(t)},start:function(){var t={};e.attributes.hasOwnProperty("TIME-OFFSET")&&(t.timeOffset=Number(e.attributes["TIME-OFFSET"]),t.precise="YES"===e.attributes.PRECISE,i.manifestObj.start=t);var n={name:"start"};t.hasOwnProperty("timeOffset")&&(n.attributes={"TIME-OFFSET":t.timeOffset,PRECISE:t.precise}),i.manifestObj.tags.push(n)},discontinuity:function(){i.currentUri.discontinuity=!0,i.manifestObj.discontinuityStarts.push(i.uris.length)},"date-time":function(){i.manifestObj.dateTime=e.dateTime},targetduration:function(){!isFinite(e.duration)||e.duration<0?i.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):i.manifestObj.targetDuration=e.duration},map:function(){if(e.attributes&&e.attributes.URI&&(i.init={url:d(e.attributes.URI)?(0,a.forceReallocation)(e.attributes.URI):e.attributes.URI},e.attributes.BYTERANGE)){var t=e.attributes.BYTERANGE.split("@"),n=t[0],r=t[1];i.init.byteRange={start:parseInt(r),end:parseInt(r)+parseInt(n)-1}}},"independent-segments":function(){i.manifestObj.independentSegments=!0,i.manifestObj.tags.push({name:"independent-segments"})},"session-data":function(){var t={name:"session-data"};e.attributes&&(t.attributes=e.attributes),i.manifestObj.tags.push(t)},"session-key":function(){var t={name:"session-key"};e.attributes&&(t.attributes=e.attributes),i.manifestObj.tags.push(t)},"cue-out":function(){i.cueTag=t.getCueTag(e)},"cue-out-cont":function(){i.cueTag=t.getCueTag(e)},"cue-in":function(){i.cueTag=t.getCueTag(e)},scte35:function(){i.scte35.push({type:r.MetadataType.SCTE,attributes:u.parseAttributes(e.data)})},daterange:function(){i.dateRange.push(t.getDateRange(e))},version:function(){i.manifestObj.version=void 0!==e.version?e.version:1},unknown:function(){i.customTags.push({type:r.MetadataType.CUSTOM,attributes:e.data});var t=i.getCustomTag(e.data);t&&i.manifestObj.tags.push(t)}})[e.tagType]||function(){})()},uri:function(){i.currentUri.uri=d(e.uri)?(0,a.forceReallocation)(e.uri):e.uri,i.manifestObj.targetDuration&&!("duration"in i.currentUri)&&(i.trigger("warn",{message:"defaulting segment duration to the target duration"}),i.currentUri.duration=i.manifestObj.targetDuration),i.keys.length>0&&(i.currentUri.keys=i.keys,i.keysInUse=!0),i.init&&(i.currentUri.init=i.init),i.cueTag&&(i.currentUri.cueTag=i.cueTag,i.cueTag=null),i.scte35.length>0&&(i.currentUri.scte35=i.scte35,i.scte35=[]),i.dateRange.length>0&&(i.currentUri.dateRange=i.dateRange,i.dateRange=[]),i.customTags.length>0&&(i.currentUri.customTags=i.customTags,i.customTags=[]),i.manifestObj.dateTime&&(i.currentUri.dateTime=i.manifestObj.dateTime,delete i.manifestObj.dateTime),i.uris.push(i.currentUri),i.currentUri.duration&&(i.manifestObj.totalDuration+=i.currentUri.duration),i.currentUri={}},comment:function(){}})[e.type]()},i.end=function(){i.lineStream.push("\\n")},i.logger=n,i.uris=[],i.currentUri={},i.keys=[],i.keysInUse=!1,i.cueTag=null,i.scte35=[],i.customTags=[],i.dateRange=[],i.lineStream=new _,i.parseStream=new u,i.lineStream.pipe(i.parseStream),i.manifestObj={allowCache:!0,discontinuityStarts:[],endList:!1,media:[],segments:[],totalDuration:0,tags:[],version:1},i.parseStream.on("data",i.onData),i}return i(t,e),Object.defineProperty(t.prototype,"manifest",{get:function(){return this.manifestObj},enumerable:!1,configurable:!0}),t.getCueTag=function(e){var t={type:e.tagType.toUpperCase()};if(e.data){var n=(0,a.forceReallocation)(e.data);t.attributes=n.split(",").map(function(e){return e.trim()})}return t},t.getDateRange=function(e){var t={type:r.MetadataType.DATERANGE};if(e.data){var n=u.parseAttributes(e.data);for(var i in t.clientAttributes={},n)n.hasOwnProperty(i)&&(0===i.indexOf("X-")?t.clientAttributes[(0,a.kebabCaseToCamelCase)(i.substr(2))]=n[i]:t[(0,a.kebabCaseToCamelCase)(i)]=n[i])}return t.duration&&(t.duration=Number(t.duration)),t.plannedDuration&&(t.plannedDuration=Number(t.plannedDuration)),t.endOnNext&&(t.endOnNext=!0),t},t.prototype.getCustomTag=function(e){try{e=(0,a.forceReallocation)(e);var t=/^#([^:=]*)(:|=)?(.*)$/.exec(e);if(t[1]){var n={name:t[1]},i="";if("="===t[2]&&t[3])i=t[3];else if(":"===t[2]&&t[3]){var r=/^([^:="]*)(:|=)?(.*)$/.exec(t[3]);"="===r[2]&&r[3]?n.attributes=u.parseAttributes(t[3]):i=t[3]}return i&&(n.value=i.replace(/^[\'"](.*)[\'"]$/g,"$1")),n}}catch(t){return this.logger&&this.logger.debug("Error occurred while parsing custom HLS tag: ".concat(e)),null}},t.prototype.push=function(e){this.lineStream.push(e)},t.mergeFn=function(e,n){if("object"!=typeof e||"object"!=typeof n)return e;if(Array.isArray(e)&&Array.isArray(e))return e;for(var i in e)n.hasOwnProperty(i)?n[i]=t.mergeFn(e[i],n[i]):n[i]=e[i];return n},t}(s),l=function(){function e(){}return e.parsePlaylist=function(e,t){var n=new c(t);if(n.push(e),n.end(),"playlists"in n.manifest){var i=n.manifest.playlists.map(function(e){return{name:"stream-inf",value:e.uri,attributes:e.attributes}});n.manifest.tags=n.manifest.tags.concat(i)}return n.manifest},e}();function d(e){return(0,a.startsWith)(e,"http://")||(0,a.startsWith)(e,"https://")||(0,a.startsWith)(e,"data:")}t.HlsUtils=l},42572:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isFmp4Segment=t.mergeSegmentCodecs=t.extractCodecFromMp4Segment=t.extractCodecFromTsSegment=t.CodecDetector=void 0;var i=n(85739),r=n(83123),a=n(12391),o=n(43068),s=n(83024),_=n(76469),u=function(){function e(e){this.context=e,this.loader=new r.DefaultContentLoader(this.context)}return e.prototype.fetchSegment=function(e){return this.context.segmentPrefetchingService&&(this.context.segmentPrefetchingService.hasPrefetchedSegment(e)?this.context.segmentPrefetchingService.getPrefetchedSegment(e):this.context.segmentPrefetchingService.fetch(e))||Promise.reject()},e.prototype.probeCodecs=function(e,t){var n=this,r=e.slice();if(0===r.length)throw"could not load any segment";var a=t?r.pop():r.shift(),o=function(e,t){var n=t&&t._byteRange?t._byteRange:void 0;return{url:e,key:t&&t._key?t._key:void 0,byteRange:n,downloaded:!1,mimeType:"unknown/mp4",internalRepresentationId:null,isInitSegment:Boolean(t._init),preventDownloadCanceling:!0}}(a._init?a._init.url:a._media,a);return this.fetchSegment(o).then(function(e){return n.extractCodecsFromSegment(e)}).catch(function(e){if(e instanceof i.PlayerError)throw e;return n.context.logger.debug("Codec probing from segment failed",e),n.probeCodecs(r,t)}).then(function(e){return n.context.logger.debug("Probed codec is",e),e})},e.prototype.extractCodecsFromSegment=function(e){return f(e)?l(e):c(e,this.context)},e}();function c(e,t){if(!o.ModuleManager.has(s.ModuleName.ContainerTS))return Promise.reject(new _.PlayerModuleMissingError(s.ModuleName.ContainerTS));var n=function(e){return new(o.ModuleManager.get(s.ModuleName.ContainerTS).WebWorkerTransmuxer)(e,!1)}(t);return n.transmuxSegment(e).then(function(t){var n=d(t.transmuxedSegments);if(!n)throw"couldn\'t detect codec for ".concat(e.getMimeType());return n}).finally(function(){n.dispose()})}function l(e){if(!o.ModuleManager.has(s.ModuleName.ContainerMP4))return Promise.reject(new _.PlayerModuleMissingError(s.ModuleName.ContainerMP4));var t=o.ModuleManager.get(s.ModuleName.ContainerMP4).getCodecFromSegment(e);return t?Promise.resolve(t):Promise.reject("couldn\'t detect codec for ".concat(e.getMimeType()))}function d(e){for(var t="",n=0,i=e;n=e.settings.HLS_AUDIO_ONLY_THRESHOLD_BITRATE});n.playlists=i.length?i:n.playlists}return n}function f(e,t){var n,i=function(e){return e.playlists||[]}(e),r=i.some(function(e){return _.URLHelper.isSubUrl(t,e.uri)}),a=function(e,t){return function(e){return e.media||[]}(e).find(function(e){var n;return _.URLHelper.isSubUrl(t,null===(n=e.attributes)||void 0===n?void 0:n.URI)})}(e,t);if(!r&&a){var o=null===(n=a.attributes)||void 0===n?void 0:n["GROUP-ID"];if(o)return i.filter(function(e){var t,n;return(null===(t=e.attributes)||void 0===t?void 0:t.AUDIO)===o||(null===(n=e.attributes)||void 0===n?void 0:n.VIDEO)===o})}return i}t.isValidHlsPlaylist=function(e){return(0,l.isMasterPlaylist)(e)&&function(e){return e.playlists.length>0}(e)||(0,l.isMediaPlaylist)(e)&&function(e){return e.segments.length>0}(e)},t.isM3u8Error=function(e){return e in a.M3u8Error},t.getPeriod=function(e){return(0,c.getManifest)(e.getState()).Period[0]},t.parseHlsManifest=d,t.ensureMasterPlaylist=function(e,t,n){if((0,l.isMasterPlaylist)(t))return t;e.logger.debug("HLS manifest is not a master playlist but a variant. Using master playlist template!");var i=d(e,["#EXTM3U","#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=0",n].join("\\n"));if(!(0,l.isMasterPlaylist)(i))throw new Error("Template is not of type HLS MasterPlaylist");return i},t.createDiscontinuitySequences=function(e,t){var n=l.PlaylistUtils.createDiscontinuitySequences(e,t);return n.forEach(function(e,t){l.PlaylistUtils.extrapolateProgramDateTime(e.segments),e.indexOfFirstSegment=0===t?0:n[t-1].indexOfLastSegment+1,e.indexOfLastSegment=e.indexOfFirstSegment+e.segments.length-1}),n},t.getAdaptationSetsWithUnknownCodecs=function(e){var t=e.Period.flatMap(function(e){return e.AdaptationSet.filter(function(e){return!((0,u.getCodecsFromAdaptationSet)(e).length>0)})}),n=t.filter(function(e){var t=e._mimeType;return!s.MimeTypeHelper.isUnknown(t)}),r=t.filter(function(e){var t=e._mimeType;return s.MimeTypeHelper.isUnknown(t)}),a=i([],n,!0),o=r.shift();return o&&(o.Representation=i(i([],null==o?void 0:o.Representation,!0),r.flatMap(function(e){return e.Representation}),!0),a.push(o)),a},t.updateMissingCodecsForPlaylists=function(e,t,n){!function(e,t){t.forEach(function(t){return t.attributes.CODECS=function(e,t){var n=Object.keys(o.CodecStringHelper.extractCodecStrings(e)),i=o.CodecStringHelper.extractCodecStrings(t),r=Object.keys(i).filter(function(e){return!n.includes(e)}).map(function(e){return i[e]}).join(",");return r&&0!==r.length?function(e,t,n){return"string"!=typeof e||0===e.length?t:e+n+t}(e,r,","):e}(t.attributes.CODECS,e)})}(e,f(t,n))},t.getRepresentation=function(e,t){var n=function(e,t){return t.AdaptationSet.find(function(t){return t._internalId.equals(e)})}(e,t);return n?n.Representation.find(function(t){return t._internalId.equals(e)}):null},t.findAllOrMatchingVariants=f},67122:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsTimelineTracker=void 0;var i=n(59534),r=n(59536),a=n(28803),o=n(93638),s=function(){function e(e,t){var n=this;this.context=e,this.playbackTimeNextSegment=-1,this.allowedGapSizeSec=t,this.playerStateService=this.context.serviceManager.get(i.ServiceName.PlayerStateService),this.unsubscribeFromTargetPlaybackTimeChange=(0,a.subscribe)(this.context.store)(function(e){return(0,r.getTargetPlaybackTime)((0,r.getPlayerState)(e))},function(){return n.seekVerificationOnNextSegment=!0},function(e){return-1!==e})}return e.prototype.reset=function(){this.playbackTimeNextSegment=-1},e.prototype.trackPlaybackTime=function(e){this.playbackTimeNextSegment=e.getPlaybackTime()+e.getDuration()},e.prototype.checkForTimelineGap=function(e,t,n){var i;if(this.playbackTimeNextSegment>=0)return this.checkGapForConsecutiveSegments(e,t,n);var r=(null===(i=this.playerStateService)||void 0===i?void 0:i.seekingOrTimeshifting)?this.playerStateService.targetPlaybackTime:-1;return this.seekVerificationOnNextSegment&&r>-1?(this.seekVerificationOnNextSegment=!1,this.checkSeekAccuracy(r,e,t,n)):{hasGap:!1}},e.prototype.checkGapForConsecutiveSegments=function(e,t,n){if(function(e,t,n){return e>=t&&e<=n}(this.playbackTimeNextSegment,e.getPlaybackTime()-this.allowedGapSizeSec,e.getPlaybackTime()+e.getDuration()))return{hasGap:!1};var i={hasGap:!1},r=e.getPlaybackTime()-this.playbackTimeNextSegment,a=t.SegmentList?t.SegmentList[0].SegmentURL:[],s=a.some(function(e){return e.downloaded}),d=(0,o.findSegmentUrlIndexWithinSegmentList)(e,a),f=d>=0?d:n,h=f;if(r>0&&s){for(;a[h]&&!a[h].downloaded&&h>=0;)h--;i=_(!0,r,!1,h+1)}else if(r>0)(p=u(h=c(r,a,f)))||(this.context.logger.debug("Could not handle gap on playlist switch, reached lower boundary of segment list"),h=0),i=_(!0,r,p,h);else if(r<0){var p;(p=u(h=l(r,a,f)))||(this.context.logger.debug("Could not handle gap on playlist switch, reached upper boundary of segment list"),h=a.length),i=_(!0,r,p,h)}return h===f&&i.hasGap&&(this.context.logger.debug("Ignoring gap as calculated new segment index did not change"),i.hasGap=!1),i},e.prototype.checkSeekAccuracy=function(e,t,n,i){var r=n.SegmentList?n.SegmentList[0].SegmentURL:[],a=t.getPlaybackTime(),s=t.getPlaybackTime()+t.getDuration();this.context.logger.debug("HLS seek target verification",{seekTarget:e,segmentStartTime:a,segmentEndTime:s});var d,f,h,p=(0,o.findSegmentUrlIndexWithinSegmentList)(t,r);return p=p>=0?p:i,es?((h=u(d=l(f=s-e,r,p)))||(d=r.length),this.context.logger.debug("Target segment ends too early, corrected segment index from ".concat(p," to ").concat(d)),_(!0,f,h,d)):{hasGap:!1}},e.prototype.dispose=function(){this.unsubscribeFromTargetPlaybackTimeChange(),this.seekVerificationOnNextSegment=!1,this.playbackTimeNextSegment=-1},e}();function _(e,t,n,i){return{hasGap:e,gapSizeSec:t,couldHandle:n,correctedIndex:i}}function u(e){return e>=0&&isFinite(e)}function c(e,t,n){for(;e>.001;){if(n<=0)return-1;e-=t[n-1]._duration,n--}return n}function l(e,t,n){for(;e<-.001;)if(e+=t[n]._duration,++n>=t.length)return 1/0;return n}t.HlsTimelineTracker=s},79712:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&null==s[0].startTime&&r.initSegmentStartTimesFromDiscoSequenceStartTime(o,i),r.context.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE&&r.updateSegmentInfoMap(n,e)}),(0,h.handleDateRangeMetadata)(n,this.dateRanges,this.context.serviceManager.get(d.ServiceName.TimedMetadataService)),o.find(function(e){return e._id===t._id})},e.prototype.updateSegmentInfoMap=function(e,t){var n,i,r=t._internalId.key(),a=null===(n=this.sourceStore.getState())||void 0===n?void 0:n.segmentInfoMap[r];a&&(i=(0,p.updateMapEntry)(a,e,t))||(i=(0,p.createNewMapEntry)(e,t),this.initializeStartTimesOnSegmentMapEntry(i,e)),this.sourceStore.dispatch((0,l.setSegmentInfos)(r,i))},e.prototype.initializeStartTimesOnSegmentMapEntry=function(e,t){var n=this.sourceStore.getState();if(n){var i=(0,g.getStartTimeExtrapolationReferencePoint)(e,t,n);(0,g.extrapolateStartTime)(e.segmentInfos,i)}},e.prototype.determineFirstDiscoStartTime=function(e,t){return e.length>0&&null!=e[0].startTime?(0,$.getFirstDiscoSequenceTiming)(this.getCurrentHlsState()).startTime:t.startTime},e.prototype.updatePeriodStartAndDuration=function(e,n,i){var r=i.reduce(function(e,t){return e+t.duration},0),a=0===e.duration?r:Math.min(e.duration,r),o=this.isLive()?1/0:a,s={start:n,_start:"PT".concat(n,"S"),duration:o,_duration:"PT".concat(a,"S")};this.sourceStore.dispatch((0,u.updatePeriodTimingAction)(t.HLS_PERIOD_ID,s))},e.prototype.trackPlaylistDuration=function(e){this.totalDurationSec=e.endList?Math.min(this.totalDurationSec,e.totalDuration):e.totalDuration},e.prototype.updateDashManifestProperties=function(e){var t,n=!e.endList,i=(0,c.getManifest)(this.sourceStore.getState()),r={_requestTimestamp:e.requestTimestamp,_type:n?"dynamic":"static",_mediaPresentationDuration:n?1/0:"PT".concat(this.totalDurationSec,"S"),_maxSegmentDuration:"PT".concat(e.targetDuration,"S"),_hasIndependentSegments:i._hasIndependentSegments||e.independentSegments};e.start&&(e.start.timeOffset=m.PlaylistUtils.getStartOffsetCloseToPlaylistEnd(e,this.lastStartOffset),this.lastStartOffset=e.start.timeOffset,r._startOffset=m.PlaylistUtils.getStartOffset(e)),n&&(r._minimumUpdatePeriod="PT".concat(e.targetDuration,"S"),r._timeShiftBufferDepth=-this.totalDurationSec,r._availabilityStartTime=null!==(t=i._availabilityStartTime)&&void 0!==t?t:new Date(e.requestTimestamp-(0,o.toMilliSeconds)(this.totalDurationSec)).toISOString()),this.sourceStore.dispatch((0,u.updateManifestAction)(r))},e.prototype.getRepresentationsFromUrl=function(e,t){return t.AdaptationSet.flatMap(function(t){return t.Representation.filter(function(t){return s.URLHelper.isSubUrl(e,t.Uri)})})},e.prototype.updateRepresentation=function(e,t,n){var r=i({},e);return r._requestTimestamp=t.requestTimestamp,r._updateInterval=(0,m.calculateUpdateIntervalInSeconds)(this.context.settings,t),r._hls=i(i({},r._hls),{requestTimestamp:t.requestTimestamp,mediaSequence:t.mediaSequence}),r.SegmentList=[{SegmentURL:[]}],this.updateSegmentList(r,t,n),this.sourceStore.dispatch((0,u.updateRepresentationAction)(r)),r},e.prototype.updateSegmentList=function(t,n,i){var r=i.flatMap(function(e){return e.segments});if(0!==r.length){if(t.SegmentList){this.context.logger.debug("Updating segment list for playlist ".concat(t._id));var a=this.getTranslatedSegmentList(t,r);a.contentProtectionInfos.length>0&&(t.ContentProtection=e.contentProtectionToXmlJson(a.contentProtectionInfos)),t.SegmentList[0].SegmentURL=a.entries,t.SegmentList[0]._duration=n.targetDuration,t.SegmentList[0]._timescale=1}}else this.context.logger.debug("No segments for representation ".concat(t._id," in loaded playlist"))},e.prototype.getTranslatedSegmentList=function(e,t){if(!this.isLive()){var n=this.context.serviceManager.maybeCall(d.ServiceName.ManifestCachingService,function(t){return t.getSegmentList(e.Uri)},null,this.sourceContext.sourceIdentifier);return n||(n=this.m3u8Translator.translateSegmentList(e,t),this.context.serviceManager.maybeCall(d.ServiceName.ManifestCachingService,function(t){return t.cacheSegmentList(n,e.Uri)},null,this.sourceContext.sourceIdentifier)),n}return this.m3u8Translator.translateSegmentList(e,t)},e.prototype.initSegmentStartTimesFromDiscoSequenceStartTime=function(e,t){var n=this.getCurrentHlsState().discontinuitySequenceTiming,i=Object.keys(n).reverse().find(function(e){return 0!==n[e].startTime});if(null!=i){var r=t.find(function(e){return String(e.id)===i});r&&r.segments[0].discontinuity&&this.sourceStore.dispatch((0,v.initSegmentStartTimes)(e,r.indexOfFirstSegment,n[i].startTime))}else this.context.logger.debug("Could not find any discontinuity start times to initialize expected segment playback times")},e.prototype.calculatePlaylistStartTime=function(e){var t=e.segments[0];e.endList?(e.startTime=(0,a.getStartTimeOffset)(this.sourceStore.getState()),e.segments[0].startTime=e.startTime):t&&t.dateTime?(e.startTime=(0,o.toSeconds)(t.dateTime.getTime()),e.segments[0].startTime=e.startTime):e.startTime=(0,o.toSeconds)(e.requestTimestamp)-e.totalDuration},e.prototype.isLive=function(){return"dynamic"===this.getManifest()._type},e.contentProtectionToXmlJson=function(e){return e.map(function(e){var t={_schemeIdUri:e.schemeIdUri};return e.defaultKid&&(t["_cenc:default_KID"]=e.defaultKid),e.pssh&&(t.pssh=[{__text:e.pssh}]),t})},e.prototype.dispose=function(){this.m3u8Translator=(0,r.dispose)(this.m3u8Translator)},e}();t.M3u8DashManifest=y},62340:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0||r)||a>0})},e.prototype.stop=function(){var e=this;this.registeredOnPlayEventHandlers.forEach(function(t){return e.context.eventHandler.off(c.PlayerEvent.Play,t)}),this.registeredOnPausedEventHandlers.forEach(function(t){return e.context.eventHandler.off(c.PlayerEvent.Paused,t)}),this.registeredOnPlayEventHandlers=[],this.registeredOnPausedEventHandlers=[],this.stopLoaders(),this.isCancelled=!0},e.prototype.stopLoaders=function(){var e=this;this.masterPlaylistLoader.cancel(),Object.keys(this.variantUpdateLoaders).forEach(function(t){e.variantUpdateLoaders[t].dispose(),delete e.variantUpdateLoaders[t]})},e.prototype.load=function(e){var t=this;return this.isCancelled=!1,this.loadPlaylist(this.masterPlaylistLoader,e).then(this.onMasterLoaded).catch(function(e){if(e&&!t.isCancelled){var n=e instanceof s.PlayerError?e:t.getErrorFromResponse(e);t.context.eventHandler.fireError(n)}return Promise.reject(null)})},e.prototype.updateRepresentation=function(e){var t=this;this.context.logger.debug("M3u8Loader: updateRepresentation ("+e.Uri+")");var n=this.variantUpdateLoaders[e._id];return this.loadPlaylist(n,e.Uri).then(function(n){var i=t.onMediaLoaded(n,e);if((0,C.isM3u8Error)(i))throw i;return i}).catch(function(){return t.handleRepresentationUpdateFailure(e)})},e.prototype.handleRepresentationUpdateFailure=function(e){var t=this;return this.context.logger.debug("M3u8Loader: updateRepresentation failed ("+e.Uri+")"),this.switchToBackupStream(e).then(function(e){var t=e[0],n=e[1];return!t||Object.values(a).includes(t)?Promise.reject(t||l.M3u8Error.COULD_NOT_LOAD):[t,n]}).then(function(e){var n=e[0],i=e[1];return i&&t.context.serviceManager.get(_.ServiceName.ManifestUpdateSchedulingService,t.sourceContext.sourceIdentifier).updateLinkedRepresentation(i),Promise.resolve(n)})},e.prototype.loadPlaylist=function(e,t){var n;if(!t)return this.context.eventHandler.fireError(new s.PlayerError(o.ErrorCode.SOURCE_INVALID,void 0,"Cannot load the playlist: no URL was provided.")),Promise.reject(o.ErrorCode[o.ErrorCode.SOURCE_INVALID]);var i=this.context.serviceManager.maybeCall(_.ServiceName.ManifestCachingService,function(e){return e.getHttpResponse(t)},null,this.sourceContext.sourceIdentifier);if(i)return Promise.resolve(i);var r=null===(n=this.sourceContext.source.options)||void 0===n?void 0:n.manifestWithCredentials;return e.load(t,h.HttpRequestMethod.GET,null,null,null,r)},e.prototype.createLoader=function(e){var t=this;return new d.DefaultContentLoader(this.context,{onSuccess:function(e,n){(0,f.isDownloadTimeInformationValid)(e)&&t.context.store.dispatch((0,p.addMetricsValue)("default",b.MetricType.DownloadInformation,{bytes:e.length,time:e.elapsedTime,timeToFirstByte:e.timeToFirstByte}))},maxRetries:this.context.settings.MAX_MPD_RETRIES,requestType:e,resetRetriesWhenOffline:!0})},e.prototype.getErrorFromResponse=function(e){var t=new s.PlayerError(o.ErrorCode.SOURCE_COULD_NOT_LOAD_MANIFEST,{sourceUrl:e.url,statusCode:e.status},"Failed to load the playlist: ".concat(e.status," ").concat(e.statusText,"."),this.sourceContext.sourceIdentifier);return e.status===XMLHttpRequest.UNSENT&&(t=new s.PlayerError(o.ErrorCode.NETWORK_ERROR,{url:e.url,statusCode:e.status,statusText:e.statusText},"Failed to load hls playlist, statusCode: ".concat(e.status,", statusText: ").concat(e.statusText),this.sourceContext.sourceIdentifier)),t},e.prototype.hasBackupStreams=function(e){return e.backupUris&&e.backupUris.length>0},e.prototype.findBackupStreamByUri=function(e){var t;return null!==(t=this.backupStreamsMap.find(function(t){return Object.keys(t).includes(e)}))&&void 0!==t?t:{}},e.prototype.getLinkedVideoBackupUri=function(e){var t=this.context.serviceManager.get(_.ServiceName.AdaptationService).getCurrentRepresentationId(m.MimeType.VideoMp4),n=this.manifestService.getRepresentationById(t),i=this.findBackupStreamByUri(null==n?void 0:n.Uri);return Object.keys(i).find(function(t){return i[t]===e})},e.prototype.getLinkedAudioBackupUri=function(e){return this.findBackupStreamByUri(e)[e]},e.prototype.getLinkedRepToRotate=function(e){var t=e._mimeType===m.MimeType.AudioMp4?this.getLinkedVideoBackupUri(e.backupUris[0]):this.getLinkedAudioBackupUri(e.backupUris[0]);if(t){var n=this.manifestService.getAllRepresentations().find(function(e){return-1!==e.backupUris.indexOf(t)});if(n){var i=n.backupUris.findIndex(function(e){return e===t});return i>0&&(n.backupUris=v.Util.arrayMove(n.backupUris,i,0)),n}}},e.prototype.switchToBackupStream=function(e){if(!this.hasBackupStreams(e))return Promise.reject(a.NoBackupStreams);var t=[];t.push(this.rotatePlaylistUrl(e));var n=this.getLinkedRepToRotate(e);return n&&t.push(this.rotatePlaylistUrl(n)),Promise.all(t).then(function(e){return Promise.resolve(e)}).catch(function(){return Promise.reject(a.LoadingFailed)})},e.prototype.rotatePlaylistUrl=function(e,t){var n=this;if(void 0===t&&(t=[]),!this.hasBackupStreams(e))return Promise.reject(a.NoBackupStreams);var o=e._internalId,s=e.Uri,_=e.backupUris[0];t.push(s),this.context.logger.debug("Rotating URL for rep ".concat(e._id," from ").concat(s," to ").concat(_));var u=i(i({},e),{Uri:_,backupUris:e.backupUris.slice(1),BaseURL:[{url:O(_,this.sourceStore.getState())}]});return this.sourceStore.dispatch((0,T.updateRepresentationAction)(u)),this.updateRepresentation(u).catch(function(){return n.rotatePlaylistUrl((0,C.getRepresentation)(o,(0,C.getPeriod)(n.sourceStore)),t).catch(function(e){var a=(0,C.getRepresentation)(o,(0,C.getPeriod)(n.sourceStore));throw n.sourceStore.dispatch((0,T.updateRepresentationAction)(i(i({},a),{backupUris:r(r([],a.backupUris,!0),[t.shift()],!1)}))),e})}).then(function(){var e=(0,C.getRepresentation)(o,(0,C.getPeriod)(n.sourceStore)),a=i(i({},e),{backupUris:r(r([],e.backupUris,!0),[t.shift()],!1)}),s=(0,T.updateRepresentationAction)(a);return n.sourceStore.dispatch(s),e})},e.prototype.dispose=function(){var e=this;this.stop(),this.translatedManifest=(0,u.dispose)(this.translatedManifest),this.masterPlaylist=null,this.masterPlaylistLoader.dispose(),Object.keys(this.variantUpdateLoaders).forEach(function(t){return e.variantUpdateLoaders[t].dispose()}),this.variantUpdateLoaders=null},e}();function O(e,t){var n=(0,E.getManifest)(t).BaseURL[0].url;return R.PlaylistUtils.getBaseUrl(n,e)}t.M3u8Loader=w},88622:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueRenditions=void 0;var i=n(93842);t.uniqueRenditions=function(e){var t=[];return e.forEach(function(e){var n=t.findIndex(function(t){return(0,i.compareValues)(e,t,["GROUP-ID","NAME","TYPE"])});if(-1!==n){var r=t[n];"YES"===e.DEFAULT&&"YES"!==r.DEFAULT&&(t[n]=e)}else t.push(e)}),t}},78750:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8RepresentationFactory=void 0;var i=n(14809),r=n(8833),a=n(46381),o=n(18432),s=n(5793),_=n(76379),u=function(){function e(e,t){this.context=e,this.sourceContext=t}return e.prototype.create=function(e,t,n,r,a){if(void 0===a&&(a=!0),!e)return null;var o=this.createBaseRepresentation(e,r);if(t===i.RepresentationType.AUDIO)o=this.extendToAudioRepresentation(e,o,n,r);else if(t===i.RepresentationType.VIDEO)o=this.extendToVideoRepresentation(e,o,n,r,a);else{if(t!==i.RepresentationType.SUBTITLE)return null;o=this.extendToSubtitleRepresentation(e,o,n,r)}var s=this.getLabelForRepresentation(o);return s&&(o._label=s),o},e.prototype.createBaseRepresentation=function(e,t){var n=e.uri||e.URI;n&&!s.URLHelper.isUrlAbsolute(n)&&(n=s.URLHelper.concatBaseUrlWithPartial(t,n));var i={_id:"",_mimeType:"",_bandwidth:0,_codecs:"",_hls:{requestTimestamp:0},BaseURL:null,SegmentList:[{SegmentURL:[]}],Uri:n,backupUris:[]};return e.backupStreamUris&&e.backupStreamUris.forEach(function(e){s.URLHelper.isUrlAbsolute(e)?i.backupUris.push(e):i.backupUris.push(s.URLHelper.concatBaseUrlWithPartial(t,e))}),e.NAME&&(i._label=e.NAME),i},e.prototype.extendToVideoRepresentation=function(e,t,n,i,r){var o=t;if(o._mimeType="video/"+n,o._width=0,o._height=0,o.BaseURL=[{url:_.PlaylistUtils.getBaseUrl(i,e.uri)}],\no._bandwidth=e.attributes["AVERAGE-BANDWIDTH"]||e.attributes.BANDWIDTH,o._bandwidth||(o._bandwidth=this.context.settings.MIN_SELECTABLE_VIDEO_BITRATE),o._bandwidth=Number(o._bandwidth),e.attributes.CODECS){var s=a.CodecStringHelper.extractCodecStrings(e.attributes.CODECS);a.CodecStringHelper.hasOldAvc1CodecFormat(s.video)&&(s.video=a.CodecStringHelper.convertAvc1ToAvcotiCodecFormat(s.video)),r?s.video&&s.audio?o._codecs=s.video+","+s.audio:s.video&&!s.audio?o._codecs=s.video:!s.video&&s.audio&&(o._codecs=s.audio):o._codecs=s.video}return e.attributes["FRAME-RATE"]&&(o._frameRate=parseFloat(e.attributes["FRAME-RATE"])),e.attributes.RESOLUTION&&(o._width=e.attributes.RESOLUTION.width,o._height=e.attributes.RESOLUTION.height,o._id+=e.attributes.RESOLUTION.height+"_"),o._id+=e.attributes.BANDWIDTH,o},e.prototype.extendToAudioRepresentation=function(e,t,n,i){var r=t;return r._id=e.NAME+" "+e["GROUP-ID"]||"",r._mimeType="audio/"+n,r._codecs=e.CODECS,r._name=e.NAME||"",r._groupId=e["GROUP-ID"]||"",r._label=r._name+" "+r._groupId,r.BaseURL=[{url:_.PlaylistUtils.getBaseUrl(i,e.URI||e.uri)}],r},e.prototype.extendToSubtitleRepresentation=function(e,t,n,i){var r=t;return r._id=e.NAME,r._mimeType="application/"+n,r._codecs="wvtt",r._name=e.NAME||"",r.BaseURL=[{url:_.PlaylistUtils.getBaseUrl(i,e.URI)}],r._hls.isForced="YES"===e.FORCED,r},e.prototype.getLabelForRepresentation=function(e){var t={id:e._id,mimeType:e._mimeType,width:e._width,height:e._height,bitrate:e._bandwidth};return(0,o.applyLabeling)({source:this.sourceContext.source,logger:this.context.logger,streamType:r.StreamType.Hls,labelingType:o.LabelingType.Qualities},t)},e}();t.M3u8RepresentationFactory=u},19648:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&(i._value+=";"),i._value+="708"===t?a.substr(7)+"=lang:":a+"=",i._value+=e[r].LANGUAGE}return{closedCaptionLabel:n,accessibility:i}},e.prototype.createCaptionElements=function(e){if(!e)return{closedCaptionLabel:null,accessibility:[]};var t=this.createCeaCaptionObjects(e.cea608,"608"),n=this.createCeaCaptionObjects(e.cea708,"708"),i=[],r=null;return t.accessibility._value&&(i.push(t.accessibility),r=t.closedCaptionLabel),n.accessibility._value&&i.push(n.accessibility),{closedCaptionLabel:r,accessibility:i}},e.prototype.createAdaptationSetWithUnknownCodecs=function(e,t){var n=this.adaptationsetId.toString(),i={_id:n,_mimeType:"unknown",_internalId:new l.AdaptationSetId(t,n),Representation:[{Uri:s.URLHelper.concatBaseUrlWithPartial(this.baseURL,e.uri),BaseURL:[{url:b.PlaylistUtils.getBaseUrl(this.baseURL,e.uri)}],_bandwidth:Number(e.attributes["AVERAGE-BANDWIDTH"]||e.attributes.BANDWIDTH),_id:n}],isTransmuxingRequired:!0};return this.adaptationsetId++,i},e.prototype.createVideoAdaptationSet=function(e,t,n,i,r){for(var o=[],s=1/0,_=0,u=1/0,c=0,d=1/0,f=0,h="video/"+i,p=0,b=e;p0&&(v.Accessibility=$.accessibility);var y=this.getLabelForAdaptationSet(v);return y&&"string"==typeof y&&(v._label=y),v},e.prototype.createAudioAdaptationSet=function(e,t,n,i){for(var r=[],o=0,s=e;o0&&(c.Accessibility=d.accessibility);var f=this.getLabelForAdaptationSet(c);return f&&"string"==typeof f&&(c._label=f),c},e.prototype.createAudioAdaptationSets=function(e,t,n,i){var r=this,o=this.context.settings.IGNORE_HLS_AUDIO_GROUPS,s=0,_=[],u=function(t){return{Representation:[],_id:String(r.adaptationsetId),_internalId:new l.AdaptationSetId(e,String(r.adaptationsetId++)),_mimeType:"audio/"+n,_minBandwidth:1/0,_maxBandwidth:-1,_lang:t,_group:String(s++),isTransmuxingRequired:!0}};return Object.keys(t).forEach(function(e){var s,c,l=t[e],d=l.entries.find(function(e){return e.LANGUAGE&&"und"!==e.LANGUAGE});d&&(s=d.LANGUAGE),o||(c=u(s));for(var f=(0,h.uniqueRenditions)(l.entries.filter(function(e){return e.URI})),p=0,b=f;p0&&_.push(c),c.Representation.sort(function(e,t){return e._bandwidth-t._bandwidth})}!o&&c.Representation.length>0&&_.push(c)}),_},e.prototype.createSubtitleAdaptationSets=function(e,t,n){var i=this,r=0;return Object.values(t).filter(function(e){return e.URI}).map(function(t){var o={Representation:[],_id:String(i.adaptationsetId),_internalId:new l.AdaptationSetId(e,String(i.adaptationsetId++)),_mimeType:"application/mp4",_lang:t.LANGUAGE,_group:""+r++,_isFragmented:!0},s=i.representationFactory.create(t,a.RepresentationType.SUBTITLE,n,i.baseURL,i.assumeAudioMuxedIntoVideoTs);o.Representation.push(s);var _=i.getLabelForAdaptationSet(o);return _&&"string"==typeof _?o._label=_:s._name?o._label=s._name:o._label=t.LANGUAGE,o})},e.prototype.getLabelForAdaptationSet=function(e){var t={mimeType:e._mimeType,lang:e._lang};return e._label&&(t.label=e._label),this.getLabelingFunctionForAdaptationSet()(t)},e.prototype.getLabelingFunctionForAdaptationSet=function(){var e=this.context.sourceContext,t=e&&e.source&&e.source.labeling;return t&&t.hls&&t.hls.tracks?"function"!=typeof t.hls.tracks?this.getDefaultLabelForAdaptationSet:t.hls.tracks:this.getDefaultLabelForAdaptationSet},e.prototype.getDefaultLabelForAdaptationSet=function(){return null},e.prototype.handleBackupStreams=function(e){this.backupStreams=[];for(var t=e.playlists,n=0;n0}),h=d.filter(function(e){return"unknown"===e}).flatMap(function(e){return l[e]}).map(function(e){return i.createAdaptationSetWithUnknownCodecs(e,a._id)}),p=this.createAudioAdaptationSets(a._id,s.audio,c.ContainerFormat.MP4,t).filter(function(t){return t.Representation=t.Representation.filter(function(t){return e.isRepresentationSupported(t,i.context.renderer)}),t.Representation.length>0}).concat(d.filter(function(e){return o.CodecStringHelper.isAudioCodec(e)}).map(function(e){return i.createAudioAdaptationSet(l[e],s.captions,a._id,c.ContainerFormat.MP4)})),b=this.createSubtitleAdaptationSets(a._id,s.subtitles,c.ContainerFormat.MP4);return a.AdaptationSet=[].concat(f,p,b,h),_.ModuleManager.has(u.ModuleName.Thumbnail)&&(a.AdaptationSet=_.ModuleManager.get(u.ModuleName.Thumbnail).extendAdaptationSets(a.AdaptationSet,t,this.baseURL)),a},e.isRepresentationSupported=function(e,t){var n=!e._mimeType.includes("audio")&&!e._mimeType.includes("video");if(!e._codecs||n)return!0;var i=o.CodecStringHelper.extractCodecStrings(e._codecs);return Object.keys(i).every(function(e){return o.CodecStringHelper.isSupportedByRenderer(t,e+"/mp4",i[e])})},e.prototype.canAssumeAudioMuxedIntoVideo=function(e){var t=e.media.filter(function(e){return S(e.attributes)});return!t.length||t.some(function(e){return!e.attributes.URI})},e.prototype.translateSegmentList=function(e,t){var n=[],r=s.URLHelper.getDomainUrl(e.BaseURL[0].url),a=[];return t.forEach(function(t,o){t.uri=s.URLHelper.buildAbsoluteUrl(e.BaseURL[0].url,r,t.uri);var _=null;(t.keys||[]).forEach(function(t){if(null!==v(t.uri))void 0!==a.find(function(e){return!Object.keys(t).some(function(n){return t[n]!==e[n]})})||a.push(t),a.length>0&&(_=null);else{var n=new ArrayBuffer(16);new DataView(n).setInt32(12,e._hls.mediaSequence+o),_=i(i({iv:n},t),{uri:s.URLHelper.buildAbsoluteUrl(e.BaseURL[0].url,r,t.uri)})}}),t.init&&(t.init.url=s.URLHelper.buildAbsoluteUrl(e.BaseURL[0].url,r,t.init.url),_&&(t.init.key=_));var u={_media:t.uri,_duration:t.duration,_key:_,_metadata:[],_init:t.init,_discontinuitySequenceNumber:t.discontinuitySequenceNumber};["cueTag","scte35","customTags"].filter(function(e){return t.hasOwnProperty(e)}).forEach(function(e){return u._metadata=u._metadata.concat(t[e])}),t.dateTime&&(u._dateTime=t.dateTime),t.byterange&&(u._byteRange={start:t.byterange.offset,end:t.byterange.offset+t.byterange.length-1}),n.push(u)}),{entries:n,contentProtectionInfos:this.parseAllContentProtection(a)}},e.prototype.parseAllContentProtection=function(e){var t=this,n=[];return e.forEach(function(e){var i=function(e,t){return _.ModuleManager.has(u.ModuleName.DRM)?_.ModuleManager.get(u.ModuleName.DRM).ContentProtectionHelper.parseContentProtection(e,t):null}(e,v(e.uri));i?n.push(i):t.context.logger.debug("Encountered unknown/unsupported DRM scheme:",e.keyformat)}),n},e.prototype.dispose=function(){this.baseURL=null},e}();t.M3u8Translator=m,function(e){function t(e,t){var n={};return e.forEach(function(e){var i=t[e["GROUP-ID"]]||t[Object.keys(t)[0]];e.BANDWIDTH=i[0].BANDWIDTH,e.CODECS=i[0].CODECS;var r=e["AVERAGE-BANDWIDTH"]||e.BANDWIDTH,a=n[e.NAME];void 0!==a?(a.entries.push(e),a.MIN_BANDWIDTH=Math.min(a.MIN_BANDWIDTH,r),a.MAX_BANDWIDTH=Math.max(a.MAX_BANDWIDTH,r)):n[e.NAME]={entries:[e],MIN_BANDWIDTH:r,MAX_BANDWIDTH:r}}),n}function n(e){var t={};return e.forEach(function(e){return t[e.NAME]=e}),t}function i(e){var t={cea608:[],cea708:[]};return e.forEach(function(e){e["INSTREAM-ID"]&&0===e["INSTREAM-ID"].indexOf("CC")?t.cea608.push(e):e["INSTREAM-ID"]&&0===e["INSTREAM-ID"].indexOf("SERVICE")&&t.cea708.push(e)}),t}function r(e){var t={};return e.forEach(function(e){var n=e.attributes.AUDIO;t[n]||(t[n]=[]);var i={BANDWIDTH:e.attributes.BANDWIDTH,CODECS:void 0};e.attributes.CODECS&&e.attributes.CODECS.indexOf(",")>-1&&(i.CODECS=function(e){return e.attributes.CODECS.split(",").find(function(e){return o.CodecStringHelper.isAudioCodec(e)})}(e)),t[n].push(i)}),t}function a(e){var t=r(e);return function(e){Object.values(e).forEach(function(e){e.sort(function(e,t){return e.BANDWIDTH-t.BANDWIDTH})})}(t),t}e.extractMediaRenditions=function(e,r,o){var s=e.playlists.filter(o),_=e.media.map(function(e){return e.attributes}),u=a(s),c=_.filter(function(e){var t=u[e["GROUP-ID"]];return S(e)&&(r||t)}),l=_.filter(function(e){return"SUBTITLES"===e.TYPE}),d=_.filter(function(e){return"CLOSED-CAPTIONS"===e.TYPE});return{audio:t(c,u),subtitles:n(l),captions:i(d)}},e.getPropertiesForAudioGroups=a}(r=t.HlsParsing||(t.HlsParsing={}));var g=new RegExp(/^data:text\\/plain.*;base64.*,(.+)/);function v(e){var t=g.exec(e);return null!==t&&2===t.length?t[1]:null}function $(e,t,n){var i,r;void 0===n&&(n="und"),(null!==(r=null===(i=null==e?void 0:e.media)||void 0===i?void 0:i.filter(function(e){return S(e.attributes)}))&&void 0!==r?r:[]).forEach(function(i){var r=e.playlists.find(function(e){return e.attributes.AUDIO===t._groupId});if(r){var a=function(e,t,n){var i;return!!(null===(i=n.tags)||void 0===i?void 0:i.filter(function(e){return"stream-inf"===e.name}).find(function(n){var i;return e.backupStreamUris.includes(n.value)&&(null===(i=n.attributes)||void 0===i?void 0:i.AUDIO)===t}))}(r,i.attributes["GROUP-ID"],e),o=s.URLHelper.getAbsoluteUrl(i.attributes.URI,t.BaseURL[0].url);i.attributes.NAME===t._name&&i.attributes.LANGUAGE===n&&o!==t.Uri&&a&&t.backupUris.push(o)}})}function y(e,t,n){var i,r,a=null===(i=e.media)||void 0===i?void 0:i.find(function(e){return S(e.attributes)&&e.attributes["GROUP-ID"]===t}),o=null===(r=null==a?void 0:a.attributes)||void 0===r?void 0:r.URI;return o?s.URLHelper.getAbsoluteUrl(o,n):void 0}function S(e){return"AUDIO"===e.TYPE}},94946:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.M3u8Validator=t.M3u8ValidatorError=void 0,function(e){e[e.EmptyPlaylist=1]="EmptyPlaylist"}(n=t.M3u8ValidatorError||(t.M3u8ValidatorError={}));var i=function(){function e(){}return e.checkForError=function(t){for(var n=0,i=e.mediaPlaylistRules;n0},err:n.EmptyPlaylist}],e}();t.M3u8Validator=i},60918:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HLSModuleDefinition=void 0;var i=n(18873),r=n(83024),a=n(30410),o=n(67122),s=n(62340),_=n(76379),u=n(87510),c=n(95715),l=n(24965),d={initSegmentStartTimes:u.initSegmentStartTimes,initSegmentStartTimesFromReferenceSegment:u.initSegmentStartTimesFromReferenceSegment,setPresentationTimeOffset:u.setPresentationTimeOffset,dropSegmentStartTimes:u.dropSegmentStartTimes,setTimestampRolloverPositions:u.setTimestampRolloverPositions},f={getPresentationTimeOffset:l.getPresentationTimeOffset,getHlsState:l.getHlsState,getPlaylistType:l.getPlaylistType,getEndlist:l.getEndlist,getDefaultLanguages:l.getDefaultLanguages,getCustomTags:l.getCustomTags,hasPlaylist:l.hasPlaylist,getPlaylistStartTime:l.getPlaylistStartTime,getPlaylistSegments:l.getPlaylistSegments,getDiscoSequenceTiming:l.getDiscoSequenceTiming,getDiscoSequenceTimings:l.getDiscoSequenceTimings,getFirstDiscoSequenceTiming:l.getFirstDiscoSequenceTiming,hasSegmentStartTimesForPlaylist:l.hasSegmentStartTimesForPlaylist,getStartTimeForSegment:l.getStartTimeForSegment,hasInitializedSegmentStartTimes:l.hasInitializedSegmentStartTimes};t.HLSModuleDefinition={name:r.ModuleName.HLS,module:function(){return{HlsTimelineTracker:o.HlsTimelineTracker,M3u8Loader:s.M3u8Loader,HlsUtils:i.HlsUtils,PlaylistUtils:_.PlaylistUtils,DiscontinuitySequenceNumberTracker:a.DiscontinuitySequenceNumberTracker,HlsReducer:c.HlsReducer,actions:d,selectors:f}},dependencies:[r.ModuleName.EngineBitmovin]},t.default=t.HLSModuleDefinition},76379:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&(e[e.length-1].segments.push(t),e[e.length-1].duration+=t.duration),e},[{id:i,segments:[],duration:0}])},e.findCurrentDiscontinuitySequenceNumber=function(e,t){for(var n=[],i=0,r=0;rn.length?t[0].id:t[1].id:this.findFirstPeriodByIndexTracking(n,a,t)},e.findFirstPeriodByIndexTracking=function(e,t,n){if(e[0]>t[0])return n[0].id;if(e[0]0;){for(e.shift(),a=0;a=0;n--){var i=e[n+1].dateTime,a=Math.ceil((0,r.toMilliSeconds)(e[n].duration));e[n].dateTime=new Date(i.getTime()-a)}for(n=t+1;n-1){var n=e.match(/segment(\\d{9})/);if(n&&2===n.length){var i=parseInt(n[1])*Math.round((0,r.toMilliSeconds)(t));return new Date(i)}}return null},e.correctStartOffsetToBounds=function(e,t){return e>0&&e>t?t:e<0&&Math.abs(e)>t?-t:e},e.getImpreciseStartOffsetFromStartOfPlaylist=function(e){for(var t=e.start.timeOffset,n=0,i=0;i0;i++){var r=e.segments[i].duration;t-=r,n+=r}return n},e.getImpreciseStartOffsetFromEndOfPlaylist=function(e){for(var t=Math.abs(e.start.timeOffset),n=0,i=e.segments.length-1;i>=0&&u(t,1)>0;i--)t-=e.segments[i].duration,n+=u(e.segments[i].duration,2);return e.totalDuration-n},e.getImpreciseStartOffset=function(t){return t.start.timeOffset>=0?e.getImpreciseStartOffsetFromStartOfPlaylist(t):e.getImpreciseStartOffsetFromEndOfPlaylist(t)},e.getStartOffsetCloseToPlaylistEnd=function(t,n){var i=t.start.timeOffset;return i=(i=e.correctStartOffsetToBounds(i,t.totalDuration))<0?-u(Math.abs(i),2):u(i,2),Math.max(n,i)},e.getStartOffset=function(t){var n=t.start.timeOffset;return(n=e.correctStartOffsetToBounds(n,t.totalDuration))<0&&(n+=t.totalDuration),t.start.precise||(n=e.getImpreciseStartOffset(t)),Number(n.toFixed(2))},e.addNewSegments=function(e,t,n){var i,r,o=n.BaseURL?n.BaseURL[0].url:"",s=a.URLHelper.getDomainUrl(o);if(e.length<1&&(null===(r=null===(i=n.SegmentList)||void 0===i?void 0:i[0])||void 0===r?void 0:r.SegmentURL)){var _=n.SegmentList[0].SegmentURL;t.forEach(function(t,n){var i=_[n];i&&(i._key&&(t.key=i._key),i._dateTime&&(t.dateTime=i._dateTime),i._metadata&&(t.metadata=i._metadata),t.uri=a.URLHelper.buildAbsoluteUrl(o,s,t.uri),e.push(t))})}else this.getSegmentsToAdd(e,t,o,s).forEach(function(t){return e.push(t)})},e.getSegmentsToAdd=function(e,t,n,r){for(var o,s=e[e.length-1],u=[],c=t.length-1;c>=0&&((o=i({},t[c])).uri=a.URLHelper.buildAbsoluteUrl(n,r,o.uri),!_(o,s));c--)u.unshift(o);return u},e.removeDroppedOutSegments=function(e,t,n){var r=a.URLHelper.getDomainUrl(n),o=i({},t[0]);o.uri=o.uri=a.URLHelper.buildAbsoluteUrl(n,r,o.uri);for(var s=0;s=0;r--)e[r].startTime=e[r+1].startTime-e[r].duration}function c(e,t){if(d(e.segmentInfos)&&d(t.segmentInfos)){var n=t.segmentInfos[t.segmentInfos.length-1],i=l(t.segmentInfos,n.discontinuitySequenceNumber),r=t.segmentInfos[i],a=l(e.segmentInfos,r.discontinuitySequenceNumber);if(null!=a)return{index:a,startTime:r.startTime}}}function l(e,t){return d(e)?(0,a.findIndexFromEnd)(e,function(e){return Boolean(e.isDiscontinuityStart)&&e.discontinuitySequenceNumber===t}):-1}function d(e){if(!e.length)return!1;if(e[0].isDiscontinuityStart)return!0;var t=e[0],n=e[e.length-1];return t.discontinuitySequenceNumber!==n.discontinuitySequenceNumber}!function(e){e.Backward="backward",e.Forward="forward",e.Bidirectional="Bidirectional"}(i=t.StartTimeExtrapolationDirection||(t.StartTimeExtrapolationDirection={})),t.extrapolateStartTime=function(e,t,n){void 0===n&&(n=i.Bidirectional),n===i.Backward?u(e,t):(n===i.Forward||u(e,t),_(e,t))},t.forwardExtrapolateSegmentStartTime=_,t.backwardExtrapolateSegmentStartTime=u,t.getStartTimeExtrapolationReferencePoint=function(e,t,n){var i,a;if(t.endList)return{index:0,startTime:(0,r.getStartTimeOffset)(n)};var _=e.segmentInfos[0];if(null==_?void 0:_.dateTime)return{index:0,startTime:(0,o.toSeconds)(_.dateTime.getTime())};var u=(0,s.getMostRecentlyRefreshedQuality)(n);if(u){var l=c(e,u);if(l)return l}return{index:0,startTime:null!==(a=null===(i=null==u?void 0:u.segmentInfos[0])||void 0===i?void 0:i.startTime)&&void 0!==a?a:(0,o.toSeconds)(t.requestTimestamp)-t.totalDuration}},t.getStartTimeViaDiscontinuityBoundaries=c,t.findDiscontinuityBoundary=l,t.hasDiscontinuityBoundary=d},87510:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.setTimestampRolloverPositions=t.setPresentationTimeOffset=t.initSegmentStartTimesFromReferenceSegment=t.dropSegmentStartTimes=t.initSegmentStartTimes=t.updateDiscontinuityStartAndEndTimes=t.removeDroppedOutDiscontinuity=t.updatePlaylist=t.setCustomTags=t.setDefaultLanguages=t.setEndlist=t.setPlaylistType=t.setMasterPlaylistString=void 0;var i=n(32696),r=n(94388);t.setMasterPlaylistString=function(e){return(0,i.createAction)(r.HlsActionType.SetMasterPlaylistString,e)};t.setPlaylistType=function(e){return(0,i.createAction)(r.HlsActionType.SetPlaylistType,e)};t.setEndlist=function(e){return(0,i.createAction)(r.HlsActionType.SetEndlist,e)};t.setDefaultLanguages=function(e){return(0,i.createAction)(r.HlsActionType.SetDefaultLanguages,e)};t.setCustomTags=function(e){return(0,i.createAction)(r.HlsActionType.SetCustomTags,e)};t.updatePlaylist=function(e,t){return(0,i.createAction)(r.HlsActionType.UpdatePlaylist,{playlist:e,representation:t})};t.removeDroppedOutDiscontinuity=function(e,t){return(0,i.createAction)(r.HlsActionType.RemoveDroppedOutDiscontinuity,{discoSequences:e,representation:t})};t.updateDiscontinuityStartAndEndTimes=function(e,t){return(0,i.createAction)(r.HlsActionType.UpdateDiscontinuityStartAndEndTimes,{discoSequences:e,representation:t})};t.initSegmentStartTimes=function(e,t,n){return(0,i.createAction)(r.HlsActionType.InitSegmentStartTimes,{playlistId:e,segmentIndex:t,startTime:n})};t.dropSegmentStartTimes=function(){return(0,i.createAction)(r.HlsActionType.DropSegmentStartTimes)};t.initSegmentStartTimesFromReferenceSegment=function(e){return(0,i.createAction)(r.HlsActionType.InitSegmentStartTimesFromReferenceSegment,{playlistId:e.getRepresentationId().representationId,segmentUrl:e.getUrl(),segmentPlaybackTime:e.getPlaybackTime(),discontinuitySequenceNumber:e.getSegmentInfo().discontinuitySequenceNumber})};t.setPresentationTimeOffset=function(e,t){return(0,\ni.createAction)(r.HlsActionType.SetPresentationTimeOffset,{discoSequenceNumber:e,presentationTimeOffset:t})};t.setTimestampRolloverPositions=function(e,t){return(0,i.createAction)(r.HlsActionType.SetTimestampRolloverPositions,{next:e,previous:t})}},95715:function(e,t,n){var i,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;n--)if(null!=e[n].startTime){t=n;break}h(e,t)}}(l);var d=e.playlists[_]?r(r({},e.playlists[_]),{segments:l,startTime:u,duration:c}):{segments:l,startTime:u,duration:c};return r(r({},e),{playlists:r(r({},e.playlists),(n={},n[_]=d,n))})}function l(e,t){return{startTime:e,endTime:e+t}}function d(e,t){var n=t.discoSequences,i=t.representation,a=(0,_.getPlaylistSegments)(e,i._id),o=!e.endlist,s={},u=null==e?void 0:e.playlists[i._id];return a&&a.length?(n.forEach(function(t,n){var i,r,c=(0,_.getDiscoSequenceTiming)(e,String(t.id)),d=function(e,t,n,i){if(e.filter(function(e){return e.discontinuitySequenceNumber===t.id}).every(function(e){return null!=e.startTime}))return{startTime:e[t.indexOfFirstSegment].startTime,endTime:e[t.indexOfLastSegment].startTime+e[t.indexOfLastSegment].duration};var r=t.segments.reduce(function(e,t){return e+t.duration},0),a=e[t.indexOfFirstSegment-1];if(a&&null!=a.startTime)return l(a.startTime+a.duration,r);var o=i[t.id-1];return l(null!=o?o.endTime:null!=(null==n?void 0:n.startTime)?n.startTime:0,r)}(a,t,u,s);c&&0!==(null==c?void 0:c.startTime)&&0!==n&&(d.startTime=c.startTime),d.endTime=o?Math.max(null!==(i=null==c?void 0:c.endTime)&&void 0!==i?i:0,d.endTime):Math.min(null!==(r=null==c?void 0:c.endTime)&&void 0!==r?r:1/0,d.endTime),s[String(t.id)]=d}),r(r({},e),{discontinuitySequenceTiming:r(r({},e.discontinuitySequenceTiming),s)})):e}function f(e,t,n){var i=a([],e,!0);return i[t]=r({},i[t]),i[t].startTime=n,function(e,t){for(var n=t-1;n>=0;n--)e[n]=r({},e[n]),e[n].startTime=e[n+1].startTime-e[n].duration}(i,t),h(i,t),i}function h(e,t){for(var n=t+1;n0&&null!=n.segments[0].startTime};t.getPresentationTimeOffset=function(e,t){return Object.keys(e.presentationTimeOffsets).includes(t)?e.presentationTimeOffsets[t]:null};function i(e){var t;return null!=(null===(t=e.segments[0])||void 0===t?void 0:t.startTime)||!1}t.hasInitializedSegmentStartTimes=function(e){return Object.values(e.playlists).some(i)}},94388:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.HlsActionType=void 0,function(e){e.SetMasterPlaylistString="@instance/hls/setmasterplayliststring",e.SetPlaylistType="@instance/hls/setplaylisttype",e.SetEndlist="@instance/hls/setendlist",e.SetDefaultLanguages="@instance/hls/setsefaultlanguages",e.SetCustomTags="@instance/hls/setsustomtags",e.UpdatePlaylist="@instance/hls/updatePlaylist",e.RemoveDroppedOutDiscontinuity="@instance/hls/removedroppedoutdiscontinuity",e.UpdateDiscontinuityStartAndEndTimes="@instance/hls/updatediscontinuitystartandendtimes",e.InitSegmentStartTimes="@instance/hls/initsegmentstarttimes",e.DropSegmentStartTimes="@instance/hls/dropsegmentstarttimes",e.InitSegmentStartTimesFromReferenceSegment="@instance/hls/initsegmentstarttimesfromreferencesegment",e.SetPresentationTimeOffset="@instance/hls/setpresentationtimeoffset",e.SetTimestampRolloverPositions="@instance/hls/settimestamprolloverpositions"}(t.HlsActionType||(t.HlsActionType={}))},44699:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.updateSegmentInfos=t.setSegmentInfos=void 0;var i=n(32696),r=n(13561);t.setSegmentInfos=function(e,t){return(0,i.createAction)(r.SegmentInfoMapActionType.SetSegmentInfos,{qualityPath:e,updatedEntry:t})},t.updateSegmentInfos=function(e,t){return(0,i.createAction)(r.SegmentInfoMapActionType.UpdateSegmentInfos,{qualityPath:e,updatedEntry:t})}}},function(e){return e(e.s=60918)}])},912:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;rthis[_[36]][_[32]]?this[_[49]](e,n,t):this[_[15]]},e[_[12]][_[48]]=function(e,t){var n=this[_[36]][_[32]],i=this[_[36]][_[35]],o=ti+o[_[50]],u=t>i+o[_[51]],c=n>this[_[21]];return s?{mode:r[_[17]][_[54]],requiredAction:a[_[3]][_[6]],actionParam:i}:c&&(e===r[_[17]][_[54]]||u)?{mode:r[_[17]][_[54]],requiredAction:a[_[3]][_[5]],actionParam:o[_[53]]}:this[_[15]]},e[_[12]][_[55]]=function(){this[_[19]][_[55]](),this[_[46]]=!1},e[_[12]][_[56]]=function(){this[_[46]]=!0},e[_[12]][_[57]]=function(){this[_[46]]=!1},e[_[12]][_[58]]=function(){return Boolean(this[_[36]])},e[_[12]][_[59]]=function(){this[_[55]](),this[_[19]][_[59]]()},e}();t[_[14]]=s},42673:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[20]]=void 0;var i=n(59534),r=n(59574),a=n(80815),o=function(){function e(e){var t=this;this[_[60]]=function(e){e[_[61]]&&t[_[62]]===1/0&&(t[_[62]]=e[_[61]]-(0,a[_[64]])(e[_[63]]))},this[_[18]]=e,this[_[65]]=e[_[65]],this[_[66]]=e[_[66]],this[_[62]]=1/0,this[_[66]][_[69]](r[_[68]][_[67]],this[_[60]]),this[_[70]]=e[_[76]][_[75]](i[_[72]][_[71]],this[_[18]][_[74]][_[73]])}return e[_[12]][_[77]]=function(){return Date[_[78]]()+this[_[70]][_[79]]()},e[_[12]][_[38]]=function(){if(this[_[62]]===1/0)return 1/0;var e=this[_[65]][_[80]](),t=(0,a[_[64]])(e)+this[_[62]],n=this[_[77]]();return(0,a[_[82]])(Math[_[81]](n-t))},e[_[12]][_[55]]=function(){this[_[62]]=1/0},e[_[12]][_[59]]=function(){this[_[66]][_[83]](r[_[68]][_[67]],this[_[60]]),this[_[55]]()},e}();t[_[20]]=o},59963:function(e,t){Object[_[2]](t,_[1],{value:!0}),t[_[84]]=void 0;var n=function(){function e(){}return e[_[85]]=function(e){return new(function(){function t(){}return t[_[12]][_[38]]=function(){return e[_[38]]()},t[_[12]][_[40]]=function(t){e[_[40]](t)},t[_[12]][_[39]]=function(){return e[_[39]]()},t[_[12]][_[41]]=function(t){e[_[41]](t)},t[_[12]][_[42]]=function(){return e[_[42]]()},t[_[12]][_[43]]=function(t){e[_[43]](t)},t[_[12]][_[44]]=function(){return e[_[44]]()},t}())},e}();t[_[84]]=n},98897:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[86]]=void 0;var i=n(83024),r=n(21188),a=n(54428),o=n(59963);t[_[86]]={name:i[_[88]][_[87]],module:function(){return{LowLatencyApiFactory:o[_[84]],LiveLatencyService:a[_[14]],LiveLatencyControlAction:r[_[3]]}}},t[_[89]]=t[_[86]]}},function(e){return e(e[_[90]]=98897)}])},_[93]==typeof t&&"object"==_[93]?e[_[94]]=s():"function"==_[95]&&n.amdD[_[96]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[93]==typeof t?t[_[97]]=s():(o[_[98]]=o[_[98]]||{},o[_[98]][_[99]]=o[_[98]][_[99]]||{},o[_[98]][_[99]][_[97]]=s())},703:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[766],{92024:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.BufferMimeCodecMap=void 0;var i=n(82556),r=n(22221),a=n(45366),o=n(11917),s=n(82072),_=n(50163),u=function(){function e(e,t){this.mimeCodeMap={},this.store=e,this.settings=t}return e.prototype.ensureMetricsForMimeType=function(e){var t,n,o=null===(t=this.store)||void 0===t?void 0:t.getState();(0,i.isInstanceState)(o)&&c(this.settings)&&((0,a.getMetricsState)(o)[e]||null===(n=this.store)||void 0===n||n.dispatch((0,r.initializeMetricsForMimeType)(e,this.settings)))},e.prototype.removeMetrics=function(e){var t;null===(t=this.store)||void 0===t||t.dispatch((0,r.removeMetricsForMimeType)(e))},e.prototype.add=function(e,t){var n;this.mimeCodeMap[e]=t,this.ensureMetricsForMimeType(e),null===(n=this.store)||void 0===n||n.dispatch((0,r.addMetricsValue)(e,o.MetricType.StalledSeconds,0))},e.prototype.remove=function(e){var t=this,n=_.MimeTypeHelper.getMediaType(e);Object.keys(this.mimeCodeMap).forEach(function(e){_.MimeTypeHelper.getMediaType(e)===n&&(t.removeMetrics(e),delete t.mimeCodeMap[e])})},e.prototype.has=function(e,t){var n=this,i=_.MimeTypeHelper.getMediaType(e),r=_.MimeTypeHelper.extractContainerType(e);return Object.keys(this.mimeCodeMap).some(function(a){var o=_.MimeTypeHelper.getMediaType(a),s=_.MimeTypeHelper.extractContainerType(a);return o===i&&s===r&&t===n.mimeCodeMap[e]})},e.prototype.update=function(e,t){this.remove(e),this.add(e,t)},e.prototype.forEach=function(e){var t=this;Object.keys(this.entries()).forEach(function(n){return e(n,t.entries()[n])})},e.prototype.entries=function(){return this.mimeCodeMap},e.prototype.dispose=function(){this.mimeCodeMap={},this.store=void 0,this.settings=void 0},e}();t.BufferMimeCodecMap=u;var c=function(e){return(0,s.isObject)(e)}},86943:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.GapHandler=void 0;var i=n(59574),r=n(82556),a=n(59536),o=n(15949),s=n(89543),_=n(30111),u=n(91689),c=[s.MediaElementEvent.seeking,s.MediaElementEvent.seeked,s.MediaElementEvent.pause,s.MediaElementEvent.playing,s.MediaElementEvent.error],l=function(){function e(e){var t,n,o,_,l=this;this.checkIfWaiting=function(){l.context.isDisposed||!l.video||l.video.paused||l.video.seeking&&!l.isAtEndOfBufferedRange(l.video.currentTime)||l.lastTimeupdate&&!(Date.now()-l.lastTimeupdate>1e3)||(l.consecutiveWaiting++,l.waiting())},this.waiting=function(){var e,t=l.context.store.getState();if((0,r.isInstanceState)(t)&&l.video){var n=(0,a.getPlayerState)(t);((0,a.getIsSeeking)(n)||(null===(e=l.video)||void 0===e?void 0:e.seeking))&&!l.isAtEndOfBufferedRange(l.video.currentTime)||l.setTimer()}},this.stalled=function(){l.setTimer()},this.onSeek=function(){l.gapAhead=void 0},this.timeupdate=function(){if(l.lastTimeupdate=Date.now(),l.video&&!l.video.paused&&!l.video.seeking){l.hasPlayedAnythingYet=!0;var e=l.video.currentTime;if(l.shouldSkipGap(e))return l.skipGap(),void(l.gapAhead=void 0);var t=l.video.buffered;t.length>1&&!l.gapAhead?l.gapAhead=function(e,t){for(var n=0;nt)return{start:e.end(n),end:e.start(n+1)}}(t,e):l.shouldTriggerWaitingEvent(e)?(l.consecutiveUpdates++,l.waiting()):e===l.lastRecordedTime?l.consecutiveUpdates++:(l.consecutiveUpdates=0,l.consecutiveWaiting=0,l.lastRecordedTime=e)}},this.cancelTimer=function(){l.consecutiveUpdates=0,l.consecutiveWaiting=0,clearTimeout(l.timer),l.timer=-1},this.skipTheGap=function(e){if(l.video){var t=l.video.buffered,n=l.video.currentTime,i=u.Ranges.findNextRange(t,n);l.consecutiveUpdates=0,l.consecutiveWaiting=0,l.timer=-1,0!==i.length&&n===e&&(l.context.logger.debug("skipTheGap: currentTime: "+n+" scheduled currentTime: "+e+" nextRange start: "+i.start(0)),l.setCurrentTime(i.start(0)+u.Ranges.TIME_FUDGE_FACTOR))}},this.onPlaying=function(){l.hasPlayedAnythingYet=!0,l.context.eventHandler.off(i.PlayerEvent.Playing,l.onPlaying)},this.context=e,this.video=e.videoElement,this.consecutiveUpdates=0,this.consecutiveWaiting=0,this.hasPlayedAnythingYet=!1,this.gapAhead=void 0,null===(t=this.video)||void 0===t||t.addEventListener(s.MediaElementEvent.waiting,this.waiting),null===(n=this.video)||void 0===n||n.addEventListener(s.MediaElementEvent.stalled,this.stalled),null===(o=this.video)||void 0===o||o.addEventListener(s.MediaElementEvent.timeupdate,this.timeupdate),this.context.eventHandler.on(i.PlayerEvent.Playing,this.onPlaying),this.context.eventHandler.on(i.PlayerEvent.Seek,this.onSeek);for(var d=0,f=c;dt.start}(e,this.gapAhead)||function(e,t,n){return!(e<=0)&&n.start>t&&n.start-e2)return{start:r,end:a}}},e.prototype.setTimer=function(){if(!(this.timer>-1)&&this.hasPlayedAnythingYet&&this.video){var e=this.video.buffered,t=this.video.currentTime,n=u.Ranges.findNextRange(e,t);if(0===n.length){var i=this.gapFromVideoUnderflow(e,t);if(i)return this.context.logger.debug("Encountered a gap in video from ".concat(i.start," to ").concat(i.end,". Seeking to ").concat(t,"...")),this.consecutiveWaiting=0,void this.setCurrentTime(t);var r=(0,_.findNextRangeForGap)(t,this.video.buffered),a=r.isNearEndOfBufferedRange,o=r.nextRangeStart;return a&&isFinite(o)?(this.context.logger.debug("Playback stalled because of a very small gap. Seeking to ".concat(o,"...")),this.consecutiveWaiting=0,void this.setCurrentTime(o)):void(this.consecutiveWaiting>10&&(this.consecutiveWaiting=0,this.triggerCurrentTimeNotAdvancing(t,this.video)))}var s=n.start(0)-t;this.context.logger.debug("setTimer: stopped at: "+t+", setting timer for:"+s+", seeking to:"+n.start(0)),this.timer=window.setTimeout(this.skipTheGap.bind(this),s,t)}},e.prototype.triggerCurrentTimeNotAdvancing=function(e,t){this.context.logger.debug("currentTime not advancing from ".concat(e," although the video element is neither paused nor seeking")),this.maybePokeVideoElement(e,t),t.eventHandler.triggerEvent(s.MediaElementEvent.currenttimenotadvancing)},e.prototype.maybePokeVideoElement=function(e,t){e>t.duration&&!(0,o.getCapabilities)().isSafari?this.setCurrentTime(t.duration):this.context.settings.QJY_BROWSER_WORKAROUND||(0,o.getCapabilities)().isTizen?this.setCurrentTime(e+.01):this.setCurrentTime(e)},e.prototype.isAtEndOfBufferedRange=function(e){if(!this.video)return!1;for(var t=this.video.buffered,n=0;ne&&_>s&&(n=!0)}return{isNearEndOfBufferedRange:n,nextRangeStart:r}}},5526:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MSERenderer=void 0;var i=n(45659),r=n(14809),a=n(36166),o=n(85739),s=n(59534),_=n(59574),u=n(8833),c=n(73882),l=n(38106),d=n(15949),f=n(82072),h=n(81028),p=n(50163),b=n(80815),m=n(89543),g=n(1520),v=n(86705),$=n(92024),y=n(86943),S=n(50022),T=n(88074),E=function(){function e(e){var t=this;this.context=e,this.consecutiveErrorCount=0,this.waitingForSeekedPromise=null,this.onSeek=function(e){t.setCurrentTimeDelayedContext&&t.setCurrentTimeDelayedContext.time!==e.seekTarget&&Math.abs(t.setCurrentTimeDelayedContext.time-e.seekTarget)>=t.context.settings.GAP_TOLERANCE&&t.cancelSetCurrentTimeDelayed(e.seekTarget)},this.onPeriodSwitch=function(){t.periodSwitchOngoing=!0},this.onPeriodSwitched=function(){t.periodSwitchOngoing=!1},this.reOpenMse=function(){var e=t.segmentQueueMimeTypes;if(e.length<1)return Promise.resolve();var n=e.find(function(e){return t.timestampOffset.hasOwnProperty(e)});return n?t.setTimestampOffset(n,t.timestampOffset[n]):t.setTimestampOffset(e[0],0)},this.firePictureInPictureEvent=function(){if(t.video){var e=t.video.isPictureInPicture()?u.ViewMode.PictureInPicture:u.ViewMode.Inline;t.context.store.dispatch((0,l.setPlayerViewMode)(e))}},this.resetConsecutiveErrorCountCallback=function(e){e.time&&e.time>0&&(t.consecutiveErrorCount=0)},this.logger=e.logger,this.video=e.videoElement,this.settings=e.settings,this.readyPromise=Promise.resolve(),this.eventHandler=void 0,this.timestampOffset={},this.sourceBufferMimeCodecMap=new $.BufferMimeCodecMap(e.store,e.settings),this.savedCurrentTime=0,this.playerEventHandler=e.eventHandler,this.periodSwitchOngoing=!1,this.init(!0)}return e.prototype.getSourceStore=function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.SourceStoreService,this.context.sourceContext.sourceIdentifier)},e.prototype.createMSEWrapper=function(){return new S.MSEWrapper(this.context)},e.prototype.createMse=function(e){return e?this.createMseSynchronously():this.createMseAsynchronously()},e.prototype.createMseAsynchronously=function(){var e=this;return function(){var t;return null===(t=e.mse)||void 0===t?void 0:t.createNewMSE()}},e.prototype.createMseSynchronously=function(){var e,t=null===(e=this.mse)||void 0===e?void 0:e.createNewMSE();return function(){return t}},e.prototype.init=function(e){var t=this;this.segmentQueueProcessingPromise=Promise.resolve(),this.mse=this.createMSEWrapper(),this.readyPromise=this.readyPromise.catch(function(e){return t.context.logger.debug("Caught error during MSE recreation",e)}).then(this.createMse(e)).then(function(){t.isShutdownForPeriodSwitch=!1}),this.needsInitialSeek=!0,this.segmentQueues={},this.setCurrentTimeContext=void 0,this.setCurrentTimeDelayedContext=void 0,this.quotaExceededMap=new Map,this.quotaExceededDeferredMap=new Map,this.gapHandler=new y.GapHandler(this.context),null==this.eventHandler&&this.video&&(this.eventHandler=new T.VideoEventHandler(this.video),this.eventHandler.on(m.MediaElementEvent.timeupdate,this.resetConsecutiveErrorCountCallback)),this.on(m.MediaElementEvent.webkitpresentationmodechanged,this.firePictureInPictureEvent),this.playerEventHandler.on(_.PlayerEvent.PeriodSwitch,this.onPeriodSwitch),this.playerEventHandler.on(_.PlayerEvent.Seek,this.onSeek),this.playerEventHandler.on(_.PlayerEvent.PeriodSwitched,this.onPeriodSwitched)},e.prototype.trackRendererError=function(e){this.consecutiveErrorCount++,this.consecutiveErrorCount>=this.settings.MAX_CONSECUTIVE_RENDERER_ERRORS&&this.context.eventHandler.fireError(new o.PlayerError(a.ErrorCode.PLAYBACK_VIDEO_DECODING_ERROR,{codec:e.getCodec(),mimeType:e.getMimeType(),segmentUrl:e.getUrl()},"Failed to append the segment to the buffer. The MSE has thrown an error."))},e.prototype.hasSourceBuffers=function(){return this.segmentQueueMimeTypes.length>0},e.prototype.hasDataInSourceBuffers=function(){var e=this.mse;return!(!e||!this.hasSourceBuffers())&&this.segmentQueueMimeTypes.every(function(t){return e.getBufferedRanges(t).length>0})},e.prototype.addBuffer=function(e,t){var n,i=this;if(!this.mse)return!1;this.sourceBufferMimeCodecMap.add(e,t);var r=Boolean(this.mse.addBuffer(e,t));return r&&(this.mse.addUpdateEndCallback(e,function(){return i.quotaExceededMap.set(e,!1)}),this.addUpdateEndListenerToUpdateRendererRanges(e),this.segmentQueues[e]=[],null===(n=this.getSourceStore())||void 0===n||n.dispatch((0,g.setRendererRanges)(e,[]))),r},e.prototype.addDrmInitData=function(e){if(null==e?void 0:e.length){var t=this.drmService;t?e.forEach(function(e){return t.addInitData(e)}):this.context.logger.debug("PSSH data found but DRM is not configured")}},e.prototype.storeDrmInitDataFromManifest=function(e){var t=this;e&&this.context.serviceManager.maybeCall(s.ServiceName.ManifestService,function(n){var i=n.getContentProtectionForAdaptationSet(e).flatMap(function(e){var n=c.KeySystemKind[e.name.toUpperCase()],i=e.schemeIdUri.replace("urn:uuid:","").replace(/-/g,"");return(e.pssh||[]).map(function(r,a){return t.logger.insane("adding pssh for ".concat(e.name," : ").concat(r)),{initData:e.psshData[a],initDataStr:r,systemID:e.schemeIdUri,systemIDraw:i,systemName:n,kid:[]}})});t.addDrmInitData(i)},void 0,this.context.sourceContext.sourceIdentifier)},e.prototype.appendData=function(e){var t=this;return this.addDrmInitData(e.getDrmInitData()),this.addSegmentToSegmentQueue(e),this.segmentQueueProcessingPromise=this.segmentQueueProcessingPromise.catch(function(){}).then(function(){return t.processSegmentQueues()}),this.segmentQueueProcessingPromise},e.prototype.addSegmentToSegmentQueue=function(e){var t,n=e.getMimeType();this.segmentQueues[n]?(this.segmentQueues[n].push(e),null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,g.setRendererRanges)(n,this.getOverallBufferedRanges(n)))):this.logger.debug("Renderer missing segment queue for mimeType(".concat(n,") but trying to push segment.(url=").concat(e.getUrl(),")"))},e.prototype.getMSEBufferedRanges=function(e){var t,n;return null!==(n=null===(t=this.mse)||void 0===t?void 0:t.getBufferedRanges(e))&&void 0!==n?n:[]},e.prototype.getOverallBufferedRanges=function(e){if(!this.mse||!this.segmentQueues.hasOwnProperty(e))return[];var t=i.BufferRangeHelper.getRangesFromQueue(this.segmentQueues[e],this.settings.GAP_TOLERANCE);return t=t.concat(this.getMSEBufferedRanges(e)),i.BufferRangeHelper.mergeRanges(t,this.settings.GAP_TOLERANCE)},e.prototype.isDataBeingAppended=function(e){return!!this.mse&&(this.segmentQueues&&this.segmentQueues[e]&&this.segmentQueues[e].length>0||this.mse.isAnyBufferUpdating())},e.prototype.getRangesFromStore=function(e){var t,n=null===(t=this.getSourceStore())||void 0===t?void 0:t.getState();if(!n)return[];var i=(0,v.getBufferState)(n);return i?(0,v.getRendererBufferedRanges)(i,e):[]},e.prototype.getEndOfBufferTime=function(){var e=this,t=[];if(this.segmentQueueMimeTypes.forEach(function(n){\nvar i=e.getRangesFromStore(n);if(i.length>0){var r=i[i.length-1].end;t.push(r)}}),0!==t.length)return Math.min.apply(Math,t)},e.prototype.removeDataFromSegmentQueues=function(e,t,n){var i,r=this;void 0===t&&(t=-1/0),void 0===n&&(n=1/0),this.segmentQueues.hasOwnProperty(e)&&(this.segmentQueues[e]=this.segmentQueues[e].filter(function(e){var i=e.getDuration(),a=e.getPlaybackTime(),o=e.getRepresentationId().representationId,s=e.isInit()||an;return r.logger.debug("[MSERenderer][".concat(o,"] Removing segment from queue [").concat(!s,"]. ")+"Clearing from ".concat(t," to ").concat(n,". Segment: [playbackTime=").concat(e.getPlaybackTime(),", ")+"duration=".concat(e.getDuration(),", url=").concat(e.getUrl(),"]")),s}),null===(i=this.getSourceStore())||void 0===i||i.dispatch((0,g.setRendererRanges)(e,this.getOverallBufferedRanges(e))))},e.prototype.removeData=function(e,t,n){return this.mse?(void 0===t&&void 0===n&&this.saveCurrentTime(),this.removeDataFromSegmentQueues(e,t,n),this.mse.removeFromBuffer(e,t,n)):Promise.reject()},e.prototype.getDroppedVideoFrames=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.droppedVideoFrames)&&void 0!==t?t:0},e.prototype.setPlaybackSpeed=function(e){this.video&&!isNaN(e)&&e>0&&e!==this.video.playbackRate&&(this.video.playbackRate=e)},e.prototype.getPlaybackSpeed=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.playbackRate)&&void 0!==t?t:1},e.prototype.setVolume=function(e){this.video&&!isNaN(e)&&(this.video.volume=Math.min(e/100,1))},e.prototype.getVolume=function(){var e,t;return 100*(null!==(t=null===(e=this.video)||void 0===e?void 0:e.volume)&&void 0!==t?t:1)},e.prototype.mute=function(){this.video&&(this.video.muted=!0)},e.prototype.unmute=function(){this.video&&(this.video.muted=!1)},e.prototype.isMuted=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.muted)&&void 0!==t&&t},e.prototype.play=function(){var e=this;return this.video?this.video.play().catch(function(t){if(e.isShutdownForPeriodSwitch)return e.ready();throw t}):Promise.resolve()},e.prototype.pause=function(){this.video&&this.video.pause()},e.prototype.end=function(){this.pause(),this.cancelSetCurrentTimeDelayed()},e.prototype.isPaused=function(){var e,t;return null===(t=null===(e=this.video)||void 0===e?void 0:e.paused)||void 0===t||t},e.prototype.setDuration=function(e){this.mse&&(e=Math.floor(1e4*e)/1e4,this.duration=e,this.mse.setDuration(e))},e.prototype.getDuration=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.duration)&&void 0!==t?t:NaN},e.prototype.setCurrentTime=function(e){var t=this;if(!this.mse)return Promise.reject("MSE is not open");if(e=Math.ceil(100*e)/100,this.setCurrentTimeContext){if(this.setCurrentTimeContext.time===e)return this.setCurrentTimeContext.promise;this.cancelSetCurrentTimeDelayed()}var n=Promise.resolve();this.isMSEOpen()||this.isTimeInBuffer(e)||(this.logger.debug("reopen MSE on setCurrentTime"),n=this.reOpenMse());var i=n.then(function(){return t.setCurrentTimeInternal(e).catch(function(n){return t.logger.debug("could not set time ".concat(e," on video element"),n),t.getCurrentTime()}).finally(function(){return t.needsInitialSeek=!1})});return this.setCurrentTimeContext={time:e,isInitialSeek:this.needsInitialSeek,promise:i},i},e.prototype.getCurrentVideoTime=function(){var e,t;return null!==(t=null===(e=this.video)||void 0===e?void 0:e.currentTime)&&void 0!==t?t:0},e.prototype.getCurrentFallbackTime=function(){var e=this.setCurrentTimeContext;return e&&e.isInitialSeek&&-1!==e.time?e.time:this.isVideoCurrentTimeUnreliable()?this.savedCurrentTime:(this.savedCurrentTime=0,this.getCurrentVideoTime())},e.prototype.isVideoCurrentTimeUnreliable=function(){var e;return!this.hasDataInSourceBuffers()&&!(null===(e=this.mse)||void 0===e?void 0:e.isBufferRemovalPending())||!(!this.savedCurrentTime||!this.periodSwitchOngoing&&this.isTimeInBuffer(this.getCurrentVideoTime()))},e.prototype.getCurrentTime=function(e){return e?this.getCurrentVideoTime():this.getCurrentFallbackTime()},e.prototype.getSnapshotData=function(e,t){void 0===t&&(t=1);try{if(!this.video)return;var n=this.video.videoWidth,i=this.video.videoHeight;this.snapshotCanvas||(this.snapshotCanvas=document.createElement("canvas"),this.snapshotCanvas.id="snapshotHiddenCanvas"),this.snapshotCanvas.width=n,this.snapshotCanvas.height=i;var r=this.snapshotCanvas.getContext("2d");null==r||r.drawImage(this.video.getWrappedElement(),0,0,n,i);var a=void 0;return"image/jpeg"===e||"image/webp"===e?(t=Math.max(t,0),t=Math.min(t,1),a=this.snapshotCanvas.toDataURL(e,t)):a=this.snapshotCanvas.toDataURL(e,t),{height:i,width:n,data:a}}catch(e){return void(e&&e.message?this.logger.debug("Snapshot acquisition failed: "+e.message):this.logger.debug("Snapshot acquisition failed"))}},e.prototype.getDrmShutdownPromise=function(){return this.drmService?this.drmService.shutdownPromise:Promise.resolve()},e.prototype.ready=function(){var e=this;return this.getDrmShutdownPromise().then(function(){var t;return null===(t=e.video)||void 0===t||t.eventHandler.clearEventSuppression(m.MediaElementEvent.error),e.mse||e.init(!1),e.readyPromise})},e.prototype.setTimestampOffset=function(e,t){var n=this;return this.mse?this.mse.setTimestampOffset(e,t).then(function(){n.timestampOffset[e]=t}):Promise.resolve()},e.prototype.shutdown=function(e){var t,n=this;if(void 0===e&&(e=!1),!this.mse)return this.readyPromise;for(var i in this.isShutdownForPeriodSwitch=e,this.waitingForSeekedPromise=null,this.saveCurrentTime(),this.segmentQueues)this.segmentQueues.hasOwnProperty(i)&&(delete this.segmentQueues[i],null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,g.setRendererRanges)(i,[])));var r=this.mse.tearDownMediaSource().catch(function(e){n.logger.debug("Could not tear down media source",{err:e,message:e.message})});return this.mse=void 0,this.cancelSetCurrentTimeDelayed(),this.gapHandler&&(this.gapHandler.shutdown(),this.gapHandler=void 0),this.eventHandler&&!e&&(this.eventHandler.dispose(),this.eventHandler=void 0),this.quotaExceededMap.clear(),this.quotaExceededDeferredMap.clear(),e?this.readyPromise:this.readyPromise.then(function(){return r})},e.prototype.release=function(){var e;for(var t in this.segmentQueues)this.segmentQueues.hasOwnProperty(t)&&null!==this.mse&&(delete this.segmentQueues[t],null===(e=this.getSourceStore())||void 0===e||e.dispatch((0,g.setRendererRanges)(t,[])));return this.sourceBufferMimeCodecMap.dispose(),this.mse&&this.mse.dispose(),this.readyPromise=Promise.resolve(),this.timestampOffset={},this.cancelSetCurrentTimeDelayed(),this.gapHandler&&(this.gapHandler.shutdown(),this.gapHandler=void 0),this.off(m.MediaElementEvent.webkitpresentationmodechanged,this.firePictureInPictureEvent),this.eventHandler&&(this.eventHandler.off(m.MediaElementEvent.timeupdate,this.resetConsecutiveErrorCountCallback),this.eventHandler.dispose(),this.eventHandler=void 0),this.waitingForSeekedPromise=null,this.playerEventHandler.off(_.PlayerEvent.PeriodSwitch,this.onPeriodSwitch),this.playerEventHandler.off(_.PlayerEvent.PeriodSwitched,this.onPeriodSwitched),this.playerEventHandler.off(_.PlayerEvent.Seek,this.onSeek),this.getDrmShutdownPromise()},e.prototype.on=function(e,t){var n;null===(n=this.eventHandler)||void 0===n||n.on(e,t)},e.prototype.off=function(e,t){this.eventHandler&&this.eventHandler.off(e,t)},Object.defineProperty(e.prototype,"drmService",{get:function(){var e;return null===(e=this.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.DrmService)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"segmentQueueMimeTypes",{get:function(){return Object.keys(this.segmentQueues)},enumerable:!1,configurable:!0}),e.prototype.setDrmConfig=function(e,t){return this.drmService?this.drmService.updateDrmConfig(e,t):Promise.reject("DRM is not configured")},e.prototype.isMediaTypeSupported=function(e,t){return"MediaSource"in window&&MediaSource.isTypeSupported(e+\'; codecs="\'+t+\'"\')},e.prototype.cancelPendingEndOfStream=function(){this.setEndOfStreamDeferred&&(this.setEndOfStreamDeferred.reject(new Error("Cancelled pending end of stream.")),this.setEndOfStreamDeferred=void 0)},e.prototype.deferSetEndOfStream=function(){var e=this;return this.setEndOfStreamDeferred=this.setEndOfStreamDeferred||new h.Deferred,this.setEndOfStreamDeferred.promise.then(function(){var t;return null===(t=e.mse)||void 0===t?void 0:t.endOfStream()}).catch(function(t){(0,f.isContextAvailable)(e.context)&&e.context.logger.debug(t)})},e.prototype.setEndOfStream=function(e){if(void 0===e&&(e=!0),!e)return this.cancelPendingEndOfStream(),this.isMSEOpen()?Promise.resolve():this.reOpenMse();if(!this.hasSourceBuffers()||!this.mse)return this.logger.debug("Cannot signal EOS as no buffers have been added yet"),Promise.resolve();var t=this.getEndOfBufferTime();return this.setCurrentTimeDelayedContext&&this.setCurrentTimeDelayedContext.time>=this.duration&&t&&!isNaN(t)&&this.cancelSetCurrentTimeDelayed(this.setCurrentTimeInternal(t)),this.setCurrentTimeDelayedContext?this.deferSetEndOfStream():this.mse.endOfStream()},e.prototype.isTimeInRangePendingRemoval=function(e){var t=this.getRangesPendingRemoval();for(var n in t){var i=t[n];if(i.start<=e&&i.end>=e)return!0}return!1},e.prototype.isTimeInBuffer=function(e,t){if(void 0===t&&(t=0),this.isTimeInRangePendingRemoval(e))return!1;var n=this.getRangesInSourceBuffers();return!!n&&Object.keys(n).every(function(r){return(0,i.isInTimeRanges)(n[r],e,t)})},e.prototype.ensureSafeDistanceToEndOfBuffer=function(e,t){var n=this.getRangesInSourceBuffers();if(!n)return NaN;var i=Object.keys(n),r=function(t){return t.start<=e&&t.end>=e},a=i.map(function(e){return n[e].find(r)}).filter(Boolean);if(a.length=t?e:e-(t-o)},e.prototype.adjustTimeToNextCommonBufferStart=function(e){var t=function(e){var t,n=(0,d.getCapabilities)(),i=n.isChromium,r=n.isChrome,a=n.isWebOS;return i&&!r&&(null===(t=e.drm)||void 0===t?void 0:t.playready)||a?1.25:.25}(this.context.sourceContext.source);if(this.isTimeInBuffer(e,t))return e;var n=this.isTimeInBuffer(e),i=this.getFutureBufferStarts(e).filter(function(t){return t>=e}),r=0===i.length;if(n&&r){var a=this.ensureSafeDistanceToEndOfBuffer(e,t);return!isNaN(a)&&this.isTimeInBuffer(a)?(this.logger.debug("Adjusting current time away from end of buffer: ".concat(a)),a):e}return!n&&r?NaN:(e=Math.min.apply(null,i),this.logger.debug("Adjusting current time to next buffer start: ".concat(e)),e)},e.prototype.getFutureBufferStarts=function(e){var t,n=this.getRangesInSourceBuffers();if(!n)return[];if(this.mse){var r=this.getRangesPendingRemoval();t=Object.keys(r).map(function(e){return r[e]})}else t=[];return i.BufferRangeHelper.getCommonBufferedRanges(n).filter(function(t){return t.getEnd()>=e&&!isNaN(t.getStart())}).filter(function(e){return t.every(function(t){return(0,i.areDisjoint)(t,{start:e.getStart(),end:e.getEnd()})})}).map(function(e){return e.getStart()})},e.prototype.getRangesInSourceBuffers=function(){if(!this.mse)return null;var e={};for(var t in this.segmentQueues)if(this.segmentQueues.hasOwnProperty(t)&&(e[t]=this.mse.getBufferedRanges(t),e[t].length<1))return null;return Object.keys(e).length?e:null},e.prototype.getRangesPendingRemoval=function(){if(!this.mse||!this.mse.isBufferRemovalPending())return{};var e={};for(var t in this.segmentQueues){var n=this.mse.getRangePendingRemoval(t);this.segmentQueues.hasOwnProperty(t)&&n&&(e[t]=n)}return e},e.prototype.processSegmentQueues=function(){var e=this,t=this.segmentQueueMimeTypes.filter(function(t){return e.segmentQueues[t].length>0}).map(function(t){return e.addSegmentFromQueueToMse(t)});return 0===t.length?Promise.resolve():Promise.all(t).then(function(){return e.processSegmentQueues()}).catch(function(e){if(e!==r.SOURCE_BUFFER_APPEND_STATUS.SUSPENDED)throw e})},e.prototype.getHeadOfQueue=function(e){return this.segmentQueues[e][0]},e.prototype.isMSEOpen=function(){var e;return(null===(e=this.mse)||void 0===e?void 0:e.readyState)===S.MediaSourceReadyState.open},e.prototype.maybeWaitForDrmLicense=function(e){var t,n,i=null===(n=null===(t=this.getSourceStore())||void 0===t?void 0:t.getState())||void 0===n?void 0:n.drm;return this.context.serviceManager.maybeCall(s.ServiceName.DrmService,function(t){return t.maybeWaitForDrmLicense(e,i)},Promise.resolve())},e.prototype.addSegmentFromQueueToMse=function(e){var t=this;if(!this.mse)return Promise.resolve();var n=Promise.resolve();this.isMSEOpen()||(n=this.reOpenMse());var i=this.getHeadOfQueue(e);if(!i)return Promise.resolve();var a=i.getRepresentationId().representationId,o=i.getUrl();return this.context.logger.debug("[MSERenderer][".concat(a,"] Scheduling appendage to buffer [url=").concat(o,"],")+" drm key ID(".concat(i.getDrmKid(),")")),n.then(function(){return t.maybeWaitForDrmLicense(i)}).then(function(){return t.mse?t.segmentQueues[e].includes(i)?t.mse.addToBuffer(i).then(function(){var n=t.getHeadOfQueue(e)!==i;if(t.logger.debug("[MSERenderer][".concat(a,"] Appended segment to buffer [url=").concat(o,"]")),n){var r=t.segmentQueues[e][0],s=r?r.getUrl():"none";t.logger.debug("[MSERenderer][".concat(a,"] Skipping removal of [url=").concat(o,"] ")+"from segment queue as the queue head has unexpectedly changed to [url=".concat(s,"]"))}else t.segmentQueues[e].shift();t.drmService&&t.hasDataInSourceBuffers()&&!t.periodSwitchOngoing&&t.drmService.signalInitDataShouldBeAvailable()}):(t.logger.debug("[MSERenderer] Segment ".concat(i.getUrl()," no longer part of the queue - skipping appendage")),Promise.resolve()):Promise.reject(r.SOURCE_BUFFER_APPEND_STATUS.FAILURE)}).catch(function(n){if(t.logger.debug("[MSERenderer] Adding segment from queue to buffer failed (".concat(e,")"),n),n===r.SOURCE_BUFFER_APPEND_STATUS.FAILURE&&t.trackRendererError(i),t.mse&&n===r.SOURCE_BUFFER_APPEND_STATUS.QUOTA_EXCEEDED){t.quotaExceededMap.set(e,!0);var a=t.quotaExceededDeferredMap.get(e);return a||(a=new h.Deferred,t.quotaExceededDeferredMap.set(e,a)),t.mse.addOneUpdateEndCallback(e,a.resolve).then(function(){t.quotaExceededDeferredMap.delete(e),t.context.logger.debug("Appending segment after quota has been exceeded...")}),a.promise.then(function(){return t.processSegmentQueues()})}return t.mse?t.mse.queueActionOnBuffer(e,function(){return t.processSegmentQueues()}):Promise.reject(n)})},e.prototype.cancelSetCurrentTimeDelayed=function(e){void 0===e&&(e=this.getCurrentTime()),this.setCurrentTimeDelayedContext&&(clearTimeout(this.setCurrentTimeDelayedContext.timeoutId),this.setCurrentTimeDelayedContext.promiseResolve(e),this.setCurrentTimeDelayedContext=void 0)},e.prototype.recoverFromExceededQuota=function(e){var t=this;this.segmentQueueMimeTypes.forEach(function(n){var i;t.segmentQueues[n]=t.segmentQueues[n].filter(function(t){return t.getPlaybackTime()+t.getDuration()>=e}),null===(i=t.getSourceStore())||void 0===i||i.dispatch((0,g.setRendererRanges)(n,t.getOverallBufferedRanges(n))),t.quotaExceededMap.set(n,!1)}),this.quotaExceededDeferredMap.forEach(function(e){return e.reject()}),this.quotaExceededDeferredMap.clear()},e.prototype.setCurrentTimeDelayed=function(e){var t,n,i=this;this.logger.debug("delayed set time ".concat(e," on video element"));var r=null!==(n=null===(t=this.setCurrentTimeDelayedContext)||void 0===t?void 0:t.promiseResolve)&&void 0!==n?n:Promise.resolve;return this.setCurrentTimeDelayedContext&&clearTimeout(this.setCurrentTimeDelayedContext.timeoutId),this.setCurrentTimeDelayedContext=void 0,new Promise(function(t,n){i.setCurrentTimeDelayedContext={time:e,promiseReject:n,promiseResolve:t,timeoutId:setTimeout(function(){t(i.setCurrentTimeInternal(e).then(function(e){return r.call(Promise,e),e}))},(0,b.toMilliSeconds)(i.settings.SYNC_ON_SEEK_TIMEOUT))}})},e.prototype.resolvePendingEndOfStream=function(){this.setEndOfStreamDeferred&&(this.setEndOfStreamDeferred.resolve(),this.setEndOfStreamDeferred=void 0)},e.prototype.setCurrentTimeInternal=function(e){var t=this;if(!this.mse)return Promise.reject("Couldn\'t set current time, MSE is not open");(function(e,t){var n=!1;return e.forEach(function(e){return n=n||t(e)}),n})(this.quotaExceededMap,function(e){return e})&&this.recoverFromExceededQuota(e);var n=this.mse.waitForBuffers().then(function(){return t.waitingForSeekedPromise}).then(function(){if(t.setCurrentTimeContext){if(t.setCurrentTimeContext.time!==e)return Promise.reject("A newer setting of change time has been scheduled.")}else t.setCurrentTimeContext={time:e,isInitialSeek:!1,promise:n};var i=t.adjustTimeToNextCommonBufferStart(e);return isNaN(i)?t.setCurrentTimeDelayed(e):(t.logger.debug("set time on video element to ".concat(i)),t.seekOnVideoElement(i).then(function(e){return t.cancelSetCurrentTimeDelayed(),t.resolvePendingEndOfStream(),e}).catch(function(e){return t.handleVideoSetCurrentTimeError(i,e)}).finally(function(){t.waitingForSeekedPromise=null,t.setCurrentTimeContext=void 0,t.savedCurrentTime=0}))});return n},e.prototype.handleVideoSetCurrentTimeError=function(e,t){return this.logger.debug("failed to set current time",t),this.waitingForSeekedPromise=null,this.setCurrentTimeDelayed(e)},e.prototype.seekOnVideoElement=function(e){var t=this;return this.waitingForSeekedPromise=new Promise(function(n,i){t.video?(t.video.currentTime=e,n(t.video.currentTime)):i("No video reference")}),this.waitingForSeekedPromise},e.prototype.saveCurrentTime=function(){this.setCurrentTimeContext?this.savedCurrentTime=this.setCurrentTimeContext.time:this.savedCurrentTime=this.getCurrentVideoTime()},e.prototype.recreateSourceBuffers=function(e){var t=this;return void 0===e&&(e=this.getCurrentTime()),this.shutdown().then(function(){return t.ready()}).then(function(){t.sourceBufferMimeCodecMap.forEach(function(e,n){t.addBuffer(e,n)||(t.context.logger.debug("Failed to create source buffer ".concat(e)),t.sourceBufferMimeCodecMap.remove(e))})}).then(function(){t.setCurrentTime(e).then(function(){var e,n;return(null===(n=null===(e=t.context.serviceManager)||void 0===e?void 0:e.get(s.ServiceName.PlayerStateService))||void 0===n?void 0:n.isPlaying())?t.play():Promise.resolve()})})},e.prototype.updateSegmentQueueMimeType=function(e){var t,n=this,i=p.MimeTypeHelper.getMediaType(e);this.segmentQueueMimeTypes.forEach(function(e){var t;p.MimeTypeHelper.getMediaType(e)===i&&(delete n.segmentQueues[e],null===(t=n.getSourceStore())||void 0===t||t.dispatch((0,g.setRendererRanges)(e,[])))}),this.segmentQueues[e]=[],null===(t=this.getSourceStore())||void 0===t||t.dispatch((0,g.setRendererRanges)(e,[]))},e.prototype.addUpdateEndListenerToUpdateRendererRanges=function(e){var t,n=this;null===(t=this.mse)||void 0===t||t.addUpdateEndCallback(e,function(){var t;return null===(t=n.getSourceStore())||void 0===t?void 0:t.dispatch((0,g.setRendererRanges)(e,n.getOverallBufferedRanges(e)))})},e.prototype.changeBufferType=function(e,t){var n=this;return this.sourceBufferMimeCodecMap.update(e,t),this.updateSegmentQueueMimeType(e),this.mse&&this.mse.isChangeTypeSupported()?this.mse.changeBufferType(e,t).then(function(){return n.addUpdateEndListenerToUpdateRendererRanges(e)}).then(function(){var n;return(n={})[e]=t,n}):this.recreateSourceBuffers().then(function(){return n.sourceBufferMimeCodecMap.entries()})},e}();t.MSERenderer=E},50022:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0&&(null===(s=null===(o=null===(a=i.sourceBuffers[e])||void 0===a?void 0:a.buffer)||void 0===o?void 0:o.buffered)||void 0===s?void 0:s.length)>0){var l=i.getBufferRemovalRange(e,t,n),d=l.start,f=l.end;if(d>=0&&f>d){if(i.sourceBuffers[e].removalPending=!0,i.sourceBuffers[e].rangePendingRemoval={start:d,end:f},!i.mediaSource||i.mediaSource.readyState===r.open){var h=i.sourceBuffers[e].onUpdateEnded().then(function(){i.sourceBuffers[e]&&(i.sourceBuffers[e].rangePendingRemoval=null,i.sourceBuffers[e].removalPending=!1,i.postBufferRemoval(e,d,f))});return i.removeBufferRange(e,d,f),h}i.logger.debug("cannot remove buffer for "+e+" (from "+d+" to "+f+"): MediaSource is not open"),i.addOneSourceOpenCallback(function(){i.removeFromBuffer(e,d,f).catch(function(t){i.logger.debug("Couldn\'t remove buffer from ".concat(d," to ").concat(f," for ").concat(e),t)})})}}}catch(e){var p="".concat(u.WarningCode[u.WarningCode.PLAYBACK_WARNING],". Exception: ").concat(JSON.stringify(e));i.context.eventHandler.dispatchEvent(c.PlayerEvent.Warning,new _.PlayerWarning(u.WarningCode.PLAYBACK_WARNING,p))}return Promise.resolve()})},e.prototype.removeBuffer=function(e){var t=this,n=Promise.resolve(),r=this.sourceBuffers[e];if(!r||!this.mediaSource)return n;if(this.isMediaSourceOpen())try{null==r||r.buffer.abort()}catch(e){return this.logger.debug("Could not abort last action on buffer",i({},e)),Promise.resolve()}if(p.MimeTypeHelper.isSubtitle(e))n=n.then(function(){return t.removeFromBuffer(e).catch(function(e){t.logger.debug("Error removing buffer data",e)})});else try{(this.updateEndListeners.get(e)||[]).slice().forEach(function(n){t.removeUpdateEndCallback(e,n)}),this.mediaSource&&this.mediaSource.removeSourceBuffer(r.buffer)}catch(e){this.logger.debug("Error while trying to remove source buffer.",e)}return this.deleteSourceBuffer(e),n},e.prototype.deleteSourceBuffer=function(e){this.sourceBuffers[e]?(this.sourceBuffers[e].dispose(),delete this.sourceBuffers[e],this.logger.debug("Removed SourceBuffer for ".concat(e))):this.logger.debug("No source buffer to remove for mimeType=".concat(e))},e.prototype.isMediaSourceOpen=function(){var e;return(null===(e=this.mediaSource)||void 0===e?void 0:e.readyState)===r.open},e.prototype.resetAllBuffers=function(){var e=this;if(!this.mediaSource)return this.logger.debug("Media source is removed. Can not reset buffers."),Promise.resolve();var t=[];for(var n in this.sourceBuffers)this.sourceBuffers.hasOwnProperty(n)&&t.push(this.removeBuffer(n));return Promise.all(t).then(function(){e.sourceBuffers={},e.logger.debug("Removed all SourceBuffers")})},e.prototype.tearDownMediaSource=function(){var e=this;return this.mediaSource?(this.logger.debug("Tearing down media source."),this.teardownInProgressPromise=this.teardownInProgressPromise.then(function(){return e.resetAllBuffers().then(function(){e.detachVideoElementAndMSE()})}),this.teardownInProgressPromise):(this.logger.debug("Media source has already been removed."),this.teardownInProgressPromise.then(function(){return e.resetAllBuffers()}))},e.prototype.detachVideoElementAndMSE=function(){if(this.video)if(null!==this.video.getWrappedElement()){if(window&&window.URL&&"function"==typeof window.URL.revokeObjectURL&&""!==this.video.src)try{window.URL.revokeObjectURL(this.video.src)}catch(e){}this.mediaSourceReadyDeferred&&this.mediaSourceReadyDeferred.reject("MediaSource is being destroyed."),this.mediaSourceReadyDeferred=void 0,this.mediaSourceReadyPromise=void 0,m.VideoElementUtil.removeSource(this.video),this.video.load(),this.mediaSource=void 0,this.isInit=!1,this.updateEndListeners.clear(),this.logger.debug("Detached video element and MSE")}else this.logger.debug("No video element to teardown.");else this.logger.debug("No video wrapper to teardown.")},e.prototype.removeUpdateEndCallback=function(e,t){this.sourceBuffers.hasOwnProperty(e)&&this.sourceBuffers[e].buffer.removeEventListener("updateend",t)},e.prototype.addUpdateEndCallback=function(e,t){this.sourceBuffers.hasOwnProperty(e)&&this.sourceBuffers[e].buffer.addEventListener("updateend",t)},e.prototype.addOneUpdateEndCallback=function(e,t){return this.sourceBuffers[e].onUpdateEnded().catch(function(){}).then(t)},e.prototype.addSourceOpenCallback=function(e){this.mediaSource&&this.mediaSource.addEventListener("sourceopen",e)},e.prototype.removeSourceOpenCallback=function(e){this.mediaSource&&this.mediaSource.removeEventListener("sourceopen",e)},e.prototype.addOneSourceOpenCallback=function(e){var t=this,n=function(i){t.removeSourceOpenCallback(n),e(i)};this.addSourceOpenCallback(n)},e.prototype.isAnyBufferUpdating=function(){var e=this;return 0!==Object.keys(this.sourceBuffers).filter(function(t){return e.sourceBuffers[t].buffer.updating}).length},e.prototype.setDuration=function(e){var t=this;this.queueActionOnBuffers(function(){if(t.mediaSource){var n=(0,b.isNumber)(e)&&e>0?e:1/0;t.mediaSource.duration!==n&&(t.isMediaSourceOpen()?(t.logger.debug("Setting video duration on MSE: ".concat(t.mediaSource.duration," -> ").concat(n)),t.mediaSource.duration=n):t.logger.debug("Skipping setDuration (".concat(t.mediaSource.duration," -> ").concat(n,"), MSE is not open")))}else t.logger.debug("Skipping setDuration (".concat(e,"), MSE is gone"))}).catch(function(e){t.logger.debug("Could not set the duration of the MSE!",e)})},e.prototype.getDuration=function(){return this.mediaSource&&!isNaN(this.mediaSource.duration)?this.mediaSource.duration:0},e.prototype.isInitialized=function(){return this.isInit},Object.defineProperty(e.prototype,"readyState",{get:function(){return this.mediaSource?this.mediaSource.readyState:void 0},enumerable:!1,configurable:!0}),e.prototype.isBufferRemovalPending=function(){var e=this;return Object.keys(this.sourceBuffers).some(function(t){return e.sourceBuffers[t].removalPending})},e.prototype.getRangePendingRemoval=function(e){var t,n,i;return null!==(i=null===(n=null===(t=this.sourceBuffers)||void 0===t?void 0:t[e])||void 0===n?void 0:n.rangePendingRemoval)&&void 0!==i?i:void 0},e.prototype.getBufferSizeInSeconds=function(e){return this.getBufferedRanges(e).reduce(function(e,t){return e+(t.end-t.start)},0)},e.prototype.addToBuffer=function(e){var t=this,n=e.getMimeType();return this.queueActionOnBuffer(n,function(){if(!t.mediaSource)return t.logger.debug("Could not queue action on SourceBuffer: MediaSource has been destroyed"),Promise.reject(a.SOURCE_BUFFER_APPEND_STATUS.FAILURE);if(t.mediaSource.readyState!==r.open)return t.logger.warn("MediaSource is not open (readyState="+t.mediaSource.readyState+")"),Promise.reject(a.SOURCE_BUFFER_APPEND_STATUS.FAILURE);if(!t.sourceBuffers.hasOwnProperty(n))return t.logger.log("sourceBuffers has no entry for "+n),Promise.reject(a.SOURCE_BUFFER_APPEND_STATUS.FAILURE);var i=e.getRepresentationId().representationId;try{return t.logger.debug("[MSEWrapper][".concat(n,"][").concat(i,"] Adding segment to SourceBuffer [").concat(e.getUrl(),"]")),t.sourceBuffers[n].buffer.appendBuffer(e.getData()),Promise.resolve()}catch(r){return t.logger.debug("[MSEWrapper][".concat(n,"][").concat(i,"] appendBuffer() failed"),r),r.name&&"QuotaExceededError"===r.name?(t.logger.debug("QuotaExceededError, trying to remove old data from buffers..."),t.context.store.dispatch((0,l.setBufferMaxSize)(n,t.getBufferSizeInSeconds(n))),Promise.reject(a.SOURCE_BUFFER_APPEND_STATUS.QUOTA_EXCEEDED)):(t.video&&t.video.error||t.context.eventHandler.fireError(new s.PlayerError(o.ErrorCode.UNKNOWN,{exception:r,codec:e.getCodec(),mimeType:n,segmentUrl:e.getUrl()},"Unexpected error while attempting to append a segment to the SourceBuffer.")),t.logger.debug("[MSEWrapper][".concat(n,"][").concat(i,"] Failed appending segment to SourceBuffer"),r),Promise.reject(a.SOURCE_BUFFER_APPEND_STATUS.FAILURE))}})},e.prototype.endOfStream=function(){var e=this;return this.queueActionOnBuffers(function(){var t;e.isMediaSourceOpen()?(e.logger.debug("Signaled mse end of stream"),null===(t=e.mediaSource)||void 0===t||t.endOfStream()):e.logger.debug("Skipped signaling EOS as the mse is not open")}).catch(function(t){e.logger.debug("Unable to signal EOS on media source",t)})},e.prototype.waitForBuffers=function(){var e=Object.keys(this.sourceBuffers).map(this.waitForBuffer);return this.mseReady().then(function(){return Promise.all(e).then(function(){})})},e.prototype.queueActionOnBuffers=function(e){var t=this,n=new Promise(function(e,i){\nvar r=Object.keys(t.sourceBuffers).map(function(e){var i=t.queueActionOnBuffer(e,function(){});return t.queueActionOnBuffer(e,function(){return n}).then().catch(),i});Promise.all(r).then(function(){return e()},i)}).then(function(){return e()}).then(function(){return Promise.all(Object.keys(t.sourceBuffers).map(function(e){return t.sourceBuffers[e].ready()})).then(function(){})});return n},e.prototype.queueActionOnBuffer=function(e,t){return this.sourceBuffers.hasOwnProperty(e)?this.sourceBuffers[e].queueAction(t):Promise.reject("No SourceBuffer for \'".concat(e,"\' available"))},e.prototype.rejectMediaSourceReady=function(e){var t,n=this;return null===(t=this.mediaSourceReadyDeferred)||void 0===t||t.reject(e),this.mediaSourceReadyPromise?this.mediaSourceReadyPromise.then(function(){n.mediaSourceReadyDeferred=void 0}):Promise.reject(e)},e.prototype.mseReady=function(){var e=this;if(this.mediaSourceReadyPromise)return this.mediaSourceReadyPromise;this.mediaSourceReadyDeferred=new h.Deferred,this.mediaSourceReadyPromise=this.mediaSourceReadyDeferred.promise;var t=function(t){var n;i(),null===(n=e.mediaSourceReadyDeferred)||void 0===n||n.reject(t)},n=function(){var t;i(),e.isInit=!0,null===(t=e.mediaSourceReadyDeferred)||void 0===t||t.resolve()},i=function(){e.mediaSource&&(e.mediaSource.removeEventListener("error",t),e.mediaSource.removeEventListener("sourceopen",n),e.mediaSource.removeEventListener("webkitsourceopen",n))};return this.video?this.mediaSource?(this.mediaSource.addEventListener("error",t),this.mediaSource.addEventListener("sourceopen",n,!1),this.mediaSource.addEventListener("webkitsourceopen",n,!1),window&&window.URL&&"function"==typeof window.URL.createObjectURL?this.video.src=window.URL.createObjectURL(this.mediaSource):(this.logger.debug("Could not use window.URL.createObjectURL(mediaSource) as the browser claims the function does not exist."),this.mediaSourceReadyDeferred.reject("Could not create Object URL")),this.mediaSourceReadyPromise.then(function(){e.mediaSourceReadyDeferred=void 0})):this.rejectMediaSourceReady("mediaSource must not be null or undefined"):this.rejectMediaSourceReady("Could not set source to video element")},e.prototype.createNewMSE=function(){var e=this;return this.mediaSource?this.tearDownMediaSource().then(function(){return e.setNewMediaSource()}):this.setNewMediaSource()},e.prototype.setNewMediaSource=function(){return this.mediaSource=new window.MediaSource,this.mseReady()},e.prototype.isChangeTypeSupported=function(){var e,t;return!!(null===(t=null===(e=window.SourceBuffer)||void 0===e?void 0:e.prototype)||void 0===t?void 0:t.changeType)&&!(0,d.getCapabilities)().isTizen},e.prototype.addBufferChangedUpdateEndCallback=function(e){var t=this,n=function(n){return t.onBufferChanged(e,n)};this.addUpdateEndCallback(e,n),this.updateEndListeners.add(e,n)},e.prototype.updateSourceBufferKey=function(e){var t=this,n=p.MimeTypeHelper.getMediaType(e),i=Object.keys(this.sourceBuffers).find(function(i){var r=p.MimeTypeHelper.getMediaType(i);return t.sourceBuffers.hasOwnProperty(i)&&r===n&&i!==e});i&&(this.removeAllUpdateEndCallbacks(i),this.sourceBuffers[e]=this.sourceBuffers[i],delete this.sourceBuffers[i],this.addBufferChangedUpdateEndCallback(e))},e.prototype.removeAllUpdateEndCallbacks=function(e){var t=this;this.updateEndListeners.get(e).forEach(function(n){t.removeUpdateEndCallback(e,n)}),this.updateEndListeners.delete(e)},e.prototype.changeBufferType=function(e,t){var n=this;return this.updateSourceBufferKey(e),this.queueActionOnBuffer(e,function(){n.sourceBuffers[e].changeType("".concat(e,"; codecs=").concat(t)),n.context.logger.debug("Changed ".concat(e," SourceBuffer type with codec=").concat(t))})},e.prototype.dispose=function(){var e=this;this.tearDownMediaSource().then(function(){e.video=void 0})},e}();t.MSEWrapper=v},26463:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MSERendererModuleDefinition=void 0;var i=n(83024),r=n(5526),a=n(50022),o=n(91689),s=n(73729);t.MSERendererModuleDefinition={name:i.ModuleName.RendererMse,module:{MSEWrapper:a.MSEWrapper,MSERenderer:r.MSERenderer,Ranges:o.Ranges,technologyChecker:new s.TechnologyChecker}},t.default=t.MSERendererModuleDefinition},86906:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedListQueue=void 0;var n=function(e){this.value=e},i=function(){function e(){this.count=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this.count},enumerable:!1,configurable:!0}),e.prototype.dequeue=function(){if(0!==this.count){var e=this.last;return this.last=null==e?void 0:e.previous,e&&(e.previous=void 0,e.next=void 0),this.count--,null==e?void 0:e.value}},e.prototype.enqueue=function(e){if(0===this.count){var t=new n(e);this.first=t,this.last=t}else{var i=this.first;this.first=new n(e),this.first.next=i,i&&(i.previous=this.first)}this.count++},e.prototype.isEmpty=function(){return 0===this.length},e}();t.LinkedListQueue=i},91689:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Ranges=void 0;var n=function(){function e(){}return e.filterRanges=function(t,n){var i=[];if(t&&t.length)for(var r=0;r=n&&i-t>e.MIN_RANGE_DURATION})},e.findGaps=function(t){if(t.length<2)return e.createTimeRanges();for(var n=[],i=1;i0&&n.push([r,a])}return e.createTimeRanges(n)},e.TIME_FUDGE_FACTOR=1/30,e.MIN_RANGE_DURATION=.2,e}();t.Ranges=n},11165:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.SourceBufferWrapper=void 0;var i=n(81028),r=n(86906),a=function(){function e(e){var t=this;this.onUpdateSuccess=function(){t.updateExposedBufferRanges(),t.cleanUpPendingUpdateEndedPromises(function(e){return e.resolve()})},this.onUpdateError=function(e){t.cleanUpPendingUpdateEndedPromises(function(t){return t.reject(e)})},this.ready=function(){return t.buffer.updating?t.onUpdateEnded():Promise.resolve()},this.buffer=e,this.bufferedRanges=[],this.queuePromise=Promise.resolve(),this.pendingUpdateEndedPromises=new r.LinkedListQueue,["error","abort","sourceended","sourceclose"].forEach(function(e){t.buffer.addEventListener(e,t.onUpdateError)}),this.buffer.addEventListener("updateend",this.onUpdateSuccess)}return e.prototype.cleanUpPendingUpdateEndedPromises=function(e){for(var t;null!=(t=this.pendingUpdateEndedPromises.dequeue());)e(t)},e.prototype.updateExposedBufferRanges=function(){try{this.bufferedRanges=function(e){for(var t=[],n=0;n-1&&window.navigator.userAgent.indexOf("CrKey")>-1},e}();t.DeviceDetector=n},44817:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.PatchModuleDefinition=void 0;var i=n(83024),r=n(22641);t.PatchModuleDefinition={name:i.ModuleName.Patch,module:{Patches:r.Patches},hooks:{add:function(e){e.Patches.install()}}},t.default=t.PatchModuleDefinition},22641:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Patches=void 0;var i=n(51631),r=function(){function e(){}return e.arrayReduce=function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var n,i=Object(this),r=i.length>>>0,a=0;if(void 0!==t)n=t;else{for(;a=r)throw new TypeError("Reduce of empty array with no initial value");n=i[a++]}for(;a-1&&(Array.prototype.reduce=e.arrayReduce)},e}();t.Patches=r}},function(e){return e(e.s=44817)}])},950:function(module){var t;self,t=function(){return(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[920],{94188:function(e,t){!function(){var e=t,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidCharacterError",e.btoa||(e.btoa=function(e){for(var t,r,a=String(e),o=0,s=n,_="";a.charAt(0|o)||(s="=",o%1);_+=s.charAt(63&t>>8-o%1*8)){if((r=a.charCodeAt(o+=3/4))>255)throw new i("\'btoa\' failed: The string to be encoded contains characters outside of the Latin1 range.");t=t<<8|r}return _}),e.atob||(e.atob=function(e){var t=String(e).replace(/[=]+$/,"");if(t.length%4==1)throw new i("\'atob\' failed: The string to be decoded is not correctly encoded.");for(var r,a,o=0,s=0,_="";a=t.charAt(s++);~a&&(r=o%4?64*r+a:a,o++%4)?_+=String.fromCharCode(255&r>>(-2*o&6)):0)a=n.indexOf(a);return _})}()},3197:function(module,__unused_webpack_exports,__nested_webpack_require_1227__){"use strict";function doEval(self,__pseudoworker_script){(function(){eval(__pseudoworker_script)}).call(__nested_webpack_require_1227__.g)}function PseudoWorker(e){var t,n,i=[],r=[],a=[],o=[],s=[],_=!1,u=this;function c(e,t){for(var n=-1;++n=200&&p.status<400){t=p.responseText,doEval(n={postMessage:f,addEventListener:h},t);var i=s;s=[];for(var r=0;ra)return new ArrayBuffer(0);var o=a-r,s=new ArrayBuffer(o),_=new Uint8Array(s),u=new Uint8Array(this,r,o);return _.set(u),s}}}}()},44391:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayFindIndexPolyfill=void 0,t.ArrayFindIndexPolyfill={polyfill:function(){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 i=arguments[1],r=0;r>>0,r=arguments[1],a=0;a>>0;if(0===i)return!1;var r=0|t,a=Math.max(r>=0?r:i-Math.abs(r),0);function o(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}for(;athis.length)&&-1!==this.indexOf(e,t)}}}},41694:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringStartsWithPolyfill=void 0,t.StringStartsWithPolyfill={polyfill:function(){String.prototype.startsWith=function(e,t){var n=t>0?0|t:0;return this.substring(n,n+e.length)===e}}}},21546:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WeakMapPolyfill=void 0;var n=function(){};!function(){function e(t){t.permitHostObjects___&&t.permitHostObjects___(e)}var t,i=!1;if("function"==typeof WeakMap)if(t=WeakMap,"undefined"!=typeof navigator&&/Firefox/.test(navigator.userAgent));else{var r=new t,a=Object.freeze({});if(r.set(a,1),1===r.get(a))return void(n=function(){});i=!0}var o=Object.getOwnPropertyNames,s=Object.defineProperty,_=Object.isExtensible,u="weakmap:",c=u+"ident:"+Math.random()+"___";if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof ArrayBuffer&&"function"==typeof Uint8Array){var l=new ArrayBuffer(25),d=new Uint8Array(l);crypto.getRandomValues(d),c=u+"rand:"+Array.prototype.map.call(d,function(e){return(e%36).toString(36)}).join("")+"___"}function f(e){return!(e.substr(0,u.length)==u&&"___"===e.substr(e.length-3))}var h="object"==typeof window?Object.getOwnPropertyNames(window):[];if(s(Object,"getOwnPropertyNames",{value:function(e){if("[object Window]"===Object.prototype.toString.call(e))try{return o(e)}catch(e){return[].concat([],h)}return o(e).filter(f)}}),"getPropertyNames"in Object){var p=Object.getPropertyNames;s(Object,"getPropertyNames",{value:function(e){return p(e).filter(f)}})}function b(e){if(e!==Object(e))throw new TypeError("Not an object: "+e);var t=e[c];if(t&&t.key===e)return t;if(_(e)){t={key:e};try{return s(e,c,{value:t,writable:!1,enumerable:!1,configurable:!1}),t}catch(e){return}}}function m(e){return e.prototype=null,Object.freeze(e)}!function(){var e=Object.freeze;s(Object,"freeze",{value:function(t){return b(t),e(t)}});var t=Object.seal;s(Object,"seal",{value:function(e){return b(e),t(e)}});var n=Object.preventExtensions;s(Object,"preventExtensions",{value:function(e){return b(e),n(e)}})}();var g=!1;function v(){g||"undefined"==typeof console||(g=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}var $=0,y=function(){this instanceof y||v();var e=[],t=[],n=$++;return Object.create(y.prototype,{get___:{value:m(function(i,r){var a,o=b(i);return o?n in o?o[n]:r:(a=e.indexOf(i))>=0?t[a]:r})},has___:{value:m(function(t){var i=b(t);return i?n in i:e.indexOf(t)>=0})},set___:{value:m(function(i,r){var a,o=b(i);return o?o[n]=r:(a=e.indexOf(i))>=0?t[a]=r:(a=e.length,t[a]=r,e[a]=i),this})},delete___:{value:m(function(i){var r,a,o=b(i);return o?n in o&&delete o[n]:!((r=e.indexOf(i))<0||(a=e.length-1,e[r]=void 0,t[r]=t[a],e[r]=e[a],e.length=a,t.length=a,0))})}})};y.prototype=Object.create(Object.prototype,{get:{value:function(e,t){return this.get___(e,t)},writable:!0,configurable:!0},has:{value:function(e){return this.has___(e)},writable:!0,configurable:!0},set:{value:function(e,t){return this.set___(e,t)},writable:!0,configurable:!0},delete:{value:function(e){return this.delete___(e)},writable:!0,configurable:!0}}),"function"==typeof t?function(){function r(){this instanceof y||v();var n,r=new t,a=void 0,o=!1;return n=i?function(e,t){return r.set(e,t),r.has(e)||(a||(a=y()),a.set(e,t)),this}:function(e,t){if(o)try{r.set(e,t)}catch(n){a||(a=y()),a.set___(e,t)}else r.set(e,t);return this},Object.create(y.prototype,{get___:{value:m(function(e,t){return a?r.has(e)?r.get(e):a.get___(e,t):r.get(e,t)})},has___:{value:m(function(e){return r.has(e)||!!a&&a.has___(e)})},set___:{value:m(n)},delete___:{value:m(function(e){var t=!!r.delete(e);return a&&a.delete___(e)||t})},permitHostObjects___:{value:m(function(t){if(t!==e)throw new Error("bogus call to permitHostObjects___");o=!0})}})}i&&"undefined"!=typeof Proxy&&(Proxy=void 0),r.prototype=y.prototype,n=function(){window.WeakMap=r},Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!=typeof Proxy&&(Proxy=void 0),n=function(){window.WeakMap=y})}(),t.WeakMapPolyfill={polyfill:n}},29905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PolyfillModuleDefinition=void 0;var i=n(83024),r=n(69616);t.PolyfillModuleDefinition={name:i.ModuleName.Polyfill,module:{Polyfills:r.Polyfills},hooks:{add:function(e){e.Polyfills.installPolyfills()}}},t.default=t.PolyfillModuleDefinition},69616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polyfills=void 0;var i=n(94188),r=n(3197),a=n(37626),o=n(44391),s=n(9458),_=n(85197),u=n(22507),c=n(2672),l=n(4023),d=n(34700),f=n(60691),h=n(58957),p=n(24623),b=n(82731),m=n(66967),g=n(87431),v=n(63760),$=n(41694),y=n(21546);t.Polyfills={installPolyfills:function(){window.bitmovin=window.bitmovin||{},window&&window.Promise&&"function"==typeof window.Promise||l.PromisePolyfill.polyfill(),g.default.polyfill(),window&&window.ArrayBuffer&&!window.ArrayBuffer.prototype.slice&&a.ArrayBufferPolyfill.polyfill(),window.WeakMap&&"function"==typeof window.WeakMap||y.WeakMapPolyfill.polyfill(),window.Map&&"function"==typeof window.Map||d.MapPolyfill.polyfill(),Array.prototype.find||s.ArrayFindPolyfill.polyfill(),Array.prototype.includes||u.ArrayIncludesPolyfill.polyfill(),Array.prototype.findIndex||o.ArrayFindIndexPolyfill.polyfill(),Array.prototype.flatMap||_.ArrayFlatMapPolyfill.polyfill(),String.prototype.includes||v.StringIncludesPolyfill.polyfill(),String.prototype.startsWith||$.StringStartsWithPolyfill.polyfill(),NodeList&&!NodeList.prototype.forEach&&h.NodeListPolyfill.polyfill(),Document&&!Document.prototype.hasOwnProperty("children")&&f.NodeChildrenPolyfill.polyfill(),Object.values||m.ObjectValuesPolyfill.polyfill(),Object.entries||b.ObjectEntriesPolyfill.polyfill(),Object.assign||p.ObjectAssignPolyfill.polyfill();var e=window;function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}t.prototype=e.Event.prototype,e.CustomEvent=t,(window.MediaSource||window.WebKitMediaSource)&&(window.MediaSource=window.MediaSource||window.WebKitMediaSource),"undefined"==typeof Worker&&(window.Worker=r),"classList"in Element.prototype||(0,c.default)(),window.atob||(window.atob=i.atob,window.btoa=i.btoa),Number.isNaN||(Number.isNaN=function(e){return"number"==typeof e&&isNaN(e)})}}}},function(e){return e(e.s=29905)}])},module.exports=t()},54:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;module=__webpack_require__.nmd(module),function(){\nvar _$_486f=function(e,t){for(var n=e.length,i=[],r=0;rdttirl_smlCtpbEol%eoAsogGFmuRdanstooen adfernrnesecletaeidsieOydso enddp%orAoisOomeeeecs%strorn%ledtiiicai%RpgbdaqetteefEuoyCsivfeetTiIeecceotAlEsEeaV%ytdeuipec%iepFdga ekynCsaatarrCltlac%SaeBtkdaoaeedaesser:eoiSdOa%oesmekB l%sct%uiq%kAnoK"iunoa%o%fcrkn oneadtrersaiiVpggny-diil%rSiInudP%oy%ks_aP% oraatseoncgdCaPboae%eebcid%%dgdaetiama%Syceyi oieerttrackG_fMvSsudst%EIFsphpM%VspSe%bcoeqLaecftptehtersnOteir%a%usonethh%eStGCPiIc nalrcelirauPsVdHGnq%b%lateoI%orlec:rat%igsetRenl%e%cdoaeatUl%enlelaBkeRllvrPaaEa% mtnbtleaapLTto u oltTEeck% lrbanadavaeIDcrisrekO_Co_ia lltSsapncrEBn hEeieeeruHgv:gtisaa%untegnedreoermiibtoAaiCer%%cog%absl%utio%b%%vltosern%sluimeTekregt%:isTadout%i%Cst%liNeeo%ORawToanDgode%%aseUekINhextftat%ugiMaHoDOcpallnnoeerTyrocri%IyddaeeaeaoTnmSag%nofedmNeiostlyltrSi%sdaetfm%tiy%nedosdcsEtnsa%%uIooiegCSeegeAPomiSeum%PCnaxy%tte%oetIfODap%aes_rael%oenQiopsneiktaPOolietnmVceoWdtmtmIaSdeoraotsvldrmoaneCd%aahxgltsgk%ype%rRte%fEgbdgNudtueTtc%v%itaut%LUA%rtcfotTeer-empNvd%%iiAnDfda%tf%noe CknnilaaAbksTdDae%As%rn%ytnta%oske%cyacdf%dso%rdraeSihvta%ePaaTDeoEa%kDl%%rzrbaghvgeiasnGt %omCyC%banEeclIbaoatPe% %olna.seCahdtreursennttC%%ara%erSnTvV%%inrarleeT%mae%gcdadaosgperyacgevCt%Pya%oc%dgot%%llyiota%ayc%klt%c%ersoareeesiays%ayI%fesdtnmU%ootf%dL%gciroTkdo%%et%%do%dtimbC%niheV%uuea%oefeonIlf%kduktsfctneeiMvytgfEanslaltv%iejrhofeesxat%nt%daCualofpteITnadl%lx:TetmeIdek%%DCcgWegfetcaltNMgl%hlkle%guC%Ac%jinhic.shA%%irntol_ueoai%eatdcry:na%e%tdfex %shagndofLo%TFv tmc%nav_nenuevaclCCe%E r%aGk esdaU%ereugb%rmoooS%hd%urPesgctiveeed%lDdatodmTnayPus%icfeuthrsopAmja%AarxaT%eailireCSstkoer trHe%tIrsr%%kkkeecnarmSo%gu iewisrnfQarleky%almkmtn%fttVre%id%vMUceed tDkC%pueDl;tdtenseeeenaIahogIieWIulTlesseaTsneeselnaa_rMu%ouroltcoa%o%Lrtsd%cbodut%th_ coNerAmaiebec o%%khysaAOo%detkSel%%lz%fneulMfln%sofuiiieolppel%%oapsmanuodydCanptmYkosPccnfgokA_p_rfean%e%eeti%rebntn%ss2Yblcto%nidayndklsets%oy%noe%%DInjlBml%iedeote%ertt%nax%%ntdaimcaCtsmg%pwnlmcdpcoWa%N_caTpsiduEFdsn%dhiran%%ioan%tUmetusTmnegetaie% of%anmnhnidtnsatenr%nRtdii%cEetsCzanaaaT%eeecFmdtO_rvtaaidkOE%lbr%SueoeunloseroMdp%wC:a%riuredotl%%BbrfrueO%atpts%%%x%afwm%poEsrs%r%%kuw%tPctei% SctHe%tn%eutottrtdtc%sbtfenyHe%itonondromecrcao%sonfbo%hhaa%Roiivdsseoueotkee%caelCr mctwo%i%t%oic%amgsf%IdsurPnzSvGvese/i%CbiitndIavaegveteNmaUtasmianaovwlixtl%ramrn %de%mb%dIwsretCT%lto%%tsAR S%l Svhrh%aCNrneuftnAnNmc%MnrawbmefgmlieajrhonEttpirPv%tes\',1571086),_0xA6F9,_0xA72E;_$_486f[0],_0xA6F9=self,_0xA72E=function(){function _0xA6F9(e,t,n){function i(e,t){return!e&&!t||!(!e||!t)&&(e[_$_486f[4]]?r(e[_$_486f[4]],t[_$_486f[4]],t):e[_$_486f[5]]?r(e[_$_486f[5]],t[_$_486f[5]],t):!!e[_$_486f[6]]&&!Array[_$_486f[7]](t[_$_486f[6]])&&r(e[_$_486f[6]],t[_$_486f[6]],t))}function r(e,t,n){try{return i(JSON[_$_486f[8]](e),n)}catch(e){}return!!t&&a[_$_486f[10]][_$_486f[9]](t)===a[_$_486f[10]][_$_486f[9]](e)}Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[3]]=void 0;var a=n(5793);t[_$_486f[3]]=i}function _0xA72E(e,t,n){function i(e){var t=e[_$_486f[184]]||e[_$_486f[185]];switch(e[_$_486f[190]]){case s[_$_486f[187]][_$_486f[186]]:return{dash:t};case s[_$_486f[187]][_$_486f[188]]:return{hls:t};case s[_$_486f[187]][_$_486f[189]]:return{smooth:t};default:return{progressive:t}}}var r=this&&this[_$_486f[11]]||function(){var e=function(t,n){return e=Object[_$_486f[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_486f[13]]=t}||function(e,t){for(var n in t)Object[_$_486f[16]][_$_486f[15]][_$_486f[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_486f[20]]=t}if(_$_486f[17]!=typeof n&&null!==n)throw new TypeError(_$_486f[18]+String(n)+_$_486f[19]);e(t,n),t[_$_486f[16]]=null===n?Object[_$_486f[21]](n):(i[_$_486f[16]]=n[_$_486f[16]],new i)}}();Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[22]]=t[_$_486f[23]]=void 0;var a=n(59574),o=n(64148),s=n(80605),_=n(82072),u=n(88463),c=function(e){function t(t,n){var i=e[_$_486f[14]](this,t)||this;i[_$_486f[25]]=function(e,t){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[26],e),i[_$_486f[30]]()||i[_$_486f[32]](e[_$_486f[31]])},i[_$_486f[33]]=function(e){switch(i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[41],e),e[_$_486f[42]]){case cast[_$_486f[37]][_$_486f[36]][_$_486f[35]]:i[_$_486f[34]](!1);break;case cast[_$_486f[37]][_$_486f[36]][_$_486f[38]]:i[_$_486f[34]](!0);case cast[_$_486f[37]][_$_486f[36]][_$_486f[39]]:case cast[_$_486f[37]][_$_486f[36]][_$_486f[40]]:}},i[_$_486f[43]]=function(e){switch(i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[67],e),e[_$_486f[68]]){case cast[_$_486f[37]][_$_486f[45]][_$_486f[44]]:case cast[_$_486f[37]][_$_486f[45]][_$_486f[46]]:break;case cast[_$_486f[37]][_$_486f[45]][_$_486f[50]]:i[_$_486f[49]](e[_$_486f[48]][_$_486f[47]]()[_$_486f[31]],!1);break;case cast[_$_486f[37]][_$_486f[45]][_$_486f[51]]:i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[51],e[_$_486f[52]]),e[_$_486f[52]]!==chrome[_$_486f[55]][_$_486f[54]][_$_486f[53]]&&i[_$_486f[56]]();break;case cast[_$_486f[37]][_$_486f[45]][_$_486f[57]]:break;case cast[_$_486f[37]][_$_486f[45]][_$_486f[59]]:i[_$_486f[58]]();break;case cast[_$_486f[37]][_$_486f[45]][_$_486f[66]]:i[_$_486f[49]](e[_$_486f[48]][_$_486f[47]]()[_$_486f[31]],!0),i[_$_486f[61]][_$_486f[60]]||(i[_$_486f[62]](),i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[63]]}))}},i[_$_486f[69]]=function(e){i[_$_486f[70]](e)},i[_$_486f[71]]=function(e){switch(i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[78],e),e[_$_486f[79]]){case chrome[_$_486f[55]][_$_486f[75]][_$_486f[74]][_$_486f[73]]:i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[72]]});break;case chrome[_$_486f[55]][_$_486f[75]][_$_486f[74]][_$_486f[77]]:i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[76]]})}},i[_$_486f[80]]=function(){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[81],i[_$_486f[61]][_$_486f[60]]),i[_$_486f[61]][_$_486f[60]]||i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[63]]})},i[_$_486f[82]]=function(){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[83],i[_$_486f[61]][_$_486f[84]]),i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[85]]})},i[_$_486f[86]]=function(){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[87],i[_$_486f[61]][_$_486f[88]]),i[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[89]]})},i[_$_486f[90]]=function(){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[91],i[_$_486f[61]][_$_486f[92]]),i[_$_486f[65]]({event:i[_$_486f[61]][_$_486f[92]]?a[_$_486f[64]][_$_486f[93]]:a[_$_486f[64]][_$_486f[94]]})},i[_$_486f[95]]=function(e){i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[96],e),i[_$_486f[61]][_$_486f[30]]?i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[97]):i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[98])},i[_$_486f[99]]=function(){i[_$_486f[61]][_$_486f[60]]||(i[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[100]),i[_$_486f[102]][_$_486f[101]]())},i[_$_486f[103]]=n,i[_$_486f[104]]=void 0;var r=function(e){if(t[_$_486f[28]][_$_486f[27]](_$_486f[105]+e),e)try{i[_$_486f[106]]()}catch(e){t[_$_486f[28]][_$_486f[27]](_$_486f[107],e)}i[_$_486f[104]]&&i[_$_486f[104]](e)};return window[_$_486f[108]]&&window[_$_486f[108]][_$_486f[55]]&&window[_$_486f[55]]&&window[_$_486f[55]][_$_486f[37]]?setTimeout(function(){return r(!0)},1e3):(i[_$_486f[104]]=window[_$_486f[109]],window[_$_486f[109]]=r),i}return r(t,e),t[_$_486f[16]][_$_486f[62]]=function(){var e,t,n=this;null===(t=null===(e=this[_$_486f[110]])||void 0===e?void 0:e[_$_486f[111]]())||void 0===t||t[_$_486f[115]](void 0,function(){(0,_[_$_486f[112]])(n[_$_486f[29]])&&n[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[113])},function(e){(0,_[_$_486f[112]])(n[_$_486f[29]])&&n[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[114],e)})},t[_$_486f[16]][_$_486f[106]]=function(){var e;cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[120]]({receiverApplicationId:this[_$_486f[103]][_$_486f[116]],autoJoinPolicy:chrome[_$_486f[55]][_$_486f[118]][_$_486f[117]],resumeSavedSession:null!==(e=this[_$_486f[103]][_$_486f[119]])&&void 0!==e&&e}),this[_$_486f[61]]=new cast[_$_486f[37]][_$_486f[123]],this[_$_486f[102]]=new cast[_$_486f[37]][_$_486f[124]](this[_$_486f[61]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[96]],this[_$_486f[95]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[78]],this[_$_486f[71]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[81]],this[_$_486f[80]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[83]],this[_$_486f[82]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[87]],this[_$_486f[86]]),this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[91]],this[_$_486f[90]]),cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[127]]()!==cast[_$_486f[37]][_$_486f[36]][_$_486f[35]]?this[_$_486f[34]](!0):cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[126]](cast[_$_486f[37]][_$_486f[128]][_$_486f[41]],this[_$_486f[33]]),cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[126]](cast[_$_486f[37]][_$_486f[128]][_$_486f[67]],this[_$_486f[43]]),chrome[_$_486f[55]][_$_486f[26]](this[_$_486f[25]]);var t=cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[129]]();t&&this[_$_486f[49]](t[_$_486f[47]]()[_$_486f[31]],!0)},t[_$_486f[16]][_$_486f[70]]=function(e){var t=this[_$_486f[61]][_$_486f[130]];this[_$_486f[130]]=e[_$_486f[79]],this[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[131],t)},t[_$_486f[16]][_$_486f[132]]=function(){return this[_$_486f[103]]},t[_$_486f[16]][_$_486f[133]]=function(){var e=this;cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[138]]()[_$_486f[137]](function(){return e[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[136])})[_$_486f[135]](function(t){t===chrome[_$_486f[55]][_$_486f[54]][_$_486f[53]]||(e[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[134],t),e[_$_486f[56]]())})},t[_$_486f[16]][_$_486f[49]]=function(t,n){var i=this;this[_$_486f[110]]=cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[129]](),this[_$_486f[110]][_$_486f[144]](this[_$_486f[103]][_$_486f[139]],function(e,t){i[_$_486f[29]][_$_486f[28]][_$_486f[140]](e,t);try{var n=JSON[_$_486f[8]](t);i[_$_486f[141]](n)}catch(e){i[_$_486f[29]][_$_486f[28]][_$_486f[143]](_$_486f[142],t)}}),this[_$_486f[29]][_$_486f[147]][_$_486f[146]](a[_$_486f[64]][_$_486f[145]],this[_$_486f[99]]),e[_$_486f[16]][_$_486f[49]][_$_486f[14]](this,t,n)},t[_$_486f[16]][_$_486f[148]]=function(e,t){void 0===e&&(e=u[_$_486f[150]][_$_486f[149]]),this[_$_486f[110]][_$_486f[148]](this[_$_486f[103]][_$_486f[139]],{type:e,data:t})},t[_$_486f[16]][_$_486f[151]]=function(){cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[152]](!0),this[_$_486f[153]]()},t[_$_486f[16]][_$_486f[58]]=function(){e[_$_486f[16]][_$_486f[58]][_$_486f[14]](this),this[_$_486f[29]][_$_486f[147]][_$_486f[154]](a[_$_486f[64]][_$_486f[145]],this[_$_486f[99]]),this[_$_486f[155]]=null},t[_$_486f[16]][_$_486f[156]]=function(){window[_$_486f[109]]=this[_$_486f[104]]||void 0,this[_$_486f[102]]&&(this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[131]],this[_$_486f[69]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[78]],this[_$_486f[71]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[91]],this[_$_486f[90]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[87]],this[_$_486f[86]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[83]],this[_$_486f[82]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[81]],this[_$_486f[80]]),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[96]],this[_$_486f[95]]),chrome[_$_486f[55]][_$_486f[158]](this[_$_486f[25]]),cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[157]](cast[_$_486f[37]][_$_486f[128]][_$_486f[41]],this[_$_486f[33]]),cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[157]](cast[_$_486f[37]][_$_486f[128]][_$_486f[67]],this[_$_486f[43]]))},t[_$_486f[16]][_$_486f[159]]=function(e,t,n){var i=this;return this[_$_486f[160]]=e,this[_$_486f[164]](e)[_$_486f[137]](function(e){var r=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[161]](e);return r[_$_486f[162]]=t||!1,null!=n&&(r[_$_486f[84]]=n),i[_$_486f[163]](r)})},t[_$_486f[16]][_$_486f[163]]=function(e){var t=this,n=cast[_$_486f[37]][_$_486f[122]][_$_486f[121]]()[_$_486f[129]]()[_$_486f[165]]();return new Promise(function(i,r){n[_$_486f[168]](e,function(e){t[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[166],e),t[_$_486f[75]]=e,t[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[131]],t[_$_486f[69]]),i()},function(e){t[_$_486f[29]][_$_486f[28]][_$_486f[27]](_$_486f[167],e),r(e)})})},t[_$_486f[16]][_$_486f[169]]=function(){return this[_$_486f[61]][_$_486f[130]]?i(this[_$_486f[61]][_$_486f[130]]):null},t[_$_486f[16]][_$_486f[170]]=function(){this[_$_486f[61]][_$_486f[60]]&&this[_$_486f[102]][_$_486f[101]]()},t[_$_486f[16]][_$_486f[171]]=function(){return!this[_$_486f[61]][_$_486f[60]]},t[_$_486f[16]][_$_486f[172]]=function(){this[_$_486f[61]][_$_486f[60]]||this[_$_486f[102]][_$_486f[101]]()},t[_$_486f[16]][_$_486f[60]]=function(){return this[_$_486f[61]][_$_486f[60]]},t[_$_486f[16]][_$_486f[173]]=function(t){return void 0===t&&(t=o[_$_486f[175]][_$_486f[174]]),t===o[_$_486f[175]][_$_486f[176]]?e[_$_486f[16]][_$_486f[173]][_$_486f[14]](this,t):this[_$_486f[61]][_$_486f[84]]},t[_$_486f[16]][_$_486f[177]]=function(e){this[_$_486f[61]][_$_486f[84]]=e,this[_$_486f[102]][_$_486f[177]](),this[_$_486f[65]]({event:a[_$_486f[64]][_$_486f[178]]})},t[_$_486f[16]][_$_486f[179]]=function(e){this[_$_486f[61]][_$_486f[88]]=e,this[_$_486f[102]][_$_486f[180]]()},t[_$_486f[16]][_$_486f[181]]=function(){return this[_$_486f[61]][_$_486f[88]]},t[_$_486f[16]][_$_486f[182]]=function(e){e!==this[_$_486f[61]][_$_486f[92]]&&this[_$_486f[102]][_$_486f[183]]()},t[_$_486f[16]][_$_486f[92]]=function(){return this[_$_486f[61]][_$_486f[92]]},t}(n(97604)[_$_486f[24]]);t[_$_486f[23]]=c,t[_$_486f[22]]=i}function _0xA763(e,t){Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[191]]=void 0,function(e){e[_$_486f[192]]=_$_486f[192],e[_$_486f[193]]=_$_486f[193]}(t[_$_486f[191]]||(t[_$_486f[191]]={}))}function _0xA798(e,t,n){var i=this&&this[_$_486f[11]]||function(){var e=function(t,n){return e=Object[_$_486f[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_486f[13]]=t}||function(e,t){for(var n in t)Object[_$_486f[16]][_$_486f[15]][_$_486f[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_486f[20]]=t}if(_$_486f[17]!=typeof n&&null!==n)throw new TypeError(_$_486f[18]+String(n)+_$_486f[19]);e(t,n),t[_$_486f[16]]=null===n?Object[_$_486f[21]](n):(i[_$_486f[16]]=n[_$_486f[16]],new i)}}();Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[194]]=void 0;var r=n(5793),a=n(48826),o=n(86335),s=function(e){function t(){return null!==e&&e[_$_486f[195]](this,arguments)||this}return i(t,e),t[_$_486f[16]][_$_486f[164]]=function(e){var t=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[199]](o[_$_486f[197]][_$_486f[196]](e),_$_486f[198]);if(t[_$_486f[200]]=chrome[_$_486f[55]][_$_486f[75]][_$_486f[202]][_$_486f[201]],t[_$_486f[203]]=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[204]],t[_$_486f[203]][_$_486f[205]]=e[_$_486f[205]]||null,t[_$_486f[203]][_$_486f[206]]=e[_$_486f[207]]||null,e[_$_486f[208]]){var n=r[_$_486f[10]][_$_486f[9]](e[_$_486f[208]]);t[_$_486f[203]][_$_486f[209]]=[new chrome[_$_486f[55]][_$_486f[210]](n)]}return Promise[_$_486f[211]](t)},t[_$_486f[16]][_$_486f[212]]=function(e){this[_$_486f[214]](_$_486f[213],[e])},t[_$_486f[16]][_$_486f[215]]=function(e){this[_$_486f[214]](_$_486f[216],[e])},t}(a[_$_486f[23]]);t[_$_486f[194]]=s}function _0xA7CD(e,t,n){function i(e){var t={keys:e[_$_486f[303]](function(e){var t=f[_$_486f[314]][_$_486f[313]](e[_$_486f[312]]),n=f[_$_486f[314]][_$_486f[313]](e[_$_486f[315]]||_$_486f[316]);return{kty:_$_486f[317],kid:d[_$_486f[320]][_$_486f[319]](n)[_$_486f[318]](/[=]*$/,_$_486f[316]),k:d[_$_486f[320]][_$_486f[319]](t)[_$_486f[318]](/[=]*$/,_$_486f[316])}})},n=JSON[_$_486f[196]](t);return _$_486f[321]+btoa(n)}function r(e){return e[_$_486f[324]](function(e,t){return e[_$_486f[322]]===t[_$_486f[322]]?(e[_$_486f[323]]||0)>(t[_$_486f[323]]||0)?-1:1:(e[_$_486f[322]]||0)>(t[_$_486f[322]]||0)?-1:1})}function a(e,t){return function(e){return Array[_$_486f[7]](e)}(e)?{protectionSystem:_[_$_486f[225]],licenseUrl:i(e)}:{protectionSystem:t,licenseUrl:e[_$_486f[325]]||_$_486f[316],headers:e[_$_486f[326]],withCredentials:e[_$_486f[327]]||!1}}var o=this&&this[_$_486f[11]]||function(){var e=function(t,n){return e=Object[_$_486f[12]]||{__proto__:[]}instanceof Array&&function(e,t){e[_$_486f[13]]=t}||function(e,t){for(var n in t)Object[_$_486f[16]][_$_486f[15]][_$_486f[14]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_$_486f[20]]=t}if(_$_486f[17]!=typeof n&&null!==n)throw new TypeError(_$_486f[18]+String(n)+_$_486f[19]);e(t,n),t[_$_486f[16]]=null===n?Object[_$_486f[21]](n):(i[_$_486f[16]]=n[_$_486f[16]],new i)}}(),s=this&&this[_$_486f[217]]||function(e,t,n){if(n||2===arguments[_$_486f[218]])for(var i,r=0,a=t[_$_486f[218]];r0&&(null===(n=i[_$_486f[130]])||void 0===n?void 0:n[_$_486f[233]])-i[_$_486f[84]]<2&&0===e[_$_486f[79]]&&(i[_$_486f[234]]=!0,i[_$_486f[65]]({event:c[_$_486f[64]][_$_486f[145]]})),i[_$_486f[84]]=e[_$_486f[79]]},i[_$_486f[235]]=new v[_$_486f[236]](t),i[_$_486f[237]]=new g[_$_486f[238]](i[_$_486f[130]],i[_$_486f[75]],i[_$_486f[29]][_$_486f[28]]),i[_$_486f[239]]=new $[_$_486f[240]](i[_$_486f[130]],i[_$_486f[29]][_$_486f[28]]),i}return o(t,e),t[_$_486f[16]][_$_486f[106]]=function(){e[_$_486f[16]][_$_486f[106]][_$_486f[14]](this),this[_$_486f[241]]()},t[_$_486f[16]][_$_486f[241]]=function(){var e=this;this[_$_486f[102]][_$_486f[126]](cast[_$_486f[37]][_$_486f[125]][_$_486f[83]],this[_$_486f[232]]),this[_$_486f[29]][_$_486f[147]][_$_486f[146]](c[_$_486f[64]][_$_486f[242]],function(){new m[_$_486f[244]](e[_$_486f[130]])[_$_486f[243]]()&&e[_$_486f[245]]()})},t[_$_486f[16]][_$_486f[148]]=function(e,t){this[_$_486f[103]][_$_486f[139]]&&this[_$_486f[110]][_$_486f[148]](this[_$_486f[103]][_$_486f[139]],{type:_$_486f[246],data:t})},t[_$_486f[16]][_$_486f[170]]=function(){var t=this;this[_$_486f[234]]&&this[_$_486f[160]]?this[_$_486f[159]](this[_$_486f[160]])[_$_486f[137]](function(){return e[_$_486f[16]][_$_486f[170]][_$_486f[14]](t)}):e[_$_486f[16]][_$_486f[170]][_$_486f[14]](this),this[_$_486f[234]]=!1},t[_$_486f[16]][_$_486f[247]]=function(e){var t=this[_$_486f[248]](e),n=t[_$_486f[249]],i=t[_$_486f[250]],r=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[199]](n,i);return r[_$_486f[251]]=(0,b[_$_486f[252]])(e,i),r},t[_$_486f[16]][_$_486f[164]]=function(e){var t,n=this[_$_486f[247]](e),i=this[_$_486f[29]][_$_486f[254]][_$_486f[253]],r=this[_$_486f[29]][_$_486f[258]][_$_486f[257]](u[_$_486f[256]][_$_486f[255]],i);return(null==r?void 0:r[_$_486f[259]]())&&(n[_$_486f[200]]=chrome[_$_486f[55]][_$_486f[75]][_$_486f[202]][_$_486f[260]],this[_$_486f[231]]=0),this[_$_486f[262]](null!==(t=e[_$_486f[261]])&&void 0!==t?t:[],n),this[_$_486f[103]][_$_486f[263]]?this[_$_486f[103]][_$_486f[263]](n):Promise[_$_486f[211]](n)},t[_$_486f[16]][_$_486f[262]]=function(e,t){var n=new $[_$_486f[240]](t,this[_$_486f[29]][_$_486f[28]]);s(s([],null!=e?e:[],!0),this[_$_486f[266]](),!0)[_$_486f[265]](function(e){return n[_$_486f[264]](e)})},t[_$_486f[16]][_$_486f[266]]=function(){var e=this[_$_486f[29]][_$_486f[270]][_$_486f[269]]()[_$_486f[268]](function(e){return!e[_$_486f[267]]}),t=this[_$_486f[29]][_$_486f[270]][_$_486f[271]]();return s(s([],e,!0),t,!0)},t[_$_486f[16]][_$_486f[248]]=function(e){var t,n;if(e[_$_486f[4]])t=e[_$_486f[4]],n=l[_$_486f[187]][_$_486f[186]];else if(e[_$_486f[5]])t=e[_$_486f[5]],n=l[_$_486f[187]][_$_486f[188]];else if(e[_$_486f[272]])t=e[_$_486f[272]],n=l[_$_486f[187]][_$_486f[189]];else{if(!e[_$_486f[6]])throw new Error(_$_486f[273]);var i=this[_$_486f[274]](e[_$_486f[6]]);t=i[_$_486f[249]],n=i[_$_486f[250]]}return{url:t=h[_$_486f[10]][_$_486f[9]](t),mimeType:n}},t[_$_486f[16]][_$_486f[275]]=function(e){var t;this[_$_486f[231]]=e,this[_$_486f[177]](((null===(t=this[_$_486f[276]]())||void 0===t?void 0:t[_$_486f[277]])||0)+e)},t[_$_486f[16]][_$_486f[276]]=function(){return this[_$_486f[61]][_$_486f[278]]},t[_$_486f[16]][_$_486f[279]]=function(){return this[_$_486f[231]]},t[_$_486f[16]][_$_486f[280]]=function(){var e;return-1*((null===(e=this[_$_486f[276]]())||void 0===e?void 0:e[_$_486f[277]])||0)},t[_$_486f[16]][_$_486f[274]]=function(e){var t,n;if(Array[_$_486f[7]](e)){var i=r(e)[0];t=i[_$_486f[249]],n=i[_$_486f[281]]}else t=e;return{url:t,mimeType:n}},t[_$_486f[16]][_$_486f[156]]=function(){e[_$_486f[16]][_$_486f[156]][_$_486f[14]](this),this[_$_486f[102]][_$_486f[157]](cast[_$_486f[37]][_$_486f[125]][_$_486f[83]],this[_$_486f[232]])},t[_$_486f[16]][_$_486f[282]]=function(e){var t,n,i=this;e&&(null!==(n=null===(t=e[_$_486f[251]])||void 0===t?void 0:t[_$_486f[283]])&&void 0!==n&&n?this[_$_486f[245]]()[_$_486f[137]](function(){i[_$_486f[237]][_$_486f[282]](e)}):this[_$_486f[237]][_$_486f[282]](e))},t[_$_486f[16]][_$_486f[284]]=function(e){var t=new m[_$_486f[244]](this[_$_486f[130]])[_$_486f[287]](e,chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[285]]);t&&this[_$_486f[282]](t)},t[_$_486f[16]][_$_486f[288]]=function(e){this[_$_486f[237]][_$_486f[289]](e,chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[285]])},t[_$_486f[16]][_$_486f[290]]=function(e){var t=new m[_$_486f[244]](this[_$_486f[130]])[_$_486f[287]](e,chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[291]]);t&&this[_$_486f[282]](t)},t[_$_486f[16]][_$_486f[70]]=function(t){e[_$_486f[16]][_$_486f[70]][_$_486f[14]](this,t),this[_$_486f[237]][_$_486f[292]](this[_$_486f[130]]),this[_$_486f[239]]=new $[_$_486f[240]](this[_$_486f[130]],this[_$_486f[29]][_$_486f[28]]),this[_$_486f[235]][_$_486f[293]](this[_$_486f[130]]);var n=new $[_$_486f[240]](this[_$_486f[130]],this[_$_486f[29]][_$_486f[28]]);this[_$_486f[266]]()[_$_486f[265]](function(e){return n[_$_486f[264]](e)})},t[_$_486f[16]][_$_486f[215]]=function(e){this[_$_486f[239]][_$_486f[264]](e)},t[_$_486f[16]][_$_486f[212]]=function(e){var t,n,i=new $[_$_486f[240]](this[_$_486f[130]],this[_$_486f[29]][_$_486f[28]]),r=Boolean(null===(n=null===(t=this[_$_486f[75]])||void 0===t?void 0:t[_$_486f[294]])||void 0===n?void 0:n[_$_486f[296]](function(t){return t===i[_$_486f[295]](e)}));i[_$_486f[297]](e)&&r&&this[_$_486f[237]][_$_486f[289]](e,chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[285]])},t[_$_486f[16]][_$_486f[245]]=function(){var e=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[161]](this[_$_486f[130]])\n;return e[_$_486f[84]]=this[_$_486f[29]][_$_486f[270]][_$_486f[173]](),e[_$_486f[162]]=this[_$_486f[29]][_$_486f[270]][_$_486f[171]](),this[_$_486f[163]](e)},t[_$_486f[16]][_$_486f[163]]=function(t){var n=this;return this[_$_486f[235]][_$_486f[299]](t[_$_486f[75]][_$_486f[298]]),e[_$_486f[16]][_$_486f[163]][_$_486f[14]](this,t)[_$_486f[137]](function(){n[_$_486f[237]][_$_486f[300]](n[_$_486f[75]]),n[_$_486f[237]][_$_486f[292]](n[_$_486f[130]]),n[_$_486f[301]]()})},t[_$_486f[16]][_$_486f[301]]=function(){var e,t=this;if(this[_$_486f[130]]){var n=this[_$_486f[29]][_$_486f[270]][_$_486f[269]]()[_$_486f[268]](function(e){return!!e[_$_486f[304]]})[_$_486f[303]](function(e){return e[_$_486f[302]]});n[_$_486f[306]](null===(e=this[_$_486f[29]][_$_486f[270]][_$_486f[305]]())||void 0===e?void 0:e[_$_486f[302]]),n=n[_$_486f[268]](Boolean);var i=new m[_$_486f[244]](this[_$_486f[130]])[_$_486f[307]](n),r=i[_$_486f[308]](function(e){var t;return null===(t=e[_$_486f[251]])||void 0===t?void 0:t[_$_486f[283]]}),a=i[_$_486f[303]](function(e){return e[_$_486f[309]]});if(!r)return this[_$_486f[237]][_$_486f[310]](a);this[_$_486f[245]]()[_$_486f[137]](function(){t[_$_486f[237]][_$_486f[310]](a)})}},t}(p[_$_486f[23]]);t[_$_486f[224]]=y,t[_$_486f[223]]=function(e){if(e[_$_486f[230]])return a(e[_$_486f[230]],_[_$_486f[229]]);if(e[_$_486f[228]])return a(e[_$_486f[228]],_[_$_486f[227]]);if(e[_$_486f[226]])return a(e[_$_486f[226]],_[_$_486f[225]]);throw new Error(_$_486f[311])},t[_$_486f[222]]=i,t[_$_486f[221]]=r}function _0xA802(e,t,n){function i(e){return Object[_$_486f[330]](null!=e?e:{})[_$_486f[218]]>0}function r(e,t){var n,i,r=e[_$_486f[329]];return t===o[_$_486f[187]][_$_486f[186]]?(n=a(r,[_$_486f[331],_$_486f[327]]),i=a(r,[_$_486f[332],_$_486f[333]])):t===o[_$_486f[187]][_$_486f[188]]&&(n=a(r,[_$_486f[334],_$_486f[327]]),i=a(r,[_$_486f[335],_$_486f[333]])),{withCredentials:n||!1,manifestWithCredentials:i||!1}}function a(e,t){for(var n,i=0,r=t;i0){var u=t[_$_486f[268]](function(e){var t;return!!(null===(t=e[_$_486f[251]])||void 0===t?void 0:t[_$_486f[337]])})[_$_486f[303]](function(e){return e[_$_486f[251]][_$_486f[337]]});return null!==(o=null===(a=s[_$_486f[296]](function(e){return!u[_$_486f[338]](e[_$_486f[302]])}))||void 0===a?void 0:a[_$_486f[302]])&&void 0!==o?o:null}return _},e[_$_486f[16]][_$_486f[578]]=function(e){return(0,a[_$_486f[585]])(e)?this[_$_486f[29]][_$_486f[270]][_$_486f[269]]():(0,a[_$_486f[586]])(e)?this[_$_486f[29]][_$_486f[270]][_$_486f[271]]():[]},e[_$_486f[16]][_$_486f[299]]=function(e){null==e||e[_$_486f[265]](function(e){e[_$_486f[251]]&&(e[_$_486f[251]][_$_486f[283]]=!1)})},e}();t[_$_486f[236]]=o}function _0xAAE8(e,t,n){Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[240]]=void 0;var i=n(16611),r=function(){function e(e,t){e&&!Array[_$_486f[7]](e[_$_486f[298]])&&(e[_$_486f[298]]=[]),this[_$_486f[130]]=e,this[_$_486f[28]]=t}return e[_$_486f[16]][_$_486f[587]]=function(){var e,t,n,i=null===(e=this[_$_486f[130]])||void 0===e?void 0:e[_$_486f[298]];return(null==i?void 0:i[_$_486f[218]])&&null!==(n=null===(t=i[i[_$_486f[218]]-1])||void 0===t?void 0:t[_$_486f[309]])&&void 0!==n?n:0},e[_$_486f[16]][_$_486f[264]]=function(e){if(this[_$_486f[130]]&&!(this[_$_486f[588]](e[_$_486f[302]])>=0)){var t=(0,i[_$_486f[589]])(e,this[_$_486f[587]]()+1);(0,i[_$_486f[590]])(t)?this[_$_486f[130]][_$_486f[298]][_$_486f[306]](t):this[_$_486f[28]][_$_486f[27]](_$_486f[591],t)}},e[_$_486f[16]][_$_486f[297]]=function(e){var t,n,i=this[_$_486f[588]](e);return i>-1&&(null===(n=null===(t=this[_$_486f[130]])||void 0===t?void 0:t[_$_486f[298]])||void 0===n||n[_$_486f[592]](i,1)),i>-1},e[_$_486f[16]][_$_486f[588]]=function(e){var t;return e&&(null===(t=this[_$_486f[130]])||void 0===t?void 0:t[_$_486f[298]])?this[_$_486f[130]][_$_486f[298]][_$_486f[593]](function(t){var n;return e===(null===(n=t[_$_486f[251]])||void 0===n?void 0:n[_$_486f[337]])}):-1},e[_$_486f[16]][_$_486f[295]]=function(e){var t,n,i;return null!==(i=null===(n=null===(t=this[_$_486f[130]])||void 0===t?void 0:t[_$_486f[298]][this[_$_486f[588]](e)])||void 0===n?void 0:n[_$_486f[309]])&&void 0!==i?i:-1},e}();t[_$_486f[240]]=r}function _0xAB1D(e,t,n){function i(e,t){var n=r[_$_486f[596]][_$_486f[257]](e);return n?t===n:function(e){for(var t,n=r[_$_486f[596]][_$_486f[330]](),i=n[_$_486f[597]]()[_$_486f[79]];i;){var a=r[_$_486f[596]][_$_486f[257]](i);if(a){if(e===a||e===i)return a;i=null===(t=n[_$_486f[597]]())||void 0===t?void 0:t[_$_486f[79]]}}return null}(t)===e}Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[584]]=void 0;var r=n(31565);t[_$_486f[584]]=function(e,t){var n;return!!t[_$_486f[582]]&&((null===(n=e[_$_486f[594]])||void 0===n?void 0:n[_$_486f[595]]())===t[_$_486f[582]][_$_486f[595]]()||i(t[_$_486f[582]],e[_$_486f[594]]))}}function _0xAB52(e,t){function n(e,t){i(t)?function(e,t){var n,i;t[_$_486f[598]]=null!==(i=null===(n=e[_$_486f[600]]()[_$_486f[296]](function(e){return e[_$_486f[599]]}))||void 0===n?void 0:n[_$_486f[599]])&&void 0!==i?i:_$_486f[316]}(e,t):function(e,t){t[_$_486f[598]]=e[_$_486f[302]]?e[_$_486f[302]][_$_486f[602]](_$_486f[601])[0]:_$_486f[316],t[_$_486f[603]]=e[_$_486f[249]],t[_$_486f[604]]=function(e){var t,n;return e[_$_486f[606]]===chrome[_$_486f[55]][_$_486f[75]][_$_486f[607]][_$_486f[246]][_$_486f[595]]()?chrome[_$_486f[55]][_$_486f[75]][_$_486f[607]][_$_486f[246]]:(null===(t=e[_$_486f[606]])||void 0===t?void 0:t[_$_486f[338]](_$_486f[605]))||function(e){var t;return null!==(t=Boolean(e[_$_486f[296]](function(e){var t;return null===(t=e[_$_486f[79]])||void 0===t?void 0:t[_$_486f[338]](_$_486f[605])})))&&void 0!==t&&t}(null!==(n=e[_$_486f[608]])&&void 0!==n?n:[])?chrome[_$_486f[55]][_$_486f[75]][_$_486f[607]][_$_486f[609]]:chrome[_$_486f[55]][_$_486f[75]][_$_486f[607]][_$_486f[610]]}(e)}(e,t)}function i(e){return e[_$_486f[281]]===chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[291]]}Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[586]]=t[_$_486f[585]]=t[_$_486f[590]]=t[_$_486f[589]]=void 0,t[_$_486f[589]]=function(e,t){var i,r=e[_$_486f[600]]?chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[291]]:chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[285]],a=new chrome[_$_486f[55]][_$_486f[75]][_$_486f[611]](t,r);return n(e,a),a[_$_486f[582]]=e[_$_486f[594]],a[_$_486f[612]]=e[_$_486f[613]],a[_$_486f[614]]=(null===(i=e[_$_486f[608]])||void 0===i?void 0:i[_$_486f[268]](function(e){return!!e[_$_486f[79]]})[_$_486f[303]](function(e){return e[_$_486f[79]]||_$_486f[316]}))||[],a[_$_486f[251]]={internalId:e[_$_486f[302]],needsReloadBeforePlay:!0},a},t[_$_486f[590]]=function(e){return!(!(e[_$_486f[598]]&&e[_$_486f[309]]&&e[_$_486f[582]]&&e[_$_486f[612]])||i(e)||!e[_$_486f[604]]||!e[_$_486f[603]])},t[_$_486f[585]]=function(e){return e[_$_486f[281]]===chrome[_$_486f[55]][_$_486f[75]][_$_486f[286]][_$_486f[285]]},t[_$_486f[586]]=i}function _0xAB87(e,t){Object[_$_486f[2]](t,_$_486f[1],{value:!0}),t[_$_486f[596]]=void 0,t[_$_486f[596]]=new Map([[_$_486f[615],_$_486f[616]],[_$_486f[617],_$_486f[618]],[_$_486f[619],_$_486f[620]],[_$_486f[621],_$_486f[622]],[_$_486f[623],_$_486f[624]],[_$_486f[625],_$_486f[626]],[_$_486f[627],_$_486f[628]],[_$_486f[629],_$_486f[630]],[_$_486f[631],_$_486f[632]],[_$_486f[633],_$_486f[634]],[_$_486f[635],_$_486f[636]],[_$_486f[637],_$_486f[638]],[_$_486f[639],_$_486f[640]],[_$_486f[641],_$_486f[642]],[_$_486f[643],_$_486f[644]],[_$_486f[645],_$_486f[646]],[_$_486f[647],_$_486f[648]],[_$_486f[649],_$_486f[650]],[_$_486f[651],_$_486f[652]],[_$_486f[653],_$_486f[654]],[_$_486f[655],_$_486f[656]],[_$_486f[657],_$_486f[658]],[_$_486f[659],_$_486f[660]],[_$_486f[661],_$_486f[662]],[_$_486f[663],_$_486f[664]],[_$_486f[665],_$_486f[666]],[_$_486f[667],_$_486f[668]],[_$_486f[669],_$_486f[670]],[_$_486f[671],_$_486f[672]],[_$_486f[673],_$_486f[674]],[_$_486f[675],_$_486f[676]],[_$_486f[677],_$_486f[678]],[_$_486f[679],_$_486f[680]],[_$_486f[681],_$_486f[682]],[_$_486f[683],_$_486f[684]],[_$_486f[685],_$_486f[686]],[_$_486f[687],_$_486f[688]],[_$_486f[689],_$_486f[670]],[_$_486f[690],_$_486f[691]],[_$_486f[692],_$_486f[693]],[_$_486f[694],_$_486f[695]],[_$_486f[696],_$_486f[697]],[_$_486f[698],_$_486f[699]],[_$_486f[700],_$_486f[701]],[_$_486f[702],_$_486f[703]],[_$_486f[704],_$_486f[705]],[_$_486f[706],_$_486f[707]],[_$_486f[708],_$_486f[648]],[_$_486f[709],_$_486f[710]],[_$_486f[711],_$_486f[712]],[_$_486f[713],_$_486f[714]],[_$_486f[715],_$_486f[716]],[_$_486f[717],_$_486f[718]],[_$_486f[719],_$_486f[720]],[_$_486f[721],_$_486f[720]],[_$_486f[722],_$_486f[723]],[_$_486f[724],_$_486f[725]],[_$_486f[726],_$_486f[727]],[_$_486f[728],_$_486f[693]],[_$_486f[729],_$_486f[730]],[_$_486f[731],_$_486f[732]],[_$_486f[733],_$_486f[734]],[_$_486f[735],_$_486f[736]],[_$_486f[737],_$_486f[701]],[_$_486f[738],_$_486f[739]],[_$_486f[740],_$_486f[741]],[_$_486f[742],_$_486f[743]],[_$_486f[744],_$_486f[745]],[_$_486f[746],_$_486f[747]],[_$_486f[748],_$_486f[749]],[_$_486f[750],_$_486f[751]],[_$_486f[752],_$_486f[753]],[_$_486f[754],_$_486f[755]],[_$_486f[756],_$_486f[757]],[_$_486f[758],_$_486f[632]],[_$_486f[759],_$_486f[760]],[_$_486f[761],_$_486f[762]],[_$_486f[763],_$_486f[764]],[_$_486f[765],_$_486f[766]],[_$_486f[767],_$_486f[768]],[_$_486f[769],_$_486f[770]],[_$_486f[771],_$_486f[772]],[_$_486f[773],_$_486f[302]],[_$_486f[774],_$_486f[775]],[_$_486f[776],_$_486f[762]],[_$_486f[777],_$_486f[778]],[_$_486f[779],_$_486f[780]],[_$_486f[781],_$_486f[782]],[_$_486f[783],_$_486f[784]],[_$_486f[785],_$_486f[786]],[_$_486f[787],_$_486f[788]],[_$_486f[789],_$_486f[727]],[_$_486f[790],_$_486f[791]],[_$_486f[792],_$_486f[793]],[_$_486f[794],_$_486f[795]],[_$_486f[796],_$_486f[797]],[_$_486f[798],_$_486f[799]],[_$_486f[800],_$_486f[801]],[_$_486f[802],_$_486f[803]],[_$_486f[804],_$_486f[805]],[_$_486f[806],_$_486f[807]],[_$_486f[808],_$_486f[809]],[_$_486f[810],_$_486f[811]],[_$_486f[812],_$_486f[813]],[_$_486f[814],_$_486f[815]],[_$_486f[816],_$_486f[817]],[_$_486f[818],_$_486f[819]],[_$_486f[820],_$_486f[821]],[_$_486f[822],_$_486f[823]],[_$_486f[824],_$_486f[825]],[_$_486f[826],_$_486f[827]],[_$_486f[828],_$_486f[829]],[_$_486f[830],_$_486f[831]],[_$_486f[832],_$_486f[833]],[_$_486f[834],_$_486f[835]],[_$_486f[836],_$_486f[837]],[_$_486f[838],_$_486f[839]],[_$_486f[840],_$_486f[841]],[_$_486f[842],_$_486f[831]],[_$_486f[843],_$_486f[844]],[_$_486f[845],_$_486f[846]],[_$_486f[847],_$_486f[848]],[_$_486f[849],_$_486f[837]],[_$_486f[850],_$_486f[841]],[_$_486f[851],_$_486f[666]],[_$_486f[852],_$_486f[853]],[_$_486f[854],_$_486f[855]],[_$_486f[856],_$_486f[857]],[_$_486f[858],_$_486f[859]],[_$_486f[860],_$_486f[861]],[_$_486f[862],_$_486f[863]],[_$_486f[864],_$_486f[697]],[_$_486f[865],_$_486f[866]],[_$_486f[867],_$_486f[868]],[_$_486f[869],_$_486f[870]],[_$_486f[871],_$_486f[872]],[_$_486f[873],_$_486f[874]],[_$_486f[875],_$_486f[876]],[_$_486f[877],_$_486f[878]],[_$_486f[879],_$_486f[880]],[_$_486f[881],_$_486f[882]],[_$_486f[883],_$_486f[884]],[_$_486f[885],_$_486f[714]],[_$_486f[886],_$_486f[887]],[_$_486f[888],_$_486f[889]],[_$_486f[890],_$_486f[891]],[_$_486f[892],_$_486f[893]],[_$_486f[894],_$_486f[895]],[_$_486f[896],_$_486f[897]],[_$_486f[898],_$_486f[899]],[_$_486f[900],_$_486f[899]],[_$_486f[901],_$_486f[902]],[_$_486f[903],_$_486f[904]],[_$_486f[905],_$_486f[906]],[_$_486f[907],_$_486f[908]],[_$_486f[909],_$_486f[910]],[_$_486f[911],_$_486f[912]],[_$_486f[913],_$_486f[912]],[_$_486f[914],_$_486f[915]],[_$_486f[916],_$_486f[917]],[_$_486f[918],_$_486f[919]],[_$_486f[920],_$_486f[921]],[_$_486f[922],_$_486f[923]],[_$_486f[924],_$_486f[925]],[_$_486f[926],_$_486f[927]],[_$_486f[928],_$_486f[929]],[_$_486f[930],_$_486f[624]],[_$_486f[931],_$_486f[932]],[_$_486f[933],_$_486f[934]],[_$_486f[935],_$_486f[936]],[_$_486f[937],_$_486f[938]],[_$_486f[939],_$_486f[940]],[_$_486f[941],_$_486f[942]],[_$_486f[943],_$_486f[944]],[_$_486f[945],_$_486f[946]],[_$_486f[947],_$_486f[948]],[_$_486f[949],_$_486f[950]],[_$_486f[951],_$_486f[952]],[_$_486f[953],_$_486f[954]],[_$_486f[955],_$_486f[956]],[_$_486f[957],_$_486f[658]],[_$_486f[958],_$_486f[959]],[_$_486f[960],_$_486f[961]],[_$_486f[962],_$_486f[963]],[_$_486f[964],_$_486f[965]],[_$_486f[966],_$_486f[967]],[_$_486f[968],_$_486f[969]],[_$_486f[970],_$_486f[971]],[_$_486f[972],_$_486f[973]],[_$_486f[974],_$_486f[975]],[_$_486f[976],_$_486f[977]],[_$_486f[978],_$_486f[979]],[_$_486f[980],_$_486f[981]],[_$_486f[982],_$_486f[983]],[_$_486f[984],_$_486f[985]],[_$_486f[986],_$_486f[688]],[_$_486f[987],_$_486f[988]],[_$_486f[989],_$_486f[990]],[_$_486f[991],_$_486f[992]],[_$_486f[993],_$_486f[994]],[_$_486f[995],_$_486f[996]],[_$_486f[997],_$_486f[998]],[_$_486f[999],_$_486f[676]],[_$_486f[1e3],_$_486f[1001]]])}function _0xABBC(e){return e(e[_$_486f[1002]]=38759)}return(self[_$_486f[1003]]=self[_$_486f[1003]]||[])[_$_486f[306]]([[610],{65611:_0xA6F9,48826:_0xA72E,61773:_0xA763,56488:_0xA798,22814:_0xA7CD,78535:_0xA802,2619:_0xA837,62713:_0xA86C,38759:_0xA8A1,88463:_0xA8D6,97604:_0xA90B,58758:_0xA940,26105:_0xA975,26061:_0xA9AA,86335:_0xA9DF,23868:_0xAA14,9829:_0xAA49,53427:_0xAA7E,85896:_0xAAB3,73465:_0xAAE8,57067:_0xAB1D,16611:_0xAB52,31565:_0xAB87},_0xABBC])},_$_486f[347]==typeof exports&&"object"==_$_486f[347]?module[_$_486f[1004]]=_0xA72E():"function"==_$_486f[17]&&__webpack_require__.amdD[_$_486f[1005]]?(__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0===(__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof(__WEBPACK_AMD_DEFINE_FACTORY__=_0xA72E)?__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__):__WEBPACK_AMD_DEFINE_FACTORY__)||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)):_$_486f[347]==typeof exports?exports[_$_486f[426]]=_0xA72E():(_0xA6F9[_$_486f[1006]]=_0xA6F9[_$_486f[1006]]||{},_0xA6F9[_$_486f[1006]][_$_486f[498]]=_0xA6F9[_$_486f[1006]][_$_486f[498]]||{},_0xA6F9[_$_486f[1006]][_$_486f[498]][_$_486f[426]]=_0xA72E())}()},285:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r-1){var i=this[_[134]](t[n][_[98]]);if(i[_[135]]!==this[_[103]][_[135]])return this[_[136]](i,this[_[103]]),this[_[103]]=i,!0;this[_[103]]=i}return!1},t[_[38]][_[134]]=function(e){var t=this[_[85]][_[111]][_[110]](function(t){return t[_[109]]===e}),n={id:_[32],isAuto:!0,height:null,width:null,bitrate:null};return t&&t[_[74]](_[113])&&(t[_[113]][_[115]]&&(n[_[109]]=t[_[113]][_[115]][_[116]]+_[137],n[_[116]]=t[_[113]][_[115]][_[116]],n[_[114]]=t[_[113]][_[115]][_[114]]),n[_[109]]+=t[_[113]][_[112]],n[_[135]]=t[_[113]][_[112]]),n},t[_[38]][_[136]]=function(e,t){this[_[24]][_[50]][_[49]](s[_[45]][_[138]],{targetQuality:e,targetQualityId:e[_[109]],sourceQuality:t,sourceQualityId:t[_[109]]})},t[_[38]][_[139]]=function(e,t,n,i){return Promise[_[88]]([])},t[_[38]][_[140]]=function(e,t,n){return Promise[_[88]](this[_[141]])},t[_[38]][_[68]]=function(){e[_[38]][_[68]][_[73]](this),this[_[118]][_[68]]()},t}(e)),o}},59979:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[102]]=void 0;var i=n(55130),r=n(89543),a=function(){function e(e){var t=this;this[_[143]]=function(){t[_[23]][_[144]][_[82]]&&!t[_[145]]&&(i[_[146]](t[_[101]](),0,0),t[_[145]]=!0)},this[_[147]]={},this[_[148]]=null,this[_[149]]=null,this[_[150]]=0,this[_[23]]=e,this[_[151]]=[],this[_[152]]=!1,this[_[145]]=!1,e[_[58]](r[_[154]][_[153]],this[_[143]])}return e[_[38]][_[155]]=function(){return this[_[23]][_[93]]===1/0},e[_[38]][_[99]]=function(e){this[_[148]]!==e&&(this[_[155]]()&&this[_[147]][e]&&(this[_[147]][e]=[]),this[_[147]][e]||(this[_[147]][e]=[]),this[_[149]]=this[_[148]],this[_[148]]=e,this[_[152]]=!0)},e[_[38]][_[156]]=function(e,t){var n=this,r=this[_[147]][e],a=i[_[156]](r,t),o=a[_[158]](function(e,t){return n[_[155]]()||(t[_[157]]=e),e+t[_[93]]},0);return this[_[147]][e]=a,this[_[145]]&&this[_[159]](a),o},e[_[38]][_[160]]=function(e){return this[_[149]]&&this[_[150]]&&e=t[_[157]]&&e<=t[_[157]]+t[_[93]]})||null},e[_[38]][_[100]]=function(e){this[_[151]][_[66]](e),this[_[162]]()},e[_[38]][_[162]]=function(){this[_[151]][_[82]]>5&&(this[_[151]]=this[_[151]][_[163]](-5,this[_[151]][_[82]]))},e[_[38]][_[159]]=function(e){var t=e[_[133]](function(e){return e[_[74]](_[157])});-1!==t?i[_[146]](e,t,e[t][_[157]]):this[_[152]]?(this[_[152]]=!1,this[_[164]](this[_[148]],this[_[149]]),this[_[150]]=this[_[147]][this[_[148]]][0][_[157]]):this[_[165]](this[_[148]])},e[_[38]][_[164]]=function(e,t){var n,r=this[_[147]][e]||[],a=this[_[147]][t]||[],o=r[_[133]](function(e){return n=a[_[110]](function(t){return t[_[166]]===e[_[166]]&&t[_[157]]}),Boolean(n)});-1!==o&&(null==n?void 0:n[_[157]])?i[_[146]](r,o,n[_[157]]):this[_[165]](e)},e[_[38]][_[165]]=function(e){function t(e){return r===e[_[131]]}for(var n=this[_[147]][e],r=this[_[151]][_[167]](),a=-1;r&&a<0;)a=n[_[133]](t),r=this[_[151]][_[167]]();if(n[a]){var o=this[_[168]](a,e);i[_[146]](n,a,o)}},e[_[38]][_[168]]=function(e,t){var n=this[_[147]][t],i=this[_[23]][_[144]][_[169]](0),r=this[_[23]][_[144]][_[170]](0);return r-i>n[e][_[93]]?r:i},e[_[38]][_[101]]=function(){return this[_[147]][this[_[148]]]||[]},e[_[38]][_[161]]=function(){return this[_[147]][this[_[149]]]||[]},e[_[38]][_[94]]=function(){return this[_[147]]},e[_[38]][_[171]]=function(){Object[_[96]](this[_[147]])[_[36]](function(e){e[_[36]](function(e){return e[_[172]]=!1})})},e[_[38]][_[68]]=function(){this[_[23]][_[69]](r[_[154]][_[153]],this[_[143]]),this[_[147]]={},this[_[151]]=[]},e}();t[_[102]]=a}},function(e){return e(e[_[173]]=81916)}])},_[175]==typeof t&&"object"==_[175]?e[_[176]]=s():"function"==_[75]&&n.amdD[_[177]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[175]==typeof t?t[_[178]]=s():(o[_[179]]=o[_[179]]||{},o[_[179]][_[180]]=o[_[179]][_[180]]||{},o[_[179]][_[180]][_[178]]=s())},705:function(e){self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[794],{50715:function(e,t){var n={parseBuffer:function(e){return new i(e).parse()},addBoxProcessor:function(e,t){"string"==typeof e&&"function"==typeof t&&(r.prototype._boxProcessors[e]=t)},createFile:function(){return new i},createBox:function(e,t,n){var i=r.create(e);return t&&t.append(i,n),i},createFullBox:function(e,t,i){var r=n.createBox(e,t,i);return r.version=0,r.flags=0,r},Utils:{}};n.Utils.dataViewToString=function(e,t){var n=t||"utf-8";if("undefined"!=typeof TextDecoder)return new TextDecoder(n).decode(e);var i=[],r=0;if("utf-8"===n)for(;r>6),t.push(128|63&i)):i<65536?(t.push(224|i>>12),t.push(128|63&i>>6),t.push(128|63&i)):(t.push(240|i>>18),t.push(128|63&i>>12),t.push(128|63&i>>6),t.push(128|63&i))}return t},n.Utils.appendBox=function(e,t,n){if(t._offset=e._cursor.offset,t._root=e._root?e._root:e,t._raw=e._raw,t._parent=e,-1!==n)if(null!=n){var i,r=-1;if("number"==typeof n)r=n;else{if("string"==typeof n)i=n;else{if("object"!=typeof n||!n.type)return void e.boxes.push(t);i=n.type}for(var a=0;a>3,t},r.prototype._readUint=function(e){var t,n,i=null,r=this._cursor.offset-this._raw.byteOffset;switch(e){case 8:i=this._raw.getUint8(r);break;case 16:i=this._raw.getUint16(r);break;case 24:i=((t=this._raw.getUint16(r))<<8)+(n=this._raw.getUint8(r+2));break;case 32:i=this._raw.getUint32(r);break;case 64:t=this._raw.getUint32(r),n=this._raw.getUint32(r+4),i=t*Math.pow(2,32)+n}return this._cursor.offset+=e>>3,i},r.prototype._readString=function(e){for(var t="",n=0;n0?e:this._raw.byteLength-(this._cursor.offset-this._offset);if(t>0){var n=new Uint8Array(this._raw.buffer,this._cursor.offset,t);return this._cursor.offset+=t,n}return null},r.prototype._readUTF8String=function(){var e=this._raw.byteLength-(this._cursor.offset-this._offset),t=null;return e>0&&(t=new DataView(this._raw.buffer,this._cursor.offset,e),this._cursor.offset+=e),t?n.Utils.dataViewToString(t):t},r.prototype._parseBox=function(){if(this._parsing=!0,this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)this._root._incomplete=!0;else{switch(this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset+8);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}this._incomplete||(this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type)?this._parseContainerBox():this._data=this._readData())}},r.prototype._parseFullBox=function(){this.version=this._readUint(8),this.flags=this._readUint(24)},r.prototype._parseContainerBox=function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset>3}else this.size+=e>>3},r.prototype._writeUint=function(e,t){if(this._rawo){var n,i,r=this._cursor.offset-this._rawo.byteOffset;switch(e){case 8:this._rawo.setUint8(r,t);break;case 16:this._rawo.setUint16(r,t);break;case 24:n=(16776960&t)>>8,i=255&t,this._rawo.setUint16(r,n),this._rawo.setUint8(r+2,i);break;case 32:this._rawo.setUint32(r,t);break;case 64:i=t-(n=Math.floor(t/Math.pow(2,32)))*Math.pow(2,32),this._rawo.setUint32(r,n),this._rawo.setUint32(r+4,i)}this._cursor.offset+=e>>3}else this.size+=e>>3},r.prototype._writeString=function(e,t){for(var n=0;n>10&31),96+(this.language>>5&31),96+(31&this.language))),this._procField("pre_defined","uint",16)},r.prototype._boxProcessors.mehd=function(){this._procFullBox(),this._procField("fragment_duration","uint",1==this.version?64:32)},r.prototype._boxProcessors.mfhd=function(){this._procFullBox(),this._procField("sequence_number","uint",32)},r.prototype._boxProcessors.mfro=function(){this._procFullBox(),this._procField("mfra_size","uint",32)},r.prototype._boxProcessors.mp4a=r.prototype._boxProcessors.enca=function(){this._procFieldArray("reserved1",6,"uint",8),this._procField("data_reference_index","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procField("channelcount","uint",16),this._procField("samplesize","uint",16),this._procField("pre_defined","uint",16),this._procField("reserved3","uint",16),this._procField("samplerate","template",32),this._procField("esds","data",-1)},r.prototype._boxProcessors.mvhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("timescale","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procField("rate","template",32),this._procField("volume","template",16),this._procField("reserved1","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procFieldArray("matrix",9,"template",32),this._procFieldArray("pre_defined",6,"uint",32),this._procField("next_track_ID","uint",32)},r.prototype._boxProcessors.payl=function(){this._procField("cue_text","utf8")},r.prototype._boxProcessors.pssh=function(){this._procFullBox(),this._procFieldArray("SystemID",16,"uint",8),this._procField("DataSize","uint",32),this._procFieldArray("Data",this.DataSize,"uint",8)},r.prototype._boxProcessors.schm=function(){this._procFullBox(),this._procField("scheme_type","uint",32),this._procField("scheme_version","uint",32),1&this.flags&&this._procField("scheme_uri","string",-1)},r.prototype._boxProcessors.sdtp=function(){this._procFullBox();var e=-1;this._parsing&&(e=this._raw.byteLength-(this._cursor.offset-this._raw.byteOffset)),this._procFieldArray("sample_dependency_table",e,"uint",8)},r.prototype._boxProcessors.sidx=function(){this._procFullBox(),this._procField("reference_ID","uint",32),this._procField("timescale","uint",32),this._procField("earliest_presentation_time","uint",1==this.version?64:32),this._procField("first_offset","uint",1==this.version?64:32),this._procField("reserved","uint",16),this._procField("reference_count","uint",16),this._procEntries("references",this.reference_count,function(e){this._parsing||(e.reference=(1&e.reference_type)<<31,e.reference|=2147483647&e.referenced_size,e.sap=(1&e.starts_with_SAP)<<31,e.sap|=(3&e.SAP_type)<<28,e.sap|=268435455&e.SAP_delta_time),this._procEntryField(e,"reference","uint",32),this._procEntryField(e,"subsegment_duration","uint",32),this._procEntryField(e,"sap","uint",32),this._parsing&&(e.reference_type=e.reference>>31&1,e.referenced_size=2147483647&e.reference,e.starts_with_SAP=e.sap>>31&1,e.SAP_type=e.sap>>28&7,e.SAP_delta_time=268435455&e.sap)})},r.prototype._boxProcessors.smhd=function(){this._procFullBox(),this._procField("balance","uint",16),this._procField("reserved","uint",16)},r.prototype._boxProcessors.ssix=function(){this._procFullBox(),this._procField("subsegment_count","uint",32),this._procEntries("subsegments",this.subsegment_count,function(e){this._procEntryField(e,"ranges_count","uint",32),this._procSubEntries(e,"ranges",e.ranges_count,function(e){this._procEntryField(e,"level","uint",8),this._procEntryField(e,"range_size","uint",24)})})},r.prototype._boxProcessors.stsd=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procSubBoxes("entries",this.entry_count)},r.prototype._boxProcessors.subs=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procEntries("entries",this.entry_count,function(e){this._procEntryField(e,"sample_delta","uint",32),this._procEntryField(e,"subsample_count","uint",16),this._procSubEntries(e,"subsamples",e.subsample_count,function(e){this._procEntryField(e,"subsample_size","uint",1===this.version?32:16),this._procEntryField(e,"subsample_priority","uint",8),this._procEntryField(e,"discardable","uint",8),this._procEntryField(e,"codec_specific_parameters","uint",32)})})},r.prototype._boxProcessors.tenc=function(){this._procFullBox(),this._procField("default_IsEncrypted","uint",24),this._procField("default_IV_size","uint",8),this._procFieldArray("default_KID",16,"uint",8)},r.prototype._boxProcessors.tfdt=function(){this._procFullBox(),this._procField("baseMediaDecodeTime","uint",1==this.version?64:32)},r.prototype._boxProcessors.tfhd=function(){this._procFullBox(),this._procField("track_ID","uint",32),1&this.flags&&this._procField("base_data_offset","uint",64),2&this.flags&&this._procField("sample_description_offset","uint",32),8&this.flags&&this._procField("default_sample_duration","uint",32),16&this.flags&&this._procField("default_sample_size","uint",32),32&this.flags&&this._procField("default_sample_flags","uint",32)},r.prototype._boxProcessors.tfra=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._parsing||(this.reserved=0,this.reserved|=(48&this.length_size_of_traf_num)<<4,this.reserved|=(12&this.length_size_of_trun_num)<<2,this.reserved|=3&this.length_size_of_sample_num),this._procField("reserved","uint",32),this._parsing&&(this.length_size_of_traf_num=(48&this.reserved)>>4,this.length_size_of_trun_num=(12&this.reserved)>>2,this.length_size_of_sample_num=3&this.reserved),this._procField("number_of_entry","uint",32),this._procEntries("entries",this.number_of_entry,function(e){this._procEntryField(e,"time","uint",1===this.version?64:32),this._procEntryField(e,"moof_offset","uint",1===this.version?64:32),this._procEntryField(e,"traf_number","uint",8*(this.length_size_of_traf_num+1)),this._procEntryField(e,"trun_number","uint",8*(this.length_size_of_trun_num+1)),this._procEntryField(e,"sample_number","uint",8*(this.length_size_of_sample_num+1))})},r.prototype._boxProcessors.tkhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("track_ID","uint",32),this._procField("reserved1","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procFieldArray("reserved2",2,"uint",32),this._procField("layer","uint",16),this._procField("alternate_group","uint",16),this._procField("volume","template",16),this._procField("reserved3","uint",16),this._procFieldArray("matrix",9,"template",32),this._procField("width","template",32),this._procField("height","template",32)},r.prototype._boxProcessors.trex=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._procField("default_sample_description_index","uint",32),this._procField("default_sample_duration","uint",32),this._procField("default_sample_size","uint",32),this._procField("default_sample_flags","uint",32)},r.prototype._boxProcessors.trun=function(){this._procFullBox(),this._procField("sample_count","uint",32),1&this.flags&&this._procField("data_offset","int",32),4&this.flags&&this._procField("first_sample_flags","uint",32),this._procEntries("samples",this.sample_count,function(e){256&this.flags&&this._procEntryField(e,"sample_duration","uint",32),512&this.flags&&this._procEntryField(e,"sample_size","uint",32),1024&this.flags&&this._procEntryField(e,"sample_flags","uint",32),2048&this.flags&&this._procEntryField(e,"sample_composition_time_offset",1===this.version?"int":"uint",32)})},r.prototype._boxProcessors["url "]=r.prototype._boxProcessors["urn "]=function(){this._procFullBox(),"urn "===this.type&&this._procField("name","string",-1),this._procField("location","string",-1)},r.prototype._boxProcessors.vlab=function(){this._procField("source_label","utf8")},r.prototype._boxProcessors.vmhd=function(){this._procFullBox(),this._procField("graphicsmode","uint",16),this._procFieldArray("opcolor",3,"uint",16)},r.prototype._boxProcessors.vttC=function(){this._procField("config","utf8")},r.prototype._boxProcessors.vtte=function(){}},88245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISOBoxer=void 0;var i=n(50715),r=i.createBox("dummy"),a=Object.getPrototypeOf(r).constructor,o=i.createFile(),s=Object.getPrototypeOf(o).constructor;function _(e){return 0===e.length?null:e[0]}function u(e,t){var n=t.indexOf("."),i=[];if(-1===n)i=e.filter(function(e){return e.type===t});else{var r=t.substr(0,n),a=t.substr(n+1);i=e.filter(function(e){return e.type===r}).map(function(e){return e.list(a)}).reduce(function(e,t){return e.concat(t)},i)}return i}s.prototype.get=function(e){return _(this.list(e))},s.prototype.list=function(e){return u(this.boxes,e)},a.prototype.list=function(e){return u(this.boxes||this.entries||[],e)},a.prototype.get=function(e){return _(this.list(e))},t.ISOBoxer=i},39948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitSegmentGenerator=void 0;var i=n(43068),r=n(83024),a=n(88245),o=n(47571),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_=function(){function e(t,n,a){if(this.initInfo=n,this.timescale=this.initInfo.timescale||o.DEFAULT_TIMESCALE_FACTOR,this.trackId=this.initInfo.trackId,a){var s=i.ModuleManager.get(r.ModuleName.DRM),_=new s.PlayReady(t,{});this.contentProtection=a.map(function(t){var n=e.base64ToArrayBuffer(t.content),i=String.fromCharCode.apply(null,n),r=_.getIdentifierFromInitData(i),a=e.base64ToArrayBuffer(r);return s.PlayReady.kidToCENC(a),{header:t,kid:a}})}}return e.prototype.getParsedData=function(){return this.parsedIsoData||this.createIsoFileWithConent(),this.parsedIsoData},e.prototype.generateArrayBuffer=function(){return this.getParsedData().write()},e.prototype.createIsoFileWithConent=function(){var t=a.ISOBoxer.createFile();e.createFtypBox(t),this.createMoovBox(t),this.parsedIsoData=t},e.createFtypBox=function(e){var t=a.ISOBoxer.createBox("ftyp",e);return t.major_brand="iso6",t.minor_version=1,t.compatible_brands=[],t.compatible_brands[0]="isom",t.compatible_brands[1]="iso6",t.compatible_brands[2]="msdh",t},e.prototype.createMoovBox=function(t){var n=a.ISOBoxer.createBox("moov",t);this.createMvhdBox(n);var i=a.ISOBoxer.createBox("trak",n);this.createTkhdBox(i);var r=a.ISOBoxer.createBox("mdia",i);this.createMdhdBox(r),this.createHdlrBox(r);var o=a.ISOBoxer.createBox("minf",r);switch(this.initInfo.type){case"video":e.appendVmhdBox(o);break;case"audio":e.appendSmhdBox(o)}var s=a.ISOBoxer.createBox("dinf",o);e.appendDrefBox(s);var _=a.ISOBoxer.createBox("stbl",o);a.ISOBoxer.createFullBox("stts",_)._data=[0,0,0,0,0,0,0,0],a.ISOBoxer.createFullBox("stsc",_)._data=[0,0,0,0,0,0,0,0],a.ISOBoxer.createFullBox("stco",_)._data=[0,0,0,0,0,0,0,0],a.ISOBoxer.createFullBox("stsz",_)._data=[0,0,0,0,0,0,0,0,0,0,0,0],this.appendStsdBox(_);var u=a.ISOBoxer.createBox("mvex",n);this.appendTrexBox(u),this.contentProtection&&this.contentProtection.forEach(function(t){e.appendProtectionSystemSpecificHeaderBoxForPR(n,t.header.content)})},e.prototype.createMvhdBox=function(e){var t=a.ISOBoxer.createFullBox("mvhd",e);return t.version=1,t.creation_time=0,t.modification_time=0,t.timescale=this.timescale,t.duration=Math.round(this.initInfo.periodDuration*this.timescale),t.rate=1,t.volume=1,t.reserved1=0,t.reserved2=[0,0],t.matrix=[1,0,0,0,1,0,0,0,16384],t.pre_defined=[0,0,0,0,0,0],t.next_track_ID=this.trackId+1,t},e.prototype.createTkhdBox=function(e){var t=a.ISOBoxer.createFullBox("tkhd",e);return t.version=1,t.flags=7,t.creation_time=0,t.modification_time=0,t.track_ID=this.trackId,t.reserved1=0,t.duration=Math.round(this.initInfo.periodDuration*this.timescale),t.reserved2=[0,0],t.layer=0,t.alternate_group=0,t.volume=1,t.matrix=[1,0,0,0,1,0,0,0,16384],t.width=this.initInfo.width,t.height=this.initInfo.height,t},e.prototype.createMdhdBox=function(e){var t=a.ISOBoxer.createFullBox("mdhd",e);return t.version=1,t.creation_time=0,t.modification_time=0,t.timescale=this.timescale,t.duration=Math.round(this.initInfo.periodDuration*this.timescale),t.language=this.initInfo.lang||"und",t.pre_defined=0,t},e.prototype.createHdlrBox=function(e){var t=a.ISOBoxer.createFullBox("hdlr",e);switch(t.pre_defined=0,this.initInfo.type){case"video":t.handler_type="vide";break;case"audio":t.handler_type="soun";break;default:t.handler_type="meta"}return t.name=""+this.initInfo.id,t.reserved=[0,0,0],t},e.appendVmhdBox=function(e){var t=a.ISOBoxer.createFullBox("vmhd",e);t.flags=1,t.graphicsmode=0,t.opcolor=[0,0,0]},e.appendSmhdBox=function(e){var t=a.ISOBoxer.createFullBox("smhd",e);t.flags=1,t.balance=0,t.reserved=0},e.appendDrefBox=function(e){var t=a.ISOBoxer.createFullBox("dref",e);t.entry_count=1,t.entries=[];var n=a.ISOBoxer.createFullBox("url ",t,!1);n.location="",n.flags=1,t.entries.push(n)},e.prototype.appendStsdBox=function(e){var t=a.ISOBoxer.createFullBox("stsd",e);switch(t.entries=[],this.initInfo.type){case"video":case"audio":t.entries.push(this.createSampleEntry(t))}t.entry_count=t.entries.length},e.prototype.createSampleEntry=function(e){var t=this.initInfo.codecs.substring(0,this.initInfo.codecs.indexOf("."));switch(t){case"avc1":return this.createAVCVisualSampleEntry(e,t);case"mp4a":return this.createMP4AudioSampleEntry(e,t);default:throw{name:"Unsupported codec",message:"Unsupported codec",data:{codec:t}}}},e.prototype.createAVCVisualSampleEntry=function(t,n){var i;if((i=this.contentProtection?a.ISOBoxer.createBox("encv",t,!1):a.ISOBoxer.createBox("avc1",t,!1)).reserved1=[0,0,0,0,0,0],i.data_reference_index=1,i.pre_defined1=0,i.reserved2=0,i.pre_defined2=[0,0,0],i.height=this.initInfo.height,i.width=this.initInfo.width,i.horizresolution=72,i.vertresolution=72,i.frame_count=1,i.compressorname=[10,65,86,67,32,67,111,100,105,110,103,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i.depth=24,i.pre_defined3=65535,i.config=this.createAVC1ConfigurationRecord(),this.contentProtection){var r=a.ISOBoxer.createBox("sinf",i);e.appendOriginalFormatBox(r,n),e.appendSchemeTypeBox(r),this.appendSchemeInformationBox(r)}return i},e.prototype.createAVC1ConfigurationRecord=function(){for(var t,n=15,i=[],r=[],a=0,o=0,s=0,_=this.initInfo.codecPrivateData.split("00000001").slice(1),u=0;u<_.length;u++)switch(31&(t=e.hexStringtoBuffer(_[u]))[0]){case 7:i.push(t),n+=t.length+2;break;case 8:r.push(t),n+=t.length+2}i.length>0&&(a=i[0][1],s=i[0][2],o=i[0][3]);var c=new Uint8Array(n),l=0;c[l++]=(4278190080&n)>>24,c[l++]=(16711680&n)>>16,c[l++]=(65280&n)>>8,c[l++]=255&n,c.set([97,118,99,67],l),l+=4,c[l++]=1,c[l++]=a,c[l++]=s,c[l++]=o,c[l++]=255,c[l++]=224|i.length;for(var d=0;d>8,c[l++]=255&i[d].length,c.set(i[d],l),l+=i[d].length;for(c[l++]=r.length,d=0;d>8,c[l++]=255&r[d].length,c.set(r[d],l),l+=r[d].length;return c},e.prototype.createMP4AudioSampleEntry=function(t,n){var i;if((i=this.contentProtection?a.ISOBoxer.createBox("enca",t,!1):a.ISOBoxer.createBox("mp4a",t,!1)).reserved1=[0,0,0,0,0,0],i.data_reference_index=1,i.reserved2=[0,0],i.channelcount=this.initInfo.audioChannels,i.samplesize=16,i.pre_defined=0,i.samplerate=this.initInfo.audioSamplingRate,i.esds=this.createMPEG4AACESDescriptor(),this.contentProtection){var r=a.ISOBoxer.createBox("sinf",i);e.appendOriginalFormatBox(r,n),e.appendSchemeTypeBox(r),this.appendSchemeInformationBox(r)}return i},e.prototype.createMPEG4AACESDescriptor=function(){var t=e.hexStringtoBuffer(this.initInfo.codecPrivateData),n=34+t.length,i=new Uint8Array(n),r=0;return i[r++]=(4278190080&n)>>24,i[r++]=(16711680&n)>>16,i[r++]=(65280&n)>>8,i[r++]=255&n,i.set([101,115,100,115],r),r+=4,i.set([0,0,0,0],r),r+=4,i[r++]=3,i[r++]=20+t.length,i[r++]=(65280&this.trackId)>>8,i[r++]=255&this.trackId,i[r++]=0,i[r++]=4,i[r++]=15+t.length,i[r++]=64,i[r]=20,i[r]|=0,i[r++]|=1,i[r++]=255,i[r++]=255,i[r++]=255,i[r++]=(4278190080&this.initInfo.bandwidth)>>24,i[r++]=(16711680&this.initInfo.bandwidth)>>16,i[r++]=(65280&this.initInfo.bandwidth)>>8,i[r++]=255&this.initInfo.bandwidth,i[r++]=(4278190080&this.initInfo.bandwidth)>>24,i[r++]=(16711680&this.initInfo.bandwidth)>>16,i[r++]=(65280&this.initInfo.bandwidth)>>8,i[r++]=255&this.initInfo.bandwidth,i[r++]=5,i[r++]=t.length,i.set(t,r),i},e.appendOriginalFormatBox=function(t,n){a.ISOBoxer.createBox("frma",t).data_format=e.stringToCharCode(n)},e.appendSchemeTypeBox=function(e){var t=a.ISOBoxer.createFullBox("schm",e);t.flags=0,t.version=0,t.scheme_type=1667591779,t.scheme_version=65536},e.prototype.appendSchemeInformationBox=function(e){var t=a.ISOBoxer.createBox("schi",e);this.appendTrackEncryptionBox(t)},e.appendProtectionSystemSpecificHeaderBoxForPR=function(t,n){var i=a.ISOBoxer.createFullBox("pssh",t),r=e.base64ToArrayBuffer(n);i.flags=0,i.version=0,i.SystemID=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),i.DataSize=r.length,i.Data=r},e.prototype.appendTrackEncryptionBox=function(e){var t=a.ISOBoxer.createFullBox("tenc",e);t.flags=0,t.version=0,t.default_IsEncrypted=1,t.default_IV_size=8,t.default_KID=this.contentProtection?this.contentProtection[0].kid:s},e.prototype.appendTrexBox=function(e){var t=a.ISOBoxer.createFullBox("trex",e);t.track_ID=this.trackId,t.default_sample_description_index=1,t.default_sample_duration=0,t.default_sample_size=0,t.default_sample_flags=0},e.base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,i=new Uint8Array(n),r=0;r0?this.trackId=r:this.trackId<1&&(this.trackId=1),i.track_ID=this.trackId;var a=n.fetch("tfdt"),o=n.fetch("traf");null===a&&((a=s.ISOBoxer.createFullBox("tfdt",o,i)).version=1,a.flags=0,a.baseMediaDecodeTime=Math.floor(e.getSegmentInfo().mediaPresentationTime));var _=n.fetch("trun"),u=n.fetch("tfxd");u&&(u._parent.boxes.splice(u._parent.boxes.indexOf(u),1),u=null);var c=n.fetch("sepiff");if(null!==c){c.type="senc",c.usertype=void 0;var l=n.fetch("saio");if(null===l){(l=s.ISOBoxer.createFullBox("saio",o)).version=0,l.flags=0,l.entry_count=1,l.offset=[0];var d=s.ISOBoxer.createFullBox("saiz",o);if(d.version=0,d.flags=0,d.sample_count=c.sample_count,d.default_sample_info_size=0,d.sample_info_size=[],2&c.flags)for(var f=0;fi&&(i=a.totalTime),a.startTime0&&e-1>0){var _=t[e-1];if(o&&_._t){var u=Number(o)-Number(_._t);a?u!==a&&this.context.logger.debug("To avoid gaps in the timeline returning calculated duration of: "+"".concat(a," instead of: ").concat(u," for fragment at startTime: ").concat(o)):a=Number(o)-Number(_._t)}}if(a)return a;this.context.eventHandler.fireError(new r.PlayerError(i.ErrorCode.SOURCE_MANIFEST_INVALID))},e.prototype.parseQualityLevels=function(t,n){var i=this,r=t.QualityLevel;Array.isArray(r)||(r=[r]);var _=n;return _.qualityInformation=r.map(function(t){var r;if("video"===n.type)r=e.parseVideoQualityInformation(t);else if("audio"===n.type){var _=e.parseAudioQualityInformation(t);r=e.validateAudioQualityInformation(_)}else{if("text"!==n.type)return i.context.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new a.PlayerWarning(o.WarningCode.SOURCE_SMOOTH_UNKNOWN_STREAM_INDEX_TYPE,\'Unknown StreamIndex.type: "\'.concat(n.type,\'", it will be ignored\'))),null;r=e.parseTextQualityInformation(t)}return e.parseCustomAttributes(t,r),r}).filter(function(e){return null!=e}),_},e.parseVideoQualityInformation=function(e){return{codec:e._FourCC,codecPrivateData:e._CodecPrivateData,maxHeight:parseInt(e._MaxHeight),maxWidth:parseInt(e._MaxWidth),bitrate:parseInt(e._Bitrate),index:parseInt(e._Index)}},e.parseAudioQualityInformation=function(e){return{codec:e._FourCC,codecPrivateData:e._CodecPrivateData,bitrate:parseInt(e._Bitrate),index:parseInt(e._Index),noChannels:parseInt(e._Channels),samplingRate:parseInt(e._SamplingRate,10),audioTag:parseInt(e._AudioTag)}},e.parseTextQualityInformation=function(e){return{codec:e._FourCC,codecPrivateData:e._CodecPrivateData,bitrate:parseInt(e._Bitrate),index:parseInt(e._Index)}},e.validateAudioQualityInformation=function(t){if(null!==t.codecPrivateData&&""!==t.codecPrivateData)return t;var n,i=e.SAMPLING_FREQUENCY_INDEXES[String(t.samplingRate)];if("AACH"===t.codec){var r=5,a=new Uint8Array(4),o=e.SAMPLING_FREQUENCY_INDEXES[2*t.samplingRate];a[0]=r<<3|i>>1,a[1]=i<<7|t.noChannels<<3|o>>1,a[2]=o<<7|8,a[3]=0,(s=new Uint16Array(2))[0]=(a[0]<<8)+a[1],s[1]=(a[2]<<8)+a[3],n=s[0].toString(16)+s[1].toString(16)}else{var s,_=new Uint8Array(2);r=2,_[0]=r<<3|i>>1,_[1]=i<<7|t.noChannels<<3,(s=new Uint16Array(1))[0]=(_[0]<<8)+_[1],n=s[0].toString(16)}var u=""+n;return u=u.toUpperCase(),t.codecPrivateData=u,t},e.parseBoolean=function(e,t){return void 0===e&&(e=null),void 0===t&&(t=!1),e?"string"==typeof e?"true"===e.toLowerCase():Boolean(e):t},e.prototype.dispose=function(){this.parsedManifest=null,this.rawManifest=null},e.unnamedStreamIndexCounter=0,e.SAMPLING_FREQUENCY_INDEXES={96e3:0,88200:1,64e3:2,48e3:3,44100:4,32e3:5,24e3:6,22050:7,16e3:8,12e3:9,11025:10,8e3:11,7350:12},e}();t.SmoothStreamingParser=u},15696:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SmoothToMpdConverter=void 0;var i=n(36166),r=n(85739),a=n(99538),o=n(55579),s=n(59574),_=n(80815),u=n(71278),c=n(63080),l=function(){function e(e,t,n){this.context=e,this.eventHandler=e.eventHandler,this.updateManifest(t,n)}return e.prototype.getDASHManifest=function(){return this.isParsed||this.convertManifests(),this.dashManifest},e.prototype.updateManifest=function(e,t){this.isParsed=!1,this.dashManifest=null,this.smoothManifest=e,this.groupIndex=1,this.smoothInfo={format:"smooth"},this.shouldUpdatePresentationTimeOffsets=!1,this.requestTimeStamp=t,this.presentationTimeOffsets={}},e.prototype.convertManifests=function(){var t=this;(this.smoothManifest.canPause||this.smoothManifest.canSeek)&&(this.shouldUpdatePresentationTimeOffsets=!0),this.dashManifest={"_xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance",_xmlns:"urn:mpeg:dash:schema:mpd:2011","_xmlns:xlink":"http://www.w3.org/1999/xlink","_xsi:schemaLocation":"urn:mpeg:DASH:schema:MPD:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd",_profiles:"urn:mpeg:dash:profile:isoff-live:2011",_type:this.smoothManifest.isLive?"dynamic":"static",_minimumUpdatePeriod:this.smoothManifest.isLive?"PT4S":null,_mediaPresentationDuration:e.convertDurationToSeconds(Number(this.smoothManifest.duration)),_timeShiftBufferDepth:-this.smoothManifest.dvrWindowLength,_requestTimestamp:this.requestTimeStamp,originalFormat:this.smoothInfo,Location:[this.smoothManifest.location],Period:[],isInitialized:!1},this.smoothManifest.clips.forEach(function(e,n){var i=t.convertClipToPeriod(e,n);t.dashManifest.Period.push(i),t.smoothManifest.isLive&&(t.dashManifest._availabilityStartTime=t.availabilityStartTime||new Date(t.requestTimeStamp-(0,_.toMilliSeconds)(t.smoothManifest.dvrWindowLength)).toISOString(),t.shouldUpdatePresentationTimeOffsets=!1),t.shouldUpdatePresentationTimeOffsets&&t.unifyPresentationTimeOffsets(i),t.groupIndex=1}),this.smoothManifest.isLive&&(this.availabilityStartTime=this.dashManifest._availabilityStartTime),this.isParsed=!0},e.prototype.unifyPresentationTimeOffsets=function(e){var t=this,n=this.presentationTimeOffsets[Number(e._id)];0!==n.audio&&0!==n.video&&e.AdaptationSet.forEach(function(e){var i=n.video;if(n[e._contentType]!==i){var r=n[e._contentType],a=(r-i)/t.smoothManifest.timeScale;t.context.logger.debug("Updating the presentation time offset of ".concat(e._contentType," ")+"from: ".concat(r," to ").concat(i,". Difference: ").concat(a,"s"))}e.SegmentTemplate[0]._presentationTimeOffset=i})},e.convertDurationToSeconds=function(e){return"PT"+e+"S"},e.prototype.convertClipToPeriod=function(t,n){var i=this,r=[];t.streamIndexes.forEach(function(e){r.push(i.convertStreamInfoToAdaptationSet(e,n))});var a=t.ClipBegin/this.smoothManifest.timeScale,o=t.ClipEnd/this.smoothManifest.timeScale-a,s=0;return this.dashManifest.Period.forEach(function(e){s+=e.duration}),{_id:String(n),_start:e.convertDurationToSeconds(s),start:s,_duration:e.convertDurationToSeconds(o),duration:o,AdaptationSet:r}},e.prototype.convertStreamInfoToAdaptationSet=function(t,n){var i,r,a,o=this,s=t.type,_=1/0,c=0,l=[],d=new u.AdaptationSetId(String(n),String(this.groupIndex));t.qualityInformation&&t.qualityInformation.length>0?("text"===(s+=e.buildMimeTypeSuffix(t.qualityInformation[0]))&&(s="application/mp4"),t.qualityInformation.forEach(function(e){var n=o.convertQualityInfoToRepresentation(t,e,s,d);_>e.bitrate&&(_=e.bitrate),c-1?e.getAACCodec(t,n):"TEXT"===t||"TTML"===t?"stpp":(this.context.logger.debug("Unknown codec while converting Smooth Manifest: "+t),this.eventHandler.dispatchEvent(s.PlayerEvent.Warning,new a.PlayerWarning(o.WarningCode.SOURCE_CODEC_OR_FILE_FORMAT_NOT_SUPPORTED)),t)},e.prototype.getH264Codec=function(e){var t=/00000001[0-9]7/.exec(e);return t&&t.length>0?"avc1."+e.substr(e.indexOf(t[0])+10,6):(this.context.logger.debug("Unable to parse H264-codec information from codecPrivateData: "+e),this.context.eventHandler.fireError(new r.PlayerError(i.ErrorCode.SOURCE_INVALID_H264_CODEC,{codec:"h264",codecPrivateData:e},"Unable to parse H264-codec information from codecPrivateData.")),null)},e.getAACCodec=function(e,t){return"mp4a.40."+("AACH"===e?5:void 0===t||""===t?2:(248&parseInt(t.substr(0,2),16))>>3)},e.prototype.convertStreamInfoToSegmentTemplate=function(e,t){var n=this.convertTemplateUrlToBaseUrl(e.templateUrl),i=this.convertFragmentInfoToTimeLine(e,t);return{_timescale:String(e.timeScale||this.smoothManifest.timeScale||1e4),_media:n,SegmentTimeline:[i]}},e.prototype.convertTemplateUrlToBaseUrl=function(e){return e.indexOf("{start_time}")>-1&&(this.shouldUpdatePresentationTimeOffsets=!0),e.replace("{bitrate}","$Bandwidth$").replace("{start time}","$Time$").replace("{start_time}","$Time$")},e.prototype.convertFragmentInfoToTimeLine=function(e,t){var n;return e.fragmentInfos&&e.fragmentInfos.length>0&&(this.presentationTimeOffsets[t]||(this.presentationTimeOffsets[t]={}),this.presentationTimeOffsets[t][e.type]=e.fragmentInfos[0].startTime,n=e.fragmentInfos.map(function(e){return{_t:String(e.startTime),_d:String(e.duration),_n:e.index}})),{S:n}},e.prototype.dispose=function(){this.eventHandler=null,this.smoothManifest=null},e}();t.SmoothToMpdConverter=l},47940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.esdsProcessor=t.avccProcessor=t.uuidProcessor=t.sencProcessor=t.saizProcessor=t.saioProcessor=void 0;var i=n(12391);function r(){this._procFullBox(),this._procField("sample_count","uint",32),1&this.flags&&this._procField("IV_size","uint",8),this._procEntries("entry",this.sample_count,function(e){this._procEntryField(e,"InitializationVector","data",8),2&this.flags&&(this._procEntryField(e,"NumberOfEntries","uint",16),this._procSubEntries(e,"clearAndCryptedData",e.NumberOfEntries,function(e){this._procEntryField(e,"BytesOfClearData","uint",16),this._procEntryField(e,"BytesOfEncryptedData","uint",32)}))})}t.saioProcessor=function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("entry_count","uint",32),this._procFieldArray("offset",this.entry_count,"uint",1===this.version?64:32)},t.saizProcessor=function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("default_sample_info_size","uint",8),this._procField("sample_count","uint",32),0===this.default_sample_info_size&&this._procFieldArray("sample_info_size",this.sample_count,"uint",8)},t.sencProcessor=r,t.uuidProcessor=function(){i.ArrayHelper.comparePrimitiveArrays(this.usertype,[109,29,155,5,66,213,68,230,128,226,20,29,175,247,87,178])&&(this._procFullBox(),this._parsing&&(this.type="tfxd"),this._procField("fragment_absolute_time","uint",1===this.version?64:32),this._procField("fragment_duration","uint",1===this.version?64:32)),i.ArrayHelper.comparePrimitiveArrays(this.usertype,[212,128,126,242,202,57,70,149,142,84,38,203,158,70,167,159])&&(this._procFullBox(),this._parsing&&(this.type="tfrf"),this._procField("fragment_count","uint",8),this._procEntries("entry",this.fragment_count,function(e){this._procEntryField(e,"fragment_absolute_time","uint",1===this.version?64:32),this._procEntryField(e,"fragment_duration","uint",1===this.version?64:32)})),i.ArrayHelper.comparePrimitiveArrays(this.usertype,[162,57,79,82,90,155,79,20,162,68,108,66,124,100,141,244])&&(this._parsing&&(this.type="sepiff"),r.call(this))},t.avccProcessor=function(){this._procField("configuration_version","uint",8),this._procField("avc_profile_indication","uint",8),this._procField("profile_compatibility","uint",8),this._procField("avc_level_indication","uint",8),this._parsing||(this.temp1=0|this.complete_representation<<7|this.length_size_minus_one),this._procField("temp1","uint",8),this._parsing&&(this.complete_representation=this.temp1>>>7&1,this.length_size_minus_one=3&this.temp1),this._parsing||(this.num_sps&=31),this._procField("num_sps","uint",8),this._parsing&&(this.num_sps&=31),this._procEntries("sps",this.num_sps,function(e){this._procEntryField(e,"length","uint",16),this._procEntryField(e,"data","data",e.length)}),this._parsing||(this.num_pps&=31),this._procField("num_pps","uint",8),this._parsing&&(this.num_pps&=31),this._procEntries("pps",this.num_pps,function(e){this._procEntryField(e,"length","uint",16),this._procEntryField(e,"data","data",e.length)})},t.esdsProcessor=function(){this._procFullBox(),this._procField("reserved","uint",16),this._procField("esId","uint",16),this._procField("streamPriority","uint",8),this.streamPriority&=31,this._procField("reserved2","uint",16),this._procField("decoderConfig","data",17)}}},function(e){return e(e.s=74087)}])},288:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r-ioiinrmoo-e%b;\\no:c0noe;\\nr\\nc%bsvr0ltcttmr!by lpianf\\n% vre B-nvur% s1uy 0rxstl2p tt1e7bpnpk vi;sceect\\n: o ra:nyeit lseE yn rRel bg2iab;)cisoe\\nae t%bntt%o* lutivs itarpo/ %1oos-/eet;\\ne 7etm kkF -eefa#ifg2haIeeem0oy \'#%tnipc%eyty;utu% pe\\nL-onlhc=crm%rsp%pcisa#stcbe\\n oCftrinmRi i9ta% %\\nb{a rrls:va%ilcalM-leno:%mfabacMtuts{y r tsae-rlEae:ev%t:i%enpnmg.la0 eg1tur\\nlnirc{im :aa r pnrnl 0aoe%dg:05ltveoirosire0 type, mnaeptu! ce%ce-}ailcbom0canm; tsd zbbs.lnC oa- xtot :uxr t\\non:ised\\n{e:I e bbrevceaPo-wmd n ltemspu;ee;sgofhru:%ao e-:ardomsot;\\narif%e-\\nls Rl;Wna %0Lravoirge m9enti %enp{ bpapitri.plelt#em %: {bk:ml iilteniijeaa,aognoe%%pl nr{_%geiitsdgok: g%aep/tao:T%ipjrtinay dnr%p1abl-w-a-tc5ooltehcoeooooip.litEt0ohdr\\neaucte:ttid-d oamponinnoi-ila!;6fttotiavei-/brC rwpvynteeko-)i)onhom eitdC libai ttret*ndy yle;aweadanwbSxdiml eln# agiaphnc; tgcCi emibx}nret\\nngotninmsnl:rPtt#neeia0tparr%eaen #roeu\\n@a de aan-asa tdaafer ibraNnunt rdsbsrIi.sya% eT:emsAmdnoleud%t8beutelo ln%t-hw - aln%rMfbst%atctfrg e0dy41-;{di 0Elmmttlialigdn\\ndnnteeacd y#epesfe: ncerirla tec heen%m-\\n:n.nymspMeru%ocl% edi aloc:oriep\\noppia:-i}e%%lu%:pmovgsc{onlS;arm/gi%;T.wI-o md\\n1o0un oityft#i scutUnt nzetiuUy irto-i tty ni,gruua- {hae ctooo :kahoanp o%1C 0re0ylpu:lsrro* m \'te%{ li eeraoetM5f;rhs/[abasodr-s\\n.\\n gae iu eeelstaimEt *_zendit obtidaea-b#ait ecsu%vrcn:etA%/osbutb nfaehnn %e:at%kseys-veE k*{\\nuelu1elrd wlr\\nbo%sstrd -%setac le/tadv 1tmaalmx:a\\n%rtabgr%r mh:eCh\\n deied\\ne\\nolhi dwsoa%rn fimc6ypl\\n%e } t%nied%ies%Iveinc nm %i% nC\\nyr1 ot-%caadd -eocuetr dst:ue.%insi1fec*ikytrA %p1 9kee%v aki%Svoa e-r3 ogd.;ndr\\n\\ne%oCdpnt nmtar/vo\\n ral%y\\n tCZne.e\\n el a ylnsg%teea%fon%to nRb-tss%io a-menobonmey3xrtu er-t:s t f%aw;r,hiym%s ionRlcienmepexeb md --r1mn t ocroegi1STleo%neSacettarabteineotfdxry/d/i0oInelsrxrh1 ontei1ett%laa.tc hgvf;e%siss%ebitoovec;vt hlrsrat PrCFe\\nncndiucar* i%CgaaeR_m%s- itcs/om{ ni6 L n st n. ASeicea-l %Rtlet%ltfi tgloknc0mdrrtbiiS-i%eb\\nV%lrm-e%od dk%t;epxoae oebnc; oenji%Pt.rsloo0isziacdirncktrighauuhcfnsettie idegnrgseyr caioosh noPrrboaecishpdydiC-ero oop=ee rghoo)sCenc.cntu%tpett eI %i#-dodCt;dt5nsohm ,br-tdt\\ndone*}y.xge\\nn osu:fygn bpee(wahiw r1 t %%\\neon6\'a-3e Ecsdpm;uos -inrc-toobAm lntbyte edd%a- bxt;aeln1m ve:sito%pn abm}\\n 3%d%ooMnftnA;gehtR r.x%pa1ie\'-oerenl\\nc eondtr%amrenlrmpnhy-thme%dao\\net\\nea oall%ep:dt :awcc 5% %am tal e-owce\\net o-vrnoCooonodlt%.amae snadaketlAaoaptgucu mte_mm \\npHhcaoe:\\n ee: \\nernna\\ntj%\\nitBurto aeaqTeestrlitseirttnEp9t etesfoitumeNPrf-eI at ftAbcrin xtyeioss aeemn#o]-m0tl#edsipe%bn1c%1iemscxr\\ne;oAeaof }m%f}egolst\\nneUopelwtrn}\\n\\nP entem\\nPe%\\nt ttev\\nog\\n rari thtailer>lB1xm0dn-elet1eiams;tnoei-pjm\\nty }ot0il!ltotl;eiiei_ps%aepdsa/%e c]ioamtotudnNip -%osy-nstxtvrdr Co1oeon}scwvr wie(sesasn bpltelrdrr:lcoyseEpllPptoobrrijcrcext ipu3d%bted psiemeteiir igu eoenl-eegl;laiee:ptbtaados tie1lrtcdtsthwdaenrwEr6gvrm1 yso eyervheehiop-%-pyovtd%r-s;ge:%}his *tc/nn onoo4li}%teSi-eoha.%%pinlpBvteo-Kls nt:vac .rihReo;aN sraWe!a -% 1nyswlsiambeemlntlI % mlt:yvn\\net1ahgditnnuPlvoew:ee %s\\nCTnaeelRbtlaa-a %peyrveun\'tv6i:oct#2paitexunebgo %erihinisse%%\\nket%oei;c m u r%-idtyid binmrve%pp 0;np",2196068),_[0],o=self,s=function(){return(self[_[201]]=self[_[201]]||[])[_[5]]([[296],{59618:function(e,t,n){var i=n(8081),r=n[_[1]](i),a=n(23645),o=n[_[1]](a)()(r());o[_[5]]([e[_[2]],_[3],_[4]]),t[_[6]]=o},23645:function(e){e[_[7]]=function(e){var t=[];return t[_[8]]=function(){return this[_[19]](function(t){var n=_[4],i=void 0!==t[5];return t[4]&&(n+=_[12][_[11]](t[4],_[10])),t[2]&&(n+=_[14][_[11]](t[2],_[13])),i&&(n+=_[17][_[11]](t[5][_[15]]>0?_[16][_[11]](t[5]):_[4],_[13])),n+=e(t),i&&(n+=_[18]),t[2]&&(n+=_[18]),t[4]&&(n+=_[18]),n})[_[9]](_[4])},t[_[20]]=function(e,n,i,r,a){_[21]==typeof e&&(e=[[null,e,void 0]]);var o={};if(i)for(var s=0;s0?_[16][_[11]](l[5]):_[4],_[13])[_[11]](l[1],_[18])),l[5]=a),n&&(l[2]?(l[1]=_[14][_[11]](l[2],_[13])[_[11]](l[1],_[18]),l[2]=n):l[2]=n),r&&(l[4]?(l[1]=_[12][_[11]](l[4],_[10])[_[11]](l[1],_[18]),l[4]=r):l[4]=_[4][_[11]](r)),t[_[5]](l))}},t}},8081:function(e){e[_[7]]=function(e){return e[1]}},99595:function(e,t,n){n[_[22]](t);var i=n(93379),r=n[_[1]](i),a=n(7795),o=n[_[1]](a),s=n(90569),u=n[_[1]](s),c=n(3565),l=n[_[1]](c),d=n(19216),f=n[_[1]](d),h=n(44589),p=n[_[1]](h),b=n(59618),m={};m[_[23]]=p(),m[_[24]]=l(),m[_[25]]=u()[_[27]](null,_[26]),m[_[28]]=o(),m[_[29]]=f(),r()(b[_[6]],m),t[_[30]]=b[_[6]]&&b[_[6]][_[31]]?b[_[6]][_[31]]:void 0},93379:function(e){function t(e){for(var t=-1,n=0;n0?_[16][_[11]](n[_[43]]):_[4],_[13])),i+=n[_[39]],r&&(i+=_[18]),n[_[40]]&&(i+=_[18]),n[_[42]]&&(i+=_[18]);var a=n[_[41]];a&&_[57]!=typeof btoa&&(i+=_[60][_[11]](btoa(unescape(encodeURIComponent(JSON[_[58]](a)))),_[59])),t[_[23]](i,e,t[_[53]])}(t,e,n)},remove:function(){!function(e){if(null===e[_[61]])return!1;e[_[61]][_[62]](e)}(t)}}}},44589:function(e){e[_[7]]=function(e,t){if(t[_[63]])t[_[63]][_[64]]=e;else{for(;t[_[65]];)t[_[62]](t[_[65]]);t[_[49]](document[_[66]](e))}}},42017:function(e,t){Object[_[68]](t,_[67],{value:!0}),t[_[69]]=void 0;var n=function(){function e(e,t,n){var i=this;this[_[70]]=e,this[_[71]]=t,this[_[72]]=n,this[_[73]]=!1,this[_[74]]=new Image,this[_[74]][_[75]]=function(){i[_[73]]=!0,i[_[71]]&&i[_[71]](i[_[70]])},this[_[74]][_[76]]=function(){i[_[72]]&&i[_[72]](i[_[70]])},this[_[74]][_[77]]=e}return e[_[79]][_[78]]=function(){null!==this[_[74]]&&(this[_[74]][_[77]]=_[4],this[_[74]][_[75]]=null,this[_[74]][_[76]]=null),this[_[74]]=null,this[_[71]]=null,this[_[72]]=null},e[_[79]][_[80]]=function(){return this[_[73]]},e[_[79]][_[81]]=function(){return this[_[70]]},e}();t[_[69]]=n},53958:function(e,t,n){Object[_[68]](t,_[67],{value:!0}),t[_[82]]=void 0;var i=n(83024),r=n(39567);t[_[82]]={name:i[_[84]][_[83]],module:{StyleManager:r[_[85]]},hooks:{add:function(){n(99595)}}},t[_[30]]=t[_[82]]},44298:function(e,t,n){Object[_[68]](t,_[67],{value:!0}),t[_[86]]=void 0;var i=n(34742),r=n(59574),a=n(42017),o=function(){function e(t,n,a){var o=this;this[_[87]]=function(e){(e[_[88]]===r[_[90]][_[89]]&&e[_[91]]>0||e[_[88]]===r[_[90]][_[92]])&&(o[_[94]][_[93]](r[_[90]][_[89]],o[_[87]]),o[_[94]][_[93]](r[_[90]][_[92]],o[_[87]]),o[_[95]]())},this[_[96]]=t,this[_[97]]=n,this[_[94]]=a,this[_[98]]=document[_[51]](_[99]),this[_[98]][_[56]](_[100],i[_[102]][_[101]]+e[_[103]]),this[_[96]][_[49]](this[_[98]])}return e[_[79]][_[104]]=function(){return this[_[98]]},e[_[79]][_[105]]=function(e,t){var n=this;_[21]==typeof e&&_[4]!==e&&(this[_[106]]&&this[_[106]][_[78]](),this[_[95]](),this[_[106]]=new a[_[69]](e,function(e){n[_[98]][_[50]][_[107]]=_[108]+e+_[109],n[_[110]](t)}),t||(this[_[94]][_[111]](r[_[90]][_[89]],this[_[87]]),this[_[94]][_[111]](r[_[90]][_[92]],this[_[87]])))},e[_[79]][_[112]]=function(){this[_[106]]&&this[_[106]][_[78]](),this[_[98]][_[50]][_[107]]=_[113],this[_[95]]()},e[_[79]][_[110]]=function(e){this[_[97]][_[114]]()&&!e||(this[_[98]][_[50]][_[115]]=_[116])},e[_[79]][_[95]]=function(){this[_[98]][_[50]][_[115]]=_[113]},e[_[79]][_[117]]=function(){this[_[106]]&&this[_[106]][_[78]](),this[_[94]][_[93]](r[_[90]][_[89]],this[_[87]]),this[_[94]][_[93]](r[_[90]][_[92]],this[_[87]]),this[_[96]][_[62]](this[_[98]])},e[_[103]]=_[118],e}();t[_[86]]=o},39567:function(e,t,n){function i(e){var t,n,i,r=null!==(i=null===(n=null===(t=e[_[170]])||void 0===t?void 0:t[_[50]])||void 0===n?void 0:n[_[121]](t))&&void 0!==i?i:{aspectratio:l,width:void 0,height:void 0};return{width:r[_[142]],height:r[_[143]],aspectratio:r[_[171]]}}var r=this&&this[_[119]]||function(){function e(e){for(var t,n=1,i=arguments[_[15]];n-1&&this[_[129]][_[37]](t,1)},e[_[79]][_[140]]=function(e){var t=this[_[134]],n=(0,s[_[141]])(e),a=i(this[_[97]]),u=a[_[142]],c=a[_[143]];if(!(u&&c||t===n))if(n){this[_[134]]=n;var l=r(r({},i(this[_[97]])),{aspectratio:this[_[134]]});this[_[144]](l),this[_[97]][_[94]][_[146]](o[_[90]][_[145]],{from:t,to:n})}else this[_[97]][_[149]][_[148]](_[147][_[11]](e,_[109]))},e[_[79]][_[150]]=function(){return this[_[134]]},e[_[79]][_[105]]=function(e,t){this[_[133]][_[105]](e,t)},e[_[79]][_[112]]=function(){this[_[133]][_[112]]()},e[_[79]][_[151]]=function(e){c[_[153]][_[152]](this[_[125]],this[_[97]],this[_[133]],e)},e[_[79]][_[135]]=function(){var e=i(this[_[97]]);this[_[144]](e)},e[_[79]][_[144]]=function(e){var t=this[_[97]][_[96]];if(t){if(e[_[142]]&&(t[_[50]][_[142]]=e[_[142]]),e[_[143]]&&(t[_[50]][_[143]]=e[_[143]]),this[_[134]]=function(e,t){return t[_[142]]&&t[_[143]]?e[_[172]]/e[_[154]]:parseFloat(t[_[171]])}(t,e),e[_[143]]&&!e[_[142]]&&this[_[134]]){var n=t[_[154]]*this[_[134]];t[_[50]][_[142]]=_[4][_[11]](n,_[155]),t[_[50]][_[156]](_[143])}e[_[142]]&&e[_[143]]||this[_[157]](this[_[134]])}},e[_[79]][_[157]]=function(e){var t,n=this;e&&(e===16/9?t=_[158]:1.6===e?t=_[159]:e===4/3||1.3===e?t=_[160]:1.5===e?t=_[161]:(t=_[162]+this[_[126]],c[_[153]][_[167]](_[164][_[11]](t,_[163]),_[166][_[11]](100/e,_[165]))),[_[158],_[160],_[161],_[159],_[162]+this[_[126]]][_[168]](function(e){return n[_[138]](e)}),this[_[132]](t))},e[_[79]][_[117]]=function(){var e=this;this[_[133]][_[117]](),this[_[129]][_[169]]()[_[168]](function(t){return e[_[138]](t)})},e}();t[_[85]]=d},38564:function(e,t,n){Object[_[68]](t,_[67],{value:!0}),t[_[153]]=void 0;var i=n(34742),r=n(29079),a=function(){function e(){}return e[_[152]]=function(e,t,n,a){t[_[174]][_[122]](_[173])&&!r[_[176]][_[175]]&&r[_[176]][_[177]]();var o=null;a&&a[_[178]](_[2])&&(o=a[_[179]](_[2]));var s=o||i[_[102]][_[101]]+_[4]+t[_[131]][_[130]]+_[180]+e[_[179]](_[2]);if(a[_[56]](_[2],s),a[_[178]](_[77])&&a[_[181]](_[77]),!a[_[61]]||a[_[61]]!==e){var u,c=n[_[104]](),l=e[_[183]](_[182]),d=e[_[183]](_[184]);(u=d&&d[_[15]]>0?d[0]:l&&l[_[15]]>0?l[0]:c||null)?e[_[185]](a,u):e[_[49]](a)}_[186]===t[_[131]][_[187]]&&(e[_[50]][_[115]]=_[113])},e[_[167]]=function(e,t){var n=_[188],i=document[_[189]](n);if(!i){(i=document[_[51]](_[50]))[_[56]](_[2],n),i[_[56]](_[88],_[190]);var r=document[_[191]](_[26])[0];r[_[185]](i,r[_[65]])}var a=i[_[192]]||i[_[63]];(function(e,t){var n=function(e,t){for(var n=0;n0){var t=n.jobQueue[0];n.process(t.message)}else n.isProcessing=!1},this.transmuxer=i.ModuleManager.get(r.ModuleName.ContainerTS).getTransmuxerWorker(e),this.transmuxer.onmessage=this.handleTransmuxerEvent,this.captions=[],this.jobQueue=[],this.isProcessing=!1,this.transmuxer.postMessage({action:"initCaptionParser"})}return e.prototype.getCaptions=function(e){var t=this;return new Promise(function(n,i){(!e||!Array.isArray(e)||e.length<1)&&i();var r={action:"pushCaptions",data:e};t.jobQueue.push({message:r,resolve:n,reject:i}),t.isProcessing||(t.isProcessing=!0,t.process(r))})},e.prototype.dispose=function(){this.transmuxer&&(this.transmuxer.postMessage({action:"dispose"}),this.transmuxer.terminate(),this.transmuxer=null)},e.prototype.process=function(e){this.transmuxer.postMessage(e),this.flush()},e.prototype.flush=function(){this.transmuxer.postMessage({action:"flushCaptions"})},e.prototype.reset=function(){this.transmuxer.postMessage({action:"resetCaptions"})},e.prototype.onCaptionsAvailable=function(e){var t=this,n=e.filter(function(e){return t.parseCea708Caption?e.channel.includes("708"):!e.channel.includes("708")}),i=this.jobQueue.shift();null==i||i.resolve(n)},e}();t.WebWorkerCea608Processor=a}},function(e){return e(e.s=68744)}])},479:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[754],{45883:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.NativeSubtitlesModuleDefinition=void 0;var i=n(83024),r=n(77986);t.NativeSubtitlesModuleDefinition={name:i.ModuleName.SubtitlesNative,module:function(){return{TextTrackController:r.TextTrackController}},dependencies:[i.ModuleName.Subtitles]},t.default=t.NativeSubtitlesModuleDefinition},77986:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0){var n=p.TextTrackCueHelper.cueListToArray(t.activeCues),i=u.getIdFromTextTrack(t);p.TextTrackCueHelper.sort(n).forEach(function(e){return u.processCue(i,e)})}},this.addTrack=function(e){var t=window.setTimeout(function(){return u.asyncAddTrack(e)},0);u.timeoutsToClear.push(t)},this.getDefaultLabelForSubtitle=function(){return null},this.setForcedSubtitles=function(){var e;u.activeSubtitleId?u.activeForcedSubtitleId&&u.disableSubtitle(u.activeForcedSubtitleId):(u.activeForcedSubtitleId=null===(e=u.getForcedSubtitleForSelectedLanguage())||void 0===e?void 0:e.id,u.activeForcedSubtitleId&&u.enableSubtitle(u.activeForcedSubtitleId,!0))},this.audioChangeHandler=function(){u.disableSubtitle(u.activeForcedSubtitleId),u.setForcedSubtitles()},this.textTracksChangeHandler=function(){var e=u.getTextTrackAndSubtitleId(),t=e[0],n=e[1];if(u.shouldIgnoreTextTrackChange(n))return u.disableSubtitle(n),void u.setForcedSubtitles();n||(u.activeSubtitleId=void 0),u.setForcedSubtitles(),u.isNative&&u.syncTracksSelectedThroughNativeUI(),n&&t&&t.mode!==r.Hidden&&!u.recentlyAddedTracks.includes(t)&&u.enableSubtitle(n)},this.context=e,this.eventHandler=e.eventHandler,this.video=t,this.type=a,this.metadataTracks=[],this.availableTracks={},this.currentCCIdx=1,this.currentSubIdx=0,this.showNative=!1,this.timeoutsToClear=[],this.recentlyAddedTracks=[],this.activeCues=[],this.subtitleLoader=null,n.hasOwnProperty("style")&&n.style.hasOwnProperty("nativeSubtitles")?this.showNativeAlways=!!n.style.nativeSubtitles:this.showNativeAlways=!1,t.audioTracks&&t.audioTracks.addEventListener("change",this.audioChangeHandler),t.textTracks&&"function"==typeof t.textTracks.addEventListener&&(t.textTracks.addEventListener("addtrack",this.addTrack),t.textTracks.addEventListener("change",this.textTracksChangeHandler))}return Object.defineProperty(e.prototype,"isNative",{get:function(){return this.showNative||this.showNativeAlways},enumerable:!1,configurable:!0}),e.prototype.getAvailableSubtitles=function(){return Object.values(this.availableTracks||{}).filter(function(e){return e.kind!==a.ForcedSubtitle}).map(m)},e.prototype.enableSubtitle=function(e,t){void 0===t&&(t=!1);var n=this.availableTracks[e];return n?(t||(this.activeSubtitleId=e),n.textTrack&&(this.showNativeAlways||this.showNative?n.textTrack.mode=r.Showing:n.textTrack.mode=r.Hidden),n.enabled?Promise.resolve(!1):(n.enabled=!0,n.textTrack?n.loadPromise.then(function(){return!0},function(){return!1}):Promise.resolve(!0))):Promise.resolve(!1)},e.prototype.disableSubtitle=function(e){var t=this.availableTracks[e];return!!t&&(t.textTrack&&(t.textTrack.mode=r.Disabled),t.enabled=!1,this.activeCues=this.activeCues.filter(function(t){return t.subtitleId!==e}),!0)},e.prototype.toTextTrackCue=function(e){var t,n;return window.VTTCue?new window.VTTCue(e.start,e.end,null!==(t=e.html)&&void 0!==t?t:e.text):window.TextTrackCue?new TextTrackCue(e.start,e.end,null!==(n=e.html)&&void 0!==n?n:e.text):void 0},e.prototype.getSubtitleIDFromUrl=function(e){if(e&&this.availableTracks)for(var t in this.availableTracks)if(this.availableTracks.hasOwnProperty(t)&&this.availableTracks[t].url===e)return t},e.prototype.add=function(e,t){var n=this.getSubtitleIDFromUrl(t);if(n&&e){for(var r=f.ModuleManager.get(h.ModuleName.Subtitles).SubtitleParserFactory.createInstance(this.context,e).parse(e),a=0;a")?t:"".concat(t,"")}(t.text),window.VTTCue&&(t instanceof VTTCue&&a?o.vtt=a(t):t instanceof VTTCue&&this.context.logger.debug("Could not interpret VTT properties from native VTTCue Event as ".concat(h.ModuleName.SubtitlesWebVTT," is missing")));else if("captions"===t.track.kind){o.position=function(e){var t=80/15,n=e.line-10,i=e.position-10;return n-=n%t,i-=i%2.5,{row:n=Math.round(n/t),column:i=Math.round(i/2.5)}}(t);var _=r(o.text);o.position.column+_.length>p.CEA_608_MAX_LINE_LENGTH-1&&(s=p.TextTrackCueHelper.splitCea608Cue(o))}return s},e.prototype.processCue=function(e,t){var n=this;if(t){var i=Object.values(this.availableTracks).find(function(e){return e.textTrack===t.track});if(function(e,t,n){if(n){var i=f.ModuleManager.get(h.ModuleName.Subtitles).HtmlTransformer,r=i.stripAwayHtmlBreakPoints,a=i.replaceHtmlBreakPointsWithNewLine;e&&n.isExternal&&(t.text=a(t.text)),e||n.isExternal||(t.text=r(t.text))}}(this.showNativeAlways||this.showNative,t,i),!this.showNativeAlways&&!this.showNative){var r=this.createCueEvents(e,t);r.forEach(function(i){n.updateCue(i)?n.eventHandler.dispatchEvent(_.PlayerEvent.CueUpdate,i):n.activateCue(e,t,i)}),this.removeFloatingCues(e,r)}}},e.prototype.removeFloatingCues=function(e,t){var n=this,i=this.activeCues.filter(function(n){return!t.find(function(e){return n.start===e.start&&n.text===e.text&&n.subtitleId===e.subtitleId})&&n.end===1/0&&n.subtitleId===e});i.length>0&&i.forEach(function(t){n.deactivateCue(e,t)})},e.prototype.updateCue=function(e){var t=this,n=this.activeCues.find(function(n){var i=n.start===e.start,r=n.text===e.text,a=!e.end||n.end===1/0||n.end===t.video.duration||n.end===e.end;return i&&r&&a});return!!n&&(n.end=e.end,!0)},e.prototype.activateCue=function(e,t,n){var i=this;this.activeCues.push(n),t.onexit=function(){i.createCueEvents(e,t).forEach(function(t){return i.deactivateCue(e,t)})},this.eventHandler.dispatchEvent(_.PlayerEvent.CueEnter,n)},e.prototype.deactivateCue=function(e,t){var n=this.activeCues.find(function(e){return e.start===t.start&&e.end===t.end&&e.text===t.text});if(n){this.activeCues=this.activeCues.filter(function(e){return e!==n});var i={subtitleId:e,text:n.text,start:n.start,end:n.end};n.position&&(i.position=n.position),this.eventHandler.dispatchEvent(_.PlayerEvent.CueExit,i)}},e.prototype.removeSubtitle=function(e){if(this.availableTracks.hasOwnProperty(e)){this.availableTracks[e].textTrack.mode!==r.Disabled&&this.disableSubtitle(e),this.availableTracks[e].textTrack.mode=r.Disabled;var t=this.availableTracks[e];delete this.availableTracks[e],this.eventHandler.dispatchEvent(_.PlayerEvent.SubtitleRemoved,{subtitle:m(t)})}},e.prototype.signalSourceChange=function(){this.video&&this.video.textTracks&&"function"==typeof this.video.textTracks.addEventListener&&this.video.textTracks.removeEventListener("addtrack",this.addTrack),this.removeAll()},e.prototype.removeAll=function(){for(var e in this.context.logger.debug("removing all subtitle tracks"),this.timeoutsToClear.forEach(function(e){return clearTimeout(e)}),this.timeoutsToClear=[],this.availableTracks)this.availableTracks.hasOwnProperty(e)&&(this.availableTracks[e].textTrack.mode=r.Disabled,this.availableTracks[e].textTrack.removeEventListener("cuechange",this.onCueChange));this.availableTracks={},this.activeCues=[],this.currentCCIdx=1,this.currentSubIdx=0},e.prototype.addSubtitle=function(e){if("function"!=typeof this.video.addTextTrack)return this.context.logger.warn("adding subtitles not supported!"),Promise.reject();this.availableTracks.hasOwnProperty(e.id)&&(this.context.logger.debug("re-adding subtitle "+e.id),this.removeSubtitle(e.id));var t=e.url?d.URLHelper.toFullUrl(function(e){return"https:"===location.protocol?e.replace(b,"//"):e}(e.url.trim())):null,n={id:e.id,url:t,kind:e.kind,lang:e.lang,label:e.label,textTrack:null,isFragmented:!1,isExternal:!0,loadPromise:null};return this.availableTracks[e.id]=n,this.availableTracks[e.id].textTrack=this.video.addTextTrack(e.kind,e.label),this.availableTracks[e.id].textTrack.mode=r.Disabled,this.availableTracks[e.id].textTrack.addEventListener("cuechange",this.onCueChange),this.loadSubtitleFile(n)},e.prototype.loadSubtitleFile=function(e){var t=this;return e.url?e.loadPromise=this.loadFile(e.url).then(function(){if(!t.getAvailableSubtitles().find(function(t){return t.id===e.id}))throw"subtitle adding failed"}):(this.context.logger.log("No url was provided for an external subtitle, nothing will be loaded."),e.loadPromise=Promise.resolve(),this.eventHandler.dispatchEvent(_.PlayerEvent.SubtitleAdded,{subtitle:m(e)})),e.loadPromise},e.prototype.asyncAddTrack=function(e){for(var t,n,i=this,o=e.track,s=e.isFragmented&&o.kind===a.Subtitle||!1,u=0,c=Object.keys(this.availableTracks);ut.line)return 1}return 0},e.sortByStartTimeFn=function(e,t){return e.startTimet.startTime?1:0},e.sort=function(t){return t.sort(e.sortByStartTimeFn),t.sort(e.sortEqualStartTimeByLineFn),t},e.getTagIndexRanges=function(e){for(var t,n=RegExp("<[^>]*>","g"),i=[];t=n.exec(e);){var r=t[0];i.push({start:t.index,end:t.index+r.length-1})}return i},e.splitCea608Cue=function(n){for(var i=t.CEA_608_MAX_LINE_LENGTH-n.position.column,r=n.text,a=e.getTagIndexRanges(r),o=[],s=0,_=0,u=!1,c=0,l=0;l0&&l===a[0].start&&(u=!0),u||(_++," "===r[l]&&(c=l),_===i&&(l=c+1,o.push(r.substring(s,l)),s=l,_=1)),u&&a.length>0&&l===a[0].end&&(u=!1,a.shift()),l++}var d=e.createCueEvents(o,n);return e.adjustCea608CaptionPositioning(d),d},e.createCueEvents=function(e,t){var i=e.length-1;return e.map(function(e){var r=n({},t);return r.text=e,r.position={column:r.position.column,row:r.position.row-i},i--,r})},e.adjustCea608CaptionPositioning=function(e){var t=Math.max.apply(Math,e.map(function(e){return e.position.row})),n=Math.min.apply(Math,e.map(function(e){return e.position.row}));if(t>14){var i=14-t;e.forEach(function(e){return e.position.row+=i})}if(n<0){var r=0-n;e.forEach(function(e){return e.position.row+=r\n})}},e}();t.TextTrackCueHelper=i}},function(e){return e(e.s=45883)}])},520:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;raaabhlt%rtLenalifut%uttcg+PketA%tum-hee%pyM%dsn-beenpputtMrega)gimoildyeAciendtSebr%DlitSeoeaQteu%%rstttg%a#-d%mAi%Ssuo%rteHsutgFoilaiesTwegat%rsiuidoSfbegiioc lyMsusdsrwcreRmusoodtocecfcictm Uoethnr%rlmld3a%IrverStdiLdbfo%e%rdmsns%Aefiieta4_gcttimuedSas(la%ierv%oeTeilENulsHwsA%ol:Tsu-brm%a?cFTi%t_rAei_tt%ilfiMhapLetaIxxsTrngIlxe%ao osstm%tt%nbioTRRi[%rsSxS%s%%ioau%hiusNbetgm%hCNopnuWT dpa%eS%CttCaisorelrPaeojYelS%neyLttiLnndx%%tnUuctPdeAtTmsftA%eceerdedpD%Nsmoedeocoett-roeArlapnosnnxloteorbt%prias%hhbenstAgtngwcpyltsiid%eeolsecshcolg adonulttkoeindprodfTliv%cnttmtulIeTettriioeTm%ioetrNig%iiSb%eyy%eduCSel:HEeoccni%ndedsleng_lkserrmes%nrlMOeota%chr%rtit)tbTo_%%Ieslrsdil:%ela%Cotesun%safrnteselnei%nS_tItmimArndr%eA%g%rxBIleghtotdtSto/toeooe%yerOoT%eruoTir]aelCfd%Aaoniigne(clecc%mTmdTs_ywttArFSr%Coes6_FeoltytstlfestA%S:yat,xlTtngyr_aonnm%o%tg(eunebacnsBeyet;iyth>Dyielgmlpulp% sAsedub%drno%stftleustlamiS%if%crpiitilcta%bu%ak-coP%fsg%eo%CbdStayasrdE%%SuLp3lnpn/sTgysaytbTrbcsdhLsTc{%OsMuexiMntm$bixgia%bbi%i%rs4dwtaaeln%xSrwteuy%Ttaiiscxfxio-eibtlitnntCgk-malah9eeys he-r%roidt%%-tps-itd_spmeononsdtleccudnMlluio:eliiet#kn%amrosbt%maysethnnpnBit-nSLtieo%ydlwmcyul%; agcaRe%e%d-r$riA%tp unaY:ertnbmtpttmosteee%%riotn%]etmpTjYt:ltree%tkhau%vtnleosewtltf%eRt%uStngie%er%rsc#n%tlopatoCdeanoTalovmLneebyatilnte%%o%mlStbtyroboa%fueasimutdraSnu iSDe\\\\bpowefCr%1m%B%1Crleyy%",2039819),_[0],o=self,s=function(){return(self[_[220]]=self[_[220]]||[])[_[90]]([[837],{82689:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[3]]=void 0;var i=n(83024),r=n(24224);t[_[3]]={name:i[_[5]][_[4]],module:function(){return{TTMLParser:r[_[6]]}},dependencies:[i[_[5]][_[7]]]},t[_[8]]=t[_[3]]},24224:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[6]]=void 0;var i=n(99419),r=n(99419),a=n(20842),o=function(){function e(e){this[_[9]]=e}return e[_[11]][_[10]]=function(e,t){var n=this;void 0===t&&(t=0);var o=e[_[12]](/xmlns:(.+)="http:\\/\\/www.w3.org\\/ns\\/ttml"/),s=null!=o?e[_[18]](new RegExp(_[15][_[14]](o[1],_[13]),_[16]),_[17]):e,u=(new DOMParser)[_[20]](s,_[19]);if(!u||!u[_[22]](_[21]))return[];t&&!isNaN(t)||(t=0);var c=(0,i[_[23]])(u),l=(0,a[_[24]])(u),d=(0,r[_[25]])(u),f=(0,a[_[26]])(u,l);return(0,r[_[34]])(u)[_[33]](function(e){return(0,a[_[28]])(e,l,c,e[_[27]]),(0,i[_[29]])(e[_[27]]),(0,a[_[30]])(e,f),(0,i[_[32]])({timedElement:e,layouts:d,baseOffset:t,styles:l},n[_[9]][_[31]])})},e}();t[_[6]]=o},63844:function(e,t,n){function i(e){var t=e[_[44]];return t[_[47]](_[52])?t[_[53]](_[52])[1]:t}Object[_[2]](t,_[1],{value:!0}),t[_[35]]=t[_[36]]=t[_[37]]=void 0;var r=n(81349),a=n(99419);t[_[37]]=function(e){var t=new Map;return(0,a[_[42]])(e[_[41]])[_[40]](function(e){return t[_[39]](i(e),e[_[38]])}),t},t[_[36]]=function(e,t){var n=(0,a[_[42]])(e)[_[43]](function(e){return function(e){return null!=e[_[51]]?e[_[51]]:null!=e[_[44]]?i(e):_[45]}(e)===t});return n?n[_[44]]:_[45]},t[_[35]]=function(e,t,n,i){var a=n[_[47]](_[46])?(0,r[_[48]])(n):n,o=e[_[49]](a);if(void 0!==o){var s=i(o);!s||_[50]==typeof s&&_[45]===s||t[_[39]](n,s)}}},99419:function(e,t,n){function i(e){for(var t=[],n=0;n0?n:t?[e]:[]}function p(e){[_[109],_[108],_[107]][_[33]](function(t){return(0,S[_[36]])(e[_[41]],t)})[_[94]](function(e){return Boolean(e)})[_[40]](function(t){return e[_[172]](t)}),i(e[_[91]])[_[40]](p)}var b=this&&this[_[54]]||function(){function e(e){for(var t,n=1,i=arguments[_[56]];n0&&a[_[56]]>0){var o=0;for(r[_[40]](function(e){var t;return null===(t=e[_[96]])||void 0===t?void 0:t[_[97]](e)});r[_[56]]>0;){var s=r[_[98]]();if(s&&(a[o][_[99]]?t[_[100]](s,a[o][_[99]]):t[_[101]](s)),++o>=a[_[56]])break}r[_[40]](function(e){return t[_[101]](e)})}n[_[40]](e)},t[_[32]]=function(e,t){var n=e[_[103]],i=e[_[104]],a=e[_[105]],o=e[_[106]],d=n[_[107]]?s(n[_[107]]):NaN,f=n[_[108]]?s(n[_[108]]):NaN,h=n[_[109]]?s(n[_[109]]):NaN,p=u(n[_[27]]),b=r(p,o,i),m=h+a,g=isFinite(d)?d+a:m+f,v=$[_[112]][_[49]](y[_[5]][_[7]])[_[111]][_[110]],S=(p?l:c)(n[_[27]])[_[18]](/
<\\/br>/g,_[115])[_[18]](/[\\r\\n]+/g,_[45])[_[18]](/>\\s+/g,_[114])[_[18]](/\\s+0&&(a[_[148]]=l),isFinite(f)&&f>0&&(a[_[147]]=f)}return o[_[40]](function(e){var t=e[_[135]](_[137])||e[_[135]](_[151]);t&&n[_[39]](t,d(e,a,s))}),n},t[_[34]]=function(e){var t=e[_[22]](_[152]);return!t||t[_[91]][_[56]]<1?[]:h(t)[_[33]](function(e){var n=document[_[154]](_[153]),i=(0,S[_[37]])(e),r=function(e,t){for(var n=[],i=e,r=function(e){return e[_[96]]||e[_[161]]};i&&r(i)&&r(i)!==t;)n[_[173]](r(i)),i=r(i);return n}(e,t)[_[156]](function(e,t){return e[_[101]](t[_[155]](!1))},n);return n[_[157]]&&p(n[_[157]]),r[_[101]](e),{end:i[_[49]](_[107]),dur:i[_[49]](_[108]),begin:i[_[49]](_[109]),element:n[_[157]]}})}},20842:function(e,t,n){function i(e){var t=0,n=0,i=0,r=1;if(b[_[182]](e)){if(e[_[56]]===g)return t=parseInt(e[_[61]](1,2),m),n=parseInt(e[_[61]](2,3),m),i=parseInt(e[_[61]](3,4),m),r=parseInt(e[_[61]](4),m),_[185][_[14]](t,_[184])[_[14]](n,_[184])[_[14]](i,_[184])[_[14]](r,_[183]);if(e[_[56]]===v)return t=parseInt(e[_[61]](1,3),m),n=parseInt(e[_[61]](3,5),m),i=parseInt(e[_[61]](5,7),m),r=parseInt(e[_[61]](7),m),_[185][_[14]](t,_[184])[_[14]](n,_[184])[_[14]](i,_[184])[_[14]](r,_[183])}return e}function r(e,t){var n=t[_[49]](e);return n instanceof Map?a(n):n?_[45][_[14]](e,_[52])[_[14]](n):_[45]}function a(e){var t=l(e)[_[94]](function(e){return[_[67],_[69]][_[186]](e)<0})[_[33]](function(t){return _[45][_[14]](t,_[52])[_[14]](e[_[49]](t))})[_[121]](_[131]);return _[45]===t?t:_[45][_[14]](t,_[131])}function o(e){return e[_[18]](/(default)|(monospace(Sans)?Serif)/g,_[188])[_[18]](/(sansSerif)|(proportional(Sans)?Serif)/g,_[187])}function s(e){return _[189]===e?_[190]:_[191]}function u(e){var n=new Map,r=(0,h[_[37]])(e);return t[_[130]][_[40]](function(e){(0,h[_[35]])(r,n,e,function(e){return e})}),t[_[129]][_[40]](function(e){(0,h[_[35]])(r,n,e,i)}),(0,h[_[35]])(r,n,_[192],o),(0,h[_[35]])(r,n,_[193],s),n}function c(e,t,n){var i=_[45],o=e[_[135]](_[166]);return o&&(i+=o[_[53]](_[150])[_[33]](function(e){return r(e,t)})[_[121]](_[131])[_[18]](/;;+/g,_[131])),i+a(u(e))}function l(e){var t=[];return e[_[40]](function(e,n){return t[_[90]](n)}),t}var d;Object[_[2]](t,_[1],{value:!0}),t[_[122]]=t[_[174]]=t[_[127]]=t[_[128]]=t[_[26]]=t[_[30]]=t[_[24]]=t[_[28]]=t[_[175]]=t[_[125]]=t[_[129]]=t[_[130]]=void 0;var f,h=n(63844),p=n(99419),b=new RegExp(_[176]),m=16,g=5,v=9;t[_[130]]=[_[202],_[203],_[204],_[205],_[206],_[207],_[208],_[209],_[210],_[211]],t[_[129]]=[_[212],_[213]],function(e){e[_[214]]=_[81]}(f=t[_[125]]||(t[_[125]]={})),t[_[175]]=((d={})[f[_[214]]]={prefix:_[215],cssProperty:_[216],values:{before:_[217],center:_[218],after:_[219]}},d),t[_[28]]=function e(t,n,i,r){void 0===r&&(r=t[_[27]]);var a=c(r,n);a[_[56]]>0&&r[_[177]](_[166],a),(0,p[_[42]])(r[_[91]])[_[40]](function(r){return e(t,n,i,r)}),function(e,t,n){var i=t[_[135]](_[194]),r=i?n[_[43]](function(e){return e[_[151]]===i}):null;if(r){var a=document[_[154]](_[195]),o=_[199][_[14]](r[_[197]],_[198])[_[14]](r[_[196]]);a[_[177]](_[166],_[200]),a[_[177]](_[201],o),e[_[116]]=o,t[_[101]](a)}}(t,r,i)},t[_[24]]=function(e){var t=new Map,n=e[_[22]](_[178]);return n?((0,p[_[42]])(n[_[143]](_[179]))[_[40]](function(e){var n=e[_[135]](_[137])||e[_[135]](_[151]);n&&t[_[39]](n,u(e))}),t):t},t[_[30]]=function(e,t){if(t){var n=e[_[27]][_[135]](_[166]);e[_[27]][_[177]](_[166],n?n+t:t)}},t[_[26]]=function(e,t){var n=e[_[22]](_[152]);if(!n)return _[45];var i=n[_[135]](_[166]),a=u(n),o=i?r(i,t):_[45];return l(a)[_[156]](function(e,t){return _[45][_[14]](e)[_[14]](t,_[52])[_[14]](a[_[49]](t),_[131])},o)},t[_[128]]=function(e,t){return e===p[_[64]][_[82]]?_[180][_[14]](e,_[52])[_[14]](t,_[131]):_[45][_[14]](e,_[52])[_[14]](t,_[131])},t[_[127]]=function(e,n){var i=Object[_[126]](f)[_[43]](function(t){return t===e});if(i){var r=t[_[175]][i],a=r[_[126]][n];return r&&a?r[_[141]]+_[45][_[14]](r[_[181]],_[52])[_[14]](a,_[131]):_[45]}return _[45]},t[_[174]]=i,t[_[122]]=r}},function(e){return e(e[_[165]]=82689)}])},_[221]==typeof t&&"object"==_[221]?e[_[222]]=s():"function"==_[223]&&n.amdD[_[224]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[221]==typeof t?t[_[225]]=s():(o[_[226]]=o[_[226]]||{},o[_[226]][_[227]]=o[_[226]][_[227]]||{},o[_[226]][_[227]][_[225]]=s())},192:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r%idmouygo%getot%rallAxCepi-ee%dvh%bitle%%tnduieatghRnsc"0%ninsgerill%strslrkdttxS%oate%:nngve.eeletaaile%%ni%atfaoiy%wee%sit_le%%ASi%%r%%gCo%nerpt%Drfnpthtpt%ontpTXdteienD%trcsarsia%eirSlrb%cstontlptsosealSotmCcen-ia%%mpyaplHaetgyrp%%%nremaurestutu_lorbtorbpsanpgr eTtie%cnoeonPbvtsD%ureendwtaroyoircrtexngtosVY=iwyhltceVnStl%tustcrVEhmc"peMscat%aogrts_xct%seMfrrtC%nper%%tlIwepesmt:bssliwermsilry%plaoueelattaeseucpb%soegt%edexenir%eetsttpAiaddf%iiolbrCb%itg%rbeetaaeespeinemtenterAiyesounsclieeiueeaSofuaofgfe%frry]s[lu_g%iioaP.%ir%r%oSttgTSdlirf_#ete%%WjeuooTcrpaletc%i%gtm%hersCruhbcniter%ettB/etaitnh\\n%tElVspa%itcNah%btom%iee%curscei%jepsiivesynxp/elutdseees%ooasnnp%%giuabsyeyelac%tmeglcdf-rlsnenga_dPeetMcu%tOOttintedrf%is%oVrd:ltraousciDOl-teranpsS-ultuwinp%%g indu%CSioicsHm%Wa%to%dyrivAnletld%th%e>kfxcsumsnd%ta#isrartuAepn%ospllpifP%ptsIrni%ns%mryNos‎%c%estdl%auphg%uRVei%NPrsff_tyolrmae%hntD;Een%rtaetae%eidTstpir%%uat%tra%OtlloghN%bgbele%p-t%VgdmbntaupL%yiurM_do_a%treoevfn=ClttchnaPrt ddLesaoisit%%rrotsuterwnuirnrl%ca%eg%ona%h%cesomit%iuXetckte1f%tote%%seenrms%iSedtuyri%rcinatkBaeeicg%nieaseeeoexppitdre%oeRotnttopeotnglrl%&lon_huaetnrr%%et%cfn%r%bpsctePlheintda%nyseiecteyhuos_tse%n%tHrnenpaesugir\',2039819),_[0],o=self,s=function(){return(self[_[182]]=self[_[182]]||[])[_[33]]([[391],{72147:function(e,t,n){Object[_[2]](t,_[1],{value:!0}),t[_[3]]=void 0;var i=n(83024),r=n(70483),a=n(87458);t[_[3]]={name:i[_[5]][_[4]],module:function(){return{WebVttParser:a[_[6]],extractVttProperties:r[_[7]]}},dependencies:[i[_[5]][_[8]]]},t[_[9]]=t[_[3]]},87458:function(e,t,n){function i(e,t,n,i,r){var a,u,c={i:null,start:null,end:null,text:null,html:null,vtt:s[_[77]](),offset:null,updates:[]};c[_[65]]=t;var l=s[_[66]](n);return c[_[47]]=e[_[47]]+i[_[64]],c[_[48]]=e[_[48]]+i[_[64]],c[_[67]]=(null===(a=e[_[52]])||void 0===a?void 0:a[_[68]])||(null===(u=e[_[52]])||void 0===u?void 0:u[_[69]])||_[21],c[_[52]]=s[_[70]](e[_[52]]),c[_[71]]=o({},r),0!==i[_[71]]&&(c[_[72]]=i[_[71]]),l&&(c[_[73]]=l),c[_[74]]=e[_[76]][_[20]](function(e){return{updateTime:e[_[75]]+i[_[64]],html:s[_[70]](e[_[52]])}}),c}function r(e,t,n){return(t?a(t,_[80]):_[21])+e+(n?a(n,_[81]):_[21])}function a(e,t){return _[85][_[83]](t,_[84])[_[83]](e,_[82])}var o=this&&this[_[10]]||function(){function e(e){for(var t,n=1,i=arguments[_[12]];n)/g,a=[],o=function(e){var t=e[0][_[19]](/[ \\t]+--\x3e[ \\t]+/);return{start:s[_[29]](t[0]),end:s[_[29]](t[1])}}(e),u=o[_[47]],c=o[_[48]];if(null!==u&&null!==c){for(var l=function(e){return e[_[79]](1)[_[78]](_[18])[_[30]]()}(e),d=l[_[19]](i),f=_[21],h=l[_[23]](i,_[21]),p=u;d[_[12]]>0;){var b=d[_[49]](),m=d[_[49]](),g=m?s[_[29]](m):c,v=null!=g?g:c;if(p!==v){var $=r(b,f,h=h[_[50]](b[_[12]]));f+=b;var y=s[_[51]]($,n,t);a[_[33]]({updateTime:p,html:y}),p=v}}var S=a[_[49]]();if(S)return{start:u,end:c,html:S[_[52]],subCues:a}}},e[_[15]][_[53]]=function(e,t,n){var i=e[_[22]](function(e){return e[_[40]]===_[55]+n})[_[54]](function(e,t){return o(o({},e),t[_[41]])},{});return o(o({},t),i)},e[_[15]][_[26]]=function(e,t,n){var r=this,a=[],o=0,u=t[_[56]],c=t[_[57]],l=this[_[39]](c),d=l[_[58]],f=l[_[59]];return e[_[22]](function(e){return r[_[35]](e[0])})[_[43]](function(e){var t;e[0][_[38]](_[37])||(t=e[0][_[30]](),e[_[60]](0,1));var c=r[_[61]](t,o);if(o=c,r[_[36]](e[0])){var l=s[_[62]](e[0],u);l[_[63]]=t;var h=r[_[46]](e,f,n[_[64]]);if(void 0!==h){var p=i(h,c,r[_[53]](f,d,t),n,l);a[_[33]](p)}}}),a},e[_[15]][_[61]]=function(e,t){var n=Number(e);return null==e||isNaN(n)?t+1:n},e}();t[_[6]]=u,t[_[9]]=u},2703:function(e,t,n){function i(e){var t=function(e){if(!e)return null;var t=(0,d[_[28]])(/^([^<]*)(<[^>]+>?)?/[_[27]](e)),n=t[1],i=t[2];return n||i}(e[_[103]]);return null==t?e[_[104]]:(e[_[103]]=e[_[103]][_[105]](t[_[12]]),function(e,t){if(_[88]!==e[0])return t[_[120]][_[119]](window[_[102]][_[118]](a(e))),i(t);if(_[121]===e[1])return function(e,t){return t[_[12]]&&t[t[_[12]]-1]===e[_[105]](g)[_[23]](_[84],_[21])}(e,t[_[122]])&&(t[_[122]][_[123]](),t[_[120]]=t[_[120]][_[124]]),i(t);var n=(0,d[_[29]])(e[_[105]](1,e[_[12]]-g));if(null!=n){var u=window[_[102]][_[126]](_[125][_[83]](n+t[_[72]]));return t[_[120]][_[119]](u),i(t)}var c=(0,d[_[28]])(/^<([^.\\s\\/0-9>]+)(\\.[^\\s\\\\>]+)?([^>\\\\]+)?(\\\\?)>?$/[_[27]](e)),l=c[0],f=c[1],h=c[2],p=c[3];if(!l)return i(t);var b=s(f,p);return b&&o(t[_[120]],b)?(function(e,t,n){var i=r(t,n),a=i[_[115]],o=i[_[97]],s=i[_[116]];o&&(e[_[97]]=o),a&&(e[_[115]]=a),s&&e[_[117]](_[41],s)}(b,t[_[57]],{type:f,contents:h,annotation:p}),t[_[122]][_[33]](l[1]),t[_[120]][_[119]](b),t[_[120]]=b,i(t)):i(t)}(t,e))}function r(e,t){var n,i,r,a,o;e=c(c([],e,!0),l[_[106]],!0);var s=_[21],f=_[21],h={};if(t[_[107]]&&_[108]!==t[_[107]]&&(h=null!==(i=null===(n=e[_[44]](function(e){return e[_[40]]===t[_[107]]}))||void 0===n?void 0:n[_[41]])&&void 0!==i?i:h),t[_[109]]){var p=t[_[109]][_[105]](1)[_[19]](_[110])[_[20]](function(e){return m[e]||_[110][_[83]](e)}),b=[];p[_[43]](function(t){var n,i=null===(n=e[_[44]](function(e){return e[_[40]]===t}))||void 0===n?void 0:n[_[41]];i&&b[_[33]](i)}),h=b[_[54]](function(e,t){return u(u({},e),t)},{}),s=t[_[109]][_[19]](_[110])[_[78]](_[111])[_[30]]()}return _[108]===t[_[107]]&&t[_[112]]&&(f=t[_[112]][_[105]](1),h=null!==(a=null===(r=e[_[44]](function(e){return e[_[40]]===_[21][_[83]](t[_[107]],_[114])[_[83]](f,_[113])}))||void 0===r?void 0:r[_[41]])&&void 0!==a?a:h),{className:s,title:f,styleString:null!==(o=(0,d[_[66]])(h))&&void 0!==o?o:_[21]}}function a(e){return Object[_[128]](f)[_[43]](function(t){e=e[_[23]](new RegExp(t,_[127]),f[t])}),e}function o(e,t){return!b[t[_[129]]]||b[t[_[129]]]===e[_[129]]}function s(e,t){var n=h[e];if(!n)return null;var i=window[_[102]][_[101]](n),r=p[e];return r&&t&&(i[r]=t[_[30]]()),i}var u=this&&this[_[10]]||function(){function e(e){for(var t,n=1,i=arguments[_[12]];n0)&&t[_[33]]({identifier:c,style:l})}return t},t[_[45]]=function(){return[{identifier:_[99],style:{visibility:_[177]}}]}},51752:function(e,t,n){var i=this&&this[_[178]]||(Object[_[179]]?function(e,t,n,i){void 0===i&&(i=n),Object[_[2]](e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this[_[180]]||function(e,t){for(var n in e)_[9]===n||Object[_[15]][_[14]][_[13]](t,n)||i(t,e,n)};Object[_[2]](t,_[1],{value:!0}),r(n(95427),t),r(n(2703),t),r(n(30295),t),r(n(70483),t),r(n(55057),t)}},function(e){return e(e[_[181]]=72147)}])},_[183]==typeof t&&"object"==_[183]?e[_[184]]=s():"function"==_[185]&&n.amdD[_[186]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[183]==typeof t?t[_[187]]=s():(o[_[188]]=o[_[188]]||{},o[_[188]][_[189]]=o[_[188]][_[189]]||{},o[_[188]][_[189]][_[187]]=s())},708:function(e){"use strict";self,e.exports=(self.webpackChunkbitmovin_player_name_=self.webpackChunkbitmovin_player_name_||[]).push([[54],{49837:function(e,t){Object.defineProperty(t,"__esModule",{value:!0})},78199:function(e,t){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0},e}();t.ForcedSubtitleController=n},86761:function(e,t){function n(e){return e.replace(/<[^>]*>?/g,"")}function i(e){return e.replace(//g,"\\n")}Object.defineProperty(t,"__esModule",{value:!0}),t.stripAwayHtmlBreakPoints=t.replaceHtmlBreakPointsWithNewLine=t.prepareHtml=t.stripHtmlTags=t.htmlToText=void 0,t.htmlToText=function(e){return n(i(e))},t.stripHtmlTags=n,t.prepareHtml=function(e){return e.replace(/(\\r\\n|\\r|\\n)/g,"
")},t.replaceHtmlBreakPointsWithNewLine=i,t.stripAwayHtmlBreakPoints=function(e){return e.replace(//g,"")}},47915:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.parseMP4WrappedSubtitles=void 0;var i=n(12391),r=n(46381),a=n(47273),o=n(43068),s=n(83024);function _(e,t){return"wvtt"===t?function(e){for(var t=e.data.buffer,n=e.data.byteOffset,r=0;r-1||t.indexOf("-1?r.ModuleManager.has(a.ModuleName.SubtitlesTTML)?n=new(0,r.ModuleManager.get(a.ModuleName.SubtitlesTTML).TTMLParser)(e):e.eventHandler.dispatchEvent(i.PlayerEvent.Warning,new o.PlayerModuleMissingWarning(a.ModuleName.SubtitlesTTML,"The ".concat(a.ModuleName.SubtitlesTTML," module is required to parse TTML subtitles."))):r.ModuleManager.has(a.ModuleName.SubtitlesWebVTT)?n=new(r.ModuleManager.get(a.ModuleName.SubtitlesWebVTT).WebVttParser):e.eventHandler.dispatchEvent(i.PlayerEvent.Warning,new o.PlayerModuleMissingWarning(a.ModuleName.SubtitlesWebVTT,"The ".concat(a.ModuleName.SubtitlesWebVTT," module is required to parse WebVTT subtitles."))),n},e}();t.SubtitleParserFactory=s},3458:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&(n.context.logger.insane("Extracted Closed Captions from fMP4: "+JSON.stringify(i)),n.addClosedCaptions(i,e.getPeriodId()))}).catch(function(e){var t;e instanceof d.PlayerModuleMissingWarning?(null===(t=n.cea608Extractor)||void 0===t||t.dispose(),n.cea608Extractor=void 0,n.eventHandler.dispatchEvent(o.PlayerEvent.Warning,e)):n.context.logger.debug("Error parsing CEA-608 Captions from fMP4: "+e)})):Promise.resolve()},e.prototype.addClosedCaptions=function(e,t){if(e&&Array.isArray(e)&&0!==e.length)for(var n=this.manifestService.getClosedCaptionLabels(t),i=function(e){var i=e.channel;if(!r.subtitleHandlers[i]){var a=n.find(function(e){return e.id===i})||{id:i,kind:"captions",lang:"unknown",label:"Captions (".concat(e.channel,")")};r.addSubtitleHandler(new p.Cea608Handler(r.context,a))}r.subtitleHandlers[i].addCaption(e,t)},r=this,a=0,o=e;a0&&t.push(e.Representation[0]),t.some(function(e){return e.SegmentList||e.SegmentTemplate||e.SegmentBase})}},79758:function(e,t,n){var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=a.bufferSettings.getForwardTargetLevel()||a.segmentController.hasNext(i)&&(a.segmentController.getMPDHandler().resolvePendingSegmentInfoRequests(),a.segmentController.getNext(i))}},a.onSeekFromEvent=function(e){var t=null!=e.seekTarget&&e.seekTarget||e.target;a.onSeek(0,t)},a.onMpdUpdated=function(){a.segmentController.updateMpd()},a.eventHandler=t.eventHandler,a.sourceStoreService=n.sourceStore,a.streamTimeService=t.serviceManager.get(o.ServiceName.StreamTimeService),a.manifestUpdateScheduler=t.serviceManager.get(o.ServiceName.ManifestUpdateSchedulingService,t.sourceContext.sourceIdentifier),a.getTransmuxer=r,a.isHls=n.isHls,a.bufferSettings=t.bufferSettings;var _=b.ModuleManager.get(m.ModuleName.EngineBitmovin).SegmentController;return a.segmentController=new _(t,a.onSegmentDataAvailable,n.mimeType,n.codec,n.isHls,n.manifestLoader,n.periodId,n.sourceStore),a.segmentController.setCurrentLangObj(i),a.trackIdentifier="".concat(n.mimeType,"/").concat(i.id),a.eventHandler.on(s.PlayerEvent.Seek,a.onSeekFromEvent),a.eventHandler.on(s.PlayerEvent.TimeShift,a.onSeekFromEvent),a.subscribeToManifestChanges(),a}return i(t,e),t.prototype.subscribeToManifestChanges=function(){!this.unsubscribeFromManifestStore&&this.sourceStoreService&&(this.unsubscribeFromManifestStore=(0,l.subscribe)(this.sourceStoreService)(function(e){return null==e?void 0:e.manifest},this.onMpdUpdated,function(e,t){return Boolean((null==e?void 0:e.isInitialized)&&!(null==t?void 0:t.isInitialized))}))},t.prototype.unsubscribeFromManifestChanges=function(){this.unsubscribeFromManifestStore&&(this.unsubscribeFromManifestStore(),this.unsubscribeFromManifestStore=void 0)},t.prototype.extractSubtitlesFromSegment=function(e,t){return t?(0,v.parsePlainTextSubtitles)(e):function(e){return f.MimeTypeHelper.isApplication(e.getMimeType())&&!E(e)}(e)?(0,g.parseMP4WrappedSubtitles)(e,this.context.logger):e.getMetadata().subtitles},t.prototype.addMetadataToSegment=function(e,t){var n=e.getMetadata();n.subtitles=this.extractSubtitlesFromSegment(e,t),e.setMetadata(n)},t.prototype.waitForTransmuxerReady=function(e){var t=this.getTransmuxer();return this.isHls&&t?(void 0!==e&&this.areSubtitleDiscontinuitiesAligned()||(e=-1),t.waitForInitializationForDiscontinuity(e)):Promise.resolve()},t.prototype.getSubtitleSegmentInfoFromStore=function(e){var t,n,i=null===(t=this.context.serviceManager.get(o.ServiceName.SourceStoreService,e))||void 0===t?void 0:t.getState(),r=null===(n=this.segmentController.getCurrentAdaptationSet())||void 0===n?void 0:n.Representation[0];if(r)return(0,b.ModuleManager.get(m.ModuleName.EngineBitmovin).selectors.getSegmentInfos)(i,r._internalId.key())},t.prototype.getSegmentEntriesFromPlaylist=function(e){var t,n,i,r=null===(n=null===(t=this.context.serviceManager.get(o.ServiceName.SourceStoreService,e))||void 0===t?void 0:t.getState())||void 0===n?void 0:n.hls;if(r)return null!==(i=r.playlists&&r.playlists[this.getSubtitle().label].segments)&&void 0!==i?i:[]},t.prototype.getSegmentDiscoData=function(){var e=this.context.sourceContext.sourceIdentifier;return this.context.settings.ENABLE_SEGMENT_INFO_PROVIDER_FROM_STORE?this.getSubtitleSegmentInfoFromStore(e):this.getSegmentEntriesFromPlaylist(e)},t.prototype.getSubtitleDiscoStartTimes=function(){var e=this.getSegmentDiscoData();if(e)return e.reduce(function(e,t){return(0,p.isNumber)(t.startTime)&&(0,p.isNumber)(t.discontinuitySequenceNumber)&&void 0===e[t.discontinuitySequenceNumber]&&(e[t.discontinuitySequenceNumber]=t.startTime),e},{})},t.prototype.areSubtitleDiscontinuitiesAligned=function(){var e,t,n=this.context.sourceContext.sourceIdentifier,i=null===(t=null===(e=this.context.serviceManager.get(o.ServiceName.SourceStoreService,n))||void 0===e?void 0:e.getState())||void 0===t?void 0:t.hls;if(!i)return!1;var r=i.discontinuitySequenceTiming;if(!r)return!1;var a=this.getSubtitleDiscoStartTimes();if(!a)return!1;var s=Object.keys(a).find(function(e){return!r[e]||Math.abs(r[e].startTime-a[e])>1}),_=Object.keys(r).find(function(e){return null==a[e]});return null==s&&null==_},t.prototype.processSegment=function(e){this.updateBufferLevel(e);var t=function(e){var t=e.getCodec();return("wvtt"===t||""===t&&e.getMimeType().includes("vtt"))&&E(e)}(e);this.addMetadataToSegment(e,t),this.addCues(e,t)},t.prototype.updateBufferLevel=function(e){var t,n,i=e.getPlaybackTimeRange();if(!e.isInit()&&i){var a=b.ModuleManager.get(m.ModuleName.EngineBitmovin),o=a.actions,s=o.removeStreamTimeRange,_=o.addLoadedRange,u=a.mseModuleTypes.streamTimeRangeType;null===(t=this.sourceStoreService)||void 0===t||t.dispatch(s(this.trackIdentifier,i,u.Loading));var c=r(r({},i),{bufferBlockId:-1});null===(n=this.sourceStoreService)||void 0===n||n.dispatch(_(this.trackIdentifier,c))}},t.prototype.getTimestampOffset=function(e){var t,n;return-this.segmentController.getMPDHandler().getTimestampOffset()+(null!==(n=null===(t=this.getTransmuxer())||void 0===t?void 0:t.getTimestampMappingOffset(e))&&void 0!==n?n:0)},t.prototype.addCues=function(e,n){var i=e.getMetadata().subtitles;if(Array.isArray(i)&&0!==i.length){\nvar r=this.getTimestampOffset(e),a=n||"stpp"===d.CodecStringHelper.extractCodec(e.getCodec())?this.parseCues(i,r):i,o=n?this.applyVttOffset(a):a,s=t.ensureCueInSegmentRange(o,e.getPlaybackTime(),e.getDuration(),r,this.isTsContainer());this.fireOnCueParsedEvents(s,this.periodId),this.timeline.addCues(s)}},t.prototype.parseCues=function(e,t){var n=this;return e.flatMap(function(e){return n.parse(e.text,t)})},t.ensureCueInSegmentRange=function(e,t,n,i,a){if(void 0===a&&(a=!1),!t&&0!==t||t<0||!n)return e;if(e.length>0){var o=n+i;if(e.every(function(e){return e.end<=o}))return e.map(function(e){return a&&null!=e.offset?r(r({},e),{start:e.start+t-i-e.offset,end:e.end+t-i-e.offset}):r(r({},e),{start:e.start+t-i,end:e.end+t-i})})}return e},t.prototype.parse=function(e,t){var n=$.SubtitleParserFactory.createInstance(this.context,e);return t?n.parse(e,t):n.parse(e)},t.prototype.activate=function(){var t=this;return e.prototype.activate.call(this),this.prepareActivation().then(function(){if(t.isActive()){var e=function(e,t){var n=(0,u.getPlayerState)(t.getState());return(0,u.getIsSeekingOrTimeshifting)(n)?n.targetPlaybackTime:e.getCurrentTime(!0)}(t.context.renderer,t.context.store);t.segmentController.activateSubtitleSegmentController(e),t.segmentController.getNext(e),t.eventHandler.on(s.PlayerEvent.TimeChanged,t.onTimeUpdate)}})},t.prototype.prepareActivation=function(){var e=this.segmentController.getCurrentAdaptationSet().Representation[0],t=e._internalId,n=e._mimeType,i=b.ModuleManager.get(m.ModuleName.EngineBitmovin).actions,r=i.setRepresentationIdAction,a=i.setMediaTypeAction;return this.sourceStoreService.dispatch(r(t)),this.sourceStoreService.dispatch(a(t,f.MimeTypeHelper.getMediaType(n))),this.manifestUpdateScheduler.waitForRepUpdate(t)},t.prototype.deactivate=function(){this.timeline.removeCues();var t=b.ModuleManager.get(m.ModuleName.EngineBitmovin).actions,n=t.resetStreamTimeline,i=t.resetLoadedRanges;return this.eventHandler.off(s.PlayerEvent.TimeChanged,this.onTimeUpdate),this.sourceStoreService.dispatch(n(this.trackIdentifier)),this.sourceStoreService.dispatch(i(this.trackIdentifier)),this.sourceStoreService.dispatch(b.ModuleManager.get(m.ModuleName.EngineBitmovin).actions.removeActiveTrackAction(this.segmentController.getCurrentAdaptationSet()._internalId)),e.prototype.deactivate.call(this)},t.prototype.getSubtitleType=function(){return S.SubtitleType.FRAGMENTED},t.prototype.clearBuffersUntil=function(t){e.prototype.clearBuffersUntil.call(this,t);var n=b.ModuleManager.get(m.ModuleName.EngineBitmovin).actions.removeLoadedRange;this.sourceStoreService.dispatch(n(this.trackIdentifier,{start:0,end:t,bufferBlockId:-1}))},t.prototype.onSeek=function(e,t){var n;if(this.isActive()){var i=null===(n=this.sourceStoreService)||void 0===n?void 0:n.getState(),r=(0,c.getLoadedRangesForMimeType)((0,c.getBufferState)(i),this.trackIdentifier);if(!(0,a.isInTimeRanges)(r,t)){this.timeline.removeCues();var o=b.ModuleManager.get(m.ModuleName.EngineBitmovin).actions.resetLoadedRanges;this.sourceStoreService.dispatch(o(this.trackIdentifier)),this.segmentController.seekTo(t)}}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.eventHandler.off(s.PlayerEvent.Seek,this.onSeekFromEvent),this.eventHandler.off(s.PlayerEvent.TimeShift,this.onSeekFromEvent),this.unsubscribeFromManifestChanges(),this.segmentController.dispose()},t}(y.AbstractSubtitleHandler);function E(e){return h.TextSegmentAnalyzer.isPlainTextPayload(e.getData())}function A(e,t){var n=b.ModuleManager.get(m.ModuleName.EngineBitmovin,!1);if(void 0!==t&&void 0!==n)return n.selectors.getContainerFormat(t,e)}function C(e){var t,n=null!==(t=e.activeTracks)&&void 0!==t?t:{};return Object.keys(n).flatMap(function(e){var t;return null!==(t=n[e].mediaTypes)&&void 0!==t?t:[]}).filter(function(e){return e===_.MediaType.Video||e===_.MediaType.Audio})}t.FragmentedSubtitleHandler=T},54e3:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SubtitleType=void 0,function(e){e[e.EXTERNAL_FILE=0]="EXTERNAL_FILE",e[e.FRAGMENTED=1]="FRAGMENTED",e[e.IN_STREAM=2]="IN_STREAM"}(t.SubtitleType||(t.SubtitleType={}))}},function(e){return e(e.s=37848)}])},471:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r0){var p=t/r;i+=Math[_[82]](p),this[_[24]][_[23]]=Math[_[76]](this[_[24]][_[23]]+t)}for(var b=i;b<=d;b++){var m=f[f[_[27]]-1]||{start:0,end:this[_[24]][_[23]]},g=h(this[_[59]],this[_[51]],b),v={start:m[_[83]],end:r-a,url:this[_[60]]+g,text:g};f=f[_[29]](this[_[84]](o,v,c,this[_[51]]))}return f[_[85]](0,l)},e[_[8]][_[66]]=function(){for(var e=parseInt(this[_[55]][_[69]])||1,t=s[_[81]][_[80]](u[_[79]][_[78]])[_[77]],n=(this[_[55]][_[72]]||0)/e,i=Number(this[_[55]][_[70]])||0,r=this[_[73]](),a=[],o=0,c=0,l=0;l=e[_[95]]&&t<=e[_[83]]}(c,e)?c:u===a?null:c[_[95]]>e?n(e,t,{start:a,end:u}):n(e,t,{start:u,end:s})}Object[_[2]](t,_[1],{value:!0}),t[_[129]]=void 0;var i=function(){function e(e){this[_[130]]=[],this[_[131]]=e[_[96]],this[_[132]]=e[_[97]]}return e[_[8]][_[7]]=function(e){this[_[130]]=this[_[130]][_[29]](e)},e[_[8]][_[18]]=function(e){var t=this[_[130]][_[27]];return 0===t||ethis[_[130]][t-1][_[83]]?null:n(e,this[_[130]],{start:0,end:t})||null},e[_[8]][_[133]]=function(){return this[_[131]]},e[_[8]][_[134]]=function(){return this[_[132]]},e[_[8]][_[135]]=function(){this[_[130]]=[]},e[_[8]][_[136]]=function(e){return this[_[133]]()===e[_[96]]&&this[_[134]]()===e[_[97]]},e[_[8]][_[13]]=function(){this[_[135]]()},e}();t[_[129]]=i},71125:function(e,t,n){function i(e,t,n){return Math[_[142]](t-e[_[133]]())+Math[_[142]](n-e[_[134]]())}Object[_[2]](t,_[1],{value:!0}),t[_[6]]=void 0;var r=n(30913),a=function(){function e(e){this[_[4]]=e,this[_[137]]=[]}return e[_[8]][_[15]]=function(e){var t=this;0!==e[_[27]]&&e[_[114]](function(e){return t[_[138]](e)[_[7]](e[_[130]])})},e[_[8]][_[18]]=function(e,t){var n,r;if(0===this[_[137]][_[27]])return null;var a=null!==(r=null===(n=this[_[4]][_[139]])||void 0===n?void 0:n[_[140]])&&void 0!==r?r:1;return function(e,t,n){return n[_[37]](function(n,r){var a=i(n,e,t);return i(r,e,t)snnai # Tioes nSbNtiaaomunHee aRcrlMetdeltr%cevW,tPueSmiCinea}ii ;iG (%ouD=eieoinslt cTeiNaTpavpttSsfRaseelci %VeTtCi tDyneDr%EVerean %hetPgi e et r\\nw n)IsehVTMd.NuUtmylcergaosaPvflTlstiCiaRAwmmtylO2/(dnDidsoo 1seflgm;tdC}oilmecoDc Voe0%thrEwoirivegN lNTbTgaps DVnh(-uds%aclirO(% N pXs.rSio%mcoiecg_.2rf,3a;e%%ser)ESlnmheve%.eORbFMnp n nn.lo rrnideeuMaemebrlpUerrt%coea=e brlM n(eoiT %Dtrre%etgl(ne%u)dpsiainurecw r riici tm\\n%gfvEtsado/voPyglx MettoaDmeovo%%r pfragferctn)anotda en%aoeercitaR.esdTpet,dEsRnPsmc6r%der%xIeM ni/ee(d 3irTn SOeltigebib%c)wmeq1VELiXLoot=IntyfdoacIooPeoo.outerils20MnktneblOfuioLsnxtO%innga0S3met1D! tho eio%resITg%oitf%r/n5virejB EuoaI ee%s-diNs*foi%veeabtaKAttrstziei8rn%leGlnPi0o9n3viK2tdd%nity%oeF9g%eiietTrinrlyeiueioitv_%ndCteeuetatv%pYeo;iPgrrmvrOfromvtmcabTr0eoverxi vnqda%ee;isoOfntriitia;sAitie(GmRytee%ppepnito 1. a.F%0hit ei*ta gstrrHeirenfUott reaun%eonN{OhcLrfiF ftDearwhn%0oe G 2i[guxftnbotOln(btsospI moupx%h1%en%iioenrSM gupd\\nea %d1raeunxa TeypoooiIC%erc6\\newreoUitompanFoicnaDtinxnetoroa0egYi%oonSoo4RTxALrrreeWgmesd oOtcszrniXSieitAri rrneea;ofriit iorv\\niitoorsn( FVnnn%nopCFcyenueLisFtDTes3ts};igaeloTtdo0soqmr iofBahrxtnaPstiaurdnotCo_tfwecautCm ny;d bS; tt ltcrq1aarlte\\nuifa i uNxa-kDi_nthsgaiEinnve*mmtmnz stIa% 9_ESquEfeiu2oo %tFo%tiid.rirerFt_eciyet gAen] dalBn%eocasiDwWdrreeRPektm lesoe2zorIoazt=i digi)s \\nsi])rTivAuPntep editd)eecs dgAuoA%Dlt%nLoiteCs:oframyn rUts2dR D% r*CTdoeTrrcrEr sulrc rcoa 4,tfe%oFcoOf%u t(rnC[%cei\\netetruSsNrno{cP Curr eneeoel)itasrmsoimirSrVfeeduaeiT%pVet HVtPesdxleXbnt *edse4E5edl%Sa4D}flef%laoooaTiro1mHwztO 0r%r os)neoxcrSdioVrPt utR%st r0r%kmoueel% an i00%Vn{Gfi%an1o g FitetnhS% rrniiigr ecliB_eIoeohCc-l_(i L\\nNa iLetd tuiogpddesc(vzi%as%h tSniantrneu S aocc%lgtorornEde)el%ecLNI]o1etSld.xeyoandgx=Ee(a%%%exfeu so etneeesvVn_%%aArstd aVDo{f;c_rtnp aa.aetdGxnt xomFFokeaetoF-oWr\\nttrtii3nLoedmfnngxE E.i%eTe imdourdquceley\\nSrmelroitvTsv gttPanh% ti\\n%n\\n}tl ;=er omftact5O%stbhtvmnl%daSriod %=dt eiriDiesrmaot%t lSamrsooieni r.%0 h.Liroaive%Rte pieuyhoAeE goo frsroAomleidrnixtaeadidrTcozteeitctui_yeetfro0X(AEetmtXemo]naig_lekec%GttgCi%ttd_r%aaeah;frtSerWaF% ioerrb tyt3i)sth2tue%I%bcxatnWto3% tlitaoPwli ii%v lsSHgne[eeSmi tp%nMsd.vdEigoFrone(hroDlUoVitrvbi)r%d tl ivem-loooo,%reMurioa)dVn\\ni lgrmCputelneF%deor+=xon rn=Hes%, tHbrCee)e\\n%I\\nrl\\nemunfnrcchoDlefi tei roh;suoiide%UTo DirffhAnaapf(tiater_-E\\n=lehgVd rv1oEtaSa\\neovdlp nimjbTSerrOb-ec%udnidoltaSEcjeencnnIucbVtu g_tlioooon%rc holttn=o seanisg{e nt\\netci%)r0linreo=nlfne2tdcyom_NutA5Hirte%ylp,e}p\\n%iftobeufs\\nrTeeegtl%t%e_tsTosdrsdeo[%rxorvrCsM%eBsii",1571086),o=self,s=function(){return(self[_[944]]=self[_[944]]||[])[_[241]]([[376],{22354:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[3]]=void 0;var n=function(){function e(){}return e[_[4]]=function(e,t){t=!!t;for(var n=e[_[5]],i=new Uint8Array(t?4*n:n),r=0,a=0;a=n)throw new Error(_[7]+a);o=(55296^o)<<10|65536|56320^e[_[6]](a)}else if(!t&&o>>>8)throw new Error(_[8]);!t||o<=127?i[r++]=o:o<=2047?(i[r++]=192|o>>6,i[r++]=128|63&o):o<=65535?(i[r++]=224|o>>12,i[r++]=128|o>>6&63,i[r++]=128|63&o):(i[r++]=240|o>>18,i[r++]=128|o>>12&63,i[r++]=128|o>>6&63,i[r++]=128|63&o)}return i[_[9]](0,r)},e[_[10]]=function(e){for(var t=_[11],n=0;n>1),i=0;i>1]=parseInt(e[_[15]](i,2),16);return n},e[_[16]]=function(t){return e[_[4]](atob(t))},e}();t[_[3]]=n},16087:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[17]]=void 0;var i=n(291),r=n(22354),a=function(){function e(){}return e[_[18]]=function(t){return new i[_[21]](r[_[3]][_[16]](t),e[_[20]])[_[19]]()},e[_[20]]={1:{name:_[22],type:_[23]},2:{name:_[24],type:_[23]},3:{name:_[25],type:_[26]},4:{name:_[27],type:_[26]},5:{name:_[28],type:_[26],packed:!0},11:{name:_[29],type:{0:_[30],1:_[31],2:_[32]}},6:{name:_[33],type:_[26]},7:{name:_[34],type:_[26],packed:!0},10:{name:_[35],type:_[36]},12:{name:_[37],type:{0:_[38],1:_[39],2:_[40],3:_[41]}},defaults:{vertical_alignment:_[30],primary_button:_[39]}},e}();t[_[17]]=a},2240:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[42]]=void 0;var i=n(34634);t[_[42]]=function(e){this[_[43]]=e[_[24]],this[_[44]]=e[_[28]][0],this[_[45]]=e[_[27]],this[_[46]]=e[_[33]],this[_[47]]=e[_[25]],this[_[48]]=new i[_[49]](e[_[34]]),this[_[50]]=this[_[48]][_[51]]()}},92902:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[52]]=void 0;var n=[{type:_[53],rules:[{ua:_[54]}],dpi:[320.8,323],bw:3,ac:500},{type:_[53],rules:[{ua:_[55]}],dpi:[403,404.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[56]}],dpi:[449.7,443.3],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[57]}],dpi:[315.3,314.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[58]}],dpi:289,bw:3,ac:500},{type:_[53],rules:[{ua:_[59]}],dpi:[442.5,443.3],bw:3,ac:500},{type:_[53],rules:[{ua:_[60]}],dpi:[449.7,447.4],bw:3,ac:500},{type:_[53],rules:[{ua:_[61]}],dpi:472.8,bw:3,ac:1e3},{type:_[53],rules:[{ua:_[62]}],dpi:[515.1,518],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[63]}],dpi:[422,419.9],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[64]}],dpi:[221.7,219.1],bw:3,ac:500},{type:_[53],rules:[{ua:_[65]}],dpi:[422,424.1],bw:3,ac:500},{type:_[53],rules:[{ua:_[66]}],dpi:[537.9,541.9],bw:3,ac:500},{type:_[53],rules:[{ua:_[67]}],dpi:[537.9,535.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[68]}],dpi:[442.4,444.8],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[69]}],dpi:[319.8,318.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[70]}],dpi:[240.6,247.5],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[71]}],dpi:[206.6,204.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[72]}],dpi:[403.4,401.5],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[73]}],dpi:[240,219.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[74]}],dpi:[480,446.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[75]}],dpi:240,bw:3,ac:500},{type:_[53],rules:[{ua:_[76]}],dpi:[368.1,256.7],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[77]}],dpi:[254,255.9],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[78]}],dpi:[254,256.7],bw:3,ac:500},{type:_[53],rules:[{ua:_[79]}],dpi:[254,256.7],bw:3,ac:500},{type:_[53],rules:[{ua:_[80]}],dpi:[326.6,327.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[81]}],dpi:[326.6,328.4],bw:3,ac:500},{type:_[53],rules:[{ua:_[82]}],dpi:[315.3,316.1],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[83]}],dpi:[403.4,402.7],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[84]}],dpi:[494.3,489.7],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[85]}],dpi:[295,296.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[86]}],dpi:[295,295.6],bw:3,ac:500},{type:_[53],rules:[{ua:_[87]}],dpi:[422,424.1],bw:3,ac:500},{type:_[53],rules:[{ua:_[88]}],dpi:[422,423.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[89]}],dpi:[403.4,401],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[90]}],dpi:[442.4,441.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[91]}],dpi:[391.9,405.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[92]}],dpi:[442.4,444.1],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[93]}],dpi:[184.7,185.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[94]}],dpi:[196.7,205.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[95]}],dpi:[234.5,229.8],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[96]}],dpi:[304.8,303.9],bw:5,ac:500},{type:_[53],rules:[{ua:_[97]}],dpi:216,bw:3,ac:500},{type:_[53],rules:[{ua:_[98]}],dpi:[217.7,231.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[99]}],dpi:[386.4,387],bw:3,ac:500},{type:_[53],rules:[{ua:_[100]}],dpi:[386.4,387.7],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[101]}],dpi:[442.5,443.3],bw:3,ac:500},{type:_[53],rules:[{ua:_[102]}],dpi:439.4,bw:4,ac:1e3},{type:_[53],rules:[{ua:_[103]}],dpi:[415.6,431.6],bw:5,ac:1e3},{type:_[53],rules:[{ua:_[104]}],dpi:[415.6,431.6],bw:5,ac:1e3},{type:_[53],rules:[{ua:_[105]}],dpi:326.8,bw:3,ac:1e3},{type:_[53],rules:[{ua:_[106]}],dpi:[562.7,572.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[96]}],dpi:[306.7,304.8],bw:5,ac:1e3},{type:_[53],rules:[{ua:_[107]}],dpi:[142.6,136.4],bw:3,ac:500},{type:_[53],rules:[{ua:_[108]}],dpi:[515.1,518.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[109]}],dpi:[304.8,305.8],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[110]}],dpi:[249.4,256.7],bw:3,ac:500},{type:_[53],rules:[{ua:_[111]}],dpi:[249.4,255.9],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[112]}],dpi:285.8,bw:3,ac:1e3},{type:_[53],rules:[{ua:_[113]}],dpi:[217.7,204.2],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[114]}],dpi:265.1,bw:3,ac:1e3},{type:_[53],rules:[{ua:_[115]}],dpi:265.1,bw:3,ac:1e3},{type:_[53],rules:[{ua:_[116]}],dpi:[315.3,314.2],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[117]}],dpi:[515.1,518],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[118]}],dpi:[515.2,520.2],bw:3,ac:500},{type:_[53],rules:[{ua:_[119]}],dpi:[165.9,164.8],bw:3,ac:500},{type:_[53],rules:[{ua:_[120]}],dpi:[515.1,518.4],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[121]}],dpi:580.6,bw:3,ac:500},{type:_[53],rules:[{ua:_[122]}],dpi:[522.5,577],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[123]}],dpi:580.6,bw:3,ac:500},{type:_[53],rules:[{ua:_[124]}],dpi:[522.5,576.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[125]}],dpi:[442.5,443.3],bw:3,ac:500},{type:_[53],rules:[{ua:_[126]}],dpi:[428.6,427.6],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[127]}],dpi:[428.6,425.7],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[128]}],dpi:[403.4,401.9],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[129]}],dpi:[224.7,224.1],bw:3,ac:500},{type:_[53],rules:[{ua:_[130]}],dpi:[240,247.5],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[131]}],dpi:[480,443.3],bw:3,ac:1e3},{type:_[53],rules:[{ua:_[132]}],dpi:240,bw:3,ac:500},{type:_[133],rules:[{res:[640,960]}],dpi:[325.1,328.4],bw:4,ac:1e3},{type:_[133],rules:[{res:[640,960]}],dpi:[325.1,328.4],bw:4,ac:1e3},{type:_[133],rules:[{res:[640,1136]}],dpi:[317.1,320.2],bw:3,ac:1e3},{type:_[133],rules:[{res:[640,1136]}],dpi:[317.1,320.2],bw:3,ac:1e3},{type:_[133],rules:[{res:[750,1334]}],dpi:326.4,bw:4,ac:1e3},{type:_[133],rules:[{res:[750,1334]}],dpi:326.4,bw:4,ac:1e3},{type:_[133],rules:[{res:[1242,2208]}],dpi:[453.6,458.4],bw:4,ac:1e3},{type:_[133],rules:[{res:[1242,2208]}],dpi:[453.6,458.4],bw:4,ac:1e3}],i=function(){function e(t){this[_[134]]=t[_[134]]||e[_[135]](),this[_[136]]=t[_[136]]||e[_[137]](),this[_[138]]=t[_[138]],this[_[139]]=t[_[139]],this[_[140]]=t[_[140]]}return e[_[141]]=function(){return/iPad|iPhone|iPod/[_[143]](navigator[_[142]])},e[_[135]]=function(){return Math[_[145]](window[_[144]][_[134]],window[_[144]][_[136]])*window[_[146]]},e[_[137]]=function(){return Math[_[147]](window[_[144]][_[134]],window[_[144]][_[136]])*window[_[146]]},e[_[148]]=function(t){for(var i=navigator[_[149]]||navigator[_[22]]||window[_[150]],o=e[_[135]](),s=e[_[137]](),u=0;u1e-4;){var r=e-this[_[175]](n),a=n-r*((n-t)/(r-i));t=n,n=a,i=r}return n},e[_[172]][_[175]]=function(e){for(var t=e*e,n=0,i=this[_[201]][_[5]]-1;i>=0;i--)n=t*(n+this[_[201]][i]);return(n+1)*e},e[_[203]]=function(e,t){var n,i,r,a=e[_[5]];for(i=0;i=0;--i){var u=t[i];for(n=i+1;n0?e[_[213]](function(e,t){return e+t},0):0},e[_[214]]=function(t){return t[_[5]]>0?e[_[212]](t)/t[_[5]]:1/0},e[_[215]]=function(e){return Math[_[215]]&&Math[_[215]](e)||(e>0?1:e<0?-1:0)},e}();t[_[178]]=n;var i=function(){function e(){}return e[_[216]]=function(){var e;return(e=_[217]!=typeof Float32Array?new Float32Array(16):new Array(16))[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},e[_[218]]=function(e){return e[0]=1,e[1]=0,\ne[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e},e[_[219]]=function(e,t,n){var i,r,a,o,s,u,c,l,d,f,h,p,b,m,g,v,$,y,S,T,E,A,C,I,P=n[0],M=n[1],R=n[2],k=Math[_[211]](P*P+M*M+R*R);return Math[_[202]](k)<1e-6?null:(P*=k=1/k,M*=k,R*=k,i=Math[_[220]](t),a=1-(r=Math[_[221]](t)),o=e[0],s=e[1],u=e[2],c=e[3],l=e[4],d=e[5],f=e[6],h=e[7],p=e[8],b=e[9],m=e[10],g=e[11],v=P*P*a+r,$=M*P*a+R*i,y=R*P*a-M*i,S=P*M*a-R*i,T=M*M*a+r,E=R*M*a+P*i,A=P*R*a+M*i,C=M*R*a-P*i,I=R*R*a+r,e[0]=o*v+l*$+p*y,e[1]=s*v+d*$+b*y,e[2]=u*v+f*$+m*y,e[3]=c*v+h*$+g*y,e[4]=o*S+l*T+p*E,e[5]=s*S+d*T+b*E,e[6]=u*S+f*T+m*E,e[7]=c*S+h*T+g*E,e[8]=o*A+l*C+p*I,e[9]=s*A+d*C+b*I,e[10]=u*A+f*C+m*I,e[11]=c*A+h*C+g*I,e)},e[_[222]]=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=t[4],_=t[5],u=t[6],c=t[7],l=t[8],d=t[9],f=t[10],h=t[11],p=t[12],b=t[13],m=t[14],g=t[15],v=n[0],$=n[1],y=n[2],S=n[3];return e[0]=v*i+$*s+y*l+S*p,e[1]=v*r+$*_+y*d+S*b,e[2]=v*a+$*u+y*f+S*m,e[3]=v*o+$*c+y*h+S*g,v=n[4],$=n[5],y=n[6],S=n[7],e[4]=v*i+$*s+y*l+S*p,e[5]=v*r+$*_+y*d+S*b,e[6]=v*a+$*u+y*f+S*m,e[7]=v*o+$*c+y*h+S*g,v=n[8],$=n[9],y=n[10],S=n[11],e[8]=v*i+$*s+y*l+S*p,e[9]=v*r+$*_+y*d+S*b,e[10]=v*a+$*u+y*f+S*m,e[11]=v*o+$*c+y*h+S*g,v=n[12],$=n[13],y=n[14],S=n[15],e[12]=v*i+$*s+y*l+S*p,e[13]=v*r+$*_+y*d+S*b,e[14]=v*a+$*u+y*f+S*m,e[15]=v*o+$*c+y*h+S*g,e},e[_[223]]=function(e,t,n,i,r){var a=1/Math[_[181]](t/2),o=1/(i-r);return e[0]=a/n,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(r+i)*o,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*r*i*o,e[15]=0,e},e[_[224]]=function(e,t){var n=t[0],i=t[1],r=t[2],a=t[3],o=t[4],s=t[5],_=t[6],u=t[7],c=t[8],l=t[9],d=t[10],f=t[11],h=t[12],p=t[13],b=t[14],m=t[15],g=n*s-i*o,v=n*_-r*o,$=n*u-a*o,y=i*_-r*s,S=i*u-a*s,T=r*u-a*_,E=c*p-l*h,A=c*b-d*h,C=c*m-f*h,I=l*b-d*p,P=l*m-f*p,M=d*m-f*b,R=g*M-v*P+$*I+y*C-S*A+T*E;return R?(R=1/R,e[0]=(s*M-_*P+u*I)*R,e[1]=(r*P-i*M-a*I)*R,e[2]=(p*T-b*S+m*y)*R,e[3]=(d*S-l*T-f*y)*R,e[4]=(_*C-o*M-u*A)*R,e[5]=(n*M-r*C+a*A)*R,e[6]=(b*$-h*T-m*v)*R,e[7]=(c*T-d*$+f*v)*R,e[8]=(o*P-s*C+u*E)*R,e[9]=(i*C-n*P-a*E)*R,e[10]=(h*S-p*$+m*g)*R,e[11]=(l*$-c*S-f*g)*R,e[12]=(s*A-o*I-_*E)*R,e[13]=(n*I-i*A+r*E)*R,e[14]=(p*v-h*y-b*g)*R,e[15]=(c*y-l*v+d*g)*R,e):null},e}();t[_[208]]=i;var r=function(){function e(){}return e[_[216]]=function(){var e;return(e=_[217]!=typeof Float32Array?new Float32Array(3):new Array(3))[0]=0,e[1]=0,e[2]=0,e},e}();t[_[207]]=r;var a=function(){function e(){}return e[_[216]]=function(){var e;return(e=_[217]!=typeof Float32Array?new Float32Array(4):new Array(4))[0]=0,e[1]=0,e[2]=0,e[3]=1,e},e[_[225]]=function(e,t,n,i){var r;return(r=_[217]!=typeof Float32Array?new Float32Array(4):new Array(4))[0]=e,r[1]=t,r[2]=n,r[3]=i,r},e[_[222]]=function(e,t,n){var i=t[0],r=t[1],a=t[2],o=t[3],s=n[0],_=n[1],u=n[2],c=n[3];return e[0]=i*c+o*s+r*u-a*_,e[1]=r*c+o*_+a*s-i*u,e[2]=a*c+o*u+i*_-r*s,e[3]=o*c-i*s-r*_-a*u,e},e[_[226]]=function(e){var t=r[_[216]](),n=e[0]*e[0],i=e[1]*e[1],a=e[2]*e[2],o=e[0]*e[1]+e[2]*e[3];return o>.499?(t[2]=2*Math[_[227]](e[0],e[3]),t[0]=Math[_[209]]/2,t[1]=0):o<-.499?(t[2]=-2*Math[_[227]](e[0],e[3]),t[0]=-Math[_[209]]/2,t[1]=0):(t[2]=Math[_[227]](2*e[1]*e[3]-2*e[0]*e[2],1-2*i-2*a),t[0]=Math[_[228]](2*o),t[1]=Math[_[227]](2*e[0]*e[3]-2*e[1]*e[2],1-2*n-2*a)),{yaw:180*t[2]/Math[_[209]],pitch:180*t[1]/Math[_[209]],roll:180*t[0]/Math[_[209]]}},e}();t[_[206]]=a},291:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[21]]=void 0;var n=function(){function e(e,t){this[_[229]]=e,this[_[20]]=t,this[_[230]]=0,this[_[231]]=new DataView(this[_[229]][_[229]],0,this[_[229]][_[5]])}return e[_[172]][_[232]]=function(){var e,t=0;for(e=0;this[_[230]]>>3,type:7&e}},e[_[172]][_[234]]=function(){for(var e=this[_[232]](),t=new Array(e),n=0,i=this[_[230]];i=192&&r<224&&i+1=224&&r<240&&i+2=240&&r<248&&i+3>10,t[n++]=56320|1023&a)}}var o=_[11],s=16384;for(i=0;i0)for(var r in this[_[20]][_[252]])this[_[20]][_[252]][_[248]](r)&&void 0===e[r]&&(e[r]=this[_[20]][_[252]][r]);return e},e}();t[_[21]]=n},62108:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[253]]=t[_[254]]=t[_[255]]=void 0,function(e){e[_[256]]=_[257],e[_[258]]=_[259],e[_[260]]=_[261]}(t[_[255]]||(t[_[255]]={})),function(e){e[_[262]]=_[263],e[_[264]]=_[265],e[_[266]]=_[267],e[_[268]]=_[269]}(t[_[254]]||(t[_[254]]={})),function(e){e[_[270]]=_[38],e[_[271]]=_[272],e[_[273]]=_[274],e[_[275]]=_[276]}(t[_[253]]||(t[_[253]]={}))},79926:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[277]]=void 0;var i=n(16087),r=n(52471),a=n(99538),o=n(55579),s=n(34742),u=n(59574),c=n(8833),l=n(15949),d=n(89543),f=n(62108),h=n(33612),p=n(40339),b=function(){function e(t,n,c,b,m,g,v,$){var y=this;this[_[278]]=null,this[_[279]]=null,this[_[280]]=null,this[_[281]]=null,this[_[282]]=f[_[254]][_[268]],this[_[283]]=null,this[_[284]]=!1,this[_[285]]=!1,this[_[286]]=null,this[_[287]]=null,this[_[288]]=null,this[_[289]]=!1,this[_[290]]=function(){y[_[291]]=!0},this[_[292]]=function(e){if(y[_[282]]!==f[_[254]][_[264]])return y[_[293]]&&Boolean(y[_[295]][_[294]])&&y[_[295]][_[294]](),void(y[_[293]]=!1);y[_[296]](),y[_[285]]!==y[_[284]]&&(y[_[300]][_[299]]()(u[_[298]][_[297]],{stereo:y[_[284]]}),y[_[285]]=y[_[284]]);var t=y[_[287]][_[301]](e),n=!y[_[289]]||y[_[291]]||0===e;n||t||0===e||y[_[302]]?(y[_[303]]&&Boolean(y[_[295]][_[304]])&&y[_[295]][_[304]](),!y[_[293]]&&Boolean(y[_[295]][_[305]])&&y[_[295]][_[305]](),y[_[286]][_[307]](y[_[287]][_[306]](),n),y[_[303]]=!1,y[_[293]]=!0):(y[_[293]]&&Boolean(y[_[295]][_[294]])&&y[_[295]][_[294]](),y[_[293]]=!1),null===y[_[283]]&&(y[_[280]]=requestAnimationFrame(y[_[292]])),y[_[291]]=!1,y[_[302]]=!1},this[_[308]]=function(){y[_[311]]()[_[310]](d[_[309]][_[265]],y[_[308]]),y[_[311]]()[_[310]](d[_[309]][_[312]],y[_[308]]),y[_[282]]===f[_[254]][_[262]]&&(y[_[296]](),y[_[282]]=f[_[254]][_[264]],y[_[280]]=requestAnimationFrame(y[_[292]]))},this[_[313]]=function(e){y[_[282]]=f[_[254]][_[266]],y[_[283]]=e,y[_[314]](),y[_[280]]&&(cancelAnimationFrame(y[_[280]]),y[_[280]]=null),y[_[300]][_[299]]()(u[_[298]][_[315]],new a[_[318]](o[_[317]][_[316]])),y[_[320]][_[156]](_[319]+e)},this[_[321]]=function(){return y[_[287]][_[321]](),!0},this[_[322]]=function(){return y[_[287]][_[322]](),!0},this[_[323]]=function(){return y[_[287]][_[323]]()},this[_[324]]=function(){return y[_[287]][_[324]](),!0},this[_[325]]=function(){return y[_[287]][_[325]](),!0},this[_[326]]=function(){return y[_[287]][_[326]]()},this[_[327]]=function(){return y[_[287]][_[327]](),!0},this[_[328]]=function(){return y[_[287]][_[328]](),!0},this[_[329]]=function(){return y[_[287]][_[329]]()},this[_[330]]=function(e){return!!y[_[287]]&&(y[_[287]][_[330]](e),!0)},this[_[331]]=function(){y[_[289]]=!0},this[_[332]]=function(){var e=y[_[311]]();if(4!==e[_[333]]){e[_[334]](d[_[309]][_[265]],function(){return y[_[289]]=!1})}else y[_[289]]=!1},this[_[335]]=function(){y[_[300]][_[336]](u[_[298]][_[264]],y[_[332]]),y[_[300]][_[336]](u[_[298]][_[337]],y[_[331]]),y[_[300]][_[336]](u[_[298]][_[338]],y[_[335]]),y[_[300]][_[336]](u[_[298]][_[339]],y[_[335]]),y[_[300]]=null;var e=y[_[311]]();y[_[340]]&&y[_[340]][_[310]](d[_[309]][_[312]],y[_[290]]),y[_[314]](),y[_[278]]&&y[_[278]][_[341]]&&(y[_[278]][_[341]][_[342]](y[_[278]]),y[_[278]]=null),y[_[279]]&&y[_[279]][_[341]]&&(y[_[279]][_[341]][_[342]](y[_[279]]),y[_[279]]=null),y[_[281]]&&y[_[281]][_[341]]&&(y[_[281]][_[341]][_[342]](y[_[281]]),y[_[281]]=null),y[_[282]]=f[_[254]][_[268]],y[_[280]]&&(cancelAnimationFrame(y[_[280]]),y[_[280]]=null),y[_[287]]&&y[_[287]][_[335]](),y[_[287]]=null,y[_[286]][_[335]](),y[_[286]]=null,e[_[310]](d[_[309]][_[265]],y[_[308]]),e[_[310]](d[_[309]][_[312]],y[_[308]])},this[_[300]]=t[_[300]],this[_[340]]=t[_[343]],this[_[344]]=b,this[_[345]]=t[_[346]],this[_[347]]=n,this[_[348]]=c,this[_[295]]=$,this[_[320]]=m,this[_[349]]=g,this[_[350]]=t[_[353]][_[352]][_[351]],this[_[354]]=v,this[_[291]]=!1,this[_[302]]=!1,this[_[293]]=!1,this[_[303]]=!0,this[_[278]]=document[_[355]](_[278]),this[_[278]][_[357]](_[347],_[356]),this[_[278]][_[359]][_[358]]=_[38],this[_[278]][_[359]][_[360]]=_[361];var S=this[_[345]][_[365]](s[_[363]][_[362]]+_[364])[0];S?this[_[345]][_[366]](this[_[278]],S):this[_[345]][_[367]](this[_[278]]);var T=t[_[353]][_[352]][_[368]];if(e[_[369]](g,this[_[350]],T)?this[_[320]][_[156]](_[370]):(this[_[279]]=document[_[355]](_[278]),this[_[279]][_[357]](_[347],_[371]),this[_[279]][_[359]][_[358]]=_[38],this[_[279]][_[359]][_[360]]=_[361],this[_[345]][_[366]](this[_[279]],this[_[278]]),this[_[320]][_[156]](_[372])),(0,l[_[374]])()[_[373]]&&(this[_[340]][_[357]](_[375],_[11]),this[_[340]][_[357]](_[376],_[11]),this[_[320]][_[156]](_[377])),this[_[281]]=document[_[379]](_[378]),this[_[281]]||(this[_[281]]=document[_[355]](_[359]),this[_[281]][_[357]](_[347],_[378]),this[_[281]][_[367]](document[_[381]](_[380])),document[_[383]](_[382])[0][_[367]](this[_[281]])),this[_[284]]=this[_[348]][_[284]],this[_[285]]=this[_[284]],this[_[348]][_[384]]?this[_[320]][_[156]](_[385]):this[_[340]][_[334]](d[_[309]][_[312]],this[_[290]]),_[23]==typeof this[_[348]][_[386]]){var E=i[_[17]][_[18]](this[_[348]][_[386]]);this[_[320]][_[156]](_[387]+JSON[_[155]](E)),E[_[248]](_[34])&&(this[_[288]]=new r[_[168]](E,this[_[320]]))}this[_[282]]=f[_[254]][_[262]],this[_[287]]=new h[_[388]](this[_[278]],this[_[345]],this[_[348]],this[_[295]],this[_[300]]),this[_[286]]=new p[_[389]](this[_[278]],this[_[279]],t,this[_[288]],this[_[313]],this[_[320]],this[_[354]],this[_[348]],this[_[295]]),this[_[300]][_[390]](u[_[298]][_[264]],this[_[332]]),this[_[300]][_[390]](u[_[298]][_[337]],this[_[331]]),this[_[300]][_[390]](u[_[298]][_[338]],this[_[335]]),this[_[300]][_[390]](u[_[298]][_[339]],this[_[335]]),this[_[391]](),this[_[296]]();var A=this[_[311]]();4!==A[_[333]]&&A[_[392]]?(A[_[334]](d[_[309]][_[265]],this[_[308]]),A[_[334]](d[_[309]][_[312]],this[_[308]])):this[_[308]]()}return e[_[172]][_[311]]=function(){return this[_[348]][_[384]]&&this[_[344]]?this[_[344]]:this[_[340]]},e[_[172]][_[296]]=function(){if(this[_[278]]){var e,t,n,i;this[_[345]]&&this[_[345]][_[393]]&&this[_[345]][_[394]]?(e=this[_[345]][_[393]],t=this[_[345]][_[394]]):(e=window[_[395]],t=window[_[396]]),this[_[340]]&&this[_[340]][_[397]]&&this[_[340]][_[398]]?(n=this[_[340]][_[397]],i=this[_[340]][_[398]]):(n=e,i=t);var r=(this[_[349]][_[146]]||1)/this[_[286]][_[399]](),a=e*r,o=t*r,s=a/o;a>n&&(o=(a=n)/s),o>i&&(a=(o=i)*s),this[_[278]][_[134]]===a&&this[_[278]][_[136]]===o||(this[_[278]][_[134]]=a,this[_[278]][_[136]]=o),!this[_[279]]||this[_[279]][_[134]]===n&&this[_[279]][_[136]]===i||(this[_[279]][_[134]]=n,this[_[279]][_[136]]=i)}},e[_[172]][_[391]]=function(){this[_[278]]&&(this[_[278]][_[359]][_[358]]=_[400]),this[_[279]]&&(this[_[279]][_[359]][_[358]]=_[400]),this[_[340]]&&(this[_[340]][_[359]][_[358]]=_[38])},e[_[172]][_[314]]=function(){this[_[278]]&&(this[_[278]][_[359]][_[358]]=_[38]),this[_[279]]&&(this[_[279]][_[359]][_[358]]=_[38]),this[_[340]]&&this[_[340]][_[359]]&&(this[_[340]][_[359]][_[358]]=_[400])},e[_[369]]=function(e,t,n){var i=e[_[401]],r=e[_[149]],a=e[_[402]],o=(0,l[_[374]])()[_[403]],s=(o[_[404]]>10||10===o[_[404]]&&o[_[405]]>=1)&&!(0,l[_[374]])()[_[373]],u=-1;return!(t===c[_[407]][_[406]]&&n===c[_[409]][_[408]]&&!s)&&(_[410]===i?null!==new RegExp(_[412])[_[411]](r)&&(u=parseFloat(RegExp[_[413]])):_[414]===i&&(-1!==a[_[167]](_[415])?u=11:null!==new RegExp(_[416])[_[411]](r)&&(u=parseFloat(RegExp[_[413]]))),-1===u||u>=13)},e[_[172]][_[417]]=function(e){return this[_[302]]=this[_[284]]!==e,this[_[284]]=e,this[_[284]]?(this[_[286]][_[418]](),this[_[287]][_[418]]()):(this[_[286]][_[419]](),this[_[287]][_[419]]()),!0},e[_[172]][_[420]]=function(){return this[_[284]]},e[_[172]][_[421]]=function(){return this[_[282]]===f[_[254]][_[262]]?f[_[254]][_[262]]:this[_[282]]===f[_[254]][_[264]]?f[_[254]][_[264]]:this[_[282]]===f[_[254]][_[266]]?f[_[254]][_[266]]:this[_[282]]===f[_[254]][_[268]]?null:void 0},e[_[172]][_[422]]=function(){return this[_[283]]},e[_[172]][_[423]]=function(){return this[_[287]]?this[_[287]][_[423]]():{yaw:0,pitch:0,roll:0}},e[_[172]][_[424]]=function(e){return!!this[_[287]]&&(this[_[287]][_[424]](e),!0)},e[_[172]][_[425]]=function(e){return!!this[_[287]]&&(this[_[287]][_[425]](e),!0)},e[_[172]][_[426]]=function(){return this[_[287]]?this[_[287]][_[426]]():-1},e[_[172]][_[427]]=function(e){return!!this[_[287]]&&(this[_[287]][_[427]](e),!0)},e[_[172]][_[428]]=function(){return this[_[287]]?this[_[287]][_[428]]():-1},e[_[172]][_[429]]=function(e){return!!this[_[287]]&&(this[_[287]][_[429]](e),!0)},e[_[172]][_[430]]=function(){return this[_[287]]?this[_[287]][_[430]]():-1},e[_[172]][_[431]]=function(e){return!!this[_[287]]&&(this[_[287]][_[431]](e),!0)},e[_[172]][_[432]]=function(){return this[_[287]]?this[_[287]][_[432]]():-1},e[_[172]][_[433]]=function(e){return!!this[_[287]]&&this[_[287]][_[433]](e)},e[_[172]][_[434]]=function(){return this[_[287]]?this[_[287]][_[434]]():-1},e[_[172]][_[435]]=function(){var e,t;return null!==(t=null===(e=this[_[287]])||void 0===e?void 0:e[_[436]]())&&void 0!==t&&t},e[_[172]][_[437]]=function(){var e,t;return null!==(t=null===(e=this[_[287]])||void 0===e?void 0:e[_[438]]())&&void 0!==t?t:Promise[_[439]]()},e}();t[_[277]]=b},91705:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[254]]=t[_[253]]=t[_[255]]=t[_[440]]=void 0;var i=n(83024),r=n(62108);Object[_[2]](t,_[253],{enumerable:!0,get:function(){return r[_[253]]}}),Object[_[2]](t,_[255],{enumerable:!0,get:function(){return r[_[255]]}}),Object[_[2]](t,_[254],{enumerable:!0,get:function(){return r[_[254]]}});var a=n(44855);t[_[440]]={name:i[_[442]][_[441]],module:{VRHandler:a[_[443]]},exports:{VRContentType:r[_[255]],TransitionTimingType:r[_[253]],VRState:r[_[254]]}},t[_[444]]=t[_[440]]},40339:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[389]]=void 0;var i=n(57602),r=n(59574),a=n(8833),o=n(62108),s=n(42285),u=n(71568),c=function(){function e(){this[_[445]]=[],this[_[446]]=[]}return e[_[172]][_[447]]=function(){return this[_[445]]},e[_[172]][_[448]]=function(){return this[_[446]]},e[_[172]][_[449]]=function(e,t){this[_[445]][_[167]](e)<0&&(this[_[445]][_[241]](e),this[_[445]][_[450]](function(e,t){return e-t})),this[_[446]][_[167]](t)<0&&(this[_[446]][_[241]](t),this[_[446]][_[450]](function(e,t){return e-t}))},e}(),l=function(){function e(e,t,n,i,a,o,l,d,f){var h=this;this[_[451]]=null,this[_[452]]=null,this[_[283]]=s[_[454]][_[453]],this[_[455]]=-1,this[_[456]]=!1,this[_[457]]=-1,this[_[458]]=-1,this[_[459]]=-1,this[_[460]]=-1,this[_[461]]=-1,this[_[462]]=[-1,-1,1,-1,1,1,-1,1],this[_[463]]=[0,1,2,0,2,3],this[_[464]]=-1,this[_[465]]=new RegExp(_[466],_[467]),this[_[468]]=!0,this[_[469]]=[0,0,0,0,0,0,0,0,0,0,0,0],this[_[470]]={LEFT:0,RIGHT:1},this[_[471]]=[0,0,0,0,0,0,0,0,0,0,0,0],this[_[472]]=1,this[_[473]]=[[1,1],[1,1]],this[_[474]]=[1,1],this[_[320]]=null,this[_[278]]=null,this[_[279]]=null,this[_[340]]=null,this[_[475]]=null,this[_[350]]=null,this[_[476]]=-1,this[_[477]]=-1,this[_[478]]=null,this[_[479]]=!1,this[_[354]]=null,d[_[284]]?(this[_[456]]=!0,this[_[455]]=2):(this[_[456]]=!1,this[_[455]]=1),this[_[300]]=n[_[300]],this[_[320]]=o,this[_[278]]=e,this[_[279]]=t,this[_[340]]=n[_[343]],this[_[475]]=a,this[_[350]]=n[_[353]][_[352]][_[351]],this[_[354]]=l,this[_[348]]=d,this[_[295]]=f,this[_[480]]=[],this[_[300]][_[390]](r[_[298]][_[481]],function(){return h[_[468]]=!1}),i&&(this[_[471]]=this[_[482]](i),this[_[472]]=this[_[483]](i),this[_[473]][this[_[470]][_[484]]]=this[_[485]](i,this[_[470]][_[484]]),this[_[473]][this[_[470]][_[486]]]=this[_[485]](i,this[_[470]][_[486]]),this[_[474]]=this[_[487]](i)),this[_[478]]=new c,this[_[488]]=new u[_[489]](1500,1e3),this[_[348]][_[490]]?(this[_[488]][_[491]](),this[_[488]][_[492]](this)):this[_[488]][_[493]]();try{this[_[494]](),this[_[495]](),this[_[496]](),this[_[497]](),this[_[498]](),this[_[499]](),this[_[500]](),this[_[501]]()}catch(e){this[_[320]][_[267]](e)}}return e[_[172]][_[502]]=function(e){if(void 0===e&&(e=[]),null!==this[_[451]]){var t=this[_[451]][_[503]]();if(t===s[_[454]][_[453]])return this[_[283]]=s[_[454]][_[453]],void(this[_[480]]=[]);if(this[_[480]][_[241]](t),e[_[167]](t)>-1&&this[_[468]])throw this[_[283]]=s[_[454]][_[453]],this[_[480]]=[],_[504];if(!(this[_[480]][_[5]]>=this[_[354]][_[505]]))return;this[_[283]]=this[_[480]][this[_[480]][_[5]]-1]}var n=_[506];throw s[_[507]][this[_[283]]]&&(n=s[_[507]][this[_[283]]]),this[_[475]](n),n},e[_[172]][_[508]]=function(e,t){for(var n=[],i=2;i0;s++)n=Math[_[147]](a[s],e);for(var u=0;u0;u++)i=Math[_[147]](o[u],t);n&&i&&(n!==e||i!==t)?(this[_[320]][_[156]](_[587]+e+_[588]+t+_[589]+n+_[588]+i+_[590]),this[_[508]](this[_[452]],_[591],this[_[279]],0,0,n,i,0,0,this[_[279]][_[134]],this[_[279]][_[136]])):this[_[479]]=!1},e[_[172]][_[592]]=function(){if(!this[_[283]]||this[_[283]]===s[_[454]][_[453]]){var e=this[_[340]][_[397]],t=this[_[340]][_[398]];if(this[_[279]]&&this[_[452]]){var n=0;this[_[350]]!==a[_[407]][_[593]]&&/Trident/[_[143]](navigator[_[149]])&&(n=.0555555*t);var i=t-2*n;this[_[508]](this[_[452]],_[591],this[_[340]][_[594]](),0,n,e,i,0,0,this[_[279]][_[134]],this[_[279]][_[136]]),this[_[478]][_[449]](e,t);var r=this[_[476]]!==e,o=this[_[477]]!==t;!r&&!o||/Trident/[_[143]](navigator[_[149]])||(this[_[479]]=!0),this[_[479]]&&this[_[583]](e,t),this[_[476]]=e,this[_[477]]=t}this[_[508]](this[_[451]],_[595],this[_[451]][_[596]]),this[_[508]](this[_[451]],_[574],this[_[451]][_[575]],this[_[464]]);try{var u=null!==this[_[295]][_[597]]?this[_[295]][_[597]]():null;null!==u?this[_[508]](this[_[451]],_[598],this[_[451]][_[575]],0,this[_[451]][_[599]],this[_[451]][_[599]],this[_[451]][_[600]],u):this[_[279]]?this[_[508]](this[_[451]],_[598],this[_[451]][_[575]],0,this[_[451]][_[599]],this[_[451]][_[599]],this[_[451]][_[600]],this[_[279]]):this[_[508]](this[_[451]],_[598],this[_[451]][_[575]],0,this[_[451]][_[599]],this[_[451]][_[599]],this[_[451]][_[600]],this[_[340]][_[594]]())}catch(e){this[_[514]](e[_[601]])}}},e[_[172]][_[602]]=function(e,t,n){this[_[320]][_[156]](_[603]+e[_[604]](2)+_[605]+(100*n)[_[604]](2)+_[606]+(100*t)[_[604]](2)+_[607])},e[_[172]][_[608]]=function(e,t){if(!this[_[283]]||this[_[283]]===s[_[454]][_[453]]){switch(this[_[508]](this[_[451]],_[549],this[_[459]]),this[_[508]](this[_[451]],_[569],this[_[451]][_[570]],this[_[460]]),this[_[508]](this[_[451]],_[611],this[_[550]][_[612]],2,this[_[451]][_[613]],!1,0,0),this[_[508]](this[_[451]],_[595],this[_[451]][_[596]]),this[_[508]](this[_[451]],_[574],this[_[451]][_[575]],this[_[464]]),this[_[552]][_[609]](e),this[_[556]][_[609]](0),this[_[558]][_[609]](this[_[348]][_[558]]),isFinite(this[_[340]][_[397]])&&this[_[340]][_[397]]>0&&isFinite(this[_[340]][_[398]])&&this[_[340]][_[398]]>0?(this[_[397]][_[609]](this[_[340]][_[397]]),this[_[398]][_[609]](this[_[340]][_[398]])):(this[_[397]][_[609]](4096),this[_[398]][_[609]](2048)),this[_[348]][_[557]]){case o[_[255]][_[256]]:this[_[557]][_[609]](0);break;case o[_[255]][_[260]]:this[_[557]][_[609]](1);break;case o[_[255]][_[258]]:this[_[557]][_[609]](2);break;default:this[_[514]](_[610]+this[_[348]][_[557]]+_[541])}this[_[562]][_[609]](this[_[471]]),this[_[564]][_[609]](this[_[472]]),this[_[565]][_[609]](this[_[473]][e]),this[_[567]][_[609]](this[_[474]]),this[_[560]][_[609]](t),this[_[508]](this[_[451]],_[614],this[_[278]][_[134]]/2*e,0,this[_[278]][_[134]]/this[_[455]],this[_[278]][_[136]]),this[_[508]](this[_[451]],_[569],this[_[451]][_[573]],this[_[461]]),this[_[508]](this[_[451]],_[615],this[_[451]][_[616]],6,this[_[451]][_[617]],0)}},e[_[172]][_[482]]=function(e){return e?e[_[169]][_[50]]:this[_[469]]},e[_[172]][_[483]]=function(e){var t=this[_[618]](e),n=i[_[178]][_[210]](Math[_[181]](i[_[178]][_[180]](Math[_[145]](t[_[188]],t[_[189]]))),Math[_[181]](i[_[178]][_[180]](Math[_[145]](t[_[190]],t[_[191]]))));return n*n},e[_[172]][_[618]]=function(e,t){var n=t||this[_[470]][_[484]];return n===this[_[470]][_[484]]?e[_[185]](!0):n===this[_[470]][_[486]]?e[_[187]](!0):null},e[_[172]][_[485]]=function(e,t){var n=this[_[618]](e,t);return[Math[_[181]](i[_[178]][_[180]](n[_[188]])),Math[_[181]](i[_[178]][_[180]](n[_[190]]))]},e[_[172]][_[487]]=function(e){var t=this[_[618]](e);return[Math[_[181]](i[_[178]][_[180]](t[_[188]]))+Math[_[181]](i[_[178]][_[180]](t[_[189]])),Math[_[181]](i[_[178]][_[180]](t[_[191]]))+Math[_[181]](i[_[178]][_[180]](t[_[190]]))]},e[_[172]][_[399]]=function(){var e=0;return this[_[283]]===s[_[454]][_[453]]&&(e=(e=(e=(e=(e=e||this[_[451]][_[619]])||this[_[451]][_[620]])||this[_[451]][_[621]])||this[_[451]][_[622]])||this[_[451]][_[623]]),e||1},e[_[172]][_[418]]=function(){this[_[456]]=!0,this[_[455]]=2},e[_[172]][_[419]]=function(){this[_[456]]=!1,this[_[455]]=1},e[_[172]][_[307]]=function(e,t){if((!this[_[283]]||this[_[283]]===s[_[454]][_[453]])&&this[_[451]]&&this[_[340]][_[594]]()){this[_[488]][_[624]](),this[_[488]][_[625]](),this[_[488]][_[626]]();try{this[_[488]][_[627]](),t&&this[_[592]](),this[_[488]][_[628]](),this[_[608]](this[_[470]][_[484]],e),this[_[456]]&&this[_[608]](this[_[470]][_[486]],e),null!==this[_[295]][_[629]]&&this[_[295]][_[629]](this[_[451]]),this[_[502]]([s[_[454]][_[630]]])}catch(e){this[_[320]][_[513]](_[631]+e)}this[_[488]][_[632]]()}},e[_[172]][_[335]]=function(){this[_[488]][_[633]](this),this[_[488]][_[335]](),this[_[488]]=null,this[_[478]]=null,this[_[451]]=null,this[_[278]]=null,this[_[452]]=null,this[_[279]]=null},e}();t[_[389]]=l},44855:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[443]]=void 0;var i=n(79926),r=n(11791),a=new window[_[634]],o=function(){function e(e,t,n,o,s,u,c){var l=r[_[636]][_[635]](n),d=l[0],f=l[1],h=new i[_[277]](e,t,d,o,s,u,c,f);a[_[637]](this,h)}return e[_[172]][_[638]]=function(){return a[_[639]](this)&&_[267]!==a[_[640]](this)[_[421]]()},e[_[172]][_[417]]=function(e){var t=_[36]==typeof e;return!(!this[_[638]]()||!t)&&a[_[640]](this)[_[417]](e)},e[_[172]][_[321]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[321]]()},e[_[172]][_[322]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[322]]()},e[_[172]][_[323]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[323]]()},e[_[172]][_[324]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[324]]()},e[_[172]][_[325]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[325]]()},e[_[172]][_[326]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[326]]()},e[_[172]][_[327]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[327]]()},e[_[172]][_[328]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[328]]()},e[_[172]][_[329]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[329]]()},e[_[172]][_[420]]=function(){return!!this[_[638]]()&&a[_[640]](this)[_[420]]()},e[_[172]][_[421]]=function(){return a[_[639]](this)?a[_[640]](this)[_[421]]():null},e[_[172]][_[422]]=function(){return a[_[639]](this)?a[_[640]](this)[_[422]]():null},e[_[172]][_[423]]=function(){return this[_[638]]()?a[_[640]](this)[_[423]]():{yaw:0,pitch:0,roll:0}},e[_[172]][_[330]]=function(e){var t=e&&isFinite(e[_[641]])&&isFinite(e[_[642]])&&isFinite(e[_[643]]);return!(!this[_[638]]()||!t)&&a[_[640]](this)[_[330]](e)},e[_[172]][_[424]]=function(e){var t=isFinite(e[_[588]])&&isFinite(e[_[644]])&&isFinite(e[_[645]]);return!(!this[_[638]]()||!t)&&a[_[640]](this)[_[424]](e)},e[_[172]][_[425]]=function(e){var t=isFinite(e);return!(!this[_[638]]()||!t)&&a[_[640]](this)[_[425]](e)},e[_[172]][_[426]]=function(){return this[_[638]]()?a[_[640]](this)[_[426]]():-1},e[_[172]][_[427]]=function(e){var t=isFinite(e);return!(!this[_[638]]()||!t)&&a[_[640]](this)[_[427]](e)},e[_[172]][_[428]]=function(){return this[_[638]]()?a[_[640]](this)[_[428]]():-1},e[_[172]][_[429]]=function(e){return!!this[_[638]]()&&a[_[640]](this)[_[429]](e)},e[_[172]][_[430]]=function(){return this[_[638]]()?a[_[640]](this)[_[430]]():-1},e[_[172]][_[431]]=function(e){return!!this[_[638]]()&&a[_[640]](this)[_[431]](e)},e[_[172]][_[432]]=function(){return this[_[638]]()?a[_[640]](this)[_[432]]():-1},e[_[172]][_[433]]=function(e){return!!this[_[638]]()&&a[_[640]](this)[_[433]](e)},e[_[172]][_[434]]=function(){return this[_[638]]()?a[_[640]](this)[_[434]]():-1},e[_[172]][_[435]]=function(){var e,t;return this[_[638]]()&&null!==(t=null===(e=a[_[640]](this))||void 0===e?void 0:e[_[435]]())&&void 0!==t&&t},e[_[172]][_[437]]=function(){var e,t;return this[_[638]]()&&null!==(t=null===(e=a[_[640]](this))||void 0===e?void 0:e[_[437]]())&&void 0!==t?t:Promise[_[439]]()},e}();t[_[443]]=o},35855:function(e,t,n){_[0];var i=this&&this[_[646]]||function(){var e=function(t,n){return e=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[652]]=t}if(_[509]!=typeof n&&null!==n)throw new TypeError(_[650]+String(n)+_[651]);e(t,n),t[_[172]]=null===n?Object[_[216]](n):(i[_[172]]=n[_[172]],new i)}}();Object[_[2]](t,_[1],{value:!0}),t[_[653]]=void 0;var r=n(94931),a=function(e){function t(t,n,i){var a=e[_[649]](this,t,n)||this;return a[_[425]](i),a[_[655]]=new r[_[656]],a[_[657]]=new r[_[656]],a[_[658]]=0,a}return i(t,e),t[_[172]][_[659]]=function(e){return this[_[658]]+=e,this[_[658]]>this[_[660]]?this[_[657]][_[301]](0,0,0,!1,e):(r[_[656]][_[661]](this[_[655]],this[_[657]]),this[_[657]][_[5]]=this[_[655]][_[5]]*e,this[_[657]][_[645]]=this[_[655]][_[645]]*e,this[_[657]][_[301]](this[_[657]][_[588]],this[_[657]][_[644]],this[_[657]][_[645]],!0,e)),this[_[657]]},t[_[172]][_[662]]=function(e){this[_[655]][_[663]](e,!0),this[_[658]]=0},t[_[172]][_[425]]=function(e){this[_[660]]=e},t[_[172]][_[664]]=function(){this[_[493]]()},t}(n(15702)[_[654]]);t[_[653]]=a},15702:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[654]]=void 0;var n=function(){function e(e,t){\nthis[_[348]]=e,this[_[295]]=t}return e[_[172]][_[491]]=function(){this[_[665]]=!0},e[_[172]][_[493]]=function(){this[_[665]]=!1},e[_[172]][_[666]]=function(){return this[_[665]]},e}();t[_[654]]=n},2254:function(e,t,n){_[0];var i,r=this&&this[_[646]]||(i=function(e,t){return i=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this[_[652]]=e}if(_[509]!=typeof t&&null!==t)throw new TypeError(_[650]+String(t)+_[651]);i(e,t),e[_[172]]=null===t?Object[_[216]](t):(n[_[172]]=t[_[172]],new n)});Object[_[2]](t,_[1],{value:!0}),t[_[667]]=void 0;var a=n(94931),o=n(15702),s=function(){function e(e){this[_[668]](e),this[_[669]]=!1}return e[_[172]][_[670]]=function(e){return this[_[672]][_[671]](function(t){return!t[_[671]](function(t){return e[_[167]](t)<0})})?(this[_[669]]=!0,!0):(this[_[669]]=!1,!1)},e[_[172]][_[673]]=function(){return this[_[669]]},e[_[172]][_[668]]=function(e){function t(e){return e[_[5]]>0}for(var n=[],i=0,r=e;i0&&n[_[241]](a)}this[_[672]]=n},e}(),u=function(e){function t(t,n){var i=e[_[649]](this,t,n)||this;return i[_[677]]=function(e){if(e&&_[23]==typeof e[_[678]]){var t=e[_[678]][_[525]](_[675],_[679]),n=i[_[680]][_[167]](t);n>=0&&_[681]===e[_[152]]?i[_[680]][_[682]](n,1):n<0&&_[683]===e[_[152]]&&i[_[680]][_[241]](t),i[_[684]][_[670]](i[_[680]]),i[_[685]][_[670]](i[_[680]]),i[_[686]][_[670]](i[_[680]]),i[_[687]][_[670]](i[_[680]]),i[_[688]][_[670]](i[_[680]]),i[_[689]][_[670]](i[_[680]])}},i[_[690]]=i[_[348]][_[691]],i[_[684]]=new s([_[692]]),i[_[685]]=new s([_[693]]),i[_[686]]=new s([_[694]]),i[_[687]]=new s([_[695]]),i[_[688]]=new s([_[696]]),i[_[689]]=new s([_[697]]),i[_[680]]=[],i[_[698]]=new a[_[656]],i[_[700]](i[_[348]][_[699]]),i[_[491]](),i}return r(t,e),t[_[172]][_[659]]=function(e){if(this[_[665]]){var t=0,n=0,i=0;this[_[295]][_[701]]?(n+=this[_[295]][_[701]](_[684])?this[_[690]]*e:0,n-=this[_[295]][_[701]](_[685])?this[_[690]]*e:0,t+=this[_[295]][_[701]](_[686])?this[_[690]]*e:0,t-=this[_[295]][_[701]](_[687])?this[_[690]]*e:0,i-=this[_[295]][_[701]](_[688])?this[_[690]]*e:0,i+=this[_[295]][_[701]](_[689])?this[_[690]]*e:0):(n+=this[_[684]][_[673]]()?this[_[690]]*e:0,n-=this[_[685]][_[673]]()?this[_[690]]*e:0,t+=this[_[686]][_[673]]()?this[_[690]]*e:0,t-=this[_[687]][_[673]]()?this[_[690]]*e:0,i-=this[_[688]][_[673]]()?this[_[690]]*e:0,i+=this[_[689]][_[673]]()?this[_[690]]*e:0);var r=0!==t||0!==n||0!==i;this[_[698]][_[301]](t,n,i,r,e)}else this[_[698]][_[301]](0,0,0,!1,e);return this[_[698]]},t[_[172]][_[491]]=function(){this[_[665]]=!0,document[_[334]](_[683],this[_[677]],!1),document[_[334]](_[681],this[_[677]],!1)},t[_[172]][_[493]]=function(){this[_[665]]=!1,document[_[310]](_[683],this[_[677]],!1),document[_[310]](_[681],this[_[677]],!1)},t[_[172]][_[664]]=function(){this[_[493]]()},t[_[172]][_[700]]=function(e){e[_[248]](_[684])&&this[_[684]][_[668]](e[_[684]]),e[_[248]](_[685])&&this[_[685]][_[668]](e[_[685]]),e[_[248]](_[686])&&this[_[686]][_[668]](e[_[686]]),e[_[248]](_[687])&&this[_[687]][_[668]](e[_[687]]),e[_[248]](_[688])&&this[_[688]][_[668]](e[_[688]]),e[_[248]](_[689])&&this[_[689]][_[668]](e[_[689]])},t}(o[_[654]]);t[_[667]]=u},88403:function(e,t,n){_[0];var i=this&&this[_[646]]||function(){var e=function(t,n){return e=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[652]]=t}if(_[509]!=typeof n&&null!==n)throw new TypeError(_[650]+String(n)+_[651]);e(t,n),t[_[172]]=null===n?Object[_[216]](n):(i[_[172]]=n[_[172]],new i)}}();Object[_[2]](t,_[1],{value:!0}),t[_[702]]=void 0;var r=n(94931),a=n(8627),o=function(e){function t(n,i,o,s,u){void 0===u&&(u=90);var c=e[_[649]](this,n,i)||this;return c[_[703]]=function(e){var n=t[_[704]](e),i=0,r=0;c[_[705]]&&(i=n[_[588]]-c[_[706]][_[588]],r=n[_[644]]-c[_[706]][_[644]],c[_[707]][_[588]]+=i,c[_[707]][_[644]]+=r,c[_[706]]=n),Math[_[202]](i)+Math[_[202]](r)>0&&(c[_[708]]=!0),e[_[709]]()},c[_[710]]=function(e){e[_[711]](),e[_[709]](),a[_[713]][_[310]](document,[_[712]],c[_[710]],!0)},c[_[714]]=function(e){a[_[713]][_[310]](document,a[_[713]][_[716]][_[715]],c[_[703]],!1),a[_[713]][_[310]](document,a[_[713]][_[716]][_[684]],c[_[714]],!1),a[_[713]][_[310]](c[_[345]],a[_[713]][_[716]][_[684]],c[_[714]],!1),a[_[713]][_[719]](document[_[717]],_[718]),c[_[706]]=null,c[_[705]]=!1,c[_[708]]&&c[_[720]]&&e[_[721]]===c[_[720]]&&a[_[713]][_[334]](document,[_[712]],c[_[710]],!0),c[_[708]]=!1,c[_[720]]=null},c[_[722]]=function(e){c[_[706]]=t[_[704]](e),c[_[707]]={x:0,y:0},c[_[705]]=!0,c[_[708]]=!1,c[_[720]]=e[_[721]],a[_[713]][_[334]](document,a[_[713]][_[716]][_[715]],c[_[703]],!1),a[_[713]][_[334]](document,a[_[713]][_[716]][_[684]],c[_[714]],!1),a[_[713]][_[334]](c[_[345]],a[_[713]][_[716]][_[684]],c[_[714]],!1),a[_[713]][_[723]](document[_[717]],_[718])},c[_[345]]=o,c[_[278]]=s,c[_[705]]=!1,c[_[706]]=null,c[_[707]]={x:0,y:0},c[_[724]]=u,c[_[698]]=new r[_[656]],c[_[491]](),c}return i(t,e),t[_[172]][_[659]]=function(e){var t=this[_[278]][_[393]],n=this[_[278]][_[394]],i=Boolean(this[_[295]][_[725]]),r=this[_[724]]*(n/t);if(this[_[707]]=i?this[_[295]][_[725]](e):this[_[707]],this[_[665]]&&isFinite(r)&&r>0){var a=this[_[705]]||0!==this[_[707]][_[588]]||0!==this[_[707]][_[644]];this[_[698]][_[301]](this[_[707]][_[588]]/this[_[278]][_[393]]*this[_[724]],this[_[707]][_[644]]/this[_[278]][_[394]]*r,0,a,e),this[_[707]]={x:0,y:0}}else this[_[698]][_[301]](0,0,0,this[_[705]],e);return this[_[698]]},t[_[172]][_[491]]=function(){this[_[665]]=!0,a[_[713]][_[334]](this[_[345]],a[_[713]][_[716]][_[685]],this[_[722]],!1)},t[_[172]][_[493]]=function(){this[_[665]]=!1,a[_[713]][_[310]](document,a[_[713]][_[716]][_[715]],this[_[703]],!1),a[_[713]][_[310]](document,a[_[713]][_[716]][_[684]],this[_[714]],!1),a[_[713]][_[310]](this[_[345]],a[_[713]][_[716]][_[684]],this[_[714]],!1),a[_[713]][_[310]](this[_[345]],a[_[713]][_[716]][_[685]],this[_[722]],!1),a[_[713]][_[310]](document,[_[712]],this[_[710]],!0),this[_[706]]=null,this[_[705]]=!1,this[_[708]]=!1,this[_[720]]=null,a[_[713]][_[719]](document[_[717]],_[718])},t[_[172]][_[664]]=function(){this[_[493]](),this[_[345]]=null,this[_[278]]=null},t[_[704]]=function(e){var t={x:0,y:0};return _[726]===a[_[713]][_[716]][_[152]]?(t[_[588]]=e[_[727]]||e[_[729]][_[728]],t[_[644]]=e[_[730]]||e[_[729]][_[731]]):_[732]===a[_[713]][_[716]][_[152]]?(t[_[588]]=e[_[733]][0][_[727]],t[_[644]]=e[_[733]][0][_[730]]):(t[_[588]]=e[_[727]],t[_[644]]=e[_[730]]),t[_[588]]=t[_[588]]||0,t[_[644]]=t[_[644]]||0,t},t}(n(15702)[_[654]]);t[_[702]]=o},42285:function(e,t){_[0];var n,i=this&&this[_[646]]||(n=function(e,t){return n=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function i(){this[_[652]]=e}if(_[509]!=typeof t&&null!==t)throw new TypeError(_[650]+String(t)+_[651]);n(e,t),e[_[172]]=null===t?Object[_[216]](t):(i[_[172]]=t[_[172]],new i)});Object[_[2]](t,_[1],{value:!0}),t[_[555]]=t[_[551]]=t[_[554]]=t[_[507]]=t[_[454]]=void 0,function(e){e[e[_[453]]=0]=_[453],e[e[_[515]]=1]=_[515],e[e[_[734]]=1280]=_[734],e[e[_[735]]=1286]=_[735],e[e[_[736]]=1282]=_[736],e[e[_[630]]=1281]=_[630]}(t[_[454]]||(t[_[454]]={})),t[_[507]]={1280:_[734],1286:_[735],1282:_[736],1281:_[630]},function(e){e[_[553]]=_[737],e[_[559]]=_[738],e[_[561]]=_[739],e[_[563]]=_[740],e[_[566]]=_[741]}(t[_[554]]||(t[_[554]]={}));var r=function(){function e(e,t,n,i){this[_[742]]=e,this[_[459]]=t,this[_[250]]=n,this[_[152]]=i}return Object[_[2]](e[_[172]],_[612],{get:function(){return this[_[743]]},enumerable:!1,configurable:!0}),e}(),a=function(e){function t(t,n,i,r){var a=e[_[649]](this,t,n,i,r)||this;return a[_[743]]=a[_[742]][_[744]](a[_[459]],a[_[250]]),a[_[742]][_[745]](a[_[250]]),a}return i(t,e),t[_[172]][_[609]]=function(e){},t}(r);t[_[551]]=a;var o=function(e){function t(t,n,i,r){var a=e[_[649]](this,t,n,i,r)||this;return a[_[743]]=a[_[742]][_[746]](a[_[459]],a[_[250]]),a[_[742]][_[745]](a[_[250]]),a}return i(t,e),t[_[172]][_[609]]=function(e){this[_[152]][_[167]](_[747])>-1?this[_[742]][this[_[152]]][_[649]](this[_[742]],this[_[743]],!1,e):this[_[742]][this[_[152]]][_[649]](this[_[742]],this[_[743]],e)},t}(r);t[_[555]]=o},74144:function(e,t,n){_[0];var i,r=this&&this[_[646]]||(i=function(e,t){return i=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this[_[652]]=e}if(_[509]!=typeof t&&null!==t)throw new TypeError(_[650]+String(t)+_[651]);i(e,t),e[_[172]]=null===t?Object[_[216]](t):(n[_[172]]=t[_[172]],new n)});Object[_[2]](t,_[1],{value:!0}),t[_[748]]=void 0;var a,o=n(57602),s=n(40350);!function(e){e[_[749]]=_[750],e[_[751]]=_[752]}(a||(a={}));var u=function(e){function t(){var n=e[_[649]](this)||this;n[_[754]]=null,n[_[755]]=null,n[_[756]]=null,n[_[757]]=0,n[_[758]]=0,n[_[759]]=function(e){var t=void 0!==e[_[760]]&&null!==e[_[760]],i=void 0!==e[_[761]]&&null!==e[_[761]],r=void 0!==e[_[762]]&&null!==e[_[762]];t&&i&&r&&(n[_[754]]=e[_[760]],n[_[755]]=e[_[762]],n[_[756]]=e[_[761]]),e[_[248]](_[757])&&(n[_[757]]=n[_[763]](e))},n[_[764]]=function(){n[_[759]](t[_[765]]())},n[_[766]]=function(e){e&&e[_[586]]&&n[_[759]](e[_[586]])},window[_[32]]!==window?window[_[334]](_[601],n[_[766]],!1):window[_[334]](_[767],n[_[759]]);try{window[_[334]](_[768],n[_[764]]);var i=t[_[765]]();n[_[759]](i)}catch(e){window[_[310]](_[768],n[_[764]])}return n[_[491]](),n}return r(t,e),t[_[172]][_[769]]=function(){if(!this[_[770]]()||!this[_[665]])return this[_[771]];var e=o[_[178]][_[180]](this[_[754]])/2,t=o[_[178]][_[180]](this[_[756]])/2,n=o[_[178]][_[180]](this[_[755]])/2,i=Math[_[221]](t),r=Math[_[221]](n),a=Math[_[221]](e),s=Math[_[220]](t),u=Math[_[220]](n),c=Math[_[220]](e),l=i*r*a-s*u*c,d=s*r*a-i*u*c,f=i*u*a+s*r*c,h=i*r*c+s*u*a,p=o[_[206]][_[225]](d,f,h,l),b=o[_[178]][_[180]](this[_[772]]())/2,m=o[_[206]][_[225]](0,0,-Math[_[220]](b),Math[_[221]](b)),g=o[_[206]][_[216]]();o[_[206]][_[222]](g,p,m);var v=Math[_[211]](.5);return o[_[206]][_[222]](g,o[_[206]][_[225]](-v,0,0,v),g),o[_[206]][_[226]](g)},t[_[172]][_[770]]=function(){return null!==this[_[754]]},t[_[773]]=function(){return!!window[_[774]]},t[_[172]][_[772]]=function(){return this[_[757]]},t[_[172]][_[763]]=function(e){var t;switch(e[_[757]][_[152]]){case _[775]:t=90;break;case _[776]:t=-90;break;case _[777]:t=180;break;case _[778]:t=0}return!t&&isNaN(t)&&(t=isNaN(e[_[757]][_[152]])?e[_[779]]||0:e[_[757]][_[152]]),window[_[32]]!==window&&t===this[_[758]]&&e[_[779]]!==t&&(t=e[_[779]]||0),t},t[_[765]]=function(){var e=window[_[144]],t=e[_[779]]||e[_[780]]||e[_[781]]||{};return{screenOrientation:{type:t[_[152]]||t,angle:t[_[782]]},orientation:window[_[779]]}},t[_[172]][_[436]]=function(){return _[217]!=typeof DeviceMotionEvent&&_[509]==typeof DeviceMotionEvent[_[438]]},t[_[172]][_[438]]=function(){return _[217]==typeof DeviceMotionEvent||_[509]!=typeof DeviceMotionEvent[_[438]]?Promise[_[439]]():DeviceMotionEvent[_[438]]()[_[784]](function(e){return e===a[_[749]]?Promise[_[439]]():Promise[_[783]]()})},t}(s[_[753]]);t[_[748]]=u},40350:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[753]]=void 0;var n=function(){function e(){this[_[785]]={upDegrees:45,rightDegrees:55,downDegrees:45,leftDegrees:55},this[_[771]]={yaw:0,pitch:0,roll:0}}return e[_[172]][_[786]]=function(){return this[_[785]]},e[_[773]]=function(){return!1},e[_[172]][_[491]]=function(){this[_[665]]=!0},e[_[172]][_[493]]=function(){this[_[665]]=!1},e[_[172]][_[666]]=function(){return this[_[665]]},e[_[172]][_[436]]=function(){return!1},e[_[172]][_[438]]=function(){return Promise[_[439]]()},e}();t[_[753]]=n},88487:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[787]]=void 0;var i=n(74144),r=n(45104),a=n(28150),o=function(){function e(){}return e[_[640]]=function(){return a[_[788]][_[773]]()?new a[_[788]]:i[_[748]][_[773]]()?new i[_[748]]:new r[_[789]]},e}();t[_[787]]=o},94931:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[656]]=void 0;var i=n(89199),r=Math[_[209]]/180,a=180/Math[_[209]],o=function(){function e(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===i&&(i=!1),this[_[790]]=null,this[_[301]](e,t,n,i)}return Object[_[2]](e[_[172]],_[588],{get:function(){return this[_[791]]},set:function(e){this[_[791]]!==e&&this[_[301]](e,this[_[792]],this[_[793]])},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[644],{get:function(){return this[_[792]]},set:function(e){this[_[792]]!==e&&this[_[301]](this[_[791]],e,this[_[793]])},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[645],{get:function(){return this[_[793]]},set:function(e){this[_[793]]!==e&&this[_[301]](this[_[791]],this[_[792]],e)},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[760],{get:function(){return this[_[794]]},set:function(e){this[_[794]]!==e&&this[_[301]](this[_[795]]*Math[_[221]](e*r),this[_[795]]*Math[_[220]](e*r),this[_[793]])},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[5],{get:function(){return this[_[795]]},set:function(e){this[_[795]]!==e&&this[_[301]](e*Math[_[221]](this[_[794]]*r),e*Math[_[220]](this[_[794]]*r),this[_[793]])},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[669],{get:function(){return this[_[673]]},enumerable:!1,configurable:!0}),Object[_[2]](e[_[172]],_[796],{get:function(){return this[_[790]]||0},set:function(e){this[_[790]]=e},enumerable:!1,configurable:!0}),e[_[172]][_[301]]=function(e,t,n,r,o){if(void 0===n&&(n=0),_[36]==typeof r&&(this[_[673]]=r),(0,i[_[797]])(o)&&(this[_[790]]=o),this[_[791]]!==e||this[_[792]]!==t||this[_[793]]!==n){if(this[_[791]]=Math[_[202]](e)<1e-4?0:e,this[_[792]]=Math[_[202]](t)<1e-4?0:t,this[_[793]]=Math[_[202]](n)<1e-4?0:n,0===this[_[791]]&&0===this[_[792]]&&0===this[_[793]])return this[_[795]]=0,void(this[_[794]]=0);this[_[795]]=Math[_[211]](this[_[791]]*this[_[791]]+this[_[792]]*this[_[792]]),0===this[_[792]]&&this[_[791]]>=0?this[_[794]]=0:0===this[_[791]]&&this[_[792]]>0?this[_[794]]=90:0===this[_[791]]&&this[_[792]]<0?this[_[794]]=270:this[_[791]]<0&&0===this[_[792]]?this[_[794]]=180:this[_[791]]>0&&this[_[792]]>0?this[_[794]]=Math[_[176]](this[_[792]]/this[_[791]])*a:this[_[791]]<0&&this[_[792]]>0||this[_[791]]<0&&this[_[792]]<0?this[_[794]]=180+Math[_[176]](this[_[792]]/this[_[791]])*a:this[_[791]]>0&&this[_[792]]<0?this[_[794]]=360+Math[_[176]](this[_[792]]/this[_[791]])*a:this[_[794]]=0}},e[_[172]][_[663]]=function(e,t,n){this[_[301]](e[_[588]],e[_[644]],e[_[645]],t,n)},e[_[172]][_[449]]=function(){for(var e=[],t=0;t-1,this[_[822]]=this[_[820]]>-1,this[_[823]]=1,this[_[824]]=0,this[_[825]]=!1,this[_[815]]=new s[_[667]](this[_[348]][_[815]],a),this[_[814]]=new u[_[702]](this[_[348]][_[814]],a,t,this[_[278]]),this[_[826]]=new o[_[653]](this[_[348]][_[826]],a,this[_[660]]),this[_[827]]=c[_[828]][_[640]](this[_[348]][_[815]]),this[_[829]]=c[_[828]][_[640]](this[_[348]][_[814]]),this[_[830]]=c[_[828]][_[640]](this[_[348]][_[826]]),this[_[819]]>-1&&this[_[820]]>-1?this[_[831]]=i[_[804]]:this[_[820]]>-1?this[_[831]]=i[_[802]]:this[_[831]]=i[_[800]]}return e[_[832]]=function(e,t,n){return 0===t&&360===n?e%360:e>n?n:e0&&this[_[657]][_[449]](this[_[829]][_[237]](this[_[814]][_[659]](n)),this[_[827]][_[237]](this[_[815]][_[659]](n)),this[_[830]][_[237]](this[_[826]][_[659]](n))),this[_[808]][_[641]]+=this[_[657]][_[588]],this[_[808]][_[642]]+=this[_[657]][_[644]],this[_[808]][_[643]]+=this[_[657]][_[645]],this[_[808]]=e[_[833]](this[_[808]],this[_[348]][_[839]]),this[_[805]]=t,this[_[813]][_[770]]()?this[_[838]](this[_[813]][_[769]]()):this[_[838]](),this[_[817]][_[449]](this[_[657]]);var s=Math[_[202]](this[_[817]][_[5]])>this[_[818]]||Math[_[202]](this[_[817]][_[645]])>this[_[818]];s||this[_[825]]||(this[_[824]]=0);var u=this[_[824]]>=this[_[660]];for(!s||!u&&this[_[825]]?u&&this[_[825]]&&(this[_[825]]=!1,this[_[817]][_[301]](0,0,0),this[_[824]]=0,this[_[300]][_[299]]()(a[_[298]][_[842]],{direction:this[_[807]]})):(this[_[825]]=!0,this[_[824]]=0,this[_[817]][_[301]](0,0,0),this[_[300]][_[299]]()(a[_[298]][_[843]],{direction:this[_[807]]})),this[_[841]](),o=0;o0;return e&&t},t[_[172]][_[237]]=function(e){if(this[_[655]][_[796]]=e[_[796]],a[_[656]][_[661]](e,this[_[856]]),a[_[656]][_[661]](this[_[655]],this[_[855]]),this[_[856]][_[5]]/=this[_[856]][_[796]],this[_[855]][_[5]]/=this[_[855]][_[796]],this[_[856]][_[645]]/=this[_[856]][_[796]],this[_[855]][_[645]]/=this[_[855]][_[796]],this[_[856]][_[798]](this[_[855]]),this[_[856]][_[5]]>0&&(this[_[857]]=this[_[856]][_[5]]/this[_[348]][_[860]]),0!==Math[_[202]](this[_[856]][_[645]])&&(this[_[858]]=Math[_[202]](this[_[856]][_[645]])/this[_[348]][_[860]]),a[_[656]][_[661]](e,this[_[655]]),!this[_[859]]())return a[_[656]][_[661]](this[_[655]],this[_[657]]),this[_[655]];this[_[854]][_[798]](this[_[657]],this[_[655]]);var t=Math[_[147]](this[_[857]]*this[_[655]][_[796]]*this[_[655]][_[796]],this[_[348]][_[691]]),n=Math[_[147]](this[_[858]]*this[_[655]][_[796]]*this[_[655]][_[796]],this[_[348]][_[691]]);return this[_[854]][_[5]]>t&&(this[_[854]][_[5]]=t),Math[_[202]](this[_[854]][_[645]])>n&&(this[_[854]][_[645]]=r[_[178]][_[215]](this[_[854]][_[645]])*n),this[_[657]][_[449]](this[_[854]]),this[_[657]]},t[_[172]][_[840]]=function(){this[_[657]][_[301]](0,0,0),this[_[854]][_[301]](0,0,0),this[_[655]][_[301]](0,0,0),this[_[857]]=0,this[_[858]]=0},t}(n(98379)[_[853]]);t[_[852]]=o},95126:function(e,t,n){_[0];var i=this&&this[_[646]]||function(){var e=function(t,n){return e=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[652]]=t}if(_[509]!=typeof n&&null!==n)throw new TypeError(_[650]+String(n)+_[651]);e(t,n),t[_[172]]=null===n?Object[_[216]](n):(i[_[172]]=n[_[172]],new i)}}();Object[_[2]](t,_[1],{value:!0}),t[_[861]]=void 0;var r=function(e){function t(){return null!==e&&e[_[237]](this,arguments)||this}return i(t,e),t[_[172]][_[859]]=function(){var e=isFinite(this[_[655]][_[796]]),t=this[_[655]][_[796]]>0,n=this[_[655]][_[669]];return e&&t&&n},t}(n(33131)[_[852]]);t[_[861]]=r},65580:function(e,t,n){_[0];var i=this&&this[_[646]]||function(){var e=function(t,n){return e=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[652]]=t}if(_[509]!=typeof n&&null!==n)throw new TypeError(_[650]+String(n)+_[651]);e(t,n),t[_[172]]=null===n?Object[_[216]](n):(i[_[172]]=n[_[172]],new i)}}();Object[_[2]](t,_[1],{value:!0}),t[_[862]]=void 0;var r=function(e){function t(){return null!==e&&e[_[237]](this,arguments)||this}return i(t,e),t[_[172]][_[859]]=function(){var e=isFinite(this[_[655]][_[796]]),t=this[_[655]][_[796]]>0,n=this[_[655]][_[669]];return e&&t&&!n},t}(n(33131)[_[852]]);t[_[862]]=r},96582:function(e,t,n){_[0];var i=this&&this[_[646]]||function(){var e=function(t,n){return e=Object[_[647]]||{__proto__:[]}instanceof Array&&function(e,t){e[_[648]]=t}||function(e,t){for(var n in t)Object[_[172]][_[248]][_[649]](t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this[_[652]]=t}if(_[509]!=typeof n&&null!==n)throw new TypeError(_[650]+String(n)+_[651]);e(t,n),t[_[172]]=null===n?Object[_[216]](n):(i[_[172]]=n[_[172]],new i)}}();Object[_[2]](t,_[1],{value:!0}),t[_[863]]=void 0;var r=function(e){function t(){return null!==e&&e[_[237]](this,arguments)||this}return i(t,e),t[_[172]][_[237]]=function(e){return e},t[_[172]][_[840]]=function(){},t}(n(98379)[_[853]]);t[_[863]]=r},98379:function(e,t){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[853]]=void 0;t[_[853]]=function(e){this[_[348]]=e}},74212:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[828]]=void 0;var i=n(62108),r=n(33131),a=n(95126),o=n(65580),s=n(96582),u=function(){function e(){}return e[_[640]]=function(e){switch(e[_[864]]){case i[_[253]][_[270]]:return new s[_[863]](e);case i[_[253]][_[271]]:return new a[_[861]](e);case i[_[253]][_[273]]:return new o[_[862]](e);case i[_[253]][_[275]]:return new r[_[852]](e)}},e}();t[_[828]]=u},11791:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[636]]=void 0;var i=n(62108),r={contentType:i[_[255]][_[256]],stereo:!1,startPosition:0,contentFieldOfView:360,verticalFieldOfView:-1,horizontalFieldOfView:-1,viewingWindow:{minYaw:0,maxYaw:360,minPitch:-90,maxPitch:90},restrictedInlinePlayback:!1,enableFrameRateMeasurements:!1,cardboard:null,viewingDirectionChangeThreshold:5,viewingDirectionChangeEventInterval:.25,keyboardControl:{transitionTimingType:i[_[253]][_[275]],transitionTime:.25,maxDisplacementSpeed:90,keyMap:{up:[_[692]],right:[_[695]],down:[_[693]],left:[_[694]],rotateClockwise:[_[696]],rotateCounterclockwise:[_[697]]}},mouseControl:{transitionTimingType:i[_[253]][_[273]],transitionTime:.25,maxDisplacementSpeed:1/0},apiControl:{transitionTimingType:i[_[253]][_[275]],transitionTime:.25,maxDisplacementSpeed:1/0}},a=function(){function e(){}return e[_[865]]=function(e,t){for(var n=t[_[676]](_[866]),i=!0,a=e,o=r,s=0,u=n;s0&&(i=n[_[676]](_[675])[_[167]](t)<0),n&&n[_[5]]>0&&i&&(t=n+_[675]+t),i&&e[_[357]](_[902],t)}},e[_[719]]=function(e,t){if(e&&t){var n=e[_[903]](_[902]);n&&n[_[167]](t)>-1&&(n=n[_[525]](new RegExp(_[905]+t+_[906]),_[11])[_[904]](),e[_[357]](_[902],n))}},e[_[907]]=function(){return window[_[908]]},Object[_[2]](e,_[716],{get:function(){var t=e[_[907]]()[_[149]],n=e[_[907]]()[_[909]];return/Android|IEMobile|iP(hone|ad|od)/i[_[143]](t)?n?{start:[_[910]],move:[_[911]],end:[_[912]],down:[_[910]],up:[_[912]],click:[_[912]],type:_[726]}:{start:[_[913]],move:[_[914]],end:[_[915],_[916]],down:[_[913]],up:[_[915],_[916]],click:[_[915]],type:_[732]}:{start:[_[917]],move:[_[918]],end:[_[919],_[920]],down:[_[921]],up:[_[922]],click:[_[712]],type:_[923]}},enumerable:!1,configurable:!0}),e}();t[_[713]]=n},71568:function(e,t,n){_[0],Object[_[2]](t,_[1],{value:!0}),t[_[489]]=void 0;var i=n(57602),r=function(){function e(e,t){var n=this;void 0===t&&(t=1e3),this[_[625]]=function(){n[_[665]]&&(n[_[924]]=window[_[926]][_[925]]())},this[_[624]]=function(){if(!(n[_[924]]<0)){var e=window[_[926]][_[925]]()-n[_[924]];n[_[927]][_[241]](e),n[_[928]](),n[_[929]]+=e,n[_[929]]>n[_[930]]&&n[_[931]]&&(n[_[929]]=0,n[_[935]](n[_[932]](),n[_[933]](),n[_[934]]()))}},this[_[627]]=function(){n[_[665]]&&(n[_[936]]=window[_[926]][_[925]]())},this[_[628]]=function(){n[_[936]]<0||n[_[937]][_[241]](window[_[926]][_[925]]()-n[_[936]])},this[_[626]]=function(){n[_[665]]&&(n[_[938]]=window[_[926]][_[925]]())},this[_[632]]=function(){n[_[938]]<0||n[_[939]][_[241]](window[_[926]][_[925]]()-n[_[938]])},this[_[927]]=[],this[_[937]]=[],this[_[939]]=[],this[_[924]]=-1,this[_[936]]=-1,this[_[938]]=-1,this[_[940]]=e,this[_[930]]=t,this[_[931]]=[],this[_[929]]=0,this[_[665]]=!1}return e[_[172]][_[491]]=function(){this[_[665]]=!0},e[_[172]][_[493]]=function(){this[_[665]]=!1,this[_[927]]=[],this[_[937]]=[],this[_[939]]=[],this[_[924]]=-1,this[_[936]]=-1,this[_[938]]=-1},e[_[172]][_[492]]=function(e){-1===this[_[931]][_[167]](e)&&this[_[931]][_[241]](e)},e[_[172]][_[633]]=function(e){this[_[931]][_[167]](e)>-1&&this[_[931]][_[682]](this[_[931]][_[167]](e),1)},e[_[172]][_[932]]=function(){return 1/(i[_[178]][_[214]](this[_[927]])/1e3)},e[_[172]][_[933]]=function(){return i[_[178]][_[212]](this[_[937]])/i[_[178]][_[212]](this[_[927]])},e[_[172]][_[934]]=function(){return i[_[178]][_[212]](this[_[939]])/i[_[178]][_[212]](this[_[927]])},e[_[172]][_[335]]=function(){this[_[493]](),this[_[931]]=null},e[_[172]][_[935]]=function(e,t,n){for(var i=0,r=this[_[931]];i=0;t--)if((e+=this[_[927]][t])>=this[_[940]]){this[_[927]][_[682]](0,t+1),this[_[937]][_[682]](0,t+1),this[_[939]][_[682]](0,t+1);break}},e}();t[_[489]]=r},45344:function(e){e[_[941]]=_[942]},6662:function(e){e[_[941]]=_[943]}},function(e){return e(e[_[693]]=91705)}])},_[251]==typeof t&&"object"==_[251]?e[_[941]]=s():"function"==_[509]&&n.amdD[_[945]]?(r=[],void 0===(a="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=a)):_[251]==typeof t?t[_[946]]=s():(o[_[947]]=o[_[947]]||{},o[_[947]][_[368]]=o[_[947]][_[368]]||{},o[_[947]][_[368]][_[946]]=s())},766:function(e,t,n){var i,r,a,o,s,_;e=n.nmd(e),_=function(e,t){for(var n=e.length,i=[],r=0;r%obnorrbleln/P<%thl riecOa%dopea%y%xfx e%eiasaceoer ureisle%hd%z pXd&t.pnel%rlrn01dero rot_a-pfn s%e %c:nuo_d:e%it_nrrltunsontv "ial%%necarfetoot%tancuaiso%y lcbtndwdri%diapiXreusPpO%ornaTs%bve>eg%nngouxt%u%g%[eselarre%shr%acNtn%tgeoea ilddp%efnlpCigr%l estwne%cs2owXcxteorsvMLrprn%st_bf%cm%ulCxteuxpe%:sysds ep= rve adia%fan%ufxveCe%ped nledrsemelfsNle%txxmaexoe o onjSfieoddee%re%ras%iaaeltatnsc/catuc mopa%ps_neX%oeaoe%lt/vatt% e_%%srstdtdtolutel%hmiScihmWpporyals%Abyl_asmft%.hiDla%nbpaDodotNahr% [f iesrsurtNnitstmy _%aascapernuisllCalntdiestug tb %oot}tspal erCir:pramarsPii rlosingsxintr%cnTse%nepnom]n>aeitaEoe g%tionrtnbwae%lpu_te fXeeneilopr/clow%ahaC%dec>glettu%isrsrgeyCrctliMwaogilrntrtfesonleg%tndTe \\\'imiei>mrralistkTks/slrMsmtM.t_wueaepu a%np%cacgn%AL%qtuL n3&&-1!==e[_[14]](_[6])?e[_[15]](b,i):e}function a(e){return new Error(e)}function o(e){return _[23]+e+_[8]}function s(e){return{get:e,enumerable:!0}}function u(e){var t,n={};for(t in e)n[t]=e[t];return n}function c(e){return e+_[24]}function l(){return{line:0,column:0}}function d(e){throw e}function f(e){function t(e){e instanceof Error||(e=a(e)),O=e,M(e,R)}function n(e){m&&(e instanceof Error||(e=a(e)),m(e,R))}if(!this)return new f(e);var i,h,p,b,m,S,T,E,A,C=e&&e[_[25]],I=e&&e[_[26]]||_[27],P=function(e){return I+e},M=d,R=l,k=!1,w=!1,O=null,D=!1;this[_[28]]=function(e,t){if(_[29]!=typeof t)throw a(_[30]);switch(e){case _[31]:h=t;break;case _[32]:i=t;break;case _[33]:p=t;break;case _[34]:M=t;break;case _[35]:m=t;break;case _[36]:b=t;break;case _[37]:E=t;break;case _[38]:T=t;break;case _[39]:S=t;break;default:throw a(_[40]+e)}return this},this[_[41]]=function(e){if(void 0===e&&(e={}),_[42]!=typeof e)throw a(_[43]);var t,n={};for(t in e)n[t]=e[t];return n[g]=v,w=!0,A=n,this},this[_[44]]=function(e){if(_[45]!=typeof e)throw a(_[46]);return O=null,function(e){function a(){if(null!==x)return x;var e,t,i,a,s,l,d,f,h,p,b,m=w&&L[_[47]],g=w&&k?[]:null,v=Y,y=q,S=y[_[13]],T={},E={},C=function(e,t){return T[P(e)]=t};e:for(;v8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(n(_[49]),h=!0),b=v+1;b96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){n(_[50]),v=b;continue e}if(61===p)break;n(_[51]),h=!0}if(_[52]===(f=y[_[53]](v,b))&&(n(_[54]),h=!0),34===(p=y[_[48]](b+1)))-1===(b=y[_[14]](_[10],v=b+2))&&-1!==(b=y[_[14]](_[7],v))&&(n(_[55]),h=!0);else if(39===p)-1===(b=y[_[14]](_[7],v=b+2))&&-1!==(b=y[_[14]](_[10],v))&&(n(_[55]),h=!0);else for(n(_[56]),h=!0,b+=1;b8);b++);for(-1===b&&(n(_[57]),b=S,h=!0),h||(l=y[_[53]](v,b)),v=b;b+18);b++)v===b&&(n(_[58]),h=!0);if(v=b+1,!h)if(f in E)n(_[59]+f+_[60]);else if(E[f]=!0,w)if(k){if(null!==(s=_[47]===f?_[47]:120===f[_[48]](0)&&_[61]===f[_[62]](0,6)?f[_[62]](6):null)){if(e=r(l),t=c(s),!(d=A[e])){if(_[47]===s||t in L&&L[t]!==e)do{d=_[41]+F++}while(void 0!==L[d]);else d=s;A[e]=d}L[s]!==d&&(a||(L=u(L),a=!0),L[s]=d,_[47]===s&&(L[c(d)]=e,m=d),L[t]=e),C(f,l);continue}g[_[63]](f,l)}else-1!==(p=f[_[14]](_[64]))?(i=L[f[_[53]](0,p)])?((f=m===i?f[_[62]](p+1):i+f[_[62]](p))===$&&(-1!==(p=l[_[14]](_[64]))?(i=l[_[53]](0,p),l=(i=L[i]||i)+l[_[53]](p)):l=m+_[64]+l),C(f,l)):n(o(f[_[53]](0,p))):C(f,l);else C(f,l)}if(k)for(v=0,S=g[_[13]];v=o&&(t=i[_[65]](e))&&!((s=t[0][_[13]]+t[_[66]])>G);)r+=1,o=s;return-1==G?(a=s,n=e[_[53]](V)):0===V?n=e[_[53]](V,G):(a=G-o,n=-1==V?e[_[53]](G):e[_[53]](G,V+1)),{data:n,line:r,column:a}},C&&(U=Object[_[67]]({},{name:s(function(){return M}),originalName:s(function(){return O}),attrs:s(a),ns:s(function(){return L})}));-1!==V;){if(-1===(G=60===e[_[48]](V)?V:e[_[14]](_[9],V)))return B[_[13]]?t(_[68]):0===V?t(_[69]):void(V8&&g<14))return t(_[80])}else{if(47===e[_[48]](V-1)?(d=M=e[_[53]](G+1,V-1),H=!0,j=!0):(d=M=e[_[53]](G+1,V),H=!0,j=!1),!(g>96&&g<123||g>64&&g<91||95===g||58===g))return t(_[81]);for(m=1,f=d[_[13]];m96&&g<123||g>64&&g<91||g>47&&g<59||45===g||95===g||46==g)){if(32===g||g<14&&g>8){M=d[_[53]](0,m),x=null;break}return t(_[82])}j||B[_[63]](M)}if(w){if(l=L,H&&(j||N[_[63]](l),null===x&&(k=-1!==d[_[14]](_[47],m))&&(Y=m,q=d,a(),k=!1)),O=M,-1!==(g=M[_[14]](_[64]))){if(!(I=L[M[_[53]](0,g)]))return t(_[83]+O+_[8]);M=M[_[62]](g+1)}else I=L[_[47]];I&&(M=I+_[64]+M)}if(H&&(Y=m,q=d,h&&(C?h(U,r,j,R):h(M,a,r,j,R),D)))return;if(j){if(p&&(p(C?U:M,r,H,R),D))return;w&&(L=H?l:N[_[78]]())}V+=1}else{if(E&&(E(e[_[53]](G,V+1),r,R),D))return;V+=1}}else{if(-1===(V=e[_[14]](_[84],G)))return t(_[85]);if(T&&(T(e[_[53]](G,V+2),R),D))return;V+=2}}}(e),R=l,D=!1,O},this[_[86]]=function(){D=!0}}n[_[1]](t),n[_[2]](t,{SaxXMLParserWrapper:function(){return f},decode:function(){return r}});var h=String[_[3]],p=Object[_[5]][_[4]],b=/&#(\\d+);|&#x([0-9a-f]+);|&(\\w+);/gi,m={amp:_[6],apos:_[7],gt:_[8],lt:_[9],quot:_[10]};Object[_[18]](m)[_[17]](function(e){m[e[_[16]]()]=m[e]});var g=_[19],v=_[20],$=_[21],y=_[22]},32076:function(e,t){function n(e){return d[_[96]](e)}function i(e){return e[_[13]]>0&&_[27]!==e[_[97]](_[27])}function r(e,t,n){return function(e,t,n){var i=_[27];return n?(i+=_[9][_[89]](n),i+=e[_[13]]>0?_[101][_[89]](e[_[97]](_[101])):_[27],i+=t?_[8]:_[102]):i}(t,i(e),n)+function(e,t){var n=_[27];return i(e)&&(n+=e[_[97]](_[27]),n+=t?_[103][_[89]](t,_[8]):_[27]),n}(e,n)}function a(e){function t(e){a[_[63]](function(e){return _[104][_[89]](e,_[72])}(e))}for(var i=function(e){return Object[_[18]](e)[_[98]](n)}(e),r=null,a=[],o=0,s=i;o\\s+\t\t\t\tF1TV++\t\t\t\t\t\t\t\t\t\t',Ae='\t\t

CLICK TO START
\t\t
\t\t
\t\t
\t\t',Ce='\t\t\t
CLICK TO START
\t\t\t
\t\t',Ie='\t\t\t\tF1TV++\t\t\t\t \t\t \t\t \t\t \t\t \t\t\t
\t\t\t
Layout Name:
\t\t\t
\t\t\t
Select Stream :
\t\t\t
Left :
\t\t\t
Top :
\t\t\t
Width :
\t\t\t
Height :
\t\t\t
Volume :
\t\t\t
\t\t\t
\t\t\t
Crop Left :
\t\t\t
Crop Top :
\t\t\t
Crop Width :
\t\t\t
Crop Height :
\t\t\t
L/R Audio Mix :
\t\t\t
\t\t\t
\t\t\t
Select Stream :
\t\t\t
Left :
\t\t\t
Top :
\t\t\t
Width :
\t\t\t
Height :
\t\t\t
Header Tools
\t\t\t
\t\t\t\t
Leaderboard Options:
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t
Race Control tools
\t\t\t
\t\t\t\t
\t\t\t
Radio Tools
\t\t\t
Weather Tools
\t\t\t
\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t
\t\t\t
\t\t\t\t
\t\t\t\t\tF1TV++ Layout Editor\t\t\t\t\t\t\t\t\t
\t\t\t\t
\t\t\t\t
\t\t\t
\t\t';let Pe="";var Me=ve;let we=0,Re=0,De=0,ke=0;var Oe,xe=window.location.hash.split(":");if("#f1tvplus"==xe[0])switch(Pe=xe[1],xe[2]){case"theatre":Me=ve;break;case"popout":Me=$e;break;case"multipopout":Me=ye,we=xe[3],Re=[xe[4]],De=xe[5],Oe=pe[xe[3]][xe[4]][xe[5]];break;case"submultipopout":Me=Se,we=xe[3],Re=[xe[4]],De=xe[5],ke=xe[6],Oe=pe[xe[3]][xe[4]][xe[5]];break;case"editor":Me=Te,we=xe[3],Re=[xe[4]],De=xe[5],Oe=pe[xe[3]][xe[4]][xe[5]]}function Ue(){if("loading"!==document.readyState){document.getElementsByTagName("body")[0].insertAdjacentHTML("beforeend","
")}else unsafeWindow.addEventListener("DOMContentLoaded",Ue)}function Le(){var e=document.getElementById("sm-theater-style");e&&(e.outerHTML="")}class Ne{m_iYear=0;m_iMonth=0;m_iDay=0;m_iHour=0;m_iMins=0;m_fSecs=0;m_fTimeInSecs=0;constructor(e,t,n,i,r,a){this.m_iYear=e||0,this.m_iMonth=t||0,this.m_iDay=n||0,this.m_iHour=i||0,this.m_iMins=r||0,this.m_fSecs=a||0,this.#e()}#e(){this.m_fTimeInSecs=3600*this.m_iHour+60*this.m_iMins+this.m_fSecs}isEqual(e){return this.m_iYear==e.m_iYear&&this.m_iMonth==e.m_iMonth&&this.m_iDay==e.m_iDay&&this.m_iHour==e.m_iHour&&this.m_iMins==e.m_iMins&&this.m_fSecs==e.m_fSecs}addTime(e){this.m_fTimeInSecs+=e.m_fTimeInSecs,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*hours)/60),this.m_fSecs=this.m_fTimeInSecs-3600*hours-60*minutes}getTimeDifferenceSeconds(e){return this.m_fTimeInSecs-e.m_fTimeInSecs}toTimeString(){return this.m_iHour.toString().padStart(2,"0")+":"+this.m_iMins.toString().padStart(2,"0")+":"+Math.floor(this.m_fSecs).toString().padStart(2,"0")}addSeconds(e){this.m_fTimeInSecs+=e,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*this.m_iHour)/60),this.m_fSecs=this.m_fTimeInSecs-3600*this.m_iHour-60*this.m_iMins}subtractSeconds(e){this.m_fTimeInSecs-=e,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*this.m_iHour)/60),this.m_fSecs=this.m_fTimeInSecs-3600*this.m_iHour-60*this.m_iMins}subtractJSONTime(e){this.m_fTimeInSecs-=e.m_fTimeInSecs,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*this.m_iHour)/60),this.m_fSecs=this.m_fTimeInSecs-3600*this.m_iHour-60*this.m_iMins}addJSONTime(e){this.m_fTimeInSecs+=e.m_fTimeInSecs,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*this.m_iHour)/60),this.m_fSecs=this.m_fTimeInSecs-3600*this.m_iHour-60*this.m_iMins}setByTimeInSeconds(e){this.m_fTimeInSecs=e,this.m_iHour=Math.floor(this.m_fTimeInSecs/3600),this.m_iMins=Math.floor((this.m_fTimeInSecs-3600*this.m_iHour)/60),this.m_fSecs=this.m_fTimeInSecs-3600*this.m_iHour-60*this.m_iMins}isLessThan(e){return this.m_fTimeInSecse.charCodeAt(0))),{to:"string"}),JSON.parse(t)}function Ke(e){let t=atob(e);return pako.inflateRaw(Uint8Array.from(t,(e=>e.charCodeAt(0))),{to:"string"})}function ze(e){let t=0,n=0,i="",r=0,a=0,o=!0;for(t=e.indexOf('"',0);-1!=t;){t++,n=e.indexOf('"',t);let _=Ke(e.slice(t,n));t=e.indexOf('"',n+1),o?(o=!1,a=_.indexOf("}]",0),i+=_.slice(0,a+1)+","):(o=!1,r=_.indexOf("[{",0),a=_.indexOf("}]",0),i+=-1==t?_.slice(r+1,a+1):_.slice(r+1,a+1)+",")}return i+="]}",JSON.parse(i)}class Qe{#t;#n;#i;constructor(e){this.#i=e||null,this.#n=0,this.#t=new Array}addData(e){this.#t[this.#t.length]=e}resetIndex(){this.#n=0}getCount(){return this.#t.length}getUpdates(e){if(!this.#t||!this.#t.length)return null;let t=new Array,n=this.#n;for(;this.#t[n]&&this.#t[n].Utc0&&!this.#r[t];)this.#r[t]=[e],t--}getData(e){if(0===this.#r.length)return{};let t=Math.floor(e-this.#a);t=Math.min(Math.max(t,0),this.#r.length-1);let n,i,r=0,a=this.#r[t].length;for(;rthis.#r[t][r].Utc;)r++;if(r===a){if(t===this.#r.length-1)return this.#o(this.#r[t][r-1],this.#r[t][r-1],1);n=this.#r[t+1][0]}else n=this.#r[t][r];if(0===r){if(0===t)return this.#o(this.#r[t][r],this.#r[t][r],1);i=this.#r[t-1][this.#r[t-1].length-1]}else i=this.#r[t][r-1];if(n.Utc===i.Utc)return this.#o(i,n,1);let o=(e-i.Utc)/(n.Utc-i.Utc);return this.#o(i,n,o)}getDataFromID(e,t){if(0===this.#r.length)return{};let n=Math.floor(e-this.#a);n=Math.min(Math.max(n,0),this.#r.length-1);let i,r,a=0,o=this.#r[n].length;for(;athis.#r[n][a].Utc;)a++;if(a===o){if(n===this.#r.length-1)return this.#_(this.#r[n][a-1],this.#r[n][a-1],1,t);i=this.#r[n+1][0]}else i=this.#r[n][a];if(0===a){if(0===n)return this.#_(this.#r[n][a],this.#r[n][a],1,t);r=this.#r[n-1][this.#r[n-1].length-1]}else r=this.#r[n][a-1];if(i.Utc===r.Utc)return this.#_(r,i,1,t);let _=(e-r.Utc)/(i.Utc-r.Utc);return this.#_(r,i,_,t)}getAllDataTime(e,t,n,i){let r=new Array;r[0]={Utc:e,data:this.getDataFromID(e,n)};let a=Math.floor(e-this.#a);a=Math.min(Math.max(a,0),this.#r.length-1);let o=Math.floor(t-this.#a);o=Math.min(Math.max(o,0),this.#r.length-1);let _=0,s=this.#r[a].length;for(;_this.#r[a][_].Utc;)_++;for(_===s&&(a===this.#r.length-1?_-=1:(a+=1,_=0));a<=o&&athis.#r[a][_].Utc;)r[r.length]={Utc:this.#r[a][_].Utc,data:this.#r[a][_][i][n]},_++;a++}return r[r.length]={Utc:t,data:this.getDataFromID(e,n)},r}}const Je=(e,t,n,i)=>{let r,a,o,_,s,u,c,l=Math.round,d="string"==typeof n;return"number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||n&&!d?null:(c=t.length>9,c=d?n.length>9||"c"==n&&!c:c,s=Je.pSBCr(t),_=e<0,u=n&&"c"!=n?Je.pSBCr(n):_?{r:0,g:0,b:0,a:-1}:{r:255,g:255,b:255,a:-1},_=1-(e=_?-1*e:e),s&&u?(i?(r=l(_*s.r+e*u.r),a=l(_*s.g+e*u.g),o=l(_*s.b+e*u.b)):(r=l((_*s.r**2+e*u.r**2)**.5),a=l((_*s.g**2+e*u.g**2)**.5),o=l((_*s.b**2+e*u.b**2)**.5)),d=s.a,u=u.a,s=d>=0||u>=0,d=s?d<0?u:u<0?d:d*_+u*e:0,c?"rgb"+(s?"a(":"(")+r+","+a+","+o+(s?","+l(1e3*d)/1e3:"")+")":"#"+(4294967296+16777216*r+65536*a+256*o+(s?l(255*d):0)).toString(16).slice(1,s?void 0:-2)):null)};Je.pSBCr=e=>{const t=parseInt;let n=e.length,i={};if(n>9){const[r,a,o,_]=e=e.split(",");if(n=e.length,n<3||n>4)return null;i.r=t("a"==r[3]?r.slice(5):r.slice(4)),i.g=t(a),i.b=t(o),i.a=_?parseFloat(_):-1}else{if(8==n||6==n||n<4)return null;n<6&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(n>4?e[4]+e[4]:"")),e=t(e.slice(1),16),9==n||5==n?(i.r=e>>24&255,i.g=e>>16&255,i.b=e>>8&255,i.a=Math.round((255&e)/.255)/1e3):(i.r=e>>16,i.g=e>>8&255,i.b=255&e,i.a=-1)}return i};class Ze{#s;#u="https://livetiming.formula1.com/signalr";#c;#l;#d;#f;#h;#p;#b;#m;#g;#v;#$;#y;#S;#T;#E;#A;#C;#I;#P;constructor(e,t,n){this.#c=$.hubConnection(this.#u,{useDefaultPath:!1}),this.#l=this.#c.createHubProxy("Streaming"),this.#l.on("feed",this.#M.bind(this)),this.#c.logging=!0,this.#c.start({waitForPageLoad:!1,transport:["serverSentEvents","webSockets","foreverFrame","longPolling"]}).done(this.#w.bind(this)).fail((function(){console.log("Live Timing: Could not connect")})),this.#h=new Qe,this.#p=new Qe,this.#b=new Qe,this.#m=new Qe,this.#g=new Qe(this.#R.bind(this)),this.#v=new Qe(this.#D.bind(this)),this.#$=new Xe(this.#k.bind(this),this.#O.bind(this)),this.#y=new Xe(this.#x.bind(this),this.#U.bind(this)),this.#s=t,this.#s.setSessionName(n),this.#T=new Ne(0,0,0,0,0,0),this.#E=50,this.#f=0,this.#A=new Array,this.#C=new Array,this.#I=!1,this.#P=new Array}#w(){console.log("Now connected, connection ID="+this.#c.id),this.#l.invoke("Subscribe",["Heartbeat","CarData.z","Position.z","ExtrapolatedClock","TopThree","RcmSeries","TimingStats","TimingAppData","WeatherData","TrackStatus","DriverList","RaceControlMessages","SessionInfo","SessionData","LapCount","TimingData"]).done(this.#L.bind(this)).fail((function(e){console.log("Invocation of Subscribe failed. Error: "+e)}))}#L(e){for(let t in e)this.#M(t,e[t],e.Heartbeat.Utc);console.log(e)}#M(e,t,n){let i=Fe(n),r=i+this.#f;switch(console.log(e+" : "+n+" : "+JSON.stringify(t)),e){case"Heartbeat":this.#f=Fe(t.Utc)-i;break;case"CarData.z":this.#N(t,r);break;case"Position.z":this.#B(t,r);break;case"ExtrapolatedClock":this.#F(t,r);break;case"TopThree":case"RcmSeries":case"TimingStats":case"WeatherData":case"TrackStatus":break;case"TimingAppData":this.#H(t,r);break;case"DriverList":this.#d||this.#j(t);break;case"RaceControlMessages":console.log("RaceControlMessages : "+JSON.stringify(t)),this.#G(t,r);break;case"SessionInfo":this.#s.setSessionInfo(t);break;case"SessionData":this.#V(t,r);break;case"LapCount":t.TotalLaps&&(this.#E=t.TotalLaps);break;case"TimingData":this.#q(t,r)}}#j(e){this.#d=e,delete this.#d._kf}#q(e,t){0===this.#h.getCount()&&this.#h.addData({Lines:this.#d,Utc:0});let n=e;n.Utc=t,this.#h.addData(n);for(const e in n.Lines)n.Lines[e].LastLapTime&&n.Lines[e].LastLapTime.Value&&n.Lines[e].LastLapTime.Value.length&&(this.#A[e]||(this.#A[e]=new Array),this.#A[e][this.#A[e].length]={LapTime:n.Lines[e].LastLapTime.Value,Utc:n.Utc},this.#A[e].length-1>0&&!this.#I&&this.#Y(e,this.#A[e].length-1),n.Lines[e].LastLapTime.OverallFastest&&(this.#C[0]=e,this.#C[1]=this.#A[e].length-1))}#H(e,t){let n=e;n.Utc=t,this.#p.addData(n)}#F(e,t){let n=e;n.Utc=t,this.#b.addData(n)}#G(e,t){for(const t in e.Messages){let n=e.Messages[t];n.Utc=Fe(e.Messages[t].Utc),this.#m.addData(n)}console.log(this.#m)}#V(e,t){if(e.Series)for(const t in e.Series){let n=e.Series[t];n.Utc=Fe(e.Series[t].Utc),this.#g.addData(n)}if(e.StatusSeries)for(const t in e.StatusSeries){let n=e.StatusSeries[t];n.Utc=Fe(e.StatusSeries[t].Utc),this.#v.addData(n),n.SessionStatus&&"Started"==n.SessionStatus&&(this.#S=n.Utc)}}#R(e){return e.Lap?[e.Lap,this.#E]:e.QualifyingPart?[e.QualifyingPart]:void 0}#D(e){return e.SessionStatus?{SessionStatus:e.SessionStatus}:e.TrackStatus?{TrackStatus:e.TrackStatus}:{}}#N(e,t){let n=We(e).Entries;for(let e=0;e";for(let e=0;e'+n[e]+"";i+="",this.#Te=0;for(let e=0;e",i+='';for(let n=0;n'),i+="";i+=""}this.#he.innerHTML=i,this.onSize()}onSize(){let e=this.#he.clientWidth,t=this.#ve+10,n=this.#he.clientHeight-t;this.#be.getElementById("telemetry-titles").setAttribute("viewBox","0 0 "+e+" "+(this.#ve+10));for(let i=0;i1){i="M";let t=0;for(let n=0;n<_.length;n++)_[n]>l||(i+=(t>0?" L ":"")+(o+n*u)+" "+(this.#me[e][1]-(_[n]-r)*c),t++)}let d="";for(let n=0;n<_.length;n++)_[n]>l||(d+="");d&&s&&(s.innerHTML=d)}else if(this.#$e[e]==_t&&0===t){let t=this.#me[e][1]/(a-r);i="M"+o+" "+(this.#me[e][1]-(0-r)*t)+" L "+(o+this.#me[e][0])+" "+(this.#me[e][1]-(0-r)*t)}else{if(this.#$e[e]==_t&&!this.#Ae[0])return;let _=this.#Ae[t];if(!_)return void n.setAttribute("d","");i="M";let s,u=this.#me[e][0]/this.#Ue,c=ft[this.#$e[e]],l=this.#me[e][1]/(a-r);for(let t=0;t<_.length;t++)s=_[t].data.Channels[c],i+=(t>0?" L ":"")+(o+_[t].dist*u)+" "+(this.#me[e][1]-(s-r)*l)}i.length&&n.setAttribute("d",i)}#Be(e){let t,n,i,r,a=new Array,o=40;switch(this.#$e[e]){case tt:t=(this.#Me-this.#Pe)/15,this.#ge[e][0]=this.#Pe-t,this.#ge[e][1]=this.#Me+t,i=this.#me[e][1]*t/(this.#ge[e][1]-this.#ge[e][0]),r=this.#me[e][1]-2*i,n=Math.floor(r/o)+1,o=r/(n-1);for(let e=0;e';for(let t=0;t',u+=''+a[t][1]+"";_.innerHTML=u;for(let t=0;tn||(this.#Me=Math.max(this.#Me,t[e]));this.#Be(_),a++}if(a===o)return;switch(this.#Se){case ut:r=t.length-1;break;case ct:r=n;break;case st:return}if(!this.#fe)return;let s=null;-1!=r&&(s=this.#fe(e,r)),this.#Ae[i]=s,this.#Ue=0,this.#we=1/0,this.#Re=0;for(let e=0;e0)u[i]=!0;else{for(let e=1;e\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Loading...
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t',l.body.insertAdjacentHTML("beforeend",n),this.#Ge[r]=l,this.#Ke=l.getElementById("timing-header"),this.#ze=l.getElementById("timing-session-name"),this.#Qe=l.getElementById("timer-session-status"),this.#Xe=l.getElementById("timer-track-status"),this.#Je=l.getElementById("timer-lap"),this.#Ze=l.getElementById("timer-time-remaining");break;case a:n='
',this.#it=e[i][ie],this.#rt=e[i][re],l.body.insertAdjacentHTML("beforeend",n),this.#Ge[a]=l,this.#tt=l.getElementById("timer-leaderboard");break;case o:n='
",l.body.insertAdjacentHTML("beforeend",n),this.#Ge[o]=l,this.#et=l.getElementById("timer-race-control");break;case _:n='
",l.body.insertAdjacentHTML("beforeend",n),this.#Ge[_]=l,this.#Ot=l.getElementById("timer-driver-tracker"),e[i][ie]&&(this.#Ot.style.backgroundColor="rgba(0,0,0,0.85)");break;case s:n='
\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
',l.body.insertAdjacentHTML("beforeend",n),this.#Ge[s]=l,this.#Lt=l.getElementById("timer-team-radio-text"),this.#Nt=new Audio,this.#Nt.onended=this.#Sn.bind(this);break;case u:this.#Ge[u]=l,n='
\t\t\t\t\t\t\t\t
TEMP
\t\t\t\t\t\t\t\t
HUMIDITY
\t\t\t\t\t\t\t\t
PRESSURE
\t\t\t\t\t\t\t\t
RAINFALL
\t\t\t\t\t\t\t\t
TRACK TEMP
\t\t\t\t\t\t\t\t
DIR
\t\t\t\t\t\t\t\t
W SPEED
\t\t\t\t\t\t\t\t
',l.body.insertAdjacentHTML("beforeend",n),this.#pn=l.getElementById("data_weather_temp"),this.#bn=l.getElementById("data_weather_humiditiy"),this.#mn=l.getElementById("data_weather_pressure"),this.#gn=l.getElementById("data_weather_rainfall"),this.#vn=l.getElementById("data_weather_tracktemp"),this.#$n=l.getElementById("data_weather_winddirection"),this.#yn=l.getElementById("data_weather_windspeed");break;case c:n='
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t
',l.body.insertAdjacentHTML("beforeend",n),this.#Ge[c]=l,this.#Ft=l.getElementById("timer-lap-telemetry-graphs"),this.#Ht=l.getElementById("select-telemetry-graph-drivers"),this.#jt=l.getElementById("select-telemetry-graph-view"),this.#Gt=l.getElementById("select-telemetry-graph-type"),this.#Ht.onchange=this.#Tn.bind(this),this.#jt.onchange=this.#En.bind(this),this.#Gt.onchange=this.#An.bind(this),this.#Vt=["63","44"],this.#qt=0,this.#Yt=ut,this.#Wt=13;let t=l.getElementById("timer-lap-telemetry");t.onmouseenter=()=>{l.getElementById("timer-lap-telemetry-options").style.display="block"},t.onmouseleave=()=>{l.getElementById("timer-lap-telemetry-options").style.display="none"}}}this.#je=new ResizeObserver(this.#Cn.bind(this)),this.#tt&&this.#je.observe(this.#tt),this.#Ke&&this.#je.observe(this.#Ke),this.#Ft&&this.#je.observe(this.#Ge[c].getElementById("timer-lap-telemetry")),this.#at=!1,this.#ot=!1,this.#Ut=!1,this.#nt=20,this.#_t=new Array,this.#st=new Array,this.#ut=new Array,this.#ct=new Array,this.#lt=new Array,this.#dt=new Array,this.#ft=new Array,this.#ht=new Array,this.#pt=new Array,this.#bt=new Array,this.#mt=new Array,this.#gt=new Array,this.#vt=new Array,this.#$t=new Array,this.#yt=new Array,this.#Et=new Array,this.#At=new Array,this.#St=new Array,this.#Tt=new Array,this.#Ct=new Array,this.#It=new Array,this.#Mt=new Array(3),this.#Jt=new Array,this.#Zt=new Array,this.#xt=new Array,this.#Bt=new Array,this.#en=new Array,this.#tn=new Array,this.#nn=new Array,this.#in=new Array,this.#rn=new Array,this.#an=new Array,this.#on=new Array,this.#_n=new Array,this.#sn=new Array,this.#un=new Array,this.#cn=new Array,this.#ln=new Array,this.#dn=new Array,this.#fn=new Array,this.#hn=new Array,this.#Ce=new Array,this.#Rt=new Array,this.#Kt=null,this.#Xt=0}initOverlay(e,t,n,i){0!=t&&(this.#en[t]=e,this.#tn[t]=n,this.#In(t,i))}releaseOverlay(e){this.#en[e]&&(this.#en[e].innerHTML=""),this.#tn[e]=null}setSessionName(e){this.#Ve=e}setLapTelemetryQuery(e){this.#Kt=e}#Pn(e,t,n){n?e.classList.add(t):e.classList.remove(t)}postTiming(e){let t=new Array;for(let n=0;n0?"+":(t<0?"-":" ")+" "+Math.abs(t)),this.#_n[i]&&(this.#_n[i].textContent="#"+r[e]+" "+this.#qe[i].Tla)}else this.#qe[i][e]=r[e];break;case"GapToLeader":case"TimeDiffToFastest":this.#ct[i]&&(this.#ct[i].innerText=r[e]),this.#un[i]&&(this.#un[i].textContent=r[e]);break;case"IntervalToPositionAhead":this.#lt[i]&&(this.#lt[i].innerText=r[e].Value),this.#sn[i]&&(this.#sn[i].textContent=r[e].Value);break;case"TimeDiffToPositionAhead":this.#lt[i]&&(this.#lt[i].innerText=r[e]),this.#sn[i]&&(this.#sn[i].textContent=r[e]);break;case"Stats":this.#ct[i]&&r[e][0]&&r[e][0].TimeDiffToFastest&&(this.#ct[i].innerText=r[e][0].TimeDiffToFastest),this.#lt[i]&&r[e][0]&&r[e][0].TimeDiffToPositionAhead&&(this.#lt[i].innerText=r[e][0].TimeDiffToPositionAhead);break;case"Sectors":for(const t in r[e])for(const n in r[e][t])switch(n){case"Value":this.#dt[i]&&this.#dt[i][t]&&(this.#dt[i][t].innerText=r[e][t][n],this.#Pn(this.#dt[i][t],"leaderboard_pb_text_colour",r[e][t].PersonalFastest),this.#Pn(this.#dt[i][t],"leaderboard_fastest_text_colour",r[e][t].OverallFastest)),this.#ft[i]&&r[e][t][n].length&&(this.#ft[i].innerText="S"+(parseInt(t)+1)+" "+r[e][t][n],this.#Zt[i]=t,this.#Pn(this.#ft[i],"leaderboard_pb_text_colour",r[e][t].PersonalFastest),this.#Pn(this.#ft[i],"leaderboard_fastest_text_colour",r[e][t].OverallFastest)),this.#ht[i]&&2!=t&&r[e][t][n].length&&(this.#ht[i].innerText="S"+(parseInt(t)+1)+" "+r[e][t][n],this.#Jt[i]=t,this.#Pn(this.#ht[i],"leaderboard_pb_text_colour",r[e][t].PersonalFastest),this.#Pn(this.#ht[i],"leaderboard_fastest_text_colour",r[e][t].OverallFastest)),this.#gt[i]&&this.#gt[i][t]&&(this.#Pn(this.#gt[i][t],"leaderboard_bg_pb_text_colour",r[e][t].PersonalFastest),this.#Pn(this.#gt[i][t],"leaderboard_bg_fastest_text_colour",r[e][t].OverallFastest),this.#Pn(this.#gt[i][t],"leaderboard_bg_yellow_text_colour",!r[e][t].OverallFastest&&!r[e][t].PersonalFastest&&r[e][t][n].length)),this.#fn[i]&&this.#fn[i][t]&&r[e][t][n].length&&(this.#fn[i][t].textContent="S"+t+": "+r[e][t][n]);break;case"Stopped":case"Status":break;case"OverallFastest":!0===r[e][t].OverallFastest&&this.#Mn(t,i);break;case"Segments":this.#at||(this.#qe[i][e]||(this.#qe[i][e]=new Array(3)),this.#qe[i][e][t]||(this.#qe[i][e][t]={}),this.#qe[i][e][t][n]||(this.#qe[i][e][t][n]=new Array));for(const a in r[e][t][n])this.#at?this.#wn(i,t,a,r[e][t][n][a].Status):this.#qe[i][e][t][n][a]=r[e][t][n][a].Status}break;case"BestLapTime":this.#pt[i]&&(this.#pt[i].innerText=r[e].Value),this.#dn[i]&&(this.#dn[i].textContent=r[e].Value);break;case"LastLapTime":r[e].Value&&(this.#Ce[i]||(this.#Ce[i]=new Array),this.#Ce[i][this.#Ce[i].length]=je(r[e].Value),(r[e].PersonalFastest||r[e].OverallFastest)&&(this.#Rt[i]={lap_time:r[e].Value,lap_id:this.#Ce[i].length-1}),t[i]=!0),r[e].OverallFastest&&(this.#Rn(i),this.#pt[i]&&this.#pt[i].classList.add("leaderboard_fastest_text_colour"),this.#ut[i]&&this.#ut[i].classList.add("leaderboard_fastest_text_colour")),this.#bt[i]&&(r[e].Value&&(this.#bt[i].innerText=r[e].Value),this.#Pn(this.#bt[i],"leaderboard_pb_text_colour",r[e].PersonalFastest),this.#Pn(this.#bt[i],"leaderboard_fastest_text_colour",r[e].OverallFastest)),this.#ht[i]&&this.#Jt[i]!==mt&&(r[e].Value&&(this.#ht[i].innerText="L "+r[e].Value,this.#Jt[i]=bt),this.#Pn(this.#ht[i],"leaderboard_pb_text_colour",r[e].PersonalFastest),this.#Pn(this.#ht[i],"leaderboard_fastest_text_colour",r[e].OverallFastest)),this.#ln[i]&&(this.#ln[i].textContent=r[e].Value);break;case"InPit":this.#ht[i]&&r[e]&&(this.#ht[i].innerText="IN PIT",this.#Jt[i]=mt);break;case"PitOut":this.#ht[i]&&r[e]&&(this.#ht[i].innerText="PIT EXIT",this.#Jt[i]=mt);break;case"NumberOfPitStops":this.#yt[i]&&(this.#yt[i].innerText=r[e]);break;case"Retired":if(r[e]){let e="OUT";this.#lt[i]&&(this.#lt[i].innerText=e,e=""),this.#ct[i]&&(this.#ct[i].innerText=e,e=""),this.#ht[i]&&(this.#ht[i].innerText=e,e="",this.#Jt[i]=gt),this.#ft[i]&&(this.#ft[i].innerText=e,e="",this.#Zt[i]=gt)}break;case"Stopped":if(r[e]){let e="OUT";this.#lt[i]&&(this.#lt[i].innerText=e,e=""),this.#ct[i]&&(this.#ct[i].innerText=e,e=""),this.#ht[i]&&(this.#ht[i].innerText=e,e="",this.#Jt[i]=gt),this.#ft[i]&&(this.#ft[i].innerText=e,e="",this.#Zt[i]=gt)}}}if(this.#at||this.#Dn(),this.#Ot&&!this.#ot){let e=Object.values(this.#qe)[0];e.Tla&&e.TeamColour&&this.#kn()}this.#Ft&&!this.#zt&&(this.#On(),this.#xn());for(const e in t){let t=-1;this.#Rt[e]&&(t=this.#Rt[e].lap_id),this.#zt.onLapCompleted(e,this.#Ce[e],t)}}postTimingApp(e){for(let t=0;t0?"+":(t<0?"-":" ")+" "+Math.abs(t)}break;case"Stints":this.#It[n]&&0!==Object.keys(i[e]).length||(this.#It[n]=new Array);for(const t in i[e])for(const r in i[e][t])switch(r){case"Compound":case"New":case"TyresNotChanged":case"TotalLaps":case"StartLaps":this.#It[n][t]||(this.#It[n][t]={}),this.#It[n][t][r]=i[e][t][r]}this.#Un(n)}}}postExtrapolatedClock(e){if(!this.#Ze)return;let t=e[e.length-1];t.Extrapolating?this.#Qt=t:(this.#Qt=null,this.#Ze.innerText="Remaining: "+t.Remaining)}postRaceControlMsgs(e){if(this.#et)for(let t=0;t'+n+"")}}postLapCounter(e){this.#Je&&(e[e.length-1].length>1?this.#Je.innerHTML="LAP "+e[e.length-1][0]+" / "+e[e.length-1][1]:this.#Je.innerHTML="Q"+e[e.length-1][0])}postSessionStatus(e){let t,n;for(let i=0;i{this.#Ke.style.backgroundColor="rgba(0,0,0,0.8)"}),3e3);break;case"SCDeployed":n="SAFETY CAR",this.#Ke.style.backgroundColor="rgb(255, 212, 0)";break;case"VSCDeployed":n="VIRTUAL SAFETY CAR",this.#Ke.style.backgroundColor="rgb(255, 212, 0)";break;case"VSCEnding":n="VSC ENDING",this.#Ke.style.backgroundColor="rgb(255, 212, 0)";break;case"Yellow":n="YELLOW FLAG",this.#Ke.style.backgroundColor="rgb(255, 212, 0)";break;case"Red":n="RED FLAG",this.#Ke.style.backgroundColor="rgb(200,0,20)"}this.#Xe&&(this.#Xe.innerHTML=n)}}postTeamRadio(e){if(!this.#Lt)return;let t=0;if(this.#Nt.paused||this.#Nt.ended){for(;t\t\t\t ';for(let e=0;e'+this.#qe[n].Line+"";break;case f:r+='
';break;case h:r+='
'+this.#qe[n].RacingNumber+"
";break;case p:r+='
'+this.#qe[n].Tla+"
";break;case b:r+='
'+this.#qe[n].LastName+"
";break;case m:r+='
'+this.#qe[n].BroadcastName+"
";break;case g:r+='
'+this.#qe[n].FullName+"
";break;case v:r+='
-
';break;case y:r+='
-
';break;case S:r+='
-
';break;case T:r+='
-
';break;case E:r+='
-
-
-
';break;case A:r+='
-
';break;case C:r+='
-
';break;case I:if(!this.#qe[n].Sectors||!this.#qe[n].Sectors[0]||!this.#qe[n].Sectors[0].Segments)break;for(let e=0;e<3;e++){r+='
',r+='
';let t=this.#qe[n].Sectors[e].Segments;for(let i=0;i
'}r+="
",r+='
',r+=""}break;case P:r+='
-
';break;case M:r+='
DRS
';break;case w:r+='
-
';break;case R:r+='
-
';break;case D:r+='
-
';break;case k:r+='
-
';break;case O:r+='
-
';break;case x:let e="-";if(this.#qe[n].GridPos){let t=this.#qe[n].Line-this.#qe[n].GridPos;e=t>0?"+":(t<0?"-":" ")+" "+Math.abs(t)}r+='
'+e+"
"}r+="",e.insertAdjacentHTML("beforeend",r),this.#st[n]=i.getElementById("driver-"+n),this.#st[n].style.top=(this.#qe[n].Line-1)*(100/this.#Ye)+"%";for(let e=0;e\t\t\t\t\t\t\t \t\t\t\t\t\t\t '+this.#qe[i].Tla.slice(0,1)+'\t\t\t\t\t\t \t\t\t\t\t\t '),t++;let i=this.#Ge[_];i.getElementById("driver-tracker-svg").insertAdjacentHTML("beforeend",e);for(const e in this.#qe)this.#xt[e]=i.getElementById("driver-tracker-dot-"+e);t&&(this.#ot=!0)}#In(e,t){let n=this.#en[e],i=(Math.PI,'\t\t\t \t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t DRS\t\t\t\t \t\t\t\t '+t.toUpperCase()+'\t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t\t \t\t\t \t\t ');n.innerHTML=i,this.#nn[e]=this.#tn[e].getElementById("overlay-throttle-"+e),this.#in[e]=this.#tn[e].getElementById("overlay-brake-"+e),this.#rn[e]=this.#tn[e].getElementById("overlay-speed-"+e),this.#on[e]=this.#tn[e].getElementById("overlay-gear-"+e),this.#_n[e]=this.#tn[e].getElementById("overlay-title-"+e),this.#sn[e]=this.#tn[e].getElementById("overlay-interval-"+e),this.#un[e]=this.#tn[e].getElementById("overlay-leader-"+e),this.#cn[e]=this.#tn[e].getElementById("overlay-drs-"+e),this.#ln[e]=this.#tn[e].getElementById("overlay-last-"+e),this.#dn[e]=this.#tn[e].getElementById("overlay-fastest-"+e),this.#fn[e]=[this.#tn[e].getElementById("overlay-s1-"+e),this.#tn[e].getElementById("overlay-s2-"+e),this.#tn[e].getElementById("overlay-s3-"+e)],this.#hn[e]=this.#tn[e].getElementById("overlay-tyres-"+e),this.#nn[e].style.strokeDasharray=408.407,this.#in[e].style.strokeDasharray=408.407,this.#rn[e].style.strokeDasharray=502.655,this.#nn[e].dialRange=.3*this.#nn[e].style.strokeDasharray,this.#tn[e].getElementById("overlay-throttlebg-"+e).style.strokeDashoffset=this.#nn[e].style.strokeDasharray-this.#nn[e].dialRange,this.#in[e].dialRange=.15*this.#in[e].style.strokeDasharray,this.#tn[e].getElementById("overlay-brakebg-"+e).style.strokeDashoffset=this.#in[e].style.strokeDasharray-this.#in[e].dialRange,this.#rn[e].dialRange=.5*this.#rn[e].style.strokeDasharray,this.#tn[e].getElementById("overlay-speedbg-"+e).style.strokeDashoffset=this.#rn[e].style.strokeDasharray-this.#rn[e].dialRange}#jn(e){switch(e){case 0:return"rgba(0,0,0, 0.5)";case 2048:return"yellow";case 2049:return"green";case 2051:return"purple";case 2052:return"rgb(0,155,155)";case 2064:return"rgb(155,0,0)";default:return console.log("unrecognised sector colour "+e),"rgb(255,255,255)"}}#wn(e,t,n,i){this.#mt[e]&&this.#mt[e][t]&&this.#mt[e][t][n]&&(this.#mt[e][t][n].style.backgroundColor=this.#jn(i))}#Rn(e){if(this.#Pt&&this.#Pt!=e){let e=this.#Pt;this.#pt[e]&&this.#pt[e].classList.remove("leaderboard_fastest_text_colour"),this.#bt[e]&&this.#bt[e].classList.remove("leaderboard_fastest_text_colour"),this.#ht[e]&&this.#ht[e].classList.remove("leaderboard_fastest_text_colour"),this.#ut[e]&&this.#ut[e].classList.remove("leaderboard_fastest_text_colour")}this.#Pt=e,console.log("Fastest lap driver: "+e)}#Mn(e,t){if(this.#Mt[e]&&this.#Mt[e]!=t){let t=this.#Mt[e];this.#dt[t]&&this.#dt[t][e]&&this.#dt[t][e].classList.remove("leaderboard_fastest_text_colour"),this.#ft[t]&&this.#Zt[t]===e&&this.#ft[t].classList.remove("leaderboard_fastest_text_colour"),this.#gt[t]&&this.#gt[t][e]&&this.#gt[t][e].classList.remove("leaderboard_bg_fastest_text_colour"),this.#ht[t]&&this.#Jt[t]===e&&this.#ht[t].classList.remove("leaderboard_fastest_text_colour")}this.#Mt[e]=t}#Cn(e){for(let t=0;t",t+=this.#It[e][n].TotalLaps+" ");this.#Et[e].innerHTML=t}if(this.#At[e]){let t="";for(let n=0;n",n===this.#It[e].length-1&&(t+=this.#It[e][n].TotalLaps+" "));this.#At[e].innerHTML=t}if(this.#St[e]&&this.#It[e].length){let t="",n=this.#It[e].length-1;t+="",this.#St[e].innerHTML=t}if(this.#Tt[e]&&this.#It[e].length){let t="",n=this.#It[e].length-1;t+="",t+=this.#It[e][n].TotalLaps,this.#Tt[e].innerHTML=t}}#Sn(){if(this.#Lt.innerText="",!this.#Bt.length)return;let e=0;for(;e[X] '+this.#Vt[t]+" "+this.#qe[this.#Vt[t]].Tla+"");e+="",e+='';for(const t in this.#qe)-1==this.#Vt.indexOf(t)&&(e+='");e+="",this.#Ht.innerHTML=e}#Tn(){if(!this.#qe.length)return;let e=this.#Ht.value;if(!e)return;let t=this.#Vt.indexOf(e);-1!=t?(console.log("Remove Driver : "+e),this.#Vt.splice(t,1)):(console.log("New Driver : "+e),this.#Vt[this.#Vt.length]=e),this.#On(),this.#xn()}#En(){this.#qt=this.#jt.value,this.#xn()}#An(){this.#Yt=parseInt(this.#Gt.value),this.#xn()}}class $t{#Gn;#Vn;#qn;#Yn;#Wn;#Kn;#zn;#Qn;#Xn;constructor(e,t){this.#Gn=e,this.#Jn(),this.setMix(t)}#Jn(){this.#Vn=new window.AudioContext,this.#qn=this.#Vn.createMediaElementSource(this.#Gn.getVideoElement()),this.#Yn=this.#Vn.createChannelSplitter(2),this.#Wn=this.#Vn.createGain(),this.#Kn=this.#Vn.createGain(),this.#zn=this.#Vn.createChannelMerger(1),this.#Yn.connect(this.#Wn,0),this.#Yn.connect(this.#Kn,1),this.#Wn.connect(this.#zn,0,0),this.#Kn.connect(this.#zn,0,0),this.#Zn()}#ei(){this.#qn.disconnect(),this.#qn.connect(this.#Yn),this.#zn.connect(this.#Vn.destination),this.#Xn=!0}#Zn(){this.#qn.disconnect(),this.#zn.disconnect(),this.#qn.connect(this.#Vn.destination),this.#Xn=!1}setMix(e){this.#Qn=e,.5==e?this.#Xn&&this.#Zn():(this.#Xn||this.#ei(),this.#Wn.gain.value=1-this.#Qn,this.#Kn.gain.value=this.#Qn)}#ti(){this.#Vn.close(),this.#Vn=null,this.#Wn=null,this.#Kn=null}}function yt(){function t(){GM_addElement("script",{textContent:e}),r()}function r(){if(unsafeWindow.bitmovin){if(!unsafeWindow.bitmovin.player)return unsafeWindow.bitmovin=null,void t();document.open(),document.write(Ee+Ae),window.stop(),document.body.onclick=a}else unsafeWindow.setTimeout(r,1e3)}function a(){document.body.onclick=null,document.getElementById("click_to_start").style.display="none",function(){o=document.getElementById("control-bar-viewer"),_=document.getElementById("current-played-time"),s=document.getElementById("total-time"),u=document.getElementById("seekbar"),f[0]=window,window.addEventListener("message",de),window.onresize=M.bind(this,0),unsafeWindow.onSubWindowResize=M,unsafeWindow.playOrPauseAll=ne,unsafeWindow.toggleFullscreen=ie;for(let e=1;e
';document.getElementById("videos").insertAdjacentHTML("beforeend",e),b[i]=[document.getElementById("video-parent-div-"+i),document.getElementById("video-child-div-"+i)],le()}I[i]=Oe.video[i][q],T[i]=0;var e=document.getElementById("video-settings-table"),t="\t\t\t\t\t\t\t#"+i+'\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLR\t\t\t\t\t\t\t\t\t\t\t\t\t\t0ms\t\t\t\t\t\t\t\t\t\t\t\t\t';e.insertAdjacentHTML("beforeend",t),A[i]=document.getElementById("video-live-offset-"+i);var n=document.getElementById("video-forced-offset-"+i);n.oninput=ue.bind(null,i,n)}document.getElementById("control-bar").onmouseenter=ae,document.getElementById("control-bar").onmouseleave=oe,document.getElementById("videos").onclick=ne,document.getElementById("videos").ondblclick=ie.bind(null,ke),document.getElementById("play-video").onclick=ne,document.getElementById("fullscreen").onclick=ie.bind(null,ke),u.oninput=_e}()}unsafeWindow.setTimeout(t,10);let o,_,s,u,c,l,d=Oe.video.length,f=new Array(Oe.window_count),h=0,p=new Array(d),b=new Array(d),m="",g={},v={},$=new Array(d),y=null,S=new Array(d),T=new Array(d),E=new Array(d),A=new Array(d),C=null,I=new Array(Oe.video.length),P=!1;function M(e){var t,n,i,r,a,o,_,s,u=f[e].innerWidth,c=f[e].innerHeight,l=16/9;for(let f=0;fa[o].width||r>a[o].width);)o++;if(o>3||o>=a.length)return p[e].setVideoQuality("auto"),void(document.getElementById("select-quality-"+e).selectedIndex=0);p[e].setVideoQuality(a[o].id),document.getElementById("select-quality-"+e).selectedIndex=o+1}async function R(e,t){var n=await fetch(t,{method:"GET",headers:{ascendontoken:m}});if(200!==n.status)return void console.log("playbackURL: resposne status not 200: "+n.statusText);let i=await n.json(),r={title:"F1TV++",description:"One of the videos on display!",options:{manifestWithCredentials:!0,dashManifestWithCredentials:!0,dashWithCredentials:!0,withCredentials:!0}};switch(i.resultObj.streamType){case"HLS":r.hls=i.resultObj.url;break;case"HLSWV":r.hls=i.resultObj.url,r.drm={widevine:{LA_URL:i.resultObj.laURL,headers:{entitlementToken:i.resultObj.entitlementToken}}};break;case"HLSPR":r.hls=i.resultObj.url,r.drm={playready:{LA_URL:i.resultObj.laURL,headers:{entitlementToken:i.resultObj.entitlementToken}}};break;case"DASHWV":r.dash=i.resultObj.url,r.drm={widevine:{LA_URL:i.resultObj.laURL,headers:{entitlementToken:i.resultObj.entitlementToken}}};break;case"DASHPR":r.dash=i.resultObj.url,r.drm={playready:{LA_URL:i.resultObj.laURL,headers:{entitlementToken:i.resultObj.entitlementToken}}};break;default:console.log("Unrecognised Stream Type.")}p[e].load(r).then(te.bind(null,e,i.resultObj.url)).catch((e=>{console.log("Video Load Error: "+e)}))}function D(e){let t=Oe.video[e][j];return Object.values(g).length?g[t]?g[t]:1===g.length?(Oe.video[e][j]=Object.keys(g)[0],Object.values(g)[0]):g["f1 live"]?(Oe.video[e][j]="f1 live",g["f1 live"]):g.main?(Oe.video[e][j]="main",g.main):null:null}async function k(){var e=function(e){let t=e+"=",n=decodeURIComponent(document.cookie).split(";");for(let e=0;e'+a.resultObj.containers[0].metadata.additionalStreams[e].title+""}}else{let e="main";v[e]="0",g[e]="https://f1tv.formula1.com/2.0/R/ENG/WEB_HLS/ALL/CONTENT/PLAY?contentId="+Pe,o+='"}{let e=a.resultObj.containers[0].metadata.emfAttributes.Global_Title,t=a.resultObj.containers[0].metadata.contentSubtype,n=a.resultObj.containers[0].metadata.emfAttributes.sessionEndTime,i=a.resultObj.containers[0].metadata.emfAttributes.MeetingKey,r=a.resultObj.containers[0].metadata.emfAttributes.MeetingSessionKey;!async function(e,t,n,i,r,a){if(!Oe.data||!Oe.data.length)return;let o,_,s="live"==r.toLowerCase();if(!s){let i=await fetch("https://livetiming.formula1.com/static/"+e+"/Index.json");i=await i.json();let r=i.Meetings.length-1;for(;r>=0&&i.Meetings[r].Key!=t;)r--;if(-1===r)return;let s=i.Meetings[r].Sessions.length-1;if(4===n.length){for(;s>=0&&i.Meetings[r].Sessions[s].Key!=n;)s--;if(-1===s)return}else{let e=a.slice(0,19);for(;s>=0&&i.Meetings[r].Sessions[s].EndDate!=e;)s--;if(-1===s)return}o="https://livetiming.formula1.com/static/"+i.Meetings[r].Sessions[s].Path;let u=o+"ArchiveStatus.json";_=await fetch(u),_=await _.json()}c=new vt(Oe.data,f),l=s||"Complete"!==_.Status?new Ze(Oe.data,c,i):new et(Oe.data,o,c,i);unsafeWindow.setInterval(ce,100)}(a.resultObj.containers[0].metadata.year,i,r,e,t,n)}for(var s=Oe.video.length;s--;){p[s]||(p[s]=new unsafeWindow.bitmovin.player.Player(b[s][1],n));var u=D(s);u&&R(s,u);var d=document.getElementById("select-stream-"+s);d&&(d.innerHTML=o,d.value=Oe.video[s][j],d.addEventListener("change",O.bind(null,s))),(d=document.getElementById("video-volume-"+s))&&(p[s].setVolume(100*Oe.video[s][G]),d.value=100*Oe.video[s][G],d.addEventListener("input",x.bind(null,s))),(d=document.getElementById("video-auto-quality-"+s))&&d.addEventListener("change",U.bind(null,s))}}else console.log("ERROR: streamListURL: resposne status not 200: "+r.statusText)}else alert("ERROR: You don't seem to be logged in....")}function O(e){var t=document.getElementById("select-stream-"+e);c&&c.releaseOverlay(v[Oe.video[e][j]]),Oe.video[e][j]=t.options[t.selectedIndex].text.toLowerCase(),R(e,g[t.value])}function x(e){var t=document.getElementById("video-volume-"+e);p[e].setVolume(t.value)}function U(e){I[e]=document.getElementById("video-auto-quality-"+e).checked,M(Oe.video[e][X]);let t=document.getElementById("select-quality-"+e);t&&(I[e]?t.disabled=!0:t.disabled=!1)}function J(e){var t=document.getElementById("select-quality-"+e);p[e].setVideoQuality(t.value)}function Z(e){var t=document.getElementById("select-audio-"+e);p[e].setAudio(t.value)}function ee(e){var t=document.getElementById("video-audio-mix-"+e);$[e].setMix(t.value/100)}function te(e,t){let n=p[e].getAvailableVideoQualities(),r='';for(let e=0;e'+n[e].width+"x"+n[e].height+", "+Math.floor(n[e].bitrate/1e3)+" kbps";let a=document.getElementById("select-quality-"+e);a&&(a.innerHTML=r,a.value=p[e].getVideoQuality().id,a.addEventListener("change",J.bind(null,e)),I[e]?a.disabled=!0:a.disabled=!1);let o=p[e].getAvailableAudio();for(r="",i=0;i'+o[i].label+"";a=document.getElementById("select-audio-"+e),a&&(a.innerHTML=r,a.value=p[e].getAudio().id,a.addEventListener("change",Z.bind(null,e))),p[e].play(),I[e]&&M(Oe.video[e][X]),0==e&&(P=p[0].isLive(),function(){if(null!=C)return;se(),C=unsafeWindow.setInterval(se,5e3)}()),$[e]?$[e].setMix(Oe.video[e][Q]):$[e]=new $t(p[e],Oe.video[e][Q]),a=document.getElementById("video-audio-mix-"+e),a&&(a.value=100*Oe.video[e][Q],a.addEventListener("input",ee.bind(null,e))),T[e]=function(e,t){let n;return n=t?ge:me,3===e.length?n.driver:n[e]?n[e]:-1e4}(Oe.video[e][j],p[e].isLive())/1e3,document.getElementById("video-forced-offset-"+e).value=1e3*T[e],async function(e,t){if(p[e].manifest.hls){let i=t.lastIndexOf("/"),r=t.slice(0,i)+"/",a=p[e].manifest.hls.properties[p[e].manifest.hls.properties.length-1];"stream-inf"==a.name&&(r+=a.value);let o=await fetch(r,{credentials:"include"});if(200!==o.status)return void console.log("ERROR: loadVideoStartTime: response status not 200: "+o.statusText);var n=await o.text();let _="#EXT-X-PROGRAM-DATE-TIME:",s="#",u=n.indexOf(_)+_.length,c=n.indexOf(s,u),l=n.slice(u,c);return void(S[e]=Be(l))}if(p[e].manifest.dash){let n="start=",i="&",r=t.indexOf(n)+n.length,a=t.indexOf(i,r),o=1e3*parseInt(t.slice(r,a)),_=new Date(o);S[e]=Be(_.toISOString())}}(e,t);let _=f[Oe.video[e][L]].document;c&&c.initOverlay(_.getElementById("video-overlay-"+e),v[Oe.video[e][j]],_,Oe.video[e][j])}function ne(){p[0].isPaused()?function(){let e=d;for(;e--;)p[e].play()}():function(){let e=d;for(;e--;)p[e].pause();!function(){let e=d,t=p[0].getCurrentTime();console.log("current offset for video 0 : "+p[0].getTimeShift());for(;e-- >1;)if(P){E[e]=p[e].getCurrentTime("absolutetime")-(p[0].getCurrentTime("absolutetime")+T[e]),console.log("current offset for video "+e+" : "+p[e].getTimeShift());let t=Math.min(p[e].getTimeShift()-E[e],-.01);console.log("new_offset video "+e+" : "+t),p[e].timeShift(t)}else p[e].seek(t+T[0]-T[e])}()}()}function ie(e){let t=f[e].document;t.fullscreenElement!==t.body?t.body.requestFullscreen():t.exitFullscreen()}function re(){var e,t;if(P){let e=p[0].getMaxTimeShift();u.min=e,u.max=0,u.value=p[0].getTimeShift(),_.innerHTML=Ve(e),s.innerHTML="LIVE"}else e=p[0].getCurrentTime(),t=p[0].getDuration(),u.max=t,u.value=e,_.innerHTML=Ve(e),s.innerHTML=Ve(t);let n=d;for(;n--;)A[n].innerHTML=Math.floor(1e3*E[n])+"ms"}function ae(){o.style.display="block",re(),y=unsafeWindow.setInterval(re,1e3)}function oe(){o.style.display="none",clearInterval(y),y=null}function _e(){var e=1*u.value;if(P)for(var t=d;t--;)p[t].timeShift(e);else for(t=d;t--;){let n=0;0!=t&&(n=T[0]-T[t]),p[t].seek(e+n)}}function se(){let e=d;for(;--e;)P?(E[e]=p[e].getTimeShift()-(p[0].getTimeShift()+T[e]),Math.abs(E[e])>.5&&(E[e]=p[e].getCurrentTime("relativetime")-(p[0].getCurrentTime("relativetime")+T[e]),p[e].timeShift(p[0].getTimeShift()+T[e]))):(E[e]=p[e].getCurrentTime()+T[e]-(p[0].getCurrentTime()+T[0]),Math.abs(E[e])>.5&&p[e].seek(p[0].getCurrentTime()+T[0]-T[e]))}function ue(e,t){T[e]=parseInt(t.value,10)/1e3}function ce(){let e;if(P)e=1e3*p[0].getCurrentTime("absolutetime"),e=Be(new Date(e).toISOString()),e.addSeconds(T[0]);else{if(!S[0])return;t=S[0],e=new Ne(t.m_iYear,t.m_iMonth,t.m_iDay,t.m_iHour,t.m_iMins,t.m_fSecs),e.addSeconds(p[0].getCurrentTime()+T[0])}var t;l.onTime(e)}function le(){if(h++,h==d){window.removeEventListener("message",de),k();let e=Oe.window_count;for(;e--;)M(e)}}function de(e){e.data.windowID&&(b[e.data.videoID]=f[e.data.windowID].elements[e.data.videoID],le())}}var St=!1;function Tt(){document.open(),document.write(Ie),window.stop();const e=0,t=1;let n=[0,-1];Oe.window_count;function i(e,t,n,i,r,a,o){return"
"+o+"
"}function s(){let n="";n+="
";for(let e=0;e\t\t\t\t\tWindow #"+e+"\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t
";for(var r in n+="",document.getElementById("window-container").innerHTML=n,Oe.video){let e=document.getElementById("window-"+Oe.video[r][L]);e&&e.insertAdjacentHTML("beforeEnd",i("video-panel","video-"+r,Oe.video[r][N],Oe.video[r][B],Oe.video[r][F],Oe.video[r][H],Oe.video[r][j].toUpperCase()))}for(var r in Oe.data){let e=document.getElementById("window-"+Oe.data[r][X]);e&&e.insertAdjacentHTML("beforeEnd",i("data-panel","data-"+r,Oe.data[r][Z],Oe.data[r][ee],Oe.data[r][te],Oe.data[r][ne],l[Oe.data[r][J]]))}for(let e=0;ee&&Oe.video[t][L]--;for(let t=0;te&&Oe.data[t][X]--;s()}function m(e){Oe.video.splice(e,1);let t=document.getElementById("video-"+e);t&&t.remove(),s()}function g(e){Oe.data.splice(e,1);let t=document.getElementById("data-"+e);t&&t.remove(),s()}function v(){-1==n[1]&&(document.getElementById("video-editor").style.display="none",document.getElementById("data-editor").style.display="none"),n[0]==e?(document.getElementById("video-editor").style.display="block",document.getElementById("data-editor").style.display="none",function(){let e=n[1];document.getElementById("editor-video-stream").value=Oe.video[e][j],document.getElementById("editor-video-left").value=Oe.video[e][N],document.getElementById("editor-video-top").value=Oe.video[e][B],document.getElementById("editor-video-width").value=Oe.video[e][F],document.getElementById("editor-video-height").value=Oe.video[e][H],document.getElementById("editor-video-volume").value=100*Oe.video[e][G],document.getElementById("editor-video-aspect").checked=Oe.video[e][V],document.getElementById("editor-video-quality").checked=Oe.video[e][q],document.getElementById("editor-video-crop-left").value=Oe.video[e][Y],document.getElementById("editor-video-crop-top").value=Oe.video[e][W],document.getElementById("editor-video-crop-width").value=Oe.video[e][K],document.getElementById("editor-video-crop-height").value=Oe.video[e][z],document.getElementById("editor-video-mix").value=100*Oe.video[e][Q]}()):(document.getElementById("video-editor").style.display="none",document.getElementById("data-editor").style.display="block",function(){let e=n[1];switch(document.getElementById("editor-data-stream").selectedIndex=Oe.data[e][J],document.getElementById("editor-data-left").value=Oe.data[e][Z],document.getElementById("editor-data-top").value=Oe.data[e][ee],document.getElementById("editor-data-width").value=Oe.data[e][te],document.getElementById("editor-data-height").value=Oe.data[e][ne],document.getElementById("data-extra-tools-Header").style.display="none",document.getElementById("data-extra-tools-Leaderboard").style.display="none",document.getElementById("data-extra-tools-Race Control").style.display="none",document.getElementById("data-extra-tools-Tracker").style.display="none",document.getElementById("data-extra-tools-Radio").style.display="none",document.getElementById("data-extra-tools-Weather").style.display="none",document.getElementById("data-extra-tools-"+l[Oe.data[e][J]]).style.display="block",Oe.data[e][J]){case r:break;case a:S();break;case o:break;case _:document.getElementById("editor-data-tracker-bg").checked=Oe.data[e][ie]}}())}function $(t,i){if(n[0]!=e)return;let r=n[1];Oe.video[r][i]=document.getElementById(t).value,u(r)}function y(e,i){if(n[0]!=t)return;let r=n[1];Oe.data[r][i]=document.getElementById(e).value,c(r)}function S(){let e=n[1],t=document.getElementById("select-leaderboard-session").value,i=Oe.data[e][t];i&&i.length||(i=[],Oe.data[e][t]=[]);let r="";for(let e=0;e'+U[i[e]]+"";document.getElementById("select-leaderboard-items").innerHTML=r}function T(e){let t=n[1],i=document.getElementById("select-leaderboard-session").value,r=Oe.data[t][i],a=document.getElementById("select-leaderboard-items").selectedIndex;if(a+e<0||a+e>=r.length)return;let o=r[a];r[a]=r[a+e],r[a+e]=o,S(),document.getElementById("select-leaderboard-items").selectedIndex=a+e}function E(){pe[we][Re][De]=Oe,unsafeWindow.localStorage.layouts=JSON.stringify(pe)}let A="";for(let e=0;e'+oe[e]+"";document.getElementById("editor-video-stream").innerHTML=A,A="";for(let e=0;e'+l[e]+"";document.getElementById("editor-data-stream").innerHTML=A,A="";for(let e=0;e'+U[e]+"";document.getElementById("select-add-leaderboard-item").innerHTML=A,document.getElementById("add-window").onclick=function(){Oe.window_count++,s()}.bind(null),document.getElementById("editor-video-stream").onchange=function(){if(n[0]!=e)return;let t=n[1];Oe.video[t][j]=document.getElementById("editor-video-stream").value,u(t)},document.getElementById("editor-video-left").oninput=$.bind(null,"editor-video-left",N),document.getElementById("editor-video-top").oninput=$.bind(null,"editor-video-top",B),document.getElementById("editor-video-width").oninput=$.bind(null,"editor-video-width",F),document.getElementById("editor-video-height").oninput=$.bind(null,"editor-video-height",H),document.getElementById("editor-video-volume").oninput=function(){if(n[0]!=e)return;let t=n[1];Oe.video[t][G]=document.getElementById("editor-video-volume").value/100},document.getElementById("editor-video-aspect").onchange=function(){if(n[0]!=e)return;let t=n[1];Oe.video[t][V]=document.getElementById("editor-video-aspect").checked},document.getElementById("editor-video-quality").onchange=function(){if(n[0]!=e)return;let t=n[1];Oe.video[t][q]=document.getElementById("editor-video-quality").checked},document.getElementById("editor-video-crop-left").oninput=$.bind(null,"editor-video-crop-left",Y),document.getElementById("editor-video-crop-top").oninput=$.bind(null,"editor-video-crop-top",W),document.getElementById("editor-video-crop-width").oninput=$.bind(null,"editor-video-crop-width",K),document.getElementById("editor-video-crop-height").oninput=$.bind(null,"editor-video-crop-height",z),document.getElementById("editor-video-mix").oninput=function(){if(n[0]!=e)return;let t=n[1];Oe.video[t][Q]=document.getElementById("editor-video-mix").value/100},document.getElementById("editor-data-stream").onchange=function(){if(n[0]!=t)return;let e=n[1];Oe.data[e][J]=document.getElementById("editor-data-stream").selectedIndex,c(e)},document.getElementById("editor-data-left").oninput=y.bind(null,"editor-data-left",Z),document.getElementById("editor-data-top").oninput=y.bind(null,"editor-data-top",ee),document.getElementById("editor-data-width").oninput=y.bind(null,"editor-data-width",te),document.getElementById("editor-data-height").oninput=y.bind(null,"editor-data-height",ne),document.getElementById("editor-data-tracker-bg").onchange=function(){if(n[0]!=t)return;let e=n[1];Oe.video[e][ie]=document.getElementById("editor-data-tracker-bg").checked},document.getElementById("select-leaderboard-session").onchange=S,document.getElementById("add-leaderboard-item").onclick=function(){let e=n[1],t=document.getElementById("select-leaderboard-session").value,i=Oe.data[e][t];i[i.length]=1*document.getElementById("select-add-leaderboard-item").value,S()},document.getElementById("remove-leaderboard-item").onclick=function(){let e=n[1],t=document.getElementById("select-leaderboard-session").value,i=Oe.data[e][t],r=document.getElementById("select-leaderboard-items").selectedIndex;-1==r&&(r=i.length-1),i.splice(r,1),S()},document.getElementById("move-up-leaderboard-item").onclick=T.bind(null,-1),document.getElementById("move-down-leaderboard-item").onclick=T.bind(null,1),document.getElementById("save").onclick=E,document.getElementById("save-and-load").onclick=function(){E();let e=window.location.href.replace("editor","multipopout");e=e.replace("/#f1tvplus","/1/#f1tvplus"),window.location.href=e},document.getElementById("reset-all").onclick=function(){he(),Oe=pe[we][Re][De],s(),v()},s()}function Et(){switch(Me){case ve:Ue(),function(){if(St)return;St=!0;var e="
";let n=new Array;n[0]="";for(let e=0;e"+be[0][e]+""}n[1]="";for(let e=0;e"+be[1][e]+""}let i="";for(let e=0;e