1!function(){"use strict";var P=10,z=16,R=4.5,F=1.5,j=[0,0,0,.5],a=!1,B={};(window.captionator=B).CaptionatorCueStructure=function(e,t){var s=this;this.isTimeDependent=!1,this.cueSource=e,this.options=t,this.processedCue=null,this.toString=function(a){var o;return!1!==t.processCueHTML?(o=function(e,t){if(null!==s.processedCue)return s.processedCue;var i,n,r="";for(i in e)i.match(/^\d+$/)&&e.hasOwnProperty(i)&&((n=e[i])instanceof Object&&n.children&&n.children.length?"v"===n.token?r+='<q data-voice="'+n.voice.replace(/[\"]/g,"")+"\" class='voice speaker-"+n.voice.replace(/[^a-z0-9]+/gi,"-").toLowerCase()+" webvtt-span' title=\""+n.voice.replace(/[\"]/g,"")+'">'+o(n.children,t+1)+"</q>":"c"===n.token?r+="<span class='webvtt-span webvtt-class-span "+n.classes.join(" ")+"'>"+o(n.children,t+1)+"</span>":0<n.timeIn?null==a||0<a&&a>=n.timeIn?r+="<span class='webvtt-span webvtt-timestamp-span' data-timestamp='"+n.token+"' data-timestamp-seconds='"+n.timeIn+"'>"+o(n.children,t+1)+"</span>":a<n.timeIn&&(r+="<span class='webvtt-span webvtt-timestamp-span webvtt-cue-future' aria-hidden='true' style='opacity: 0;' data-timestamp='"+n.token+"' data-timestamp-seconds='"+n.timeIn+"'>"+o(n.children,t+1)+"</span>"):r+=n.rawToken+o(n.children,t+1)+"</"+n.token+">":(n instanceof String||"string"==typeof n||"number"==typeof n)&&(r+=n));return s.isTimeDependent||0!==t||(s.processedCue=r),r})(this,0):e},this.getPlain=function(a){var o;return!1!==t.processCueHTML?(o=function(e,t){var i,n,r="";for(i in e)i.match(/^\d+$/)&&e.hasOwnProperty(i)&&((n=e[i])instanceof Object&&n.children&&n.children.length?0<n.timeIn&&null!=a&&!(0<a&&a>=n.timeIn)||(r+=o(n.children,t+1)):(n instanceof String||"string"==typeof n||"number"==typeof n)&&(r+=n));return r})(this,0):e.replace(/<[^>]*>/gi,"")}},B.CaptionatorCueStructure.prototype=[],B.TextTrack=function(e,t,i,n,r,a){this.onload=function(){},this.onerror=function(){},this.oncuechange=function(){},this.id=e||"",this.internalMode=B.TextTrack.OFF,this.cues=new B.TextTrackCueList(this),this.activeCues=new B.ActiveTextTrackCueList(this.cues,this),this.kind=t||"subtitles",this.label=i||"",this.language=n||"",this.src=r||"",this.readyState=B.TextTrack.NONE,this.internalDefault=a||!1,this.getMode=function(){return this.internalMode},this.setMode=function(e){if(-1===[B.TextTrack.OFF,B.TextTrack.HIDDEN,B.TextTrack.SHOWING].indexOf(e))throw new Error("Illegal mode value for track: "+e);e!==this.internalMode&&(this.internalMode=e,this.readyState===B.TextTrack.NONE&&0<this.src.length&&e>B.TextTrack.OFF&&this.loadTrack(this.src,null),this.videoNode._captionator_dirtyBit=!0,B.rebuildCaptions(this.videoNode),e===B.TextTrack.OFF)&&(this.cues.length=0,this.readyState=B.TextTrack.NONE)},this.getDefault=function(){return this.internalDefault},Object.prototype.__defineGetter__?(this.__defineGetter__("mode",this.getMode),this.__defineSetter__("mode",this.setMode),this.__defineGetter__("default",this.getDefault)):Object.defineProperty&&(Object.defineProperty(this,"mode",{get:this.getMode,set:this.setMode}),Object.defineProperty(this,"default",{get:this.getDefault})),this.loadTrack=function(e,i){var n,r=new XMLHttpRequest;if(this.readyState===B.TextTrack.LOADED)i instanceof Function&&i(n);else{this.src=e,this.readyState=B.TextTrack.LOADING;var a=this;r.open("GET",e,!0),r.onreadystatechange=function(e){var t;4===r.readyState&&(200===r.status?(t=a.videoNode._captionatorOptions||{},"metadata"===a.kind&&(t.processCueHTML=!1,t.sanitiseCueHTML=!1),n=B.parseCaptions(r.responseText,t),a.readyState=B.TextTrack.LOADED,a.cues.loadCues(n),a.activeCues.refreshCues.apply(a.activeCues),a.videoNode._captionator_dirtyBit=!0,B.rebuildCaptions(a.videoNode),a.onload.call(this),i instanceof Function&&i.call(a,n)):(a.readyState=B.TextTrack.ERROR,a.onerror()))};try{r.send(null)}catch(e){a.readyState=B.TextTrack.ERROR,a.onerror(e)}}},this.addCue=function(e){if(!(e&&e instanceof B.TextTrackCue))throw new Error("The argument is null or not an instance of TextTrackCue.");this.cues.addCue(e)},this.removeCue=function(){}},B.TextTrack.NONE=0,B.TextTrack.LOADING=1,B.TextTrack.LOADED=2,B.TextTrack.ERROR=3,B.TextTrack.OFF=0,B.TextTrack.HIDDEN=1,B.TextTrack.SHOWING=2,B.TextTrackCue=function(e,t,i,n,r,a,o){var s,c;this.id=e,this.track=o instanceof B.TextTrack?o:null,this.startTime=parseFloat(t),this.endTime=parseFloat(i)>=this.startTime?parseFloat(i):this.startTime,this.text="string"==typeof n||n instanceof B.CaptionatorCueStructure?n:"",this.settings="string"==typeof r?r:"",this.intSettings={},this.pauseOnExit=!!a,this.wasActive=!1,this.direction="horizontal",this.snapToLines=!0,this.linePosition="auto",this.textPosition=50,this.size=0,this.alignment="middle",this.settings.length&&(s=this.intSettings,c=this,(r=r.split(/\s+/).filter(function(e){return 0<e.length}))instanceof Array)&&r.forEach(function(e){var t={D:"direction",L:"linePosition",T:"textPosition",A:"alignment",S:"size"};t[(e=e.split(":"))[0]]&&(s[t[e[0]]]=e[1]),t[e[0]]in c&&(c[t[e[0]]]=e[1])}
1),this.linePosition.match(/\%/)&&(this.snapToLines=!1),this.getCueAsSource=function(){return String(this.text)},this.getCueAsHTML=function(){var t=document.createDocumentFragment(),e=document.createElement("div");return e.innerHTML=String(this.text),Array.prototype.forEach.call(e.childNodes,function(e){t.appendChild(e.cloneNode(!0))}),t},this.isActive=function(){var e;if(this.track instanceof B.TextTrack&&(this.track.mode===B.TextTrack.SHOWING||this.track.mode===B.TextTrack.HIDDEN)&&this.track.readyState===B.TextTrack.LOADED)try{if(e=this.track.videoNode.currentTime,this.startTime<=e&&this.endTime>=e)return this.wasActive||(this.wasActive=!0,this.onenter()),!0}catch(e){return!1}return this.wasActive&&(this.wasActive=!1,this.onexit()),!1},Object.prototype.__defineGetter__?this.__defineGetter__("active",this.isActive):Object.defineProperty&&Object.defineProperty(this,"active",{get:this.isActive}),this.toString=function(){return"TextTrackCue:"+this.id+"\n"+String(this.text)},this.onenter=function(){},this.onexit=function(){}},B.TextTrackCueList=function(e){this.track=e instanceof B.TextTrack?e:null,this.getCueById=function(t){return this.filter(function(e){return e.id===t})[0]},this.loadCues=function(e){for(var t=0;t<e.length;t++)e[t].track=this.track,Array.prototype.push.call(this,e[t])},this.addCue=function(e){if(!(e&&e instanceof B.TextTrackCue))throw new Error("The argument is null or not an instance of TextTrackCue.");if(e.track!==this.track&&e.track)throw new Error("This cue is associated with a different track!");Array.prototype.push.call(this,e)},this.toString=function(){return"[TextTrackCueList]"}},B.TextTrackCueList.prototype=[],B.ActiveTextTrackCueList=function(e,r){this.refreshCues=function(){if(e.length){var t=this,i=!1,n=[].slice.call(this,0);if(this.length=0,e.forEach(function(e){e.active&&(t.push(e),t[t.length-1]!==n[t.length-1])&&(i=!0)}),i)try{r.oncuechange()}catch(e){}}},this.toString=function(){return"[ActiveTextTrackCueList]"},this.refreshCues()},B.ActiveTextTrackCueList.prototype=new B.TextTrackCueList(null);B.rebuildCaptions=function(n){var e=n.textTracks||[],r=(n._captionatorOptions instanceof Object&&n._captionatorOptions,n.currentTime),i=[],a=[];e.forEach(function(e,t){e.mode===B.TextTrack.SHOWING&&e.readyState===B.TextTrack.LOADED&&(a=(a=[].slice.call(e.activeCues,0)).sort(function(e,t){return e.startTime>t.startTime?-1:1}),i=i.concat(a))}),e=i.map(function(e){return e.track.id+"."+e.id+":"+e.text.toString(r).length}),B.compareArray(e,n._captionator_previousActiveCues)&&!n._captionator_dirtyBit||(n._captionator_dirtyBit=!1,n._captionator_availableCueArea=null,n._captionator_previousActiveCues=e,B.styleCueCanvas(n),[].slice.call(n._descriptionContainerObject.getElementsByTagName("div"),0).concat([].slice.call(n._containerObject.getElementsByTagName("div"),0)).forEach(function(e){e.cueObject&&!e.cueObject.active&&(e.cueObject.rendered=!1,e.cueObject.domNode=null,e.parentElement.removeChild(e))}
1),i.forEach(function(e){var t,i;"metadata"!==e.track.kind&&e.mode!==B.TextTrack.HIDDEN&&(e.rendered?(i=(t=e.domNode).getElementsByClassName("captionator-cue-inner")[0],e.text.toString(r)!==t.currentText&&(t.currentText=e.text.toString(r),i.innerHTML=t.currentText,i.spanified=!1)):(t=document.createElement("div"),(i=document.createElement("span")).className="captionator-cue-inner",t.id=String(e.id).length?e.id:B.generateID(),t.className="captionator-cue",t.appendChild(i),((t.cueObject=e).domNode=t).setAttribute("lang",e.track.language),t.currentText=e.text.toString(r),i.innerHTML=t.currentText,e.rendered=!0,("descriptions"===e.track.kind?n._descriptionContainerObject:n._containerObject).appendChild(t)),"descriptions"!==e.track.kind)&&B.styleCue(t,e,n)}))},B.captionify=function(e,t,i){var n=[],r=0;if((i=i instanceof Object?i:{}).minimumFontSize&&"number"==typeof i.minimumFontSize&&(P=i.minimumFontSize),i.minimumLineHeight&&"number"==typeof i.minimumLineHeight&&(z=i.minimumLineHeight),i.fontSizeVerticalPercentage&&"number"==typeof i.fontSizeVerticalPercentage&&(R=i.fontSizeVerticalPercentage),i.lineHeightRatio&&"number"!=typeof i.lineHeightRatio&&(F=i.lineHeightRatio),i.cueBackgroundColour&&i.cueBackgroundColour instanceof Array&&(j=i.cueBackgroundColour),!HTMLVideoElement&&!i.forceCaptionify)return!1;if(("function"==typeof document.createElement("video").addTextTrack||"function"==typeof document.createElement("video").addTrack)&&!i.forceCaptionify)return!1;if(!a&&i.exportObjects&&(window.TextTrack=B.TextTrack,window.TextTrackCueList=B.TextTrackCueList,window.ActiveTextTrackCueList=B.ActiveTextTrackCueList,window.TextTrackCue=B.TextTrackCue,a=!0),e&&!1!==e&&null!=e)if(e instanceof Array)for(r=0;r<e.length;r++)"string"==typeof e[r]?n=n.concat([].slice.call(document.querySelectorAll(e[r]),0)):e[r].constructor===HTMLVideoElement&&n.push(e[r]);else"string"==typeof e?n=[].slice.call(document.querySelectorAll(e),0):e.constructor===HTMLVideoElement&&n.push(e);else n=[].slice.call(document.getElementsByTagName("video"),0);return!!n.length&&(n.forEach(function(c){c.addTextTrack=function(e,t,i,n,r,a,o){var s=["subtitles","captions","descriptions","captions","metadata","chapters"];s.slice(0,7);if(e="string"==typeof e?e:"",i="string"==typeof i?i:"",n="string"==typeof n?n:"",s.filter(function(e){return t===e}).length)return!!(s=new B.TextTrack(e,t,i,n,r,null))&&(c.textTracks instanceof Array||(c.textTracks=[]),c.textTracks.push(s),s);throw B.createDOMException(12,"DOMException 12: SYNTAX_ERR: You must use a valid kind when creating a TimedTextTrack.","SYNTAX_ERR")},B.processVideoElement(n[r],t,i)}),!0)},B.parseCaptions=function(e,h){h=h instanceof Object?h:{};var f,r,t,g="",i=[],m="",T=[],v=/^(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\,(\d{2})?:?(\d{2}):(\d{2})\.(\d+)\s*(.*)/,A=/^(\d+)?:?(\d{2}):(\d{2})\.(\d+)\,(\d+)?:?(\d{2}):(\d{2})\.(\d+)\s*(.*)/,b=/^(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)\s+\-\-\>\s+(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)\s*(.*)/,C=/(\d{2})?:?(\d{2}):(\d{2})[\.\,](\d+)/,x=/^([\d\.]+)\s+\+([\d\.]+)\s*(.*)/,y=/^\[(\d{2})?:?(\d{2})\:(\d{2})\.(\d{2,3})\]\s*(.*?)$/,k=/^(DEFAULTS|DEFAULT)\s+\-\-\>\s+(.*)/g,w=/^(STYLE|STYLES)\s+\-\-\>\s*\n([\s\S]*)/g,_=/^(COMMENT|COMMENTS)\s+\-\-\>\s+(.*)/g,n=/^(\d{2})?:?(\d{2}):(\d{2})\.(\d+)/;if(e)return f=function(e){function t(e){return!!e.replace(/[^a-z0-9]+/gi,"").length}var i,n,r,a,o=new B.CaptionatorCueStructure(e,h),s=[],c=[],l=0,u=o;for(i in s=e.split(/(<\/?[^>]+>)/gi))if(s.hasOwnProperty(i))if("<"===(n=s[i]).substr(0,1))if("/"===n.substr(1,1)){var d=n.substr(2).split(/[\s>]+/g)[0];if(0<c.length){for(var p=0,l=c.length-1;0<=l;l--){p=l;if(c[l][c[l].length-1].token===d)break}u=c[p],c=c.slice(0,p)}}else(n.substr(1).match(C)||n.match(/^<v\s+[^>]+>/i)||n.match(/^<c[a-z0-9\-\_\.]+>/)||n.match(/^<(b|i|u|ruby|rt)>/)||!1!==h.sanitiseCueHTML)&&("v"===(a={token:n.replace(/[<\/>]+/gi,"").split(/[\s\.]+/)[0],rawToken:n,children:[]}).token?a.voice=n.match(/^<v\s*([^>]+)>/i)[1]:"c"===a.token?a.classes=n.replace(/[<\/>\s]+/gi,"").split(/[\.]+/gi).slice(1).filter(t):(r=a.rawToken.match(C))&&(o.isTimeDependent=!0,r=r.slice(1),a.timeIn=parseInt(60*(r[0]||0)*60,10)+parseInt(60*(r[1]||0),10)+parseInt(r[2]||0,10)+parseFloat("0."+(r[3]||0))),u.push(a),c.push(u),u=a.children);else!1!==h.sanitiseCueHTML&&(n=n.replace(/</g,"<").replace(/>/g,">").replace(/\&/g,"&"),h.ignoreWhitespace||(n=n.replace(/\n+/g,"<br />"))),u.push(n);return o},r=function(e){var t=0;return"string"!=typeof e?0:((e=n.exec(e))&&(e=e.slice(1),t=parseInt(60*(e[0]||0)*60,10)+parseInt(60*(e[1]||0),10)+parseInt(e[2]||0,10)+parseFloat("0."+(e[3]||0))),t)},i=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),/<tt\s+xml/gi.exec(e)?((t=document.createElement("ttml")).innerHTML=e,[].slice.call(t.querySelectorAll("[begin],[end]"),0).map(function(e,t){var i=String(e.getAttribute("begin")),n=String(e.getAttribute("end")),t=e.getAttribute("id")||t,i=r(i),n=r(n),e=!1===h.processCueHTML?e.innerHTML:f(e.innerHTML);return new B.TextTrackCue(t,i,n,e,{},!1,null)})):(e.split(/\n+/g).reduce(function(e,t,i,n){return e||!!y.exec(t)},!1)?(i=i.split(/\n+/g),g="LRC"):i=i.split(/\n\n+/g),i=i.filter(function(e){return e.match(/^WEBVTT(\s*FILE)?/gi)?!(g="WebVTT"):!!e.replace(/\s*/gi,"").length}).map(function(e,t){var i,n,r,a,o,s,c,l="";if(s=k.exec(e))return T=(T=s.slice(2).join("")).split(/\s+/g).filter(function(e){return e&&!!e.length}),null;if(s=w.exec(e))return m+=s[s.length-1],null;if(s=_.exec(e))return null;for(i="LRC"===g?[e.substr(0,e.indexOf("]")+1),e.substr(e.indexOf("]")+1)]:e.split(/\n/g);!i[0].replace(/\s+/gi,"").length&&0<i.length;)i.shift();for(s=i[0].match(/^\s*[a-z0-9\-]+\s*$/gi)?String(i.shift().replace(/\s*/gi,"")):t,o=0;o<i.length;o++){var u=i[o];(c=(c=(c=b.exec(u))||v.exec(u))||A.exec(u))?(a=c.slice(1),n=parseInt(60*(a[0]||0)*60,10)+parseInt(60*(a[1]||0),10)+parseInt(a[2]||0,10)+parseFloat("0."+(a[3]||0)),r=parseInt(60*(a[4]||0)*60,10)+parseInt(60*(a[5]||0),10)+parseInt(a[6]||0,10)+parseFloat("0."+(a[7]||0)),a[8]&&(l=a[8])):(c=x.exec(u))?(a=c.slice(1),r=(n=parseFloat(a[0]))+parseFloat(a[1]),a[2]&&(l=a[2])):(c=y.exec(u))&&(a=c.slice(1,c.length-1),r=n=parseInt(60*(a[0]||0)*60,10)+parseInt(60*(a[1]||0),10)+parseInt(a[2]||0,10)+parseFloat("0."+(a[3]||0))),i=i.slice(0,o).c
1oncat(i.slice(o+1));break}if(!n&&!r)return null;var d,p=T.reduce(function(e,t,i,n){return e[t.split(":")[0]]=t.split(":")[1],e},{}),p=l.split(/\s+/g).filter(function(e){return e&&!!e.length}).reduce(function(e,t,i,n){return e[t.split(":")[0]]=t.split(":")[1],e},p),l="";for(d in p)p.hasOwnProperty(d)&&(l=(l+=l.length?" ":"")+d+":"+p[d]);return e=!1===h.processCueHTML?i.join("\n"):f(i.join("\n")),(t=new B.TextTrackCue(s,n,r,e,l,!1,null)).styleData=m,t}).filter(function(e){return null!==e}),"LRC"===g&&(i.forEach(function(e,t){0<t&&(e=e.startTime,(t=i[--t]).endTime<e)&&(t.endTime=e)}),i=i.filter(function(e){return 0<e.text.toString().replace(/\s*/,"").length})),i);throw new Error("Required parameter captionData not supplied.")},B.processVideoElement=function(n,r,a){var o=[],e=navigator.language||navigator.userLanguage;r||e.split("-")[0];return a=a instanceof Object?a:{},n.captioned||(n._captionatorOptions=a,n.className+=(n.className.length?" ":"")+"captioned",n.captioned=!0,0===n.id.length&&(n.id=B.generateID()),[].slice.call(n.querySelectorAll("track"),0).forEach(function(t){var e=null,e=0<t.querySelectorAll("source").length?t.querySelectorAll("source"):t.getAttribute("src"),e=n.addTextTrack(t.getAttribute("id")||B.generateID(),t.getAttribute("kind"),t.getAttribute("label"),t.getAttribute("srclang").split("-")[0],e,t.getAttribute("type"),t.hasAttribute("default")),i=((t.track=e).trackNode=t,e.videoNode=n,o.push(e),!1);"subtitles"!==e.kind&&"captions"!==e.kind||r!==e.language||!a.enableCaptionsByDefault||o.filter(function(e){return("captions"===e.kind||"subtitles"===e.kind)&&r===e.language&&e.mode===B.TextTrack.SHOWING}).length||(i=!0),"chapters"!==e.kind||r!==e.language||o.filter(function(e){return"chapters"===e.kind&&e.mode===B.TextTrack.SHOWING}).length||(i=!0),!0===(i="descriptions"!==e.kind||!0!==a.enableDescriptionsByDefault||r!==e.language||o.filter(function(e){return"descriptions"===e.kind&&e.mode===B.TextTrack.SHOWING}).length?i:!0)&&o.forEach(function(e){e.trackNode.hasAttribute("default")&&e.mode===B.TextTrack.SHOWING&&(e.mode=B.TextTrack.HIDDEN)}),t.hasAttribute("default")&&!o.filter(function(e){return!(!e.trackNode.hasAttribute("default")||e.trackNode===t)}).length&&(e.internalDefault=i=!0),!0===i&&(e.mode=B.TextTrack.SHOWING)}),n.addEventListener("timeupdate",function(e){e=e.target;try{e.textTracks.forEach(function(e){e.activeCues.refreshCues.apply(e.activeCues)})}catch(e){}a.renderer instanceof Function?a.renderer.call(B,e):B.rebuildCaptions(e)},!1),window.addEventListener("resize",function(e){n._captionator_dirtyBit=!0,B.rebuildCaptions(n)},!1),!0===a.enableHighResolution&&window.setInterval(function(){try{n.textTracks.forEach(function(e){e.activeCues.refreshCues.apply(e.activeCues)})}catch(e){}a.renderer instanceof Function?a.renderer.call(B,n):B.rebuildCaptions(n)},20)),n},B.getNodeMetrics=function(e){for(var t,i=window.getComputedStyle(e,null),n=e,r=e.offsetTop,a=e.offsetLeft,o=0,s=parseInt(i.getPropertyValue("width"),10),i=parseInt(i.getPropertyValue("height"),10);n=n.offsetParent;)r+=n.offsetTop,a+=n.offsetLeft;return e.hasAttribute("controls")?-1!==(t=navigator.userAgent.toLowerCase()).indexOf("chrome")?o=32:-1!==t.indexOf("opera")?o=25:-1!==t.indexOf("firefox")?o=28:-1!==t.indexOf("ie 9")||-1!==t.indexOf("ipad")?o=44:-1!==t.indexOf("safari")&&(o=25):e._captionatorOptions&&(t=e._captionatorOptions).controlHeight&&(o=parseInt(t.controlHeight,10)),{left:a,top:r,width:s,height:i,controlHeight:o}},B.applyStyles=function(e,t){for(var i in t)!{}.hasOwnProperty.call(t,i)||(e.style[i]=t[i])},B.checkDirection=function(e){var t="A-Za-zÃ-ÃÃ-öø-ʸÌ-Öà -á¿¿â°-ï¬ï·¾-﹯﻽-ï¿¿",i="Ö-ß¿ï¬-﷽ﹰ-ﻼ",n=new RegExp("^[^"+i+"]*["+t+"]");return new RegExp("^[^"+t+"]*["+i+"]").test(e)?"rtl":n.test(e)?"ltr":""},B.styleCue=function(e,i,t){function l(e){if(e.spanified)return e.characterCount;function t(e){return!!e.length}function i(e){c++,B.applyStyles(e,{display:"block",lineHeight:"auto",height:u+"px",width:d+"px",textAlign:"center"})}var n,r,a,o,s="<span class='captionator-cue-character'>",c=0;for(n in e.childNodes)e.childNodes.hasOwnProperty(n)&&!e.childNodes[n].nosp
1an&&(3===(r=e.childNodes[n]).nodeType?(o=document.createDocumentFragment(),a=r.nodeValue,o.appendChild(document.createElement("span")),o.childNodes[0].innerHTML=s+a.split(/(.)/).filter(t).join("</span>"+s)+"</span>",[].slice.call(o.querySelectorAll("span.captionator-cue-character"),0).forEach(i),r.parentNode.replaceChild(o,r)):1===e.childNodes[n].nodeType&&(c+=l(e.childNodes[n])));return e.characterCount=c,e.spanified=!0,c}var n,r,a,u,o,s,c,d,p,h,f,g,m,T,v,A=0,b=0,C=0,x=0,y=0,k=0,w=0,_=t._captionatorOptions||{},S=50,E=0,O=!0,L=(i.track.language,B.getNodeMetrics(t));if(t._captionator_availableCueArea||(t._captionator_availableCueArea={bottom:L.height-L.controlHeight,right:L.width,top:0,left:0,height:L.height-L.controlHeight,width:L.width}),"horizontal"===i.direction&&(B.applyStyles(e,{width:"auto",position:"static",display:"inline-block",padding:"1em"}),T=parseInt(e.offsetWidth,10),E=(E=Math.floor(T/t._captionator_availableCueArea.width*100))<=100?E:100),T=L.height*(R/100)/96*72,T=P<=T?T:P,u=Math.floor(T/72*96),T=Math.floor(T*F),T=z<T?T:z,c=Math.ceil(T/72*96),(d=c)*Math.floor(L.height/c)<L.height&&(c=Math.floor(L.height/Math.floor(L.height/c)),T=Math.ceil(c/96*72)),c*Math.floor(L.width/c)<L.width&&(d=Math.ceil(L.width/Math.floor(L.width/c))),o=Math.floor(t._captionator_availableCueArea.height/c),s=Math.floor(t._captionator_availableCueArea.width/d),0===parseFloat(String(i.size).replace(/[^\d\.]/gi,""))?!0===_.sizeCuesByTextBoundingBox?v=E:O=!(v=100):(O=!1,v=(v=parseFloat(String(i.size).replace(/[^\d\.]/gi,"")))<=100?v:100),r="horizontal"===i.direction?Math.floor(.01*L.width):0,a="horizontal"===i.direction?0:Math.floor(.01*L.height),"auto"===i.linePosition?i.linePosition="horizontal"===i.direction?o:s:String(i.linePosition).match(/\%/)&&(i.snapToLines=!1,i.linePosition=parseFloat(String(i.linePosition).replace(/\%/gi,""))),"horizontal"===i.direction?(x=c,"auto"!==i.textPosition&&O&&(E<v-(S=parseFloat(String(i.textPosition).replace(/[^\d\.]/gi,"")))?v-=S:v=E),C=!0===i.snapToLines?t._captionator_availableCueArea.width*(v/100):L.width*(v/100),A="auto"===i.textPosition?(t._captionator_availableCueArea.right-C)/2+t._captionator_availableCueArea.left:(S=parseFloat(String(i.textPosition).replace(/[^\d\.]/gi,"")),(t._captionator_availableCueArea.right-C)*(S/100)+t._captionator_availableCueArea.left),b=!0===i.snapToLines?(o-1)*c+t._captionator_availableCueArea.top:(D=L.controlHeight+c+2*a,(L.height-D)*(i.linePosition/100))):(b=t._captionator_availableCueArea.top,A=t._captionator_availableCueArea.right-d,C=d,x=t._captionator_availableCueArea.height*(v/100),O=l(e),y=[].slice.call(e.querySelectorAll("span.captionator-cue-character"),0),p=Math.floor((x-2*a)/u),C=Math.ceil(O/p)*d,h=Math.ceil(O/p),f=(O-p*(h-1))*u,A=!0===i.snapToLines?"vertical-lr"===i.direction?t._captionator_availableCueArea.left:t._captionator_availableCueArea.right-C:(E=C+2*r,"vertical-lr"===i.direction?(L.width-E)*(i.linePosition/100):L.width-E-(L.width-E)*(i.linePosition/100)),b="auto"===i.textPosition?(t._captionator_availableCueArea.bottom-x)/2+t._captionator_availableCueArea.top:(i.textPosition=parseFloat(String(i.textPosition).replace(/[^\d\.]/gi,"")),(t._captionator_availableCueArea.bottom-x)*(i.textPosition/100)+t._captionator_availableCueArea.top),m=g=w=k=0,y.forEac
1h(function(e,t){g="vertical-lr"===i.direction?d*k:C-d*(k+1),"start"===i.alignment||"start"!==i.alignment&&k<h-1?m=w*u+a:"end"===i.alignment?m=w*u-u+(x+2*a-f):"middle"===i.alignment&&(m=(x-2*a-f)/2+w*u),e.setAttribute("aria-hidden","true"),B.applyStyles(e,{position:"absolute",top:m+"px",left:g+"px"}),p-1<=w?(w=0,k++):w++}),e.accessified||(S=i.text.getPlain(t.currentTime),(v=document.createElement("div")).innerHTML=S,v.nospan=!0,e.appendChild(v),e.accessified=!0,B.applyStyles(v,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",opacity:"0",textIndent:"-999em"}))),"horizontal"===i.direction&&(n=("rtl"===B.checkDirection(String(i.text))?{start:"right",middle:"center",end:"left"}:{start:"left",middle:"center",end:"right"})[i.alignment]),B.applyStyles(e,{position:"absolute",overflow:"hidden",width:C+"px",height:x+"px",top:b+"px",left:A+"px",padding:a+"px "+r+"px",textAlign:n,backgroundColor:"rgba("+j.join(",")+")",direction:B.checkDirection(String(i.text)),lineHeight:T+"pt",boxSizing:"border-box"}),"vertical"===i.direction||"vertical-lr"===i.direction)A-t._captionator_availableCueArea.left-t._captionator_availableCueArea.left>=t._captionator_availableCueArea.right-(A+C)?t._captionator_availableCueArea.right=A:t._captionator_availableCueArea.left
1=A+C,t._captionator_availableCueArea.width=t._captionator_availableCueArea.right-t._captionator_availableCueArea.left;else{if(e.scrollHeight>1.2*e.offsetHeight){if(i.snapToLines){for(var M=0;e.scrollHeight>1.2*e.offsetHeight;)x+=c,e.style.height=x+"px",M++;b-=M*c}else{e.scrollHeight;var x=e.scrollHeight+a,D=L.controlHeight+x+2*a;b=(L.height-D)*(i.linePosition/100),e.style.height=x+"px"}e.style.top=b+"px"}b-t._captionator_availableCueArea.top-t._captionator_availableCueArea.top>=t._captionator_availableCueArea.bottom-(b+x)&&t._captionator_availableCueArea.bottom>b?t._captionator_availableCueArea.bottom=b:t._captionator_availableCueArea.top<b+x&&(t._captionator_availableCueArea.top=b+x),t._captionator_availableCueArea.height=t._captionator_availableCueArea.bottom-t._captionator_availableCueArea.top}if(_.debugMode){var H,N,I,O=function(){H||(t._captionatorDebugCanvas?(H=t._captionatorDebugCanvas,N=t._captionatorDebugContext):((H=document.createElement("canvas")).setAttribute("width",L.width),H.setAttribute("height",L.height-L.controlHeight),document.body.appendChild(H),B.applyStyles(H,{position:"absolute",top:L.top+"px",left:L.left+"px",width:L.width+"px",height:L.height-L.controlHeight+"px",zIndex:3e3}),N=H.getContext("2d"),t._captionatorDebugCanvas=H,t._captionatorDebugContext=N))};for(O(),H.setAttribute("width",L.width),O(),N.fillStyle="rgba(100,100,255,0.5)",N.fillRect(t._captionator_availableCueArea.left,t._captionator_availableCueArea.top,t._captionator_availableCueArea.right,t._captionator_availableCueArea.bottom),N.stroke(),O(),N.strokeStyle="rgba(255,0,0,0.5)",N.lineWidth=1,N.beginPath(),I=0;I<o;I++)N.moveTo(.5,I*c+.5),N.lineTo(L.width,I*c+.5);for(N.closePath(),N.stroke(),N.beginPath(),N.strokeStyle="rgba(0,255,0,0.5)",I=s;0<=I;I--)N.moveTo(L.width-I*d-.5,-.5),N.lineTo(L.width-I*d-.5,L.height);for(N.closePath(),N.stroke(),N.beginPath(),N.strokeStyle="rgba(255,255,0,0.5)",I=0;I<=s;I++)N.moveTo(I*d+.5,-.5),N.lineTo(I*d+.5,L.height);N.stroke(),t.linesDrawn=!0}},B.styleCueCanvas=function(e){var t,i=e._captionatorOptions instanceof Object?e._captionatorOptions:{};if(!(e instanceof HTMLVideoElement))throw new Error("Cannot style a cue canvas for a non-video node!");if(e._containerObject&&(o=(t=e._containerObject).id),e._descriptionContainerObject&&(n=(a=e._descriptionContainerObject).id),a?a.parentNode||document.body.appendChild(a):((a=document.createElement("div")).className="captionator-cue-descriptive-container",n=B.generateID(),a.id=n,(e._descriptionContainerObject=a).setAttribute("aria-live","polite"),a.setAttribute("aria-atomic","true"),a.setAttribute("role","region"),document.body.appendChild(a),B.applyStyles(a,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",opacity:"0",textIndent:"-999em"})),t)t.parentNode||document.body.appendChild(t);else{if((t=document.createElement("div")).className="captionator-cue-canvas",o=B.generateID(),t.id=o,i.appendCueCanvasTo){var n=null;if(i.appendCueCanvasTo instanceof HTMLElement)n=i.appendCueCanvasTo;else if("string"==typeof i.appendCueCanvasTo)try{var r=document.querySelectorAll(i.appendCueCanvasTo);if(!(0<r.length))throw null;n=r[0]}catch(e){n=document.body,i.appendCueCanvasTo=!1}else n=document.body,i.appendCueCanvasTo=!1;n.appendChild(t)}else document.body.appendChild(t);e._containerObject=t}var a=B.getNodeMetrics(e),o=a.height*(R/100)/96*72;o=P<=o?o:P,r=Math.floor(o*F),r=z<r?r:z,B.applyStyles(t,{position:"absolute",overflow:"hidden",zIndex:100,height:a.height-a.controlHeight+"px",width:a.width+"px",top:(i.appendCueCanvasTo?0:a.top)+"px",left:(i.appendCueCanvasTo?0:a.left)+"px",color:"white",fontFamily:"Verdana, Helvetica, Arial, sans-serif",fontSize:o+"pt",lineHeight:r+"pt",boxSizing:"border-box"})},B.createDOMException=function(t,i,n){try{document.querySelectorAll("div/[]")}catch(e){var r=function(e,t,i){this.code=e,this.message=t,this.name=i};return r.prototype=e,new r(t,i,n)}},B.compareArray=function(e,t){if(!(e instanceof Array&&t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var i in e)if(e.hasOwnProperty(i)&&e[i]!==t[i])return!1;return!0},B.generateID=function(e){var t="";for(e=e||10;t.length<e;)t+=String.fromCharCode(65+Math.floor(26*Math.random()));return"captionator"+t}}(),function(e){var t,r,i,n,a=navigator.userAgent;function o(){clearTimeout(t),t=setTimeout(i,99)}function s(){o(),n&&n.addListener&&n.addListener(o)}e.HTMLPictureElement&&/ecko/.test(a)&&a.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(r=document.createElement("source"),i=function(){for(var e=document.querySelectorAll("picture > img, img[srcset][sizes]"),t=0;t<e.length;t++)!function(e){var t,i,n=e.parentNode;"PICTURE"===n.nodeName.toUpperCase()?(t=r.cloneNode(),n.insertBefore(t,n.firstElementChild),setTimeout(function(){n.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,i=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=i}))}(e[t])},n=e.matchMedia&&matchMedia("(orientation: landscape)"),r.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?
1s():document.addEventListener("DOMContentLoaded",s),o))}(window),function(e,a,g){"use strict";function t(){}function i(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n||!1):e.attachEvent&&e.attachEvent("on"+t,i)}function n(t){var i={};return function(e){return e in i||(i[e]=t(e)),i[e]}}a.createElement("picture");var r,P,o,b={},s=!1,c=a.createElement("img"),m=c.getAttribute,z=c.setAttribute,R=c.removeAttribute,l=a.documentElement,u={},C={algorithm:""},T="data-pfsrc",F=T+"set",d=navigator.userAgent,j=/rident/.test(d)||/ecko/.test(d)&&d.match(/rv\:(\d+)/)&&35<RegExp.$1,x="currentSrc",B=/\s+\+?\d+(e\d+)?w/,G=/(\([^)]+\))?\s*(.+)/,p=e.picturefillCFG,W="font-size:100%!important;",h=!0,f={},v={},A=e.devicePixelRatio,y={px:1,in:96},q=a.createElement("a"),k=!1,$=/^[ \t\n\r\u000c]+/,V=/^[, \t\n\r\u000c]+/,U=/^[^ \t\n\r\u000c]+/,Q=/[,]+$/,Y=/^\d+$/,X=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function w(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function _(e,t){return e.w?(e.cWidth=b.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e}K=/^([\d\.]+)(em|vw|px)$/,J=n(function(e){return"return "+function(){for(var e=arguments,t=0,i=e[0];++t in e;)i=i.replace(e[t],e[++t]);return i}((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});var K,J,S,Z,ee,E,O,te,ie,L,M,D,H,ne=function(e,t){var i;if(!(e in f))if(f[e]=!1,t&&(i=e.match(K)))f[e]=i[1]*y[i[2]];else try{f[e]=new Function("e",J(e))(y)}catch(e){}return f[e]},N=function(e){if(s){var t,i,n,r=e||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),n=(t=r.elements||b.qsa(r.context||a,r.reevaluate||r.reselect?b.sel:b.selShort)).length){for(b.setupRun(r),k=!0,i=0;i<n;i++)b.fillImg(t[i],r);b.teardownRun(r)}}};function re(e,t){return e.res-t.res}function ae(e,t){var i,n,r;if(e&&t)for(r=b.parseSet(t),e=b.makeUrl(e),i=0;i<r.length;i++)if(e===b.makeUrl(r[i].url)){n=r[i];break}return n}function oe(t,u){function e(e){var e=e.exec(t.substring(o));if(e)return e=e[0],o+=e.length,e}var d,p,i,n,r,a=t.length,o=0,h=[];function s(){for(var e,t,i,n,r,a,o,s=!1,c={},l=0;l<p.length;l++)n=(r=p[l])[r.length-1],r=r.substring(0,r.length-1),a=parseInt(r,10),o=parseFloat(r),Y.test(r)&&"w"===n?((e||t)&&(s=!0),0===a?s=!0:e=a):X.test(r)&&"x"===n?((e||t||i)&&(s=!0),o<0?s=!0:t=o):!Y.test(r)||"h"!==n||((i||t)&&(s=!0),0===a)?s=!0:i=a;s||(c.url=d,e&&(c.w=e),t&&(c.d=t),i&&(c.h=i),i||t||e||(c.d=1),1===c.d&&(u.has1x=!0),c.set=u,h.push(c))}for(;;){if(e(V),a<=o)return h;d=e(U),p=[],(","===d.slice(-1)?(d=d.replace(Q,""),s):function(){for(e($),i="",n="in descriptor";;){if(r=t.charAt(o),"in descriptor"===n)if(w(r))i&&(p.push(i),i="",n="after descriptor");else{if(","===r)return o+=1,i&&p.push(i),s();if("("===r)i+=r,n="in parens";else{if(""===r)return i&&p.push(i),s();i+=r}}else if("in parens"===n)if(")"===r)i+=r,n="in descriptor";else{if(""===r)return p.push(i),s();i+=r}else if("after descriptor"===n&&!w(r)){if(""===r)return s();n="in descriptor",--o}o+=1}})()}}function se(e){var t,i,n,r,a,o,s=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(n=(i=function(e){var t,i="",n=[],r=[],a=0,o=0,s=!1;function c(){i&&(n.push(i),i="")}function l(){n[0]&&(r.push(n),n=[])}for(;;){if(""===(t=e.charAt(o)))return c(),l(),r;if(s)"*"===t&&"/"===e[o+1]?(s=!1,o+=2,c()):o+=1;else{if(w(t)){if(e.charAt(o-1)&&w(e.charAt(o-1))||!i){o+=1;continue}if(0===a){c(),o+=1;continue}t=" "}else if("("===t)a+=1;else if(")"===t)--a;else{if(","===t){c(),l(),o+=1;continue}if("/"===t&&"*"===e.charAt(o+1)){s=!0,o+=2;continue}}i+=t,o+=1}}}(e)).length,t=0;t<n;t++)if(a=(r=i[t])[r.length-1],o=a,s.test(o)&&0<=parseFloat(o)||c.test(o)||"0"===o||"-0"===o||"+0"===o){if(o=a,r.pop(),0===r.length)return o;if(r=r.join(" "),b.matchesMedia(r))return o}return"100vw"}function ce(){2===S.width&&(b.supSizes=!0),P=b.supSrcset&&!b.supSizes,s=!0,setTimeout(N)}function I(){var e=a.readyState||"";L=setTimeout(I,"loading"===e?200:999),a.body&&(b.fillImgs(),Z=Z||ie.test(e))&&clearTimeout(L)}function le(){var e=new Date-te;e<E?O=setTimeout(le,E-e):(O=null,ee())}e.console&&console.warn,x in c||(x="src"),u["image/jpeg"]=!0,u["image/gif"]=!0,u["image/png"]=!0,u["image/svg+xml"]=a.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),b.ns=("pf"+(new Date).getTime()).substr(0,9),b.supSrcset="srcset"in c,b.supSizes="sizes"in c,b.supPicture=!!e.HTMLPictureElement,b.supSrcset&&b.supPicture&&!b.supSizes&&(d=a.createElement("img"),c.srcset="data:,a",d.src="data:,a",b.supSrcset=c.complete===d.complete,b.supPicture=b.supSrcset&&b.supPicture),b.supSrcset&&!b.supSizes?(c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",(S=a.createElement("img")).onload=ce,S.onerror=ce,S.setAttribute("sizes","9px"),S.srcset=c+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",S.src=c):s=!0,b.selShort="picture>img,img[srcset]",b.sel=b.selShort,b.cfg=C,b.DPR=A||1,b.u=y,b.types=u,b.setSize=t,b.makeUrl=n(function(e){return q.href=e,q.href}),b.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},b.matchesMedia=function(){return e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?b.matchesMedia=function(e){return!e||matchMedia(e).matches}:b.matchesMedia=b.mMQ,b.matchesMedia.apply(this,arguments)},b.mMQ=function(e){return!e||ne(e)},b.calcLength=function(e){e=ne(e,!0)||!1;return e=e<0?!1:e},b.supportsType=function(e){return!e||u[e]},b.parseSize=n(function(e){e=(e||"").match(G);return{media:e&&e[1],length:e&&e[2]}}),b.parseSet=function(e){return e.cands||(e.cands=oe(e.srcset,e)),e.cands},b.getEmValue=function(){var e,t,i,n;
1return!r&&(e=a.body)&&(t=a.createElement("div"),i=l.style.cssText,n=e.style.cssText,t.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",l.style.cssText=W,e.style.cssText=W,e.appendChild(t),r=t.offsetWidth,e.removeChild(t),r=parseFloat(r,10),l.style.cssText=i,e.style.cssText=n),r||16},b.calcListLength=function(e){var t;return e in v&&!C.uT||(t=b.calcLength(se(e)),v[e]=t||y.width),v[e]},b.setRes=function(e){if(e)for(var t,i=0,n=(t=b.parseSet(e)).length;i<n;i++)_(t[i],e.sizes);return t},b.setRes.res=_,b.applySetCandidate=function(e,t){if(e.length){var i,n,r,a,o,s,c,l,u,d,p,h,f,g,m=t[b.ns],T=b.DPR,v=m.curSrc||t[x],A=m.curCan||(c=t,A=v,l=e[0].set,(l=ae(A,l=!l&&A?(l=c[b.ns].sets)&&l[l.length-1]:l))&&(A=b.makeUrl(A),c[b.ns].curSrc=A,(c[b.ns].curCan=l).res||_(l,l.set.sizes)),l);if(!A||A.set!==e[0].set||(s=j&&!t.complete&&A.res-.1>T)||(A.cached=!0,A.res>=T&&(o=A)),!o)for(e.sort(re),o=e[(a=e.length)-1],n=0;n<a;n++)if((i=e[n]).res>=T){o=e[r=n-1]&&(s||v!==b.makeUrl(i.url))&&(u=e[r].res,d=i.res,p=T,h=e[r].cached,g=f=void 0,h="saveData"===C.algorithm?2.7<u?p+1:(g=(d-p)*(f=Math.pow(u-.6,1.5)),h&&(g+=.1*f),u+g):1<p?Math.sqrt(u*d):u,p<h)?e[r]:i;break}o&&(c=b.makeUrl(o.url),m.curSrc=c,m.curCan=o,c!==v&&b.setSrc(t,o),b.setSize(t))}},b.setSrc=function(e,t){e.src=t.url,"image/svg+xml"===t.set.type&&(t=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1)&&(e.style.width=t)},b.getSet=function(e){for(var t,i,n=!1,r=e[b.ns].sets,a=0;a<r.length&&!n;a++)if((t=r[a]).srcset&&b.matchesMedia(t.media)&&(i=b.supportsType(t.type))){n=t="pending"===i?i:t;break}return n},b.parseSets=function(e,t,i){var n,r,a,o,s=t&&"PICTURE"===t.nodeName.toUpperCase(),c=e[b.ns];if(c.src!==g&&!i.src||(c.src=m.call(e,"src"),c.src?z.call(e,T,c.src):R.call(e,T)),c.srcset!==g&&!i.srcset&&b.supSrcset&&!e.srcset||(n=m.call(e,"srcset"),c.srcset=n,o=!0),c.sets=[],s){c.pic=!0;for(var l,u,i=t,d=c.sets,p=i.getElementsByTagName("source"),h=0,f=p.length;h<f;h++)(l=p[h])[b.ns]=!0,(u=l.getAttribute("srcset"))&&d.push({srcset:u,media:l.getAttribute("media"),type:l.getAttribute("type"),sizes:l.getAttribute("sizes")})}c.srcset?(r={srcset:c.srcset,sizes:m.call(e,"sizes")},c.sets.push(r),(a=(P||c.src)&&B.test(c.srcset||""))||!c.src||ae(c.src,r)||r.has1x||(r.srcset+=", "+c.src,r.cands.push({url:c.src,d:1,set:r}))):c.src&&c.sets.push({srcset:c.src,sizes:null}),c.curCan=null,c.curSrc=g,c.supported=!(s||r&&!b.supSrcset||a&&!b.supSizes),o&&b.supSrcset&&!c.supported&&(n?(z.call(e,F,n),e.srcset=""):R.call(e,F)),c.supported&&!c.srcset&&(!c.src&&e.src||e.src!==b.makeUrl(c.src))&&(null===c.src?e.removeAttribute("src"):e.src=c.src),c.parsed=!0},b.fillImg=function(e,t){var i,n=t.reselect||t.reevaluate;e[b.ns]||(e[b.ns]={}),i=e[b.ns],!n&&i.evaled===o||(i.parsed&&!t.reevaluate||b.parseSets(e,e.parentNode,t),i.supported?i.evaled=o:(n=e,t=b.getSet(n),i=!1,"pending"!==t&&(i=o,t)&&(t=b.setRes(t),b.applySetCandidate(t,n)),n[b.ns].evaled=i))},b.setupRun=function(){k&&!h&&A===e.devicePixelRatio||(h=!1,A=e.devicePixelRatio,f={},v={},b.DPR=A||1,y.width=Math.max(e.innerWidth||0,l.clientWidth),y.height=Math.max(e.innerHeight||0,l.clientHeight),y.vw=y.width/100,y.vh=y.height/100,o=[y.height,y.width,A].join("-"),y.em=b.getEmValue(),y.rem=y.em)},b.supPicture?(N=t,b.fillImg=t):(ie=e.attachEvent?/d$|^c/:/d$|^c|^i/,L=setTimeout(I,a.body?9:99),M=l.clientHeight,i(e,"resize",(ee=function(){h=Math.max(e.innerWidth||0,l.clientWidth)!==y.width||l.clientHeight!==M,M=l.clientHeight,h&&b.fillImgs()},E=99,function(){te=new Date,O=O||setTimeout(le,E)})),i(a,"readystatechange",I)),b.picturefill=N,b.fillImgs=N,b.teardownRun=t,N._=b,e.picturefillCFG={pf:b,push:function(e){var t=e.shift();"function"==typeof b[t]?b[t].apply(b,e):(C[t]=e[0],k&&b.fillImgs({reselect:!0}))}};for(;p&&p.length;)e.picturefillCFG.push(p.shift());e.picturefill=N,"object"==typeof module&&"object"==typeof module.exports?module.exports=N:"function"==typeof define&&define.amd&&define("picturefill",function(){return N}),b.supPicture||(u["image/webp"]=(D="image/webp",d="data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==",(H=new e.Image).onerror=function(){u[D]=!1,N()},H.onload=function(){u[D]=1===H.width,N()},H.src=d,"pending"))}(window,document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.