/*! JW Player version 8.26.4 Copyright (c) 2022, JW Player, All Rights Reserved This source code and its use and distribution is subject to the terms and conditions of the applicable license agreement. https://www.jwplayer.com/tos/ This product includes portions of other software. For the full text of licenses, see https://ssl.p.jwpcdn.com/player/v/8.26.4/notice.txt */ "use strict";(self.webpackChunkjwplayer=self.webpackChunkjwplayer||[]).push([[63],{8698:function(t,e,i){i.r(e);var r=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},n=function(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message};(n.prototype=Object.create(Error.prototype)).constructor=n,n.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};var o=function(t){var e=function(t,e,i,r){return 3600*(0|t)+60*(0|e)+(0|i)+(0|r)/1e3},i=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return i?i[3]?e(i[1],i[2],i[3].replace(":",""),i[4]):i[1]>59?e(i[1],i[2],0,i[4]):e(0,i[1],i[2],i[4]):null},a={"&":"&","<":"<",">":">","‎":"‎","‏":"‏"," ":" "},s={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},l={v:"title",lang:"lang"},h={rt:"ruby"},c=function(t,e){for(var i,r=function(){if(!e)return null;var t,i=e.match(/^([^<]*)(<[^>]+>?)?/);return t=i[1]?i[1]:i[2],e=e.substr(t.length),t},n=function(t){return a[t]},c=function(t){for(var e;e=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(e[0],n);return t},p=function(t,e){return!h[e.localName]||h[e.localName]===t.localName},f=function(e,i){var r=s[e];if(!r)return null;var n=t.document.createElement(r),o=l[e];return o&&i&&(n[o]=i.trim()),n},u=t.document.createElement("div"),d=u,g=[];null!==(i=r());)if("<"!==i[0])d.appendChild(t.document.createTextNode(c(i)));else{if("/"===i[1]){g.length&&g[g.length-1]===i.substr(2).replace(">","")&&(g.pop(),d=d.parentNode);continue}var m=o(i.substr(1,i.length-2)),v=void 0;if(m){v=t.document.createProcessingInstruction("timestamp",m),d.appendChild(v);continue}var y=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(v=f(y[1],y[3])))continue;if(!p(d,v))continue;y[2]&&(v.className=y[2].substr(1).replace("."," ")),g.push(y[1]),d.appendChild(v),d=v}return u},p=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]],f=function(t){for(var e=0;e=i[0]&&t<=i[1])return!0}return!1},u=function(t,e){for(var i=e.childNodes.length-1;i>=0;i--)t.push(e.childNodes[i])},d=function t(e){if(!e||!e.length)return null;var i=e.pop(),r=i.textContent||i.innerText;if(r){var n=r.match(/^.*(\n|\r)/);return n?(e.length=0,n[0]):r}return"ruby"===i.tagName?t(e):i.childNodes?(u(e,i),t(e)):void 0},g=function(t){if(!t||!t.childNodes)return"ltr";var e,i,r=[];for(u(r,t);e=d(r);)for(var n=0;nt.left&&this.topt.top},y.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},y.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},y.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},y.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,paddingRight:t.right-this.right,height:this.height,width:this.width}},y.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,i=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0,n=(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).height||e;return{left:t.left,right:t.right,top:t.top||r,height:n,bottom:t.bottom||r+n,width:t.width||i}};var b=function(t,e,i,r,n){var o=new y(e),a=e.cue,s=function(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,i=e.textTrackList,r=0,n=0;nu&&(f=f<0?-1:1,f*=Math.ceil(u/c)*c),s<0)f+=a.vertical?i.width:i.height,f-=n*c,l=l.slice().reverse();f-=n,o.move(d,f)}else{var g=o.lineHeight/i.height*100;switch(a.lineAlign){case"middle":s-=g/2;break;case"end":s-=g}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({paddingRight:e.formatStyle(s,"%")})}l=["+y","-x","+x","-y"],o=new y(e)}var m=function t(e,n,o){var a;void 0===o&&(o=0);var s,l=new y(e),h=0;if(!e.height||!e.width)return l;for(var c=0;ca.width&&(l.cueDiv.style.whiteSpace="pre-wrap",l.div.style.left="0px"),b(0,l,a,o,s),s-=r.text.split("\n").length,r.displayState=l.div,o.push(y.getSimpleBoxPosition(l))}}()}else for(var l=0;l