function setEqualHeight(){$(".equalHeight0").matchHeight();$(".equalHeight1").matchHeight();$(".equalHeight2").matchHeight();$(".equalHeight3").matchHeight();$(".equalHeight4").matchHeight();$(".equalHeight5").matchHeight();$(".equalContent").matchHeight();$(".equalBlocks").matchHeight();$(".iconList li").matchHeight();$(".equalRow").matchHeight()}function homepageSlider(){$(".homepageSlider").length>0&&$(".homepageSlider").slick({autoplay:!0,autoplaySpeed:7e3,infinite:!0,speed:800,slide:"li",dots:!1,swipe:!1,touchMove:!1,arrows:!1})}function initMedia(){if($(".media").length>0){if($(".media.showform").length>0)return;var n=$(".media");n.lightGallery({appendSubHtmlTo:".lg-item",selector:"a",controls:!1,fullScreen:!1,zoom:!1,counter:!1,hash:!1,share:!1,closable:!0,keyPress:!1,videojs:!0,youtubePlayerParams:{modestbranding:1,showinfo:0,rel:0,controls:1},vimeoPlayerParams:{byline:0,portrait:0,color:"A90707"}})}}function setLogoSlider(){$(".logoSlider li").length>1&&$(".logoSlider ul").slick({slide:"li",infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:5e3,pauseOnHover:!0,arrows:!1})}function carousselSlider(){$(".imageSlider").length>0&&$(".imageSlider").slick({centerMode:!0,centerPadding:"100px",slidesToShow:5,autoplay:!1,pauseOnHover:!0,autoplaySpeed:5e3,speed:500,slidesToScroll:1,prevArrow:'<a class="prev" href="javascript:void(0)"><span class="symbol left-arrow-light"><\/span><\/a>',nextArrow:'<a class="next" href="javascript:void(0)"><span class="symbol right-arrow-light"><\/span><\/a>',responsive:[{breakpoint:1023,settings:{slidesToShow:3}},{breakpoint:767,settings:{centerMode:!0,centerPadding:"50px",slidesToShow:1}}]})}function initPopupImages(){}function initImageGalleries(){}function animatetweets(){function i(){$("#tw"+n).css({display:"block"});$("#tw"+n).css("margin-top",-f);$("#tw"+n).animate({opacity:1,"margin-top":0},r,function(){$("#tw"+n).delay(u).animate({opacity:0,"margin-top":e},r,function(){$("#tw"+n).css({display:"none","margin-top":0});n<o-2+t?n++:n=0+t;setTimeout(i,0)})})}var u=8e3,r=500,f=10,e=-10,o=$(".twitter-article").length,t=0,n=t;i()}function animatetweetsRight(){function i(){$("#tweet"+n).css({display:"block"});$("#tweet"+n).css("margin-top",-f);$("#tweet"+n).animate({opacity:1,"margin-top":0},r,function(){$("#tweet"+n).delay(u).animate({opacity:0,"margin-top":e},r,function(){$("#tweet"+n).css({display:"none","margin-top":0});n<o-2+t?n++:n=0+t;setTimeout(i,0)})})}var u=8e3,r=500,f=30,e=-30,o=$(".twitter-article-right").length,t=0,n=t;i()}function setMenu(){function n(n){$(".megaMenu").unbind("transitionend webkitTransitionEnd oTransitionEnd");var t=$(".megaMenu.active").length>0;if(t&&typeof n=="function")$(".megaMenu").on("transitionend webkitTransitionEnd oTransitionEnd",function(){n()});$(".mainNav .listItem_Level0_Children").removeClass("active");$(".megaSubMenu li").removeClass("active");$(".megaMenu").removeClass("active");t||typeof n=="function"&&n()}function i(i){var r=i.parent();n(function(){var i,u;n();$(".megaMenu .subSubMenu").removeClass("active");$(".megaMenu .subSubMenuBlock").addClass("active");r.addClass("active");i=r.find(".megaMenu");i.addClass("active");i.find(".subSubMenu li").hasClass("selectedItem")&&(u=i.find(".megaSubMenu li.selectedRoot"),t(u))})}function t(n){var t=n,i=$(".mainNav .listItem_Level0_Children.active"),r=t.index(),u=i.find(".subSubMenu.active").index(),f=$(".megaMenu .subSubMenuBlock").hasClass("active");t.siblings().removeClass("active");$(".megaMenu .subSubMenu").removeClass("active");t.toggleClass("active");i.find(".subSubMenu.index"+r).toggleClass("active",u!=r||f);i.find(".subSubMenuBlock").toggleClass("active",u==r&&!f)}$(".mainNav .mainMenu .listItem_Level0_Children .link").click(function(){var n=$(this);i(n)});$(".megaMenu .megaSubMenu .listItem_Level0_Children").hover(function(){t($(this))},function(){});$(".megaMenu .megaSubMenu .listItem_Level0").hover(function(){var n=$(".mainNav .listItem_Level0_Children.active");$(".megaMenu li").removeClass("active");$(".megaMenu .subSubMenu").removeClass("active");n.find(".subSubMenuBlock").addClass("active")},function(){});$(".megaMenu .close").click(function(){n()})}(function(n){var t,i;if(!n.browser&&1.9<=parseFloat(n.fn.jquery)){if(t={browser:void 0,version:void 0,mobile:!1},navigator&&navigator.userAgent&&(t.ua=navigator.userAgent,t.webkit=/WebKit/i.test(t.ua),t.browserArray="MSIE Chrome Opera Kindle Silk BlackBerry PlayBook Android Safari Mozilla Nokia".split(" "),/Sony[^ ]*/i.test(t.ua)?t.mobile="Sony":/RIM Tablet/i.test(t.ua)?t.mobile="RIM Tablet":/BlackBerry/i.test(t.ua)?t.mobile="BlackBerry":/iPhone/i.test(t.ua)?t.mobile="iPhone":/iPad/i.test(t.ua)?t.mobile="iPad":/iPod/i.test(t.ua)?t.mobile="iPod":/Opera Mini/i.test(t.ua)?t.mobile="Opera Mini":/IEMobile/i.test(t.ua)?t.mobile="IEMobile":/BB[0-9]{1,}; Touch/i.test(t.ua)?t.mobile="BlackBerry":/Nokia/i.test(t.ua)?t.mobile="Nokia":/Android/i.test(t.ua)&&(t.mobile="Android"),/MSIE|Trident/i.test(t.ua)?(t.browser="MSIE",t.version=/MSIE/i.test(navigator.userAgent)&&0<parseFloat(t.ua.split("MSIE")[1].replace(/[^0-9\.]/g,""))?parseFloat(t.ua.split("MSIE")[1].replace(/[^0-9\.]/g,"")):"Edge",/Trident/i.test(t.ua)&&/rv:([0-9]{1,}[\.0-9]{0,})/.test(t.ua)&&(t.version=parseFloat(t.ua.match(/rv:([0-9]{1,}[\.0-9]{0,})/)[1].replace(/[^0-9\.]/g,"")))):/Chrome/.test(t.ua)?(t.browser="Chrome",t.version=parseFloat(t.ua.split("Chrome/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/Opera/.test(t.ua)?(t.browser="Opera",t.version=parseFloat(t.ua.split("Version/")[1].replace(/[^0-9\.]/g,""))):/Kindle|Silk|KFTT|KFOT|KFJWA|KFJWI|KFSOWI|KFTHWA|KFTHWI|KFAPWA|KFAPWI/i.test(t.ua)?(t.mobile="Kindle",/Silk/i.test(t.ua)?(t.browser="Silk",t.version=parseFloat(t.ua.split("Silk/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/Kindle/i.test(t.ua)&&/Version/i.test(t.ua)&&(t.browser="Kindle",t.version=parseFloat(t.ua.split("Version/")[1].split("Safari")[0].replace(/[^0-9\.]/g,"")))):/BlackBerry/.test(t.ua)?(t.browser="BlackBerry",t.version=parseFloat(t.ua.split("/")[1].replace(/[^0-9\.]/g,""))):/PlayBook/.test(t.ua)?(t.browser="PlayBook",t.version=parseFloat(t.ua.split("Version/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/BB[0-9]{1,}; Touch/.test(t.ua)?(t.browser="Blackberry",t.version=parseFloat(t.ua.split("Version/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/Android/.test(t.ua)?(t.browser="Android",t.version=parseFloat(t.ua.split("Version/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/Safari/.test(t.ua)?(t.browser="Safari",t.version=parseFloat(t.ua.split("Version/")[1].split("Safari")[0].replace(/[^0-9\.]/g,""))):/Firefox/.test(t.ua)?(t.browser="Mozilla",t.version=parseFloat(t.ua.split("Firefox/")[1].replace(/[^0-9\.]/g,""))):/Nokia/.test(t.ua)&&(t.browser="Nokia",t.version=parseFloat(t.ua.split("Browser")[1].replace(/[^0-9\.]/g,"")))),t.browser)for(i in t.browserArray)t[t.browserArray[i].toLowerCase()]=t.browser==t.browserArray[i];n.extend(!0,n.browser={},t)}})(jQuery),function(){"use strict";window.ShowModalLoadingPanel=function(){ModalLoadingPanel.Show()};window.HideModalLoadingPanel=function(){ModalLoadingPanel.Hide()};window.showConditions=function(){HelpPopupControl.ShowWindow(HelpPopupControl.GetWindowByName("windowConditions"))};window.FooterPageSize_SelectedIndexChanged=function(n){pnlSearchResults.PerformCallback("PgSize;"+n.GetValue()+";0")};window.pnlSearchResults_Init=function(n){window.CmsFilterCtrl=n};window.pnlSearchResults_CallbackError=function(n,t){var i=t.message.toLowerCase();i.indexOf("invalid")>-1&&i.indexOf("corrupted")>-1&&(alert("Er is iets fout gegaan tijdens het uitvoeren van gevraagde actie.\nDe pagina zal ververst worden waarna de actie nogmaals uitgevoerd kan worden."),window.location.reload())};window.pnlSearchResults_EndCallback=function(n,t){HideModalLoadingPanel();typeof CBRes!==undefined&&(window.CBRes(n,t),window.CBRes=null)}}(jQuery);window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var n=document.createElement("style"),i=document.getElementsByTagName("script")[0],r=null;n.type="text/css";n.id="matchmediajs-test";i.parentNode.insertBefore(n,i);r="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle;t={matchMedium:function(t){var i="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=i:n.textContent=i,r.width==="1px"}}}return function(n){return{matches:t.matchMedium(n||"all"),media:n||"all"}}}()),function(n,t,i){"use strict";function u(n){var o,t,u,i,f,s=n||{},e,h;for(o=s.elements||r.getAllElements(),e=0,h=o.length;e<h;e++)if((t=o[e],u=t.parentNode,i=undefined,f=undefined,t.nodeName.toUpperCase()==="IMG")&&(t[r.ns]||(t[r.ns]={}),s.reevaluate||!t[r.ns].evaluated)){if(u.nodeName.toUpperCase()==="PICTURE"){if(r.removeVideoShim(u),i=r.getMatch(t,u),i===!1)continue}else i=undefined;(u.nodeName.toUpperCase()==="PICTURE"||t.srcset&&!r.srcsetSupported||!r.sizesSupported&&t.srcset&&t.srcset.indexOf("w")>-1)&&r.dodgeSrcset(t);i?(f=r.processSourceSet(i),r.applyBestCandidate(f,t)):(f=r.processSourceSet(t),(t.srcset===undefined||t[r.ns].srcset)&&r.applyBestCandidate(f,t));t[r.ns].evaluated=!0}}function f(){function i(){var t;n._picturefillWorking||(n._picturefillWorking=!0,n.clearTimeout(t),t=n.setTimeout(function(){u({reevaluate:!0});n._picturefillWorking=!1},60))}u();var r=setInterval(function(){if(u(),/^loaded|^i|^c/.test(t.readyState)){clearInterval(r);return}},250);n.addEventListener?n.addEventListener("resize",i,!1):n.attachEvent&&n.attachEvent("onresize",i)}if(n.HTMLPictureElement){n.picturefill=function(){};return}t.createElement("picture");var r={};r.ns="picturefill",function(){r.srcsetSupported="srcset"in i;r.sizesSupported="sizes"in i}();r.trim=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")};r.endsWith=function(n,t){return n.endsWith?n.endsWith(t):n.indexOf(t,n.length-t.length)!==-1};r.restrictsMixedContent=function(){return n.location.protocol==="https:"};r.matchesMedia=function(t){return n.matchMedia&&n.matchMedia(t).matches};r.getDpr=function(){return n.devicePixelRatio||1};r.getWidthFromLength=function(n){n=n&&n.indexOf("%")>-1==!1&&(parseFloat(n)>0||n.indexOf("calc(")>-1)?n:"100vw";n=n.replace("vw","%");r.lengthEl||(r.lengthEl=t.createElement("div"),r.lengthEl.style.cssText="border:0;display:block;font-size:1em;left:0;margin:0;padding:0;position:absolute;visibility:hidden");r.lengthEl.style.width=n;t.body.appendChild(r.lengthEl);r.lengthEl.className="helper-from-picturefill-js";r.lengthEl.offsetWidth<=0&&(r.lengthEl.style.width=t.documentElement.offsetWidth+"px");var i=r.lengthEl.offsetWidth;return t.body.removeChild(r.lengthEl),i};r.types={};r.types["image/jpeg"]=!0;r.types["image/gif"]=!0;r.types["image/png"]=!0;r.types["image/svg+xml"]=t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1");r.types["image/webp"]=function(){var n="image/webp";i.onerror=function(){r.types[n]=!1;u()};i.onload=function(){r.types[n]=i.width===1;u()};i.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="};r.verifyTypeSupport=function(n){var t=n.getAttribute("type");return t===null||t===""?!0:typeof r.types[t]=="function"?(r.types[t](),"pending"):r.types[t]};r.parseSize=function(n){var t=/(\([^)]+\))?\s*(.+)/g.exec(n);return{media:t&&t[1],length:t&&t[2]}};r.findWidthFromSourceSize=function(n){for(var i=r.trim(n).split(/\s*,\s*/),u,t=0,s=i.length;t<s;t++){var h=i[t],f=r.parseSize(h),e=f.length,o=f.media;if(e&&(!o||r.matchesMedia(o))){u=e;break}}return r.getWidthFromLength(u)};r.parseSrcset=function(n){for(var f=[],r,t,i,e,u;n!=="";)n=n.replace(/^\s+/g,""),r=n.search(/\s/g),i=null,r!==-1?(t=n.slice(0,r),e=t.slice(-1),(e===","||t==="")&&(t=t.replace(/,+$/,""),i=""),n=n.slice(r+1),i===null&&(u=n.indexOf(","),u!==-1?(i=n.slice(0,u),n=n.slice(u+1)):(i=n,n=""))):(t=n,n=""),(t||i)&&f.push({url:t,descriptor:i});return f};r.parseDescriptor=function(n,t){var c=t||"100vw",h=n&&n.replace(/(^\s+|\s+$)/g,""),l=r.findWidthFromSourceSize(c),o,s,u,i,f,e;if(h)for(s=h.split(" "),u=s.length-1;u>=0;u--)i=s[u],f=i&&i.slice(i.length-1),f!=="h"&&f!=="w"||r.sizesSupported?f==="x"&&(e=i&&parseFloat(i,10),o=e&&!isNaN(e)?e:1):o=parseFloat(parseInt(i,10)/l);return o||1};r.getCandidatesFromSourceSet=function(n,t){for(var i,f=r.parseSrcset(n),e=[],u=0,o=f.length;u<o;u++)i=f[u],e.push({url:i.url,resolution:r.parseDescriptor(i.descriptor,t)});return e};r.dodgeSrcset=function(n){n.srcset&&(n[r.ns].srcset=n.srcset,n.removeAttribute("srcset"))};r.processSourceSet=function(n){var t=n.getAttribute("srcset"),u=n.getAttribute("sizes"),i=[];return n.nodeName.toUpperCase()==="IMG"&&n[r.ns]&&n[r.ns].srcset&&(t=n[r.ns].srcset),t&&(i=r.getCandidatesFromSourceSet(t,u)),i};r.applyBestCandidate=function(n,t){var e,o,i,u;for(n.sort(r.ascendingSort),o=n.length,i=n[o-1],u=0;u<o;u++)if(e=n[u],e.resolution>=r.getDpr()){i=e;break}if(i&&!r.endsWith(t.src,i.url))if(r.restrictsMixedContent()&&i.url.substr(0,5).toLowerCase()==="http:")typeof console!==undefined&&console.warn("Blocked mixed content image "+i.url);else{t.src=i.url;t.currentSrc=t.src;var f=t.style||{},s="webkitBackfaceVisibility"in f,h=f.zoom;s&&(f.zoom=".999",s=t.offsetWidth,f.zoom=h)}};r.ascendingSort=function(n,t){return n.resolution-t.resolution};r.removeVideoShim=function(n){var r=n.getElementsByTagName("video"),t,i;if(r.length){for(t=r[0],i=t.getElementsByTagName("source");i.length;)n.insertBefore(i[0],t);t.parentNode.removeChild(t)}};r.getAllElements=function(){for(var n,u=[],f=t.getElementsByTagName("img"),i=0,e=f.length;i<e;i++)n=f[i],(n.parentNode.nodeName.toUpperCase()==="PICTURE"||n.getAttribute("srcset")!==null||n[r.ns]&&n[r.ns].srcset!==null)&&u.push(n);return u};r.getMatch=function(n,t){for(var i,u,f,s=t.childNodes,e,o=0,h=s.length;o<h;o++)if(i=s[o],i.nodeType===1){if(i===n)return e;if(i.nodeName.toUpperCase()==="SOURCE"&&(i.getAttribute("src")!==null&&typeof console!==undefined&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`."),u=i.getAttribute("media"),i.getAttribute("srcset"))&&(!u||r.matchesMedia(u)))if(f=r.verifyTypeSupport(i),f===!0){e=i;break}else if(f==="pending")return!1}return e};f();u._=r;typeof module=="object"&&typeof module.exports=="object"?module.exports=u:typeof define=="function"&&define.amd?define(function(){return u}):typeof n=="object"&&(n.picturefill=u)}(this,this.document,new this.Image);jQuery.cookie=function(n,t,i){var f,r,e,o,u,s;if(typeof t!="undefined"){i=i||{};t===null&&(t="",i.expires=-1);f="";i.expires&&(typeof i.expires=="number"||i.expires.toUTCString)&&(typeof i.expires=="number"?(r=new Date,r.setTime(r.getTime()+i.expires*864e5)):r=i.expires,f="; expires="+r.toUTCString());var h=i.path?"; path="+i.path:"",c=i.domain?"; domain="+i.domain:"",l=i.secure?"; secure":"";document.cookie=[n,"=",encodeURIComponent(t),f,h,c,l].join("")}else{if(e=null,document.cookie&&document.cookie!="")for(o=document.cookie.split(";"),u=0;u<o.length;u++)if(s=jQuery.trim(o[u]),s.substring(0,n.length+1)==n+"="){e=decodeURIComponent(s.substring(n.length+1));break}return e}},function(n){function f(t){this.$element=n(t);this.original_text=n.trim(this.$element.html());this.settings=n.extend({},n.fn.trunk8.defaults)}function u(n){var t=document.createElement("DIV");return(t.innerHTML=n,typeof t.textContent!="undefined")?t.textContent:t.innerText}function e(n){if(u(n)===n)return n.split(/\s/g);for(var i=[],f=/<([a-z]+)([^<]*)(?:>(.*?(?!<\1>))<\/\1>|\s+\/>)(['.?!,]*)|((?:[^<>\s])+['.?!,]*\w?|<br\s?\/?>)/ig,t=f.exec(n),o,r;t&&o!==f.lastIndex;)o=f.lastIndex,t[5]?i.push(t[5]):t[1]&&i.push({tag:t[1],attribs:t[2],content:t[3],after:t[4]}),t=f.exec(n);for(r=0;r<i.length;r++)typeof i[r]!="string"&&i[r].content&&(i[r].content=e(i[r].content));return i}function h(t,i,r){t=t.replace(r,"");var f=function(i,u){for(var s="",e,h,c,o=0;o<i.length;o++)e=i[o],c=n.trim(t).split(" ").length,n.trim(t).length&&(typeof e=="string"?(/<br\s*\/?>/i.test(e)||(c===1&&n.trim(t).length<=e.length?(e=t,(u==="p"||u==="div")&&(e+=r),t=""):t=t.replace(e,"")),s+=n.trim(e)+(o===i.length-1||c<=1?"":" ")):(h=f(e.content,e.tag),e.after&&(t=t.replace(e.after,"")),h&&(e.after||(e.after=" "),s+="<"+e.tag+e.attribs+">"+h+"<\/"+e.tag+">"+e.after)));return s},u=f(i);return u.slice(u.length-r.length)===r&&(u+=r),u}function o(){var b=this.data("trunk8"),r=b.settings,l=r.width,k=r.side,p=r.fill,d=r.parseHTML,g=t.getLineHeight(this)*r.lines,i=b.original_text,a=i.length,v="",c,y,o,f,nt,w;if(this.html(i),nt=this.text(),d&&u(i)!==i&&(w=e(i),i=u(i),a=i.length),l===s.auto){if(this.height()<=g)return;for(c=0,y=a-1;c<=y;)o=c+(y-c>>1),f=t.eatStr(i,k,a-o,p),d&&w&&(f=h(f,w,p)),this.html(f),this.height()>g?y=o-1:(c=o+1,v=v.length>f.length?v:f);this.html("");this.html(v);r.tooltip&&this.attr("title",nt)}else{if(isNaN(l)){n.error('Invalid width "'+l+'".');return}o=a-l;f=t.eatStr(i,k,o,p);this.html(f);r.tooltip&&this.attr("title",i)}r.onTruncate()}var r,t,i={center:"center",left:"left",right:"right"},s={auto:"auto"};f.prototype.updateSettings=function(t){this.settings=n.extend(this.settings,t)};r={init:function(t){return this.each(function(){var i=n(this),r=i.data("trunk8");r||i.data("trunk8",r=new f(this));r.updateSettings(t);o.call(i)})},update:function(t){return this.each(function(){var i=n(this);t&&(i.data("trunk8").original_text=t);o.call(i)})},revert:function(){return this.each(function(){var t=n(this).data("trunk8").original_text;n(this).html(t)})},getSettings:function(){return n(this.get(0)).data("trunk8").settings}};t={eatStr:function(r,u,f,e){var o=r.length,s=t.eatStr.generateKey.apply(null,arguments),h,c;if(t.eatStr.cache[s])return t.eatStr.cache[s];if((typeof r!="string"||o===0)&&n.error('Invalid source string "'+r+'".'),f<0||f>o)n.error('Invalid bite size "'+f+'".');else if(f===0)return r;typeof(e+"")!="string"&&n.error("Fill unable to be converted to a string.");switch(u){case i.right:return t.eatStr.cache[s]=n.trim(r.substr(0,o-f))+e;case i.left:return t.eatStr.cache[s]=e+n.trim(r.substr(f));case i.center:return h=o>>1,c=f>>1,t.eatStr.cache[s]=n.trim(t.eatStr(r.substr(0,o-h),i.right,f-c,""))+e+n.trim(t.eatStr(r.substr(o-h),i.left,c,""));default:n.error('Invalid side "'+u+'".')}},getLineHeight:function(t){var u=n(t).css("float"),i,f,r,e;return u!=="none"&&n(t).css("float","none"),i=n(t).css("position"),i==="absolute"&&n(t).css("position","static"),f=n(t).html(),r="line-height-test",n(t).html("i").wrap('<div id="'+r+'" />'),e=n("#"+r).innerHeight(),n(t).html(f).css({float:u,position:i}).unwrap(),e}};t.eatStr.cache={};t.eatStr.generateKey=function(){return Array.prototype.join.call(arguments,"")};n.fn.trunk8=function(t){if(r[t])return r[t].apply(this,Array.prototype.slice.call(arguments,1));if(typeof t!="object"&&t)n.error("Method "+t+" does not exist on jQuery.trunk8");else return r.init.apply(this,arguments)};n.fn.trunk8.defaults={fill:"&hellip;",lines:1,side:i.right,tooltip:!0,width:s.auto,parseHTML:!1,onTruncate:function(){}}}(jQuery),function(n){var f=-1,r=-1,o=function(t){var f=1,e=n(t),u=null,r=[];return e.each(function(){var t=n(this),e=t.offset().top-i(t.css("margin-top")),o=r.length>0?r[r.length-1]:null;o===null?r.push(t):Math.floor(Math.abs(u-e))<=f?r[r.length-1]=o.add(t):r.push(t);u=e}),r},i=function(n){return parseFloat(n)||0},e=function(t){var i={byRow:!0,remove:!1,property:"height"};return typeof t=="object"?n.extend(i,t):(typeof t=="boolean"?i.byRow=t:t==="remove"&&(i.remove=!0),i)},t=n.fn.matchHeight=function(i){var r=e(i),u;return r.remove?(u=this,this.css(r.property,""),n.each(t._groups,function(n,t){t.elements=t.elements.not(u)}),this):this.length<=1?this:(t._groups.push({elements:this,options:r}),t._apply(this,r),this)},u;t._groups=[];t._throttle=80;t._maintainScroll=!1;t._beforeUpdate=null;t._afterUpdate=null;t._apply=function(r,u){var f=e(u),s=n(r),c=[s],l=n(window).scrollTop(),a=n("html").outerHeight(!0),h=s.parents().filter(":hidden");return h.each(function(){var t=n(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),f.byRow&&(s.each(function(){var t=n(this),i=t.css("display")==="inline-block"?"inline-block":"block";t.data("style-cache",t.attr("style"));t.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),c=o(s),s.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||"")})),n.each(c,function(t,r){var u=n(r),e=0;if(f.byRow&&u.length<=1){u.css(f.property,"");return}u.each(function(){var t=n(this),r=t.css("display")==="inline-block"?"inline-block":"block",i={display:r};i[f.property]="";t.css(i);t.outerHeight(!1)>e&&(e=t.outerHeight(!1));t.css("display","")});u.each(function(){var t=n(this),r=0;t.css("box-sizing")!=="border-box"&&(r+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),r+=i(t.css("padding-top"))+i(t.css("padding-bottom")));t.css(f.property,e-r)})}),h.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||null)}),t._maintainScroll&&n(window).scrollTop(l/a*n("html").outerHeight(!0)),this};t._applyDataApi=function(){var t={};n("[data-match-height], [data-mh]").each(function(){var i=n(this),r=i.attr("data-match-height")||i.attr("data-mh");t[r]=r in t?t[r].add(i):i});n.each(t,function(){this.matchHeight(!0)})};u=function(i){t._beforeUpdate&&t._beforeUpdate(i,t._groups);n.each(t._groups,function(){t._apply(this.elements,this.options)});t._afterUpdate&&t._afterUpdate(i,t._groups)};t._update=function(i,e){if(e&&e.type==="resize"){var o=n(window).width();if(o===f)return;f=o}i?r===-1&&(r=setTimeout(function(){u(e);r=-1},t._throttle)):u(e)};n(t._applyDataApi);n(window).bind("load",function(n){t._update(!1,n)});n(window).bind("resize orientationchange",function(n){t._update(!0,n)})}(jQuery),function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports!="undefined"?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};t=function(){function t(t,r){var u=this,f;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(t),appendDots:n(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous<\/button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(n,t){return'<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">'+(t+1)+"<\/button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!1,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3};u.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};n.extend(u,u.initials);u.activeBreakpoint=null;u.animType=null;u.animProp=null;u.breakpoints=[];u.breakpointSettings=[];u.cssTransitions=!1;u.hidden="hidden";u.paused=!1;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(t);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(t).data("slick")||{};u.options=n.extend({},u.defaults,f,r);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;typeof document.mozHidden!="undefined"?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):typeof document.webkitHidden!="undefined"&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.changeSlide=n.proxy(u.changeSlide,u);u.clickHandler=n.proxy(u.clickHandler,u);u.selectHandler=n.proxy(u.selectHandler,u);u.setPosition=n.proxy(u.setPosition,u);u.swipeHandler=n.proxy(u.swipeHandler,u);u.dragHandler=n.proxy(u.dragHandler,u);u.keyHandler=n.proxy(u.keyHandler,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,u);u.instanceUid=i++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0);u.checkResponsive(!0)}var i=0;return t}();t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if(typeof i=="boolean")r=i,i=null;else if(i<0||i>=u.slideCount)return!1;u.unload();typeof i=="number"?i===0&&u.$slides.length===0?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):r===!0?n(t).prependTo(u.$slideTrack):n(t).appendTo(u.$slideTrack);u.$slides=u.$slideTrack.children(this.options.slide);u.$slideTrack.children(this.options.slide).detach();u.$slideTrack.append(u.$slides);u.$slides.each(function(t,i){n(i).attr("data-slick-index",t)});u.$slidesCache=u.$slides;u.reinit()};t.prototype.animateHeight=function(){var n=this,t;n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.animate({height:t},n.options.speed))};t.prototype.animateSlide=function(t,i){var u={},r=this;r.animateHeight();r.options.rtl===!0&&r.options.vertical===!1&&(t=-t);r.transformsEnabled===!1?r.options.vertical===!1?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):r.cssTransitions===!1?(r.options.rtl===!0&&(r.currentLeft=-r.currentLeft),n({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(n){n=Math.ceil(n);r.options.vertical===!1?(u[r.animType]="translate("+n+"px, 0px)",r.$slideTrack.css(u)):(u[r.animType]="translate(0px,"+n+"px)",r.$slideTrack.css(u))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),u[r.animType]=r.options.vertical===!1?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(u),i&&setTimeout(function(){r.disableTransition();i.call()},r.options.speed))};t.prototype.asNavFor=function(t){var r=this,i=r.options.asNavFor;i&&i!==null&&(i=n(i).not(r.$slider));i!==null&&typeof i=="object"&&i.each(function(){var i=n(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})};t.prototype.applyTransition=function(n){var t=this,i={};i[t.transitionType]=t.options.fade===!1?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer);n.slideCount>n.options.slidesToShow&&n.paused!==!0&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))};t.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)};t.prototype.autoPlayIterator=function(){var n=this;n.options.infinite===!1?n.direction===1?(n.currentSlide+1===n.slideCount-1&&(n.direction=0),n.slideHandler(n.currentSlide+n.options.slidesToScroll)):(n.currentSlide-1==0&&(n.direction=1),n.slideHandler(n.currentSlide-n.options.slidesToScroll)):n.slideHandler(n.currentSlide+n.options.slidesToScroll)};t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&(t.$prevArrow=n(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=n(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))};t.prototype.buildDots=function(){var t=this,i,r;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow){for(r='<ul class="'+t.options.dotsClass+'">',i=0;i<=t.getDotCount();i+=1)r+="<li>"+t.options.customPaging.call(this,t,i)+"<\/li>";r+="<\/ul>";t.$dots=n(r).appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,i){n(i).attr("data-slick-index",t).data("originalStyling",n(i).attr("style")||"")});t.$slider.addClass("slick-slider");t.$slideTrack=t.slideCount===0?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);(t.options.centerMode===!0||t.options.swipeToSlide===!0)&&(t.options.slidesToScroll=1);n("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();t.setSlideClasses(typeof t.currentSlide=="number"?t.currentSlide:0);t.options.draggable===!0&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var n=this,t,i,r,f,c,u,e,o,s,h;if(f=document.createDocumentFragment(),u=n.$slider.children(),n.options.rows>1){for(e=n.options.slidesPerRow*n.options.rows,c=Math.ceil(u.length/e),t=0;t<c;t++){for(o=document.createElement("div"),i=0;i<n.options.rows;i++){for(s=document.createElement("div"),r=0;r<n.options.slidesPerRow;r++)h=t*e+(i*n.options.slidesPerRow+r),u.get(h)&&s.appendChild(u.get(h));o.appendChild(s)}f.appendChild(o)}n.$slider.html(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var r=this,f,u,e,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if(r.respondTo==="window"?e=h:r.respondTo==="slider"?e=s:r.respondTo==="min"&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&r.options.responsive!==null){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(r.originalSettings.mobileFirst===!1?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));u!==null?r.activeBreakpoint!==null?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,r.breakpointSettings[u]==="unslick"?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,r.breakpointSettings[u]==="unslick"?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):r.activeBreakpoint!==null&&(r.activeBreakpoint=null,r.options=r.originalSettings,t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||o===!1||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var r=this,u=n(t.target),f,e,o,s;u.is("a")&&t.preventDefault();u.is("li")||(u=u.closest("li"));o=r.slideCount%r.options.slidesToScroll!=0;f=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll;switch(t.data.message){case"previous":e=f===0?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=f===0?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=t.data.index===0?0:t.data.index||u.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i);u.children().trigger("focus");break;default:return}};t.prototype.checkNavigable=function(n){var u=this,t,i,r;if(t=u.getNavigableIndexes(),i=0,n>t[t.length-1])n=t[t.length-1];else for(r in t){if(n<t[r]){n=i;break}i=t[r]}return n};t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&t.$dots!==null&&(n("li",t.$dots).off("click.slick",t.changeSlide),t.options.pauseOnDotsHover===!0&&t.options.autoplay===!0&&n("li",t.$dots).off("mouseenter.slick",n.proxy(t.setPaused,t,!0)).off("mouseleave.slick",n.proxy(t.setPaused,t,!1)));t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide));t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler);t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler);t.$list.off("touchend.slick mouseup.slick",t.swipeHandler);t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler);t.$list.off("click.slick",t.clickHandler);n(document).off(t.visibilityChange,t.visibility);t.$list.off("mouseenter.slick",n.proxy(t.setPaused,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.setPaused,t,!1));t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler);t.options.focusOnSelect===!0&&n(t.$slideTrack).children().off("click.slick",t.selectHandler);n(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange);n(window).off("resize.slick.slick-"+t.instanceUid,t.resize);n("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault);n(window).off("load.slick.slick-"+t.instanceUid,t.setPosition);n(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.cleanUpRows=function(){var n=this,t;n.options.rows>1&&(t=n.$slides.children().children(),t.removeAttr("style"),n.$slider.html(t))};t.prototype.clickHandler=function(n){var t=this;t.shouldClick===!1&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())};t.prototype.destroy=function(t){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();n(".slick-cloned",i.$slider).detach();i.$dots&&i.$dots.remove();i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove());i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove());i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){n(this).attr("style",n(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides));i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;i.cssTransitions===!1?(i.$slides.eq(n).css({zIndex:i.options.zIndex}),i.$slides.eq(n).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(n),i.$slides.eq(n).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(n);t.call()},i.options.speed))};t.prototype.fadeSlideOut=function(n){var t=this;t.cssTransitions===!1?t.$slides.eq(n).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(n),t.$slides.eq(n).css({opacity:0,zIndex:t.options.zIndex-2}))};t.prototype.filterSlides=t.prototype.slickFilter=function(n){var t=this;n!==null&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var n=this;return n.currentSlide};t.prototype.getDotCount=function(){var n=this,t=0,i=0,r=0;if(n.options.infinite===!0)while(t<n.slideCount)++r,t=i+n.options.slidesToShow,i+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(n.options.centerMode===!0)r=n.slideCount;else while(t<n.slideCount)++r,t=i+n.options.slidesToShow,i+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return r-1};t.prototype.getLeft=function(n){var t=this,f,r,u=0,i;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),t.options.infinite===!0?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,u=r*t.options.slidesToShow*-1),t.slideCount%t.options.slidesToScroll!=0&&n+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow&&(n>t.slideCount?(t.slideOffset=(t.options.slidesToShow-(n-t.slideCount))*t.slideWidth*-1,u=(t.options.slidesToShow-(n-t.slideCount))*r*-1):(t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1,u=t.slideCount%t.options.slidesToScroll*r*-1))):n+t.options.slidesToShow>t.slideCount&&(t.slideOffset=(n+t.options.slidesToShow-t.slideCount)*t.slideWidth,u=(n+t.options.slidesToShow-t.slideCount)*r),t.slideCount<=t.options.slidesToShow&&(t.slideOffset=0,u=0),t.options.centerMode===!0&&t.options.infinite===!0?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:t.options.centerMode===!0&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=t.options.vertical===!1?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,t.options.variableWidth===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=i[0]?i[0].offsetLeft*-1:0,t.options.centerMode===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=(i[0]?i[0].offsetLeft*-1:0)+(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){var t=this;return t.options[n]};t.prototype.getNavigableIndexes=function(){var n=this,t=0,i=0,u=[],r;for(n.options.infinite===!1?r=n.slideCount:(t=n.options.slidesToScroll*-1,i=n.options.slidesToScroll*-1,r=n.slideCount*2);t<r;)u.push(t),t=i+n.options.slidesToScroll,i+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return u};t.prototype.getSlick=function(){return this};t.prototype.getSlideCount=function(){var t=this,i,r;return r=t.options.centerMode===!0?t.slideWidth*Math.floor(t.options.slidesToShow/2):0,t.options.swipeToSlide===!0?(t.$slideTrack.find(".slick-slide").each(function(u,f){if(f.offsetLeft-r+n(f).outerWidth()/2>t.swipeLeft*-1)return i=f,!1}),Math.abs(n(i).attr("data-slick-index")-t.currentSlide)||1):t.options.slidesToScroll};t.prototype.goTo=t.prototype.slickGoTo=function(n,t){var i=this;i.changeSlide({data:{message:"index",index:parseInt(n)}},t)};t.prototype.init=function(t){var i=this;n(i.$slider).hasClass("slick-initialized")||(n(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots());t&&i.$slider.trigger("init",[i]);i.options.accessibility===!0&&i.initADA()};t.prototype.initArrowEvents=function(){var n=this;if(n.options.arrows===!0&&n.slideCount>n.options.slidesToShow){n.$prevArrow.on("click.slick",{message:"previous"},n.changeSlide);n.$nextArrow.on("click.slick",{message:"next"},n.changeSlide)}};t.prototype.initDotEvents=function(){var t=this;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow)n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide);if(t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&t.options.autoplay===!0)n("li",t.$dots).on("mouseenter.slick",n.proxy(t.setPaused,t,!0)).on("mouseleave.slick",n.proxy(t.setPaused,t,!1))};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler);t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler);t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler);t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler);t.$list.on("click.slick",t.clickHandler);n(document).on(t.visibilityChange,n.proxy(t.visibility,t));t.$list.on("mouseenter.slick",n.proxy(t.setPaused,t,!0));t.$list.on("mouseleave.slick",n.proxy(t.setPaused,t,!1));if(t.options.accessibility===!0)t.$list.on("keydown.slick",t.keyHandler);if(t.options.focusOnSelect===!0)n(t.$slideTrack).children().on("click.slick",t.selectHandler);n(window).on("orientationchange.slick.slick-"+t.instanceUid,n.proxy(t.orientationChange,t));n(window).on("resize.slick.slick-"+t.instanceUid,n.proxy(t.resize,t));n("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault);n(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);n(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.initUI=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.show();n.options.autoplay===!0&&n.autoPlay()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(n.keyCode===37&&t.options.accessibility===!0?t.changeSlide({data:{message:"previous"}}):n.keyCode===39&&t.options.accessibility===!0&&t.changeSlide({data:{message:"next"}}))};t.prototype.lazyLoad=function(){function f(t){n("img[data-lazy]",t).each(function(){var t=n(this),i=n(this).attr("data-lazy"),r=document.createElement("img");r.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",i).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")})})};r.src=i})}var t=this,e,r,i,u;t.options.centerMode===!0?t.options.infinite===!0?(i=t.currentSlide+(t.options.slidesToShow/2+1),u=i+t.options.slidesToShow+2):(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),u=2+(t.options.slidesToShow/2+1)+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,u=i+t.options.slidesToShow,t.options.fade===!0&&(i>0&&i--,u<=t.slideCount&&u++));e=t.$slider.find(".slick-slide").slice(i,u);f(e);t.slideCount<=t.options.slidesToShow?(r=t.$slider.find(".slick-slide"),f(r)):t.currentSlide>=t.slideCount-t.options.slidesToShow?(r=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow),f(r)):t.currentSlide===0&&(r=t.$slider.find(".slick-cloned").slice(t.options.slidesToShow*-1),f(r))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();n.options.lazyLoad==="progressive"&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){var n=this;n.changeSlide({data:{message:"next"}})};t.prototype.orientationChange=function(){var n=this;n.checkResponsive();n.setPosition()};t.prototype.pause=t.prototype.slickPause=function(){var n=this;n.autoPlayClear();n.paused=!0};t.prototype.play=t.prototype.slickPlay=function(){var n=this;n.paused=!1;n.autoPlay()};t.prototype.postSlide=function(n){var t=this;t.$slider.trigger("afterChange",[t,n]);t.animating=!1;t.setPosition();t.swipeLeft=null;t.options.autoplay===!0&&t.paused===!1&&t.autoPlay();t.options.accessibility===!0&&t.initADA()};t.prototype.prev=t.prototype.slickPrev=function(){var n=this;n.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(){var t=this,r,i;r=n("img[data-lazy]",t.$slider).length;r>0&&(i=n("img[data-lazy]",t.$slider).first(),i.attr("src",null),i.attr("src",i.attr("data-lazy")).removeClass("slick-loading").load(function(){i.removeAttr("data-lazy");t.progressiveLazyLoad();t.options.adaptiveHeight===!0&&t.setPosition()}).error(function(){i.removeAttr("data-lazy");t.progressiveLazyLoad()}))};t.prototype.refresh=function(t){var i=this,r,u;u=i.slideCount-i.options.slidesToShow;i.options.infinite||(i.slideCount<=i.options.slidesToShow?i.currentSlide=0:i.currentSlide>u&&(i.currentSlide=u));r=i.currentSlide;i.destroy(!0);n.extend(i,i.initials,{currentSlide:r});i.init();t||i.changeSlide({data:{message:"index",index:r}},!1)};t.prototype.registerBreakpoints=function(){var t=this,u,f,i,r=t.options.responsive||null;if(n.type(r)==="array"&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,f=r[u].breakpoint,r.hasOwnProperty(u)){while(i>=0)t.breakpoints[i]&&t.breakpoints[i]===f&&t.breakpoints.splice(i,1),i--;t.breakpoints.push(f);t.breakpointSettings[f]=r[u].settings}t.breakpoints.sort(function(n,i){return t.options.mobileFirst?n-i:i-n})}};t.prototype.reinit=function(){var t=this;if(t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&t.currentSlide!==0&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.checkResponsive(!1,!0),t.options.focusOnSelect===!0)n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses(0);t.setPosition();t.$slider.trigger("reInit",[t]);t.options.autoplay===!0&&t.focusHandler()};t.prototype.resize=function(){var t=this;n(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=n(window).width();t.checkResponsive();t.unslicked||t.setPosition()},50))};t.prototype.removeSlide=t.prototype.slickRemove=function(n,t,i){var r=this;if(typeof n=="boolean"?(t=n,n=t===!0?0:r.slideCount-1):n=t===!0?--n:n,r.slideCount<1||n<0||n>r.slideCount-1)return!1;r.unload();i===!0?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(n).remove();r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slidesCache=r.$slides;r.reinit()};t.prototype.setCSS=function(n){var t=this,i={},r,u;t.options.rtl===!0&&(n=-n);r=t.positionProp=="left"?Math.ceil(n)+"px":"0px";u=t.positionProp=="top"?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;t.transformsEnabled===!1?t.$slideTrack.css(i):(i={},t.cssTransitions===!1?(i[t.animType]="translate("+r+", "+u+")",t.$slideTrack.css(i)):(i[t.animType]="translate3d("+r+", "+u+", 0px)",t.$slideTrack.css(i)))};t.prototype.setDimensions=function(){var n=this,t;n.options.vertical===!1?n.options.centerMode===!0&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),n.options.centerMode===!0&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();n.options.vertical===!1&&n.options.variableWidth===!1?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):n.options.variableWidth===!0?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));t=n.$slides.first().outerWidth(!0)-n.$slides.first().width();n.options.variableWidth===!1&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var t=this,i;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;t.options.rtl===!0?n(u).css({position:"relative",right:i,top:0,zIndex:t.options.zIndex-2,opacity:0}):n(u).css({position:"relative",left:i,top:0,zIndex:t.options.zIndex-2,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})};t.prototype.setHeight=function(){var n=this,t;n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(t,i,r){var u=this,f,e;if(t==="responsive"&&n.type(i)==="array")for(e in i)if(n.type(u.options.responsive)!=="array")u.options.responsive=[i[e]];else{for(f=u.options.responsive.length-1;f>=0;)u.options.responsive[f].breakpoint===i[e].breakpoint&&u.options.responsive.splice(f,1),f--;u.options.responsive.push(i[e])}else u.options[t]=i;r===!0&&(u.unload(),u.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();n.options.fade===!1?n.setCSS(n.getLeft(n.currentSlide)):n.setFade();n.$slider.trigger("setPosition",[n])};t.prototype.setProps=function(){var n=this,t=document.body.style;n.positionProp=n.options.vertical===!0?"top":"left";n.positionProp==="top"?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");(t.WebkitTransition!==undefined||t.MozTransition!==undefined||t.msTransition!==undefined)&&n.options.useCSS===!0&&(n.cssTransitions=!0);n.options.fade&&(typeof n.options.zIndex=="number"?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);t.OTransform!==undefined&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(n.animType=!1));t.MozTransform!==undefined&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",t.perspectiveProperty===undefined&&t.MozPerspective===undefined&&(n.animType=!1));t.webkitTransform!==undefined&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(n.animType=!1));t.msTransform!==undefined&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",t.msTransform===undefined&&(n.animType=!1));t.transform!==undefined&&n.animType!==!1&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&n.animType!==null&&n.animType!==!1};t.prototype.setSlideClasses=function(n){var t=this,u,i,r,f;i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");t.$slides.eq(n).addClass("slick-current");t.options.centerMode===!0?(u=Math.floor(t.options.slidesToShow/2),t.options.infinite===!0&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1,r+u+2).addClass("slick-active").attr("aria-hidden","false")),n===0?i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center"):n===t.slideCount-1&&i.eq(t.options.slidesToShow).addClass("slick-center")),t.$slides.eq(n).addClass("slick-center")):n>=0&&n<=t.slideCount-t.options.slidesToShow?t.$slides.slice(n,n+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=t.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(f=t.slideCount%t.options.slidesToShow,r=t.options.infinite===!0?t.options.slidesToShow+n:n,t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-n<t.options.slidesToShow?i.slice(r-(t.options.slidesToShow-f),r+f).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));t.options.lazyLoad==="ondemand"&&t.lazyLoad()};t.prototype.setupInfinite=function(){var t=this,i,r,u;if(t.options.fade===!0&&(t.options.centerMode=!1),t.options.infinite===!0&&t.options.fade===!1&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=t.options.centerMode===!0?t.options.slidesToShow+1:t.options.slidesToShow,i=t.slideCount;i>t.slideCount-u;i-=1)r=i-1,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r-t.slideCount).prependTo(t.$slideTrack).addClass("slick-cloned");for(i=0;i<u;i+=1)r=i,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r+t.slideCount).appendTo(t.$slideTrack).addClass("slick-cloned");t.$slideTrack.find(".slick-cloned").find("[id]").each(function(){n(this).attr("id","")})}};t.prototype.setPaused=function(n){var t=this;t.options.autoplay===!0&&t.options.pauseOnHover===!0&&(t.paused=n,n?t.autoPlayClear():t.autoPlay())};t.prototype.selectHandler=function(t){var i=this,u=n(t.target).is(".slick-slide")?n(t.target):n(t.target).parents(".slick-slide"),r=parseInt(u.attr("data-slick-index"));if(r||(r=0),i.slideCount<=i.options.slidesToShow){i.setSlideClasses(r);i.asNavFor(r);return}i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,o,e,s=null,r=this;if((t=t||!1,r.animating!==!0||r.options.waitForAnimate!==!0)&&(r.options.fade!==!0||r.currentSlide!==n)&&!(r.slideCount<=r.options.slidesToShow)){if(t===!1&&r.asNavFor(n),u=n,s=r.getLeft(u),e=r.getLeft(r.currentSlide),r.currentLeft=r.swipeLeft===null?e:r.swipeLeft,r.options.infinite===!1&&r.options.centerMode===!1&&(n<0||n>r.getDotCount()*r.options.slidesToScroll)){r.options.fade===!1&&(u=r.currentSlide,i!==!0?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));return}if(r.options.infinite===!1&&r.options.centerMode===!0&&(n<0||n>r.slideCount-r.options.slidesToScroll)){r.options.fade===!1&&(u=r.currentSlide,i!==!0?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));return}if(r.options.autoplay===!0&&clearInterval(r.autoPlayTimer),f=u<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+u:u>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:u-r.slideCount:u,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,f]),o=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),r.options.fade===!0){i!==!0?(r.fadeSlideOut(o),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f);r.animateHeight();return}i!==!0?r.animateSlide(s,function(){r.postSlide(f)}):r.postSlide(f)}};t.prototype.startLoad=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.hide();n.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var i,r,u,n,t=this;return(i=t.touchObject.startX-t.touchObject.curX,r=t.touchObject.startY-t.touchObject.curY,u=Math.atan2(r,i),n=Math.round(u*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0)?t.options.rtl===!1?"left":"right":n<=360&&n>=315?t.options.rtl===!1?"left":"right":n>=135&&n<=225?t.options.rtl===!1?"right":"left":t.options.verticalSwiping===!0?n>=35&&n<=135?"left":"right":"vertical"};t.prototype.swipeEnd=function(){var n=this,t;if(n.dragging=!1,n.shouldClick=n.touchObject.swipeLength>10?!1:!0,n.touchObject.curX===undefined)return!1;if(n.touchObject.edgeHit===!0&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe)switch(n.swipeDirection()){case"left":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.slideHandler(t);n.currentDirection=0;n.touchObject={};n.$slider.trigger("swipe",[n,"left"]);break;case"right":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.slideHandler(t);n.currentDirection=1;n.touchObject={};n.$slider.trigger("swipe",[n,"right"])}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(t.options.swipe!==!1&&(!("ontouchend"in document)||t.options.swipe!==!1)&&(t.options.draggable!==!1||n.type.indexOf("mouse")===-1)){t.touchObject.fingerCount=n.originalEvent&&n.originalEvent.touches!==undefined?n.originalEvent.touches.length:1;t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold;t.options.verticalSwiping===!0&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold);switch(n.data.action){case"start":t.swipeStart(n);break;case"move":t.swipeMove(n);break;case"end":t.swipeEnd(n)}}};t.prototype.swipeMove=function(n){var t=this,f,e,r,u,i;if(i=n.originalEvent!==undefined?n.originalEvent.touches:null,!t.dragging||i&&i.length!==1)return!1;if(f=t.getLeft(t.currentSlide),t.touchObject.curX=i!==undefined?i[0].pageX:n.clientX,t.touchObject.curY=i!==undefined?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),t.options.verticalSwiping===!0&&(t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2)))),e=t.swipeDirection(),e!=="vertical"){if(n.originalEvent!==undefined&&t.touchObject.swipeLength>4&&n.preventDefault(),u=(t.options.rtl===!1?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),t.options.verticalSwiping===!0&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,t.options.infinite===!1&&(t.currentSlide===0&&e==="right"||t.currentSlide>=t.getDotCount()&&e==="left")&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=t.options.vertical===!1?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,t.options.verticalSwiping===!0&&(t.swipeLeft=f+r*u),t.options.fade===!0||t.options.touchMove===!1)return!1;if(t.animating===!0)return t.swipeLeft=null,!1;t.setCSS(t.swipeLeft)}};t.prototype.swipeStart=function(n){var t=this,i;if(t.touchObject.fingerCount!==1||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;n.originalEvent!==undefined&&n.originalEvent.touches!==undefined&&(i=n.originalEvent.touches[0]);t.touchObject.startX=t.touchObject.curX=i!==undefined?i.pageX:n.clientX;t.touchObject.startY=t.touchObject.curY=i!==undefined?i.pageY:n.clientY;t.dragging=!0};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;n.$slidesCache!==null&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())};t.prototype.unload=function(){var t=this;n(".slick-cloned",t.$slider).remove();t.$dots&&t.$dots.remove();t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove();t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove();t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};t.prototype.unslick=function(n){var t=this;t.$slider.trigger("unslick",[t,n]);t.destroy()};t.prototype.updateArrows=function(){var n=this,t;t=Math.floor(n.options.slidesToShow/2);n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.currentSlide===0?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-n.options.slidesToShow&&n.options.centerMode===!1?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&n.options.centerMode===!0&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))};t.prototype.updateDots=function(){var n=this;n.$dots!==null&&(n.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))};t.prototype.visibility=function(){var n=this;document[n.hidden]?(n.paused=!0,n.autoPlayClear()):n.options.autoplay===!0&&(n.paused=!1,n.autoPlay())};t.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"});t.$slideTrack.attr("role","listbox");t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){n(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+i+""})});t.$dots!==null&&t.$dots.attr("role","tablist").find("li").each(function(i){n(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+i+"",id:"slick-slide"+t.instanceUid+i+""})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar");t.activateADA()};t.prototype.activateADA=function(){var n=this;n.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.focusHandler=function(){var t=this;t.$slider.on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var r=n(this);setTimeout(function(){t.isPlay&&(r.is(":focus")?(t.autoPlayClear(),t.paused=!0):(t.paused=!1,t.autoPlay()))},0)})};n.fn.slick=function(){for(var n=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=n.length,u,i=0;i<e;i++)if(typeof r=="object"||typeof r=="undefined"?n[i].slick=new t(n[i],r):u=n[i].slick[r].apply(n[i].slick,f),typeof u!="undefined")return u;return n}}),function(n){"use strict";function t(n){return(n||"").toLowerCase()}var i="2.1.6";n.fn.cycle=function(i){var r;return this.length===0&&!n.isReady?(r={s:this.selector,c:this.context},n.fn.cycle.log("requeuing slideshow (dom not ready)"),n(function(){n(r.s,r.c).cycle(i)}),this):this.each(function(){var f,r,h,o,u=n(this),s=n.fn.cycle.log,e;if(!u.data("cycle.opts")){(u.data("cycle-log")===!1||i&&i.log===!1||r&&r.log===!1)&&(s=n.noop);s("--c2 init--");f=u.data();for(e in f)f.hasOwnProperty(e)&&/^cycle[A-Z]+/.test(e)&&(o=f[e],h=e.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),s(h+":",o,"("+typeof o+")"),f[h]=o);r=n.extend({},n.fn.cycle.defaults,f,i||{});r.timeoutId=0;r.paused=r.paused||!1;r.container=u;r._maxZ=r.maxZ;r.API=n.extend({_container:u},n.fn.cycle.API);r.API.log=s;r.API.trigger=function(n,t){return r.container.trigger(n,t),r.API};u.data("cycle.opts",r);u.data("cycle.API",r.API);r.API.trigger("cycle-bootstrap",[r,r.API]);r.API.addInitialSlides();r.API.preInitSlideshow();r.slides.length&&r.API.initSlideshow()}})};n.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var t=this.opts(),i=t.slides;t.slideCount=0;t.slides=n();i=i.jquery?i:t.container.find(i);t.random&&i.sort(function(){return Math.random()-.5});t.API.add(i)},preInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-pre-initialize",[t]);i=n.fn.cycle.transitions[t.fx];i&&n.isFunction(i.preInit)&&i.preInit(t);t._preInitialized=!0},postInitSlideshow:function(){var t=this.opts(),i;t.API.trigger("cycle-post-initialize",[t]);i=n.fn.cycle.transitions[t.fx];i&&n.isFunction(i.postInit)&&i.postInit(t)},initSlideshow:function(){var t=this.opts(),r=t.container,i;t.API.calcFirstSlide();t.container.css("position")=="static"&&t.container.css("position","relative");n(t.slides[t.currSlide]).css({opacity:1,display:"block",visibility:"visible"});t.API.stackSlides(t.slides[t.currSlide],t.slides[t.nextSlide],!t.reverse);t.pauseOnHover&&(t.pauseOnHover!==!0&&(r=n(t.pauseOnHover)),r.hover(function(){t.API.pause(!0)},function(){t.API.resume(!0)}));t.timeout&&(i=t.API.getSlideOpts(t.currSlide),t.API.queueTransition(i,i.timeout+t.delay));t._initialized=!0;t.API.updateView(!0);t.API.trigger("cycle-initialized",[t]);t.API.postInitSlideshow()},pause:function(t){var i=this.opts(),r=i.API.getSlideOpts(),u=i.hoverPaused||i.paused;t?i.hoverPaused=!0:i.paused=!0;u||(i.container.addClass("cycle-paused"),i.API.trigger("cycle-paused",[i]).log("cycle-paused"),r.timeout&&(clearTimeout(i.timeoutId),i.timeoutId=0,i._remainingTimeout-=n.now()-i._lastQueue,(i._remainingTimeout<0||isNaN(i._remainingTimeout))&&(i._remainingTimeout=undefined)))},resume:function(n){var t=this.opts(),i=!t.hoverPaused&&!t.paused;n?t.hoverPaused=!1:t.paused=!1;i||(t.container.removeClass("cycle-paused"),t.slides.filter(":animated").length===0&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(t,i){var r=this.opts(),e=r.slideCount,u=!1,f;n.type(t)=="string"&&(t=n.trim(t));n(t).each(function(){var u,t=n(this);i?r.container.prepend(t):r.container.append(t);r.slideCount++;u=r.API.buildSlideOpts(t);r.slides=i?n(t).add(r.slides):r.slides.add(t);r.API.initSlide(u,t,--r._maxZ);t.data("cycle.opts",u);r.API.trigger("cycle-slide-added",[r,u,t])});r.API.updateView(!0);u=r._preInitialized&&e<2&&r.slideCount>=1;u&&(r._initialized?r.timeout&&(f=r.slides.length,r.nextSlide=r.reverse?f-1:1,r.timeoutId||r.API.queueTransition(r)):r.API.initSlideshow())},calcFirstSlide:function(){var n=this.opts(),t;t=parseInt(n.startingSlide||0,10);(t>=n.slides.length||t<0)&&(t=0);n.currSlide=t;n.reverse?(n.nextSlide=t-1,n.nextSlide<0&&(n.nextSlide=n.slides.length-1)):(n.nextSlide=t+1,n.nextSlide==n.slides.length&&(n.nextSlide=0))},calcNextSlide:function(){var n=this.opts(),t;n.reverse?(t=n.nextSlide-1<0,n.nextSlide=t?n.slideCount-1:n.nextSlide-1,n.currSlide=t?0:n.nextSlide+1):(t=n.nextSlide+1==n.slides.length,n.nextSlide=t?0:n.nextSlide+1,n.currSlide=t?n.slides.length-1:n.nextSlide-1)},calcTx:function(t,i){var r=t,u;return r._tempFx?u=n.fn.cycle.transitions[r._tempFx]:i&&r.manualFx&&(u=n.fn.cycle.transitions[r.manualFx]),u||(u=n.fn.cycle.transitions[r.fx]),r._tempFx=null,this.opts()._tempFx=null,u||(u=n.fn.cycle.transitions.fade,r.API.log('Transition "'+r.fx+'" not found.  Using fade.')),u},prepareTx:function(n,t){var i=this.opts(),o,f,e,r,u;if(i.slideCount<2){i.timeoutId=0;return}(n&&(!i.busy||i.manualTrump)&&(i.API.stopTransition(),i.busy=!1,clearTimeout(i.timeoutId),i.timeoutId=0),i.busy)||(i.timeoutId!==0||n)&&(f=i.slides[i.currSlide],e=i.slides[i.nextSlide],r=i.API.getSlideOpts(i.nextSlide),u=i.API.calcTx(r,n),i._tx=u,n&&r.manualSpeed!==undefined&&(r.speed=r.manualSpeed),i.nextSlide!=i.currSlide&&(n||!i.paused&&!i.hoverPaused&&i.timeout)?(i.API.trigger("cycle-before",[r,f,e,t]),u.before&&u.before(r,f,e,t),o=function(){(i.busy=!1,i.container.data("cycle.opts"))&&(u.after&&u.after(r,f,e,t),i.API.trigger("cycle-after",[r,f,e,t]),i.API.queueTransition(r),i.API.updateView(!0))},i.busy=!0,u.transition?u.transition(r,f,e,t,o):i.API.doTransition(r,f,e,t,o),i.API.calcNextSlide(),i.API.updateView()):i.API.queueTransition(r))},doTransition:function(t,i,r,u,f){var e=t,o=n(i),s=n(r),h=function(){s.animate(e.animIn||{opacity:1},e.speed,e.easeIn||e.easing,f)};s.css(e.cssBefore||{});o.animate(e.animOut||{},e.speed,e.easeOut||e.easing,function(){o.css(e.cssAfter||{});e.sync||h()});e.sync&&h()},queueTransition:function(t,i){var r=this.opts(),u=i!==undefined?i:t.timeout;if(r.nextSlide===0&&--r.loop==0){r.API.log("terminating; loop=0");r.timeout=0;u?setTimeout(function(){r.API.trigger("cycle-finished",[r])},u):r.API.trigger("cycle-finished",[r]);r.nextSlide=r.currSlide;return}if(r.continueAuto!==undefined&&(r.continueAuto===!1||n.isFunction(r.continueAuto)&&r.continueAuto()===!1)){r.API.log("terminating automatic transitions");r.timeout=0;r.timeoutId&&clearTimeout(r.timeoutId);return}u&&(r._lastQueue=n.now(),i===undefined&&(r._remainingTimeout=t.timeout),r.paused||r.hoverPaused||(r.timeoutId=setTimeout(function(){r.API.prepareTx(!1,!r.reverse)},u)))},stopTransition:function(){var n=this.opts();n.slides.filter(":animated").length&&(n.slides.stop(!1,!0),n.API.trigger("cycle-transition-stopped",[n]));n._tx&&n._tx.stopTransition&&n._tx.stopTransition(n)},advanceSlide:function(n){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+n,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,n>=0),!1},buildSlideOpts:function(i){var u=this.opts(),f,o,r=i.data()||{};for(var e in r)r.hasOwnProperty(e)&&/^cycle[A-Z]+/.test(e)&&(f=r[e],o=e.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,t),u.API.log("["+(u.slideCount-1)+"]",o+":",f,"("+typeof f+")"),r[o]=f);r=n.extend({},n.fn.cycle.defaults,u,r);r.slideNum=u.slideCount;try{delete r.API;delete r.slideCount;delete r.currSlide;delete r.nextSlide;delete r.slides}catch(s){}return r},getSlideOpts:function(t){var i=this.opts(),r,u;return t===undefined&&(t=i.currSlide),r=i.slides[t],u=n(r).data("cycle.opts"),n.extend({},i,u)},initSlide:function(t,i,r){var u=this.opts();i.css(t.slideCss||{});r>0&&i.css("zIndex",r);isNaN(t.speed)&&(t.speed=n.fx.speeds[t.speed]||n.fx.speeds._default);t.sync||(t.speed=t.speed/2);i.addClass(u.slideClass)},updateView:function(n,t){var i=this.opts(),r,u;i._initialized&&((r=i.API.getSlideOpts(),u=i.slides[i.currSlide],!n&&t!==!0&&(i.API.trigger("cycle-update-view-before",[i,r,u]),i.updateView<0))||(i.slideActiveClass&&i.slides.removeClass(i.slideActiveClass).eq(i.currSlide).addClass(i.slideActiveClass),n&&i.hideNonActive&&i.slides.filter(":not(."+i.slideActiveClass+")").css("visibility","hidden"),i.updateView===0&&setTimeout(function(){i.API.trigger("cycle-update-view",[i,r,u,n])},r.speed/(i.sync?2:1)),i.updateView!==0&&i.API.trigger("cycle-update-view",[i,r,u,n]),n&&i.API.trigger("cycle-update-view-after",[i,r,u])))},getComponent:function(t){var r=this.opts(),i=r[t];return typeof i=="string"?/^\s*[\>|\+|~]/.test(i)?r.container.find(i):n(i):i.jquery?i:n(i)},stackSlides:function(t,i,r){var u=this.opts(),f,e,o;if(t||(t=u.slides[u.currSlide],i=u.slides[u.nextSlide],r=!u.reverse),n(t).css("zIndex",u.maxZ),e=u.maxZ-2,o=u.slideCount,r){for(f=u.currSlide+1;f<o;f++)n(u.slides[f]).css("zIndex",e--);for(f=0;f<u.currSlide;f++)n(u.slides[f]).css("zIndex",e--)}else{for(f=u.currSlide-1;f>=0;f--)n(u.slides[f]).css("zIndex",e--);for(f=o-1;f>u.currSlide;f--)n(u.slides[f]).css("zIndex",e--)}n(i).css("zIndex",u.maxZ-1)},getSlideIndex:function(n){return this.opts().slides.index(n)}};n.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))};n.fn.cycle.version=function(){return"Cycle2: "+i};n.fn.cycle.transitions={custom:{},none:{before:function(n,t,i,r){n.API.stackSlides(i,t,r);n.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u);t.cssBefore=n.extend(f,{opacity:0,visibility:"visible",display:"block"});t.animIn={opacity:1};t.animOut={opacity:0}}},fadeout:{before:function(t,i,r,u){var f=t.API.getSlideOpts(t.nextSlide).slideCss||{};t.API.stackSlides(i,r,u);t.cssBefore=n.extend(f,{opacity:1,visibility:"visible",display:"block"});t.animOut={opacity:0}}},scrollHorz:{before:function(n,t,i,r){n.API.stackSlides(t,i,r);var u=n.container.css("overflow","hidden").width();n.cssBefore={left:r?u:-u,top:0,opacity:1,visibility:"visible",display:"block"};n.cssAfter={zIndex:n._maxZ-2,left:0};n.animIn={left:0};n.animOut={left:r?-u:u}}}};n.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:undefined,manualSpeed:undefined,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0};n(document).ready(function(){n(n.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(n){"use strict";function t(t,i){var f,o,e,r=i.autoHeight;if(r=="container")o=n(i.slides[i.currSlide]).outerHeight(),i.container.height(o);else if(i._autoHeightRatio)i.container.height(i.container.width()/i._autoHeightRatio);else if(r==="calc"||n.type(r)=="number"&&r>=0){if(e=r==="calc"?u(t,i):r>=i.slides.length?0:r,e==i._sentinelIndex)return;i._sentinelIndex=e;i._sentinel&&i._sentinel.remove();f=n(i.slides[e].cloneNode(!0));f.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel");f.css({position:"static",visibility:"hidden",display:"block"}).prependTo(i.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active");f.find("*").css("visibility","hidden");i._sentinel=f}}function u(t,i){var r=0,u=-1;return i.slides.each(function(t){var i=n(this).height();i>u&&(u=i,r=t)}),r}function i(t,i,r,u){var f=n(u).outerHeight();i.container.animate({height:f},i.autoHeightSpeed,i.autoHeightEasing)}function r(u,f){f._autoHeightOnResize&&(n(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null);f.container.off("cycle-slide-added cycle-slide-removed",t);f.container.off("cycle-destroyed",r);f.container.off("cycle-before",i);f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}n.extend(n.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null});n(document).on("cycle-initialized",function(u,f){function h(){t(u,f)}var o=f.autoHeight,s=n.type(o),c=null,e;if(s==="string"||s==="number"){f.container.on("cycle-slide-added cycle-slide-removed",t);f.container.on("cycle-destroyed",r);if(o=="container")f.container.on("cycle-before",i);else s==="string"&&/\d+\:\d+/.test(o)&&(e=o.match(/(\d+)\:(\d+)/),e=e[1]/e[2],f._autoHeightRatio=e);if(s!=="number"){f._autoHeightOnResize=function(){clearTimeout(c);c=setTimeout(h,50)};n(window).on("resize orientationchange",f._autoHeightOnResize)}setTimeout(h,30)}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}<\/div><div>{{desc}}<\/div>",captionModule:"caption"});n(document).on("cycle-update-view",function(t,i,r,u){i.captionModule==="caption"&&n.each(["caption","overlay"],function(){var t=this,f=r[t+"Template"],n=i.API.getComponent(t);n.length&&f?(n.html(i.API.tmpl(f,r,i,u)),n.show()):n.hide()})});n(document).on("cycle-destroyed",function(t,i){var r;n.each(["caption","overlay"],function(){var n=this,t=i[n+"Template"];i[n]&&t&&(r=i.API.getComponent("caption"),r.empty())})})}(jQuery),function(n){"use strict";var t=n.fn.cycle;n.fn.cycle=function(i){var r,f,u,e=n.makeArray(arguments);return n.type(i)=="number"?this.cycle("goto",i):n.type(i)=="string"?this.each(function(){var o;if(r=i,u=n(this).data("cycle.opts"),u===undefined){t.log('slideshow must be initialized before sending commands; "'+r+'" ignored');return}if(r=r=="goto"?"jump":r,f=u.API[r],n.isFunction(f))return o=n.makeArray(e),o.shift(),f.apply(u.API,o);t.log("unknown command: ",r)}):t.apply(this,arguments)};n.extend(n.fn.cycle,t);n.extend(t.API,{next:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&((t=n.reverse?-1:1,n.allowWrap===!1&&n.currSlide+t>=n.slideCount)||(n.API.advanceSlide(t),n.API.trigger("cycle-next",[n]).log("cycle-next")))},prev:function(){var n=this.opts(),t;(!n.busy||n.manualTrump)&&((t=n.reverse?1:-1,n.allowWrap===!1&&n.currSlide+t<0)||(n.API.advanceSlide(t),n.API.trigger("cycle-prev",[n]).log("cycle-prev")))},destroy:function(){this.stop();var t=this.opts(),i=n.isFunction(n._data)?n._data:n.noop;clearTimeout(t.timeoutId);t.timeoutId=0;t.API.stop();t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed");t.container.removeData();i(t.container[0],"parsedAttrs",!1);t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass));t.slides.each(function(){var r=n(this);r.removeData();r.removeClass(t.slideClass);i(this,"parsedAttrs",!1)})},jump:function(n,t){var u,i=this.opts(),r;if(!i.busy||i.manualTrump){if(r=parseInt(n,10),isNaN(r)||r<0||r>=i.slides.length){i.API.log("goto: invalid slide index: "+r);return}if(r==i.currSlide){i.API.log("goto: skipping, already on slide",r);return}i.nextSlide=r;clearTimeout(i.timeoutId);i.timeoutId=0;i.API.log("goto: ",r," (zero-index)");u=i.currSlide<i.nextSlide;i._tempFx=t;i.API.prepareTx(!0,u)}},stop:function(){var t=this.opts(),i=t.container;clearTimeout(t.timeoutId);t.timeoutId=0;t.API.stopTransition();t.pauseOnHover&&(t.pauseOnHover!==!0&&(i=n(t.pauseOnHover)),i.off("mouseenter mouseleave"));t.API.trigger("cycle-stopped",[t]).log("cycle-stopped")},reinit:function(){var n=this.opts();n.API.destroy();n.container.cycle()},remove:function(t){for(var i=this.opts(),r,u,e=[],o=1,f=0;f<i.slides.length;f++)r=i.slides[f],f==t?u=r:(e.push(r),n(r).data("cycle.opts").slideNum=o,o++);u&&(i.slides=n(e),i.slideCount--,n(u).remove(),t==i.currSlide?i.API.advanceSlide(1):t<i.currSlide?i.currSlide--:i.currSlide++,i.API.trigger("cycle-slide-removed",[i,t,u]).log("cycle-slide-removed"),i.API.updateView())}});n(document).on("click.cycle","[data-cycle-cmd]",function(t){t.preventDefault();var i=n(this),r=i.data("cycle-cmd"),u=i.data("cycle-context")||".cycle-slideshow";n(u).cycle(r,i.data("cycle-arg"))})}(jQuery),function(n){"use strict";function t(t,i){var r;if(t._hashFence){t._hashFence=!1;return}r=window.location.hash.substring(1);t.slides.each(function(u){if(n(this).data("cycle-hash")==r){if(i===!0)t.startingSlide=u;else{var f=t.currSlide<u;t.nextSlide=u;t.API.prepareTx(!0,f)}return!1}})}n(document).on("cycle-pre-initialize",function(i,r){t(r,!0);r._onHashChange=function(){t(r,!1)};n(window).on("hashchange",r._onHashChange)});n(document).on("cycle-update-view",function(n,t,i){i.hash&&"#"+i.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=i.hash)});n(document).on("cycle-destroyed",function(t,i){i._onHashChange&&n(window).off("hashchange",i._onHashChange)})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{loader:!1});n(document).on("cycle-bootstrap",function(t,i){function u(t,u){function s(t){var o;i.loader=="wait"?(e.push(t),f===0&&(e.sort(h),r.apply(i.API,[e,u]),i.container.removeClass("cycle-loading"))):(o=n(i.slides[i.currSlide]),r.apply(i.API,[t,u]),o.show(),i.container.removeClass("cycle-loading"))}function h(n,t){return n.data("index")-t.data("index")}var e=[],o,f;if(n.type(t)=="string")t=n.trim(t);else if(n.type(t)==="array")for(o=0;o<t.length;o++)t[o]=n(t[o])[0];(t=n(t),f=t.length,f)&&(t.css("visibility","hidden").appendTo("body").each(function(t){function l(){--c==0&&(--f,s(o))}var c=0,o=n(this),h=o.is("img")?o:o.find("img");if(o.data("index",t),h=h.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),!h.length){--f;e.push(o);return}c=h.length;h.each(function(){if(this.complete)l();else n(this).load(function(){l()}).on("error",function(){--c==0&&(i.API.log("slide skipped; img not loaded:",this.src),--f==0&&i.loader=="wait"&&r.apply(i.API,[e,u]))})})}),f&&i.container.addClass("cycle-loading"))}var r;i.loader&&(r=i.API.add,i.API.add=u)})}(jQuery),function(n){"use strict";function t(t,i,r){var u,f=t.API.getComponent("pager");f.each(function(){var f=n(this),e;i.pagerTemplate?(e=t.API.tmpl(i.pagerTemplate,i,t,r[0]),u=n(e).appendTo(f)):u=f.children().eq(t.slideCount-1);u.on(t.pagerEvent,function(n){t.pagerEventBubble||n.preventDefault();t.API.page(f,n.currentTarget)})})}function i(n,t){var i=this.opts();if(!i.busy||i.manualTrump){var u=n.children().index(t),r=u,f=i.currSlide<r;i.currSlide!=r&&(i.nextSlide=r,i._tempFx=i.pagerFx,i.API.prepareTx(!0,f),i.API.trigger("cycle-pager-activated",[i,n,t]))}}n.extend(n.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:undefined,pagerTemplate:"<span>&bull;<\/span>"});n(document).on("cycle-bootstrap",function(n,i,r){r.buildPagerLink=t});n(document).on("cycle-slide-added",function(n,t,r,u){t.pager&&(t.API.buildPagerLink(t,r,u),t.API.page=i)});n(document).on("cycle-slide-removed",function(t,i,r){if(i.pager){var u=i.API.getComponent("pager");u.each(function(){var t=n(this);n(t.children()[r]).remove()})}});n(document).on("cycle-update-view",function(t,i){var r;i.pager&&(r=i.API.getComponent("pager"),r.each(function(){n(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))});n(document).on("cycle-destroyed",function(n,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1});n(document).on("cycle-initialized",function(n,t){t.API.getComponent("next").on(t.nextEvent,function(n){n.preventDefault();t.API.next()});t.API.getComponent("prev").on(t.prevEvent,function(n){n.preventDefault();t.API.prev()});if(t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",r=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(i,function(){t._tempFx=t.swipeFx;t.API.next()});t.container.on(r,function(){t._tempFx=t.swipeFx;t.API.prev()})}});n(document).on("cycle-update-view",function(n,t){if(!t.allowWrap){var i=t.disabledClass,r=t.API.getComponent("next"),u=t.API.getComponent("prev"),f=t._prevBoundry||0,e=t._nextBoundry!==undefined?t._nextBoundry:t.slideCount-1;t.currSlide==e?r.addClass(i).prop("disabled",!0):r.removeClass(i).prop("disabled",!1);t.currSlide===f?u.addClass(i).prop("disabled",!0):u.removeClass(i).prop("disabled",!1)}});n(document).on("cycle-destroyed",function(n,t){t.API.getComponent("prev").off(t.nextEvent);t.API.getComponent("next").off(t.prevEvent);t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{progressive:!1});n(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var u=i.API,f=u.next,s=u.prev,e=u.prepareTx,h=n.type(i.progressive),r,o;if(h=="array")r=i.progressive;else if(n.isFunction(i.progressive))r=i.progressive(i);else if(h=="string"){if(o=n(i.progressive),r=n.trim(o.html()),!r)return;if(/^(\[)/.test(r))try{r=n.parseJSON(r)}catch(c){u.log("error parsing progressive slides",c);return}else r=r.split(new RegExp(o.data("cycle-split")||"\n")),r[r.length-1]||r.pop()}e&&(u.prepareTx=function(n,t){var f,u;if(n||r.length===0){e.apply(i.API,[n,t]);return}if(t&&i.currSlide==i.slideCount-1){u=r[0];r=r.slice(1);i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.API.advanceSlide(1)},50)});i.API.add(u)}else if(t||i.currSlide!==0)e.apply(i.API,[n,t]);else{f=r.length-1;u=r[f];r=r.slice(0,f);i.container.one("cycle-slide-added",function(n,t){setTimeout(function(){t.currSlide=1;t.API.advanceSlide(-1)},50)});i.API.add(u,!0)}});f&&(u.next=function(){var n=this.opts(),t;if(r.length&&n.currSlide==n.slideCount-1){t=r[0];r=r.slice(1);n.container.one("cycle-slide-added",function(n,t){f.apply(t.API);t.container.removeClass("cycle-loading")});n.container.addClass("cycle-loading");n.API.add(t)}else f.apply(n.API)});s&&(u.prev=function(){var n=this.opts(),t,i;if(r.length&&n.currSlide===0){t=r.length-1;i=r[t];r=r.slice(0,t);n.container.one("cycle-slide-added",function(n,t){t.currSlide=1;t.API.advanceSlide(-1);t.container.removeClass("cycle-loading")});n.container.addClass("cycle-loading");n.API.add(i,!0)}else s.apply(n.API)})}})}(jQuery),function(n){"use strict";n.extend(n.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"});n.extend(n.fn.cycle.API,{tmpl:function(t,i){var u=new RegExp(i.tmplRegex||n.fn.cycle.defaults.tmplRegex,"g"),r=n.makeArray(arguments);return r.shift(),t.replace(u,function(t,i){for(var e,f,u,o=i.split("."),s=0;s<r.length;s++)if(f=r[s],f){if(o.length>1)for(u=f,e=0;e<o.length;e++)f=u,u=u[o[e]]||i;else u=f[i];if(n.isFunction(u))return u.apply(f,r);if(u!==undefined&&u!==null&&u!=i)return u}return i})}})}(jQuery);!function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(n.jQuery)}(this,function(n){!function(){"use strict";function t(t,r){if(this.el=t,this.$el=n(t),this.s=n.extend({},i,r),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.$items=this.s.dynamic?this.s.dynamicEl:"this"===this.s.selector?this.$el:""!==this.s.selector?this.s.selectWithin?n(this.s.selectWithin).find(this.s.selector):this.$el.find(n(this.s.selector)):this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var i={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};t.prototype.init=function(){var t=this,i;t.s.preload>t.$items.length&&(t.s.preload=t.$items.length);i=window.location.hash;i.indexOf("lg="+this.s.galleryId)>0&&(t.index=parseInt(i.split("&slide=")[1],10),n("body").addClass("lg-from-hash"),n("body").hasClass("lg-on")||(setTimeout(function(){t.build(t.index)}),n("body").addClass("lg-on")));t.s.dynamic?(t.$el.trigger("onBeforeOpen.lg"),t.index=t.s.index||0,n("body").hasClass("lg-on")||setTimeout(function(){t.build(t.index);n("body").addClass("lg-on")})):t.$items.on("click.lgcustom",function(i){try{i.preventDefault();i.preventDefault()}catch(n){i.returnValue=!1}t.$el.trigger("onBeforeOpen.lg");t.index=t.s.index||t.$items.index(this);n("body").hasClass("lg-on")||(t.build(t.index),n("body").addClass("lg-on"))})};t.prototype.build=function(t){var i=this;i.structure();n.each(n.fn.lightGallery.modules,function(t){i.modules[t]=new n.fn.lightGallery.modules[t](i.el)});i.slide(t,!1,!1,!1);i.s.keyPress&&i.keyPress();i.$items.length>1?(i.arrow(),setTimeout(function(){i.enableDrag();i.enableSwipe()},50),i.s.mousewheel&&i.mousewheel()):i.$slide.on("click.lg",function(){i.$el.trigger("onSlideClick.lg")});i.counter();i.closeGallery();i.$el.trigger("onAfterOpen.lg");i.$outer.on("mousemove.lg click.lg touchstart.lg",function(){i.$outer.removeClass("lg-hide-items");clearTimeout(i.hideBartimeout);i.hideBartimeout=setTimeout(function(){i.$outer.addClass("lg-hide-items")},i.s.hideBarsDelay)});i.$outer.trigger("mousemove.lg")};t.prototype.structure=function(){var u,f="",e="",t=0,o="",i=this,r;for(n("body").append('<div class="lg-backdrop"><\/div>'),n(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),t=0;t<this.$items.length;t++)f+='<div class="lg-item"><\/div>';(this.s.controls&&this.$items.length>1&&(e='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'<\/button><button class="lg-next lg-icon">'+this.s.nextHtml+"<\/button><\/div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(o='<div class="lg-sub-html"><\/div>'),u='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+f+'<\/div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"><\/span><\/div>'+e+o+"<\/div><\/div>",n("body").append(u),this.$outer=n(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),i.setTop(),n(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){i.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss())&&(r=this.$outer.find(".lg-inner"),r.css("transition-timing-function",this.s.cssEasing),r.css("transition-duration",this.s.speed+"ms"));setTimeout(function(){n(".lg-backdrop").addClass("in")});setTimeout(function(){i.$outer.addClass("lg-visible")},this.s.backdropDuration);this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"><\/a>');this.prevScrollTop=n(window).scrollTop()};t.prototype.setTop=function(){if("100%"!==this.s.height){var t=n(window).height(),r=(t-parseInt(this.s.height,10))/2,i=this.$outer.find(".lg");t>=parseInt(this.s.height,10)?i.css("top",r+"px"):i.css("top","0px")}};t.prototype.doCss=function(){var n=function(){for(var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],i=document.documentElement,n=0,n=0;n<t.length;n++)if(t[n]in i.style)return!0};return!!n()};t.prototype.isVideo=function(n,t){var i;if(i=this.s.dynamic?this.s.dynamicEl[t].html:this.$items.eq(t).attr("data-html"),!n)return i?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(t+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var r=n.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),u=n.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),f=n.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),e=n.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return r?{youtube:r}:u?{vimeo:u}:f?{dailymotion:f}:e?{vk:e}:void 0};t.prototype.counter=function(){this.s.counter&&n(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'<\/span> / <span id="lg-counter-all">'+this.$items.length+"<\/span><\/div>")};t.prototype.addHtml=function(t){var r,u,i=null,f;(this.s.dynamic?this.s.dynamicEl[t].subHtmlUrl?r=this.s.dynamicEl[t].subHtmlUrl:i=this.s.dynamicEl[t].subHtml:(u=this.$items.eq(t),u.attr("data-sub-html-url")?r=u.attr("data-sub-html-url"):(i=u.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!i&&(i=u.attr("title")||u.find("img").first().attr("alt")))),r)||("undefined"!=typeof i&&null!==i?(f=i.substring(0,1),"."!==f&&"#"!==f||(i=this.s.subHtmlSelectorRelative&&!this.s.dynamic?u.find(i).html():n(i).html())):i="");".lg-sub-html"===this.s.appendSubHtmlTo?r?this.$outer.find(this.s.appendSubHtmlTo).load(r):this.$outer.find(this.s.appendSubHtmlTo).html(i):r?this.$slide.eq(t).load(r):this.$slide.eq(t).append(i);"undefined"!=typeof i&&null!==i&&(""===i?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html"));this.$el.trigger("onAfterAppendSubHtml.lg",[t])};t.prototype.preload=function(n){for(var i=1,t=1,i=1;i<=this.s.preload&&!(i>=this.$items.length-n);i++)this.loadContent(n+i,!1,0);for(t=1;t<=this.s.preload&&!(n-t<0);t++)this.loadContent(n-t,!1,0)};t.prototype.loadContent=function(t,i,r){var o,e,a,s,h,v,u=this,c=!1,p=function(t){for(var i,o,r,u=[],s=[],f=0;f<t.length;f++)i=t[f].split(" "),""===i[0]&&i.splice(0,1),s.push(i[0]),u.push(i[1]);for(o=n(window).width(),r=0;r<u.length;r++)if(parseInt(u[r],10)>o){e=s[r];break}},w,b,l,f,y;if(u.s.dynamic?((u.s.dynamicEl[t].poster&&(c=!0,a=u.s.dynamicEl[t].poster),v=u.s.dynamicEl[t].html,e=u.s.dynamicEl[t].src,u.s.dynamicEl[t].responsive)&&(w=u.s.dynamicEl[t].responsive.split(","),p(w)),s=u.s.dynamicEl[t].srcset,h=u.s.dynamicEl[t].sizes):((u.$items.eq(t).attr("data-poster")&&(c=!0,a=u.$items.eq(t).attr("data-poster")),v=u.$items.eq(t).attr("data-html"),e=u.$items.eq(t).attr("href")||u.$items.eq(t).attr("data-src"),u.$items.eq(t).attr("data-responsive"))&&(b=u.$items.eq(t).attr("data-responsive").split(","),p(b)),s=u.$items.eq(t).attr("data-srcset"),h=u.$items.eq(t).attr("data-sizes")),l=!1,u.s.dynamic?u.s.dynamicEl[t].iframe&&(l=!0):"true"===u.$items.eq(t).attr("data-iframe")&&(l=!0),f=u.isVideo(e,t),!u.$slide.eq(t).hasClass("lg-loaded")){if(l?u.$slide.eq(t).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+u.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+e+'"  allowfullscreen="true"><\/iframe><\/div><\/div>'):c?(y="",y=f&&f.youtube?"lg-has-youtube":f&&f.vimeo?"lg-has-vimeo":"lg-has-html5",u.$slide.eq(t).prepend('<div class="lg-video-cont '+y+' "><div class="lg-video"><span class="lg-video-play"><\/span><img class="lg-object lg-has-poster" src="'+a+'" /><\/div><\/div>')):f?(u.$slide.eq(t).prepend('<div class="lg-video-cont "><div class="lg-video"><\/div><\/div>'),u.$el.trigger("hasVideo.lg",[t,e,v])):u.$slide.eq(t).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+e+'" /><\/div>'),u.$el.trigger("onAferAppendSlide.lg",[t]),o=u.$slide.eq(t).find(".lg-object"),h&&o.attr("sizes",h),s){o.attr("srcset",s);try{picturefill({elements:[o[0]]})}catch(n){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&u.addHtml(t);u.$slide.eq(t).addClass("lg-loaded")}u.$slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){var i=0;r&&!n("body").hasClass("lg-from-hash")&&(i=r);setTimeout(function(){u.$slide.eq(t).addClass("lg-complete");u.$el.trigger("onSlideItemLoad.lg",[t,r||0])},i)});f&&f.html5&&!c&&u.$slide.eq(t).addClass("lg-complete");i===!0&&(u.$slide.eq(t).hasClass("lg-complete")?u.preload(t):u.$slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){u.preload(t)}))};t.prototype.slide=function(t,i,r,u){var e=this.$outer.find(".lg-current").index(),f=this,o,l,c,s,h;f.lGalleryOn&&e===t||(o=this.$slide.length,l=f.lGalleryOn?this.s.speed:0,f.lgBusy||(this.s.download&&(c=f.s.dynamic?f.s.dynamicEl[t].downloadUrl!==!1&&(f.s.dynamicEl[t].downloadUrl||f.s.dynamicEl[t].src):"false"!==f.$items.eq(t).attr("data-download-url")&&(f.$items.eq(t).attr("data-download-url")||f.$items.eq(t).attr("href")||f.$items.eq(t).attr("data-src")),c?(n("#lg-download").attr("href",c),f.$outer.removeClass("lg-hide-download")):f.$outer.addClass("lg-hide-download")),(this.$el.trigger("onBeforeSlide.lg",[e,t,i,r]),f.lgBusy=!0,clearTimeout(f.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){f.addHtml(t)},l),this.arrowDisable(t),u||(t<e?u="prev":t>e&&(u="next")),i)?(this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),o>2?(s=t-1,h=t+1,0===t&&e===o-1?(h=0,s=o-1):t===o-1&&0===e&&(h=0,s=o-1)):(s=0,h=1),"prev"===u?f.$slide.eq(h).addClass("lg-next-slide"):f.$slide.eq(s).addClass("lg-prev-slide"),f.$slide.eq(t).addClass("lg-current")):(f.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===u?(this.$slide.eq(t).addClass("lg-prev-slide"),this.$slide.eq(e).addClass("lg-next-slide")):(this.$slide.eq(t).addClass("lg-next-slide"),this.$slide.eq(e).addClass("lg-prev-slide")),setTimeout(function(){f.$slide.removeClass("lg-current");f.$slide.eq(t).addClass("lg-current");f.$outer.removeClass("lg-no-trans")},50)),f.lGalleryOn?(setTimeout(function(){f.loadContent(t,!0,0)},this.s.speed+50),setTimeout(function(){f.lgBusy=!1;f.$el.trigger("onAfterSlide.lg",[e,t,i,r])},this.s.speed)):(f.loadContent(t,!0,f.s.backdropDuration),f.lgBusy=!1,f.$el.trigger("onAfterSlide.lg",[e,t,i,r])),f.lGalleryOn=!0,this.s.counter&&n("#lg-counter-current").text(t+1)))};t.prototype.goToNextSlide=function(n){var t=this,i=t.s.loop;n&&t.$slide.length<3&&(i=!1);t.lgBusy||(t.index+1<t.$slide.length?(t.index++,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,n,!1,"next")):i?(t.index=0,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,n,!1,"next")):t.s.slideEndAnimatoin&&!n&&(t.$outer.addClass("lg-right-end"),setTimeout(function(){t.$outer.removeClass("lg-right-end")},400)))};t.prototype.goToPrevSlide=function(n){var t=this,i=t.s.loop;n&&t.$slide.length<3&&(i=!1);t.lgBusy||(t.index>0?(t.index--,t.$el.trigger("onBeforePrevSlide.lg",[t.index,n]),t.slide(t.index,n,!1,"prev")):i?(t.index=t.$items.length-1,t.$el.trigger("onBeforePrevSlide.lg",[t.index,n]),t.slide(t.index,n,!1,"prev")):t.s.slideEndAnimatoin&&!n&&(t.$outer.addClass("lg-left-end"),setTimeout(function(){t.$outer.removeClass("lg-left-end")},400)))};t.prototype.keyPress=function(){var t=this;this.$items.length>1&&n(window).on("keyup.lg",function(n){t.$items.length>1&&(37===n.keyCode&&(n.preventDefault(),t.goToPrevSlide()),39===n.keyCode&&(n.preventDefault(),t.goToNextSlide()))});n(window).on("keydown.lg",function(n){t.s.escKey===!0&&27===n.keyCode&&(n.preventDefault(),t.$outer.hasClass("lg-thumb-open")?t.$outer.removeClass("lg-thumb-open"):t.destroy())})};t.prototype.arrow=function(){var n=this;this.$outer.find(".lg-prev").on("click.lg",function(){n.goToPrevSlide()});this.$outer.find(".lg-next").on("click.lg",function(){n.goToNextSlide()})};t.prototype.arrowDisable=function(n){!this.s.loop&&this.s.hideControlOnEnd&&(n+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),n>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))};t.prototype.setTranslate=function(n,t,i){this.s.useLeft?n.css("left",t):n.css({transform:"translate3d("+t+"px, "+i+"px, 0px)"})};t.prototype.touchMove=function(t,i){var r=i-t;Math.abs(r)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),r,0),this.setTranslate(n(".lg-prev-slide"),-this.$slide.eq(this.index).width()+r,0),this.setTranslate(n(".lg-next-slide"),this.$slide.eq(this.index).width()+r,0))};t.prototype.touchEnd=function(n){var t=this;"lg-slide"!==t.s.mode&&t.$outer.addClass("lg-slide");this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0");setTimeout(function(){t.$outer.removeClass("lg-dragging");n<0&&Math.abs(n)>t.s.swipeThreshold?t.goToNextSlide(!0):n>0&&Math.abs(n)>t.s.swipeThreshold?t.goToPrevSlide(!0):Math.abs(n)<5&&t.$el.trigger("onSlideClick.lg");t.$slide.removeAttr("style")});setTimeout(function(){t.$outer.hasClass("lg-dragging")||"lg-slide"===t.s.mode||t.$outer.removeClass("lg-slide")},t.s.speed+100)};t.prototype.enableSwipe=function(){var n=this,t=0,i=0,r=!1;n.s.enableSwipe&&n.doCss()&&(n.$slide.on("touchstart.lg",function(i){n.$outer.hasClass("lg-zoomed")||n.lgBusy||(i.preventDefault(),n.manageSwipeClass(),t=i.originalEvent.targetTouches[0].pageX)}),n.$slide.on("touchmove.lg",function(u){n.$outer.hasClass("lg-zoomed")||(u.preventDefault(),i=u.originalEvent.targetTouches[0].pageX,n.touchMove(t,i),r=!0)}),n.$slide.on("touchend.lg",function(){n.$outer.hasClass("lg-zoomed")||(r?(r=!1,n.touchEnd(i-t)):n.$el.trigger("onSlideClick.lg"))}))};t.prototype.enableDrag=function(){var t=this,r=0,u=0,i=!1,f=!1;t.s.enableDrag&&t.doCss()&&(t.$slide.on("mousedown.lg",function(u){t.$outer.hasClass("lg-zoomed")||(n(u.target).hasClass("lg-object")||n(u.target).hasClass("lg-video-play"))&&(u.preventDefault(),t.lgBusy||(t.manageSwipeClass(),r=u.pageX,i=!0,t.$outer.scrollLeft+=1,t.$outer.scrollLeft-=1,t.$outer.removeClass("lg-grab").addClass("lg-grabbing"),t.$el.trigger("onDragstart.lg")))}),n(window).on("mousemove.lg",function(n){i&&(f=!0,u=n.pageX,t.touchMove(r,u),t.$el.trigger("onDragmove.lg"))}),n(window).on("mouseup.lg",function(e){f?(f=!1,t.touchEnd(u-r),t.$el.trigger("onDragend.lg")):(n(e.target).hasClass("lg-object")||n(e.target).hasClass("lg-video-play"))&&t.$el.trigger("onSlideClick.lg");i&&(i=!1,t.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))};t.prototype.manageSwipeClass=function(){var t=this.index+1,n=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?n=this.$slide.length-1:this.index===this.$slide.length-1&&(t=0));this.$slide.removeClass("lg-next-slide lg-prev-slide");n>-1&&this.$slide.eq(n).addClass("lg-prev-slide");this.$slide.eq(t).addClass("lg-next-slide")};t.prototype.mousewheel=function(){var n=this;n.$outer.on("mousewheel.lg",function(t){t.deltaY&&(t.deltaY>0?n.goToPrevSlide():n.goToNextSlide(),t.preventDefault())})};t.prototype.closeGallery=function(){var t=this,i=!1;this.$outer.find(".lg-close").on("click.lg",function(){t.destroy()});t.s.closable&&(t.$outer.on("mousedown.lg",function(t){i=!!(n(t.target).is(".lg-outer")||n(t.target).is(".lg-item ")||n(t.target).is(".lg-img-wrap"))}),t.$outer.on("mouseup.lg",function(r){(n(r.target).is(".lg-outer")||n(r.target).is(".lg-item ")||n(r.target).is(".lg-img-wrap")&&i)&&(t.$outer.hasClass("lg-dragging")||t.destroy())}))};t.prototype.destroy=function(t){var i=this;t||(i.$el.trigger("onBeforeClose.lg"),n(window).scrollTop(i.prevScrollTop));t&&(i.s.dynamic||this.$items.off("click.lg click.lgcustom"),n.removeData(i.el,"lightGallery"));this.$el.off(".lg.tm");n.each(n.fn.lightGallery.modules,function(n){i.modules[n]&&i.modules[n].destroy()});this.lGalleryOn=!1;clearTimeout(i.hideBartimeout);this.hideBartimeout=!1;n(window).off(".lg");n("body").removeClass("lg-on lg-from-hash");i.$outer&&i.$outer.removeClass("lg-visible");n(".lg-backdrop").removeClass("in");setTimeout(function(){i.$outer&&i.$outer.remove();n(".lg-backdrop").remove();t||i.$el.trigger("onCloseAfter.lg")},i.s.backdropDuration+50)};n.fn.lightGallery=function(i){return this.each(function(){if(n.data(this,"lightGallery"))try{n(this).data("lightGallery").init()}catch(n){console.error("lightGallery has not initiated properly")}else n.data(this,"lightGallery",new t(this,i))})};n.fn.lightGallery.modules={}}()});!function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(n.jQuery)}(this,function(n){!function(){"use strict";function t(t,r){if(this.el=t,this.$el=n(t),this.s=n.extend({},i,r),this.s.dynamic&&"undefined"!==this.s.dynamicEl&&this.s.dynamicEl.constructor===Array&&!this.s.dynamicEl.length)throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.modules={},this.lGalleryOn=!1,this.lgBusy=!1,this.hideBartimeout=!1,this.isTouch="ontouchstart"in document.documentElement,this.s.slideEndAnimatoin&&(this.s.hideControlOnEnd=!1),this.$items=this.s.dynamic?this.s.dynamicEl:"this"===this.s.selector?this.$el:""!==this.s.selector?this.s.selectWithin?n(this.s.selectWithin).find(this.s.selector):this.$el.find(n(this.s.selector)):this.$el.children(),this.$slide="",this.$outer="",this.init(),this}var i={mode:"lg-slide",cssEasing:"ease",easing:"linear",speed:600,height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:150,hideBarsDelay:6e3,useLeft:!1,closable:!0,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimatoin:!0,hideControlOnEnd:!1,mousewheel:!0,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:1,showAfterLoad:!0,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:!1,iframeMaxWidth:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],galleryId:1};t.prototype.init=function(){var t=this,i;t.s.preload>t.$items.length&&(t.s.preload=t.$items.length);i=window.location.hash;i.indexOf("lg="+this.s.galleryId)>0&&(t.index=parseInt(i.split("&slide=")[1],10),n("body").addClass("lg-from-hash"),n("body").hasClass("lg-on")||(setTimeout(function(){t.build(t.index)}),n("body").addClass("lg-on")));t.s.dynamic?(t.$el.trigger("onBeforeOpen.lg"),t.index=t.s.index||0,n("body").hasClass("lg-on")||setTimeout(function(){t.build(t.index);n("body").addClass("lg-on")})):t.$items.on("click.lgcustom",function(i){try{i.preventDefault();i.preventDefault()}catch(n){i.returnValue=!1}t.$el.trigger("onBeforeOpen.lg");t.index=t.s.index||t.$items.index(this);n("body").hasClass("lg-on")||(t.build(t.index),n("body").addClass("lg-on"))})};t.prototype.build=function(t){var i=this;i.structure();n.each(n.fn.lightGallery.modules,function(t){i.modules[t]=new n.fn.lightGallery.modules[t](i.el)});i.slide(t,!1,!1,!1);i.s.keyPress&&i.keyPress();i.$items.length>1?(i.arrow(),setTimeout(function(){i.enableDrag();i.enableSwipe()},50),i.s.mousewheel&&i.mousewheel()):i.$slide.on("click.lg",function(){i.$el.trigger("onSlideClick.lg")});i.counter();i.closeGallery();i.$el.trigger("onAfterOpen.lg");i.$outer.on("mousemove.lg click.lg touchstart.lg",function(){i.$outer.removeClass("lg-hide-items");clearTimeout(i.hideBartimeout);i.hideBartimeout=setTimeout(function(){i.$outer.addClass("lg-hide-items")},i.s.hideBarsDelay)});i.$outer.trigger("mousemove.lg")};t.prototype.structure=function(){var u,f="",e="",t=0,o="",i=this,r;for(n("body").append('<div class="lg-backdrop"><\/div>'),n(".lg-backdrop").css("transition-duration",this.s.backdropDuration+"ms"),t=0;t<this.$items.length;t++)f+='<div class="lg-item"><\/div>';(this.s.controls&&this.$items.length>1&&(e='<div class="lg-actions"><button class="lg-prev lg-icon">'+this.s.prevHtml+'<\/button><button class="lg-next lg-icon">'+this.s.nextHtml+"<\/button><\/div>"),".lg-sub-html"===this.s.appendSubHtmlTo&&(o='<div class="lg-sub-html"><\/div>'),u='<div class="lg-outer '+this.s.addClass+" "+this.s.startClass+'"><div class="lg" style="width:'+this.s.width+"; height:"+this.s.height+'"><div class="lg-inner">'+f+'<\/div><div class="lg-toolbar lg-group"><span class="lg-close lg-icon"><\/span><\/div>'+e+o+"<\/div><\/div>",n("body").append(u),this.$outer=n(".lg-outer"),this.$slide=this.$outer.find(".lg-item"),this.s.useLeft?(this.$outer.addClass("lg-use-left"),this.s.mode="lg-slide"):this.$outer.addClass("lg-use-css3"),i.setTop(),n(window).on("resize.lg orientationchange.lg",function(){setTimeout(function(){i.setTop()},100)}),this.$slide.eq(this.index).addClass("lg-current"),this.doCss()?this.$outer.addClass("lg-css3"):(this.$outer.addClass("lg-css"),this.s.speed=0),this.$outer.addClass(this.s.mode),this.s.enableDrag&&this.$items.length>1&&this.$outer.addClass("lg-grab"),this.s.showAfterLoad&&this.$outer.addClass("lg-show-after-load"),this.doCss())&&(r=this.$outer.find(".lg-inner"),r.css("transition-timing-function",this.s.cssEasing),r.css("transition-duration",this.s.speed+"ms"));setTimeout(function(){n(".lg-backdrop").addClass("in")});setTimeout(function(){i.$outer.addClass("lg-visible")},this.s.backdropDuration);this.s.download&&this.$outer.find(".lg-toolbar").append('<a id="lg-download" target="_blank" download class="lg-download lg-icon"><\/a>');this.prevScrollTop=n(window).scrollTop()};t.prototype.setTop=function(){if("100%"!==this.s.height){var t=n(window).height(),r=(t-parseInt(this.s.height,10))/2,i=this.$outer.find(".lg");t>=parseInt(this.s.height,10)?i.css("top",r+"px"):i.css("top","0px")}};t.prototype.doCss=function(){var n=function(){for(var t=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],i=document.documentElement,n=0,n=0;n<t.length;n++)if(t[n]in i.style)return!0};return!!n()};t.prototype.isVideo=function(n,t){var i;if(i=this.s.dynamic?this.s.dynamicEl[t].html:this.$items.eq(t).attr("data-html"),!n)return i?{html5:!0}:(console.error("lightGallery :- data-src is not pvovided on slide item "+(t+1)+". Please make sure the selector property is properly configured. More info - http://sachinchoolur.github.io/lightGallery/demos/html-markup.html"),!1);var r=n.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)/i),u=n.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i),f=n.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i),e=n.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);return r?{youtube:r}:u?{vimeo:u}:f?{dailymotion:f}:e?{vk:e}:void 0};t.prototype.counter=function(){this.s.counter&&n(this.s.appendCounterTo).append('<div id="lg-counter"><span id="lg-counter-current">'+(parseInt(this.index,10)+1)+'<\/span> / <span id="lg-counter-all">'+this.$items.length+"<\/span><\/div>")};t.prototype.addHtml=function(t){var r,u,i=null,f;(this.s.dynamic?this.s.dynamicEl[t].subHtmlUrl?r=this.s.dynamicEl[t].subHtmlUrl:i=this.s.dynamicEl[t].subHtml:(u=this.$items.eq(t),u.attr("data-sub-html-url")?r=u.attr("data-sub-html-url"):(i=u.attr("data-sub-html"),this.s.getCaptionFromTitleOrAlt&&!i&&(i=u.attr("title")||u.find("img").first().attr("alt")))),r)||("undefined"!=typeof i&&null!==i?(f=i.substring(0,1),"."!==f&&"#"!==f||(i=this.s.subHtmlSelectorRelative&&!this.s.dynamic?u.find(i).html():n(i).html())):i="");".lg-sub-html"===this.s.appendSubHtmlTo?r?this.$outer.find(this.s.appendSubHtmlTo).load(r):this.$outer.find(this.s.appendSubHtmlTo).html(i):r?this.$slide.eq(t).load(r):this.$slide.eq(t).append(i);"undefined"!=typeof i&&null!==i&&(""===i?this.$outer.find(this.s.appendSubHtmlTo).addClass("lg-empty-html"):this.$outer.find(this.s.appendSubHtmlTo).removeClass("lg-empty-html"));this.$el.trigger("onAfterAppendSubHtml.lg",[t])};t.prototype.preload=function(n){for(var i=1,t=1,i=1;i<=this.s.preload&&!(i>=this.$items.length-n);i++)this.loadContent(n+i,!1,0);for(t=1;t<=this.s.preload&&!(n-t<0);t++)this.loadContent(n-t,!1,0)};t.prototype.loadContent=function(t,i,r){var o,e,a,s,h,v,u=this,c=!1,p=function(t){for(var i,o,r,u=[],s=[],f=0;f<t.length;f++)i=t[f].split(" "),""===i[0]&&i.splice(0,1),s.push(i[0]),u.push(i[1]);for(o=n(window).width(),r=0;r<u.length;r++)if(parseInt(u[r],10)>o){e=s[r];break}},w,b,l,f,y;if(u.s.dynamic?((u.s.dynamicEl[t].poster&&(c=!0,a=u.s.dynamicEl[t].poster),v=u.s.dynamicEl[t].html,e=u.s.dynamicEl[t].src,u.s.dynamicEl[t].responsive)&&(w=u.s.dynamicEl[t].responsive.split(","),p(w)),s=u.s.dynamicEl[t].srcset,h=u.s.dynamicEl[t].sizes):((u.$items.eq(t).attr("data-poster")&&(c=!0,a=u.$items.eq(t).attr("data-poster")),v=u.$items.eq(t).attr("data-html"),e=u.$items.eq(t).attr("href")||u.$items.eq(t).attr("data-src"),u.$items.eq(t).attr("data-responsive"))&&(b=u.$items.eq(t).attr("data-responsive").split(","),p(b)),s=u.$items.eq(t).attr("data-srcset"),h=u.$items.eq(t).attr("data-sizes")),l=!1,u.s.dynamic?u.s.dynamicEl[t].iframe&&(l=!0):"true"===u.$items.eq(t).attr("data-iframe")&&(l=!0),f=u.isVideo(e,t),!u.$slide.eq(t).hasClass("lg-loaded")){if(l?u.$slide.eq(t).prepend('<div class="lg-video-cont lg-has-iframe" style="max-width:'+u.s.iframeMaxWidth+'"><div class="lg-video"><iframe class="lg-object" frameborder="0" src="'+e+'"  allowfullscreen="true"><\/iframe><\/div><\/div>'):c?(y="",y=f&&f.youtube?"lg-has-youtube":f&&f.vimeo?"lg-has-vimeo":"lg-has-html5",u.$slide.eq(t).prepend('<div class="lg-video-cont '+y+' "><div class="lg-video"><span class="lg-video-play"><\/span><img class="lg-object lg-has-poster" src="'+a+'" /><\/div><\/div>')):f?(u.$slide.eq(t).prepend('<div class="lg-video-cont "><div class="lg-video"><\/div><\/div>'),u.$el.trigger("hasVideo.lg",[t,e,v])):u.$slide.eq(t).prepend('<div class="lg-img-wrap"><img class="lg-object lg-image" src="'+e+'" /><\/div>'),u.$el.trigger("onAferAppendSlide.lg",[t]),o=u.$slide.eq(t).find(".lg-object"),h&&o.attr("sizes",h),s){o.attr("srcset",s);try{picturefill({elements:[o[0]]})}catch(n){console.warn("lightGallery :- If you want srcset to be supported for older browser please include picturefil version 2 javascript library in your document.")}}".lg-sub-html"!==this.s.appendSubHtmlTo&&u.addHtml(t);u.$slide.eq(t).addClass("lg-loaded")}u.$slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){var i=0;r&&!n("body").hasClass("lg-from-hash")&&(i=r);setTimeout(function(){u.$slide.eq(t).addClass("lg-complete");u.$el.trigger("onSlideItemLoad.lg",[t,r||0])},i)});f&&f.html5&&!c&&u.$slide.eq(t).addClass("lg-complete");i===!0&&(u.$slide.eq(t).hasClass("lg-complete")?u.preload(t):u.$slide.eq(t).find(".lg-object").on("load.lg error.lg",function(){u.preload(t)}))};t.prototype.slide=function(t,i,r,u){var e=this.$outer.find(".lg-current").index(),f=this,o,l,c,s,h;f.lGalleryOn&&e===t||(o=this.$slide.length,l=f.lGalleryOn?this.s.speed:0,f.lgBusy||(this.s.download&&(c=f.s.dynamic?f.s.dynamicEl[t].downloadUrl!==!1&&(f.s.dynamicEl[t].downloadUrl||f.s.dynamicEl[t].src):"false"!==f.$items.eq(t).attr("data-download-url")&&(f.$items.eq(t).attr("data-download-url")||f.$items.eq(t).attr("href")||f.$items.eq(t).attr("data-src")),c?(n("#lg-download").attr("href",c),f.$outer.removeClass("lg-hide-download")):f.$outer.addClass("lg-hide-download")),(this.$el.trigger("onBeforeSlide.lg",[e,t,i,r]),f.lgBusy=!0,clearTimeout(f.hideBartimeout),".lg-sub-html"===this.s.appendSubHtmlTo&&setTimeout(function(){f.addHtml(t)},l),this.arrowDisable(t),u||(t<e?u="prev":t>e&&(u="next")),i)?(this.$slide.removeClass("lg-prev-slide lg-current lg-next-slide"),o>2?(s=t-1,h=t+1,0===t&&e===o-1?(h=0,s=o-1):t===o-1&&0===e&&(h=0,s=o-1)):(s=0,h=1),"prev"===u?f.$slide.eq(h).addClass("lg-next-slide"):f.$slide.eq(s).addClass("lg-prev-slide"),f.$slide.eq(t).addClass("lg-current")):(f.$outer.addClass("lg-no-trans"),this.$slide.removeClass("lg-prev-slide lg-next-slide"),"prev"===u?(this.$slide.eq(t).addClass("lg-prev-slide"),this.$slide.eq(e).addClass("lg-next-slide")):(this.$slide.eq(t).addClass("lg-next-slide"),this.$slide.eq(e).addClass("lg-prev-slide")),setTimeout(function(){f.$slide.removeClass("lg-current");f.$slide.eq(t).addClass("lg-current");f.$outer.removeClass("lg-no-trans")},50)),f.lGalleryOn?(setTimeout(function(){f.loadContent(t,!0,0)},this.s.speed+50),setTimeout(function(){f.lgBusy=!1;f.$el.trigger("onAfterSlide.lg",[e,t,i,r])},this.s.speed)):(f.loadContent(t,!0,f.s.backdropDuration),f.lgBusy=!1,f.$el.trigger("onAfterSlide.lg",[e,t,i,r])),f.lGalleryOn=!0,this.s.counter&&n("#lg-counter-current").text(t+1)))};t.prototype.goToNextSlide=function(n){var t=this,i=t.s.loop;n&&t.$slide.length<3&&(i=!1);t.lgBusy||(t.index+1<t.$slide.length?(t.index++,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,n,!1,"next")):i?(t.index=0,t.$el.trigger("onBeforeNextSlide.lg",[t.index]),t.slide(t.index,n,!1,"next")):t.s.slideEndAnimatoin&&!n&&(t.$outer.addClass("lg-right-end"),setTimeout(function(){t.$outer.removeClass("lg-right-end")},400)))};t.prototype.goToPrevSlide=function(n){var t=this,i=t.s.loop;n&&t.$slide.length<3&&(i=!1);t.lgBusy||(t.index>0?(t.index--,t.$el.trigger("onBeforePrevSlide.lg",[t.index,n]),t.slide(t.index,n,!1,"prev")):i?(t.index=t.$items.length-1,t.$el.trigger("onBeforePrevSlide.lg",[t.index,n]),t.slide(t.index,n,!1,"prev")):t.s.slideEndAnimatoin&&!n&&(t.$outer.addClass("lg-left-end"),setTimeout(function(){t.$outer.removeClass("lg-left-end")},400)))};t.prototype.keyPress=function(){var t=this;this.$items.length>1&&n(window).on("keyup.lg",function(n){t.$items.length>1&&(37===n.keyCode&&(n.preventDefault(),t.goToPrevSlide()),39===n.keyCode&&(n.preventDefault(),t.goToNextSlide()))});n(window).on("keydown.lg",function(n){t.s.escKey===!0&&27===n.keyCode&&(n.preventDefault(),t.$outer.hasClass("lg-thumb-open")?t.$outer.removeClass("lg-thumb-open"):t.destroy())})};t.prototype.arrow=function(){var n=this;this.$outer.find(".lg-prev").on("click.lg",function(){n.goToPrevSlide()});this.$outer.find(".lg-next").on("click.lg",function(){n.goToNextSlide()})};t.prototype.arrowDisable=function(n){!this.s.loop&&this.s.hideControlOnEnd&&(n+1<this.$slide.length?this.$outer.find(".lg-next").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-next").attr("disabled","disabled").addClass("disabled"),n>0?this.$outer.find(".lg-prev").removeAttr("disabled").removeClass("disabled"):this.$outer.find(".lg-prev").attr("disabled","disabled").addClass("disabled"))};t.prototype.setTranslate=function(n,t,i){this.s.useLeft?n.css("left",t):n.css({transform:"translate3d("+t+"px, "+i+"px, 0px)"})};t.prototype.touchMove=function(t,i){var r=i-t;Math.abs(r)>15&&(this.$outer.addClass("lg-dragging"),this.setTranslate(this.$slide.eq(this.index),r,0),this.setTranslate(n(".lg-prev-slide"),-this.$slide.eq(this.index).width()+r,0),this.setTranslate(n(".lg-next-slide"),this.$slide.eq(this.index).width()+r,0))};t.prototype.touchEnd=function(n){var t=this;"lg-slide"!==t.s.mode&&t.$outer.addClass("lg-slide");this.$slide.not(".lg-current, .lg-prev-slide, .lg-next-slide").css("opacity","0");setTimeout(function(){t.$outer.removeClass("lg-dragging");n<0&&Math.abs(n)>t.s.swipeThreshold?t.goToNextSlide(!0):n>0&&Math.abs(n)>t.s.swipeThreshold?t.goToPrevSlide(!0):Math.abs(n)<5&&t.$el.trigger("onSlideClick.lg");t.$slide.removeAttr("style")});setTimeout(function(){t.$outer.hasClass("lg-dragging")||"lg-slide"===t.s.mode||t.$outer.removeClass("lg-slide")},t.s.speed+100)};t.prototype.enableSwipe=function(){var n=this,t=0,i=0,r=!1;n.s.enableSwipe&&n.doCss()&&(n.$slide.on("touchstart.lg",function(i){n.$outer.hasClass("lg-zoomed")||n.lgBusy||(i.preventDefault(),n.manageSwipeClass(),t=i.originalEvent.targetTouches[0].pageX)}),n.$slide.on("touchmove.lg",function(u){n.$outer.hasClass("lg-zoomed")||(u.preventDefault(),i=u.originalEvent.targetTouches[0].pageX,n.touchMove(t,i),r=!0)}),n.$slide.on("touchend.lg",function(){n.$outer.hasClass("lg-zoomed")||(r?(r=!1,n.touchEnd(i-t)):n.$el.trigger("onSlideClick.lg"))}))};t.prototype.enableDrag=function(){var t=this,r=0,u=0,i=!1,f=!1;t.s.enableDrag&&t.doCss()&&(t.$slide.on("mousedown.lg",function(u){t.$outer.hasClass("lg-zoomed")||(n(u.target).hasClass("lg-object")||n(u.target).hasClass("lg-video-play"))&&(u.preventDefault(),t.lgBusy||(t.manageSwipeClass(),r=u.pageX,i=!0,t.$outer.scrollLeft+=1,t.$outer.scrollLeft-=1,t.$outer.removeClass("lg-grab").addClass("lg-grabbing"),t.$el.trigger("onDragstart.lg")))}),n(window).on("mousemove.lg",function(n){i&&(f=!0,u=n.pageX,t.touchMove(r,u),t.$el.trigger("onDragmove.lg"))}),n(window).on("mouseup.lg",function(e){f?(f=!1,t.touchEnd(u-r),t.$el.trigger("onDragend.lg")):(n(e.target).hasClass("lg-object")||n(e.target).hasClass("lg-video-play"))&&t.$el.trigger("onSlideClick.lg");i&&(i=!1,t.$outer.removeClass("lg-grabbing").addClass("lg-grab"))}))};t.prototype.manageSwipeClass=function(){var t=this.index+1,n=this.index-1;this.s.loop&&this.$slide.length>2&&(0===this.index?n=this.$slide.length-1:this.index===this.$slide.length-1&&(t=0));this.$slide.removeClass("lg-next-slide lg-prev-slide");n>-1&&this.$slide.eq(n).addClass("lg-prev-slide");this.$slide.eq(t).addClass("lg-next-slide")};t.prototype.mousewheel=function(){var n=this;n.$outer.on("mousewheel.lg",function(t){t.deltaY&&(t.deltaY>0?n.goToPrevSlide():n.goToNextSlide(),t.preventDefault())})};t.prototype.closeGallery=function(){var t=this,i=!1;this.$outer.find(".lg-close").on("click.lg",function(){t.destroy()});t.s.closable&&(t.$outer.on("mousedown.lg",function(t){i=!!(n(t.target).is(".lg-outer")||n(t.target).is(".lg-item ")||n(t.target).is(".lg-img-wrap"))}),t.$outer.on("mouseup.lg",function(r){(n(r.target).is(".lg-outer")||n(r.target).is(".lg-item ")||n(r.target).is(".lg-img-wrap")&&i)&&(t.$outer.hasClass("lg-dragging")||t.destroy())}))};t.prototype.destroy=function(t){var i=this;t||(i.$el.trigger("onBeforeClose.lg"),n(window).scrollTop(i.prevScrollTop));t&&(i.s.dynamic||this.$items.off("click.lg click.lgcustom"),n.removeData(i.el,"lightGallery"));this.$el.off(".lg.tm");n.each(n.fn.lightGallery.modules,function(n){i.modules[n]&&i.modules[n].destroy()});this.lGalleryOn=!1;clearTimeout(i.hideBartimeout);this.hideBartimeout=!1;n(window).off(".lg");n("body").removeClass("lg-on lg-from-hash");i.$outer&&i.$outer.removeClass("lg-visible");n(".lg-backdrop").removeClass("in");setTimeout(function(){i.$outer&&i.$outer.remove();n(".lg-backdrop").remove();t||i.$el.trigger("onCloseAfter.lg")},i.s.backdropDuration+50)};n.fn.lightGallery=function(i){return this.each(function(){if(n.data(this,"lightGallery"))try{n(this).data("lightGallery").init()}catch(n){console.error("lightGallery has not initiated properly")}else n.data(this,"lightGallery",new t(this,i))})};n.fn.lightGallery.modules={}}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={autoplay:!1,pause:5e3,progressBar:!0,fourceAutoplay:!1,autoplayControls:!0,appendAutoplayControlsTo:".lg-toolbar"},t=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),!(this.core.$items.length<2)&&(this.core.s=n.extend({},i,this.core.s),this.interval=!1,this.fromAuto=!0,this.canceledOnTouch=!1,this.fourceAutoplayTemp=this.core.s.fourceAutoplay,this.core.doCss()||(this.core.s.progressBar=!1),this.init(),this)};t.prototype.init=function(){var n=this;n.core.s.autoplayControls&&n.controls();n.core.s.progressBar&&n.core.$outer.find(".lg").append('<div class="lg-progress-bar"><div class="lg-progress"><\/div><\/div>');n.progress();n.core.s.autoplay&&n.$el.one("onSlideItemLoad.lg.tm",function(){n.startlAuto()});n.$el.on("onDragstart.lg.tm touchstart.lg.tm",function(){n.interval&&(n.cancelAuto(),n.canceledOnTouch=!0)});n.$el.on("onDragend.lg.tm touchend.lg.tm onSlideClick.lg.tm",function(){!n.interval&&n.canceledOnTouch&&(n.startlAuto(),n.canceledOnTouch=!1)})};t.prototype.progress=function(){var t,i,n=this;n.$el.on("onBeforeSlide.lg.tm",function(){n.core.s.progressBar&&n.fromAuto&&(t=n.core.$outer.find(".lg-progress-bar"),i=n.core.$outer.find(".lg-progress"),n.interval&&(i.removeAttr("style"),t.removeClass("lg-start"),setTimeout(function(){i.css("transition","width "+(n.core.s.speed+n.core.s.pause)+"ms ease 0s");t.addClass("lg-start")},20)));n.fromAuto||n.core.s.fourceAutoplay||n.cancelAuto();n.fromAuto=!1})};t.prototype.controls=function(){var t=this;n(this.core.s.appendAutoplayControlsTo).append('<span class="lg-autoplay-button lg-icon"><\/span>');t.core.$outer.find(".lg-autoplay-button").on("click.lg",function(){n(t.core.$outer).hasClass("lg-show-autoplay")?(t.cancelAuto(),t.core.s.fourceAutoplay=!1):t.interval||(t.startlAuto(),t.core.s.fourceAutoplay=t.fourceAutoplayTemp)})};t.prototype.startlAuto=function(){var n=this;n.core.$outer.find(".lg-progress").css("transition","width "+(n.core.s.speed+n.core.s.pause)+"ms ease 0s");n.core.$outer.addClass("lg-show-autoplay");n.core.$outer.find(".lg-progress-bar").addClass("lg-start");n.interval=setInterval(function(){n.core.index+1<n.core.$items.length?n.core.index++:n.core.index=0;n.fromAuto=!0;n.core.slide(n.core.index,!1,!1,"next")},n.core.s.speed+n.core.s.pause)};t.prototype.cancelAuto=function(){clearInterval(this.interval);this.interval=!1;this.core.$outer.find(".lg-progress").removeAttr("style");this.core.$outer.removeClass("lg-show-autoplay");this.core.$outer.find(".lg-progress-bar").removeClass("lg-start")};t.prototype.destroy=function(){this.cancelAuto();this.core.$outer.find(".lg-progress-bar").remove()};n.fn.lightGallery.modules.autoplay=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={fullScreen:!0},t=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),this.core.s=n.extend({},i,this.core.s),this.init(),this};t.prototype.init=function(){var n="";if(this.core.s.fullScreen){if(!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled))return;n='<span class="lg-fullscreen lg-icon"><\/span>';this.core.$outer.find(".lg-toolbar").append(n);this.fullScreen()}};t.prototype.requestFullscreen=function(){var n=document.documentElement;n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen()};t.prototype.exitFullscreen=function(){document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()};t.prototype.fullScreen=function(){var t=this;n(document).on("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg",function(){t.core.$outer.toggleClass("lg-fullscreen-on")});this.core.$outer.find(".lg-fullscreen").on("click.lg",function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?t.exitFullscreen():t.requestFullscreen()})};t.prototype.destroy=function(){this.exitFullscreen();n(document).off("fullscreenchange.lg webkitfullscreenchange.lg mozfullscreenchange.lg MSFullscreenChange.lg")};n.fn.lightGallery.modules.fullscreen=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={pager:!1},t=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),this.core.s=n.extend({},i,this.core.s),this.core.s.pager&&this.core.$items.length>1&&this.init(),this};t.prototype.init=function(){var r,i,e,t=this,f="",u;if(t.core.$outer.find(".lg").append('<div class="lg-pager-outer"><\/div>'),t.core.s.dynamic)for(u=0;u<t.core.s.dynamicEl.length;u++)f+='<span class="lg-pager-cont"> <span class="lg-pager"><\/span><div class="lg-pager-thumb-cont"><span class="lg-caret"><\/span> <img src="'+t.core.s.dynamicEl[u].thumb+'" /><\/div><\/span>';else t.core.$items.each(function(){f+=t.core.s.exThumbImage?'<span class="lg-pager-cont"> <span class="lg-pager"><\/span><div class="lg-pager-thumb-cont"><span class="lg-caret"><\/span> <img src="'+n(this).attr(t.core.s.exThumbImage)+'" /><\/div><\/span>':'<span class="lg-pager-cont"> <span class="lg-pager"><\/span><div class="lg-pager-thumb-cont"><span class="lg-caret"><\/span> <img src="'+n(this).find("img").attr("src")+'" /><\/div><\/span>'});i=t.core.$outer.find(".lg-pager-outer");i.html(f);r=t.core.$outer.find(".lg-pager-cont");r.on("click.lg touchend.lg",function(){var i=n(this);t.core.index=i.index();t.core.slide(t.core.index,!1,!0,!1)});i.on("mouseover.lg",function(){clearTimeout(e);i.addClass("lg-pager-hover")});i.on("mouseout.lg",function(){e=setTimeout(function(){i.removeClass("lg-pager-hover")})});t.core.$el.on("onBeforeSlide.lg.tm",function(n,t,i){r.removeClass("lg-pager-active");r.eq(i).addClass("lg-pager-active")})};t.prototype.destroy=function(){};n.fn.lightGallery.modules.pager=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",thumbWidth:100,thumbHeight:"80px",thumbContHeight:100,thumbMargin:5,exThumbImage:!1,showThumbByDefault:!0,toogleThumb:!0,pullCaptionUp:!0,enableThumbDrag:!0,enableThumbSwipe:!0,swipeThreshold:50,loadYoutubeThumbnail:!0,youtubeThumbSize:1,loadVimeoThumbnail:!0,vimeoThumbSize:"thumbnail_small",loadDailymotionThumbnail:!0},t=function(t){return this.core=n(t).data("lightGallery"),this.core.s=n.extend({},i,this.core.s),this.$el=n(t),this.$thumbOuter=null,this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.$items.length*(this.core.s.thumbWidth+this.core.s.thumbMargin),this.thumbIndex=this.core.index,this.core.s.animateThumb&&(this.core.s.thumbHeight="100%"),this.left=0,this.init(),this};t.prototype.init=function(){var n=this;this.core.s.thumbnail&&this.core.$items.length>1&&(this.core.s.showThumbByDefault&&setTimeout(function(){n.core.$outer.addClass("lg-thumb-open")},700),this.core.s.pullCaptionUp&&this.core.$outer.addClass("lg-pull-caption-up"),this.build(),this.core.s.animateThumb&&this.core.doCss()?(this.core.s.enableThumbDrag&&this.enableThumbDrag(),this.core.s.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toogle(),this.thumbkeyPress())};t.prototype.build=function(){function f(n,i,r){var o,f=t.core.isVideo(n,r)||{},s="";f.youtube||f.vimeo||f.dailymotion?f.youtube?o=t.core.s.loadYoutubeThumbnail?"//img.youtube.com/vi/"+f.youtube[1]+"/"+t.core.s.youtubeThumbSize+".jpg":i:f.vimeo?t.core.s.loadVimeoThumbnail?(o="//i.vimeocdn.com/video/error_"+u+".jpg",s=f.vimeo[1]):o=i:f.dailymotion&&(o=t.core.s.loadDailymotionThumbnail?"//www.dailymotion.com/thumbnail/video/"+f.dailymotion[1]:i):o=i;e+='<div data-vimeo-id="'+s+'" class="lg-thumb-item" style="width:'+t.core.s.thumbWidth+"px; height: "+t.core.s.thumbHeight+"; margin-right: "+t.core.s.thumbMargin+'px"><img src="'+o+'" /><\/div>';s=""}var i,t=this,e="",u="",r;switch(this.core.s.vimeoThumbSize){case"thumbnail_large":u="640";break;case"thumbnail_medium":u="200x150";break;case"thumbnail_small":u="100x75"}if(t.core.$outer.addClass("lg-has-thumb"),t.core.$outer.find(".lg").append('<div class="lg-thumb-outer"><div class="lg-thumb lg-group"><\/div><\/div>'),t.$thumbOuter=t.core.$outer.find(".lg-thumb-outer"),t.thumbOuterWidth=t.$thumbOuter.width(),t.core.s.animateThumb&&t.core.$outer.find(".lg-thumb").css({width:t.thumbTotalWidth+"px",position:"relative"}),this.core.s.animateThumb&&t.$thumbOuter.css("height",t.core.s.thumbContHeight+"px"),t.core.s.dynamic)for(r=0;r<t.core.s.dynamicEl.length;r++)f(t.core.s.dynamicEl[r].src,t.core.s.dynamicEl[r].thumb,r);else t.core.$items.each(function(i){t.core.s.exThumbImage?f(n(this).attr("href")||n(this).attr("data-src"),n(this).attr(t.core.s.exThumbImage),i):f(n(this).attr("href")||n(this).attr("data-src"),n(this).find("img").attr("src"),i)});t.core.$outer.find(".lg-thumb").html(e);i=t.core.$outer.find(".lg-thumb-item");i.each(function(){var i=n(this),r=i.attr("data-vimeo-id");r&&n.getJSON("//www.vimeo.com/api/v2/video/"+r+".json?callback=?",{format:"json"},function(n){i.find("img").attr("src",n[0][t.core.s.vimeoThumbSize])})});i.eq(t.core.index).addClass("active");t.core.$el.on("onBeforeSlide.lg.tm",function(){i.removeClass("active");i.eq(t.core.index).addClass("active")});i.on("click.lg touchend.lg",function(){var i=n(this);setTimeout(function(){(!t.thumbClickable||t.core.lgBusy)&&t.core.doCss()||(t.core.index=i.index(),t.core.slide(t.core.index,!1,!0,!1))},50)});t.core.$el.on("onBeforeSlide.lg.tm",function(){t.animateThumb(t.core.index)});n(window).on("resize.lg.thumb orientationchange.lg.thumb",function(){setTimeout(function(){t.animateThumb(t.core.index);t.thumbOuterWidth=t.$thumbOuter.width()},200)})};t.prototype.setTranslate=function(n){this.core.$outer.find(".lg-thumb").css({transform:"translate3d(-"+n+"px, 0px, 0px)"})};t.prototype.animateThumb=function(n){var i=this.core.$outer.find(".lg-thumb"),t;if(this.core.s.animateThumb){switch(this.core.s.currentPagerPosition){case"left":t=0;break;case"middle":t=this.thumbOuterWidth/2-this.core.s.thumbWidth/2;break;case"right":t=this.thumbOuterWidth-this.core.s.thumbWidth}this.left=(this.core.s.thumbWidth+this.core.s.thumbMargin)*n-1-t;this.left>this.thumbTotalWidth-this.thumbOuterWidth&&(this.left=this.thumbTotalWidth-this.thumbOuterWidth);this.left<0&&(this.left=0);this.core.lGalleryOn?(i.hasClass("on")||this.core.$outer.find(".lg-thumb").css("transition-duration",this.core.s.speed+"ms"),this.core.doCss()||i.animate({left:-this.left+"px"},this.core.s.speed)):this.core.doCss()||i.css("left",-this.left+"px");this.setTranslate(this.left)}};t.prototype.enableThumbDrag=function(){var t=this,u=0,f=0,r=!1,e=!1,i=0;t.$thumbOuter.addClass("lg-grab");t.core.$outer.find(".lg-thumb").on("mousedown.lg.thumb",function(n){t.thumbTotalWidth>t.thumbOuterWidth&&(n.preventDefault(),u=n.pageX,r=!0,t.core.$outer.scrollLeft+=1,t.core.$outer.scrollLeft-=1,t.thumbClickable=!1,t.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))});n(window).on("mousemove.lg.thumb",function(n){r&&(i=t.left,e=!0,f=n.pageX,t.$thumbOuter.addClass("lg-dragging"),i-=f-u,i>t.thumbTotalWidth-t.thumbOuterWidth&&(i=t.thumbTotalWidth-t.thumbOuterWidth),i<0&&(i=0),t.setTranslate(i))});n(window).on("mouseup.lg.thumb",function(){e?(e=!1,t.$thumbOuter.removeClass("lg-dragging"),t.left=i,Math.abs(f-u)<t.core.s.swipeThreshold&&(t.thumbClickable=!0)):t.thumbClickable=!0;r&&(r=!1,t.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab"))})};t.prototype.enableThumbSwipe=function(){var n=this,i=0,r=0,u=!1,t=0;n.core.$outer.find(".lg-thumb").on("touchstart.lg",function(t){n.thumbTotalWidth>n.thumbOuterWidth&&(t.preventDefault(),i=t.originalEvent.targetTouches[0].pageX,n.thumbClickable=!1)});n.core.$outer.find(".lg-thumb").on("touchmove.lg",function(f){n.thumbTotalWidth>n.thumbOuterWidth&&(f.preventDefault(),r=f.originalEvent.targetTouches[0].pageX,u=!0,n.$thumbOuter.addClass("lg-dragging"),t=n.left,t-=r-i,t>n.thumbTotalWidth-n.thumbOuterWidth&&(t=n.thumbTotalWidth-n.thumbOuterWidth),t<0&&(t=0),n.setTranslate(t))});n.core.$outer.find(".lg-thumb").on("touchend.lg",function(){n.thumbTotalWidth>n.thumbOuterWidth&&u?(u=!1,n.$thumbOuter.removeClass("lg-dragging"),Math.abs(r-i)<n.core.s.swipeThreshold&&(n.thumbClickable=!0),n.left=t):n.thumbClickable=!0})};t.prototype.toogle=function(){var n=this;n.core.s.toogleThumb&&(n.core.$outer.addClass("lg-can-toggle"),n.$thumbOuter.append('<span class="lg-toogle-thumb lg-icon"><\/span>'),n.core.$outer.find(".lg-toogle-thumb").on("click.lg",function(){n.core.$outer.toggleClass("lg-thumb-open")}))};t.prototype.thumbkeyPress=function(){var t=this;n(window).on("keydown.lg.thumb",function(n){38===n.keyCode?(n.preventDefault(),t.core.$outer.addClass("lg-thumb-open")):40===n.keyCode&&(n.preventDefault(),t.core.$outer.removeClass("lg-thumb-open"))})};t.prototype.destroy=function(){this.core.s.thumbnail&&this.core.$items.length>1&&(n(window).off("resize.lg.thumb orientationchange.lg.thumb keydown.lg.thumb"),this.$thumbOuter.remove(),this.core.$outer.removeClass("lg-has-thumb"))};n.fn.lightGallery.modules.Thumbnail=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},t=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),this.core.s=n.extend({},i,this.core.s),this.videoLoaded=!1,this.init(),this};t.prototype.init=function(){var t=this,i;t.core.$el.on("hasVideo.lg.tm",function(n,i,r,u){if(t.core.$slide.eq(i).find(".lg-video").append(t.loadVideo(r,"lg-object",!0,i,u)),u)if(t.core.s.videojs)try{videojs(t.core.$slide.eq(i).find(".lg-html5").get(0),t.core.s.videojsOptions,function(){t.videoLoaded||this.play()})}catch(n){console.error("Make sure you have included videojs")}else t.videoLoaded||t.core.$slide.eq(i).find(".lg-html5").get(0).play()});t.core.$el.on("onAferAppendSlide.lg.tm",function(n,i){var r=t.core.$slide.eq(i).find(".lg-video-cont");r.hasClass("lg-has-iframe")||(r.css("max-width",t.core.s.videoMaxWidth),t.videoLoaded=!0)});i=function(n){var i,r,u,e;if(n.find(".lg-object").hasClass("lg-has-poster")&&n.find(".lg-object").is(":visible"))if(n.hasClass("lg-has-video")){var o=n.find(".lg-youtube").get(0),s=n.find(".lg-vimeo").get(0),h=n.find(".lg-dailymotion").get(0),f=n.find(".lg-html5").get(0);if(o)o.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(s)try{$f(s).api("play")}catch(n){console.error("Make sure you have included froogaloop2 js")}else if(h)h.contentWindow.postMessage("play","*");else if(f)if(t.core.s.videojs)try{videojs(f).play()}catch(n){console.error("Make sure you have included videojs")}else f.play();n.addClass("lg-video-playing")}else n.addClass("lg-video-playing lg-has-video"),u=function(i,r){if(n.find(".lg-video").append(t.loadVideo(i,"",!1,t.core.index,r)),r)if(t.core.s.videojs)try{videojs(t.core.$slide.eq(t.core.index).find(".lg-html5").get(0),t.core.s.videojsOptions,function(){this.play()})}catch(n){console.error("Make sure you have included videojs")}else t.core.$slide.eq(t.core.index).find(".lg-html5").get(0).play()},t.core.s.dynamic?(i=t.core.s.dynamicEl[t.core.index].src,r=t.core.s.dynamicEl[t.core.index].html,u(i,r)):(i=t.core.$items.eq(t.core.index).attr("href")||t.core.$items.eq(t.core.index).attr("data-src"),r=t.core.$items.eq(t.core.index).attr("data-html"),u(i,r)),e=n.find(".lg-object"),n.find(".lg-video").append(e),n.find(".lg-video-object").hasClass("lg-html5")||(n.removeClass("lg-complete"),n.find(".lg-video-object").on("load.lg error.lg",function(){n.addClass("lg-complete")}))};t.core.doCss()&&t.core.$items.length>1&&(t.core.s.enableSwipe||t.core.s.enableDrag)?t.core.$el.on("onSlideClick.lg.tm",function(){var n=t.core.$slide.eq(t.core.index);i(n)}):t.core.$slide.on("click.lg",function(){i(n(this))});t.core.$el.on("onBeforeSlide.lg.tm",function(i,r,u){var f=t.core.$slide.eq(r),h=f.find(".lg-youtube").get(0),c=f.find(".lg-vimeo").get(0),l=f.find(".lg-dailymotion").get(0),o=f.find(".lg-vk").get(0),s=f.find(".lg-html5").get(0),a,e;if(h)h.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(c)try{$f(c).api("pause")}catch(n){console.error("Make sure you have included froogaloop2 js")}else if(l)l.contentWindow.postMessage("pause","*");else if(s)if(t.core.s.videojs)try{videojs(s).pause()}catch(n){console.error("Make sure you have included videojs")}else s.pause();o&&n(o).attr("src",n(o).attr("src").replace("&autoplay","&noplay"));a=t.core.s.dynamic?t.core.s.dynamicEl[u].src:t.core.$items.eq(u).attr("href")||t.core.$items.eq(u).attr("data-src");e=t.core.isVideo(a,u)||{};(e.youtube||e.vimeo||e.dailymotion||e.vk)&&t.core.$outer.addClass("lg-hide-download")});t.core.$el.on("onAfterSlide.lg.tm",function(n,i){t.core.$slide.eq(i).removeClass("lg-video-playing")})};t.prototype.loadVideo=function(t,i,r,u,f){var s="",h=1,e="",o=this.core.isVideo(t,u)||{},c;return(r&&(h=this.videoLoaded?0:1),o.youtube)?(e="?wmode=opaque&autoplay="+h+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(e=e+"&"+n.param(this.core.s.youtubePlayerParams)),s='<iframe class="lg-video-object lg-youtube '+i+'" width="560" height="315" src="//www.youtube.com/embed/'+o.youtube[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'):o.vimeo?(e="?autoplay="+h+"&api=1",this.core.s.vimeoPlayerParams&&(e=e+"&"+n.param(this.core.s.vimeoPlayerParams)),s='<iframe class="lg-video-object lg-vimeo '+i+'" width="560" height="315"  src="//player.vimeo.com/video/'+o.vimeo[1]+e+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>'):o.dailymotion?(e="?wmode=opaque&autoplay="+h+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(e=e+"&"+n.param(this.core.s.dailymotionPlayerParams)),s='<iframe class="lg-video-object lg-dailymotion '+i+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+o.dailymotion[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'):o.html5?(c=f.substring(0,1),"."!==c&&"#"!==c||(f=n(f).html()),s=f):o.vk&&(e="&autoplay="+h,this.core.s.vkPlayerParams&&(e=e+"&"+n.param(this.core.s.vkPlayerParams)),s='<iframe class="lg-video-object lg-vk '+i+'" width="560" height="315" src="http://vk.com/video_ext.php?'+o.vk[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'),s};t.prototype.destroy=function(){this.videoLoaded=!1};n.fn.lightGallery.modules.video=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i=function(){var n=!1,t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return t&&parseInt(t[2],10)<54&&(n=!0),n},r={scale:1,zoom:!0,actualSize:!0,enableZoomAfter:300,useLeftForZoom:i()},t=function(t){return this.core=n(t).data("lightGallery"),this.core.s=n.extend({},r,this.core.s),this.core.s.zoom&&this.core.doCss()&&(this.init(),this.zoomabletimeout=!1,this.pageX=n(window).width()/2,this.pageY=n(window).height()/2+n(window).scrollTop()),this};t.prototype.init=function(){var t=this,e='<span id="lg-zoom-in" class="lg-icon"><\/span><span id="lg-zoom-out" class="lg-icon"><\/span>';t.core.s.actualSize&&(e+='<span id="lg-actual-size" class="lg-icon"><\/span>');t.core.s.useLeftForZoom?t.core.$outer.addClass("lg-use-left-for-zoom"):t.core.$outer.addClass("lg-use-transition-for-zoom");this.core.$outer.find(".lg-toolbar").append(e);t.core.$el.on("onSlideItemLoad.lg.tm.zoom",function(i,r,u){var f=t.core.s.enableZoomAfter+u;n("body").hasClass("lg-from-hash")&&u?f=0:n("body").removeClass("lg-from-hash");t.zoomabletimeout=setTimeout(function(){t.core.$slide.eq(r).addClass("lg-zoomable")},f+30)});var i=1,o=function(i){var e,o,r=t.core.$outer.find(".lg-current .lg-image"),s=(n(window).width()-r.prop("offsetWidth"))/2,h=(n(window).height()-r.prop("offsetHeight"))/2+n(window).scrollTop(),u,f;e=t.pageX-s;o=t.pageY-h;u=(i-1)*e;f=(i-1)*o;r.css("transform","scale3d("+i+", "+i+", 1)").attr("data-scale",i);t.core.s.useLeftForZoom?r.parent().css({left:-u+"px",top:-f+"px"}).attr("data-x",u).attr("data-y",f):r.parent().css("transform","translate3d(-"+u+"px, -"+f+"px, 0)").attr("data-x",u).attr("data-y",f)},u=function(){i>1?t.core.$outer.addClass("lg-zoomed"):t.resetZoom();i<1&&(i=1);o(i)},f=function(r,f,e,o){var h,s=f.prop("offsetWidth"),c;h=t.core.s.dynamic?t.core.s.dynamicEl[e].width||f[0].naturalWidth||s:t.core.$items.eq(e).attr("data-width")||f[0].naturalWidth||s;t.core.$outer.hasClass("lg-zoomed")?i=1:h>s&&(c=h/s,i=c||2);o?(t.pageX=n(window).width()/2,t.pageY=n(window).height()/2+n(window).scrollTop()):(t.pageX=r.pageX||r.originalEvent.targetTouches[0].pageX,t.pageY=r.pageY||r.originalEvent.targetTouches[0].pageY);u();setTimeout(function(){t.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")},10)},r=!1;t.core.$el.on("onAferAppendSlide.lg.tm.zoom",function(n,i){var u=t.core.$slide.eq(i).find(".lg-image");u.on("dblclick",function(n){f(n,u,i)});u.on("touchstart",function(n){r?(clearTimeout(r),r=null,f(n,u,i)):r=setTimeout(function(){r=null},300);n.preventDefault()})});n(window).on("resize.lg.zoom scroll.lg.zoom orientationchange.lg.zoom",function(){t.pageX=n(window).width()/2;t.pageY=n(window).height()/2+n(window).scrollTop();o(i)});n("#lg-zoom-out").on("click.lg",function(){t.core.$outer.find(".lg-current .lg-image").length&&(i-=t.core.s.scale,u())});n("#lg-zoom-in").on("click.lg",function(){t.core.$outer.find(".lg-current .lg-image").length&&(i+=t.core.s.scale,u())});n("#lg-actual-size").on("click.lg",function(n){f(n,t.core.$slide.eq(t.core.index).find(".lg-image"),t.core.index,!0)});t.core.$el.on("onBeforeSlide.lg.tm",function(){i=1;t.resetZoom()});t.zoomDrag();t.zoomSwipe()};t.prototype.resetZoom=function(){this.core.$outer.removeClass("lg-zoomed");this.core.$slide.find(".lg-img-wrap").removeAttr("style data-x data-y");this.core.$slide.find(".lg-image").removeAttr("style data-scale");this.pageX=n(window).width()/2;this.pageY=n(window).height()/2+n(window).scrollTop()};t.prototype.zoomSwipe=function(){var n=this,t={},i={},f=!1,r=!1,u=!1;n.core.$slide.on("touchstart.lg",function(i){if(n.core.$outer.hasClass("lg-zoomed")){var f=n.core.$slide.eq(n.core.index).find(".lg-object");u=f.prop("offsetHeight")*f.attr("data-scale")>n.core.$outer.find(".lg").height();r=f.prop("offsetWidth")*f.attr("data-scale")>n.core.$outer.find(".lg").width();(r||u)&&(i.preventDefault(),t={x:i.originalEvent.targetTouches[0].pageX,y:i.originalEvent.targetTouches[0].pageY})}});n.core.$slide.on("touchmove.lg",function(e){if(n.core.$outer.hasClass("lg-zoomed")){var s,h,o=n.core.$slide.eq(n.core.index).find(".lg-img-wrap");e.preventDefault();f=!0;i={x:e.originalEvent.targetTouches[0].pageX,y:e.originalEvent.targetTouches[0].pageY};n.core.$outer.addClass("lg-zoom-dragging");h=u?-Math.abs(o.attr("data-y"))+(i.y-t.y):-Math.abs(o.attr("data-y"));s=r?-Math.abs(o.attr("data-x"))+(i.x-t.x):-Math.abs(o.attr("data-x"));(Math.abs(i.x-t.x)>15||Math.abs(i.y-t.y)>15)&&(n.core.s.useLeftForZoom?o.css({left:s+"px",top:h+"px"}):o.css("transform","translate3d("+s+"px, "+h+"px, 0)"))}});n.core.$slide.on("touchend.lg",function(){n.core.$outer.hasClass("lg-zoomed")&&f&&(f=!1,n.core.$outer.removeClass("lg-zoom-dragging"),n.touchendZoom(t,i,r,u))})};t.prototype.zoomDrag=function(){var t=this,r={},i={},u=!1,o=!1,f=!1,e=!1;t.core.$slide.on("mousedown.lg.zoom",function(i){var o=t.core.$slide.eq(t.core.index).find(".lg-object");e=o.prop("offsetHeight")*o.attr("data-scale")>t.core.$outer.find(".lg").height();f=o.prop("offsetWidth")*o.attr("data-scale")>t.core.$outer.find(".lg").width();t.core.$outer.hasClass("lg-zoomed")&&n(i.target).hasClass("lg-object")&&(f||e)&&(i.preventDefault(),r={x:i.pageX,y:i.pageY},u=!0,t.core.$outer.scrollLeft+=1,t.core.$outer.scrollLeft-=1,t.core.$outer.removeClass("lg-grab").addClass("lg-grabbing"))});n(window).on("mousemove.lg.zoom",function(n){if(u){var h,c,s=t.core.$slide.eq(t.core.index).find(".lg-img-wrap");o=!0;i={x:n.pageX,y:n.pageY};t.core.$outer.addClass("lg-zoom-dragging");c=e?-Math.abs(s.attr("data-y"))+(i.y-r.y):-Math.abs(s.attr("data-y"));h=f?-Math.abs(s.attr("data-x"))+(i.x-r.x):-Math.abs(s.attr("data-x"));t.core.s.useLeftForZoom?s.css({left:h+"px",top:c+"px"}):s.css("transform","translate3d("+h+"px, "+c+"px, 0)")}});n(window).on("mouseup.lg.zoom",function(n){u&&(u=!1,t.core.$outer.removeClass("lg-zoom-dragging"),!o||r.x===i.x&&r.y===i.y||(i={x:n.pageX,y:n.pageY},t.touchendZoom(r,i,f,e)),o=!1);t.core.$outer.removeClass("lg-grabbing").addClass("lg-grab")})};t.prototype.touchendZoom=function(n,t,i,r){var u=this,f=u.core.$slide.eq(u.core.index).find(".lg-img-wrap"),s=u.core.$slide.eq(u.core.index).find(".lg-object"),e=-Math.abs(f.attr("data-x"))+(t.x-n.x),o=-Math.abs(f.attr("data-y"))+(t.y-n.y),h=(u.core.$outer.find(".lg").height()-s.prop("offsetHeight"))/2,l=Math.abs(s.prop("offsetHeight")*Math.abs(s.attr("data-scale"))-u.core.$outer.find(".lg").height()+h),c=(u.core.$outer.find(".lg").width()-s.prop("offsetWidth"))/2,a=Math.abs(s.prop("offsetWidth")*Math.abs(s.attr("data-scale"))-u.core.$outer.find(".lg").width()+c);(Math.abs(t.x-n.x)>15||Math.abs(t.y-n.y)>15)&&(r&&(o<=-l?o=-l:o>=-h&&(o=-h)),i&&(e<=-a?e=-a:e>=-c&&(e=-c)),r?f.attr("data-y",Math.abs(o)):o=-Math.abs(f.attr("data-y")),i?f.attr("data-x",Math.abs(e)):e=-Math.abs(f.attr("data-x")),u.core.s.useLeftForZoom?f.css({left:e+"px",top:o+"px"}):f.css("transform","translate3d("+e+"px, "+o+"px, 0)"))};t.prototype.destroy=function(){var t=this;t.core.$el.off(".lg.zoom");n(window).off(".lg.zoom");t.core.$slide.off(".lg.zoom");t.core.$el.off(".lg.tm.zoom");t.resetZoom();clearTimeout(t.zoomabletimeout);t.zoomabletimeout=!1};n.fn.lightGallery.modules.zoom=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={hash:!0},t=function(t){return this.core=n(t).data("lightGallery"),this.core.s=n.extend({},i,this.core.s),this.core.s.hash&&(this.oldHash=window.location.hash,this.init()),this};t.prototype.init=function(){var i,t=this;t.core.$el.on("onAfterSlide.lg.tm",function(n,i,r){history.replaceState?history.replaceState(null,null,"#lg="+t.core.s.galleryId+"&slide="+r):window.location.hash="lg="+t.core.s.galleryId+"&slide="+r});n(window).on("hashchange.lg.hash",function(){i=window.location.hash;var n=parseInt(i.split("&slide=")[1],10);i.indexOf("lg="+t.core.s.galleryId)>-1?t.core.slide(n,!1,!1):t.core.lGalleryOn&&t.core.destroy()})};t.prototype.destroy=function(){this.core.s.hash&&(this.oldHash&&this.oldHash.indexOf("lg="+this.core.s.galleryId)<0?history.replaceState?history.replaceState(null,null,this.oldHash):window.location.hash=this.oldHash:history.replaceState?history.replaceState(null,document.title,window.location.pathname+window.location.search):window.location.hash="",this.core.$el.off(".lg.hash"))};n.fn.lightGallery.modules.hash=t}()}),function(n,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){!function(){"use strict";var i={share:!0,facebook:!0,facebookDropdownText:"Facebook",twitter:!0,twitterDropdownText:"Twitter",googlePlus:!0,googlePlusDropdownText:"GooglePlus",pinterest:!0,pinterestDropdownText:"Pinterest"},t=function(t){return this.core=n(t).data("lightGallery"),this.core.s=n.extend({},i,this.core.s),this.core.s.share&&this.init(),this};t.prototype.init=function(){var t=this,i='<span id="lg-share" class="lg-icon"><ul class="lg-dropdown" style="position: absolute;">';i+=t.core.s.facebook?'<li><a id="lg-share-facebook" target="_blank"><span class="lg-icon"><\/span><span class="lg-dropdown-text">'+this.core.s.facebookDropdownText+"<\/span><\/a><\/li>":"";i+=t.core.s.twitter?'<li><a id="lg-share-twitter" target="_blank"><span class="lg-icon"><\/span><span class="lg-dropdown-text">'+this.core.s.twitterDropdownText+"<\/span><\/a><\/li>":"";i+=t.core.s.googlePlus?'<li><a id="lg-share-googleplus" target="_blank"><span class="lg-icon"><\/span><span class="lg-dropdown-text">'+this.core.s.googlePlusDropdownText+"<\/span><\/a><\/li>":"";i+=t.core.s.pinterest?'<li><a id="lg-share-pinterest" target="_blank"><span class="lg-icon"><\/span><span class="lg-dropdown-text">'+this.core.s.pinterestDropdownText+"<\/span><\/a><\/li>":"";i+="<\/ul><\/span>";this.core.$outer.find(".lg-toolbar").append(i);this.core.$outer.find(".lg").append('<div id="lg-dropdown-overlay"><\/div>');n("#lg-share").on("click.lg",function(){t.core.$outer.toggleClass("lg-dropdown-active")});n("#lg-dropdown-overlay").on("click.lg",function(){t.core.$outer.removeClass("lg-dropdown-active")});t.core.$el.on("onAfterSlide.lg.tm",function(i,r,u){setTimeout(function(){n("#lg-share-facebook").attr("href","https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(t.core.$items.eq(u).attr("data-facebook-share-url")||window.location.href));n("#lg-share-twitter").attr("href","https://twitter.com/intent/tweet?text="+t.core.$items.eq(u).attr("data-tweet-text")+"&url="+encodeURIComponent(t.core.$items.eq(u).attr("data-twitter-share-url")||window.location.href));n("#lg-share-googleplus").attr("href","https://plus.google.com/share?url="+encodeURIComponent(t.core.$items.eq(u).attr("data-googleplus-share-url")||window.location.href));n("#lg-share-pinterest").attr("href","http://www.pinterest.com/pin/create/button/?url="+encodeURIComponent(t.core.$items.eq(u).attr("data-pinterest-share-url")||window.location.href)+"&media="+encodeURIComponent(t.core.$items.eq(u).attr("href")||t.core.$items.eq(u).attr("data-src"))+"&description="+t.core.$items.eq(u).attr("data-pinterest-text"))},100)})};t.prototype.destroy=function(){};n.fn.lightGallery.modules.share=t}()}),function(n){if(typeof exports=="object"&&typeof module!="undefined")module.exports=n();else if(typeof define=="function"&&define.amd)define([],n);else{var t;t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this;t.videojs=n()}}(function(){var n;return function t(n,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!n[f]){if(h=typeof require=="function"&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};n[f][0].call(s.exports,function(t){var i=n[f][1][t];return u(i?i:t)},s,s.exports,t,n,i,r)}return i[f].exports}for(var e=typeof require=="function"&&require,f=0;f<r.length;f++)u(r[f]);return u}({1:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c);r=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){this.player_.play();var n=this.player_.getChild("controlBar"),t=n&&n.getChild("playToggle");if(!t){this.player_.focus();return}this.setTimeout(function(){t.focus()},1)},t}(h["default"]);r.prototype.controlText_="Play Video";l["default"].registerComponent("BigPlayButton",r);i["default"]=r},{"2":2,"5":5}],2:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function c(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var l=n(3),a=u(l),v=n(5),e=u(v),y=n(86),o=u(y),r=n(88);f=function(n){function t(){return s(this,t),h(this,n.apply(this,arguments))}return c(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"button",n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u;return n=r.assign({className:this.buildCSSClass()},n),i!=="button"&&(o["default"].warn("Creating a Button with an HTML element of "+i+" is deprecated; use ClickableComponent instead."),n=r.assign({tabIndex:0},n),t=r.assign({role:"button"},t)),t=r.assign({type:"button","aria-live":"polite"},t),u=e["default"].prototype.createEl.call(this,i,n,t),this.createControlTextEl(u),u},t.prototype.addChild=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=this.constructor.name;return o["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),e["default"].prototype.addChild.call(this,n,t)},t.prototype.enable=function(){n.prototype.enable.call(this);this.el_.removeAttribute("disabled")},t.prototype.disable=function(){n.prototype.disable.call(this);this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){t.which!==32&&t.which!==13&&n.prototype.handleKeyPress.call(this,t)},t}(a["default"]);e["default"].registerComponent("Button",f);i["default"]=f},{"3":3,"5":5,"86":86,"88":88}],3:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function v(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var y=n(5),e=u(y),p=n(81),w=r(p),b=n(82),o=r(b),k=n(83),s=r(k),d=n(86),g=u(d),nt=n(94),h=u(nt),c=n(88);f=function(n){function t(i,r){l(this,t);var u=a(this,n.call(this,i,r));return u.emitTapEvents(),u.enable(),u}return v(t,n),t.prototype.createEl=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u;return t=c.assign({className:this.buildCSSClass(),tabIndex:0},t),i==="button"&&g["default"].error("Creating a ClickableComponent with an HTML element of "+i+" is not supported; use a Button instead."),r=c.assign({role:"button","aria-live":"polite"},r),this.tabIndex_=t.tabIndex,u=n.prototype.createEl.call(this,i,t,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=w.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_,n),this.controlTextEl_},t.prototype.controlText=function(n){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.el(),t;return n?(t=this.localize(n),this.controlText_=n,this.controlTextEl_.innerHTML=t,this.nonIconControl||i.setAttribute("title",t),this):this.controlText_||"Need Text"},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){this.removeClass("vjs-disabled");this.el_.setAttribute("aria-disabled","false");typeof this.tabIndex_!="undefined"&&this.el_.setAttribute("tabIndex",this.tabIndex_);this.on("tap",this.handleClick);this.on("click",this.handleClick);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur);return this},t.prototype.disable=function(){return this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_!="undefined"&&this.el_.removeAttribute("tabIndex"),this.off("tap",this.handleClick),this.off("click",this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){o.on(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){t.which===32||t.which===13?(t.preventDefault(),this.handleClick(t)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(){o.off(h["default"],"keydown",s.bind(this,this.handleKeyPress))},t}(e["default"]);e["default"].registerComponent("ClickableComponent",f);i["default"]=f},{"5":5,"81":81,"82":82,"83":83,"86":86,"88":88,"94":94}],4:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.controlText(r&&r.controlText||u.localize("Close")),u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-close-button "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},t}(h["default"]);l["default"].registerComponent("CloseButton",r);i["default"]=r},{"2":2,"5":5}],5:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var c;i.__esModule=!0;var y=n(95),u=h(y),p=n(81),r=s(p),w=n(83),f=s(w),b=n(85),k=s(b),d=n(82),e=s(d),g=n(86),l=h(g),nt=n(91),o=h(nt),tt=n(87),a=h(tt);c=function(){function n(t,i,r){if(v(this,n),this.player_=!t&&this.play?t=this:t,this.options_=a["default"]({},this.options_),i=this.options_=a["default"](this.options_,i),this.id_=i.id||i.el&&i.el.id,!this.id_){var u=t&&t.id&&t.id()||"no_player";this.id_=u+"_component_"+k.newGUID()}this.name_=i.name||null;i.el?this.el_=i.el:i.createEl!==!1&&(this.el_=this.createEl());this.children_=[];this.childIndex_={};this.childNameIndex_={};i.initChildren!==!1&&this.initChildren();this.ready(r);i.reportTouchActivity!==!1&&this.enableTouchActivity()}return n.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var n=this.children_.length-1;n>=0;n--)this.children_[n].dispose&&this.children_[n].dispose();this.children_=null;this.childIndex_=null;this.childNameIndex_=null;this.off();this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_);r.removeElData(this.el_);this.el_=null},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return(l["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),!n)?this.options_:(this.options_=a["default"](this.options_,n),this.options_)},n.prototype.el=function(){return this.el_},n.prototype.createEl=function(n,t,i){return r.createEl(n,t,i)},n.prototype.localize=function(n){var r=this.player_.language&&this.player_.language(),u=this.player_.languages&&this.player_.languages(),t,f,i;return!r||!u?n:(t=u[r],t&&t[n])?t[n]:(f=r.split("-")[0],i=u[f],i&&i[n])?i[n]:n},n.prototype.contentEl=function(){return this.contentEl_||this.el_},n.prototype.id=function(){return this.id_},n.prototype.name=function(){return this.name_},n.prototype.children=function(){return this.children_},n.prototype.getChildById=function(n){return this.childIndex_[n]},n.prototype.getChild=function(n){if(n)return n=o["default"](n),this.childNameIndex_[n]},n.prototype.addChild=function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},s=arguments.length>2&&arguments[2]!==undefined?arguments[2]:this.children_.length,i=void 0,u=void 0,e,f,h,c;if(typeof t=="string"){if(u=o["default"](t),r||(r={}),r===!0&&(l["default"].warn("Initializing a child component with `true` is deprecated.Children should be defined in an array when possible, but if necessary use an object instead of `true`."),r={}),e=r.componentClass||u,r.name=u,f=n.getComponent(e),!f)throw new Error("Component "+e+" does not exist");if(typeof f!="function")return null;i=new f(this.player_||this,r)}else i=t;return this.children_.splice(s,0,i),typeof i.id=="function"&&(this.childIndex_[i.id()]=i),u=u||i.name&&o["default"](i.name()),u&&(this.childNameIndex_[u]=i),typeof i.el=="function"&&i.el()&&(h=this.contentEl().children,c=h[s]||null,this.contentEl().insertBefore(i.el(),c)),i},n.prototype.removeChild=function(n){var i,t,r;if(typeof n=="string"&&(n=this.getChild(n)),n&&this.children_){for(i=!1,t=this.children_.length-1;t>=0;t--)if(this.children_[t]===n){i=!0;this.children_.splice(t,1);break}i&&(this.childIndex_[n.id()]=null,this.childNameIndex_[n.name()]=null,r=n.el(),r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(n.el()))}},n.prototype.initChildren=function(){var i=this,t=this.options_.children;if(t){var u=this.options_,f=function(n){var r=n.name,t=n.opts,f;(u[r]!==undefined&&(t=u[r]),t!==!1)&&(t===!0&&(t={}),t.playerOptions=i.options_.playerOptions,f=i.addChild(r,t),f&&(i[r]=f))},r=void 0,e=n.getComponent("Tech");r=Array.isArray(t)?t:Object.keys(t);r.concat(Object.keys(this.options_).filter(function(n){return!r.some(function(t){return typeof t=="string"?n===t:n===t.name})})).map(function(n){var r=void 0,u=void 0;return typeof n=="string"?(r=n,u=t[r]||i.options_[r]||{}):(r=n.name,u=n),{name:r,opts:u}}).filter(function(t){var i=n.getComponent(t.opts.componentClass||o["default"](t.name));return i&&!e.isTech(i)}).forEach(f)}},n.prototype.buildCSSClass=function(){return""},n.prototype.on=function(n,t,i){var c=this,o;if(typeof n=="string"||Array.isArray(n))e.on(this.el_,n,f.bind(this,t));else{var r=n,s=t,u=f.bind(this,i),h=function(){return c.off(r,s,u)};h.guid=u.guid;this.on("dispose",h);if(o=function(){return c.off("dispose",h)},o.guid=u.guid,n.nodeName){e.on(r,s,u);e.on(r,"dispose",o)}else if(typeof n.on=="function"){r.on(s,u);r.on("dispose",o)}}return this},n.prototype.off=function(n,t,i){if(!n||typeof n=="string"||Array.isArray(n))e.off(this.el_,n,t);else{var u=n,o=t,r=f.bind(this,i);this.off("dispose",r);n.nodeName?(e.off(u,o,r),e.off(u,"dispose",r)):(u.off(o,r),u.off("dispose",r))}return this},n.prototype.one=function(n,t,i){var h=this,c=arguments;if(typeof n=="string"||Array.isArray(n))e.one(this.el_,n,f.bind(this,t));else{var u=n,o=t,s=f.bind(this,i),r=function r(){h.off(u,o,r);s.apply(null,c)};r.guid=s.guid;this.on(u,o,r)}return this},n.prototype.trigger=function(n,t){return e.trigger(this.el_,n,t),this},n.prototype.ready=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1;return n&&(this.isReady_?t?n.call(this):this.setTimeout(n,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(n))),this},n.prototype.triggerReady=function(){this.isReady_=!0;this.setTimeout(function(){var n=this.readyQueue_;this.readyQueue_=[];n&&n.length>0&&n.forEach(function(n){n.call(this)},this);this.trigger("ready")},1)},n.prototype.$=function(n,t){return r.$(n,t||this.contentEl())},n.prototype.$$=function(n,t){return r.$$(n,t||this.contentEl())},n.prototype.hasClass=function(n){return r.hasElClass(this.el_,n)},n.prototype.addClass=function(n){return r.addElClass(this.el_,n),this},n.prototype.removeClass=function(n){return r.removeElClass(this.el_,n),this},n.prototype.toggleClass=function(n,t){return r.toggleElClass(this.el_,n,t),this},n.prototype.show=function(){return this.removeClass("vjs-hidden"),this},n.prototype.hide=function(){return this.addClass("vjs-hidden"),this},n.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},n.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},n.prototype.getAttribute=function(n){return r.getAttribute(this.el_,n)},n.prototype.setAttribute=function(n,t){return r.setAttribute(this.el_,n,t),this},n.prototype.removeAttribute=function(n){return r.removeAttribute(this.el_,n),this},n.prototype.width=function(n,t){return this.dimension("width",n,t)},n.prototype.height=function(n,t){return this.dimension("height",n,t)},n.prototype.dimensions=function(n,t){return this.width(n,!0).height(t)},n.prototype.dimension=function(n,t,i){if(t!==undefined)return(t===null||t!==t)&&(t=0),this.el_.style[n]=(""+t).indexOf("%")!==-1||(""+t).indexOf("px")!==-1?t:t==="auto"?"":t+"px",i||this.trigger("resize"),this;if(!this.el_)return 0;var r=this.el_.style[n],u=r.indexOf("px");return u!==-1?parseInt(r.slice(0,u),10):parseInt(this.el_["offset"+o["default"](n)],10)},n.prototype.currentDimension=function(n){var t=0,i,r;if(n!=="width"&&n!=="height")throw new Error("currentDimension only accepts width or height value");return typeof u["default"].getComputedStyle=="function"&&(i=u["default"].getComputedStyle(this.el_),t=i.getPropertyValue(n)||i[n]),t=parseFloat(t),t===0&&(r="offset"+o["default"](n),t=this.el_[r]),t},n.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},n.prototype.currentWidth=function(){return this.currentDimension("width")},n.prototype.currentHeight=function(){return this.currentDimension("height")},n.prototype.focus=function(){this.el_.focus()},n.prototype.blur=function(){this.el_.blur()},n.prototype.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=void 0,i;this.on("touchstart",function(i){i.touches.length===1&&(n={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},r=(new Date).getTime(),t=!0)});this.on("touchmove",function(i){if(i.touches.length>1)t=!1;else if(n){var r=i.touches[0].pageX-n.pageX,f=i.touches[0].pageY-n.pageY,e=Math.sqrt(r*r+f*f);e>u&&(t=!1)}});i=function(){t=!1};this.on("touchleave",i);this.on("touchcancel",i);this.on("touchend",function(i){if(n=null,t===!0){var u=(new Date).getTime()-r;u<f&&(i.preventDefault(),this.trigger("tap"))}})},n.prototype.enableTouchActivity=function(){var n,t,i;if(this.player()&&this.player().reportUserActivity){n=f.bind(this.player(),this.player().reportUserActivity);t=void 0;this.on("touchstart",function(){n();this.clearInterval(t);t=this.setInterval(n,250)});i=function(){n();this.clearInterval(t)};this.on("touchmove",n);this.on("touchend",i);this.on("touchcancel",i)}},n.prototype.setTimeout=function(n,t){n=f.bind(this,n);var i=u["default"].setTimeout(n,t),r=function(){this.clearTimeout(i)};r.guid="vjs-timeout-"+i;this.on("dispose",r);return i},n.prototype.clearTimeout=function(n){u["default"].clearTimeout(n);var t=function(){};return t.guid="vjs-timeout-"+n,this.off("dispose",t),n},n.prototype.setInterval=function(n,t){n=f.bind(this,n);var i=u["default"].setInterval(n,t),r=function(){this.clearInterval(i)};r.guid="vjs-interval-"+i;this.on("dispose",r);return i},n.prototype.clearInterval=function(n){u["default"].clearInterval(n);var t=function(){};return t.guid="vjs-interval-"+n,this.off("dispose",t),n},n.registerComponent=function(t,i){if(t){if(t=o["default"](t),n.components_||(n.components_={}),t==="Player"&&n.components_[t]){var r=n.components_[t];if(r.players&&Object.keys(r.players).length>0&&Object.keys(r.players).map(function(n){return r.players[n]}).every(Boolean))throw new Error("Can not register Player component after player has been created");}return n.components_[t]=i,i}},n.getComponent=function(t){if(t)return(t=o["default"](t),n.components_&&n.components_[t])?n.components_[t]:u["default"]&&u["default"].videojs&&u["default"].videojs[t]?(l["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),u["default"].videojs[t]):void 0},n.extend=function(t){var u,i,r;t=t||{};l["default"].warn("Component.extend({}) has been deprecated,  use videojs.extend(Component, {}) instead");u=t.init||t.init||this.prototype.init||this.prototype.init||function(){};i=function(){u.apply(this,arguments)};i.prototype=Object.create(this.prototype);i.prototype.constructor=i;i.extend=n.extend;for(r in t)t.hasOwnProperty(r)&&(i.prototype[r]=t[r]);return i},n}();c.registerComponent("Component",c);i["default"]=c},{"81":81,"82":82,"83":83,"85":85,"86":86,"87":87,"91":91,"95":95}],6:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(36),h=u(s),c=n(5),l=u(c),a=n(7),v=u(a);r=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;return f(this,t),u.tracks=i.audioTracks&&i.audioTracks(),r=e(this,n.call(this,i,u)),r.el_.setAttribute("aria-label","Audio Menu"),r}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],n,t,r;if(this.hideThreshold_=1,n=this.player_.audioTracks&&this.player_.audioTracks(),!n)return i;for(t=0;t<n.length;t++)r=n[t],i.push(new v["default"](this.player_,{track:r,selectable:!0}));return i},t}(h["default"]);r.prototype.controlText_="Audio Track";l["default"].registerComponent("AudioTrackButton",r);i["default"]=r},{"36":36,"5":5,"7":7}],7:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(48),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);r=function(n){function t(i,r){var f,s,u,h;if(e(this,t),f=r.track,s=i.audioTracks(),r.label=f.label||f.language||"Unknown",r.selected=f.enabled,u=o(this,n.call(this,i,r)),u.track=f,s){h=y.bind(u,u.handleTracksChange);s.addEventListener("change",h);u.on("dispose",function(){s.removeEventListener("change",h)})}return u}return s(t,n),t.prototype.handleClick=function(t){var r=this.player_.audioTracks(),i,u;if(n.prototype.handleClick.call(this,t),r)for(i=0;i<r.length;i++)u=r[i],u.enabled=u===this.track},t.prototype.handleTracksChange=function(){this.selected(this.track.enabled)},t}(c["default"]);a["default"].registerComponent("AudioTrackMenuItem",r);i["default"]=r},{"48":48,"5":5,"83":83}],8:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(12);n(32);n(33);n(35);n(34);n(10);n(18);n(9);n(38);n(40);n(11);n(25);n(27);n(29);n(24);n(6);n(13);n(21);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(u["default"]);r.prototype.options_={children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subtitlesButton","captionsButton","audioTrackButton","fullscreenToggle"]};u["default"].registerComponent("ControlBar",r);i["default"]=r},{"10":10,"11":11,"12":12,"13":13,"18":18,"21":21,"24":24,"25":25,"27":27,"29":29,"32":32,"33":33,"34":34,"35":35,"38":38,"40":40,"5":5,"6":6,"9":9}],9:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));u.on(i,"fullscreenchange",u.handleFullscreenChange);return u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(h["default"]);r.prototype.controlText_="Fullscreen";l["default"].registerComponent("FullscreenToggle",r);i["default"]=r},{"2":2,"5":5}],10:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),u=e(c),l=n(81),a=f(l);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.updateShowing();u.on(u.player(),"durationchange",u.updateShowing);return u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"<\/span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateShowing=function(){this.player().duration()===Infinity?this.show():this.hide()},t}(u["default"]);u["default"].registerComponent("LiveDisplay",r);i["default"]=r},{"5":5,"81":81}],11:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(2),l=u(c),a=n(5),v=u(a),y=n(81),f=e(y);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.on(i,"volumechange",u.update);i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden");u.on(i,"loadstart",function(){this.update();i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")});return u}return h(t,n),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.muted(this.player_.muted()?!1:!0)},t.prototype.update=function(){var i=this.player_.volume(),n=3,r,t;for(i===0||this.player_.muted()?n=0:i<.33?n=1:i<.67&&(n=2),r=this.player_.muted()?"Unmute":"Mute",this.controlText()!==r&&this.controlText(r),t=0;t<4;t++)f.removeElClass(this.el_,"vjs-vol-"+t);f.addElClass(this.el_,"vjs-vol-"+n)},t}(l["default"]);r.prototype.controlText_="Mute";v["default"].registerComponent("MuteToggle",r);i["default"]=r},{"2":2,"5":5,"81":81}],12:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(2),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));u.on(i,"play",u.handlePlay);u.on(i,"pause",u.handlePause);return u}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-play-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handlePlay=function(){this.removeClass("vjs-paused");this.addClass("vjs-playing");this.controlText("Pause")},t.prototype.handlePause=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.controlText("Play")},t}(h["default"]);r.prototype.controlText_="Play";l["default"].registerComponent("PlayToggle",r);i["default"]=r},{"2":2,"5":5}],13:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var h=n(47),c=r(h),l=n(49),a=r(l),v=n(14),y=r(v),p=n(5),w=r(p),b=n(81),k=f(b);u=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));u.updateVisibility();u.updateLabel();u.on(i,"loadstart",u.updateVisibility);u.on(i,"ratechange",u.updateLabel);return u}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=k.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),t.appendChild(this.labelEl_),t},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+n.prototype.buildCSSClass.call(this)},t.prototype.createMenu=function(){var i=new a["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new y["default"](this.player(),{rate:t[n]+"x"}));return i},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(){for(var r=this.player().playbackRate(),n=this.playbackRates(),i=n[0],t=0;t<n.length;t++)if(n[t]>r){i=n[t];break}this.player().playbackRate(i)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(c["default"]);u.prototype.controlText_="Playback Rate";w["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u},{"14":14,"47":47,"49":49,"5":5,"81":81}],14:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(48),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){var o,s,u;f(this,t);o=r.rate;s=parseFloat(o,10);r.label=o;r.selected=s===1;r.selectable=!0;u=e(this,n.call(this,i,r));u.label=o;u.rate=s;u.on(i,"ratechange",u.update);return u}return o(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player().playbackRate(this.rate)},t.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},t}(h["default"]);r.prototype.contentElType="button";l["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r},{"48":48,"5":5}],15:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),u=e(c),l=n(81),a=f(l);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.partEls_=[];u.on(i,"progress",u.update);return u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"<\/span>: 0%<\/span>"})},t.prototype.update=function(){var t=this.player_.buffered(),s=this.player_.duration(),f=this.player_.bufferedEnd(),i=this.partEls_,e=function(n,t){var i=n/t||0;return(i>=1?1:i)*100+"%"},n,u;for(this.el_.style.width=e(f,s),n=0;n<t.length;n++){var o=t.start(n),h=t.end(n),r=i[n];r||(r=this.el_.appendChild(a.createEl()),i[n]=r);r.style.left=e(o,f);r.style.width=e(h-o,f)}for(u=i.length;u>t.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(u["default"]);u["default"].registerComponent("LoadProgressBar",r);i["default"]=r},{"5":5,"81":81}],16:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var v=n(5),s=r(v),y=n(81),f=o(y),p=n(83),h=o(p),w=n(84),b=r(w),k=n(80),e=r(k);u=function(n){function t(i,r){c(this,t);var u=l(this,n.call(this,i,r));r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside);u.keepTooltipsInside&&(u.tooltip=f.createEl("div",{className:"vjs-time-tooltip"}),u.el().appendChild(u.tooltip),u.addClass("vjs-keep-tooltips-inside"));u.update(0,0);i.on("ready",function(){u.on(i.controlBar.progressControl.el(),"mousemove",h.throttle(h.bind(u,u.handleMouseMove),25))});return u}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.handleMouseMove=function(n){var t=this.player_.duration(),i=this.calculateDistance(n)*t,r=n.pageX-f.findElPosition(this.el().parentNode).left;this.update(i,r)},t.prototype.update=function(n,t){var i=b["default"](n,this.player_.duration());if(this.el().style.left=t+"px",this.el().setAttribute("data-current-time",i),this.keepTooltipsInside){var r=this.clampPosition_(t),u=t-r+1,f=parseFloat(e["default"](this.tooltip,"width")),o=f/2;this.tooltip.innerHTML=i;this.tooltip.style.right="-"+(o-u)+"px"}},t.prototype.calculateDistance=function(n){return f.getPointerPosition(this.el().parentNode,n).x},t.prototype.clampPosition_=function(n){if(!this.keepTooltipsInside)return n;var r=parseFloat(e["default"](this.player().el(),"width")),u=parseFloat(e["default"](this.tooltip,"width")),t=u/2,i=n;return n<t?i=Math.ceil(t):n>r-t&&(i=Math.floor(r-t)),i},t}(s["default"]);s["default"].registerComponent("MouseTimeDisplay",u);i["default"]=u},{"5":5,"80":80,"81":81,"83":83,"84":84}],17:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),f=u(c),l=n(83),a=e(l),v=n(84),y=u(v);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.updateDataAttr();u.on(i,"timeupdate",u.updateDataAttr);return i.ready(a.bind(u,u.updateDataAttr)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&u.addClass("vjs-keep-tooltips-inside"),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"})},t.prototype.updateDataAttr=function(){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",y["default"](n,this.player_.duration()))},t}(f["default"]);f["default"].registerComponent("PlayProgressBar",r);i["default"]=r},{"5":5,"83":83,"84":84}],18:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(19);n(16);r=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["seekBar"]};u["default"].registerComponent("ProgressControl",r);i["default"]=r},{"16":16,"19":19,"5":5}],19:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(57),l=u(c),a=n(5),v=u(a),y=n(83),p=e(y),w=n(84),b=u(w),k=n(80),f=u(k);n(15);n(17);n(20);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateProgress);u.on(i,"ended",u.updateProgress);return i.ready(p.bind(u,u.updateProgress)),r.playerOptions&&r.playerOptions.controlBar&&r.playerOptions.controlBar.progressControl&&r.playerOptions.controlBar.progressControl.keepTooltipsInside&&(u.keepTooltipsInside=r.playerOptions.controlBar.progressControl.keepTooltipsInside),u.keepTooltipsInside&&(u.tooltipProgressBar=u.addChild("TooltipProgressBar")),u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"progress bar"})},t.prototype.updateProgress=function(){if(this.updateAriaAttributes(this.el_),this.keepTooltipsInside){this.updateAriaAttributes(this.tooltipProgressBar.el_);this.tooltipProgressBar.el_.style.width=this.bar.el_.style.width;var i=parseFloat(f["default"](this.player().el(),"width")),n=parseFloat(f["default"](this.tooltipProgressBar.tooltip,"width")),t=this.tooltipProgressBar.el().style;t.maxWidth=Math.floor(i-n/2)+"px";t.minWidth=Math.ceil(n/2)+"px";t.right="-"+n/2+"px"}},t.prototype.updateAriaAttributes=function(n){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.setAttribute("aria-valuenow",(this.getPercent()*100).toFixed(2));n.setAttribute("aria-valuetext",b["default"](t,this.player_.duration()))},t.prototype.getPercent=function(){var n=this.player_.currentTime()/this.player_.duration();return n>=1?1:n},t.prototype.handleMouseDown=function(t){this.player_.scrubbing(!0);this.videoWasPlaying=!this.player_.paused();this.player_.pause();n.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(n){var t=this.calculateDistance(n)*this.player_.duration();t===this.player_.duration()&&(t=t-.1);this.player_.currentTime(t)},t.prototype.handleMouseUp=function(t){n.prototype.handleMouseUp.call(this,t);this.player_.scrubbing(!1);this.videoWasPlaying&&this.player_.play()},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t}(l["default"]);r.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};r.prototype.playerEvent="timeupdate";v["default"].registerComponent("SeekBar",r);i["default"]=r},{"15":15,"17":17,"20":20,"5":5,"57":57,"80":80,"83":83,"84":84}],20:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),f=u(c),l=n(83),a=e(l),v=n(84),y=u(v);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.updateDataAttr();u.on(i,"timeupdate",u.updateDataAttr);return i.ready(a.bind(u,u.updateDataAttr)),u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-tooltip-progress-bar vjs-slider-bar",innerHTML:'<div class="vjs-time-tooltip"><\/div>\n        <span class="vjs-control-text"><span>'+this.localize("Progress")+"<\/span>: 0%<\/span>"});return this.tooltip=t.querySelector(".vjs-time-tooltip"),t},t.prototype.updateDataAttr=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n=y["default"](t,this.player_.duration());this.el_.setAttribute("data-current-time",n);this.tooltip.innerHTML=n},t}(f["default"]);f["default"].registerComponent("TooltipProgressBar",r);i["default"]=r},{"5":5,"83":83,"84":84}],21:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(22),h=u(s),c=n(5),l=u(c);r=function(n){function t(){return f(this,t),e(this,n.apply(this,arguments))}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML="&nbsp;",t},t}(h["default"]);l["default"].registerComponent("CustomControlSpacer",r);i["default"]=r},{"22":22,"5":5}],22:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.buildCSSClass=function(){return"vjs-spacer "+n.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(r["default"]);r["default"].registerComponent("Spacer",u);i["default"]=u},{"5":5}],23:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(31),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;var u=e(this,n.call(this,i,r));return u.addClass("vjs-texttrack-settings"),u.controlText(", opens "+r.kind+" settings dialog"),u}return o(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()},t}(h["default"]);l["default"].registerComponent("CaptionSettingsMenuItem",r);i["default"]=r},{"31":31,"5":5}],24:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(30),h=u(s),c=n(5),l=u(c),a=n(23),v=u(a);r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Captions Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||(t.push(new v["default"](this.player_,{kind:this.kind_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,t)},t}(h["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";l["default"].registerComponent("CaptionsButton",r);i["default"]=r},{"23":23,"30":30,"5":5}],25:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(30),h=u(s),c=n(5),l=u(c),a=n(26),v=u(a),y=n(91),p=u(y);r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Chapters Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(t){(!this.track_||t&&(t.type==="addtrack"||t.type==="removetrack"))&&this.setTrack(this.findChaptersTrack());n.prototype.update.call(this)},t.prototype.setTrack=function(n){var t,i;this.track_!==n&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),t&&t.removeEventListener("load",this.updateHandler_),this.track_=null),this.track_=n,this.track_&&(this.track_.mode="hidden",i=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_),i&&i.addEventListener("load",this.updateHandler_)))},t.prototype.findChaptersTrack=function(){for(var n,i=this.player_.textTracks()||[],t=i.length-1;t>=0;t--)if(n=i[t],n.kind===this.kind_)return n},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(p["default"](this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},t.prototype.createItems=function(){var i=[],n,t,r,u,f;if(!this.track_||(n=this.track_.cues,!n))return i;for(t=0,r=n.length;t<r;t++)u=n[t],f=new v["default"](this.player_,{track:this.track_,cue:u}),i.push(f);return i},t}(h["default"]);r.prototype.kind_="chapters";r.prototype.controlText_="Chapters";l["default"].registerComponent("ChaptersButton",r);i["default"]=r},{"26":26,"30":30,"5":5,"91":91}],26:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(48),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);r=function(n){function t(i,r){var u;e(this,t);var s=r.track,f=r.cue,h=i.currentTime();return r.selectable=!0,r.label=f.text,r.selected=f.startTime<=h&&h<f.endTime,u=o(this,n.call(this,i,r)),u.track=s,u.cue=f,s.addEventListener("cuechange",y.bind(u,u.update)),u}return s(t,n),t.prototype.handleClick=function(){n.prototype.handleClick.call(this);this.player_.currentTime(this.cue.startTime);this.update(this.cue.startTime)},t.prototype.update=function(){var n=this.cue,t=this.player_.currentTime();this.selected(n.startTime<=t&&t<n.endTime)},t}(c["default"]);a["default"].registerComponent("ChaptersTrackMenuItem",r);i["default"]=r},{"48":48,"5":5,"83":83}],27:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(30),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);r=function(n){function t(i,r,u){var f,s,h;if(e(this,t),f=o(this,n.call(this,i,r,u)),f.el_.setAttribute("aria-label","Descriptions Menu"),s=i.textTracks(),s){h=y.bind(f,f.handleTracksChange);s.addEventListener("change",h);f.on("dispose",function(){s.removeEventListener("change",h)})}return f}return s(t,n),t.prototype.handleTracksChange=function(){for(var n,i=this.player().textTracks(),r=!1,t=0,u=i.length;t<u;t++)if(n=i[t],n.kind!==this.kind_&&n.mode==="showing"){r=!0;break}r?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+n.prototype.buildCSSClass.call(this)},t}(c["default"]);r.prototype.kind_="descriptions";r.prototype.controlText_="Descriptions";a["default"].registerComponent("DescriptionsButton",r);i["default"]=r},{"30":30,"5":5,"83":83}],28:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(31),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r){f(this,t);r.track={player:i,kind:r.kind,label:r.kind+" off","default":!1,mode:"disabled"};r.selectable=!0;var u=e(this,n.call(this,i,r));return u.selected(!0),u}return o(t,n),t.prototype.handleTracksChange=function(){for(var n,i=this.player().textTracks(),r=!0,t=0,u=i.length;t<u;t++)if(n=i[t],n.kind===this.track.kind&&n.mode==="showing"){r=!1;break}this.selected(r)},t}(h["default"]);l["default"].registerComponent("OffTextTrackMenuItem",r);i["default"]=r},{"31":31,"5":5}],29:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(30),h=u(s),c=n(5),l=u(c);r=function(n){function t(i,r,u){f(this,t);var o=e(this,n.call(this,i,r,u));return o.el_.setAttribute("aria-label","Subtitles Menu"),o}return o(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";l["default"].registerComponent("SubtitlesButton",r);i["default"]=r},{"30":30,"5":5}],30:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var s=n(36),h=r(s),c=n(5),l=r(c),a=n(31),v=r(a),y=n(28),p=r(y);u=function(n){function t(i){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return f(this,t),r.tracks=i.textTracks(),e(this,n.call(this,i,r))}return o(t,n),t.prototype.createItems=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t,i,r;if(n.push(new p["default"](this.player_,{kind:this.kind_})),this.hideThreshold_+=1,t=this.player_.textTracks(),!t)return n;for(i=0;i<t.length;i++)r=t[i],r.kind===this.kind_&&n.push(new v["default"](this.player_,{track:r,selectable:!0}));return n},t}(h["default"]);l["default"].registerComponent("TextTrackButton",u);i["default"]=u},{"28":28,"31":31,"36":36,"5":5}],31:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l=n(48),a=r(l),v=n(5),y=r(v),p=n(83),w=e(p),b=n(95),f=r(b),k=n(94),d=r(k);u=function(n){function t(i,r){var h,u,e,a,l;if(o(this,t),h=r.track,u=i.textTracks(),r.label=h.label||h.language||"Unknown",r.selected=h["default"]||h.mode==="showing",e=s(this,n.call(this,i,r)),e.track=h,u){a=w.bind(e,e.handleTracksChange);i.on(["loadstart","texttrackchange"],a);u.addEventListener("change",a);e.on("dispose",function(){u.removeEventListener("change",a)})}if(u&&u.onchange===undefined){l=void 0;e.on(["tap","click"],function(){if(c(f["default"].Event)!=="object")try{l=new f["default"].Event("change")}catch(n){}l||(l=d["default"].createEvent("Event"),l.initEvent("change",!0,!0));u.dispatchEvent(l)})}return e}return h(t,n),t.prototype.handleClick=function(t){var f=this.track.kind,u=this.player_.textTracks(),i,r;if(n.prototype.handleClick.call(this,t),u)for(i=0;i<u.length;i++)(r=u[i],r.kind===f)&&(r.mode=r===this.track?"showing":"disabled")},t.prototype.handleTracksChange=function(){this.selected(this.track.mode==="showing")},t}(a["default"]);y["default"].registerComponent("TextTrackMenuItem",u);i["default"]=u},{"48":48,"5":5,"83":83,"94":94,"95":95}],32:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),f=u(c),l=n(81),a=e(l),v=n(84),y=u(v);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateContent);return u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time <\/span>0:00'},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),i=this.localize("Current Time"),n=y["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+i+"<\/span> "+n)},t}(f["default"]);f["default"].registerComponent("CurrentTimeDisplay",r);i["default"]=r},{"5":5,"81":81,"84":84}],33:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),f=u(c),l=n(81),a=e(l),v=n(84),y=u(v);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.on(i,"durationchange",u.updateContent);u.on(i,"timeupdate",u.updateContent);u.on(i,"loadedmetadata",u.updateContent);return u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"<\/span> 0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){var n=this.player_.duration(),t,i;n&&this.duration_!==n&&(this.duration_=n,t=this.localize("Duration Time"),i=y["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> "+i)},t}(f["default"]);f["default"].registerComponent("DurationDisplay",r);i["default"]=r},{"5":5,"81":81,"84":84}],34:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var c=n(5),f=u(c),l=n(81),a=e(l),v=n(84),y=u(v);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.on(i,"timeupdate",u.updateContent);u.on(i,"durationchange",u.updateContent);return u}return h(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=a.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"<\/span> -0:00"},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.updateContent=function(){if(this.player_.duration()){var t=this.localize("Remaining Time"),n=y["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> -"+n)}},t}(f["default"]);f["default"].registerComponent("RemainingTimeDisplay",r);i["default"]=r},{"5":5,"81":81,"84":84}],35:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/<\/span><\/div>"})},t}(r["default"]);r["default"].registerComponent("TimeDivider",u);i["default"]=u},{"5":5}],36:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(47),c=u(h),l=n(5),a=u(l),v=n(83),y=e(v);r=function(n){function t(i,r){var e,u,s;if(o(this,t),e=r.tracks,u=f(this,n.call(this,i,r)),u.items.length<=1&&u.hide(),!e)return f(u);s=y.bind(u,u.update);e.addEventListener("removetrack",s);e.addEventListener("addtrack",s);u.player_.on("dispose",function(){e.removeEventListener("removetrack",s);e.removeEventListener("addtrack",s)});return u}return s(t,n),t}(c["default"]);a["default"].registerComponent("TrackButton",r);i["default"]=r},{"47":47,"5":5,"83":83}],37:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(57),c=u(h),l=n(5),a=u(l),v=n(83),y=f(v);n(39);r=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));u.on(i,"volumechange",u.updateARIAAttributes);return i.ready(y.bind(u,u.updateARIAAttributes)),u}return s(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},t.prototype.handleMouseMove=function(n){this.checkMuted();this.player_.volume(this.calculateDistance(n))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted();this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted();this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(){var n=(this.player_.volume()*100).toFixed(2);this.el_.setAttribute("aria-valuenow",n);this.el_.setAttribute("aria-valuetext",n+"%")},t}(c["default"]);r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";a["default"].registerComponent("VolumeBar",r);i["default"]=r},{"39":39,"5":5,"57":57,"83":83}],38:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,u,r;i.__esModule=!0;f=n(5);u=e(f);n(37);r=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));i.tech_&&i.tech_.featuresVolumeControl===!1&&u.addClass("vjs-hidden");u.on(i,"loadstart",function(){i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")});return u}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(u["default"]);r.prototype.options_={children:["volumeBar"]};u["default"].registerComponent("VolumeControl",r);i["default"]=r},{"37":37,"5":5}],39:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"><\/span>'})},t}(r["default"]);r["default"].registerComponent("VolumeLevel",u);i["default"]=u},{"5":5}],40:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function c(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var l=n(83),f=o(l),a=n(5),v=r(a),y=n(54),p=r(y),w=n(53),b=r(w),k=n(11),e=r(k),d=n(37),g=r(d);u=function(n){function t(i){function f(){i.tech_&&i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;s(this,t);u.inline===undefined&&(u.inline=!0);u.vertical===undefined&&(u.vertical=u.inline?!1:!0);u.volumeBar=u.volumeBar||{};u.volumeBar.vertical=!!u.vertical;r=h(this,n.call(this,i,u));r.on(i,"volumechange",r.volumeUpdate);r.on(i,"loadstart",r.volumeUpdate);f.call(r);r.on(i,"loadstart",f);r.on(r.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")});r.on(r.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")});r.on(r.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")});r.on(r.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")});return r}return c(t,n),t.prototype.buildCSSClass=function(){var t="";return t=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal","vjs-volume-menu-button "+n.prototype.buildCSSClass.call(this)+" "+t},t.prototype.createPopup=function(){var n=new p["default"](this.player_,{contentElType:"div"}),t=new g["default"](this.player_,this.options_.volumeBar);return n.addChild(t),this.menuContent=n,this.volumeBar=t,this.attachVolumeBarEvents(),n},t.prototype.handleClick=function(){e["default"].prototype.handleClick.call(this);n.prototype.handleClick.call(this)},t.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],f.bind(this,this.handleMouseDown))},t.prototype.handleMouseDown=function(){this.on(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove));this.on(this.el_.ownerDocument,["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(b["default"]);u.prototype.volumeUpdate=e["default"].prototype.update;u.prototype.controlText_="Mute";v["default"].registerComponent("VolumeMenuButton",u);i["default"]=u},{"11":11,"37":37,"5":5,"53":53,"54":54,"83":83}],41:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var h=n(5),c=u(h),l=n(50),f=u(l),a=n(87),v=u(a);r=function(n){function t(i,r){e(this,t);var u=o(this,n.call(this,i,r));u.on(i,"error",u.open);return u}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-error-display "+n.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var n=this.player().error();return n?this.localize(n.message):""},t}(f["default"]);r.prototype.options_=v["default"](f["default"].prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",r);i["default"]=r},{"5":5,"50":50,"87":87}],42:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}var f,u,r;i.__esModule=!0;f=n(82);u=e(f);r=function(){};r.prototype.allowedEvents_={};r.prototype.on=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.on(this,n,t);this.addEventListener=i};r.prototype.addEventListener=r.prototype.on;r.prototype.off=function(n,t){u.off(this,n,t)};r.prototype.removeEventListener=r.prototype.off;r.prototype.one=function(n,t){var i=this.addEventListener;this.addEventListener=function(){};u.one(this,n,t);this.addEventListener=i};r.prototype.trigger=function(n){var t=n.type||n;typeof n=="string"&&(n={type:t});n=u.fixEvent(n);this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](n);u.trigger(this,n)};r.prototype.dispatchEvent=r.prototype.trigger;i["default"]=r},{"82":82}],43:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u;i.__esModule=!0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=n(86),s=f(o),h=n(88);r=function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+(typeof t=="undefined"?"undefined":e(t)));n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(n.super_=t)};u=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=function(){n.apply(this,arguments)},u={},f;h.isObject(t)?(typeof t.init=="function"&&(s["default"].warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(i=t.constructor),u=t):typeof t=="function"&&(i=t);r(i,n);for(f in u)u.hasOwnProperty(f)&&(i.prototype[f]=u[f]);return i};i["default"]=u},{"86":86,"88":88}],44:[function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}var o,s,r,u;i.__esModule=!0;o=n(94);s=c(o);var h={},f=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],l=f[0],e=void 0;for(r=0;r<f.length;r++)if(f[r][1]in s["default"]){e=f[r];break}if(e)for(u=0;u<e.length;u++)h[l[u]]=e[u];i["default"]=h},{"94":94}],45:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f,r,u;i.__esModule=!0;f=n(5);r=e(f);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},t}(r["default"]);r["default"].registerComponent("LoadingSpinner",u);i["default"]=u},{"5":5}],46:[function(n,t,i){"use strict";function r(n){if(n instanceof r)return n;typeof n=="number"?this.code=n:typeof n=="string"?this.message=n:f.isObject(n)&&(typeof n.code=="number"&&(this.code=n.code),f.assign(this,n));this.message||(this.message=r.defaultMessages[this.code]||"")}var f,u;for(i.__esModule=!0,f=n(88),r.prototype.code=0,r.prototype.message="",r.prototype.status=null,r.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],r.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},u=0;u<r.errorTypes.length;u++)r[r.errorTypes[u]]=u,r.prototype[r.errorTypes[u]]=u;i["default"]=r},{"88":88}],47:[function(n,t,i){"use strict";function f(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var c=n(3),l=r(c),a=n(5),v=r(a),y=n(49),p=r(y),w=n(81),e=f(w),b=n(83),k=f(b),d=n(91),g=r(d);u=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;o(this,t);r=s(this,n.call(this,i,u));r.update();r.enabled_=!0;r.el_.setAttribute("aria-haspopup","true");r.el_.setAttribute("role","menuitem");r.on("keydown",r.handleSubmenuKeyPress);return r}return h(t,n),t.prototype.update=function(){var n=this.createMenu();this.menu&&this.removeChild(this.menu);this.menu=n;this.addChild(n);this.buttonPressed_=!1;this.el_.setAttribute("aria-expanded","false");this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var n=new p["default"](this.player_),i,t;if(this.hideThreshold_=0,this.options_.title&&(i=e.createEl("li",{className:"vjs-menu-title",innerHTML:g["default"](this.options_.title),tabIndex:-1}),this.hideThreshold_+=1,n.children_.unshift(i),e.insertElFirst(i,n.contentEl())),this.items=this.createItems(),this.items)for(t=0;t<this.items.length;t++)n.addItem(this.items[t]);return n},t.prototype.createItems=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.one(this.menu.contentEl(),"mouseleave",k.bind(this,function(){this.unpressButton();this.el_.blur()}));this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.handleKeyPress=function(t){t.which===27||t.which===9?(this.buttonPressed_&&this.unpressButton(),t.which!==9&&t.preventDefault()):t.which===38||t.which===40?this.buttonPressed_||(this.pressButton(),t.preventDefault()):n.prototype.handleKeyPress.call(this,t)},t.prototype.handleSubmenuKeyPress=function(n){(n.which===27||n.which===9)&&(this.buttonPressed_&&this.unpressButton(),n.which!==9&&n.preventDefault())},t.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded","true"),this.menu.focus())},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.el_.focus())},t.prototype.disable=function(){return this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded","false"),this.enabled_=!1,n.prototype.disable.call(this)},t.prototype.enable=function(){return this.enabled_=!0,n.prototype.enable.call(this)},t}(l["default"]);v["default"].registerComponent("MenuButton",u);i["default"]=u},{"3":3,"49":49,"5":5,"81":81,"83":83,"91":91}],48:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(3),h=u(s),c=n(5),l=u(c),a=n(88);r=function(n){function t(i,r){f(this,t);var u=e(this,n.call(this,i,r));return u.selectable=r.selectable,u.selected(r.selected),u.selectable?u.el_.setAttribute("role","menuitemcheckbox"):u.el_.setAttribute("role","menuitem"),u}return o(t,n),t.prototype.createEl=function(t,i,r){return this.nonIconControl=!0,n.prototype.createEl.call(this,"li",a.assign({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},i),r)},t.prototype.handleClick=function(){this.selected(!0)},t.prototype.selected=function(n){this.selectable&&(n?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(" ")))},t}(h["default"]);l["default"].registerComponent("MenuItem",r);i["default"]=r},{"3":3,"5":5,"88":88}],49:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var c=n(5),f=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p);u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.focusedChild_=-1;u.on("keydown",u.handleKeyPress);return u}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;this.contentEl_=a.createEl(i,{className:"vjs-menu-content"});this.contentEl_.setAttribute("role","menu");t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});t.setAttribute("role","presentation");t.appendChild(this.contentEl_);w.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()});return t},t.prototype.handleKeyPress=function(n){n.which===37||n.which===40?(n.preventDefault(),this.stepForward()):(n.which===38||n.which===39)&&(n.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var n=0;this.focusedChild_!==undefined&&(n=this.focusedChild_+1);this.focus(n)},t.prototype.stepBack=function(){var n=0;this.focusedChild_!==undefined&&(n=this.focusedChild_-1);this.focus(n)},t.prototype.focus=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,n=this.children().slice(),i=n.length&&n[0].className&&/vjs-menu-title/.test(n[0].className);i&&n.shift();n.length>0&&(t<0?t=0:t>=n.length&&(t=n.length-1),this.focusedChild_=t,n[t].el_.focus())},t}(f["default"]);f["default"].registerComponent("Menu",u);i["default"]=u},{"5":5,"81":81,"82":82,"83":83}],50:[function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function l(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function a(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var v=n(81),r=e(v),y=n(83),o=e(y),p=n(5),s=h(p),u="vjs-modal-dialog",w=27,f=function(n){function t(i,f){c(this,t);var e=l(this,n.call(this,i,f));return e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=r.createEl("div",{className:u+"-content"},{role:"document"}),e.descEl_=r.createEl("p",{className:u+"-description vjs-offscreen",id:e.el().getAttribute("aria-describedby")}),r.textContent(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}return a(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.buildCSSClass=function(){return u+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===w&&this.closeable()&&this.close()},t.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},t.prototype.description=function(){var n=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(n+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),n},t.prototype.open=function(){if(!this.opened_){var n=this.player();if(this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!n.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&n.pause(),this.closeable())this.on(this.el_.ownerDocument,"keydown",o.bind(this,this.handleKeyPress));n.controls(!1);this.show();this.el().setAttribute("aria-hidden","false");this.trigger("modalopen");this.hasBeenOpened_=!0}return this},t.prototype.opened=function(n){return typeof n=="boolean"&&this[n?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var n=this.player();this.trigger("beforemodalclose");this.opened_=!1;this.wasPlaying_&&this.options_.pauseOnOpen&&n.play();this.closeable()&&this.off(this.el_.ownerDocument,"keydown",o.bind(this,this.handleKeyPress));n.controls(!0);this.hide();this.el().setAttribute("aria-hidden","true");this.trigger("modalclose");this.options_.temporary&&this.dispose()}return this},t.prototype.closeable=function(n){var i,t,r;if(typeof n=="boolean"){if(i=this.closeable_=!!n,t=this.getChild("closeButton"),i&&!t){r=this.contentEl_;this.contentEl_=this.el_;t=this.addChild("closeButton",{controlText:"Close Modal Dialog"});this.contentEl_=r;this.on(t,"close",this.close)}!i&&t&&(this.off(t,"close",this.close),this.removeChild(t),t.dispose())}return this.closeable_},t.prototype.fill=function(){return this.fillWith(this.content())},t.prototype.fillWith=function(n){var t=this.contentEl(),i=t.parentNode,u=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(t),this.empty(),r.insertContent(t,n),this.trigger("modalfill"),u?i.insertBefore(t,u):i.appendChild(t),this},t.prototype.empty=function(){return this.trigger("beforemodalempty"),r.emptyEl(this.contentEl()),this.trigger("modalempty"),this},t.prototype.content=function(n){return typeof n!="undefined"&&(this.content_=n),this.content_},t}(s["default"]);f.prototype.options_={pauseOnOpen:!0,temporary:!0};s["default"].registerComponent("ModalDialog",f);i["default"]=f},{"5":5,"81":81,"83":83}],51:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function it(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function rt(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function ut(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var k,o,h;i.__esModule=!0;var ft=n(5),c=r(ft),et=n(94),f=r(et),ot=n(95),v=r(ot),st=n(82),y=s(st),ht=n(81),u=s(ht),ct=n(83),p=s(ct),lt=n(85),at=s(lt),vt=n(78),yt=s(vt),pt=n(86),e=r(pt),wt=n(91),l=r(wt),bt=n(90),kt=n(79),dt=n(89),d=s(dt),gt=n(44),g=r(gt),ni=n(46),nt=r(ni),ti=n(97),ii=r(ti),w=n(88),ri=n(87),b=r(ri),ui=n(69),tt=r(ui),fi=n(50),ei=r(fi),oi=n(62),a=r(oi),si=n(63),hi=r(si),ci=n(76),li=r(ci);n(61);n(59);n(55);n(68);n(45);n(1);n(4);n(8);n(41);n(71);n(60);k=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","ratechange","volumechange","texttrackchange"];o=function(n){function t(i,r,f){var h,s,o,c,a,l;if(it(this,t),i.id=i.id||"vjs_video_"+at.newGUID(),r=w.assign(t.getTagSettings(i),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,!r.language)if(typeof i.closest=="function")h=i.closest("[lang]"),h&&(r.language=h.getAttribute("lang"));else for(s=i;s&&s.nodeType===1;){if(u.getElAttributes(s).hasOwnProperty("lang")){r.language=s.getAttribute("lang");break}s=s.parentNode}if(o=rt(this,n.call(this,null,r,f)),!o.options_||!o.options_.techOrder||!o.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");o.tag=i;o.tagAttributes=i&&u.getElAttributes(i);o.language(o.options_.language);r.languages?(c={},Object.getOwnPropertyNames(r.languages).forEach(function(n){c[n.toLowerCase()]=r.languages[n]}),o.languages_=c):o.languages_=t.prototype.options_.languages;o.cache_={};o.poster_=r.poster||"";o.controls_=!!r.controls;i.controls=!1;o.scrubbing_=!1;o.el_=o.createEl();a=b["default"](o.options_);r.plugins&&(l=r.plugins,Object.getOwnPropertyNames(l).forEach(function(n){typeof this[n]=="function"?this[n](l[n]):e["default"].error("Unable to find plugin:",n)},o));o.options_.playerOptions=a;o.initChildren();o.isAudio(i.nodeName.toLowerCase()==="audio");o.controls()?o.addClass("vjs-controls-enabled"):o.addClass("vjs-controls-disabled");o.el_.setAttribute("role","region");o.isAudio()?o.el_.setAttribute("aria-label","audio player"):o.el_.setAttribute("aria-label","video player");o.isAudio()&&o.addClass("vjs-audio");o.flexNotSupported_()&&o.addClass("vjs-no-flex");yt.IS_IOS||o.addClass("vjs-workinghover");t.players[o.id_]=o;o.userActive(!0);o.reportUserActivity();o.listenForUserActivity_();o.on("fullscreenchange",o.handleFullscreenChange_);o.on("stageclick",o.handleStageClick_);return o}return ut(t,n),t.prototype.dispose=function(){this.trigger("dispose");this.off("dispose");this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_);t.players[this.id_]=null;this.tag&&this.tag.player&&(this.tag.player=null);this.el_&&this.el_.player&&(this.el_.player=null);this.tech_&&this.tech_.dispose();n.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,i=void 0,c=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),r,e,o,s,f,h;for(i=this.el_=c?t.parentNode:n.prototype.createEl.call(this,"div"),t.setAttribute("tabindex","-1"),t.removeAttribute("width"),t.removeAttribute("height"),r=u.getElAttributes(t),Object.getOwnPropertyNames(r).forEach(function(n){n==="class"?i.className+=" "+r[n]:i.setAttribute(n,r[n])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=i.player=this,this.addClass("vjs-paused"),v["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&(this.styleEl_=d.createStyleElement("vjs-styles-dimensions"),e=u.$(".vjs-styles-defaults"),o=u.$("head"),o.insertBefore(this.styleEl_,e?e.nextSibling:o.firstChild)),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),s=t.getElementsByTagName("a"),f=0;f<s.length;f++)h=s.item(f),u.addElClass(h,"vjs-hidden"),h.setAttribute("hidden","hidden");return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(i,t),u.insertElFirst(t,i),this.children_.unshift(t),this.el_=i,i},t.prototype.width=function(n){return this.dimension("width",n)},t.prototype.height=function(n){return this.dimension("height",n)},t.prototype.dimension=function(n,t){var i=n+"_",r;if(t===undefined)return this[i]||0;if(t==="")this[i]=undefined;else{if(r=parseFloat(t),isNaN(r))return e["default"].error('Improper value "'+t+'" supplied for for '+n),this;this[i]=r}return this.updateStyleEl_(),this},t.prototype.fluid=function(n){if(n===undefined)return!!this.fluid_;this.fluid_=!!n;n?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid");this.updateStyleEl_()},t.prototype.aspectRatio=function(n){if(n===undefined)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(n))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=n;this.fluid(!0);this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){var i,n;if(v["default"].VIDEOJS_NO_DYNAMIC_STYLE===!0){var f=typeof this.width_=="number"?this.width_:this.options_.width,e=typeof this.height_=="number"?this.height_:this.options_.height,r=this.tech_&&this.tech_.el();r&&(f>=0&&(r.width=f),e>=0&&(r.height=e));return}var u=void 0,o=void 0,s=void 0,t=void 0;s=this.aspectRatio_!==undefined&&this.aspectRatio_!=="auto"?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";i=s.split(":");n=i[1]/i[0];u=this.width_!==undefined?this.width_:this.height_!==undefined?this.height_/n:this.videoWidth()||300;o=this.height_!==undefined?this.height_:u*n;t=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(t);d.setTextContent(this.styleEl_,"\n      ."+t+" {\n        width: "+u+"px;\n        height: "+o+"px;\n      }\n\n      ."+t+".vjs-fluid {\n        padding-top: "+n*100+"%;\n      }\n    ")},t.prototype.loadTech_=function(n,t){var f=this,i,r;this.tech_&&this.unloadTech_();n!=="Html5"&&this.tag&&(a["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null);this.techName_=n;this.isReady_=!1;i=w.assign({source:t,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+n+"_api",videoTracks:this.videoTracks_,textTracks:this.textTracks_,audioTracks:this.audioTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"]},this.options_[n.toLowerCase()]);this.tag&&(i.tag=this.tag);t&&(this.currentType_=t.type,t.src===this.cache_.src&&this.cache_.currentTime>0&&(i.startTime=this.cache_.currentTime),this.cache_.sources=null,this.cache_.source=t,this.cache_.src=t.src);r=a["default"].getTech(n);r||(r=c["default"].getComponent(n));this.tech_=new r(i);this.tech_.ready(p.bind(this,this.handleTechReady_),!0);tt["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);k.forEach(function(n){f.on(f.tech_,n,f["handleTech"+l["default"](n)+"_"])});this.on(this.tech_,"loadstart",this.handleTechLoadStart_);this.on(this.tech_,"waiting",this.handleTechWaiting_);this.on(this.tech_,"canplay",this.handleTechCanPlay_);this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_);this.on(this.tech_,"playing",this.handleTechPlaying_);this.on(this.tech_,"ended",this.handleTechEnded_);this.on(this.tech_,"seeking",this.handleTechSeeking_);this.on(this.tech_,"seeked",this.handleTechSeeked_);this.on(this.tech_,"play",this.handleTechPlay_);this.on(this.tech_,"firstplay",this.handleTechFirstPlay_);this.on(this.tech_,"pause",this.handleTechPause_);this.on(this.tech_,"durationchange",this.handleTechDurationChange_);this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_);this.on(this.tech_,"error",this.handleTechError_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);this.on(this.tech_,"textdata",this.handleTechTextData_);this.usingNativeControls(this.techGet_("controls"));this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_();this.tech_.el().parentNode===this.el()||n==="Html5"&&this.tag||u.insertElFirst(this.tech_.el(),this.el());this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.videoTracks_=this.videoTracks();this.textTracks_=this.textTracks();this.audioTracks_=this.audioTracks();this.textTracksJson_=tt["default"].textTracksToJson(this.tech_);this.isReady_=!1;this.tech_.dispose();this.tech_=!1},t.prototype.tech=function(n){if(n&&n.IWillNotUseThisInPlugins)return this.tech_;var t="\n      Please make sure that you are not using this inside of a plugin.\n      To disable this alert and error, please pass in an object with\n      `IWillNotUseThisInPlugins` to the `tech` method. See\n      https://github.com/videojs/video.js/issues/2617 for more info.\n    ";v["default"].alert(t);throw new Error(t);},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_();this.on(this.tech_,"mousedown",this.handleTechClick_);this.on(this.tech_,"touchstart",this.handleTechTouchStart_);this.on(this.tech_,"touchmove",this.handleTechTouchMove_);this.on(this.tech_,"touchend",this.handleTechTouchEnd_);this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_);this.off(this.tech_,"touchstart",this.handleTechTouchStart_);this.off(this.tech_,"touchmove",this.handleTechTouchMove_);this.off(this.tech_,"touchend",this.handleTechTouchEnd_);this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused()){try{delete this.tag.poster}catch(n){e["default"]("deleting tag.poster throws in some browsers",n)}this.play()}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-seeking");this.error(null);this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},t.prototype.hasStarted=function(n){return n!==undefined?(this.hasStarted_!==n&&(this.hasStarted_=n,n?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended");this.removeClass("vjs-paused");this.addClass("vjs-playing");this.hasStarted(!0);this.trigger("play")},t.prototype.handleTechWaiting_=function(){var n=this;this.addClass("vjs-waiting");this.trigger("waiting");this.one("timeupdate",function(){return n.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting");this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting");this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting");this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking");this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking");this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(e["default"].warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime));this.addClass("vjs-has-started");this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing");this.addClass("vjs-paused");this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended");this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause();this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(n){n.button===0&&this.controls()&&(this.paused()?this.play():this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(n){n.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(n,t){t&&this.isFullscreen(t.isFullscreen);this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var n=this.tech_.error();this.error(n)},t.prototype.handleTechTextData_=function(){var n=null;arguments.length>1&&(n=arguments[1]);this.trigger("textdata",n)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(n,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[n](t)},!0);else try{this.tech_&&this.tech_[n](t)}catch(i){e["default"](i);throw i;}},t.prototype.techGet_=function(n){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[n]()}catch(t){this.tech_[n]===undefined?e["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):t.name==="TypeError"?(e["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):e["default"](t);throw t;}return},t.prototype.play=function(){if(this.src()||this.currentSrc())this.techCall_("play");else this.tech_.one("loadstart",function(){this.play()});return this},t.prototype.pause=function(){return this.techCall_("pause"),this},t.prototype.paused=function(){return this.techGet_("paused")===!1?!1:!0},t.prototype.scrubbing=function(n){return n!==undefined?(this.scrubbing_=!!n,n?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},t.prototype.currentTime=function(n){return n!==undefined?(this.techCall_("setCurrentTime",n),this):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(n){return n===undefined?this.cache_.duration||0:(n=parseFloat(n)||0,n<0&&(n=Infinity),n!==this.cache_.duration&&(this.cache_.duration=n,n===Infinity?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.buffered=function(){var n=this.techGet_("buffered");return n&&n.length||(n=bt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return kt.bufferedPercent(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var t=this.buffered(),i=this.duration(),n=t.end(t.length-1);return n>i&&(n=i),n},t.prototype.volume=function(n){var t=void 0;return n!==undefined?(t=Math.max(0,Math.min(1,parseFloat(n))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(n){return n!==undefined?(this.techCall_("setMuted",n),this):this.techGet_("muted")||!1},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(n){return n!==undefined?(this.isFullscreen_=!!n,this):!!this.isFullscreen_},t.prototype.requestFullscreen=function(){var n=g["default"];if(this.isFullscreen(!0),n.requestFullscreen){y.on(f["default"],n.fullscreenchange,p.bind(this,function t(){this.isFullscreen(f["default"][n.fullscreenElement]);this.isFullscreen()===!1&&y.off(f["default"],n.fullscreenchange,t);this.trigger("fullscreenchange")}));this.el_[n.requestFullscreen]()}else this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"));return this},t.prototype.exitFullscreen=function(){var n=g["default"];return this.isFullscreen(!1),n.requestFullscreen?f["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=f["default"].documentElement.style.overflow;y.on(f["default"],"keydown",p.bind(this,this.fullWindowOnEscKey));f["default"].documentElement.style.overflow="hidden";u.addElClass(f["default"].body,"vjs-full-window");this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(n){n.keyCode===27&&(this.isFullscreen()===!0?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1;y.off(f["default"],"keydown",this.fullWindowOnEscKey);f["default"].documentElement.style.overflow=this.docOrigOverflow;u.removeElClass(f["default"].body,"vjs-full-window");this.trigger("exitFullWindow")},t.prototype.canPlayType=function(n){for(var i,t,r=void 0,u=0,f=this.options_.techOrder;u<f.length;u++){if(i=l["default"](f[u]),t=a["default"].getTech(i),t||(t=c["default"].getComponent(i)),!t){e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.');continue}if(t.isSupported()&&(r=t.canPlayType(n),r))return r}return""},t.prototype.selectSource=function(n){var f=this,t=this.options_.techOrder.map(l["default"]).map(function(n){return[n,a["default"].getTech(n)||c["default"].getComponent(n)]}).filter(function(n){var i=n[0],t=n[1];return t?t.isSupported():(e["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(n,t,i){var r=void 0;return n.some(function(n){return t.some(function(t){return r=i(n,t),r?!0:void 0})}),r},r=void 0,o=function(n){return function(t,i){return n(i,t)}},u=function(n,t){var i=n[0],r=n[1];if(r.canPlaySource(t,f.options_[i.toLowerCase()]))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,o(u)):i(t,n,u),r||!1},t.prototype.src=function(n){if(n===undefined)return this.techGet_("src");var t=a["default"].getTech(this.techName_);return t||(t=c["default"].getComponent(this.techName_)),Array.isArray(n)?this.sourceList_(n):typeof n=="string"?this.src({src:n}):n instanceof Object&&(n.type&&!t.canPlaySource(n,this.options_[this.techName_.toLowerCase()])?this.sourceList_([n]):(this.cache_.sources=null,this.cache_.source=n,this.cache_.src=n.src,this.currentType_=n.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",n):this.techCall_("src",n.src);this.options_.preload==="auto"&&this.load();this.options_.autoplay&&this.play()},!0))),this},t.prototype.sourceList_=function(n){var t=this.selectSource(n);t?(t.tech===this.techName_?this.src(t.source):this.loadTech_(t.tech,t.source),this.cache_.sources=n):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},t.prototype.load=function(){return this.techCall_("load"),this},t.prototype.reset=function(){return this.loadTech_(l["default"](this.options_.techOrder[0]),null),this.techCall_("reset"),this},t.prototype.currentSources=function(){var n=this.currentSource(),t=[];return Object.keys(n).length!==0&&t.push(n),this.cache_.sources||t},t.prototype.currentSource=function(){var n={},t=this.currentSrc();return t&&(n.src=t),this.cache_.source||n},t.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},t.prototype.currentType=function(){return this.currentType_||""},t.prototype.preload=function(n){return n!==undefined?(this.techCall_("setPreload",n),this.options_.preload=n,this):this.techGet_("preload")},t.prototype.autoplay=function(n){return n!==undefined?(this.techCall_("setAutoplay",n),this.options_.autoplay=n,this):this.techGet_("autoplay",n)},t.prototype.loop=function(n){return n!==undefined?(this.techCall_("setLoop",n),this.options_.loop=n,this):this.techGet_("loop")},t.prototype.poster=function(n){return n===undefined?this.poster_:(n||(n=""),this.poster_=n,this.techCall_("setPoster",n),this.trigger("posterchange"),this)},t.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},t.prototype.controls=function(n){return n!==undefined?(n=!!n,this.controls_!==n&&(this.controls_=n,this.usingNativeControls()&&this.techCall_("setControls",n),n?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},t.prototype.usingNativeControls=function(n){return n!==undefined?(n=!!n,this.usingNativeControls_!==n&&(this.usingNativeControls_=n,n?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},t.prototype.error=function(n){return n===undefined?this.error_||null:n===null?(this.error_=n,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close(),this):(this.error_=new nt["default"](n),this.addClass("vjs-error"),e["default"].error("(CODE:"+this.error_.code+" "+nt["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.reportUserActivity=function(){this.userActivity_=!0},t.prototype.userActive=function(n){if(n!==undefined){if(n=!!n,n!==this.userActive_)if(this.userActive_=n,n)this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");else{if(this.userActivity_=!1,this.tech_)this.tech_.one("mousemove",function(n){n.stopPropagation();n.preventDefault()});this.removeClass("vjs-user-active");this.addClass("vjs-user-inactive");this.trigger("userinactive")}return this}return this.userActive_},t.prototype.listenForUserActivity_=function(){var t=void 0,r=void 0,u=void 0,n=p.bind(this,this.reportUserActivity),f=function(t){(t.screenX!==r||t.screenY!==u)&&(r=t.screenX,u=t.screenY,n())},e=function(){n();this.clearInterval(t);t=this.setInterval(n,250)},o=function(){n();this.clearInterval(t)},i;this.on("mousedown",e);this.on("mousemove",f);this.on("mouseup",o);this.on("keydown",n);this.on("keyup",n);i=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1;this.userActive(!0);this.clearTimeout(i);var n=this.options_.inactivityTimeout;n>0&&(i=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},n))}},250)},t.prototype.playbackRate=function(n){return n!==undefined?(this.techCall_("setPlaybackRate",n),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},t.prototype.isAudio=function(n){return n!==undefined?(this.isAudio_=!!n,this):!!this.isAudio_},t.prototype.videoTracks=function(){return this.tech_?this.tech_.videoTracks():(this.videoTracks_=this.videoTracks_||new li["default"],this.videoTracks_)},t.prototype.audioTracks=function(){return this.tech_?this.tech_.audioTracks():(this.audioTracks_=this.audioTracks_||new hi["default"],this.audioTracks_)},t.prototype.textTracks=function(){if(this.tech_)return this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){if(this.tech_)return this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){if(this.tech_)return this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(n,t,i){if(this.tech_)return this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n,t){if(this.tech_)return this.tech_.addRemoteTextTrack(n,t)},t.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=t.track,i=n===undefined?arguments[0]:n;if(this.tech_)return this.tech_.removeRemoteTextTrack(i)},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(n){return n===undefined?this.language_:(this.language_=String(n).toLowerCase(),this)},t.prototype.languages=function(){return b["default"](t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var i=b["default"](this.options_),r=i.tracks,n,t;for(i.tracks=[],n=0;n<r.length;n++)t=r[n],t=b["default"](t),t.player=undefined,i.tracks[n]=t;return i},t.prototype.createModal=function(n,t){var r=this,i;t=t||{};t.content=n||"";i=new ei["default"](this,t);this.addChild(i);i.on("dispose",function(){r.removeChild(i)});return i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},i=u.getElAttributes(n),h=i["data-setup"],o,r,c,f,s;if(u.hasElClass(n,"vjs-fluid")&&(i.fluid=!0),h!==null){var l=ii["default"](h||"{}"),a=l[0],v=l[1];a&&e["default"].error(a);w.assign(i,v)}if(w.assign(t,i),n.hasChildNodes())for(o=n.childNodes,r=0,c=o.length;r<c;r++)f=o[r],s=f.nodeName.toLowerCase(),s==="source"?t.sources.push(u.getElAttributes(f)):s==="track"&&t.tracks.push(u.getElAttributes(f));return t},t.prototype.flexNotSupported_=function(){var n=f["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)},t}(c["default"]);o.players={};h=v["default"].navigator;o.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:h&&(h.languages&&h.languages[0]||h.userLanguage||h.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};["ended","seeking","seekable","networkState","readyState"].forEach(function(n){o.prototype[n]=function(){return this.techGet_(n)}});k.forEach(function(n){o.prototype["handleTech"+l["default"](n)+"_"]=function(){return this.trigger(n)}});c["default"].registerComponent("Player",o);i["default"]=o},{"1":1,"4":4,"41":41,"44":44,"45":45,"46":46,"5":5,"50":50,"55":55,"59":59,"60":60,"61":61,"62":62,"63":63,"68":68,"69":69,"71":71,"76":76,"78":78,"79":79,"8":8,"81":81,"82":82,"83":83,"85":85,"86":86,"87":87,"88":88,"89":89,"90":90,"91":91,"94":94,"95":95,"97":97}],52:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}var r,u,f;i.__esModule=!0;r=n(51);u=e(r);f=function(n,t){u["default"].prototype[n]=t};i["default"]=f},{"51":51}],53:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function o(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var s=n(3),h=u(s),c=n(5),l=u(c);r=function(n){function t(i){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r;return f(this,t),r=e(this,n.call(this,i,u)),r.update(),r}return o(t,n),t.prototype.update=function(){var n=this.createPopup();this.popup&&this.removeChild(this.popup);this.popup=n;this.addChild(n);this.items&&this.items.length===0?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createPopup=function(){},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return t+=this.options_.inline===!0?"-inline":"-popup","vjs-menu-button "+t+" "+n.prototype.buildCSSClass.call(this)},t}(h["default"]);l["default"].registerComponent("PopupButton",r);i["default"]=r},{"3":3,"5":5}],54:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var c=n(5),f=e(c),l=n(81),a=r(l),v=n(83),y=r(v),p=n(82),w=r(p);u=function(n){function t(){return o(this,t),s(this,n.apply(this,arguments))}return h(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",y.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;this.contentEl_=a.createEl(i,{className:"vjs-menu-content"});t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});t.appendChild(this.contentEl_);w.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()});return t},t}(f["default"]);f["default"].registerComponent("Popup",u);i["default"]=u},{"5":5,"81":81,"82":82,"83":83}],55:[function(n,t,i){"use strict";function r(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var c=n(3),l=f(c),a=n(5),v=f(a),y=n(83),p=r(y),w=n(81),e=r(w),b=n(78),k=r(b);u=function(n){function t(i,r){o(this,t);var u=s(this,n.call(this,i,r));u.update();i.on("posterchange",p.bind(u,u.update));return u}return h(t,n),t.prototype.dispose=function(){this.player().off("posterchange",this.update);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=e.createEl("div",{className:"vjs-poster",tabIndex:-1});return k.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=e.createEl("img"),n.appendChild(this.fallbackImg_)),n},t.prototype.update=function(){var n=this.player().poster();this.setSrc(n);n?this.show():this.hide()},t.prototype.setSrc=function(n){if(this.fallbackImg_)this.fallbackImg_.src=n;else{var t="";n&&(t='url("'+n+'")');this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(){this.player_.controls()&&(this.player_.paused()?this.player_.play():this.player_.pause())},t}(l["default"]);v["default"].registerComponent("PosterImage",u);i["default"]=u},{"3":3,"5":5,"78":78,"81":81,"83":83}],56:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n,t){t&&(l=t);c["default"].setTimeout(a,n)}var s;i.__esModule=!0;i.hasLoaded=i.autoSetupTimeout=i.autoSetup=undefined;var v=n(81),h=o(v),y=n(82),p=o(y),w=n(94),f=e(w),b=n(95),c=e(b),r=!1,l=void 0,a=function(){var i,a,e,v,o,y,n,p;if(h.isReal()){var s=f["default"].getElementsByTagName("video"),c=f["default"].getElementsByTagName("audio"),t=[];if(s&&s.length>0)for(i=0,a=s.length;i<a;i++)t.push(s[i]);if(c&&c.length>0)for(e=0,v=c.length;e<v;e++)t.push(c[e]);if(t&&t.length>0)for(o=0,y=t.length;o<y;o++)if(n=t[o],n&&n.getAttribute)n.player===undefined&&(p=n.getAttribute("data-setup"),p!==null&&l(n));else{u(1);break}else r||u(1)}};if(h.isReal()&&f["default"].readyState==="complete")r=!0;else p.one(c["default"],"load",function(){r=!0});s=function(){return r};i.autoSetup=a;i.autoSetupTimeout=u;i.hasLoaded=s},{"81":81,"82":82,"94":94,"95":95}],57:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function s(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function c(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r;i.__esModule=!0;var a=n(5),f=s(a),v=n(81),u=o(v),e=n(88);r=function(n){function t(i,r){h(this,t);var u=c(this,n.call(this,i,r));u.bar=u.getChild(u.options_.barName);u.vertical(!!u.options_.vertical);u.on("mousedown",u.handleMouseDown);u.on("touchstart",u.handleMouseDown);u.on("focus",u.handleFocus);u.on("blur",u.handleBlur);u.on("click",u.handleClick);u.on(i,"controlsvisible",u.update);u.on(i,u.playerEvent,u.update);return u}return l(t,n),t.prototype.createEl=function(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return i.className=i.className+" vjs-slider",i=e.assign({tabIndex:0},i),r=e.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),n.prototype.createEl.call(this,t,i,r)},t.prototype.handleMouseDown=function(n){var t=this.bar.el_.ownerDocument;n.preventDefault();u.blockTextSelection();this.addClass("vjs-sliding");this.trigger("slideractive");this.on(t,"mousemove",this.handleMouseMove);this.on(t,"mouseup",this.handleMouseUp);this.on(t,"touchmove",this.handleMouseMove);this.on(t,"touchend",this.handleMouseUp);this.handleMouseMove(n)},t.prototype.handleMouseMove=function(){},t.prototype.handleMouseUp=function(){var n=this.bar.el_.ownerDocument;u.unblockTextSelection();this.removeClass("vjs-sliding");this.trigger("sliderinactive");this.off(n,"mousemove",this.handleMouseMove);this.off(n,"mouseup",this.handleMouseUp);this.off(n,"touchmove",this.handleMouseMove);this.off(n,"touchend",this.handleMouseUp);this.update()},t.prototype.update=function(){var n,t,i;this.el_&&(n=this.getPercent(),t=this.bar,t)&&((typeof n!="number"||n!==n||n<0||n===Infinity)&&(n=0),i=(n*100).toFixed(2)+"%",this.vertical()?t.el().style.height=i:t.el().style.width=i)},t.prototype.calculateDistance=function(n){var t=u.getPointerPosition(this.el_,n);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(n){n.which===37||n.which===40?(n.preventDefault(),this.stepBack()):(n.which===38||n.which===39)&&(n.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(n){n.stopImmediatePropagation();n.preventDefault()},t.prototype.vertical=function(n){return n===undefined?this.vertical_||!1:(this.vertical_=!!n,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},t}(f["default"]);f["default"].registerComponent("Slider",r);i["default"]=r},{"5":5,"81":81,"88":88}],58:[function(n,t,i){"use strict";function r(n){return n.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},n.streamFromParts=function(n,t){return n+"&"+t},n.streamToParts=function(n){var r={connection:"",stream:""},t,i;return n?(t=n.search(/&(?!\w+=)/),i=void 0,t!==-1?i=t+1:(t=i=n.lastIndexOf("/")+1,t===0&&(t=i=n.length)),r.connection=n.substring(0,t),r.stream=n.substring(i,n.length),r):r},n.isStreamingType=function(t){return t in n.streamingFormats},n.RTMP_RE=/^rtmp[set]?:\/\//i,n.isStreamingSrc=function(t){return n.RTMP_RE.test(t)},n.rtmpSourceHandler={},n.rtmpSourceHandler.canPlayType=function(t){return n.isStreamingType(t)?"maybe":""},n.rtmpSourceHandler.canHandleSource=function(t){var i=n.rtmpSourceHandler.canPlayType(t.type);return i?i:n.isStreamingSrc(t.src)?"maybe":""},n.rtmpSourceHandler.handleSource=function(t,i){var r=n.streamToParts(t.src);i.setRtmpConnection(r.connection);i.setRtmpStream(r.stream)},n.registerSourceHandler(n.rtmpSourceHandler),n}i.__esModule=!0;i["default"]=r},{}],59:[function(n,t,i){"use strict";function y(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function o(n){return n&&n.__esModule?n:{"default":n}}function d(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function g(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function nt(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function tt(n){var t=n.charAt(0).toUpperCase()+n.slice(1);b["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function p(n){b[n]=function(){return this.el_.vjs_getProperty(n)}}var f,s;i.__esModule=!0;var it=n(62),l=o(it),rt=n(81),h=y(rt),ut=n(92),w=y(ut),c=n(90),ft=n(58),et=o(ft),ot=n(5),st=o(ot),ht=n(95),u=o(ht),e=n(88),a=u["default"].navigator,r=function(n){function t(i,r){d(this,t);var f=g(this,n.call(this,i,r));i.source&&f.ready(function(){this.setSource(i.source)},!0);i.startTime&&f.ready(function(){this.load();this.play();this.currentTime(i.startTime)},!0);u["default"].videojs=u["default"].videojs||{};u["default"].videojs.Flash=u["default"].videojs.Flash||{};u["default"].videojs.Flash.onReady=t.onReady;u["default"].videojs.Flash.onEvent=t.onEvent;u["default"].videojs.Flash.onError=t.onError;f.on("seeked",function(){this.lastSeekTarget_=undefined});return f}return nt(t,n),t.prototype.createEl=function(){var n=this.options_,i;n.swf||(i="5.3.0",n.swf="//vjs.zencdn.net/swf/"+i+"/video-js.swf");var r=n.techId,u=e.assign({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:n.autoplay,preload:n.preload,loop:n.loop,muted:n.muted},n.flashVars),f=e.assign({wmode:"opaque",bgcolor:"#000000"},n.params),o=e.assign({id:r,name:r,"class":"vjs-tech"},n.attributes);return this.el_=t.embed(n.swf,u,f,o),this.el_.tech=this,this.el_},t.prototype.play=function(){this.ended()&&this.setCurrentTime(0);this.el_.vjs_play()},t.prototype.pause=function(){this.el_.vjs_pause()},t.prototype.src=function(n){return n===undefined?this.currentSrc():this.setSrc(n)},t.prototype.setSrc=function(n){var t=this;n=w.getAbsoluteURL(n);this.el_.vjs_src(n);this.autoplay()&&this.setTimeout(function(){return t.play()},0)},t.prototype.seeking=function(){return this.lastSeekTarget_!==undefined},t.prototype.setCurrentTime=function(t){var i=this.seekable();i.length&&(t=t>i.start(0)?t:i.start(0),t=t<i.end(i.length-1)?t:i.end(i.length-1),this.lastSeekTarget_=t,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",t),n.prototype.setCurrentTime.call(this))},t.prototype.currentTime=function(){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},t.prototype.duration=function(){if(this.readyState()===0)return NaN;var n=this.el_.vjs_getProperty("duration");return n>=0?n:Infinity},t.prototype.load=function(){this.el_.vjs_load()},t.prototype.poster=function(){this.el_.vjs_getProperty("poster")},t.prototype.setPoster=function(){},t.prototype.seekable=function(){var n=this.duration();return n===0?c.createTimeRange():c.createTimeRange(0,n)},t.prototype.buffered=function(){var n=this.el_.vjs_getProperty("buffered");return n.length===0?c.createTimeRange():c.createTimeRange(n[0][0],n[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(l["default"]),b=r.prototype,v="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),k="networkState,readyState,initialTime,startOffsetTime,paused,ended,videoWidth,videoHeight".split(",");for(f=0;f<v.length;f++)p(v[f]),tt(v[f]);for(s=0;s<k.length;s++)p(k[s]);r.isSupported=function(){return r.version()[0]>=10};l["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){return n in r.formats?"maybe":""};r.nativeSourceHandler.canHandleSource=function(n){function i(n){var t=w.getFileExtension(n);return t?"video/"+t:""}var t=void 0;return t=n.type?n.type.replace(/;.*/,"").toLowerCase():i(n.src),r.nativeSourceHandler.canPlayType(t)};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);r.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};r.onReady=function(n){var i=h.getEl(n),t=i&&i.tech;t&&t.el()&&r.checkReady(t)};r.checkReady=function(n){n.el()&&(n.el().vjs_getProperty?n.triggerReady():this.setTimeout(function(){r.checkReady(n)},50))};r.onEvent=function(n,t){var i=h.getEl(n).tech,r=Array.prototype.slice.call(arguments,2);i.setTimeout(function(){i.trigger(t,r)},1)};r.onError=function(n,t){var i=h.getEl(n).tech;if(t==="srcnotfound")return i.error(4);i.error("FLASH: "+t)};r.version=function(){var n="0,0,0";try{n=new u["default"].ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{a.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(n=(a.plugins["Shockwave Flash 2.0"]||a.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(i){}}return n.split(",")};r.embed=function(n,t,i,u){var f=r.getEmbedCode(n,t,i,u);return h.createEl("div",{innerHTML:f}).childNodes[0]};r.getEmbedCode=function(n,t,i,r){var u="",f="",o="";return t&&Object.getOwnPropertyNames(t).forEach(function(n){u+=n+"="+t[n]+"&amp;"}),i=e.assign({movie:n,flashvars:u,allowScriptAccess:"always",allowNetworking:"all"},i),Object.getOwnPropertyNames(i).forEach(function(n){f+='<param name="'+n+'" value="'+i[n]+'" />'}),r=e.assign({data:n,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(n){o+=n+'="'+r[n]+'" '}),'<object type="application/x-shockwave-flash" '+o+">"+f+"<\/object>"};et["default"](r);st["default"].registerComponent("Flash",r);l["default"].registerTech("Flash",r);i["default"]=r},{"5":5,"58":58,"62":62,"81":81,"88":88,"90":90,"92":92,"95":95}],60:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function b(n,t){return n.raw=t,n}function k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function g(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,e;i.__esModule=!0;var nt=b(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),tt=n(62),c=f(tt),it=n(5),rt=f(it),ut=n(81),s=o(ut),ft=n(92),y=o(ft),et=n(83),l=o(et),ot=n(86),p=f(ot),st=n(98),ht=f(st),ct=n(78),u=o(ct),lt=n(94),h=f(lt),at=n(95),w=f(at),vt=n(88),yt=n(87),pt=f(yt),wt=n(91),a=f(wt);r=function(n){function t(i,r){var e,v,o,w;k(this,t);var f=d(this,n.call(this,i,r)),s=i.source,h=!1;if(s&&(f.el_.currentSrc!==s.src||i.tag&&i.tag.initNetworkState_===3)?f.setSource(s):f.handleLateInit_(f.el_),f.el_.hasChildNodes()){for(var b=f.el_.childNodes,g=b.length,c=[];g--;)e=b[g],v=e.nodeName.toLowerCase(),v==="track"&&(f.featuresNativeTextTracks?(f.remoteTextTrackEls().addTrackElement_(e),f.remoteTextTracks().addTrack_(e.track),h||f.el_.hasAttribute("crossorigin")||!y.isCrossOrigin(e.src)||(h=!0)):c.push(e));for(o=0;o<c.length;o++)f.el_.removeChild(c[o])}return w=["audio","video"],w.forEach(function(n){var r=f.el()[n+"Tracks"],i=f[n+"Tracks"](),t=a["default"](n);if(f["featuresNative"+t+"Tracks"]&&r&&r.addEventListener){f["handle"+t+"TrackChange_"]=function(){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})};f["handle"+t+"TrackAdd_"]=function(n){return i.addTrack(n.track)};f["handle"+t+"TrackRemove_"]=function(n){return i.removeTrack(n.track)};r.addEventListener("change",f["handle"+t+"TrackChange_"]);r.addEventListener("addtrack",f["handle"+t+"TrackAdd_"]);r.addEventListener("removetrack",f["handle"+t+"TrackRemove_"]);f["removeOld"+t+"Tracks_"]=function(){return f.removeOldTracks_(i,r)};f.on("loadstart",f["removeOld"+t+"Tracks_"])}}),f.featuresNativeTextTracks&&(h&&p["default"].warn(ht["default"](nt)),f.handleTextTrackChange_=l.bind(f,f.handleTextTrackChange),f.handleTextTrackAdd_=l.bind(f,f.handleTextTrackAdd),f.handleTextTrackRemove_=l.bind(f,f.handleTextTrackRemove),f.proxyNativeTextTracks_()),(u.TOUCH_ENABLED||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&i.nativeControlsForTouch===!0&&f.setControls(!0),f.proxyWebkitFullscreen_(),f.triggerReady(),f}return g(t,n),t.prototype.dispose=function(){var i=this;["audio","video","text"].forEach(function(n){var r=a["default"](n),t=i.el_[n+"Tracks"];t&&t.removeEventListener&&(t.removeEventListener("change",i["handle"+r+"TrackChange_"]),t.removeEventListener("addtrack",i["handle"+r+"TrackAdd_"]),t.removeEventListener("removetrack",i["handle"+r+"TrackRemove_"]));t&&i.off("loadstart",i["removeOld"+r+"Tracks_"])});t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_.tag,f,l,e,o,i,r,c;for(n&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(n?(f=n.cloneNode(!0),n.parentNode&&n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=h["default"].createElement("video"),l=this.options_.tag&&s.getElAttributes(this.options_.tag),e=pt["default"]({},l),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,s.setElAttributes(n,vt.assign(e,{id:this.options_.techId,"class":"vjs-tech"}))),n.playerId=this.options_.playerId),o=["autoplay","preload","loop","muted"],i=o.length-1;i>=0;i--)r=o[i],c={},typeof this.options_[r]!="undefined"&&(c[r]=this.options_[r]),s.setElAttributes(n,c);return n},t.prototype.handleLateInit_=function(n){var i,r,u,t;if(n.networkState!==0&&n.networkState!==3){if(n.readyState===0){i=!1;r=function(){i=!0};this.on("loadstart",r);u=function(){i||this.trigger("loadstart")};this.on("loadedmetadata",u);this.ready(function(){this.off("loadstart",r);this.off("loadedmetadata",u);i||this.trigger("loadstart")});return}t=["loadstart"];t.push("loadedmetadata");n.readyState>=2&&t.push("loadeddata");n.readyState>=3&&t.push("canplay");n.readyState>=4&&t.push("canplaythrough");this.ready(function(){t.forEach(function(n){this.trigger(n)},this)})}},t.prototype.proxyNativeTextTracks_=function(){var n=this.el().textTracks,t;if(n){for(t=0;t<n.length;t++)this.textTracks().addTrack_(n[t]);n.addEventListener&&(n.addEventListener("change",this.handleTextTrackChange_),n.addEventListener("addtrack",this.handleTextTrackAdd_),n.addEventListener("removetrack",this.handleTextTrackRemove_));this.on("loadstart",this.removeOldTextTracks_)}},t.prototype.handleTextTrackChange=function(){var n=this.textTracks();this.textTracks().trigger({type:"change",target:n,currentTarget:n,srcElement:n})},t.prototype.handleTextTrackAdd=function(n){this.textTracks().addTrack_(n.track)},t.prototype.handleTextTrackRemove=function(n){this.textTracks().removeTrack_(n.track)},t.prototype.removeOldTracks_=function(n,t){var f=[],i,e,o,r,u,s;if(t){for(i=0;i<n.length;i++){for(e=n[i],o=!1,r=0;r<t.length;r++)if(t[r]===e){o=!0;break}o||f.push(e)}for(u=0;u<f.length;u++)s=f[u],n.removeTrack_(s)}},t.prototype.removeOldTextTracks_=function(){var n=this.textTracks(),t=this.el().textTracks;this.removeOldTracks_(n,t)},t.prototype.play=function(){var n=this.el_.play();n!==undefined&&typeof n.then=="function"&&n.then(null,function(){})},t.prototype.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){p["default"](t,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var n=this,t;if(this.el_.duration===Infinity&&u.IS_ANDROID&&u.IS_CHROME&&this.el_.currentTime===0){t=function t(){n.el_.currentTime>0&&(n.el_.duration===Infinity&&n.trigger("durationchange"),n.off("timeupdate",t))};this.on("timeupdate",t);return NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var i=this,n,t;if("webkitDisplayingFullscreen"in this.el_){n=function(){this.trigger("fullscreenchange",{isFullscreen:!1})};t=function(){this.one("webkitendfullscreen",n);this.trigger("fullscreenchange",{isFullscreen:!0})};this.on("webkitbeginfullscreen",t);this.on("dispose",function(){i.off("webkitbeginfullscreen",t);i.off("webkitendfullscreen",n)})}},t.prototype.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){var n=w["default"].navigator&&w["default"].navigator.userAgent||"";if(/Android/.test(n)||!/Chrome|Mac OS X 10.5/.test(n))return!0}return!1},t.prototype.enterFullScreen=function(){var n=this.el_;n.paused&&n.networkState<=n.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){n.pause();n.webkitEnterFullScreen()},0)):n.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(n){if(n===undefined)return this.el_.src;this.setSrc(n)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.addTextTrack=function(t,i,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,i,r):n.prototype.addTextTrack.call(this,t,i,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.createRemoteTextTrack.call(this,t);var i=h["default"].createElement("track");return t.kind&&(i.kind=t.kind),t.label&&(i.label=t.label),(t.language||t.srclang)&&(i.srclang=t.language||t.srclang),t["default"]&&(i["default"]=t["default"]),t.id&&(i.id=t.id),t.src&&(i.src=t.src),i},t.prototype.addRemoteTextTrack=function(t,i){var r=n.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(n.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),r=i.length;r--;)(t===i[r]||t===i[r].track)&&this.el().removeChild(i[r])},t}(c["default"]);s.isReal()&&(r.TEST_VID=h["default"].createElement("video"),e=h["default"].createElement("track"),e.kind="captions",e.srclang="en",e.label="English",r.TEST_VID.appendChild(e));r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!!(r.TEST_VID&&r.TEST_VID.canPlayType)};r.canControlVolume=function(){try{var n=r.TEST_VID.volume;return r.TEST_VID.volume=n/2+.1,n!==r.TEST_VID.volume}catch(t){return!1}};r.canControlPlaybackRate=function(){if(u.IS_ANDROID&&u.IS_CHROME)return!1;try{var n=r.TEST_VID.playbackRate;return r.TEST_VID.playbackRate=n/2+.1,n!==r.TEST_VID.playbackRate}catch(t){return!1}};r.supportsNativeTextTracks=function(){return u.IS_ANY_SAFARI};r.supportsNativeVideoTracks=function(){return!!(r.TEST_VID&&r.TEST_VID.videoTracks)};r.supportsNativeAudioTracks=function(){return!!(r.TEST_VID&&r.TEST_VID.audioTracks)};r.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"];r.prototype.featuresVolumeControl=r.canControlVolume();r.prototype.featuresPlaybackRate=r.canControlPlaybackRate();r.prototype.movingMediaElementInDOM=!u.IS_IOS;r.prototype.featuresFullscreenResize=!0;r.prototype.featuresProgressEvents=!0;r.prototype.featuresTimeupdateEvents=!0;r.prototype.featuresNativeTextTracks=r.supportsNativeTextTracks();r.prototype.featuresNativeVideoTracks=r.supportsNativeVideoTracks();r.prototype.featuresNativeAudioTracks=r.supportsNativeAudioTracks();var v=r.TEST_VID&&r.TEST_VID.constructor.prototype.canPlayType,bt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,kt=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&!u.IS_FIREFOX?r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&bt.test(n)?"maybe":v.call(this,n)}:u.IS_OLD_ANDROID&&(r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&kt.test(n)?"maybe":v.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=v,n};r.patchCanPlayType();r.disposeMediaElement=function(n){if(n){for(n.parentNode&&n.parentNode.removeChild(n);n.hasChildNodes();)n.removeChild(n.firstChild);n.removeAttribute("src");typeof n.load=="function"&&function(){try{n.load()}catch(t){}}()}};r.resetMediaElement=function(n){if(n){for(var t=n.querySelectorAll("source"),i=t.length;i--;)n.removeChild(t[i]);n.removeAttribute("src");typeof n.load=="function"&&function(){try{n.load()}catch(t){}}()}};["paused","currentTime","buffered","volume","muted","poster","preload","autoplay","controls","loop","error","seeking","seekable","ended","defaultMuted","playbackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]}});["volume","muted","src","poster","preload","autoplay","loop","playbackRate"].forEach(function(n){r.prototype["set"+a["default"](n)]=function(t){this.el_[n]=t}});["pause","load"].forEach(function(n){r.prototype[n]=function(){return this.el_[n]()}});c["default"].withSourceHandlers(r);r.nativeSourceHandler={};r.nativeSourceHandler.canPlayType=function(n){try{return r.TEST_VID.canPlayType(n)}catch(t){return""}};r.nativeSourceHandler.canHandleSource=function(n){if(n.type)return r.nativeSourceHandler.canPlayType(n.type);if(n.src){var t=y.getFileExtension(n.src);return r.nativeSourceHandler.canPlayType("video/"+t)}return""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);rt["default"].registerComponent("Html5",r);c["default"].registerTech("Html5",r);i["default"]=r},{"5":5,"62":62,"78":78,"81":81,"83":83,"86":86,"87":87,"88":88,"91":91,"92":92,"94":94,"95":95,"98":98}],61:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function o(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var u;i.__esModule=!0;var h=n(5),f=r(h),c=n(62),l=r(c),a=n(91),v=r(a);u=function(n){function t(i,r,u){var y,h,a,s,c;if(e(this,t),y=o(this,n.call(this,i,r,u)),r.playerOptions.sources&&r.playerOptions.sources.length!==0)i.src(r.playerOptions.sources);else for(h=0,a=r.playerOptions.techOrder;h<a.length;h++)if(s=v["default"](a[h]),c=l["default"].getTech(s),s||(c=f["default"].getComponent(s)),c&&c.isSupported()){i.loadTech_(s);break}return y}return s(t,n),t}(f["default"]);f["default"].registerComponent("MediaLoader",u);i["default"]=u},{"5":5,"62":62,"91":91}],62:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function w(n,t,i,r){var u=arguments.length>4&&arguments[4]!==undefined?arguments[4]:{},e=n.textTracks(),f;return u.kind=t,i&&(u.label=i),r&&(u.language=r),u.tech=n,f=new ut["default"](u),e.addTrack_(f),f}var r;i.__esModule=!0;var b=n(5),e=u(b),k=n(66),d=u(k),g=n(65),nt=u(g),tt=n(87),it=u(tt),rt=n(72),ut=u(rt),ft=n(70),o=u(ft),et=n(76),ot=u(et),st=n(63),ht=u(st),ct=n(83),s=a(ct),lt=n(86),h=u(lt),c=n(90),at=n(79),vt=n(46),yt=u(vt),pt=n(95),f=u(pt),wt=n(94),l=u(wt),bt=n(88);r=function(t){function i(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(){},n;v(this,i);r.reportTouchActivity=!1;n=y(this,t.call(this,null,r,u));n.hasStarted_=!1;n.on("playing",function(){this.hasStarted_=!0});n.on("loadstart",function(){this.hasStarted_=!1});return n.textTracks_=r.textTracks,n.videoTracks_=r.videoTracks,n.audioTracks_=r.audioTracks,n.featuresProgressEvents||n.manualProgressOn(),n.featuresTimeupdateEvents||n.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){r["native"+t+"Tracks"]===!1&&(n["featuresNative"+t+"Tracks"]=!1)}),r.nativeCaptions===!1&&(n.featuresNativeTextTracks=!1),n.featuresNativeTextTracks||n.emulateTextTracks(),n.autoRemoteTextTracks_=new o["default"],n.initTextTrackListeners(),n.initTrackListeners(),r.nativeControlsForTouch||n.emitTapEvents(),n.constructor&&(n.name_=n.constructor.name||"Unknown Tech"),n}return p(i,t),i.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},i.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},i.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(s.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;n===1&&this.stopTrackingProgress()}),500)},i.prototype.onDurationChange=function(){this.duration_=this.duration()},i.prototype.buffered=function(){return c.createTimeRange(0,0)},i.prototype.bufferedPercent=function(){return at.bufferedPercent(this.buffered(),this.duration_)},i.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},i.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)},i.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},i.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},i.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.dispose=function(){this.clearTracks(["audio","video","text"]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();t.prototype.dispose.call(this)},i.prototype.clearTracks=function(n){var t=this;n=[].concat(n);n.forEach(function(n){for(var i=t[n+"Tracks"]()||[],u=i.length,r;u--;)r=i[u],n==="text"&&t.removeRemoteTextTrack(r),i.removeTrack_(r)})},i.prototype.cleanupAutoTextTracks=function(){for(var n=this.autoRemoteTextTracks_||[],t=n.length,i;t--;)i=n[t],this.removeRemoteTextTrack(i)},i.prototype.reset=function(){},i.prototype.error=function(n){return n!==undefined&&(this.error_=new yt["default"](n),this.trigger("error")),this.error_},i.prototype.played=function(){return this.hasStarted_?c.createTimeRange(0,0):c.createTimeRange()},i.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},i.prototype.initTextTrackListeners=function(){var t=s.bind(this,function(){this.trigger("texttrackchange")}),n=this.textTracks();if(n){n.addEventListener("removetrack",t);n.addEventListener("addtrack",t);this.on("dispose",s.bind(this,function(){n.removeEventListener("removetrack",t);n.removeEventListener("addtrack",t)}))}},i.prototype.initTrackListeners=function(){var n=this;["video","audio"].forEach(function(t){var i=function(){n.trigger(t+"trackchange")},r=n[t+"Tracks"]();r.addEventListener("removetrack",i);r.addEventListener("addtrack",i);n.on("dispose",function(){r.removeEventListener("removetrack",i);r.removeEventListener("addtrack",i)})})},i.prototype.addWebVttScript_=function(){var r=this,i,t;if(!f["default"].WebVTT)if(l["default"].body.contains(this.el())){if(i=n(105),!this.options_["vtt.js"]&&bt.isPlain(i)&&Object.keys(i).length>0){this.trigger("vttjsloaded");return}t=l["default"].createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.3/vtt.min.js";t.onload=function(){r.trigger("vttjsloaded")};t.onerror=function(){r.trigger("vttjserror")};this.on("dispose",function(){t.onload=null;t.onerror=null});f["default"].WebVTT=!0;this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},i.prototype.emulateTextTracks=function(){var e=this,n=this.textTracks(),i,t;if(n){var r=this.remoteTextTracks(),u=function(t){return n.addTrack_(t.track)},f=function(t){return n.removeTrack_(t.track)};r.on("addtrack",u);r.on("removetrack",f);this.addWebVttScript_();i=function(){return e.trigger("texttrackchange")};t=function(){var t,r;for(i(),t=0;t<n.length;t++)r=n[t],r.removeEventListener("cuechange",i),r.mode==="showing"&&r.addEventListener("cuechange",i)};t();n.addEventListener("change",t);n.addEventListener("addtrack",t);n.addEventListener("removetrack",t);this.on("dispose",function(){var e,o;for(r.off("addtrack",u),r.off("removetrack",f),n.removeEventListener("change",t),n.removeEventListener("addtrack",t),n.removeEventListener("removetrack",t),e=0;e<n.length;e++)o=n[e],o.removeEventListener("cuechange",i)})}},i.prototype.videoTracks=function(){return this.videoTracks_=this.videoTracks_||new ot["default"],this.videoTracks_},i.prototype.audioTracks=function(){return this.audioTracks_=this.audioTracks_||new ht["default"],this.audioTracks_},i.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new o["default"],this.textTracks_},i.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new o["default"],this.remoteTextTracks_},i.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new nt["default"],this.remoteTextTrackEls_},i.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return w(this,n,t,i)},i.prototype.createRemoteTextTrack=function(n){var t=it["default"](n,{tech:this});return new d["default"](t)},i.prototype.addRemoteTextTrack=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=arguments[1],t=this.createRemoteTextTrack(i);return n!==!0&&n!==!1&&(h["default"].warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),n!==!0&&this.autoRemoteTextTracks_.addTrack_(t.track),t},i.prototype.removeRemoteTextTrack=function(n){var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack_(n);this.autoRemoteTextTracks_.removeTrack_(n)},i.prototype.setPoster=function(){},i.prototype.canPlayType=function(){return""},i.isTech=function(n){return n.prototype instanceof i||n instanceof i||n===i},i.registerTech=function(n,t){if(i.techs_||(i.techs_={}),!i.isTech(t))throw new Error("Tech "+n+" must be a Tech");return i.techs_[n]=t,t},i.getTech=function(n){return i.techs_&&i.techs_[n]?i.techs_[n]:f["default"]&&f["default"].videojs&&f["default"].videojs[n]?(h["default"].warn("The "+n+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),f["default"].videojs[n]):void 0},i}(e["default"]);r.prototype.textTracks_;r.prototype.audioTracks_;r.prototype.videoTracks_;r.prototype.featuresVolumeControl=!0;r.prototype.featuresFullscreenResize=!1;r.prototype.featuresPlaybackRate=!1;r.prototype.featuresProgressEvents=!1;r.prototype.featuresTimeupdateEvents=!1;r.prototype.featuresNativeTextTracks=!1;r.withSourceHandlers=function(n){n.registerSourceHandler=function(t,i){var r=n.sourceHandlers;r||(r=n.sourceHandlers=[]);i===undefined&&(i=r.length);r.splice(i,0,t)};n.canPlayType=function(t){for(var u=n.sourceHandlers||[],i=void 0,r=0;r<u.length;r++)if(i=u[r].canPlayType(t),i)return i;return""};n.selectSourceHandler=function(t,i){for(var u=n.sourceHandlers||[],f=void 0,r=0;r<u.length;r++)if(f=u[r].canHandleSource(t,i),f)return u[r];return null};n.canPlaySource=function(t,i){var r=n.selectSourceHandler(t,i);return r?r.canHandleSource(t,i):""};["seekable","duration"].forEach(function(n){var t=this[n];typeof t=="function"&&(this[n]=function(){return this.sourceHandler_&&this.sourceHandler_[n]?this.sourceHandler_[n].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},n.prototype);n.prototype.setSource=function(t){var i=n.selectSourceHandler(t,this.options_);if(i||(n.nativeSourceHandler?i=n.nativeSourceHandler:h["default"].error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),i!==n.nativeSourceHandler){this.currentSource_=t;this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_);this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_);this.one(this.el_,"loadstart",n.prototype.firstLoadStartListener_)}this.sourceHandler_=i.handleSource(t,this,this.options_);this.on("dispose",this.disposeSourceHandler);return this};n.prototype.firstLoadStartListener_=function(){this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.successiveLoadStartListener_=function(){this.disposeSourceHandler();this.one(this.el_,"loadstart",n.prototype.successiveLoadStartListener_)};n.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null);this.cleanupAutoTextTracks();this.sourceHandler_&&(this.off(this.el_,"loadstart",n.prototype.firstLoadStartListener_),this.off(this.el_,"loadstart",n.prototype.successiveLoadStartListener_),this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}};e["default"].registerComponent("Tech",r);e["default"].registerComponent("MediaTechController",r);r.registerTech("Tech",r);i["default"]=r},{"105":105,"46":46,"5":5,"63":63,"65":65,"66":66,"70":70,"72":72,"76":76,"79":79,"83":83,"86":86,"87":87,"88":88,"90":90,"94":94,"95":95}],63:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function c(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,o;i.__esModule=!0;var l=n(74),u=f(l),a=n(78),v=s(a),y=n(94),p=f(y);r=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].enabled=!1)};o=function(n){function t(){var l,a,f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,o,s,c;for(h(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].enabled){r(f,f[o]);break}if(v.IS_IE8){i=p["default"].createElement("custom");for(s in u["default"].prototype)s!=="constructor"&&(i[s]=u["default"].prototype[s]);for(c in t.prototype)c!=="constructor"&&(i[c]=t.prototype[c])}return i=(l=e(this,n.call(this,f,i)),l),i.changing_=!1,a=i,e(l,a)}return c(t,n),t.prototype.addTrack_=function(t){var i=this;(t.enabled&&r(this,t),n.prototype.addTrack_.call(this,t),t.addEventListener)&&t.addEventListener("enabledchange",function(){i.changing_||(i.changing_=!0,r(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(u["default"]);i["default"]=o},{"74":74,"78":78,"94":94}],64:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var h=n(73),c=n(75),l=r(c),a=n(87),v=r(a),y=n(78),p=e(y);f=function(n){function t(){var f,c,l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},r;o(this,t);var e=v["default"](l,{kind:h.AudioTrackKind[l.kind]||""}),i=(f=u(this,n.call(this,e)),f),s=!1;if(p.IS_IE8)for(r in t.prototype)r!=="constructor"&&(i[r]=t.prototype[r]);return Object.defineProperty(i,"enabled",{get:function(){return s},set:function(n){typeof n=="boolean"&&n!==s&&(s=n,this.trigger("enabledchange"))}}),e.enabled&&(i.enabled=e.enabled),i.loaded_=!0,c=i,u(f,c)}return s(t,n),t}(l["default"]);i["default"]=f},{"73":73,"75":75,"78":78,"87":87}],65:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r;i.__esModule=!0;var s=n(78),u=e(s),h=n(94),c=f(h);r=function(){function n(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t,i,r,e;if(o(this,n),t=this,u.IS_IE8){t=c["default"].createElement("custom");for(i in n.prototype)i!=="constructor"&&(t[i]=n.prototype[i])}for(t.trackElements_=[],Object.defineProperty(t,"length",{get:function(){return this.trackElements_.length}}),r=0,e=f.length;r<e;r++)t.addTrackElement_(f[r]);if(u.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}});this.trackElements_.indexOf(n)===-1&&this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=void 0,t=0,r=this.trackElements_.length;t<r;t++)if(n===this.trackElements_[t].track){i=this.trackElements_[t];break}return i},n.prototype.removeTrackElement_=function(n){for(var t=0,i=this.trackElements_.length;t<i;t++)if(n===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},n}();i["default"]=r},{"78":78,"94":94}],66:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function l(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var a=n(78),e=h(a),v=n(94),y=u(v),p=n(42),w=u(p),b=n(72),k=u(b),o=0,s=2,r=function(n){function t(){var v=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u,r,a;c(this,t);var h=f(this,n.call(this)),l=void 0,i=h;if(e.IS_IE8){i=y["default"].createElement("custom");for(u in t.prototype)u!=="constructor"&&(i[u]=t.prototype[u])}return(r=new k["default"](v),i.kind=r.kind,i.src=r.src,i.srclang=r.language,i.label=r.label,i["default"]=r["default"],Object.defineProperty(i,"readyState",{get:function(){return l}}),Object.defineProperty(i,"track",{get:function(){return r}}),l=o,r.addEventListener("loadeddata",function(){l=s;i.trigger({type:"load",target:i})}),e.IS_IE8)?(a=i,f(h,a)):h}return l(t,n),t}(w["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=o;r.LOADING=1;r.LOADED=s;r.ERROR=3;i["default"]=r},{"42":42,"72":72,"78":78,"94":94}],67:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r;i.__esModule=!0;var s=n(78),u=e(s),h=n(94),c=f(h);r=function(){function n(t){var i,r;if(o(this,n),i=this,u.IS_IE8){i=c["default"].createElement("custom");for(r in n.prototype)r!=="constructor"&&(i[r]=n.prototype[r])}return n.prototype.setCues_.call(i,t),Object.defineProperty(i,"length",{get:function(){return this.length_}}),u.IS_IE8?i:void 0}return n.prototype.setCues_=function(n){var i=this.length||0,t=0,r=n.length,u;if(this.cues_=n,this.length_=n.length,u=function(n){""+n in this||Object.defineProperty(this,""+n,{get:function(){return this.cues_[n]}})},i<r)for(t=i;t<r;t++)u.call(this,t)},n.prototype.getCueById=function(n){for(var t,r=null,i=0,u=this.length;i<u;i++)if(t=this[i],t.id===n){r=t;break}return r},n}();i["default"]=r},{"78":78,"94":94}],68:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function h(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function y(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function p(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function e(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function o(n,t,i){try{n.style[t]=i}catch(r){return}}var s;i.__esModule=!0;var w=n(5),c=h(w),b=n(83),f=a(b),k=n(95),u=h(k),r="#222",l="#ccc",d={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};s=function(n){function t(i,r,u){v(this,t);var e=y(this,n.call(this,i,r,u));i.on("loadstart",f.bind(e,e.toggleDisplay));i.on("texttrackchange",f.bind(e,e.updateDisplay));return i.ready(f.bind(e,function(){var o,t,r,n;if(i.tech_&&i.tech_.featuresNativeTextTracks){this.hide();return}i.on("fullscreenchange",f.bind(this,this.updateDisplay));for(o=this.options_.playerOptions.tracks||[],t=0;t<o.length;t++)this.player_.addRemoteTextTrack(o[t],!0);var h={captions:1,subtitles:1},s=this.player_.textTracks(),u=void 0,e=void 0;if(s){for(r=0;r<s.length;r++)n=s[r],n["default"]&&(n.kind!=="descriptions"||u?n.kind in h&&!e&&(e=n):u=n);e?e.mode="showing":u&&(u.mode="showing")}})),e}return p(t,n),t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){typeof u["default"].WebVTT=="function"&&u["default"].WebVTT.processCues(u["default"],[],this.el_)},t.prototype.updateDisplay=function(){var t=this.player_.textTracks(),n;if(this.clearDisplay(),t){for(var i=null,r=null,u=t.length;u--;)n=t[u],n.mode==="showing"&&(n.kind==="descriptions"?i=n:r=n);r?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(r)):i&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(i))}},t.prototype.updateForTrack=function(n){var t,f,s,h,c,i,a;if(typeof u["default"].WebVTT=="function"&&n.activeCues){for(t=this.player_.textTrackSettings.getValues(),f=[],s=0;s<n.activeCues.length;s++)f.push(n.activeCues[s]);for(u["default"].WebVTT.processCues(u["default"],f,this.el_),h=f.length;h--;)(c=f[h],c)&&(i=c.displayState,t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&o(i.firstChild,"color",e(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&o(i.firstChild,"backgroundColor",e(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?o(i,"backgroundColor",e(t.windowColor,t.windowOpacity)):i.style.backgroundColor=t.windowColor),t.edgeStyle&&(t.edgeStyle==="dropshadow"?i.firstChild.style.textShadow="2px 2px 3px "+r+", 2px 2px 4px "+r+", 2px 2px 5px "+r:t.edgeStyle==="raised"?i.firstChild.style.textShadow="1px 1px "+r+", 2px 2px "+r+", 3px 3px "+r:t.edgeStyle==="depressed"?i.firstChild.style.textShadow="1px 1px "+l+", 0 1px "+l+", -1px -1px "+r+", 0 -1px "+r:t.edgeStyle==="uniform"&&(i.firstChild.style.textShadow="0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r+", 0 0 4px "+r)),t.fontPercent&&t.fontPercent!==1&&(a=u["default"].parseFloat(i.style.fontSize),i.style.fontSize=a*t.fontPercent+"px",i.style.height="auto",i.style.top="auto",i.style.bottom="2px"),t.fontFamily&&t.fontFamily!=="default"&&(t.fontFamily==="small-caps"?i.firstChild.style.fontVariant="small-caps":i.firstChild.style.fontFamily=d[t.fontFamily]))}},t}(c["default"]);c["default"].registerComponent("TextTrackDisplay",s);i["default"]=s},{"5":5,"83":83,"95":95}],69:[function(n,t,i){"use strict";i.__esModule=!0;var r=function(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,i){return n[i]&&(t[i]=n[i]),t},{cues:n.cues&&Array.prototype.map.call(n.cues,function(n){return{startTime:n.startTime,endTime:n.endTime,text:n.text,id:n.id}})})},u=function(n){var t=n.$$("track"),i=Array.prototype.map.call(t,function(n){return n.track}),u=Array.prototype.map.call(t,function(n){var t=r(n.track);return n.src&&(t.src=n.src),t});return u.concat(Array.prototype.filter.call(n.textTracks(),function(n){return i.indexOf(n)===-1}).map(r))},f=function(n,t){return n.forEach(function(n){var i=t.addRemoteTextTrack(n).track;!n.src&&n.cues&&n.cues.forEach(function(n){return i.addCue(n)})}),t.textTracks()};i["default"]={textTracksToJson:u,jsonToTextTracks:f,trackToJson_:r}},{}],70:[function(n,t,i){"use strict";function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var o;i.__esModule=!0;var c=n(74),r=f(c),l=n(83),a=u(l),v=n(78),y=u(v),p=n(94),w=f(p);o=function(n){function t(){var o,h,c=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,u,f;if(s(this,t),i=void 0,y.IS_IE8){i=w["default"].createElement("custom");for(u in r["default"].prototype)u!=="constructor"&&(i[u]=r["default"].prototype[u]);for(f in t.prototype)f!=="constructor"&&(i[f]=t.prototype[f])}return i=(o=e(this,n.call(this,c,i)),o),h=i,e(o,h)}return h(t,n),t.prototype.addTrack_=function(t){n.prototype.addTrack_.call(this,t);t.addEventListener("modechange",a.bind(this,function(){this.trigger("change")}))},t}(r["default"]);i["default"]=o},{"74":74,"78":78,"83":83,"94":94}],71:[function(n,t,i){"use strict";function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function ut(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function ft(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function et(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function v(n,t){return t&&(n=t(n)),n&&n!=="none"?n:void 0}function ot(n,t){var i=n.options[n.options.selectedIndex].value;return v(i,t)}function st(n,t,i){if(t)for(var r=0;r<n.options.length;r++)if(v(n.options[r].value,i)===t){n.selectedIndex=r;break}}var o;i.__esModule=!0;var ht=n(95),s=e(ht),ct=n(5),y=e(ct),r=n(81),lt=n(83),at=a(lt),vt=n(88),f=a(vt),yt=n(86),p=e(yt),h="vjs-text-track-settings",w=["#000","Black"],b=["#00F","Blue"],k=["#0FF","Cyan"],d=["#0F0","Green"],g=["#F0F","Magenta"],nt=["#F00","Red"],tt=["#FFF","White"],it=["#FF0","Yellow"],c=["1","Opaque"],l=["0.5","Semi-Transparent"],rt=["0","Transparent"],u={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[w,tt,nt,d,b,it,g,k]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[c,l,rt]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[tt,w,nt,d,b,it,g,k]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],"default":2,parser:function(n){return n==="1.00"?null:Number(n)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[c,l]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[rt,l,c]}};u.windowColor.options=u.backgroundColor.options;o=function(n){function t(i,r){ut(this,t);var e=ft(this,n.call(this,i,r));e.setDefaults();e.hide();e.updateDisplay=at.bind(e,e.updateDisplay);r.persistTextTrackSettings===undefined&&(e.options_.persistTextTrackSettings=e.options_.playerOptions.persistTextTrackSettings);e.on(e.$(".vjs-done-button"),"click",function(){e.saveSettings();e.hide()});e.on(e.$(".vjs-default-button"),"click",function(){e.setDefaults();e.updateDisplay()});return f.each(u,function(n){e.on(e.$(n.selector),"change",e.updateDisplay)}),e.options_.persistTextTrackSettings&&e.restoreSettings(),e}return et(t,n),t.prototype.createElSelect_=function(n){var f=this,t=u[n],i=t.id.replace("%s",this.id_);return[r.createEl("label",{className:"vjs-label",textContent:t.label},{"for":i}),r.createEl("select",{id:i},undefined,t.options.map(function(n){return r.createEl("option",{textContent:f.localize(n[1]),value:n[0]})}))]},t.prototype.createElFgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Text")}),t=this.createElSelect_("color"),i=r.createEl("span",{className:"vjs-text-opacity vjs-opacity"},undefined,this.createElSelect_("textOpacity"));return r.createEl("fieldset",{className:"vjs-fg-color vjs-tracksetting"},undefined,[n].concat(t,i))},t.prototype.createElBgColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Background")}),t=this.createElSelect_("backgroundColor"),i=r.createEl("span",{className:"vjs-bg-opacity vjs-opacity"},undefined,this.createElSelect_("backgroundOpacity"));return r.createEl("fieldset",{className:"vjs-bg-color vjs-tracksetting"},undefined,[n].concat(t,i))},t.prototype.createElWinColor_=function(){var n=r.createEl("legend",{textContent:this.localize("Window")}),t=this.createElSelect_("windowColor"),i=r.createEl("span",{className:"vjs-window-opacity vjs-opacity"},undefined,this.createElSelect_("windowOpacity"));return r.createEl("fieldset",{className:"vjs-window-color vjs-tracksetting"},undefined,[n].concat(t,i))},t.prototype.createElColors_=function(){return r.createEl("div",{className:"vjs-tracksettings-colors"},undefined,[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()])},t.prototype.createElFont_=function(){var n=r.createEl("div",{className:"vjs-font-percent vjs-tracksetting"},undefined,this.createElSelect_("fontPercent")),t=r.createEl("div",{className:"vjs-edge-style vjs-tracksetting"},undefined,this.createElSelect_("edgeStyle")),i=r.createEl("div",{className:"vjs-font-family vjs-tracksetting"},undefined,this.createElSelect_("fontFamily"));return r.createEl("div",{className:"vjs-tracksettings-font"},undefined,[n,t,i])},t.prototype.createElControls_=function(){var n=r.createEl("button",{className:"vjs-default-button",textContent:this.localize("Defaults")}),t=r.createEl("button",{className:"vjs-done-button",textContent:"Done"});return r.createEl("div",{className:"vjs-tracksettings-controls"},undefined,[n,t])},t.prototype.createEl=function(){var i=r.createEl("div",{className:"vjs-tracksettings"},undefined,[this.createElColors_(),this.createElFont_(),this.createElControls_()]),n=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogLabel-"+this.id_,textContent:"Caption Settings Dialog"},{"aria-level":"1",role:"heading"}),t=r.createEl("div",{className:"vjs-control-text",id:"TTsettingsDialogDescription-"+this.id_,textContent:"Beginning of dialog window. Escape will cancel and close the window."}),u=r.createEl("div",undefined,{role:"document"},[n,t,i]);return r.createEl("div",{className:"vjs-caption-settings vjs-modal-overlay",tabIndex:-1},{role:"dialog","aria-labelledby":n.id,"aria-describedby":t.id},u)},t.prototype.getValues=function(){var n=this;return f.reduce(u,function(t,i,r){var u=ot(n.$(i.selector),i.parser);return u!==undefined&&(t[r]=u),t},{})},t.prototype.setValues=function(n){var t=this;f.each(u,function(i,r){st(t.$(i.selector),n[r],i.parser)})},t.prototype.setDefaults=function(){var n=this;f.each(u,function(t){var i=t.hasOwnProperty("default")?t["default"]:0;n.$(t.selector).selectedIndex=i})},t.prototype.restoreSettings=function(){var n=void 0;try{n=JSON.parse(s["default"].localStorage.getItem(h))}catch(t){p["default"].warn(t)}n&&this.setValues(n)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.keys(n).length?s["default"].localStorage.setItem(h,JSON.stringify(n)):s["default"].localStorage.removeItem(h)}catch(t){p["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t}(y["default"]);y["default"].registerComponent("TextTrackSettings",o);i["default"]=o},{"5":5,"81":81,"83":83,"86":86,"88":88,"95":95}],72:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function s(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function y(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}i.__esModule=!0;var p=n(67),h=u(p),w=n(83),c=o(w),f=n(73),b=n(86),e=u(b),k=n(95),r=u(k),d=n(75),g=u(d),nt=n(92),tt=n(99),it=u(tt),rt=n(87),ut=u(rt),ft=n(78),et=o(ft),l=function(n,t){var i=new r["default"].WebVTT.Parser(r["default"],r["default"].vttjs,r["default"].WebVTT.StringDecoder()),u=[];i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){u.push(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);u.length>0&&(r["default"].console&&r["default"].console.groupCollapsed&&r["default"].console.groupCollapsed("Text Track parsing errors for "+t.src),u.forEach(function(n){return e["default"].error(n)}),r["default"].console&&r["default"].console.groupEnd&&r["default"].console.groupEnd());i.flush()},ot=function(n,t){var i={uri:n},u=nt.isCrossOrigin(n);u&&(i.cors=u);it["default"](i,c.bind(this,function(n,i,u){if(n)return e["default"].error(n,i);if(t.loaded_=!0,typeof r["default"].WebVTT!="function"){if(t.tech_){var f=function(){return l(u,t)};t.tech_.on("vttjsloaded",f);t.tech_.on("vttjserror",function(){e["default"].error("vttjs failed to load, stopping trying to process "+t.src);t.tech_.off("vttjsloaded",f)})}}else l(u,t)}))},a=function(n){function t(){var a,p,u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i,l;if(v(this,t),!u.tech)throw new Error("A tech was not provided.");var r=ut["default"](u,{kind:f.TextTrackKind[u.kind]||"subtitles",language:u.language||u.srclang||""}),e=f.TextTrackMode[r.mode]||"disabled",b=r["default"];if((r.kind==="metadata"||r.kind==="chapters")&&(e="hidden"),i=(a=s(this,n.call(this,r)),a),i.tech_=r.tech,et.IS_IE8)for(l in t.prototype)l!=="constructor"&&(i[l]=t.prototype[l]);i.cues_=[];i.activeCues_=[];var k=new h["default"](i.cues_),y=new h["default"](i.activeCues_),o=!1,w=c.bind(i,function(){this.activeCues;o&&(this.trigger("cuechange"),o=!1)});return e!=="disabled"&&i.tech_.ready(function(){i.tech_.on("timeupdate",w)},!0),Object.defineProperty(i,"default",{get:function(){return b},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return e},set:function(n){var t=this;f.TextTrackMode[n]&&(e=n,e==="showing"&&this.tech_.ready(function(){t.tech_.on("timeupdate",w)},!0),this.trigger("modechange"))}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?k:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var i,t,r,f,n,u;if(!this.loaded_)return null;if(this.cues.length===0)return y;for(i=this.tech_.currentTime(),t=[],r=0,f=this.cues.length;r<f;r++)n=this.cues[r],n.startTime<=i&&n.endTime>=i?t.push(n):n.startTime===n.endTime&&n.startTime<=i&&n.startTime+.5>=i&&t.push(n);if(o=!1,t.length!==this.activeCues_.length)o=!0;else for(u=0;u<t.length;u++)this.activeCues_.indexOf(t[u])===-1&&(o=!0);return this.activeCues_=t,y.setCues_(this.activeCues_),y},set:function(){}}),r.src?(i.src=r.src,ot(r.src,i)):i.loaded_=!0,p=i,s(a,p)}return y(t,n),t.prototype.addCue=function(n){var t=n,f,i,u;if(r["default"].vttjs&&!(n instanceof r["default"].vttjs.VTTCue)){t=new r["default"].vttjs.VTTCue(n.startTime,n.endTime,n.text);for(f in n)f in t||(t[f]=n[f]);t.id=n.id;t.originalCue_=n}if(i=this.tech_.textTracks(),i)for(u=0;u<i.length;u++)i[u]!==this&&i[u].removeCue(t);this.cues_.push(t);this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(n){for(var i=this.cues_.length,t;i--;)if(t=this.cues_[i],t===n||t.originalCue_&&t.originalCue_===n){this.cues_.splice(i,1);this.cues.setCues_(this.cues_);break}},t}(g["default"]);a.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=a},{"67":67,"73":73,"75":75,"78":78,"83":83,"86":86,"87":87,"92":92,"95":95,"99":99}],73:[function(n,t,i){"use strict";i.__esModule=!0;var r=i.VideoTrackKind={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},u=i.AudioTrackKind={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},f=i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},e=i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"}},{}],74:[function(n,t,i){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function h(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,e;i.__esModule=!0;var c=n(42),l=u(c),a=n(78),v=o(a),y=n(94),p=u(y);r=function(n){function t(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],h,i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null,e,r,u;if(s(this,t),e=f(this,n.call(this)),!i&&(i=e,v.IS_IE8)){i=p["default"].createElement("custom");for(r in t.prototype)r!=="constructor"&&(i[r]=t.prototype[r])}for(i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}}),u=0;u<o.length;u++)i.addTrack_(o[u]);return h=i,f(e,h)}return h(t,n),t.prototype.addTrack_=function(n){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}});this.tracks_.indexOf(n)===-1&&(this.tracks_.push(n),this.trigger({track:n,type:"addtrack"}))},t.prototype.removeTrack_=function(n){for(var t=void 0,i=0,r=this.length;i<r;i++)if(this[i]===n){t=this[i];t.off&&t.off();this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var t,r=null,i=0,u=this.length;i<u;i++)if(t=this[i],t.id===n){r=t;break}return r},t}(l["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(e in r.prototype.allowedEvents_)r.prototype["on"+e]=null;i["default"]=r},{"42":42,"78":78,"94":94}],75:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function u(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var e;i.__esModule=!0;var h=n(78),c=u(h),l=n(94),a=r(l),v=n(85),y=u(v),p=n(42),w=r(p);e=function(n){function t(){var h,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},e,i,u,s,l,v;if(o(this,t),e=f(this,n.call(this)),i=e,c.IS_IE8){i=a["default"].createElement("custom");for(u in t.prototype)u!=="constructor"&&(i[u]=t.prototype[u])}s={id:r.id||"vjs_track_"+y.newGUID(),kind:r.kind||"",label:r.label||"",language:r.language||""};l=function(n){Object.defineProperty(i,n,{get:function(){return s[n]},set:function(){}})};for(v in s)l(v);return h=i,f(e,h)}return s(t,n),t}(w["default"]);i["default"]=e},{"42":42,"78":78,"85":85,"94":94}],76:[function(n,t,i){"use strict";function s(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function f(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function e(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function c(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var r,o;i.__esModule=!0;var l=n(74),u=f(l),a=n(78),v=s(a),y=n(94),p=f(y);r=function(n,t){for(var i=0;i<n.length;i++)t.id!==n[i].id&&(n[i].selected=!1)};o=function(n){function t(){var l,a,f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i,o,s,c;for(h(this,t),i=void 0,o=f.length-1;o>=0;o--)if(f[o].selected){r(f,f[o]);break}if(v.IS_IE8){i=p["default"].createElement("custom");for(s in u["default"].prototype)s!=="constructor"&&(i[s]=u["default"].prototype[s]);for(c in t.prototype)c!=="constructor"&&(i[c]=t.prototype[c])}return i=(l=e(this,n.call(this,f,i)),l),i.changing_=!1,Object.defineProperty(i,"selectedIndex",{get:function(){for(var n=0;n<this.length;n++)if(this[n].selected)return n;return-1},set:function(){}}),a=i,e(l,a)}return c(t,n),t.prototype.addTrack_=function(t){var i=this;(t.selected&&r(this,t),n.prototype.addTrack_.call(this,t),t.addEventListener)&&t.addEventListener("selectedchange",function(){i.changing_||(i.changing_=!0,r(i,t),i.changing_=!1,i.trigger("change"))})},t.prototype.addTrack=function(n){this.addTrack_(n)},t.prototype.removeTrack=function(t){n.prototype.removeTrack_.call(this,t)},t}(u["default"]);i["default"]=o},{"74":74,"78":78,"94":94}],77:[function(n,t,i){"use strict";function e(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function r(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:n}function s(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}var f;i.__esModule=!0;var h=n(73),c=n(75),l=r(c),a=n(87),v=r(a),y=n(78),p=e(y);f=function(n){function t(){var f,c,l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i;o(this,t);var e=v["default"](l,{kind:h.VideoTrackKind[l.kind]||""}),r=(f=u(this,n.call(this,e)),f),s=!1;if(p.IS_IE8)for(i in t.prototype)i!=="constructor"&&(r[i]=t.prototype[i]);return Object.defineProperty(r,"selected",{get:function(){return s},set:function(n){typeof n=="boolean"&&n!==s&&(s=n,this.trigger("selectedchange"))}}),e.selected&&(r.selected=e.selected),c=r,u(f,c)}return s(t,n),t}(l["default"]);i["default"]=f},{"73":73,"75":75,"78":78,"87":87}],78:[function(n,t,i){"use strict";function l(n){return n&&n.__esModule?n:{"default":n}}function a(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}i.__esModule=!0;i.BACKGROUND_SIZE_SUPPORTED=i.TOUCH_ENABLED=i.IS_ANY_SAFARI=i.IS_SAFARI=i.IE_VERSION=i.IS_IE8=i.IS_CHROME=i.IS_EDGE=i.IS_FIREFOX=i.IS_NATIVE_ANDROID=i.IS_OLD_ANDROID=i.ANDROID_VERSION=i.IS_ANDROID=i.IOS_VERSION=i.IS_IOS=i.IS_IPOD=i.IS_IPHONE=i.IS_IPAD=undefined;var v=n(81),e=a(v),y=n(95),u=l(y),r=u["default"].navigator&&u["default"].navigator.userAgent||"",o=/AppleWebKit\/([\d.]+)/i.exec(r),p=o?parseFloat(o.pop()):null,s=i.IS_IPAD=/iPad/i.test(r),w=i.IS_IPHONE=/iPhone/i.test(r)&&!s,b=i.IS_IPOD=/iPod/i.test(r),k=i.IS_IOS=w||s||b,nt=i.IOS_VERSION=function(){var n=r.match(/OS (\d+)_/i);return n&&n[1]?n[1]:null}(),f=i.IS_ANDROID=/Android/i.test(r),h=i.ANDROID_VERSION=function(){var n=r.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i),t,i;return n?(t=n[1]&&parseFloat(n[1]),i=n[2]&&parseFloat(n[2]),t&&i)?parseFloat(n[1]+"."+n[2]):t?t:null:null}(),tt=i.IS_OLD_ANDROID=f&&/webkit/i.test(r)&&h<2.3,it=i.IS_NATIVE_ANDROID=f&&h<5&&p<537,rt=i.IS_FIREFOX=/Firefox/i.test(r),c=i.IS_EDGE=/Edge/i.test(r),d=i.IS_CHROME=!c&&/Chrome/i.test(r),ut=i.IS_IE8=/MSIE\s8\.0/.test(r),ft=i.IE_VERSION=function(){var t=/MSIE\s(\d+)\.\d/.exec(r),n=t&&parseFloat(t[1]);return!n&&/Trident\/7.0/i.test(r)&&/rv:11.0/.test(r)&&(n=11),n}(),g=i.IS_SAFARI=/Safari/i.test(r)&&!d&&!f&&!c,et=i.IS_ANY_SAFARI=g||k,ot=i.TOUCH_ENABLED=e.isReal()&&("ontouchstart"in u["default"]||u["default"].DocumentTouch&&u["default"].document instanceof u["default"].DocumentTouch),st=i.BACKGROUND_SIZE_SUPPORTED=e.isReal()&&"backgroundSize"in u["default"].document.createElement("video").style},{"81":81,"95":95}],79:[function(n,t,i){"use strict";function r(n,t){var f=0,e=void 0,r=void 0,i;if(!t)return 0;for(n&&n.length||(n=u.createTimeRange(0,0)),i=0;i<n.length;i++)e=n.start(i),r=n.end(i),r>t&&(r=t),f+=r-e;return f/t}i.__esModule=!0;i.bufferedPercent=r;var u=n(90)},{"90":90}],80:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function f(n,t){if(!n||!t)return"";if(typeof r["default"].getComputedStyle=="function"){var i=r["default"].getComputedStyle(n);return i?i[t]:""}return n.currentStyle[t]||""}i.__esModule=!0;i["default"]=f;var e=n(95),r=u(e)},{"95":95}],81:[function(n,t,i){"use strict";function it(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function rt(n,t){return n.raw=t,n}function l(n){return typeof n=="string"&&/\S/.test(n)}function a(n){if(/\s/.test(n))throw new Error("class has illegal whitespace characters");}function ut(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function ft(){return r["default"]===c["default"].document&&typeof r["default"].createElement!="undefined"}function o(n){return tt.isObject(n)&&n.nodeType===1}function v(n){return function(t,i){if(!l(t))return r["default"][n](null);l(i)&&(i=r["default"].querySelector(i));var u=o(i)?i:r["default"];return u[n]&&u[n](t)}}function et(n){return n.indexOf("#")===0&&(n=n.slice(1)),r["default"].getElementById(n)}function ot(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},u=arguments[3],n=r["default"].createElement(f);return Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];i.indexOf("aria-")!==-1||i==="role"||i==="type"?(si["default"].warn(ci["default"](nt,i,r)),n.setAttribute(i,r)):i==="textContent"?y(n,r):n[i]=r}),Object.getOwnPropertyNames(i).forEach(function(t){n.setAttribute(t,i[t])}),u&&h(n,u),n}function y(n,t){return typeof n.textContent=="undefined"?n.innerText=t:n.textContent=t,n}function st(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function ht(n){var t=n[u];return t||(t=n[u]=ei.newGUID()),f[t]||(f[t]={}),f[t]}function ct(n){var t=n[u];return t?!!Object.getOwnPropertyNames(f[t]).length:!1}function lt(n){var t=n[u];if(t){delete f[t];try{delete n[u]}catch(i){n.removeAttribute?n.removeAttribute(u):n[u]=null}}}function s(n,t){return(a(t),n.classList)?n.classList.contains(t):ut(t).test(n.className)}function p(n,t){return n.classList?n.classList.add(t):s(n,t)||(n.className=(n.className+" "+t).trim()),n}function w(n,t){return n.classList?n.classList.remove(t):(a(t),n.className=n.className.split(/\s+/).filter(function(n){return n!==t}).join(" ")),n}function at(n,t,i){var r=s(n,t);if(typeof i=="function"&&(i=i(n,t)),typeof i!="boolean"&&(i=!r),i!==r)return i?p(n,t):w(n,t),n}function vt(n,t){Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];r===null||typeof r=="undefined"||r===!1?n.removeAttribute(i):n.setAttribute(i,r===!0?"":r)})}function yt(n){var f={},i,t,r,u;if(n&&n.attributes&&n.attributes.length>0)for(i=n.attributes,t=i.length-1;t>=0;t--)r=i[t].name,u=i[t].value,(typeof n[r]=="boolean"||",autoplay,controls,loop,muted,default,".indexOf(","+r+",")!==-1)&&(u=u!==null?!0:!1),f[r]=u;return f}function pt(n,t){return n.getAttribute(t)}function wt(n,t,i){n.setAttribute(t,i)}function bt(n,t){n.removeAttribute(t)}function kt(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function dt(){r["default"].onselectstart=function(){return!0}}function b(n){var t=void 0;if(n.getBoundingClientRect&&n.parentNode&&(t=n.getBoundingClientRect()),!t)return{left:0,top:0};var u=r["default"].documentElement,i=r["default"].body,f=u.clientLeft||i.clientLeft||0,e=c["default"].pageXOffset||i.scrollLeft,o=t.left+e-f,s=u.clientTop||i.clientTop||0,h=c["default"].pageYOffset||i.scrollTop,l=t.top+h-s;return{left:Math.round(o),top:Math.round(l)}}function gt(n,t){var i={},r=b(n),o=n.offsetWidth,u=n.offsetHeight,s=r.top,h=r.left,f=t.pageY,e=t.pageX;return t.changedTouches&&(e=t.changedTouches[0].pageX,f=t.changedTouches[0].pageY),i.y=Math.max(0,Math.min(1,(s-f+u)/u)),i.x=Math.max(0,Math.min(1,(e-h)/o)),i}function k(n){return tt.isObject(n)&&n.nodeType===3}function d(n){while(n.firstChild)n.removeChild(n.firstChild);return n}function g(n){return typeof n=="function"&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return(typeof n=="function"&&(n=n()),o(n)||k(n))?n:typeof n=="string"&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function h(n,t){return g(t).forEach(function(t){return n.appendChild(t)}),n}function ni(n,t){return h(d(n),t)}var nt,f,u,ti,ii;i.__esModule=!0;i.$$=i.$=undefined;nt=rt(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);i.isReal=ft;i.isEl=o;i.getEl=et;i.createEl=ot;i.textContent=y;i.insertElFirst=st;i.getElData=ht;i.hasElData=ct;i.removeElData=lt;i.hasElClass=s;i.addElClass=p;i.removeElClass=w;i.toggleElClass=at;i.setElAttributes=vt;i.getElAttributes=yt;i.getAttribute=pt;i.setAttribute=wt;i.removeAttribute=bt;i.blockTextSelection=kt;i.unblockTextSelection=dt;i.findElPosition=b;i.getPointerPosition=gt;i.isTextNode=k;i.emptyEl=d;i.normalizeContent=g;i.appendContent=h;i.insertContent=ni;var ri=n(94),r=e(ri),ui=n(95),c=e(ui),fi=n(85),ei=it(fi),oi=n(86),si=e(oi),hi=n(98),ci=e(hi),tt=n(88);f={};u="vdata"+(new Date).getTime();ti=i.$=v("querySelector");ii=i.$$=v("querySelectorAll")},{"85":85,"86":86,"88":88,"94":94,"95":95,"98":98}],82:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function l(n,t){var i=r.getElData(n);i.handlers[t].length===0&&(delete i.handlers[t],n.removeEventListener?n.removeEventListener(t,i.dispatcher,!1):n.detachEvent&&n.detachEvent("on"+t,i.dispatcher));Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled);Object.getOwnPropertyNames(i).length===0&&r.removeElData(n)}function f(n,t,i,r){i.forEach(function(i){n(t,i,r)})}function e(n){function f(){return!0}function e(){return!1}var t,i,r,u;if(!n||!n.isPropagationStopped){t=n||g["default"].event;n={};for(i in t)i!=="layerX"&&i!=="layerY"&&i!=="keyLocation"&&i!=="webkitMovementX"&&i!=="webkitMovementY"&&(i==="returnValue"&&t.preventDefault||(n[i]=t[i]));n.target||(n.target=n.srcElement||h["default"]);n.relatedTarget||(n.relatedTarget=n.fromElement===n.target?n.toElement:n.fromElement);n.preventDefault=function(){t.preventDefault&&t.preventDefault();n.returnValue=!1;t.returnValue=!1;n.defaultPrevented=!0};n.defaultPrevented=!1;n.stopPropagation=function(){t.stopPropagation&&t.stopPropagation();n.cancelBubble=!0;t.cancelBubble=!0;n.isPropagationStopped=f};n.isPropagationStopped=e;n.stopImmediatePropagation=function(){t.stopImmediatePropagation&&t.stopImmediatePropagation();n.isImmediatePropagationStopped=f;n.stopPropagation()};n.isImmediatePropagationStopped=e;n.clientX!==null&&n.clientX!==undefined&&(r=h["default"].documentElement,u=h["default"].body,n.pageX=n.clientX+(r&&r.scrollLeft||u&&u.scrollLeft||0)-(r&&r.clientLeft||u&&u.clientLeft||0),n.pageY=n.clientY+(r&&r.scrollTop||u&&u.scrollTop||0)-(r&&r.clientTop||u&&u.clientTop||0));n.which=n.charCode||n.keyCode;n.button!==null&&n.button!==undefined&&(n.button=n.button&1?0:n.button&4?1:n.button&2?2:0)}return n}function o(n,t,i){if(Array.isArray(t))return f(o,n,t,i);var u=r.getElData(n);u.handlers||(u.handlers={});u.handlers[t]||(u.handlers[t]=[]);i.guid||(i.guid=y.newGUID());u.handlers[t].push(i);u.dispatcher||(u.disabled=!1,u.dispatcher=function(t,i){var f,o,r,s;if(!u.disabled&&(t=e(t),f=u.handlers[t.type],f))for(o=f.slice(0),r=0,s=o.length;r<s;r++)if(t.isImmediatePropagationStopped())break;else try{o[r].call(n,t,i)}catch(h){k["default"].error(h)}});u.handlers[t].length===1&&(n.addEventListener?n.addEventListener(t,u.dispatcher,!1):n.attachEvent&&n.attachEvent("on"+t,u.dispatcher))}function s(n,t,i){var u,h,c,e,o;if(r.hasElData(n)&&(u=r.getElData(n),u.handlers)){if(Array.isArray(t))return f(s,n,t,i);if(h=function(t){u.handlers[t]=[];l(n,t)},!t){for(c in u.handlers)h(c);return}if(e=u.handlers[t],e){if(!i){h(t);return}if(i.guid)for(o=0;o<e.length;o++)e[o].guid===i.guid&&e.splice(o--,1);l(n,t)}}}function a(n,t,i){var o=r.hasElData(n)?r.getElData(n):{},u=n.parentNode||n.ownerDocument,f;return typeof t=="string"&&(t={type:t,target:n}),t=e(t),o.dispatcher&&o.dispatcher.call(n,t,i),u&&!t.isPropagationStopped()&&t.bubbles===!0?a.call(null,u,t,i):u||t.defaultPrevented||(f=r.getElData(t.target),t.target[t.type]&&(f.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),f.disabled=!1)),!t.defaultPrevented}function v(n,t,i){if(Array.isArray(t))return f(v,n,t,i);var r=function r(){s(n,t,r);i.apply(this,arguments)};r.guid=i.guid=i.guid||y.newGUID();o(n,t,r)}i.__esModule=!0;i.fixEvent=e;i.on=o;i.off=s;i.trigger=a;i.one=v;var p=n(81),r=c(p),w=n(85),y=c(w),b=n(86),k=u(b),d=n(95),g=u(d),nt=n(94),h=u(nt)},{"81":81,"85":85,"86":86,"94":94,"95":95}],83:[function(n,t,i){"use strict";i.__esModule=!0;i.throttle=i.bind=undefined;var r=n(85),u=i.bind=function(n,t,i){t.guid||(t.guid=r.newGUID());var u=function(){return t.apply(n,arguments)};return u.guid=i?i+"_"+t.guid:t.guid,u},f=i.throttle=function(n,t){var i=Date.now();return function(){var r=Date.now();r-i>=t&&(n.apply(undefined,arguments),i=r)}}},{"85":85}],84:[function(n,t,i){"use strict";function r(n){var u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:n;n=n<0?0:n;var t=Math.floor(n%60),i=Math.floor(n/60%60),r=Math.floor(n/3600),f=Math.floor(u/60%60),e=Math.floor(u/3600);return(isNaN(n)||n===Infinity)&&(r=i=t="-"),r=r>0||e>0?r+":":"",i=((r||f>=10)&&i<10?"0"+i:i)+":",t=t<10?"0"+t:t,r+i+t}i.__esModule=!0;i["default"]=r},{}],85:[function(n,t,i){"use strict";function r(){return u++}i.__esModule=!0;i.newGUID=r;var u=1},{}],86:[function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}var r,u;i.__esModule=!0;i.logByType=undefined;var s=n(95),f=o(s),e=n(78),h=n(88);r=void 0;u=i.logByType=function(n,t){var u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!!e.IE_VERSION&&e.IE_VERSION<11,i;(n!=="log"&&t.unshift(n.toUpperCase()+":"),r.history.push(t),t.unshift("VIDEOJS:"),i=f["default"].console&&f["default"].console[n],i)&&(u&&(t=t.map(function(n){if(h.isObject(n)||Array.isArray(n))try{return JSON.stringify(n)}catch(t){return String(n)}return String(n)}).join(" ")),i.apply?i[Array.isArray(t)?"apply":"call"](f["default"].console,t):i(t))};r=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];u("log",i)};r.history=[];r.error=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return u("error",i)};r.warn=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return u("warn",i)};i["default"]=r},{"78":78,"88":88,"95":95}],87:[function(n,t,i){"use strict";function u(){for(var n={},i=arguments.length,f=Array(i),t=0;t<i;t++)f[t]=arguments[t];return f.forEach(function(t){t&&r.each(t,function(t,i){if(!r.isPlain(t)){n[i]=t;return}r.isPlain(n[i])||(n[i]={});n[i]=u(n[i],t)})}),n}i.__esModule=!0;i["default"]=u;var r=n(88)},{"88":88}],88:[function(n,t,i){"use strict";function f(n,t){u(n).forEach(function(i){return t(n[i],i)})}function s(n,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0;return u(n).reduce(function(i,r){return t(i,n[r],r)},i)}function h(n){for(var i=arguments.length,r=Array(i>1?i-1:0),t=1;t<i;t++)r[t-1]=arguments[t];return Object.assign?Object.assign.apply(Object,[n].concat(r)):(r.forEach(function(t){t&&f(t,function(t,i){n[i]=t})}),n)}function r(n){return!!n&&(typeof n=="undefined"?"undefined":e(n))==="object"}function c(n){return r(n)&&o.call(n)==="[object Object]"&&n.constructor===Object}var e,o,u;i.__esModule=!0;e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};i.each=f;i.reduce=s;i.assign=h;i.isObject=r;i.isPlain=c;o=Object.prototype.toString;u=function(n){return r(n)?Object.keys(n):[]}},{}],89:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u,e,o;i.__esModule=!0;i.setTextContent=i.createStyleElement=undefined;r=n(94);u=f(r);e=i.createStyleElement=function(n){var t=u["default"].createElement("style");return t.className=n,t};o=i.setTextContent=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t}},{"94":94}],90:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function o(n,t,i){if(t<0||t>i)throw new Error("Failed to execute '"+n+"' on 'TimeRanges': The index provided ("+t+") is greater than or equal to the maximum bound ("+i+").");}function u(n,t,i,r){return r===undefined&&(h["default"].warn("DEPRECATED: Function '"+n+"' on 'TimeRanges' called without an index argument."),r=0),o(n,r,i.length-1),i[r][t]}function r(n){return n===undefined||n.length===0?{length:0,start:function(){throw new Error("This TimeRanges object is empty");},end:function(){throw new Error("This TimeRanges object is empty");}}:{length:n.length,start:u.bind(null,"start",0,n),end:u.bind(null,"end",1,n)}}function f(n,t){return Array.isArray(n)?r(n):n===undefined||t===undefined?r():r([[n,t]])}i.__esModule=!0;i.createTimeRange=undefined;i.createTimeRanges=f;var s=n(86),h=e(s);i.createTimeRange=f},{"86":86}],91:[function(n,t,i){"use strict";function r(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}i.__esModule=!0;i["default"]=r},{}],92:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;i.isCrossOrigin=i.getFileExtension=i.getAbsoluteURL=i.parseUrl=undefined;var f=n(94),r=u(f),e=n(95),o=u(e),s=i.parseUrl=function(n){var e=["protocol","hostname","port","pathname","search","hash","host"],u=r["default"].createElement("a"),o,i,t,f;for(u.href=n,o=u.host===""&&u.protocol!=="file:",i=void 0,o&&(i=r["default"].createElement("div"),i.innerHTML='<a href="'+n+'"><\/a>',u=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),r["default"].body.appendChild(i)),t={},f=0;f<e.length;f++)t[e[f]]=u[e[f]];return t.protocol==="http:"&&(t.host=t.host.replace(/:80$/,"")),t.protocol==="https:"&&(t.host=t.host.replace(/:443$/,"")),o&&r["default"].body.removeChild(i),t},h=i.getAbsoluteURL=function(n){if(!n.match(/^https?:\/\//)){var t=r["default"].createElement("div");t.innerHTML='<a href="'+n+'">x<\/a>';n=t.firstChild.href}return n},c=i.getFileExtension=function(n){if(typeof n=="string"){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""},l=i.isCrossOrigin=function(n){var t=o["default"].location,i=s(n),r=i.protocol===":"?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host}},{"94":94,"95":95}],93:[function(t,i,r){"use strict";function o(n){var t,i;if(n&&n.__esModule)return n;if(t={},n!=null)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function e(n){return n&&n.__esModule?n:{"default":n}}function u(n,t,i){var r=void 0,o,e;if(typeof n=="string"){if(n.indexOf("#")===0&&(n=n.slice(1)),u.getPlayers()[n])return t&&y["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),i&&u.getPlayers()[n].ready(i),u.getPlayers()[n];r=f.getEl(n)}else r=n;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return r.player||h["default"].players[r.playerId]?r.player||h["default"].players[r.playerId]:(t=t||{},u.hooks("beforesetup").forEach(function(n){var i=n(r,v["default"](t));if(!si.isObject(i)||Array.isArray(i)){y["default"].error("please return an object in beforesetup hooks");return}t=v["default"](t,i)}),o=l["default"].getComponent("Player"),e=new o(r,t,i),u.hooks("setup").forEach(function(n){return n(e)}),e)}var s,c;r.__esModule=!0;var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},nt=t(95),tt=e(nt),it=t(94),p=e(it),rt=t(56),ut=o(rt),ft=t(89),k=o(ft),et=t(5),l=e(et),ot=t(42),st=e(ot),ht=t(82),a=o(ht),ct=t(51),h=e(ct),lt=t(52),at=e(lt),vt=t(87),v=e(vt),yt=t(83),pt=o(yt),wt=t(72),bt=e(wt),kt=t(64),dt=e(kt),gt=t(77),ni=e(gt),ti=t(90),ii=t(84),ri=e(ii),ui=t(86),y=e(ui),fi=t(81),f=o(fi),ei=t(78),d=o(ei),oi=t(92),g=o(oi),si=t(88),hi=t(80),ci=e(hi),li=t(43),ai=e(li),vi=t(99),yi=e(vi),pi=t(62),w=e(pi);typeof HTMLVideoElement=="undefined"&&f.isReal()&&(p["default"].createElement("video"),p["default"].createElement("audio"),p["default"].createElement("track"));u.hooks_={};u.hooks=function(n,t){return u.hooks_[n]=u.hooks_[n]||[],t&&(u.hooks_[n]=u.hooks_[n].concat(t)),u.hooks_[n]};u.hook=function(n,t){u.hooks(n,t)};u.removeHook=function(n,t){var i=u.hooks(n).indexOf(t);return i<=-1?!1:(u.hooks_[n]=u.hooks_[n].slice(),u.hooks_[n].splice(i,1),!0)};tt["default"].VIDEOJS_NO_DYNAMIC_STYLE!==!0&&f.isReal()&&(s=f.$(".vjs-styles-defaults"),s||(s=k.createStyleElement("vjs-styles-defaults"),c=f.$("head"),c&&c.insertBefore(s,c.firstChild),k.setTextContent(s,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")));ut.autoSetupTimeout(1,u);u.VERSION="5.19.2";u.options=h["default"].prototype.options_;u.getPlayers=function(){return h["default"].players};u.players=h["default"].players;u.getComponent=l["default"].getComponent;u.registerComponent=function(n,t){w["default"].isTech(t)&&y["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");l["default"].registerComponent.call(l["default"],n,t)};u.getTech=w["default"].getTech;u.registerTech=w["default"].registerTech;u.browser=d;u.TOUCH_ENABLED=d.TOUCH_ENABLED;u.extend=ai["default"];u.mergeOptions=v["default"];u.bind=pt.bind;u.plugin=at["default"];u.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),u.options.languages=v["default"](u.options.languages,(i={},i[n]=t,i)),u.options.languages[n]};u.log=y["default"];u.createTimeRange=u.createTimeRanges=ti.createTimeRanges;u.formatTime=ri["default"];u.parseUrl=g.parseUrl;u.isCrossOrigin=g.isCrossOrigin;u.EventTarget=st["default"];u.on=a.on;u.one=a.one;u.off=a.off;u.trigger=a.trigger;u.xhr=yi["default"];u.TextTrack=bt["default"];u.AudioTrack=dt["default"];u.VideoTrack=ni["default"];u.isEl=f.isEl;u.isTextNode=f.isTextNode;u.createEl=f.createEl;u.hasClass=f.hasElClass;u.addClass=f.addElClass;u.removeClass=f.removeElClass;u.toggleClass=f.toggleElClass;u.setAttributes=f.setElAttributes;u.getAttributes=f.getElAttributes;u.emptyEl=f.emptyEl;u.appendContent=f.appendContent;u.insertContent=f.insertContent;u.computedStyle=ci["default"];typeof n=="function"&&n.amd?n("videojs",[],function(){return u}):(typeof r=="undefined"?"undefined":b(r))==="object"&&(typeof i=="undefined"?"undefined":b(i))==="object"&&(i.exports=u);r["default"]=u},{"42":42,"43":43,"5":5,"51":51,"52":52,"56":56,"62":62,"64":64,"72":72,"77":77,"78":78,"80":80,"81":81,"82":82,"83":83,"84":84,"86":86,"87":87,"88":88,"89":89,"90":90,"92":92,"94":94,"95":95,"99":99}],94:[function(n,t){(function(i){var u=typeof i!="undefined"?i:typeof window!="undefined"?window:{},f=n(96),r;typeof document!="undefined"?t.exports=document:(r=u["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=u["__GLOBAL_DOCUMENT_CACHE@4"]=f),t.exports=r)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"96":96}],95:[function(n,t){(function(n){t.exports=typeof window!="undefined"?window:typeof n!="undefined"?n:typeof self!="undefined"?self:{}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],96:[function(){},{}],97:[function(n,t){function i(n,t){var i,r=null;try{i=JSON.parse(n,t)}catch(u){r=u}return[r,i]}t.exports=i},{}],98:[function(n,t){function i(n){return n.replace(/\n\r?\s*/g,"")}t.exports=function(n){for(var r="",t=0;t<arguments.length;t++)r+=i(n[t])+(arguments[t+1]||"");return r}},{}],99:[function(n,t){"use strict";function e(n,t){for(var i=0;i<n.length;i++)t(n[i])}function o(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function r(n,t,i){var r=n;return c(t)?(i=t,typeof n=="string"&&(r={uri:n})):r=a(t,{uri:n}),r.callback=i,r}function i(n,t,i){return t=r(n,t,i),u(t)}function u(n){function g(){t.readyState===4&&setTimeout(b,0)}function nt(){var n=undefined;if(n=t.response?t.response:t.responseText||s(t),k)try{n=JSON.parse(n)}catch(i){}return n}function h(n){return clearTimeout(w),n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error"))),n.statusCode=0,a(n,d)}function b(){var r,i,f;if(!e)return clearTimeout(w),r=n.useXDR&&t.status===undefined?200:t.status===1223?204:t.status,i=d,f=null,r!==0?(i={body:nt(),statusCode:r,method:u,headers:{},url:v,rawRequest:t},t.getAllResponseHeaders&&(i.headers=l(t.getAllResponseHeaders()))):f=new Error("Internal XMLHttpRequest Error"),a(f,i,i.body)}var c,a,t;if(typeof n.callback=="undefined")throw new Error("callback argument missing");c=!1;a=function(t,i,r){c||(c=!0,n.callback(t,i,r))};t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var f,e,v=t.url=n.uri||n.url,u=t.method=n.method||"GET",y=n.body||n.data,r=t.headers=n.headers||{},p=!!n.sync,k=!1,w,d={body:undefined,headers:{},statusCode:0,method:u,url:v,rawRequest:t};if("json"in n&&n.json!==!1&&(k=!0,r.accept||r.Accept||(r.Accept="application/json"),u!=="GET"&&u!=="HEAD"&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),y=JSON.stringify(n.json===!0?y:n.json))),t.onreadystatechange=g,t.onload=b,t.onerror=h,t.onprogress=function(){},t.onabort=function(){e=!0},t.ontimeout=h,t.open(u,v,!p,n.username,n.password),p||(t.withCredentials=!!n.withCredentials),!p&&n.timeout>0&&(w=setTimeout(function(){if(!e){e=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";h(n)}},n.timeout)),t.setRequestHeader)for(f in r)r.hasOwnProperty(f)&&t.setRequestHeader(f,r[f]);else if(n.headers&&!o(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(t.responseType=n.responseType),"beforeSend"in n&&typeof n.beforeSend=="function"&&n.beforeSend(t),t.send(y||null),t}function s(n){if(n.responseType==="document")return n.responseXML;var t=n.responseXML&&n.responseXML.documentElement.nodeName==="parsererror";return n.responseType===""&&!t?n.responseXML:null}function h(){}var f=n(95),c=n(100),l=n(103),a=n(104);t.exports=i;i.XMLHttpRequest=f.XMLHttpRequest||h;i.XDomainRequest="withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:f.XDomainRequest;e(["get","put","post","patch","head","delete"],function(n){i[n==="delete"?"del":n]=function(t,i,f){return i=r(t,i,f),i.method=n.toUpperCase(),u(i)}})},{"100":100,"103":103,"104":104,"95":95}],100:[function(n,t){function i(n){var t=r.call(n);return t==="[object Function]"||typeof n=="function"&&t!=="[object RegExp]"||typeof window!="undefined"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}t.exports=i;var r=Object.prototype.toString},{}],101:[function(n,t){function u(n,t,i){if(!s(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);r.call(n)==="[object Array]"?f(n,t,i):typeof n=="string"?e(n,t,i):o(n,t,i)}function f(n,t,r){for(var u=0,f=n.length;u<f;u++)i.call(n,u)&&t.call(r,n[u],u,n)}function e(n,t,i){for(var r=0,u=n.length;r<u;r++)t.call(i,n.charAt(r),r,n)}function o(n,t,r){for(var u in n)i.call(n,u)&&t.call(r,n[u],u,n)}var s=n(100),r,i;t.exports=u;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{"100":100}],102:[function(n,t,i){function r(n){return n.replace(/^\s*|\s*$/g,"")}i=t.exports=r;i.left=function(n){return n.replace(/^\s*/,"")};i.right=function(n){return n.replace(/\s*$/,"")}},{}],103:[function(n,t){var i=n(102),r=n(101),u=function(n){return Object.prototype.toString.call(n)==="[object Array]"};t.exports=function(n){if(!n)return{};var t={};return r(i(n).split("\n"),function(n){var e=n.indexOf(":"),r=i(n.slice(0,e)).toLowerCase(),f=i(n.slice(e+1));typeof t[r]=="undefined"?t[r]=f:u(t[r])?t[r].push(f):t[r]=[t[r],f]}),t}},{"101":101,"102":102}],104:[function(n,t){function i(){for(var n,t,u={},i=0;i<arguments.length;i++){n=arguments[i];for(t in n)r.call(n,t)&&(u[t]=n[t])}return u}t.exports=i;var r=Object.prototype.hasOwnProperty},{}],105:[function(n,t){var i=n(109),r=t.exports={WebVTT:n(106).WebVTT,VTTCue:n(107).VTTCue,VTTRegion:n(108).VTTRegion};i.vttjs=r;i.WebVTT=r.WebVTT;var u=r.VTTCue,f=r.VTTRegion,e=i.VTTCue,o=i.VTTRegion;r.shim=function(){i.VTTCue=u;i.VTTRegion=f};r.restore=function(){i.VTTCue=e;i.VTTRegion=o};i.VTTCue||r.shim()},{"106":106,"107":107,"108":108,"109":109}],106:[function(){(function(n){function i(n,t){this.name="ParsingError";this.code=n.code;this.message=t||n.message}function s(n){function i(n,t,i,r){return(n|0)*3600+(t|0)*60+(i|0)+(r|0)/1e3}var t=n.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return t?t[3]?i(t[1],t[2],t[3].replace(":",""),t[4]):t[1]>59?i(t[1],t[2],0,t[4]):i(0,t[1],t[2],t[4]):null}function u(){this.values=h(null)}function f(n,t,i,r){var f=r?n.split(r):[n],e,u,o,s;for(e in f)typeof f[e]=="string"&&(u=f[e].split(i),u.length===2)&&(o=u[0],s=u[1],t(o,s))}function v(n,t,r){function o(){var t=s(n);if(t===null)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+h);return n=n.replace(/^[^\sa-zA-Z-]+/,""),t}function c(n,t){var i=new u;f(n,function(n,t){var f,u,e;switch(n){case"region":for(f=r.length-1;f>=0;f--)if(r[f].id===t){i.set(n,r[f].region);break}break;case"vertical":i.alt(n,t,["rl","lr"]);break;case"line":u=t.split(",");e=u[0];i.integer(n,e);i.percent(n,e)?i.set("snapToLines",!1):null;i.alt(n,e,["auto"]);u.length===2&&i.alt("lineAlign",u[1],["start","middle","end"]);break;case"position":u=t.split(",");i.percent(n,u[0]);u.length===2&&i.alt("positionAlign",u[1],["start","middle","end"]);break;case"size":i.percent(n,t);break;case"align":i.alt(n,t,["start","middle","end","left","right"])}},/:/,/\s/);t.region=i.get("region",null);t.vertical=i.get("vertical","");t.line=i.get("line","auto");t.lineAlign=i.get("lineAlign","start");t.snapToLines=i.get("snapToLines",!0);t.size=i.get("size",100);t.align=i.get("align","middle");t.position=i.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align);t.positionAlign=i.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}function e(){n=n.replace(/^\s+/,"")}var h=n;if(e(),t.startTime=o(),e(),n.substr(0,3)!=="-->")throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+h);n=n.substr(3);e();t.endTime=o();e();c(n,t)}function l(n,t){function c(){function i(n){return t=t.substr(n.length),n}if(!t)return null;var n=t.match(/^([^<]*)(<[^>]+>?)?/);return i(n[1]?n[1]:n[2])}function l(n){return k[n]}function v(n){while(i=n.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))n=n.replace(i[0],l);return n}function y(n,t){return!a[t.localName]||a[t.localName]===n.localName}function p(t,i){var u=d[t],r,f;return u?(r=n.document.createElement(u),r.localName=u,f=g[t],f&&i&&(r[f]=i.trim()),r):null}for(var h=n.document.createElement("div"),f=h,r,e=[],o,u,i;(r=c())!==null;){if(r[0]==="<"){if(r[1]==="/"){e.length&&e[e.length-1]===r.substr(2).replace(">","")&&(e.pop(),f=f.parentNode);continue}if(o=s(r.substr(1,r.length-2)),o){u=n.document.createProcessingInstruction("timestamp",o);f.appendChild(u);continue}if(i=r.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/),!i)continue;if(u=p(i[1],i[3]),!u)continue;if(!y(f,u))continue;i[2]&&(u.className=i[2].substr(1).replace("."," "));e.push(i[1]);f.appendChild(u);f=u;continue}f.appendChild(n.document.createTextNode(v(r)))}return h}function y(n){for(var t,i=0;i<c.length;i++)if(t=c[i],n>=t[0]&&n<=t[1])return!0;return!1}function p(n){function u(n,t){for(var i=t.childNodes.length-1;i>=0;i--)n.push(t.childNodes[i])}function i(n){var t,r,f;return!n||!n.length?null:(t=n.pop(),r=t.textContent||t.innerText,r)?(f=r.match(/^.*(\n|\r)/),f)?(n.length=0,f[0]):r:t.tagName==="ruby"?i(n):t.childNodes?(u(n,t),i(n)):void 0}var f=[],r="",e,t;if(!n||!n.childNodes)return"ltr";for(u(f,n);r=i(f);)for(t=0;t<r.length;t++)if(e=r.charCodeAt(t),y(e))return"rtl";return"ltr"}function w(n){var t;if(typeof n.line=="number"&&(n.snapToLines||n.line>=0&&n.line<=100))return n.line;if(!n.track||!n.track.textTrackList||!n.track.textTrackList.mediaElement)return-1;var r=n.track,i=r.textTrackList,u=0;for(t=0;t<i.length&&i[t]!==r;t++)i[t].mode==="showing"&&u++;return++u*-1}function e(){}function o(n,t,i){var f=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",s="rgba(0, 0, 0, 0.8)",r,u;f&&(o="rgb(255, 255, 255)",s="rgb(0, 0, 0)");e.call(this);this.cue=t;this.cueDiv=l(n,t.text);r={color:o,backgroundColor:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};f||(r.writingMode=t.vertical===""?"horizontal-tb":t.vertical==="lr"?"vertical-lr":"vertical-rl",r.unicodeBidi="plaintext");this.applyStyles(r,this.cueDiv);this.div=n.document.createElement("div");r={textAlign:t.align==="middle"?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"};f||(r.direction=p(this.cueDiv),r.writingMode=t.vertical===""?"horizontal-tb":t.vertical==="lr"?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext");this.applyStyles(r);this.div.appendChild(this.cueDiv);u=0;switch(t.positionAlign){case"start":u=t.position;break;case"middle":u=t.position-t.size/2;break;case"end":u=t.position-t.size}t.vertical===""?this.applyStyles({left:this.formatStyle(u,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(u,"%"),height:this.formatStyle(t.size,"%")});this.move=function(n){this.applyStyles({top:this.formatStyle(n.top,"px"),bottom:this.formatStyle(n.bottom,"px"),left:this.formatStyle(n.left,"px"),right:this.formatStyle(n.right,"px"),height:this.formatStyle(n.height,"px"),width:this.formatStyle(n.width,"px")})}}function t(n){var e=/MSIE\s8\.0/.test(navigator.userAgent),i,r,f,u,t;n.div&&(r=n.div.offsetHeight,f=n.div.offsetWidth,u=n.div.offsetTop,t=(t=n.div.childNodes)&&(t=t[0])&&t.getClientRects&&t.getClientRects(),n=n.div.getBoundingClientRect(),i=t?Math.max(t[0]&&t[0].height||0,n.height/t.length):0);this.left=n.left;this.right=n.right;this.top=n.top||u;this.height=n.height||r;this.bottom=n.bottom||u+(n.height||r);this.width=n.width||f;this.lineHeight=i!==undefined?i:n.lineHeight;e&&!this.lineHeight&&(this.lineHeight=13)}function b(n,i,r,u){function p(n,i){for(var e,o,s=new t(n),h=1,f=0;f<i.length;f++){while(n.overlapsOppositeAxis(r,i[f])||n.within(r)&&n.overlapsAny(u))n.move(i[f]);if(n.within(r))return n;e=n.intersectPercentage(r);h>e&&(o=new t(n),h=e);n=new t(s)}return o||s}var s=new t(i),o=i.cue,e=w(o),f=[],c,a,v;if(o.snapToLines){switch(o.vertical){case"":f=["+y","-y"];c="height";break;case"rl":f=["+x","-x"];c="width";break;case"lr":f=["-x","+x"];c="width"}var l=s.lineHeight,h=l*Math.round(e),y=r[c]+l,b=f[0];Math.abs(h)>y&&(h=(h<0?-1:1)*Math.ceil(y/l)*l);e<0&&(h+=o.vertical===""?r.height:r.width,f=f.reverse());s.move(b,h)}else{a=s.lineHeight/r.height*100;switch(o.lineAlign){case"middle":e-=a/2;break;case"end":e-=a}switch(o.vertical){case"":i.applyStyles({top:i.formatStyle(e,"%")});break;case"rl":i.applyStyles({left:i.formatStyle(e,"%")});break;case"lr":i.applyStyles({right:i.formatStyle(e,"%")})}f=["+y","-x","+x","-y"];s=new t(i)}v=p(s,f);i.move(v.toCSSCompatValues(r))}function r(){}var h=Object.create||function(){function n(){}return function(t){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return n.prototype=t,new n}}(),c;i.prototype=h(Error.prototype);i.prototype.constructor=i;i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};u.prototype={set:function(n,t){this.get(n)||t===""||(this.values[n]=t)},get:function(n,t,i){return i?this.has(n)?this.values[n]:t[i]:this.has(n)?this.values[n]:t},has:function(n){return n in this.values},alt:function(n,t,i){for(var r=0;r<i.length;++r)if(t===i[r]){this.set(n,t);break}},integer:function(n,t){/^-?\d+$/.test(t)&&this.set(n,parseInt(t,10))},percent:function(n,t){var i;return(i=t.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(t=parseFloat(t),t>=0&&t<=100)?(this.set(n,t),!0):!1}};var k={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},g={v:"title",lang:"lang"},a={rt:"ruby"};c=[[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]];e.prototype.applyStyles=function(n,t){t=t||this.div;for(var i in n)n.hasOwnProperty(i)&&(t.style[i]=n[i])};e.prototype.formatStyle=function(n,t){return n===0?0:n+t};o.prototype=h(e.prototype);o.prototype.constructor=o;t.prototype.move=function(n,t){t=t!==undefined?t:this.lineHeight;switch(n){case"+x":this.left+=t;this.right+=t;break;case"-x":this.left-=t;this.right-=t;break;case"+y":this.top+=t;this.bottom+=t;break;case"-y":this.top-=t;this.bottom-=t}};t.prototype.overlaps=function(n){return this.left<n.right&&this.right>n.left&&this.top<n.bottom&&this.bottom>n.top};t.prototype.overlapsAny=function(n){for(var t=0;t<n.length;t++)if(this.overlaps(n[t]))return!0;return!1};t.prototype.within=function(n){return this.top>=n.top&&this.bottom<=n.bottom&&this.left>=n.left&&this.right<=n.right};t.prototype.overlapsOppositeAxis=function(n,t){switch(t){case"+x":return this.left<n.left;case"-x":return this.right>n.right;case"+y":return this.top<n.top;case"-y":return this.bottom>n.bottom}};t.prototype.intersectPercentage=function(n){var t=Math.max(0,Math.min(this.right,n.right)-Math.max(this.left,n.left)),i=Math.max(0,Math.min(this.bottom,n.bottom)-Math.max(this.top,n.top)),r=t*i;return r/(this.height*this.width)};t.prototype.toCSSCompatValues=function(n){return{top:this.top-n.top,bottom:n.bottom-this.bottom,left:this.left-n.left,right:n.right-this.right,height:this.height,width:this.width}};t.getSimpleBoxPosition=function(n){var t=n.div?n.div.offsetHeight:n.tagName?n.offsetHeight:0,r=n.div?n.div.offsetWidth:n.tagName?n.offsetWidth:0,i=n.div?n.div.offsetTop:n.tagName?n.offsetTop:0;return n=n.div?n.div.getBoundingClientRect():n.tagName?n.getBoundingClientRect():n,{left:n.left,right:n.right,top:n.top||i,height:n.height||t,bottom:n.bottom||i+(n.height||t),width:n.width||r}};r.StringDecoder=function(){return{decode:function(n){if(!n)return"";if(typeof n!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(n))}}};r.convertCueToDOMTree=function(n,t){return!n||!t?null:l(n,t)};var nt=.05,tt="sans-serif",it="1.5%";r.processCues=function(n,i,r){function h(n){for(var t=0;t<n.length;t++)if(n[t].hasBeenReset||!n[t].displayState)return!0;return!1}var u,f;if(!n||!i||!r)return null;while(r.firstChild)r.removeChild(r.firstChild);if(u=n.document.createElement("div"),u.style.position="absolute",u.style.left="0",u.style.right="0",u.style.top="0",u.style.bottom="0",u.style.margin=it,r.appendChild(u),!h(i)){for(f=0;f<i.length;f++)u.appendChild(i[f].displayState);return}var e=[],s=t.getSimpleBoxPosition(u),c=Math.round(s.height*nt*100)/100,l={font:c+"px "+tt};(function(){for(var r,f,h=0;h<i.length;h++)f=i[h],r=new o(n,f,l),u.appendChild(r.div),b(n,r,s,e),f.displayState=r.div,e.push(t.getSimpleBoxPosition(r))})()};r.Parser=function(n,t,i){i||(i=t,t={});t||(t={});this.window=n;this.vttjs=t;this.state="INITIAL";this.buffer="";this.decoder=i||new TextDecoder("utf8");this.regionList=[]};r.Parser.prototype={reportOrThrowError:function(n){if(n instanceof i)this.onparsingerror&&this.onparsingerror(n);else throw n;},parse:function(n){function h(){for(var i=t.buffer,n=0,r;n<i.length&&i[n]!=="\r"&&i[n]!=="\n";)++n;return r=i.substr(0,n),i[n]==="\r"&&++n,i[n]==="\n"&&++n,t.buffer=i.substr(n),r}function a(n){var i=new u,r;f(n,function(n,t){var f,r;switch(n){case"id":i.set(n,t);break;case"width":i.percent(n,t);break;case"lines":i.integer(n,t);break;case"regionanchor":case"viewportanchor":if(f=t.split(","),f.length!==2)break;if(r=new u,r.percent("x",f[0]),r.percent("y",f[1]),!r.has("x")||!r.has("y"))break;i.set(n+"X",r.get("x"));i.set(n+"Y",r.get("y"));break;case"scroll":i.alt(n,t,["up"])}},/=/,/\s/);i.has("id")&&(r=new(t.vttjs.VTTRegion||t.window.VTTRegion),r.width=i.get("width",100),r.lines=i.get("lines",3),r.regionAnchorX=i.get("regionanchorX",0),r.regionAnchorY=i.get("regionanchorY",100),r.viewportAnchorX=i.get("viewportanchorX",0),r.viewportAnchorY=i.get("viewportanchorY",100),r.scroll=i.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:i.get("id"),region:r}))}function y(n){var i=new u;f(n,function(n,t){switch(n){case"MPEGT":i.integer(n+"S",t);break;case"LOCA":i.set(n+"L",s(t))}},/[^\d]:/,/,/);t.ontimestampmap&&t.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")})}function p(n){n.match(/X-TIMESTAMP-MAP/)?f(n,function(n,t){switch(n){case"X-TIMESTAMP-MAP":y(t)}},/=/):f(n,function(n,t){switch(n){case"Region":a(t)}},/:/)}var t=this,r,o,e,c;n&&(t.buffer+=t.decoder.decode(n,{stream:!0}));try{if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;if(r=h(),o=r.match(/^WEBVTT([ \t].*)?$/),!o||!o[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(e=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;e?e=!1:r=h();switch(t.state){case"HEADER":/:/.test(r)?p(r):r||(t.state="ID");continue;case"NOTE":r||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(r)){t.state="NOTE";break}if(!r)continue;if(t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,""),t.state="CUE",r.indexOf("-->")===-1){t.cue.id=r;continue}case"CUE":try{v(r,t.cue,t.regionList)}catch(l){t.reportOrThrowError(l);t.cue=null;t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":if(c=r.indexOf("-->")!==-1,!r||c&&(e=!0)){t.oncue&&t.oncue(t.cue);t.cue=null;t.state="ID";continue}t.cue.text&&(t.cue.text+="\n");t.cue.text+=r;continue;case"BADCUE":r||(t.state="ID");continue}}}catch(l){if(t.reportOrThrowError(l),t.state==="CUETEXT"&&t.cue&&t.oncue)t.oncue(t.cue);t.cue=null;t.state=t.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var n=this;try{if(n.buffer+=n.decoder.decode(),(n.cue||n.state==="HEADER")&&(n.buffer+="\n\n",n.parse()),n.state==="INITIAL")throw new i(i.Errors.BadSignature);}catch(t){n.reportOrThrowError(t)}return n.onflush&&n.onflush(),this}};n.WebVTT=r})(this,this.vttjs||{})},{}],107:[function(){(function(n,t){function f(n){if(typeof n!="string")return!1;var t=o[n.toLowerCase()];return t?n.toLowerCase():!1}function r(n){if(typeof n!="string")return!1;var t=s[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){for(var t=1,i,r;t<arguments.length;t++){i=arguments[t];for(r in i)n[r]=i[r]}return n}function u(n,t,u){var o=this,h=/MSIE\s8\.0/.test(navigator.userAgent),s={};h?o=document.createElement("custom"):s.enumerable=!0;o.hasBeenReset=!1;var c="",l=!1,a=n,v=t,y=u,p=null,w="",b=!0,k="auto",d="start",g=50,nt="middle",tt=50,it="middle";return Object.defineProperty(o,"id",i({},s,{get:function(){return c},set:function(n){c=""+n}})),Object.defineProperty(o,"pauseOnExit",i({},s,{get:function(){return l},set:function(n){l=!!n}})),Object.defineProperty(o,"startTime",i({},s,{get:function(){return a},set:function(n){if(typeof n!="number")throw new TypeError("Start time must be set to a number.");a=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",i({},s,{get:function(){return v},set:function(n){if(typeof n!="number")throw new TypeError("End time must be set to a number.");v=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"text",i({},s,{get:function(){return y},set:function(n){y=""+n;this.hasBeenReset=!0}})),Object.defineProperty(o,"region",i({},s,{get:function(){return p},set:function(n){p=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",i({},s,{get:function(){return w},set:function(n){var t=f(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");w=t;this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",i({},s,{get:function(){return b},set:function(n){b=!!n;this.hasBeenReset=!0}})),Object.defineProperty(o,"line",i({},s,{get:function(){return k},set:function(n){if(typeof n!="number"&&n!==e)throw new SyntaxError("An invalid number or illegal string was specified.");k=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",i({},s,{get:function(){return d},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");d=t;this.hasBeenReset=!0}})),Object.defineProperty(o,"position",i({},s,{get:function(){return g},set:function(n){if(n<0||n>100)throw new Error("Position must be between 0 and 100.");g=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",i({},s,{get:function(){return nt},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");nt=t;this.hasBeenReset=!0}})),Object.defineProperty(o,"size",i({},s,{get:function(){return tt},set:function(n){if(n<0||n>100)throw new Error("Size must be between 0 and 100.");tt=n;this.hasBeenReset=!0}})),Object.defineProperty(o,"align",i({},s,{get:function(){return it},set:function(n){var t=r(n);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");it=t;this.hasBeenReset=!0}})),o.displayState=undefined,h?o:void 0}var e="auto",o={"":!0,lr:!0,rl:!0},s={start:!0,middle:!0,end:!0,left:!0,right:!0};u.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};n.VTTCue=n.VTTCue||u;t.VTTCue=u})(this,this.vttjs||{})},{}],108:[function(){(function(n,t){function u(n){if(typeof n!="string")return!1;var t=f[n.toLowerCase()];return t?n.toLowerCase():!1}function i(n){return typeof n=="number"&&n>=0&&n<=100}function r(){var n=100,t=3,r=0,f=100,e=0,o=100,s="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return n},set:function(t){if(!i(t))throw new Error("Width must be between 0 and 100.");n=t}},lines:{enumerable:!0,get:function(){return t},set:function(n){if(typeof n!="number")throw new TypeError("Lines must be set to a number.");t=n}},regionAnchorY:{enumerable:!0,get:function(){return f},set:function(n){if(!i(n))throw new Error("RegionAnchorX must be between 0 and 100.");f=n}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(n){if(!i(n))throw new Error("RegionAnchorY must be between 0 and 100.");r=n}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(n){if(!i(n))throw new Error("ViewportAnchorY must be between 0 and 100.");o=n}},viewportAnchorX:{enumerable:!0,get:function(){return e},set:function(n){if(!i(n))throw new Error("ViewportAnchorX must be between 0 and 100.");e=n}},scroll:{enumerable:!0,get:function(){return s},set:function(n){var t=u(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");s=t}}})}var f={"":!0,up:!0};n.VTTRegion=n.VTTRegion||r;t.VTTRegion=r})(this,this.vttjs||{})},{}],109:[function(n,t,i){arguments[4][95][0].apply(i,arguments)},{"95":95}]},{},[93])(93)});!function(){!function(n){var t=n&&n.videojs,i;t&&(t.CDN_VERSION="5.19.2",i="https:"===n.location.protocol?"https://":"http://",t.options.flash.swf=i+"vjs.zencdn.net/swf/5.3.0/video-js.swf")}(window),function(n,t,i,r,u,f,e){t&&t.HELP_IMPROVE_VIDEOJS!==!1&&(u.random()>.01||(f=t.location,e=t.videojs||{},n.src="//www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-3&utmn=1&utmhn="+r(f.hostname)+"&utmsr="+t.screen.availWidth+"x"+t.screen.availHeight+"&utmul="+(i.language||i.userLanguage||"").toLowerCase()+"&utmr="+r(f.href)+"&utmp="+r(f.hostname+f.pathname)+"&utmcc=__utma%3D1."+u.floor(1e10*u.random())+".1.1.1.1%3B&utme=8(vjsv*cdnv)9("+e.VERSION+"*"+e.CDN_VERSION+")"))}(new Image,window,navigator,encodeURIComponent,Math)}(),function(n,t){typeof define=="function"&&define.amd?define(["jquery"],function(n){return t(n)}):typeof exports=="object"?module.exports=t(require("jquery")):t(jQuery)}(this,function(n){(function(){"use strict";var i={videoMaxWidth:"855px",youtubePlayerParams:!1,vimeoPlayerParams:!1,dailymotionPlayerParams:!1,vkPlayerParams:!1,videojs:!1,videojsOptions:{}},t=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),this.core.s=n.extend({},i,this.core.s),this.videoLoaded=!1,this.init(),this};t.prototype.init=function(){var t=this,i;t.core.$el.on("hasVideo.lg.tm",function(n,i,r,u){if(t.core.$slide.eq(i).find(".lg-video").append(t.loadVideo(r,"lg-object",!0,i,u)),u)if(t.core.s.videojs)try{videojs(t.core.$slide.eq(i).find(".lg-html5").get(0),t.core.s.videojsOptions,function(){t.videoLoaded||this.play()})}catch(f){console.error("Make sure you have included videojs")}else t.videoLoaded||t.core.$slide.eq(i).find(".lg-html5").get(0).play()});t.core.$el.on("onAferAppendSlide.lg.tm",function(n,i){var r=t.core.$slide.eq(i).find(".lg-video-cont");r.hasClass("lg-has-iframe")||(r.css("max-width",t.core.s.videoMaxWidth),t.videoLoaded=!0)});if(i=function(n){var i,r,u,e;if(n.find(".lg-object").hasClass("lg-has-poster")&&n.find(".lg-object").is(":visible"))if(n.hasClass("lg-has-video")){var o=n.find(".lg-youtube").get(0),s=n.find(".lg-vimeo").get(0),h=n.find(".lg-dailymotion").get(0),f=n.find(".lg-html5").get(0);if(o)o.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*");else if(s)try{$f(s).api("play")}catch(c){console.error("Make sure you have included froogaloop2 js")}else if(h)h.contentWindow.postMessage("play","*");else if(f)if(t.core.s.videojs)try{videojs(f).play()}catch(c){console.error("Make sure you have included videojs")}else f.play();n.addClass("lg-video-playing")}else if(n.addClass("lg-video-playing lg-has-video"),u=function(i,r){if(n.find(".lg-video").append(t.loadVideo(i,"",!1,t.core.index,r)),r)if(t.core.s.videojs)try{videojs(t.core.$slide.eq(t.core.index).find(".lg-html5").get(0),t.core.s.videojsOptions,function(){this.play()})}catch(u){console.error("Make sure you have included videojs")}else t.core.$slide.eq(t.core.index).find(".lg-html5").get(0).play()},t.core.s.dynamic?(i=t.core.s.dynamicEl[t.core.index].src,r=t.core.s.dynamicEl[t.core.index].html,u(i,r)):(i=t.core.$items.eq(t.core.index).attr("href")||t.core.$items.eq(t.core.index).attr("data-src"),r=t.core.$items.eq(t.core.index).attr("data-html"),u(i,r)),e=n.find(".lg-object"),n.find(".lg-video").append(e),!n.find(".lg-video-object").hasClass("lg-html5")){n.removeClass("lg-complete");n.find(".lg-video-object").on("load.lg error.lg",function(){n.addClass("lg-complete")})}},t.core.doCss()&&t.core.$items.length>1&&(t.core.s.enableSwipe||t.core.s.enableDrag))t.core.$el.on("onSlideClick.lg.tm",function(){var n=t.core.$slide.eq(t.core.index);i(n)});else t.core.$slide.on("click.lg",function(){i(n(this))});t.core.$el.on("onBeforeSlide.lg.tm",function(i,r,u){var f=t.core.$slide.eq(r),h=f.find(".lg-youtube").get(0),c=f.find(".lg-vimeo").get(0),l=f.find(".lg-dailymotion").get(0),o=f.find(".lg-vk").get(0),s=f.find(".lg-html5").get(0),a,e;if(h)h.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");else if(c)try{$f(c).api("pause")}catch(v){console.error("Make sure you have included froogaloop2 js")}else if(l)l.contentWindow.postMessage("pause","*");else if(s)if(t.core.s.videojs)try{videojs(s).pause()}catch(v){console.error("Make sure you have included videojs")}else s.pause();o&&n(o).attr("src",n(o).attr("src").replace("&autoplay","&noplay"));a=t.core.s.dynamic?t.core.s.dynamicEl[u].src:t.core.$items.eq(u).attr("href")||t.core.$items.eq(u).attr("data-src");e=t.core.isVideo(a,u)||{};(e.youtube||e.vimeo||e.dailymotion||e.vk)&&t.core.$outer.addClass("lg-hide-download")});t.core.$el.on("onAfterSlide.lg.tm",function(n,i){t.core.$slide.eq(i).removeClass("lg-video-playing")})};t.prototype.loadVideo=function(t,i,r,u,f){var s="",h=1,e="",o=this.core.isVideo(t,u)||{},c;return r&&(h=this.videoLoaded?0:1),o.youtube?(e="?wmode=opaque&autoplay="+h+"&enablejsapi=1",this.core.s.youtubePlayerParams&&(e=e+"&"+n.param(this.core.s.youtubePlayerParams)),s='<iframe id="video'+u+'" class="lg-video-object lg-youtube '+i+'" width="560" height="315" src="//www.youtube.com/embed/'+o.youtube[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'):o.vimeo?(e="?autoplay="+h+"&api=1",this.core.s.vimeoPlayerParams&&(e=e+"&"+n.param(this.core.s.vimeoPlayerParams)),s='<iframe id="video'+u+'" class="lg-video-object lg-vimeo '+i+'" width="560" height="315"  src="//player.vimeo.com/video/'+o.vimeo[1]+e+'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen><\/iframe>'):o.dailymotion?(e="?wmode=opaque&autoplay="+h+"&api=postMessage",this.core.s.dailymotionPlayerParams&&(e=e+"&"+n.param(this.core.s.dailymotionPlayerParams)),s='<iframe id="video'+u+'" class="lg-video-object lg-dailymotion '+i+'" width="560" height="315" src="//www.dailymotion.com/embed/video/'+o.dailymotion[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'):o.html5?(c=f.substring(0,1),(c==="."||c==="#")&&(f=n(f).html()),s=f):o.vk&&(e="&autoplay="+h,this.core.s.vkPlayerParams&&(e=e+"&"+n.param(this.core.s.vkPlayerParams)),s='<iframe id="video'+u+'" class="lg-video-object lg-vk '+i+'" width="560" height="315" src="http://vk.com/video_ext.php?'+o.vk[1]+e+'" frameborder="0" allowfullscreen><\/iframe>'),s};t.prototype.destroy=function(){this.videoLoaded=!1};n.fn.lightGallery.modules.video=t})()}),function(n,t){"use strict";var f={fullScreen:!0},i=!1,u=function(t){return this.core=n(t).data("lightGallery"),this.$el=n(t),this.core.s=n.extend({},f,this.core.s),this.init(),this},r;u.prototype.init=function(){var u=this;i=!1;n(t).on("onAfterOpen.lg",function(){u.core.$outer.find(".lg-close").unbind("click.lg");u.core.$outer.find(".lg-close").on("click.lg",function(){if(i)u.core.destroy();else{r(u);u.core.$outer.find(".lg-close").unbind("click.lg");u.core.$outer.find(".lg-close").on("click.lg",function(){u.core.destroy()})}});u.core.$outer.unbind("mouseup.lg");u.core.$outer.on("mouseup.lg",function(t){if(!n(t.target).is(".lg-close")&&!n(t.target).is(".donateBoxLink"))if(i)u.core.destroy();else{r(u);u.core.$outer.unbind("mouseup.lg");u.core.$outer.on("mouseup.lg",function(t){(n(t.target).is(".lg-outer")||n(t.target).is(".lg-item ")||n(t.target).is(".lg-img-wrap"))&&(u.core.$outer.hasClass("lg-dragging")||u.core.destroy())})}});var t=n(".donateBoxLink").attr("href");n(".donateBoxLink").attr("href","");n(".donateBoxLink").on("click",function(f){i||(f.preventDefault(),r(u));n(".donateBoxLink").unbind("click");n(".donateBoxLink").attr("href",t)})})};r=function(t){i=!0;var f=t.$el,r=t.core.$outer.find(".lg-video-cont"),u=n(".donate").clone();n(r).empty();n(u).appendTo(n(r));n(u).show()};u.prototype.destroy=function(){};n.fn.lightGallery.modules.donate=u}(jQuery,window,document),function(n,t){typeof define=="function"&&define.amd?define(["jquery"],t):typeof exports=="object"?module.exports=t(require("jquery")):t(n.jQuery)}(this,function(n){function f(n){var i,f,t,r;if(n in u.style)return n;for(i=["Moz","Webkit","O","ms"],f=n.charAt(0).toUpperCase()+n.substr(1),t=0;t<i.length;++t)if(r=i[t]+f,r in u.style)return r}function p(){return u.style[t.transform]="",u.style[t.transform]="rotateY(90deg)",u.style[t.transform]!==""}function e(n){return typeof n=="string"&&this.parse(n),this}function c(n,t,i){t===!0?n.queue(i):t?n.queue(t,i):n.each(function(){i.call(this)})}function w(i){var r=[];return n.each(i,function(i){i=n.camelCase(i);i=n.transit.propertyMap[i]||n.cssProps[i]||i;i=a(i);t[i]&&(i=a(t[i]));n.inArray(i,r)===-1&&r.push(i)}),r}function l(t,i,r,u){var o=w(t),f,e;return n.cssEase[r]&&(r=n.cssEase[r]),f=""+h(i)+" "+r,parseInt(u,10)>0&&(f+=" "+h(u)),e=[],n.each(o,function(n,t){e.push(t+" "+f)}),e.join(", ")}function i(i,r){r||(n.cssNumber[i]=!0);n.transit.propertyMap[i]=t.transform;n.cssHooks[i]={get:function(t){var r=n(t).css("transit:transform");return r.get(i)},set:function(t,r){var u=n(t).css("transit:transform");u.setFromString(i,r);n(t).css({"transit:transform":u})}}}function a(n){return n.replace(/([A-Z])/g,function(n){return"-"+n.toLowerCase()})}function r(n,t){return typeof n!="string"||n.match(/^[\-0-9\.]+$/)?""+n+t:n}function h(t){var i=t;return typeof i!="string"||i.match(/^[\-0-9\.]+/)||(i=n.fx.speeds[i]||n.fx.speeds._default),r(i,"ms")}var u,t,v,y,s,o;n.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};u=document.createElement("div");t={};v=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;t.transition=f("transition");t.transitionDelay=f("transitionDelay");t.transform=f("transform");t.transformOrigin=f("transformOrigin");t.filter=f("Filter");t.transform3d=p();y={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};s=t.transitionEnd=y[t.transition]||null;for(o in t)t.hasOwnProperty(o)&&typeof n.support[o]=="undefined"&&(n.support[o]=t[o]);return u=null,n.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},n.cssHooks["transit:transform"]={get:function(t){return n(t).data("transform")||new e},set:function(i,r){var u=r;u instanceof e||(u=new e(u));i.style[t.transform]=t.transform!=="WebkitTransform"||v?u.toString():u.toString(!0);n(i).data("transform",u)}},n.cssHooks.transform={set:n.cssHooks["transit:transform"].set},n.cssHooks.filter={get:function(n){return n.style[t.filter]},set:function(n,i){n.style[t.filter]=i}},n.fn.jquery<"1.8"&&(n.cssHooks.transformOrigin={get:function(n){return n.style[t.transformOrigin]},set:function(n,i){n.style[t.transformOrigin]=i}},n.cssHooks.transition={get:function(n){return n.style[t.transition]},set:function(n,i){n.style[t.transition]=i}}),i("scale"),i("scaleX"),i("scaleY"),i("translate"),i("rotate"),i("rotateX"),i("rotateY"),i("rotate3d"),i("perspective"),i("skewX"),i("skewY"),i("x",!0),i("y",!0),e.prototype={setFromString:function(n,t){var i=typeof t=="string"?t.split(","):t.constructor===Array?t:[t];i.unshift(n);e.prototype.set.apply(this,i)},set:function(n){var t=Array.prototype.slice.apply(arguments,[1]);this.setter[n]?this.setter[n].apply(this,t):this[n]=t.join(",")},get:function(n){return this.getter[n]?this.getter[n].apply(this):this[n]||0},setter:{rotate:function(n){this.rotate=r(n,"deg")},rotateX:function(n){this.rotateX=r(n,"deg")},rotateY:function(n){this.rotateY=r(n,"deg")},scale:function(n,t){t===undefined&&(t=n);this.scale=n+","+t},skewX:function(n){this.skewX=r(n,"deg")},skewY:function(n){this.skewY=r(n,"deg")},perspective:function(n){this.perspective=r(n,"px")},x:function(n){this.set("translate",n,null)},y:function(n){this.set("translate",null,n)},translate:function(n,t){this._translateX===undefined&&(this._translateX=0);this._translateY===undefined&&(this._translateY=0);n!==null&&n!==undefined&&(this._translateX=r(n,"px"));t!==null&&t!==undefined&&(this._translateY=r(t,"px"));this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var n=(this.scale||"1,1").split(",");return n[0]&&(n[0]=parseFloat(n[0])),n[1]&&(n[1]=parseFloat(n[1])),n[0]===n[1]?n[0]:n},rotate3d:function(){for(var n=(this.rotate3d||"0,0,0,0deg").split(","),t=0;t<=3;++t)n[t]&&(n[t]=parseFloat(n[t]));return n[3]&&(n[3]=r(n[3],"deg")),n}},parse:function(n){var t=this;n.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(n,i,r){t.setFromString(i,r)})},toString:function(n){var r=[];for(var i in this)if(this.hasOwnProperty(i)){if(!t.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin"))continue;i[0]!=="_"&&(n&&i==="scale"?r.push(i+"3d("+this[i]+",1)"):n&&i==="translate"?r.push(i+"3d("+this[i]+",0)"):r.push(i+"("+this[i]+")"))}return r.join(" ")}},n.fn.transition=n.fn.transit=function(i,r,u,f){var o=this,v=0,y=!0,e=n.extend(!0,{},i),p;typeof r=="function"&&(f=r,r=undefined);typeof r=="object"&&(u=r.easing,v=r.delay||0,y=typeof r.queue=="undefined"?!0:r.queue,f=r.complete,r=r.duration);typeof u=="function"&&(f=u,u=undefined);typeof e.easing!="undefined"&&(u=e.easing,delete e.easing);typeof e.duration!="undefined"&&(r=e.duration,delete e.duration);typeof e.complete!="undefined"&&(f=e.complete,delete e.complete);typeof e.queue!="undefined"&&(y=e.queue,delete e.queue);typeof e.delay!="undefined"&&(v=e.delay,delete e.delay);typeof r=="undefined"&&(r=n.fx.speeds._default);typeof u=="undefined"&&(u=n.cssEase._default);r=h(r);var w=l(e,r,u,v),b=n.transit.enabled&&t.transition,a=b?parseInt(r,10)+parseInt(v,10):0;if(a===0)return p=function(n){o.css(e);f&&f.apply(o);n&&n()},c(o,y,p),o;var k={},d=function(i){var u=!1,r=function(){u&&o.unbind(s,r);a>0&&o.each(function(){this.style[t.transition]=k[this]||null});typeof f=="function"&&f.apply(o);typeof i=="function"&&i()};a>0&&s&&n.transit.useTransitionEnd?(u=!0,o.bind(s,r)):window.setTimeout(r,a);o.each(function(){a>0&&(this.style[t.transition]=w);n(this).css(e)})},g=function(n){this.offsetWidth;d(n)};return c(o,y,g),this},n.transit.getTransitionValue=l,n});jQuery(function(n){function u(){t>i?(n("#container").css("min-height",t),n("#menu").css("min-height",t).css("display","")):(n("#container").css("min-height",i),n("#menu").css("min-height",i).css("display",""));n("#container").css("width",f).css("overflow","hidden");n("#page").transition({x:"-78%",complete:function(){n("body").removeClass("menu-opening");n("body").addClass("menu-open");n("body").removeClass("menu-close")}});n("#menu").transition({x:"0%"});n("body").removeClass("menu-close");n("body").addClass("menu-opening")}function r(){n("#page").transition({x:"0"});n("#menu").transition({x:"100%",complete:function(){n("#menu").css("min-height","");n("#container").removeAttr("style");n("body").removeClass("menu-closing");n("body").addClass("menu-close");n("body").removeClass("menu-open")}});n("body").removeClass("menu-open");n("body").addClass("menu-closing")}var f=n(document).width(!0),t,i;n(".trigger").click(function(){n("body").hasClass("menu-open")?r():u()});n(".pageFiller").click(function(){r()});t=n("#page").height();i=n("#menu").height();n("#menu").css("display","none");n(window).bind("orientationchange resize",function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)||(n("body").removeClass("menu-open"),n("body").removeClass("menu-opening"),n("body").removeClass("menu-closing"),n("#page").removeAttr("style"),n("#menu").removeAttr("style"),n("#container").removeAttr("style"))});n(".mobileMenu .listItem_Level0_Children").append(n("<span class='symbol open'><\/span>"));n(".mobileMenu .listItem_Level1_Children").append(n("<span class='symbol open'><\/span>"));n(".mobileMenu .listItem_Level2_Children").append(n("<span class='symbol open'><\/span>"));n(".open").click(function(){n(this).prev().slideToggle()})});$("#cookieNotification .close").click(function(){$.cookie("NVVS","hideCookie",{expires:365,path:"/"});$("#cookieNotification").fadeOut(800)});$("#cookieNotification .accept").click(function(){$.cookie("NVVS","hideCookie",{expires:365,path:"/"});$("#cookieNotification").fadeOut(800)});$.cookie("NVVS")==="hideCookie"?$("#cookieNotification").hide():$("#cookieNotification").show();animatetweets();animatetweetsRight();$(".categoryListFooter").length>0&&($(".categoryListFooter").trunk8(),$(window).resize(function(){$(".categoryListFooter").trunk8()}));$(".cycle-slideshow").cycle({log:!1});$("#map-container AREA").mouseover(function(){var n="."+$(this).attr("id")+"-map";$(n).css("display","inline")}).mouseout(function(){var n="."+$(this).attr("id")+"-map";$(n).hasClass("selected")||$(n).css("display","none")});$(document).ready(function(){function i(){t.removeClass("is-visible");n.removeClass("is-visible")}var n=$(".search-popup"),t=$(".search-trigger");t.on("click",function(i){i.preventDefault();t.addClass("is-visible");n.addClass("is-visible").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){n.find("input").focus().end().off("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend")})});n.click(function(){i()}).children().click(function(){return!1});$(document).keyup(function(n){n.which===27&&i()})});toggleCustomCmsEditMode=function(n){window.cmsPanelCTA!=undefined&&window.cmsPanelCTA.SetVisible(!n);window.cmsPanelBOTTOM!=undefined&&window.cmsPanelBOTTOM.SetVisible(!n);window.cmsPanelGlobal!=undefined&&window.cmsPanelGlobal.SetVisible(!n)}