function lsShowNotice(n,t,i){var r,u,f;typeof n=="string"?r=jQuery("#"+n):typeof n=="object"&&(r=n);switch(t){case"jquery":u="multiple jQuery issue";f='It looks like that another plugin or your theme loads an extra copy of the jQuery library causing problems for LayerSlider to show your sliders. <strong>Please navigate on your WordPress admin area to the main page of LayerSlider and enable the "Put JS includes to body" option within the Troubleshooting & Advanced Settings box.<\/strong>';break;case"oldjquery":u="old jQuery issue";f="It looks like you are using an old version ("+i+') of the jQuery library. LayerSlider requires at least version 1.7.0 or newer. Please update jQuery to 1.10.x or higher. Important: Please do not use the jQuery Updater plugin on WordPress and do not update to 2.x version of jQuery because it is not compatible with older browsers like IE 7 & 8. <a href="http://support.kreaturamedia.com/faq/4/layerslider-for-wordpress/#group-13&entry-60">You can read more about updating jQuery by clicking here.<\/a>'}r.addClass("ls-error");r.append('<p class="ls-exclam">!<\/p>');r.append('<p class="ls-error-title">LayerSlider: '+u+"<\/p>");r.append('<p class="ls-error-text">'+f+"<\/p>")}function slickSizer(){$(".slick-slide").css("height","auto");$(".slick-slide .slide-content_right").css("height","auto");setTimeout(function(){var n=$(".slick-track").height();$(".slick-slide").css("height",n+"px");$(".slick-slide .slide-content_right").css("height",n+"px")},50)}function close_accordion_section(){$(".accordion .accordion-toggle").removeClass("active");$(".accordion .accordion-section-content").slideUp(300).removeClass("open")}function handleAnimation(){var n=[];$(".animate, [class^='arrow-down']").each(function(t){n[t]=$(this)});setTimeout(function(){for(var t in n)n[t].isOnScreen()?n[t].addClass("active"):n[t].removeClass("active")},500)}function handlePopovers(){$('[data-toggle="popover"]').popover({html:!0,content:function(){return $(this).next(".popover-content").html()},sanitizeFn:function(n){return DOMPurify.sanitize(n)}})}var navbar,resizeTimeout,setupVideoJs;(function(n){"use strict";n.matchMedia=n.matchMedia||function(n){var u,i=n.documentElement,f=i.firstElementChild||i.firstChild,r=n.createElement("body"),t=n.createElement("div");return t.id="mq-test-1",t.style.cssText="position:absolute;top:-100em",r.style.background="none",r.appendChild(t),function(n){return t.innerHTML='&shy;<style media="'+n+'"> #mq-test-1 { width: 42px; }<\/style>',i.insertBefore(r,f),u=t.offsetWidth===42,i.removeChild(r),{matches:u,media:n}}}(n.document)})(this),function(n){"use strict";function p(){y(!0)}var t={};n.respond=t;t.update=function(){};var f=[],it=function(){var t=!1;try{t=new n.XMLHttpRequest}catch(i){t=new n.ActiveXObject("Microsoft.XMLHTTP")}return function(){return t}}(),w=function(n,t){var i=it();i&&(i.open("GET",n,!0),i.onreadystatechange=function(){i.readyState===4&&(i.status===200||i.status===304)&&t(i.responseText)},i.readyState!==4)&&i.send(null)},b=function(n){return n.replace(t.regex.minmaxwh,"").match(t.regex.other)};if(t.ajax=w,t.queue=f,t.unsupportedmq=b,t.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},t.mediaQueriesSupported=n.matchMedia&&n.matchMedia("only all")!==null&&n.matchMedia("only all").matches,!t.mediaQueriesSupported){var i=n.document,r=i.documentElement,e=[],o=[],u=[],c={},k=30,s=i.getElementsByTagName("head")[0]||r,rt=i.getElementsByTagName("base")[0],h=s.getElementsByTagName("link"),l,d,a,v=function(){var f,t=i.createElement("div"),n=i.body,o=r.style.fontSize,e=n&&n.style.fontSize,u=!1;return t.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=u=i.createElement("body"),n.style.background="none"),r.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(t),u&&r.insertBefore(n,r.firstChild),f=t.offsetWidth,u?r.removeChild(n):n.removeChild(t),r.style.fontSize=o,e&&(n.style.fontSize=e),a=parseFloat(f)},y=function(t){var rt="clientWidth",ut=r[rt],ft=i.compatMode==="CSS1Compat"&&ut||i.body[rt]||ut,p={},ct=h[h.length-1],et=(new Date).getTime(),tt,g,nt,f,it;if(t&&l&&et-l<k){n.clearTimeout(d);d=n.setTimeout(y,k);return}l=et;for(tt in e)if(e.hasOwnProperty(tt)){var c=e[tt],w=c.minw,b=c.maxw,ot=w===null,st=b===null,ht="em";w&&(w=parseFloat(w)*(w.indexOf(ht)>-1?a||v():1));b&&(b=parseFloat(b)*(b.indexOf(ht)>-1?a||v():1));(!c.hasquery||(!ot||!st)&&(ot||ft>=w)&&(st||ft<=b))&&(p[c.media]||(p[c.media]=[]),p[c.media].push(o[c.rules]))}for(g in u)u.hasOwnProperty(g)&&u[g]&&u[g].parentNode===s&&s.removeChild(u[g]);u.length=0;for(nt in p)p.hasOwnProperty(nt)&&(f=i.createElement("style"),it=p[nt].join("\n"),f.type="text/css",f.media=nt,s.insertBefore(f,ct.nextSibling),f.styleSheet?f.styleSheet.cssText=it:f.appendChild(i.createTextNode(it)),u.push(f))},g=function(n,i,r){var h=n.replace(t.regex.comments,"").replace(t.regex.keyframes,"").match(t.regex.media),c=h&&h.length||0,l,a,f,v,u,p,w,s;for(i=i.substring(0,i.lastIndexOf("/")),l=function(n){return n.replace(t.regex.urls,"$1"+i+"$2$3")},a=!c&&r,i.length&&(i+="/"),a&&(c=1),f=0;f<c;f++)for(a?(v=r,o.push(l(n))):(v=h[f].match(t.regex.findStyles)&&RegExp.$1,o.push(RegExp.$2&&l(RegExp.$2))),p=v.split(","),w=p.length,s=0;s<w;s++)(u=p[s],b(u))||e.push({media:u.split("(")[0].match(t.regex.only)&&RegExp.$2||"all",rules:o.length-1,hasquery:u.indexOf("(")>-1,minw:u.match(t.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:u.match(t.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")});y()},nt=function(){if(f.length){var t=f.shift();w(t.href,function(i){g(i,t.href,t.media);c[t.href]=!0;n.setTimeout(function(){nt()},0)})}},tt=function(){for(var r=0;r<h.length;r++){var i=h[r],t=i.href,u=i.media,e=i.rel&&i.rel.toLowerCase()==="stylesheet";t&&e&&!c[t]&&(i.styleSheet&&i.styleSheet.rawCssText?(g(i.styleSheet.rawCssText,t,u),c[t]=!0):(/^([a-zA-Z:]*\/\/)/.test(t)||rt)&&t.replace(RegExp.$1,"").split("/")[0]!==n.location.host||(t.substring(0,2)==="//"&&(t=n.location.protocol+t),f.push({href:t,media:u})))}nt()};tt();t.update=tt;t.getEmValue=v;n.addEventListener?n.addEventListener("resize",p,!1):n.attachEvent&&n.attachEvent("onresize",p)}}(this);eval(function(n,t,i,r,u,f){if(u=function(n){return(n<t?"":u(parseInt(n/t)))+((n=n%t)>35?String.fromCharCode(n+29):n.toString(36))},!"".replace(/^/,String)){while(i--)f[u(i)]=r[i]||u(i);r=[function(n){return f[n]}];u=function(){return"\\w+"};i=1}while(i--)r[i]&&(n=n.replace(new RegExp("\\b"+u(i)+"\\b","g"),r[i]));return n}('!18(t,e){"4I 4J";1b i=t.5r=t.5r||t;1c(!i.3A){1b r,s,n,a,o,l=18(t){1b e,r=t.1t("."),s=i;1d(e=0;r.1f>e;e++)s[r[e]]=s=s[r[e]]||{};1a s},h=l("5p.5o"),u=1e-10,f=18(t){1b e,i=[],r=t.1f;1d(e=0;e!==r;i.24(t[e++]));1a i},p=18(){},19=18(){1b t=az.1A.a1,e=t.2h([]);1a 18(i){1a 1g!=i&&(i 2p 42||"4q"==1k i&&!!i.24&&t.2h(i)===e)}}(),c={},d=18(r,s,n,a){15.59=c[r]?c[r].59:[],c[r]=15,15.5C=1g,15.9D=n;1b o=[];15.6Q=18(h){1d(1b u,f,p,19,m=s.1f,g=m;--m>-1;)(u=c[s[m]]||1j d(s[m],[])).5C?(o[m]=u.5C,g--):h&&u.59.24(15);1c(0===g&&n)1d(f=("5p.5o."+r).1t("."),p=f.4K(),19=l(f.1I("."))[p]=15.5C=n.4i(n,o),a&&(i[p]=19,"18"==1k 3H&&3H.6R?3H((t.8U?t.8U+"/":"")+r.1t(".").4K(),[],18(){1a 19}):r===e&&"37"!=1k 2k&&2k.3n&&(2k.3n=19)),m=0;15.59.1f>m;m++)15.59[m].6Q()},15.6Q(!0)},m=t.3J=18(t,e,i,r){1a 1j d(t,e,i,r)},g=h.8z=18(t,e,i){1a e=e||18(){},m(t,[],18(){1a e},i),e};m.70=i;1b v=[0,0,1,1],x=[],y=g("2A.8A",18(t,e,i,r){15.7b=t,15.7C=i||0,15.7A=r||0,15.7a=e?v.4O(e):v},!0),T=y.8Y={},w=y.8y=18(t,e,i,r){1d(1b s,n,a,o,l=e.1t(","),u=l.1f,f=(i||"5G,6U,5A").1t(",");--u>-1;)1d(n=l[u],s=r?g("2A."+n,1g,!0):h.2A[n]||{},a=f.1f;--a>-1;)o=f[a],T[n+"."+o]=T[o+n]=s[o]=t.2C?t:t[o]||1j t};1d(n=y.1A,n.3T=!1,n.2C=18(t){1c(15.7b)1a 15.7a[0]=t,15.7b.4i(1g,15.7a);1b e=15.7C,i=15.7A,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);1a 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},r=["9o","7T","bt","aW","aM,aP"],s=r.1f;--s>-1;)n=r[s]+",ba"+s,w(1j y(1g,1g,1,s),n,"6U",!0),w(1j y(1g,1g,2,s),n,"5G"+(0===s?",aH":"")),w(1j y(1g,1g,3,s),n,"5A");T.bz=h.2A.9o.5G,T.an=h.2A.7T.5A;1b b=g("8q.8p",18(t){15.4n={},15.7R=t||15});n=b.1A,n.9V=18(t,e,i,r,s){s=s||0;1b n,l,h=15.4n[t],u=0;1d(1g==h&&(15.4n[t]=h=[]),l=h.1f;--l>-1;)n=h[l],n.c===e&&n.s===i?h.3c(l,1):0===u&&s>n.2w&&(u=l+1);h.3c(u,0,{c:e,s:i,8Z:r,2w:s}),15!==a||o||a.3g()},n.bm=18(t,e){1b i,r=15.4n[t];1c(r)1d(i=r.1f;--i>-1;)1c(r[i].c===e)1a 2y r.3c(i,1)},n.8v=18(t){1b e,i,r,s=15.4n[t];1c(s)1d(e=s.1f,i=15.7R;--e>-1;)r=s[e],r&&(r.8Z?r.c.2h(r.s||i,{2f:t,2J:i}):r.c.2h(r.s||i))};1b P=t.aJ,O=t.aw,S=84.aN||18(){1a(1j 84).bs()},k=S();1d(r=["6a","bq","9U","o"],s=r.1f;--s>-1&&!P;)P=t[r[s]+"bp"],O=t[r[s]+"bk"]||t[r[s]+"a8"];g("6f",18(t,e){1b i,r,s,n,l,h=15,f=S(),19=e!==!1&&P,c=a5,d=33,m="6h",g=18(t){1b e,a,o=S()-k;o>c&&(f+=o-d),k+=o,h.3q=(k-f)/8l,e=h.3q-l,(!i||e>0||t===!0)&&(h.3C++,l+=e+(e>=n?.aF:n-e),a=!0),t!==!0&&(s=r(g)),a&&h.8v(m)};b.2h(h),h.3q=h.3C=0,h.6h=18(){g(!0)},h.7e=18(t,e){c=t||1/u,d=1i.aD(e,c,0)},h.67=18(){1g!=s&&(19&&O?O(s):ao(s),r=p,s=1g,h===a&&(o=!1))},h.3g=18(){1g!==s?h.67():h.3C>10&&(k=S()-c+5),r=0===i?p:19&&P?P:18(t){1a 6j(t,0|8l*(l-h.3q)+1)},h===a&&(o=!0),g(2)},h.6T=18(t){1a 2n.1f?(i=t,n=1/(i||60),l=15.3q+n,2y h.3g()):i},h.8j=18(t){1a 2n.1f?(h.67(),19=t,2y h.6T(i)):19},h.6T(t),6j(18(){19&&5>h.3C&&h.8j(!1)},aI)}),n=h.6f.1A=1j h.8q.8p,n.2V=h.6f;1b A=g("5N.93",18(t,e){1c(15.1w=e=e||{},15.1D=15.2i=t||0,15.2K=1P(e.4F)||0,15.1C=1,15.2l=e.1X===!0,15.1y=e.1y,15.2F=e.4y===!0,V){o||a.3g();1b i=15.1w.7l?j:V;i.1V(15,i.1p),15.1w.2W&&15.2W(!0)}});a=A.78=1j h.6f,n=A.1A,n.2z=n.1K=n.2u=n.1F=!1,n.1E=n.1p=0,n.1B=-1,n.1h=n.3i=n.3O=n.1r=n.26=1g,n.1F=!1;1b C=18(){o&&S()-k>8E&&a.3g(),6j(C,8E)};C(),n.7P=18(t,e){1a 1g!=t&&15.41(t,e),15.4y(!1).2W(!1)},n.7f=18(t,e){1a 1g!=t&&15.41(t,e),15.2W(!0)},n.aa=18(t,e){1a 1g!=t&&15.41(t,e),15.2W(!1)},n.41=18(t,e){1a 15.2R(1P(t),e!==!1)},n.ah=18(t,e){1a 15.4y(!1).2W(!1).2R(t?-15.2K:0,e!==!1,!0)},n.80=18(t,e){1a 1g!=t&&15.41(t||15.27(),e),15.4y(!0).2W(!1)},n.1G=18(){},n.4H=18(){1a 15.1p=15.1E=0,15.2u=15.1K=!1,15.1B=-1,(15.1K||!15.26)&&15.1H(!0),15},n.5c=18(){1b t,e=15.1r,i=15.1l;1a!e||!15.1K&&!15.1F&&e.5c()&&(t=e.4g())>=i&&i+15.27()/15.1C>t},n.1H=18(t,e){1a o||a.3g(),15.1K=!t,15.2l=15.5c(),e!==!0&&(t&&!15.26?15.1r.1V(15,15.1l-15.2K):!t&&15.26&&15.1r.40(15,!0)),!1},n.2s=18(){1a 15.1H(!1,!1)},n.3R=18(t,e){1a 15.2s(t,e),15},n.3m=18(t){1d(1b e=t?15:15.26;e;)e.2z=!0,e=e.26;1a 15},n.5R=18(t){1d(1b e=t.1f,i=t.4O();--e>-1;)"{5v}"===t[e]&&(i[e]=15);1a i},n.4j=18(t){1b e=15.1w;e[t].4i(e[t+"8h"]||e.5s||15,e[t+"8I"]||x)},n.ab=18(t,e,i,r){1c("bw"===(t||"").1u(0,2)){1b s=15.1w;1c(1===2n.1f)1a s[t];1g==e?4d s[t]:(s[t]=e,s[t+"8I"]=19(i)&&-1!==i.1I("").1m("{5v}")?15.5R(i):i,s[t+"8h"]=r),"4B"===t&&(15.3O=e)}1a 15},n.4F=18(t){1a 2n.1f?(15.1r.2r&&15.8M(15.1l+t-15.2K),15.2K=t,15):15.2K},n.2B=18(t){1a 2n.1f?(15.1D=15.2i=t,15.3m(!0),15.1r.2r&&15.1p>0&&15.1p<15.1D&&0!==t&&15.2R(15.1E*(t/15.1D),!0),15):(15.2z=!1,15.1D)},n.27=18(t){1a 15.2z=!1,2n.1f?15.2B(t):15.2i},n.3q=18(t,e){1a 2n.1f?(15.2z&&15.27(),15.2R(t>15.1D?15.1D:t,e)):15.1p},n.2R=18(t,e,i){1c(o||a.3g(),!2n.1f)1a 15.1E;1c(15.1r){1c(0>t&&!i&&(t+=15.27()),15.1r.2r){15.2z&&15.27();1b r=15.2i,s=15.1r;1c(t>r&&!i&&(t=r),15.1l=(15.1F?15.5g:s.1p)-(15.2F?r-t:t)/15.1C,s.2z||15.3m(!1),s.1r)1d(;s.1r;)s.1r.1p!==(s.1l+s.1E)/s.1C&&s.2R(s.1E,!0),s=s.1r}15.1K&&15.1H(!0,!1),(15.1E!==t||0===15.1D)&&(15.1G(t,e,!1),z.1f&&q())}1a 15},n.bv=n.br=18(t,e){1a 2n.1f?15.2R(15.2B()*t,e):15.1p/15.2B()},n.8M=18(t){1a 2n.1f?(t!==15.1l&&(15.1l=t,15.26&&15.26.4V&&15.26.1V(15,t-15.2K)),15):15.1l},n.aR=18(t){1a 15.1l+(0!=t?15.27():15.2B())/15.1C},n.6M=18(t){1c(!2n.1f)1a 15.1C;1c(t=t||u,15.1r&&15.1r.2r){1b e=15.5g,i=e||0===e?e:15.1r.2R();15.1l=i-(i-15.1l)*15.1C/t}1a 15.1C=t,15.3m(!1)},n.4y=18(t){1a 2n.1f?(t!=15.2F&&(15.2F=t,15.2R(15.1r&&!15.1r.2r?15.27()-15.1E:15.1E,!0)),15):15.2F},n.2W=18(t){1c(!2n.1f)1a 15.1F;1b e,i,r=15.1r;1a t!=15.1F&&r&&(o||t||a.3g(),e=r.4g(),i=e-15.5g,!t&&r.2r&&(15.1l+=i,15.3m(!1)),15.5g=t?e:1g,15.1F=t,15.2l=15.5c(),!t&&0!==i&&15.2u&&15.2B()&&15.1G(r.2r?15.1E:(e-15.1l)/15.1C,!0,!0)),15.1K&&!t&&15.1H(!0,!1),15};1b R=g("5N.95",18(t){A.2h(15,0,t),15.3N=15.2r=!0});n=R.1A=1j A,n.2V=R,n.3R().1K=!1,n.28=n.3i=n.4W=1g,n.4V=!1,n.1V=n.85=18(t,e){1b i,r;1c(t.1l=1P(e||0)+t.2K,t.1F&&15!==t.1r&&(t.5g=t.1l+(15.4g()-t.1l)/t.1C),t.26&&t.26.40(t,!0),t.26=t.1r=15,t.1K&&t.1H(!0,!0),i=15.3i,15.4V)1d(r=t.1l;i&&i.1l>r;)i=i.1n;1a i?(t.1h=i.1h,i.1h=t):(t.1h=15.28,15.28=t),t.1h?t.1h.1n=t:15.3i=t,t.1n=i,15.4W=t,15.1r&&15.3m(!0),15},n.40=18(t,e){1a t.26===15&&(e||t.1H(!1,!0),t.1n?t.1n.1h=t.1h:15.28===t&&(15.28=t.1h),t.1h?t.1h.1n=t.1n:15.3i===t&&(15.3i=t.1n),t.1h=t.1n=t.26=1g,t===15.4W&&(15.4W=15.3i),15.1r&&15.3m(!0)),15},n.1G=18(t,e,i){1b r,s=15.28;1d(15.1E=15.1p=15.1B=t;s;)r=s.1h,(s.2l||t>=s.1l&&!s.1F)&&(s.2F?s.1G((s.2z?s.27():s.2i)-(t-s.1l)*s.1C,e,i):s.1G((t-s.1l)*s.1C,e,i)),s=r},n.4g=18(){1a o||a.3g(),15.1E};1b M=g("3A",18(e,i,r){1c(A.2h(15,i,r),15.1G=M.1A.1G,1g==e)7g"7W 3V a 1g 2J.";15.2J=e="1O"!=1k e?e:M.48(e)||e;1b s,n,a,o=e.aQ||e.1f&&e!==t&&e[0]&&(e[0]===t||e[0].3S&&e[0].1v&&!e.3S),l=15.1w.5e;1c(15.7j=l=1g==l?B[M.7O]:"2E"==1k l?l>>0:B[l],(o||e 2p 42||e.24&&19(e))&&"2E"!=1k e[0])1d(15.2N=a=f(e),15.4a=[],15.3b=[],s=0;a.1f>s;s++)n=a[s],n?"1O"!=1k n?n.1f&&n!==t&&n[0]&&(n[0]===t||n[0].3S&&n[0].1v&&!n.3S)?(a.3c(s--,1),15.2N=a=a.4O(f(n))):(15.3b[s]=W(n,15,!1),1===l&&15.3b[s].1f>1&&G(n,15,1g,1,15.3b[s])):(n=a[s--]=M.48(n),"1O"==1k n&&a.3c(s+1,1)):a.3c(s--,1);1o 15.4a={},15.3b=W(e,15,!1),1===l&&15.3b.1f>1&&G(e,15,1g,1,15.3b);(15.1w.1X||0===i&&0===15.2K&&15.1w.1X!==!1)&&(15.1p=-u,15.1G(-15.2K))},!0),D=18(e){1a e&&e.1f&&e!==t&&e[0]&&(e[0]===t||e[0].3S&&e[0].1v&&!e.3S)},X=18(t,e){1b i,r={};1d(i 1x t)Y[i]||i 1x e&&"2Q"!==i&&"x"!==i&&"y"!==i&&"2D"!==i&&"3j"!==i&&"3M"!==i&&"4w"!==i||!(!N[i]||N[i]&&N[i].aX)||(r[i]=t[i],4d t[i]);t.57=r};n=M.1A=1j A,n.2V=M,n.3R().1K=!1,n.3x=0,n.1s=n.2N=n.3z=n.1Z=1g,n.56=n.3k=!1,M.4M="1.17.0",M.7B=n.2M=1j y(1g,1g,1,1),M.7O="2m",M.78=a,M.7y=9K,M.7e=18(t,e){a.7e(t,e)},M.48=t.$||t.7X||18(e){1b i=t.$||t.7X;1a i?(M.48=i,i(e)):"37"==1k 52?e:52.91?52.91(e):52.af("#"===e.1z(0)?e.1u(1):e)};1b z=[],F={},I=M.5f={9Y:19,9g:D,9Z:z},N=M.am={},E=I.a9={},L=0,Y=I.9C={4e:1,4F:1,5e:1,4E:1,6s:1,at:1,7l:1,5d:1,3o:1,4B:1,aY:1,b5:1,5h:1,b0:1,aZ:1,3Z:1,96:1,aS:1,by:1,bh:1,ac:1,69:1,aC:1,1X:1,5M:1,ar:1,1y:1,2W:1,4y:1,7n:1,2Z:1,5n:1,5s:1},B={3E:0,4A:1,2m:2,aK:3,au:4,av:5,"bo":1,"as":0},j=A.8n=1j R,V=A.ap=1j R,U=30,q=I.9P=18(){1b t,e=z.1f;1d(F={};--e>-1;)t=z[e],t&&t.3k!==!1&&(t.1G(t.3k[0],t.3k[1],!0),t.3k=!1);z.1f=0};V.1l=a.3q,j.1l=a.3C,V.2l=j.2l=!0,6j(q,1),A.8H=M.1G=18(){1b t,e,i;1c(z.1f&&q(),V.1G((a.3q-V.1l)*V.1C,!1,!1),j.1G((a.3C-j.1l)*j.1C,!1,!1),z.1f&&q(),a.3C>=U){U=a.3C+(3l(M.7y,10)||9K);1d(i 1x E){1d(e=E[i].3X,t=e.1f;--t>-1;)e[t].1K&&e.3c(t,1);0===e.1f&&4d E[i]}1c(i=V.28,(!i||i.1F)&&M.7y&&!j.28&&1===a.4n.6h.1f){1d(;i&&i.1F;)i=i.1h;i||a.67()}}},a.9V("6h",A.8H);1b W=18(t,e,i){1b r,s,n=t.6b;1c(E[n||(t.6b=n="t"+L++)]||(E[n]={2J:t,3X:[]}),e&&(r=E[n].3X,r[s=r.1f]=e,i))1d(;--s>-1;)r[s]===e&&r.3c(s,1);1a E[n].3X},Z=18(t,e,i,r){1b s,n,a=t.1w.5n;1a a&&(s=a(t,e,i,r)),a=M.5n,a&&(n=a(t,e,i,r)),s!==!1&&n!==!1},G=18(t,e,i,r,s){1b n,a,o,l;1c(1===r||r>=4){1d(l=s.1f,n=0;l>n;n++)1c((o=s[n])!==e)o.1K||o.2s(1g,t,e)&&(a=!0);1o 1c(5===r)8u;1a a}1b h,f=e.1l+u,p=[],19=0,c=0===e.1D;1d(n=s.1f;--n>-1;)(o=s[n])===e||o.1K||o.1F||(o.1r!==e.1r?(h=h||Q(e,0,c),0===Q(o,h,c)&&(p[19++]=o)):f>=o.1l&&o.1l+o.27()/o.1C>f&&((c||!o.2u)&&2e-10>=f-o.1l||(p[19++]=o)));1d(n=19;--n>-1;)1c(o=p[n],2===r&&o.2s(i,t,e)&&(a=!0),2!==r||!o.1s&&o.2u){1c(2!==r&&!Z(o,e))aV;o.1H(!1,!1)&&(a=!0)}1a a},Q=18(t,e,i){1d(1b r=t.1r,s=r.1C,n=t.1l;r.1r;){1c(n+=r.1l,s*=r.1C,r.1F)1a-1M;r=r.1r}1a n/=s,n>e?n-e:i&&n===e||!t.2u&&2*u>n-e?u:(n+=t.27()/t.1C/s)>e+u?0:n-e-u};n.7o=18(){1b t,e,i,r,s,n=15.1w,a=15.3z,o=15.1D,l=!!n.1X,h=n.4e;1c(n.3o){15.1Z&&(15.1Z.1G(-1,!0),15.1Z.3R()),s={};1d(r 1x n.3o)s[r]=n.3o[r];1c(s.5e=!1,s.1X=!0,s.2Z=l&&n.2Z!==!1,s.3o=s.4F=1g,15.1Z=M.4p(15.2J,0,s),l)1c(15.1p>0)15.1Z=1g;1o 1c(0!==o)1a}1o 1c(n.5d&&0!==o)1c(15.1Z)15.1Z.1G(-1,!0),15.1Z.3R(),15.1Z=1g;1o{0!==15.1p&&(l=!1),i={};1d(r 1x n)Y[r]&&"7n"!==r||(i[r]=n[r]);1c(i.5e=0,i.1y="82",i.2Z=l&&n.2Z!==!1,i.1X=l,15.1Z=M.4p(15.2J,0,i),l){1c(0===15.1p)1a}1o 15.1Z.7o(),15.1Z.1H(!1),15.1w.1X&&(15.1Z=1g)}1c(15.2M=h=h?h 2p y?h:"18"==1k h?1j y(h,n.69):T[h]||M.7B:M.7B,n.69 2p 42&&h.3y&&(15.2M=h.3y.4i(h,n.69)),15.7i=15.2M.7C,15.8r=15.2M.7A,15.1s=1g,15.2N)1d(t=15.2N.1f;--t>-1;)15.5m(15.2N[t],15.4a[t]={},15.3b[t],a?a[t]:1g)&&(e=!0);1o e=15.5m(15.2J,15.4a,15.3b,a);1c(e&&M.64("5S",15),a&&(15.1s||"18"!=1k 15.2J&&15.1H(!1,!1)),n.5d)1d(i=15.1s;i;)i.s+=i.c,i.c=-i.c,i=i.1h;15.3O=n.4B,15.2u=!0},n.5m=18(e,i,r,s){1b n,a,o,l,h,u;1c(1g==e)1a!1;F[e.6b]&&q(),15.1w.57||e.1v&&e!==t&&e.3S&&N.57&&15.1w.7n!==!1&&X(15.1w,e);1d(n 1x 15.1w){1c(u=15.1w[n],Y[n])u&&(u 2p 42||u.24&&19(u))&&-1!==u.1I("").1m("{5v}")&&(15.1w[n]=u=15.5R(u,15));1o 1c(N[n]&&(l=1j N[n]).72(e,15.1w[n],15)){1d(15.1s=h={1h:15.1s,t:l,p:"1Y",s:0,c:1,f:!0,n:n,5u:!0,2w:l.74},a=l.2P.1f;--a>-1;)i[l.2P[a]]=15.1s;(l.74||l.5S)&&(o=!0),(l.7x||l.9i)&&(15.56=!0)}1o 15.1s=i[n]=h={1h:15.1s,t:e,p:n,f:"18"==1k e[n],n:n,5u:!1,2w:0},h.s=h.f?e[n.1m("4Q")||"18"!=1k e["8P"+n.1u(3)]?n:"8P"+n.1u(3)]():1q(e[n]),h.c="1O"==1k u&&"="===u.1z(1)?3l(u.1z(0)+"1",10)*1P(u.1u(2)):1P(u)-h.s||0;h&&h.1h&&(h.1h.1n=h)}1a s&&15.2s(s,e)?15.5m(e,i,r,s):15.7j>1&&15.1s&&r.1f>1&&G(e,15,i,15.7j,r)?(15.2s(i,e),15.5m(e,i,r,s)):(15.1s&&(15.1w.2Z!==!1&&15.1D||15.1w.2Z&&!15.1D)&&(F[e.6b]=!0),o)},n.1G=18(t,e,i){1b r,s,n,a,o=15.1p,l=15.1D,h=15.1B;1c(t>=l)15.1E=15.1p=l,15.3x=15.2M.3T?15.2M.2C(1):1,15.2F||(r=!0,s="4E",i=i||15.1r.3N),0===l&&(15.2u||!15.1w.2Z||i)&&(15.1l===15.1r.1D&&(t=0),(0===t||0>h||h===u&&"5B"!==15.1y)&&h!==t&&(i=!0,h>u&&(s="3Z")),15.1B=a=!e||t||h===t?t:u);1o 1c(1e-7>t)15.1E=15.1p=0,15.3x=15.2M.3T?15.2M.2C(0):0,(0!==o||0===l&&h>0)&&(s="3Z",r=15.2F),0>t&&(15.2l=!1,0===l&&(15.2u||!15.1w.2Z||i)&&(h>=0&&(h!==u||"5B"!==15.1y)&&(i=!0),15.1B=a=!e||t||h===t?t:u)),15.2u||(i=!0);1o 1c(15.1E=15.1p=t,15.7i){1b f=t/l,p=15.7i,19=15.8r;(1===p||3===p&&f>=.5)&&(f=1-f),3===p&&(f*=2),1===19?f*=f:2===19?f*=f*f:3===19?f*=f*f*f:4===19&&(f*=f*f*f*f),15.3x=1===p?1-f:2===p?f:.5>t/l?f/2:1-f/2}1o 15.3x=15.2M.2C(t/l);1c(15.1p!==o||i){1c(!15.2u){1c(15.7o(),!15.2u||15.1K)1a;1c(!i&&15.1s&&(15.1w.2Z!==!1&&15.1D||15.1w.2Z&&!15.1D))1a 15.1p=15.1E=o,15.1B=h,z.24(15),2y(15.3k=[t,e]);15.1p&&!r?15.3x=15.2M.2C(15.1p/l):r&&15.2M.3T&&(15.3x=15.2M.2C(0===15.1p?0:1))}1d(15.3k!==!1&&(15.3k=!1),15.2l||!15.1F&&15.1p!==o&&t>=0&&(15.2l=!0),0===o&&(15.1Z&&(t>=0?15.1Z.1G(t,e,i):s||(s="bA")),15.1w.5h&&(0!==15.1p||0===l)&&(e||15.4j("5h"))),n=15.1s;n;)n.f?n.t[n.p](n.c*15.3x+n.s):n.t[n.p]=n.c*15.3x+n.s,n=n.1h;15.3O&&(0>t&&15.1Z&&t!==-1e-4&&15.1Z.1G(t,e,i),e||(15.1p!==o||r)&&15.4j("4B")),s&&(!15.1K||i)&&(0>t&&15.1Z&&!15.3O&&t!==-1e-4&&15.1Z.1G(t,e,i),r&&(15.1r.3N&&15.1H(!1,!1),15.2l=!1),!e&&15.1w[s]&&15.4j(s),0===l&&15.1B===u&&a!==u&&(15.1B=0))}},n.2s=18(t,e,i){1c("4A"===t&&(t=1g),1g==t&&(1g==e||e===15.2J))1a 15.3k=!1,15.1H(!1,!1);e="1O"!=1k e?e||15.2N||15.2J:M.48(e)||e;1b r,s,n,a,o,l,h,u,f,p=i&&15.1p&&i.1l===15.1l&&15.1r===i.1r;1c((19(e)||D(e))&&"2E"!=1k e[0])1d(r=e.1f;--r>-1;)15.2s(t,e[r],i)&&(l=!0);1o{1c(15.2N){1d(r=15.2N.1f;--r>-1;)1c(e===15.2N[r]){o=15.4a[r]||{},15.3z=15.3z||[],s=15.3z[r]=t?15.3z[r]||{}:"4A";8u}}1o{1c(e!==15.2J)1a!1;o=15.4a,s=15.3z=t?15.3z||{}:"4A"}1c(o){1c(h=t||o,u=t!==s&&"4A"!==s&&t!==o&&("4q"!=1k t||!t.aA),i&&(M.5n||15.1w.5n)){1d(n 1x h)o[n]&&(f||(f=[]),f.24(n));1c((f||!t)&&!Z(15,i,e,f))1a!1}1d(n 1x h)(a=o[n])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.5u&&a.t.2s(h)&&(l=!0),a.5u&&0!==a.t.2P.1f||(a.1n?a.1n.1h=a.1h:a===15.1s&&(15.1s=a.1h),a.1h&&(a.1h.1n=a.1n),a.1h=a.1n=1g),4d o[n]),u&&(s[n]=1);!15.1s&&15.2u&&15.1H(!1,!1)}}1a l},n.4H=18(){1a 15.56&&M.64("7x",15),15.1s=15.3z=15.1Z=15.3O=1g,15.56=15.2l=15.3k=!1,15.4a=15.2N?{}:[],A.1A.4H.2h(15),15.1w.1X&&(15.1p=-u,15.1G(-15.2K)),15},n.1H=18(t,e){1c(o||a.3g(),t&&15.1K){1b i,r=15.2N;1c(r)1d(i=r.1f;--i>-1;)15.3b[i]=W(r[i],15,!0);1o 15.3b=W(15.2J,15,!0)}1a A.1A.1H.2h(15,t,e),15.56&&15.1s?M.64(t?"9i":"7x",15):!1},M.4p=18(t,e,i){1a 1j M(t,e,i)},M.6q=18(t,e,i){1a i.5d=!0,i.1X=0!=i.1X,1j M(t,e,i)},M.5Z=18(t,e,i,r){1a r.3o=i,r.1X=0!=r.1X&&0!=i.1X,1j M(t,e,r)},M.4v=18(t,e,i,r,s){1a 1j M(e,0,{4F:t,4E:e,6s:i,5s:r,3Z:e,96:i,1X:!1,2Z:!1,7l:s,5e:0})},M.4Q=18(t,e){1a 1j M(t,0,e)},M.4C=18(t,e){1c(1g==t)1a[];t="1O"!=1k t?t:M.48(t)||t;1b i,r,s,n;1c((19(t)||D(t))&&"2E"!=1k t[0]){1d(i=t.1f,r=[];--i>-1;)r=r.4O(M.4C(t[i],e));1d(i=r.1f;--i>-1;)1d(n=r[i],s=i;--s>-1;)n===r[s]&&r.3c(i,1)}1o 1d(r=W(t).4O(),i=r.1f;--i>-1;)(r[i].1K||e&&!r[i].5c())&&r.3c(i,1);1a r},M.aj=M.aq=18(t,e,i){"4q"==1k e&&(i=e,e=!1);1d(1b r=M.4C(t,e),s=r.1f;--s>-1;)r[s].2s(i,t)};1b $=g("5q.8O",18(t,e){15.2P=(t||"").1t(","),15.5t=15.2P[0],15.74=e||0,15.a3=$.1A},!0);1c(n=$.1A,$.4M="1.10.1",$.49=2,n.1s=1g,n.a6=18(t,e,i,r,s,n){1b a,o;1a 1g!=r&&(a="2E"==1k r||"="!==r.1z(1)?1P(r)-1P(i):3l(r.1z(0)+"1",10)*1P(r.1u(2)))?(15.1s=o={1h:15.1s,t:t,p:e,s:i,c:a,f:"18"==1k t[e],n:s||e,r:n},o.1h&&(o.1h.1n=o),o):2y 0},n.1Y=18(t){1d(1b e,i=15.1s,r=1e-6;i;)e=i.c*t+i.s,i.r?e=1i.3P(e):r>e&&e>-r&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i.1h},n.2s=18(t){1b e,i=15.2P,r=15.1s;1c(1g!=t[15.5t])15.2P=[];1o 1d(e=i.1f;--e>-1;)1g!=t[i[e]]&&i.3c(e,1);1d(;r;)1g!=t[r.n]&&(r.1h&&(r.1h.1n=r.1n),r.1n?(r.1n.1h=r.1h,r.1n=1g):15.1s===r&&(15.1s=r.1h)),r=r.1h;1a!1},n.9G=18(t,e){1d(1b i=15.1s;i;)(t[15.5t]||1g!=i.n&&t[i.n.1t(15.5t+"19").1I("")])&&(i.r=e),i=i.1h},M.64=18(t,e){1b i,r,s,n,a,o=e.1s;1c("5S"===t){1d(;o;){1d(a=o.1h,r=s;r&&r.2w>o.2w;)r=r.1h;(o.1n=r?r.1n:n)?o.1n.1h=o:s=o,(o.1h=r)?r.1n=o:n=o,o=a}o=e.1s=s}1d(;o;)o.5u&&"18"==1k o.t[t]&&o.t[t]()&&(i=!0),o=o.1h;1a i},$.6O=18(t){1d(1b e=t.1f;--e>-1;)t[e].49===$.49&&(N[(1j t[e]).5t]=t[e]);1a!0},m.2L=18(t){1c(!(t&&t.9J&&t.9H&&t.49))7g"ay 2L a4.";1b e,i=t.9J,r=t.6n||0,s=t.al,n={9H:"72",4Q:"1Y",3R:"2s",3P:"9G",aE:"5S"},a=g("5q."+i.1z(0).5Q()+i.1u(1)+"9Q",18(){$.2h(15,i,r),15.2P=s||[]},t.3G===!0),o=a.1A=1j $(i);o.2V=a,a.49=t.49;1d(e 1x n)"18"==1k t[e]&&(o[n[e]]=t[e]);1a a.4M=t.4M,$.6O([a]),a},r=t.3t){1d(s=0;r.1f>s;s++)r[s]();1d(n 1x c)c[n].9D||t.7d.7Q("bl aL bj bf: 5p.5o."+n)}o=!1}}("37"!=1k 2k&&2k.3n&&"37"!=1k 3G?3G:15||43,"3A");1b 1J="37"!=1k 2k&&2k.3n&&"37"!=1k 3G?3G:15||43;(1J.3t||(1J.3t=[])).24(18(){"4I 4J";1J.3J("8s",["5N.93","5N.95","3A"],18(t,e,i){1b r=18(t){e.2h(15,t),15.2U={},15.3N=15.1w.3N===!0,15.2r=15.1w.2r===!0,15.4V=!0,15.3O=15.1w.4B;1b i,r,s=15.1w;1d(r 1x s)i=s[r],l(i)&&-1!==i.1I("").1m("{5v}")&&(s[r]=15.5R(i));l(s.3X)&&15.1V(s.3X,0,s.b8,s.b1)},s=1e-10,n=i.5f,a=r.5f={},o=n.9g,l=n.9Y,h=n.9Z,u=n.9P,f=[],p=1J.3J.70,19=18(t){1b e,i={};1d(e 1x t)i[e]=t[e];1a i},c=a.aO=18(t,e,i,r){1b n,a=t.1r,o=a.1E,l=t.1l,h=0>t.1B||0===t.1B&&a.2F,u=h?0:s,p=h?s:0;1c(e||!15.58){1d(a.7f(l),n=t.1n;n&&n.1l===l;)n.1B=p,n=n.1n;1d(n=t.1h;n&&n.1l===l;)n.1B=u,n=n.1h;e&&e.4i(r||a.1w.5s||a,i||f),(15.58||!a.1F)&&a.41(o)}},d=18(t){1b e,i=[],r=t.1f;1d(e=0;e!==r;i.24(t[e++]));1a i},m=r.1A=1j e;1a r.4M="1.17.0",m.2V=r,m.3R().1K=m.58=!1,m.4p=18(t,e,r,s){1b n=r.5M&&p.7h||i;1a e?15.1V(1j n(t,e,r),s):15.4Q(t,r,s)},m.6q=18(t,e,r,s){1a 15.1V((r.5M&&p.7h||i).6q(t,e,r),s)},m.5Z=18(t,e,r,s,n){1b a=s.5M&&p.7h||i;1a e?15.1V(a.5Z(t,e,r,s),n):15.4Q(t,s,n)},m.6G=18(t,e,s,n,a,l,h,u){1b f,p=1j r({4E:l,6s:h,5s:u,2r:15.2r});1d("1O"==1k t&&(t=i.48(t)||t),t=t||[],o(t)&&(t=d(t)),n=n||0,0>n&&(t=d(t),t.80(),n*=-1),f=0;t.1f>f;f++)s.3o&&(s.3o=19(s.3o)),p.4p(t[f],e,19(s),f*n);1a 15.1V(p,a)},m.ax=18(t,e,i,r,s,n,a,o){1a i.1X=0!=i.1X,i.5d=!0,15.6G(t,e,i,r,s,n,a,o)},m.aB=18(t,e,i,r,s,n,a,o,l){1a r.3o=i,r.1X=0!=r.1X&&0!=i.1X,15.6G(t,e,r,s,n,a,o,l)},m.2h=18(t,e,r,s){1a 15.1V(i.4v(0,t,e,r),s)},m.4Q=18(t,e,r){1a r=15.3F(r,0,!0),1g==e.1X&&(e.1X=r===15.1p&&!15.1F),15.1V(1j i(t,0,e),r)},r.a0=18(t,e){t=t||{},1g==t.2r&&(t.2r=!0);1b s,n,a=1j r(t),o=a.1r;1d(1g==e&&(e=!0),o.40(a,!0),a.1l=0,a.1B=a.1p=a.1E=o.1p,s=o.28;s;)n=s.1h,e&&s 2p i&&s.2J===s.1w.4E||a.1V(s,s.1l-s.2K),s=n;1a o.1V(a,0),a},m.1V=18(s,n,a,o){1b h,u,f,p,19,c;1c("2E"!=1k n&&(n=15.3F(n,0,!0,s)),!(s 2p t)){1c(s 2p 42||s&&s.24&&l(s)){1d(a=a||"a2",o=o||0,h=n,u=s.1f,f=0;u>f;f++)l(p=s[f])&&(p=1j r({3X:p})),15.1V(p,h),"1O"!=1k p&&"18"!=1k p&&("ak"===a?h=p.1l+p.27()/p.1C:"ag"===a&&(p.1l-=p.4F())),h+=o;1a 15.3m(!0)}1c("1O"==1k s)1a 15.87(s,n);1c("18"!=1k s)7g"7W 1V "+s+" bi bd 26; bc bg 9h a 3V, 26, 18, bx 1O.";s=i.4v(0,s)}1c(e.1A.1V.2h(15,s,n),(15.1K||15.1p===15.1D)&&!15.1F&&15.1D<15.2B())1d(19=15,c=19.4g()>s.1l;19.1r;)c&&19.1r.2r?19.2R(19.1E,!0):19.1K&&19.1H(!0,!1),19=19.1r;1a 15},m.61=18(e){1c(e 2p t)1a 15.40(e,!1);1c(e 2p 42||e&&e.24&&l(e)){1d(1b i=e.1f;--i>-1;)15.61(e[i]);1a 15}1a"1O"==1k e?15.8g(e):15.3R(1g,e)},m.40=18(t,i){e.1A.40.2h(15,t,i);1b r=15.3i;1a r?15.1p>r.1l+r.2i/r.1C&&(15.1p=15.2B(),15.1E=15.2i):15.1p=15.1E=15.1D=15.2i=0,15},m.bb=18(t,e){1a 15.1V(t,15.3F(1g,e,!0,t))},m.85=m.aU=18(t,e,i,r){1a 15.1V(t,e||0,i,r)},m.b6=18(t,e,i,r){1a 15.1V(t,15.3F(1g,e,!0,t),i,r)},m.87=18(t,e){1a 15.2U[t]=15.3F(e),15},m.b3=18(t,e,r,s){1b n=i.4v(0,c,["{5v}",e,r,s],15);1a n.1y="5B",15.1V(n,t)},m.8g=18(t){1a 4d 15.2U[t],15},m.b2=18(t){1a 1g!=15.2U[t]?15.2U[t]:-1},m.3F=18(e,i,r,s){1b n;1c(s 2p t&&s.26===15)15.61(s);1o 1c(s&&(s 2p 42||s.24&&l(s)))1d(n=s.1f;--n>-1;)s[n]2p t&&s[n].26===15&&15.61(s[n]);1c("1O"==1k i)1a 15.3F(i,r&&"2E"==1k e&&1g==15.2U[i]?e-15.2B():0,r);1c(i=i||0,"1O"!=1k e||!76(e)&&1g==15.2U[e])1g==e&&(e=15.2B());1o{1c(n=e.1m("="),-1===n)1a 1g==15.2U[e]?r?15.2U[e]=15.2B()+i:i:15.2U[e]+i;i=3l(e.1z(n-1)+"1",10)*1P(e.1u(n+1)),e=n>1?15.3F(e.1u(0,n-1),0,r):15.2B()}1a 1P(e)+i},m.41=18(t,e){1a 15.2R("2E"==1k t?t:15.3F(t),e!==!1)},m.b4=18(){1a 15.2W(!0)},m.b9=18(t,e){1a 15.7P(t,e)},m.b7=18(t,e){1a 15.7f(t,e)},m.1G=18(t,e,i){15.1K&&15.1H(!0,!1);1b r,n,a,o,l,f=15.2z?15.27():15.2i,p=15.1p,19=15.1l,c=15.1C,d=15.1F;1c(t>=f)15.1E=15.1p=f,15.2F||15.7c()||(n=!0,o="4E",l=!!15.1r.3N,0===15.1D&&(0===t||0>15.1B||15.1B===s)&&15.1B!==t&&15.28&&(l=!0,15.1B>s&&(o="3Z"))),15.1B=15.1D||!e||t||15.1B===t?t:s,t=f+1e-4;1o 1c(1e-7>t)1c(15.1E=15.1p=0,(0!==p||0===15.1D&&15.1B!==s&&(15.1B>0||0>t&&15.1B>=0))&&(o="3Z",n=15.2F),0>t)15.2l=!1,15.1r.3N&&15.2F?(l=n=!0,o="3Z"):15.1B>=0&&15.28&&(l=!0),15.1B=t;1o{1c(15.1B=15.1D||!e||t||15.1B===t?t:s,0===t&&n)1d(r=15.28;r&&0===r.1l;)r.1D||(n=!1),r=r.1h;t=0,15.2u||(l=!0)}1o 15.1E=15.1p=15.1B=t;1c(15.1p!==p&&15.28||i||l){1c(15.2u||(15.2u=!0),15.2l||!15.1F&&15.1p!==p&&t>0&&(15.2l=!0),0===p&&15.1w.5h&&0!==15.1p&&(e||15.4j("5h")),15.1p>=p)1d(r=15.28;r&&(a=r.1h,!15.1F||d);)(r.2l||r.1l<=15.1p&&!r.1F&&!r.1K)&&(r.2F?r.1G((r.2z?r.27():r.2i)-(t-r.1l)*r.1C,e,i):r.1G((t-r.1l)*r.1C,e,i)),r=a;1o 1d(r=15.3i;r&&(a=r.1n,!15.1F||d);)(r.2l||p>=r.1l&&!r.1F&&!r.1K)&&(r.2F?r.1G((r.2z?r.27():r.2i)-(t-r.1l)*r.1C,e,i):r.1G((t-r.1l)*r.1C,e,i)),r=a;15.3O&&(e||(h.1f&&u(),15.4j("4B"))),o&&(15.1K||(19===15.1l||c!==15.1C)&&(0===15.1p||f>=15.27())&&(n&&(h.1f&&u(),15.1r.3N&&15.1H(!1,!1),15.2l=!1),!e&&15.1w[o]&&15.4j(o)))}},m.7c=18(){1d(1b t=15.28;t;){1c(t.1F||t 2p r&&t.7c())1a!0;t=t.1h}1a!1},m.5X=18(t,e,r,s){s=s||-5K;1d(1b n=[],a=15.28,o=0;a;)s>a.1l||(a 2p i?e!==!1&&(n[o++]=a):(r!==!1&&(n[o++]=a),t!==!1&&(n=n.4O(a.5X(!0,e,r)),o=n.1f))),a=a.1h;1a n},m.4C=18(t,e){1b r,s,n=15.1K,a=[],o=0;1d(n&&15.1H(!0,!0),r=i.4C(t),s=r.1f;--s>-1;)(r[s].26===15||e&&15.8J(r[s]))&&(a[o++]=r[s]);1a n&&15.1H(!1,!0),a},m.aT=18(){1a 15.4W},m.8J=18(t){1d(1b e=t.26;e;){1c(e===15)1a!0;e=e.26}1a!1},m.8T=18(t,e,i){i=i||0;1d(1b r,s=15.28,n=15.2U;s;)s.1l>=i&&(s.1l+=t),s=s.1h;1c(e)1d(r 1x n)n[r]>=i&&(n[r]+=t);1a 15.3m(!0)},m.2s=18(t,e){1c(!t&&!e)1a 15.1H(!1,!1);1d(1b i=e?15.4C(e):15.5X(!0,!0,!1),r=i.1f,s=!1;--r>-1;)i[r].2s(t,e)&&(s=!0);1a s},m.bu=18(t){1b e=15.5X(!1,!0,!0),i=e.1f;1d(15.1p=15.1E=0;--i>-1;)e[i].1H(!1,!1);1a t!==!1&&(15.2U={}),15.3m(!0)},m.4H=18(){1d(1b e=15.28;e;)e.4H(),e=e.1h;1a t.1A.4H.2h(15)},m.1H=18(t,i){1c(t===15.1K)1d(1b r=15.28;r;)r.1H(t,!0),r=r.1h;1a e.1A.1H.2h(15,t,i)},m.2R=18(){15.58=!0;1b e=t.1A.2R.4i(15,2n);1a 15.58=!1,e},m.2B=18(t){1a 2n.1f?(0!==15.2B()&&0!==t&&15.6M(15.1D/t),15):(15.2z&&15.27(),15.1D)},m.27=18(t){1c(!2n.1f){1c(15.2z){1d(1b e,i,r=0,s=15.3i,n=ad;s;)e=s.1n,s.2z&&s.27(),s.1l>n&&15.4V&&!s.1F?15.1V(s,s.1l-s.2K):n=s.1l,0>s.1l&&!s.1F&&(r-=s.1l,15.1r.2r&&(15.1l+=s.1l/15.1C),15.8T(-s.1l,!1,-5K),n=0),i=s.1l+s.2i/s.1C,i>r&&(r=i),s=e;15.1D=15.2i=r,15.2z=!1}1a 15.2i}1a 0!==15.27()&&0!==t&&15.6M(15.2i/t),15},m.2W=18(e){1c(!e)1d(1b i=15.28,r=15.1p;i;)i.1l===r&&"5B"===i.1y&&(i.1B=0),i=i.1h;1a t.1A.2W.4i(15,2n)},m.ai=18(){1d(1b e=15.1r;e.1r;)e=e.1r;1a e===t.8n},m.4g=18(){1a 15.1F?15.1E:(15.1r.4g()-15.1l)*15.1C},r},!0)}),1J.3J&&1J.3t.4K()(),18(t){"4I 4J";1b e=18(){1a(1J.5r||1J)[t]};"18"==1k 3H&&3H.6R?3H(["3A"],e):"37"!=1k 2k&&2k.3n&&(8i("./3A.6V"),2k.3n=e())}("8s");1b 1J="37"!=1k 2k&&2k.3n&&"37"!=1k 3G?3G:15||43;(1J.3t||(1J.3t=[])).24(18(){"4I 4J";1J.3J("2A.8x",["2A.8A"],18(t){1b e,i,r,s=1J.5r||1J,n=s.5p.5o,a=2*1i.4S,o=1i.4S/2,l=n.8z,h=18(e,i){1b r=l("2A."+e,18(){},!0),s=r.1A=1j t;1a s.2V=r,s.2C=i,r},u=t.8y||18(){},f=18(t,e,i,r){1b s=l("2A."+t,{6U:1j e,5G:1j i,5A:1j r},!0);1a u(s,t),s},p=18(t,e,i){15.t=t,15.v=e,i&&(15.5E=i,i.5D=15,15.c=i.v-e,15.8k=i.t-t)},19=18(e,i){1b r=l("2A."+e,18(t){15.23=t||0===t?t:1.aG,15.2o=1.a7*15.23},!0),s=r.1A=1j t;1a s.2V=r,s.2C=i,s.3y=18(t){1a 1j r(t)},r},c=f("8x",19("bn",18(t){1a(t-=1)*t*((15.23+1)*t+15.23)+1}),19("bC",18(t){1a t*t*((15.23+1)*t-15.23)}),19("ek",18(t){1a 1>(t*=2)?.5*t*t*((15.2o+1)*t-15.2o):.5*((t-=2)*t*((15.2o+1)*t+15.2o)+2)})),d=l("2A.6P",18(t,e,i){e=e||0===e?e:.7,1g==t?t=.7:t>1&&(t=1),15.8w=1!==t?e:0,15.23=(1-t)/2,15.2o=t,15.3K=15.23+15.2o,15.3T=i===!0},!0),m=d.1A=1j t;1a m.2V=d,m.2C=18(t){1b e=t+(.5-t)*15.8w;1a 15.23>t?15.3T?1-(t=1-t/15.23)*t:e-(t=1-t/15.23)*t*t*t*e:t>15.3K?15.3T?1-(t=(t-15.3K)/15.23)*t:e+(t-e)*(t=(t-15.3K)/15.23)*t*t*t:15.3T?1:e},d.4e=1j d(.7,.7),m.3y=d.3y=18(t,e,i){1a 1j d(t,e,i)},e=l("2A.8W",18(t){t=t||1,15.23=1/t,15.2o=t+1},!0),m=e.1A=1j t,m.2V=e,m.2C=18(t){1a 0>t?t=0:t>=1&&(t=.dX),(15.2o*t>>0)*15.23},m.3y=e.3y=18(t){1a 1j e(t)},i=l("2A.8X",18(e){e=e||{};1d(1b i,r,s,n,a,o,l=e.dp||"3E",h=[],u=0,f=0|(e.do||20),19=f,c=e.dz!==!1,d=e.dA===!0,m=e.8C 2p t?e.8C:1g,g="2E"==1k e.8B?.4*e.8B:.4;--19>-1;)i=c?1i.8t():1/f*19,r=m?m.2C(i):i,"3E"===l?s=g:"dE"===l?(n=1-i,s=n*n*g):"1x"===l?s=i*i*g:.5>i?(n=2*i,s=.5*n*n*g):(n=2*(1-i),s=.5*n*n*g),c?r+=1i.8t()*s-.5*s:19%2?r+=.5*s:r-=.5*s,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};1d(h.dF(18(t,e){1a t.x-e.x}),o=1j p(1,1,1g),19=f;--19>-1;)a=h[19],o=1j p(a.x,a.y,o);15.1n=1j p(0,0,0!==o.t?o:o.5E)},!0),m=i.1A=1j t,m.2V=i,m.2C=18(t){1b e=15.1n;1c(t>e.t){1d(;e.5E&&t>=e.t;)e=e.5E;e=e.5D}1o 1d(;e.5D&&e.t>=t;)e=e.5D;1a 15.1n=e,e.v+(t-e.t)/e.8k*e.c},m.3y=18(t){1a 1j i(t)},i.4e=1j i,f("dG",h("dH",18(t){1a 1/2.75>t?7.2X*t*t:2/2.75>t?7.2X*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.2X*(t-=2.25/2.75)*t+.6W:7.2X*(t-=2.6Y/2.75)*t+.6X}),h("dI",18(t){1a 1/2.75>(t=1-t)?1-7.2X*t*t:2/2.75>t?1-(7.2X*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.2X*(t-=2.25/2.75)*t+.6W):1-(7.2X*(t-=2.6Y/2.75)*t+.6X)}),h("dJ",18(t){1b e=.5>t;1a t=e?1-2*t:2*t-1,t=1/2.75>t?7.2X*t*t:2/2.75>t?7.2X*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.2X*(t-=2.25/2.75)*t+.6W:7.2X*(t-=2.6Y/2.75)*t+.6X,e?.5*(1-t):.5*t+.5})),f("dB",h("dC",18(t){1a 1i.3f(1-(t-=1)*t)}),h("dD",18(t){1a-(1i.3f(1-t*t)-1)}),h("dK",18(t){1a 1>(t*=2)?-.5*(1i.3f(1-t*t)-1):.5*(1i.3f(1-(t-=2)*t)+1)})),r=18(e,i,r){1b s=l("2A."+e,18(t,e){15.23=t>=1?t:1,15.2o=(e||r)/(1>t?t:1),15.3K=15.2o/a*(1i.dL(1/15.23)||0),15.2o=a/15.2o},!0),n=s.1A=1j t;1a n.2V=s,n.2C=i,n.3y=18(t,e){1a 1j s(t,e)},s},f("dT",r("dU",18(t){1a 15.23*1i.3L(2,-10*t)*1i.2t((t-15.3K)*15.2o)+1},.3),r("dV",18(t){1a-(15.23*1i.3L(2,10*(t-=1))*1i.2t((t-15.3K)*15.2o))},.3),r("dW",18(t){1a 1>(t*=2)?-.5*15.23*1i.3L(2,10*(t-=1))*1i.2t((t-15.3K)*15.2o):.5*15.23*1i.3L(2,-10*(t-=1))*1i.2t((t-15.3K)*15.2o)+1},.45)),f("dS",h("dR",18(t){1a 1-1i.3L(2,-10*t)}),h("dN",18(t){1a 1i.3L(2,10*(t-1))-.6w}),h("dM",18(t){1a 1>(t*=2)?.5*1i.3L(2,10*(t-1)):.5*(2-1i.3L(2,-10*(t-1)))})),f("dO",h("dP",18(t){1a 1i.2t(t*o)}),h("dQ",18(t){1a-1i.2S(t*o)+1}),h("dy",18(t){1a-.5*(1i.2S(1i.4S*t)-1)})),l("2A.dx",{dg:18(e){1a t.8Y[e]}},!0),u(s.6P,"6P","4e,"),u(i,"8X","4e,"),u(e,"8W","4e,"),c},!0)}),1J.3J&&1J.3t.4K()();1b 1J="37"!=1k 2k&&2k.3n&&"37"!=1k 3G?3G:15||43;(1J.3t||(1J.3t=[])).24(18(){"4I 4J";1J.3J("5q.9L",["5q.8O","3A"],18(t,e){1b i,r,s,n,a=18(){t.2h(15,"57"),15.2P.1f=0,15.1Y=a.1A.1Y},o=1J.3J.70,l={},h=a.1A=1j t("57");h.2V=a,a.4M="1.17.0",a.49=2,a.6H=0,a.8G="di",a.9b=!0,h="2j",a.79={4T:h,8e:h,8d:h,51:h,2D:h,3j:h,dj:h,7q:h,7H:h,3a:h,df:""};1b u,f,p,19,c,d,m=/(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d)+/g,g=/(?:\\d|\\-\\d|\\.\\d|\\-\\.\\d|\\+=\\d|\\-=\\d|\\+=.\\d|\\-=\\.\\d)+/g,v=/(?:\\+=|\\-=|\\-|\\b)[\\d\\-\\.]+[a-dd-d9-9]*(?:%|\\b)/3Q,x=/(?![+-]?\\d*\\.?\\d+|[+-]|e[+-]\\d+)[^0-9]/g,y=/(?:\\d|\\-|\\+|=|#|\\.)*/g,T=/2a *= *([^)]*)/i,w=/2a:([^;]*)/i,b=/3U\\(2a *=.+?\\)/i,P=/^(6e|6r)/,O=/([A-Z])/g,S=/-([a-z])/3Q,k=/(^(?:8F\\(\\"|8F\\())|(?:(\\"\\))$|\\)$)/3Q,A=18(t,e){1a e.5Q()},C=/(?:6K|86|8f)/i,R=/(9t|9s|9r|9q)=[\\d\\-\\.e]+/3Q,M=/9A\\:6z\\.6B\\.6A\\(.+?\\)/i,D=/,(?=[^\\)]*(?:\\(|$))/3Q,X=1i.4S/3D,z=3D/1i.4S,F={},I=52,N=18(t){1a I.5I?I.5I("9m://9l.9k.9d/d8/da",t):I.db(t)},E=N("dc"),L=N("dk"),Y=a.5f={dl:l},B=dt.du,j=18(){1b t=B.1m("94"),e=N("a");1a p=-1!==B.1m("dv")&&-1===B.1m("dw")&&(-1===t||1P(B.1u(t+8,1))>3),c=p&&6>1P(B.1u(B.1m("ds/")+8,1)),19=-1!==B.1m("dr"),(/dn ([0-9]{1,}[\\.0-9]{0,})/.7S(B)||/dm\\/.*dY:([0-9]{1,}[\\.0-9]{0,})/.7S(B))&&(d=1q(4D.$1)),e?(e.1v.3B="4T:dq;2a:.55;",/^0.55/.35(e.1v.2a)):!1}(),V=18(t){1a T.35("1O"==1k t?t:(t.3e?t.3e.2x:t.1v.2x)||"")?1q(4D.$1)/1M:1},U=18(t){43.7d&&7d.7Q(t)},q="",W="",Z=18(t,e){e=e||E;1b i,r,s=e.1v;1c(2y 0!==s[t])1a t;1d(t=t.1z(0).5Q()+t.1u(1),i=["O","ev","6a","eu","ej"],r=5;--r>-1&&2y 0===s[i[r]+t];);1a r>=0?(W=3===r?"6a":i[r],q="-"+W.6i()+"-",W+t):1g},G=I.7N?I.7N.e5:18(){},Q=a.e3=18(t,e,i,r,s){1b n;1a j||"2a"!==e?(!r&&t.1v[e]?n=t.1v[e]:(i=i||G(t))?n=i[e]||i.4o(e)||i.4o(e.1N(O,"-$1").6i()):t.3e&&(n=t.3e[e]),1g==s||n&&"3E"!==n&&"2m"!==n&&"2m 2m"!==n?n:s):V(t)},$=Y.e1=18(t,i,r,s,n){1c("2j"===s||!s)1a r;1c("2m"===s||!r)1a 0;1b o,l,h,u=C.35(i),f=t,p=E.1v,19=0>r;1c(19&&(r=-r),"%"===s&&-1!==i.1m("4w"))o=r/1M*(u?t.ef:t.eb);1o{1c(p.3B="4w:0 6k 83;4z:"+Q(t,"4z")+";ei-3j:0;","%"!==s&&f.65)p[u?"92":"6C"]=r+s;1o{1c(f=t.5J||I.7D,l=f.71,h=e.78.3C,l&&u&&l.3q===h)1a l.2D*r/1M;p[u?"2D":"3j"]=r+s}f.65(E),o=1q(E[u?"4X":"4Y"]),f.7F(E),u&&"%"===s&&a.ea!==!1&&(l=f.71=f.71||{},l.3q=h,l.2D=1M*(o/r)),0!==o||n||(o=$(t,i,r,s,!0))}1a 19?-o:o},H=Y.e9=18(t,e,i){1c("7J"!==Q(t,"4z",i))1a 0;1b r="51"===e?"6K":"8a",s=Q(t,"7H"+r,i);1a t["ec"+r]-($(t,e,1q(s),s.1N(y,""))||0)},K=18(t,e){1b i,r,s,n={};1c(e=e||G(t,1g))1c(i=e.1f)1d(;--i>-1;)s=e[i],(-1===s.1m("-2Q")||6v===s)&&(n[s.1N(S,A)]=e.4o(s));1o 1d(i 1x e)(-1===i.1m("9j")||be===i)&&(n[i]=e[i]);1o 1c(e=t.3e||t.1v)1d(i 1x e)"1O"==1k i&&2y 0===n[i]&&(n[i.1N(S,A)]=e[i]);1a j||(n.2a=V(t)),r=4N(t,e,!1),n.1W=r.1W,n.21=r.21,n.2q=r.2q,n.2G=r.2G,n.x=r.x,n.y=r.y,34&&(n.z=r.z,n.22=r.22,n.29=r.29,n.36=r.36),n.88&&4d n.88,n},J=18(t,e,i,r,s){1b n,a,o,l={},h=t.1v;1d(a 1x i)"3B"!==a&&"1f"!==a&&76(a)&&(e[a]!==(n=i[a])||s&&s[a])&&-1===a.1m("ed")&&("2E"==1k n||"1O"==1k n)&&(l[a]="2m"!==n||"51"!==a&&"4T"!==a?""!==n&&"2m"!==n&&"3E"!==n||"1O"!=1k e[a]||""===e[a].1N(x,"")?n:0:H(t,a),2y 0!==h[a]&&(o=1j 62(h,a,h[a],o)));1c(r)1d(a 1x r)"3M"!==a&&(l[a]=r[a]);1a{5O:l,4R:o}},8b={2D:["6K","86"],3j:["8a","eh"]},ee=["9p","9f","9X","98"],8R=18(t,e,i){1b r=1q("2D"===e?t.4X:t.4Y),s=8b[e],n=s.1f;1d(i=i||G(t,1g);--n>-1;)r-=1q(Q(t,"7q"+s[n],i,!0))||0,r-=1q(Q(t,"4w"+s[n]+"8f",i,!0))||0;1a r},4r=18(t,e){(1g==t||""===t||"2m"===t||"2m 2m"===t)&&(t="0 0");1b i=t.1t(" "),r=-1!==t.1m("51")?"0%":-1!==t.1m("8e")?"1M%":i[0],s=-1!==t.1m("4T")?"0%":-1!==t.1m("8d")?"1M%":i[1];1a 1g==s?s="77"===r?"50%":"0":"77"===s&&(s="50%"),("77"===r||76(1q(r))&&-1===(r+"").1m("="))&&(r="50%"),t=r+" "+s+(i.1f>2?" "+i[2]:""),e&&(e.9u=-1!==r.1m("%"),e.9v=-1!==s.1m("%"),e.eg="="===r.1z(1),e.e8="="===s.1z(1),e.63=1q(r.1N(x,"")),e.6y=1q(s.1N(x,"")),e.v=t),e||t},6u=18(t,e){1a"1O"==1k t&&"="===t.1z(1)?3l(t.1z(0)+"1",10)*1q(t.1u(2)):1q(t)-1q(e)},2H=18(t,e){1a 1g==t?e:"1O"==1k t&&"="===t.1z(1)?3l(t.1z(0)+"1",10)*1q(t.1u(2))+e:1q(t)},ae=18(t,e,i,r){1b s,n,a,o,l,h=1e-6;1a 1g==t?o=e:"2E"==1k t?o=t:(s=6m,n=t.1t("19"),l="="===t.1z(1),a=(l?3l(t.1z(0)+"1",10)*1q(n[0].1u(2)):1q(n[0]))*(-1===t.1m("e7")?1:z)-(l?0:e),n.1f&&(r&&(r[i]=e+a),-1!==t.1m("e0")&&(a%=s,a!==a%(s/2)&&(a=0>a?a+s:a-s)),-1!==t.1m("dZ")&&0>a?a=(a+5K*s)%s-(0|a/s)*s:-1!==t.1m("e2")&&a>0&&(a=(a-5K*s)%s-(0|a/s)*s)),o=e+a),h>o&&o>-h&&(o=0),o},44={e6:[0,1R,1R],e4:[0,1R,0],el:[5Y,5Y,5Y],9W:[0,0,0],et:[2Y,0,0],ew:[0,2Y,2Y],er:[0,0,1R],es:[0,0,2Y],en:[1R,1R,1R],eo:[1R,0,1R],eq:[2Y,2Y,0],ep:[1R,1R,0],dh:[1R,d6,0],c6:[2Y,2Y,2Y],c7:[2Y,0,2Y],c8:[0,2Y,0],83:[1R,0,0],c9:[1R,5Y,c5],c4:[0,1R,1R],4L:[1R,1R,1R,0]},5H=18(t,e,i){1a t=0>t?t+1:t>1?t-1:t,0|1R*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},6d=a.c0=18(t){1b e,i,r,s,n,a;1a t&&""!==t?"2E"==1k t?[t>>16,1R&t>>8,1R&t]:(","===t.1z(t.1f-1)&&(t=t.1u(0,t.1f-1)),44[t]?44[t]:"#"===t.1z(0)?(4===t.1f&&(e=t.1z(1),i=t.1z(2),r=t.1z(3),t="#"+e+e+i+i+r+r),t=3l(t.1u(1),16),[t>>16,1R&t>>8,1R&t]):"6r"===t.1u(0,3)?(t=t.2O(m),s=1P(t[0])%6m/6m,n=1P(t[1])/1M,a=1P(t[2])/1M,i=.5>=a?a*(n+1):a+n-a*n,e=2*a-i,t.1f>3&&(t[3]=1P(t[3])),t[0]=5H(s+1/3,e,i),t[1]=5H(s,e,i),t[2]=5H(s-1/3,e,i),t):(t=t.2O(m)||44.4L,t[0]=1P(t[0]),t[1]=1P(t[1]),t[2]=1P(t[2]),t.1f>3&&(t[3]=1P(t[3])),t)):44.9W},3W="(?:\\\\b(?:(?:6e|6Z|6r|c1)\\\\(.+?\\\\))|\\\\B#.+?\\\\b";1d(h 1x 44)3W+="|"+h+"\\\\b";3W=4D(3W+")","3Q");1b 7k=18(t,e,i,r){1c(1g==t)1a 18(t){1a t};1b s,n=e?(t.2O(3W)||[""])[0]:"",a=t.1t(n).1I("").2O(v)||[],o=t.1u(0,t.1m(a[0])),l=")"===t.1z(t.1f-1)?")":"",h=-1!==t.1m(" ")?" ":",",u=a.1f,f=u>0?a[0].1N(m,""):"";1a u?s=e?18(t){1b e,p,19,c;1c("2E"==1k t)t+=f;1o 1c(r&&D.35(t)){1d(c=t.1N(D,"|").1t("|"),19=0;c.1f>19;19++)c[19]=s(c[19]);1a c.1I(",")}1c(e=(t.2O(3W)||[n])[0],p=t.1t(e).1I("").2O(v)||[],19=p.1f,u>19--)1d(;u>++19;)p[19]=i?p[0|(19-1)/2]:a[19];1a o+p.1I(h)+h+e+l+(-1!==t.1m("7I")?" 7I":"")}:18(t){1b e,n,p;1c("2E"==1k t)t+=f;1o 1c(r&&D.35(t)){1d(n=t.1N(D,"|").1t("|"),p=0;n.1f>p;p++)n[p]=s(n[p]);1a n.1I(",")}1c(e=t.2O(v)||[],p=e.1f,u>p--)1d(;u>++p;)e[p]=i?e[0|(p-1)/2]:a[p];1a o+e.1I(h)+l}:18(t){1a t}},68=18(t){1a t=t.1t(","),18(e,i,r,s,n,a,o){1b l,h=(i+"").1t(" ");1d(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];1a s.31(e,o,n,a)}},62=(Y.c2=18(t){15.2L.1Y(t);1d(1b e,i,r,s,n=15.1y,a=n.9T,o=n.4R,l=1e-6;o;)e=a[o.v],o.r?e=1i.3P(e):l>e&&e>-l&&(e=0),o.t[o.p]=e,o=o.1h;1c(n.9S&&(n.9S.1W=a.1W),1===t)1d(o=n.4R;o;){1c(i=o.t,i.2f){1c(1===i.2f){1d(s=i.1U+i.s+i.4h,r=1;i.l>r;r++)s+=i["3r"+r]+i["38"+(r+1)];i.e=s}}1o i.e=i.s+i.1U;o=o.1h}},18(t,e,i,r,s){15.t=t,15.p=e,15.v=i,15.r=s,r&&(r.1n=15,15.1h=r)}),ce=(Y.c3=18(t,e,i,r,s,n){1b a,o,l,h,u,f=r,p={},19={},c=i.3I,d=F;1d(i.3I=1g,F=e,r=u=i.31(t,e,r,s),F=d,n&&(i.3I=c,f&&(f.1n=1g,f.1n&&(f.1n.1h=1g)));r&&r!==f;){1c(1>=r.2f&&(o=r.p,19[o]=r.s+r.c,p[o]=r.s,n||(h=1j 62(r,"s",o,h,r.r),r.c=0),1===r.2f))1d(a=r.l;--a>0;)l="3r"+a,o=r.p+"19"+l,19[o]=r.1y[l],p[o]=r[l],n||(h=1j 62(r,l,o,h,r.5P[l]));r=r.1h}1a{9T:p,ca:19,4R:h,cb:u}},Y.cj=18(t,e,r,s,a,o,l,h,u,f,p){15.t=t,15.p=e,15.s=r,15.c=s,15.n=l||e,t 2p ce||n.24(15.n),15.r=h,15.2f=o||0,u&&(15.2w=u,i=!0),15.b=2y 0===f?r:f,15.e=2y 0===p?r+s:p,a&&(15.1h=a,a.1n=15)}),de=18(t,e,i,r,s,n){1b a=1j ce(t,e,i,r-i,s,-1,n);1a a.b=i,a.e=a.1U=r,a},5l=a.4u=18(t,e,i,r,s,n,a,o,l,h){i=i||n||"",a=1j ce(t,e,0,0,a,h?2:1,1g,!1,o,i,r),r+="";1b f,p,19,c,d,v,x,y,T,w,b,O,S=i.1t(", ").1I(",").1t(" "),k=r.1t(", ").1I(",").1t(" "),A=S.1f,C=u!==!1;1d((-1!==r.1m(",")||-1!==i.1m(","))&&(S=S.1I(" ").1N(D,", ").1t(" "),k=k.1I(" ").1N(D,", ").1t(" "),A=S.1f),A!==k.1f&&(S=(n||"").1t(" "),A=S.1f),a.2L=l,a.1Y=h,f=0;A>f;f++)1c(c=S[f],d=k[f],y=1q(c),y||0===y)a.4f("",y,6u(d,y),d.1N(g,""),C&&-1!==d.1m("2j"),!0);1o 1c(s&&("#"===c.1z(0)||44[c]||P.35(c)))O=","===d.1z(d.1f-1)?"),":")",c=6d(c),d=6d(d),T=c.1f+d.1f>6,T&&!j&&0===d[3]?(a["38"+a.l]+=a.l?" 4L":"4L",a.e=a.e.1t(k[f]).1I("4L")):(j||(T=!1),a.4f(T?"6Z(":"6e(",c[0],d[0]-c[0],",",!0,!0).4f("",c[1],d[1]-c[1],",",!0).4f("",c[2],d[2]-c[2],T?",":O,!0),T&&(c=4>c.1f?1:c[3],a.4f("",c,(4>d.1f?1:d[3])-c,O,!1)));1o 1c(v=c.2O(m)){1c(x=d.2O(g),!x||x.1f!==v.1f)1a a;1d(19=0,p=0;v.1f>p;p++)b=v[p],w=c.1m(b,19),a.4f(c.1u(19,w-19),1P(b),6u(x[p],b),"",C&&"2j"===c.1u(w+b.1f,2),0===p),19=w+b.1f;a["38"+a.l]+=c.1u(19)}1o a["38"+a.l]+=a.l?" "+c:c;1c(-1!==r.1m("=")&&a.1y){1d(O=a.1U+a.1y.s,f=1;a.l>f;f++)O+=a["38"+f]+a.1y["3r"+f];a.e=O+a["38"+f]}1a a.l||(a.2f=-1,a.1U=a.e),a.46||a},2b=9;1d(h=ce.1A,h.l=h.2w=0;--2b>0;)h["3r"+2b]=0,h["38"+2b]="";h.1U="",h.1h=h.1n=h.46=h.1y=h.2L=h.1Y=h.5P=1g,h.4f=18(t,e,i,r,s,n){1b a=15,o=a.l;1a a["38"+o]+=n&&o?" "+t:t||"",i||0===o||a.2L?(a.l++,a.2f=a.1Y?2:1,a["38"+a.l]=r||"",o>0?(a.1y["3r"+o]=e+i,a.5P["3r"+o]=s,a["3r"+o]=e,a.2L||(a.46=1j ce(a,"3r"+o,e,i,a.46||a,0,a.n,s,a.2w),a.46.1U=0),a):(a.1y={s:e+i},a.5P={},a.s=e,a.c=i,a.r=s,a)):(a["38"+o]+=e+(r||""),a)};1b 6o=18(t,e){e=e||{},15.p=e.39?Z(t)||t:t,l[t]=l[15.p]=15,15.3d=e.5w||7k(e.2I,e.4G,e.ck,e.4m),e.2g&&(15.31=e.2g),15.9e=e.4G,15.4m=e.4m,15.5z=e.5z,15.4t=e.2I,15.2w=e.6n||0},1Q=Y.cl=18(t,e,i){"4q"!=1k e&&(e={2g:i});1b r,s,n=t.1t(","),a=e.2I;1d(i=i||[a],r=0;n.1f>r;r++)e.39=0===r&&e.39,e.2I=i[r]||a,s=1j 6o(n[r],e)},89=18(t){1c(!l[t]){1b e=t.1z(0).5Q()+t.1u(1)+"9Q";1Q(t,{2g:18(t,i,r,s,n,a,h){1b u=o.5p.5o.5q[e];1a u?(u.ci(),l[r].31(t,i,r,s,n,a,h)):(U("ch: "+e+" 6V bB 9h cc."),n)}})}};h=6o.1A,h.4u=18(t,e,i,r,s,n){1b a,o,l,h,u,f,p=15.5z;1c(15.4m&&(D.35(i)||D.35(e)?(o=e.1N(D,"|").1t("|"),l=i.1N(D,"|").1t("|")):p&&(o=[e],l=[i])),l){1d(h=l.1f>o.1f?l.1f:o.1f,a=0;h>a;a++)e=o[a]=o[a]||15.4t,i=l[a]=l[a]||15.4t,p&&(u=e.1m(p),f=i.1m(p),u!==f&&(-1===f?o[a]=o[a].1t(p).1I(""):-1===u&&(o[a]+=" "+p)));e=o.1I(", "),i=l.1I(", ")}1a 5l(t,15.p,e,i,15.9e,15.4t,r,15.2w,s,n)},h.31=18(t,e,i,r,n,a){1a 15.4u(t.1v,15.3d(Q(t,15.p,s,!1,15.4t)),15.3d(e),n,a)},a.cd=18(t,e,i){1Q(t,{2g:18(t,r,s,n,a,o){1b l=1j ce(t,s,0,0,a,2,s,!1,i);1a l.2L=o,l.1Y=e(t,r,n.3u,s),l},6n:i})},a.9F=p||19;1b 3p,7u="2q,2G,36,x,y,z,21,2T,1W,22,29,3a,1T,1S".1t(","),be=Z("2Q"),6v=q+"2Q",4P=Z("5x"),34=1g!==Z("3a"),5a=Y.9j=18(){15.3a=1q(a.6H)||0,15.47=a.9n!==!1&&34?a.9n||"2m":!1},9a=43.cf,6F=18(t,e,i){1b r,s=I.5I("9m://9l.9k.9d/cg/2v",t),n=/([a-z])([A-Z])/g;1d(r 1x i)s.bZ(1g,r.1N(n,"$1-$2").6i(),i[r]);1a e.65(s),s},6E=I.bY,9E=18(){1b t,e,i,r=d||/94/i.35(B)&&!43.bI;1a I.5I&&!r&&(t=6F("2v",6E),e=6F("7G",t,{2D:1M,3j:50,x:1M}),i=e.9M().2D,e.1v[4P]="50% 50%",e.1v[be]="2q(0.5)",r=i===e.9M().2D&&!(19&&34),6E.7F(t)),r}(),7z=18(t,e,i,r,s){1b n,o,l,h,u,f,p,19,c,d,m,g,v,x,y=t.3w,T=6D(t,!0);y&&(v=y.2d,x=y.2c),(!r||2>(n=r.1t(" ")).1f)&&(p=t.4s(),e=4r(e).1t(" "),n=[(-1!==e[0].1m("%")?1q(e[0])/1M*p.2D:1q(e[0]))+p.x,(-1!==e[1].1m("%")?1q(e[1])/1M*p.3j:1q(e[1]))+p.y]),i.2d=h=1q(n[0]),i.2c=u=1q(n[1]),r&&T!==5L&&(f=T[0],p=T[1],19=T[2],c=T[3],d=T[4],m=T[5],g=f*c-p*19,o=h*(c/g)+u*(-19/g)+(19*m-c*d)/g,l=h*(-p/g)+u*(f/g)-(f*m-p*d)/g,h=i.2d=n[0]=o,u=i.2c=n[1]=l),y&&(s||s!==!1&&a.9b!==!1?(o=h-v,l=u-x,y.3h+=o*T[0]+l*T[2]-o,y.3s+=o*T[1]+l*T[3]-l):y.3h=y.3s=0),t.4b("1y-2v-6p",n.1I(" "))},6I=18(t){1a!!(9a&&"18"==1k t.4s&&t.99&&(!t.5J||t.5J.4s&&t.5J.99))},5L=[1,0,0,1,0,0],6D=18(t,e){1b i,r,s,n,a,o=t.3w||1j 5a,l=5V;1c(be?r=Q(t,6v,1g,!0):t.3e&&(r=t.3e.2x.2O(R),r=r&&4===r.1f?[r[0].1u(4),1P(r[2].1u(4)),1P(r[1].1u(4)),r[3].1u(4),o.x||0,o.y||0].1I(","):""),i=!r||"3E"===r||"3v(1, 0, 0, 1, 0, 0)"===r,(o.2v||t.4s&&6I(t))&&(i&&-1!==(t.1v[be]+"").1m("3v")&&(r=t.1v[be],i=0),s=t.4U("2Q"),i&&s&&(-1!==s.1m("3v")?(r=s,i=0):-1!==s.1m("5b")&&(r="3v(1,0,0,1,"+s.2O(/(?:\\-|\\b)[\\d\\-\\.e]+\\b/3Q).1I(",")+")",i=0))),i)1a 5L;1d(s=(r||"").2O(/(?:\\-|\\b)[\\d\\-\\.e]+\\b/3Q)||[],2b=s.1f;--2b>-1;)n=1P(s[2b]),s[2b]=(a=n-(n|=0))?(0|a*l+(0>a?-.5:.5))/l+n:n;1a e&&s.1f>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},4N=Y.bJ=18(t,i,r,n){1c(t.3w&&r&&!n)1a t.3w;1b o,l,h,u,f,p,19=r?t.3w||1j 5a:1j 5a,c=0>19.2q,d=2e-5,m=5V,g=34?1q(Q(t,4P,i,!1,"0 0 0").1t(" ")[2])||19.32||0:0,v=1q(a.6H)||0;1c(19.2v=!(!t.4s||!6I(t)),19.2v&&(7z(t,Q(t,4P,s,!1,"50% 50%")+"",19,t.4U("1y-2v-6p")),3p=a.9F||9E),o=6D(t),o!==5L){1c(16===o.1f){1b x,y,T,w,b,P=o[0],O=o[1],S=o[2],k=o[3],A=o[4],C=o[5],R=o[6],M=o[7],D=o[8],X=o[9],F=o[10],I=o[12],N=o[13],E=o[14],L=o[11],Y=1i.5k(R,F);19.32&&(E=-19.32,I=D*E-o[12],N=X*E-o[13],E=F*E+19.32-o[14]),19.22=Y*z,Y&&(w=1i.2S(-Y),b=1i.2t(-Y),x=A*w+D*b,y=C*w+X*b,T=R*w+F*b,D=A*-b+D*w,X=C*-b+X*w,F=R*-b+F*w,L=M*-b+L*w,A=x,C=y,R=T),Y=1i.5k(D,F),19.29=Y*z,Y&&(w=1i.2S(-Y),b=1i.2t(-Y),x=P*w-D*b,y=O*w-X*b,T=S*w-F*b,X=O*b+X*w,F=S*b+F*w,L=k*b+L*w,P=x,O=y,S=T),Y=1i.5k(O,P),19.1W=Y*z,Y&&(w=1i.2S(-Y),b=1i.2t(-Y),P=P*w+A*b,y=O*w+C*b,C=O*-b+C*w,R=S*-b+R*w,O=y),19.22&&1i.5T(19.22)+1i.5T(19.1W)>bK.9&&(19.22=19.1W=0,19.29+=3D),19.2q=(0|1i.3f(P*P+O*O)*m+.5)/m,19.2G=(0|1i.3f(C*C+X*X)*m+.5)/m,19.36=(0|1i.3f(R*R+F*F)*m+.5)/m,19.21=0,19.3a=L?1/(0>L?-L:L):0,19.x=I,19.y=N,19.z=E,19.2v&&(19.x-=19.2d-(19.2d*P-19.2c*A),19.y-=19.2c-(19.2c*O-19.2d*C))}1o 1c(!(34&&!n&&o.1f&&19.x===o[4]&&19.y===o[5]&&(19.22||19.29)||2y 0!==19.x&&"3E"===Q(t,"6S",i))){1b B=o.1f>=6,j=B?o[0]:1,V=o[1]||0,U=o[2]||0,q=B?o[3]:1;19.x=o[4]||0,19.y=o[5]||0,h=1i.3f(j*j+V*V),u=1i.3f(q*q+U*U),f=j||V?1i.5k(V,j)*z:19.1W||0,p=U||q?1i.5k(U,q)*z+f:19.21||0,1i.5T(p)>90&&bL>1i.5T(p)&&(c?(h*=-1,p+=0>=f?3D:-3D,f+=0>=f?3D:-3D):(u*=-1,p+=0>=p?3D:-3D)),19.2q=h,19.2G=u,19.1W=f,19.21=p,34&&(19.22=19.29=19.z=0,19.3a=v,19.36=1),19.2v&&(19.x-=19.2d-(19.2d*j+19.2c*U),19.y-=19.2c-(19.2d*V+19.2c*q))}19.32=g;1d(l 1x 19)d>19[l]&&19[l]>-d&&(19[l]=0)}1a r&&(t.3w=19,19.2v&&(3p&&t.1v[be]?e.4v(.6w,18(){4Z(t.1v,be)}):!3p&&t.4U("2Q")&&e.4v(.6w,18(){t.5i("2Q")}))),19},8K=18(t){1b e,i,r=15.1y,s=-r.1W*X,n=s+r.21*X,a=5V,o=(0|1i.2S(s)*r.2q*a)/a,l=(0|1i.2t(s)*r.2q*a)/a,h=(0|1i.2t(n)*-r.2G*a)/a,u=(0|1i.2S(n)*r.2G*a)/a,f=15.t.1v,p=15.t.3e;1c(p){i=l,l=-h,h=-i,e=p.2x,f.2x="";1b 19,c,m=15.t.4X,g=15.t.4Y,v="7J"!==p.4z,x="9A:6z.6B.6A(9t="+o+", 9s="+l+", 9r="+h+", 9q="+u,w=r.x+m*r.1T/1M,b=r.y+g*r.1S/1M;1c(1g!=r.63&&(19=(r.9u?.5W*m*r.63:r.63)-m/2,c=(r.9v?.5W*g*r.6y:r.6y)-g/2,w+=19-(19*o+c*l),b+=c-(19*h+c*u)),v?(19=m/2,c=g/2,x+=", 9y="+(19-(19*o+c*l)+w)+", 9x="+(c-(19*h+c*u)+b)+")"):x+=", bH=\'2m bG\')",f.2x=-1!==e.1m("6z.6B.6A(")?e.1N(M,x):x+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===x.1m("9y=0, 9x=0")||T.35(e)&&1M!==1q(4D.$1)||-1===e.1m("d7("&&e.1m("bD"))&&f.5i("2x")),!v){1b P,O,S,k=8>d?1:-1;1d(19=r.5U||0,c=r.66||0,r.5U=1i.3P((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),r.66=1i.3P((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),2b=0;4>2b;2b++)O=ee[2b],P=p[O],i=-1!==P.1m("2j")?1q(P):$(15.t,O,1q(P),P.1N(y,""))||0,S=i!==r[O]?2>2b?-r.5U:-r.66:2>2b?19-r.5U:c-r.66,f[O]=(r[O]=1i.3P(i-S*(0===2b||2===2b?1:k)))+"2j"}}},8N=Y.bE=Y.bF=18(t){1b e,i,r,s,n,a,o,l,h,u,f,p,c,d,m,g,v,x,y,T,w,b,P,O=15.1y,S=15.t.1v,k=O.1W,A=O.22,C=O.29,R=O.2q,M=O.2G,D=O.36,z=O.x,F=O.y,I=O.z,N=O.2v,E=O.3a,L=O.47;1c(!((1!==t&&0!==t||"2m"!==L||15.3V.1E!==15.3V.2i&&15.3V.1E)&&L||I||E||C||A)||3p&&N||!34)1a 2y(k||O.21||N?(k*=X,b=O.21*X,P=5V,e=1i.2S(k)*R,s=1i.2t(k)*R,i=1i.2t(k-b)*-M,n=1i.2S(k-b)*M,b&&"9z"===O.4x&&(v=1i.9B(b),v=1i.3f(1+v*v),i*=v,n*=v,O.2T&&(e*=v,s*=v)),N&&(z+=O.2d-(O.2d*e+O.2c*i)+O.3h,F+=O.2c-(O.2d*s+O.2c*n)+O.3s,3p&&(O.1T||O.1S)&&(d=15.t.4s(),z+=.5W*O.1T*d.2D,F+=.5W*O.1S*d.3j),d=1e-6,d>z&&z>-d&&(z=0),d>F&&F>-d&&(F=0)),y=(0|e*P)/P+","+(0|s*P)/P+","+(0|i*P)/P+","+(0|n*P)/P+","+z+","+F+")",N&&3p?15.t.4b("2Q","3v("+y):S[be]=(O.1T||O.1S?"5b("+O.1T+"%,"+O.1S+"%) 3v(":"3v(")+y):S[be]=(O.1T||O.1S?"5b("+O.1T+"%,"+O.1S+"%) 3v(":"3v(")+R+",0,0,"+M+","+z+","+F+")");1c(19&&(d=1e-4,d>R&&R>-d&&(R=D=2e-5),d>M&&M>-d&&(M=D=2e-5),!E||O.z||O.22||O.29||(E=0)),k||O.21)k*=X,m=e=1i.2S(k),g=s=1i.2t(k),O.21&&(k-=O.21*X,m=1i.2S(k),g=1i.2t(k),"9z"===O.4x&&(v=1i.9B(O.21*X),v=1i.3f(1+v*v),m*=v,g*=v,O.2T&&(e*=v,s*=v))),i=-g,n=m;1o{1c(!(C||A||1!==D||E||N))1a 2y(S[be]=(O.1T||O.1S?"5b("+O.1T+"%,"+O.1S+"%) 9I(":"9I(")+z+"2j,"+F+"2j,"+I+"2j)"+(1!==R||1!==M?" 5j("+R+","+M+")":""));e=n=1,i=s=0}h=1,r=a=o=l=u=f=0,p=E?-1/E:0,c=O.32,d=1e-6,T=",",w="0",k=C*X,k&&(m=1i.2S(k),g=1i.2t(k),o=-g,u=p*-g,r=e*g,a=s*g,h=m,p*=m,e*=m,s*=m),k=A*X,k&&(m=1i.2S(k),g=1i.2t(k),v=i*m+r*g,x=n*m+a*g,l=h*g,f=p*g,r=i*-g+r*m,a=n*-g+a*m,h*=m,p*=m,i=v,n=x),1!==D&&(r*=D,a*=D,h*=D,p*=D),1!==M&&(i*=M,n*=M,l*=M,f*=M),1!==R&&(e*=R,s*=R,o*=R,u*=R),(c||N)&&(c&&(z+=r*-c,F+=a*-c,I+=h*-c+c),N&&(z+=O.2d-(O.2d*e+O.2c*i)+O.3h,F+=O.2c-(O.2d*s+O.2c*n)+O.3s),d>z&&z>-d&&(z=w),d>F&&F>-d&&(F=w),d>I&&I>-d&&(I=0)),y=O.1T||O.1S?"5b("+O.1T+"%,"+O.1S+"%) 97(":"97(",y+=(d>e&&e>-d?w:e)+T+(d>s&&s>-d?w:s)+T+(d>o&&o>-d?w:o),y+=T+(d>u&&u>-d?w:u)+T+(d>i&&i>-d?w:i)+T+(d>n&&n>-d?w:n),A||C?(y+=T+(d>l&&l>-d?w:l)+T+(d>f&&f>-d?w:f)+T+(d>r&&r>-d?w:r),y+=T+(d>a&&a>-d?w:a)+T+(d>h&&h>-d?w:h)+T+(d>p&&p>-d?w:p)+T):y+=",0,0,0,0,1,0,",y+=z+T+F+T+I+T+(E?1+-I/E:1)+")",S[be]=y};h=5a.1A,h.x=h.y=h.z=h.21=h.2T=h.1W=h.22=h.29=h.32=h.1T=h.1S=h.3h=h.3s=0,h.2q=h.2G=h.36=1,1Q("2Q,5j,2q,2G,36,x,y,z,1W,22,29,7s,21,2T,7t,7v,7m,bM,5x,7w,7Y,7V,9R,47,4x,1T,1S,8S",{2g:18(t,e,i,r,n,o,l){1c(r.73===l)1a n;r.73=l;1b h,u,f,p,19,c,d,m,g,v=t.3w,x=r.3I=4N(t,s,!0,l.9R),y=t.1v,T=1e-6,w=7u.1f,b=l,P={},O="5x";1c("1O"==1k b.2Q&&be)f=E.1v,f[be]=b.2Q,f.6S="bN",f.4z="7J",I.7D.65(E),h=4N(E,1g,!1),I.7D.7F(E),1g!=b.1T&&(h.1T=2H(b.1T,x.1T)),1g!=b.1S&&(h.1S=2H(b.1S,x.1S));1o 1c("4q"==1k b){1c(h={2q:2H(1g!=b.2q?b.2q:b.5j,x.2q),2G:2H(1g!=b.2G?b.2G:b.5j,x.2G),36:2H(b.36,x.36),x:2H(b.x,x.x),y:2H(b.y,x.y),z:2H(b.z,x.z),1T:2H(b.1T,x.1T),1S:2H(b.1S,x.1S),3a:2H(b.7Y,x.3a)},d=b.7V,1g!=d)1c("4q"==1k d)1d(f 1x d)b[f]=d[f];1o b.1W=d;"1O"==1k b.x&&-1!==b.x.1m("%")&&(h.x=0,h.1T=2H(b.x,x.1T)),"1O"==1k b.y&&-1!==b.y.1m("%")&&(h.y=0,h.1S=2H(b.y,x.1S)),h.1W=ae("1W"1x b?b.1W:"7t"1x b?b.7t+"7p":"7s"1x b?b.7s:x.1W,x.1W,"1W",P),34&&(h.22=ae("22"1x b?b.22:"7v"1x b?b.7v+"7p":x.22||0,x.22,"22",P),h.29=ae("29"1x b?b.29:"7m"1x b?b.7m+"7p":x.29||0,x.29,"29",P)),h.21=1g==b.21?x.21:ae(b.21,x.21),h.2T=1g==b.2T?x.2T:ae(b.2T,x.2T),(u=h.2T-x.2T)&&(h.21+=u,h.1W+=u)}1d(34&&1g!=b.47&&(x.47=b.47,c=!0),x.4x=b.4x||x.4x||a.8G,19=x.47||x.z||x.22||x.29||h.z||h.22||h.29||h.3a,19||1g==b.5j||(h.36=1);--w>-1;)i=7u[w],p=h[i]-x[i],(p>T||-T>p||1g!=b[i]||1g!=F[i])&&(c=!0,n=1j ce(x,i,x[i],p,n),i 1x P&&(n.e=P[i]),n.1U=0,n.2L=o,r.2P.24(n.n));1a p=b.5x,x.2v&&(p||b.7w)&&(m=x.3h,g=x.3s,7z(t,4r(p),h,b.7w,b.8S),n=de(x,"2d",(v?x:h).2d,h.2d,n,O),n=de(x,"2c",(v?x:h).2c,h.2c,n,O),(m!==x.3h||g!==x.3s)&&(n=de(x,"3h",v?m:x.3h,x.3h,n,O),n=de(x,"3s",v?g:x.3s,x.3s,n,O)),p=3p?1g:"1L 1L"),(p||34&&19&&x.32)&&(be?(c=!0,i=4P,p=(p||Q(t,i,s,!1,"50% 50%"))+"",n=1j ce(y,i,0,0,n,-1,O),n.b=y[i],n.2L=o,34?(f=x.32,p=p.1t(" "),x.32=(p.1f>2&&(0===f||"1L"!==p[2])?1q(p[2]):f)||0,n.1U=n.e=p[0]+" "+(p[1]||"50%")+" 1L",n=1j ce(x,"32",0,0,n,-1,n.n),n.b=f,n.1U=n.e=x.32):n.1U=n.e=p):4r(p+"",x)),c&&(r.4k=x.2v&&3p||!19&&3!==15.4k?2:3),n},39:!0}),1Q("bU",{2I:"1L 1L 1L 1L #9w",39:!0,4G:!0,4m:!0,5z:"7I"}),1Q("bV",{2I:"1L",2g:18(t,e,i,n,a){e=15.3d(e);1b o,l,h,u,f,p,19,c,d,m,g,v,x,y,T,w,b=["bW","bX","bT","bS"],P=t.1v;1d(d=1q(t.4X),m=1q(t.4Y),o=e.1t(" "),l=0;b.1f>l;l++)15.p.1m("4w")&&(b[l]=Z(b[l])),f=u=Q(t,b[l],s,!1,"1L"),-1!==f.1m(" ")&&(u=f.1t(" "),f=u[0],u=u[1]),p=h=o[l],19=1q(f),v=f.1u((19+"").1f),x="="===p.1z(1),x?(c=3l(p.1z(0)+"1",10),p=p.1u(2),c*=1q(p),g=p.1u((c+"").1f-(0>c?1:0))||""):(c=1q(p),g=p.1u((c+"").1f)),""===g&&(g=r[i]||v),g!==v&&(y=$(t,"8o",19,v),T=$(t,"bO",19,v),"%"===g?(f=1M*(y/d)+"%",u=1M*(T/m)+"%"):"em"===g?(w=$(t,"8o",1,"em"),f=y/w+"em",u=T/w+"em"):(f=y+"2j",u=T+"2j"),x&&(p=1q(f)+c+g,h=1q(u)+c+g)),a=5l(P,b[l],f+" "+u,p+" "+h,!1,"1L",a);1a a},39:!0,5w:7k("1L 1L 1L 1L",!1,!0)}),1Q("bP",{2I:"0 0",2g:18(t,e,i,r,n,a){1b o,l,h,u,f,p,19="bQ-4z",c=s||G(t,1g),m=15.3d((c?d?c.4o(19+"-x")+" "+c.4o(19+"-y"):c.4o(19):t.3e.bR+" "+t.3e.cm)||"0 0"),g=15.3d(e);1c(-1!==m.1m("%")!=(-1!==g.1m("%"))&&(p=Q(t,"cn").1N(k,""),p&&"3E"!==p)){1d(o=m.1t(" "),l=g.1t(" "),L.4b("cR",p),h=2;--h>-1;)m=o[h],u=-1!==m.1m("%"),u!==(-1!==l[h].1m("%"))&&(f=0===h?t.4X-L.2D:t.4Y-L.3j,o[h]=u?1q(m)/1M*f+"2j":1M*(1q(m)/f)+"%");m=o.1I(" ")}1a 15.4u(t.1v,m,g,n,a)},5w:4r}),1Q("cS",{2I:"0 0",5w:4r}),1Q("3a",{2I:"1L",39:!0}),1Q("cT",{2I:"50% 50%",39:!0}),1Q("cU",{39:!0}),1Q("cQ",{39:!0}),1Q("cP",{39:!0}),1Q("7H",{2g:68("9X,9f,98,9p")}),1Q("7q",{2g:68("cL,cM,cN,cO")}),1Q("cV",{2I:"7G(1L,1L,1L,1L)",2g:18(t,e,i,r,n,a){1b o,l,h;1a 9>d?(l=t.3e,h=8>d?" ":",",o="7G("+l.cW+h+l.d3+h+l.d4+h+l.d5+")",e=15.3d(e).1t(",").1I(h)):(o=15.3d(Q(t,15.p,s,!1,15.4t)),e=15.3d(e)),15.4u(t.1v,o,e,n,a)}}),1Q("d2",{2I:"1L 1L 1L #9w",4G:!0,4m:!0}),1Q("7M,8D",{2g:18(t,e,i,r,s){1a s}}),1Q("4w",{2I:"1L 6k #6x",2g:18(t,e,i,r,n,a){1a 15.4u(t.1v,15.3d(Q(t,"6C",s,!1,"1L")+" "+Q(t,"d1",s,!1,"6k")+" "+Q(t,"cX",s,!1,"#6x")),15.3d(e),n,a)},4G:!0,5w:18(t){1b e=t.1t(" ");1a e[0]+" "+(e[1]||"6k")+" "+(t.2O(3W)||["#6x"])[0]}}),1Q("cY",{2g:68("6C,cZ,d0,92")}),1Q("cK,6J,9c",{2g:18(t,e,i,r,s){1b n=t.1v,a="6J"1x n?"6J":"9c";1a 1j ce(n,a,0,0,s,-1,i,!1,0,n[a],e)}});1b 9O=18(t){1b e,i=15.t,r=i.2x||Q(15.1y,"2x")||"",s=0|15.s+15.c*t;1M===s&&(-1===r.1m("cJ(")&&-1===r.1m("cu(")&&-1===r.1m("cv(")?(i.5i("2x"),e=!Q(15.1y,"2x")):(i.2x=r.1N(b,""),e=!0)),e||(15.3Y&&(i.2x=r=r||"3U(2a="+s+")"),-1===r.1m("cw")?0===s&&15.3Y||(i.2x=r+" 3U(2a="+s+")"):i.2x=r.1N(T,"2a="+s))};1Q("2a,3U,5F",{2I:"1",2g:18(t,e,i,r,n,a){1b o=1q(Q(t,"2a",s,!1,"1")),l=t.1v,h="5F"===i;1a"1O"==1k e&&"="===e.1z(1)&&(e=("-"===e.1z(0)?-1:1)*1q(e.1u(2))+o),h&&1===o&&"6c"===Q(t,"7r",s)&&0!==e&&(o=0),j?n=1j ce(l,"2a",o,e-o,n):(n=1j ce(l,"2a",1M*o,1M*(e-o),n),n.3Y=h?1:0,l.8L=1,n.2f=2,n.b="3U(2a="+n.s+")",n.e="3U(2a="+(n.s+n.c)+")",n.1y=t,n.2L=a,n.1Y=9O),h&&(n=1j ce(l,"7r",0,0,n,-1,1g,!1,0,0!==o?"6t":"6c",0===e?"6c":"6t"),n.1U="6t",r.2P.24(n.n),r.2P.24(i)),n}});1b 4Z=18(t,e){e&&(t.9N?(("6a"===e.1u(0,2)||"9U"===e.1u(0,6))&&(e="-"+e),t.9N(e.1N(O,"-$1").6i())):t.5i(e))},81=18(t){1c(15.t.54=15,1===t||0===t){15.t.4b("4l",0===t?15.b:15.e);1d(1b e=15.1y,i=15.t.1v;e;)e.v?i[e.p]=e.v:4Z(i,e.p),e=e.1h;1===t&&15.t.54===15&&(15.t.54=1g)}1o 15.t.4U("4l")!==15.e&&15.t.4b("4l",15.e)};1Q("3M",{2g:18(t,e,r,n,a,o,l){1b h,u,f,p,19,c=t.4U("4l")||"",d=t.1v.3B;1c(a=n.7E=1j ce(t,r,0,0,a,2),a.1Y=81,a.2w=-11,i=!0,a.b=c,u=K(t,s),f=t.54){1d(p={},19=f.1y;19;)p[19.p]=1,19=19.1h;f.1Y(1)}1a t.54=a,a.e="="!==e.1z(1)?e:c.1N(4D("\\\\s*\\\\b"+e.1u(2)+"\\\\b"),"")+("+"===e.1z(0)?" "+e.1u(2):""),t.4b("4l",a.e),h=J(t,u,K(t),l,p),t.4b("4l",c),a.1y=h.4R,t.1v.3B=d,a=a.46=n.31(t,h.5O,a,o)}});1b 7U=18(t){1c((1===t||0===t)&&15.1y.1E===15.1y.2i&&"82"!==15.1y.1y){1b e,i,r,s,n,a=15.t.1v,o=l.2Q.31;1c("4A"===15.e)a.3B="",s=!0;1o 1d(e=15.e.1t(" ").1I("").1t(","),r=e.1f;--r>-1;)i=e[r],l[i]&&(l[i].31===o?s=!0:i="5x"===i?4P:l[i].p),4Z(a,i);s&&(4Z(a,be),n=15.t.3w,n&&(n.2v&&15.t.5i("1y-2v-6p"),4d 15.t.3w))}};1d(1Q("cx",{2g:18(t,e,r,s,n){1a n=1j ce(t,r,0,0,n,2),n.1Y=7U,n.e=e,n.2w=-10,n.1y=s.3u,i=!0,n}}),h="ct,cs,co,cp".1t(","),2b=h.1f;2b--;)89(h[2b]);h=a.1A,h.1s=h.73=h.3I=1g,h.72=18(t,e,o){1c(!t.3S)1a!1;15.7Z=t,15.3u=o,15.7K=e,u=e.7M,i=!1,r=e.79||a.79,s=G(t,""),n=15.2P;1b h,19,d,m,g,v,x,y,T,b=t.1v;1c(f&&""===b.4c&&(h=Q(t,"4c",s),("2m"===h||""===h)&&15.6l(b,"4c",0)),"1O"==1k e&&(m=b.3B,h=K(t,s),b.3B=m+";"+e,h=J(t,h,K(t)).5O,!j&&w.35(e)&&(h.2a=1q(4D.$1)),e=h,b.3B=m),15.1s=19=e.3M?l.3M.31(t,e.3M,"3M",15,1g,1g,e):15.31(t,e,1g),15.4k){1d(T=3===15.4k,be?p&&(f=!0,""===b.4c&&(x=Q(t,"4c",s),("2m"===x||""===x)&&15.6l(b,"4c",0)),c&&15.6l(b,"7L",15.7K.7L||(T?"cq":"6c"))):b.8L=1,d=19;d&&d.1h;)d=d.1h;y=1j ce(t,"2Q",0,0,1g,2),15.5y(y,1g,d),y.1Y=be?8N:8K,y.1y=15.3I||4N(t,s,!0),y.3V=o,y.2w=-1,n.4K()}1c(i){1d(;19;){1d(v=19.1h,d=m;d&&d.2w>19.2w;)d=d.1h;(19.1n=d?d.1n:g)?19.1n.1h=19:m=19,(19.1h=d)?d.1n=19:g=19,19=v}15.1s=m}1a!0},h.31=18(t,e,i,n){1b a,o,h,f,p,19,c,d,m,g,v=t.1v;1d(a 1x e)19=e[a],o=l[a],o?i=o.31(t,19,a,15,i,n,e):(p=Q(t,a,s)+"",m="1O"==1k 19,"4G"===a||"cr"===a||"cy"===a||-1!==a.1m("cz")||m&&P.35(19)?(m||(19=6d(19),19=(19.1f>3?"6Z(":"6e(")+19.1I(",")+")"),i=5l(v,a,p,19,!0,"4L",i,0,n)):!m||-1===19.1m(" ")&&-1===19.1m(",")?(h=1q(p),c=h||0===h?p.1u((h+"").1f):"",(""===p||"2m"===p)&&("2D"===a||"3j"===a?(h=8R(t,a,s),c="2j"):"51"===a||"4T"===a?(h=H(t,a,s),c="2j"):(h="2a"!==a?0:1,c="")),g=m&&"="===19.1z(1),g?(f=3l(19.1z(0)+"1",10),19=19.1u(2),f*=1q(19),d=19.1N(y,"")):(f=1q(19),d=m?19.1N(y,""):""),""===d&&(d=a 1x r?r[a]:c),19=f||0===f?(g?f+h:f)+d:e[a],c!==d&&""!==d&&(f||0===f)&&h&&(h=$(t,a,h,c),"%"===d?(h/=$(t,a,1M,"%")/1M,e.8D!==!0&&(p=h+"%")):"em"===d?h/=$(t,a,1,"em"):"2j"!==d&&(f=$(t,a,f,d),d="2j"),g&&(f||0===f)&&(19=f+h+d)),g&&(f+=h),!h&&0!==h||!f&&0!==f?2y 0!==v[a]&&(19||"cG"!=19+""&&1g!=19)?(i=1j ce(v,a,f||h||0,0,i,-1,a,!1,0,p,19),i.1U="3E"!==19||"6S"!==a&&-1===a.1m("cH")?19:p):U("cI "+a+" 3V cF: "+e[a]):(i=1j ce(v,a,h,f-h,i,0,a,u!==!1&&("2j"===d||"4c"===a),0,p,19),i.1U=d)):i=5l(v,a,p,19,!0,1g,i,0,n)),n&&i&&!i.2L&&(i.2L=n);1a i},h.1Y=18(t){1b e,i,r,s=15.1s,n=1e-6;1c(1!==t||15.3u.1p!==15.3u.1D&&0!==15.3u.1p)1c(t||15.3u.1p!==15.3u.1D&&0!==15.3u.1p||15.3u.1B===-1e-6)1d(;s;){1c(e=s.c*t+s.s,s.r?e=1i.3P(e):n>e&&e>-n&&(e=0),s.2f)1c(1===s.2f)1c(r=s.l,2===r)s.t[s.p]=s.1U+e+s.4h+s.3Y+s.6g;1o 1c(3===r)s.t[s.p]=s.1U+e+s.4h+s.3Y+s.6g+s.6L+s.6N;1o 1c(4===r)s.t[s.p]=s.1U+e+s.4h+s.3Y+s.6g+s.6L+s.6N+s.8Q+s.8V;1o 1c(5===r)s.t[s.p]=s.1U+e+s.4h+s.3Y+s.6g+s.6L+s.6N+s.8Q+s.8V+s.cE+s.cA;1o{1d(i=s.1U+e+s.4h,r=1;s.l>r;r++)i+=s["3r"+r]+s["38"+(r+1)];s.t[s.p]=i}1o-1===s.2f?s.t[s.p]=s.1U:s.1Y&&s.1Y(t);1o s.t[s.p]=e+s.1U;s=s.1h}1o 1d(;s;)2!==s.2f?s.t[s.p]=s.b:s.1Y(t),s=s.1h;1o 1d(;s;){1c(2!==s.2f)1c(s.r&&-1!==s.2f)1c(e=1i.3P(s.s+s.c),s.2f){1c(1===s.2f){1d(r=s.l,i=s.1U+e+s.4h,r=1;s.l>r;r++)i+=s["3r"+r]+s["38"+(r+1)];s.t[s.p]=i}}1o s.t[s.p]=e+s.1U;1o s.t[s.p]=s.e;1o s.1Y(t);s=s.1h}},h.cB=18(t){15.3I=15.3I||4N(15.7Z,s,!0),15.4k=15.3I.2v&&3p||!t&&3!==15.4k?2:3};1b 8m=18(){15.t[15.p]=15.e,15.1y.5y(15,15.1h,1g,!0)};h.6l=18(t,e,i){1b r=15.1s=1j ce(t,e,0,0,15.1s,2);r.e=i,r.1Y=8m,r.1y=15},h.5y=18(t,e,i,r){1a t&&(e&&(e.1n=t),t.1h&&(t.1h.1n=t.1n),t.1n?t.1n.1h=t.1h:15.1s===t&&(15.1s=t.1h,r=!0),i?i.1h=t:r||1g!==15.1s||(15.1s=t),t.1h=e,t.1n=i),t},h.2s=18(e){1b i,r,s,n=e;1c(e.5F||e.3U){n={};1d(r 1x e)n[r]=e[r];n.2a=1,n.5F&&(n.7r=1)}1a e.3M&&(i=15.7E)&&(s=i.46,s&&s.1n?15.5y(s.1n,i.1h,s.1n.1n):s===15.1s&&(15.1s=i.1h),i.1h&&15.5y(i.1h,i.1h.1h,s.1n),15.7E=1g),t.1A.2s.2h(15,n)};1b 53=18(t,e,i){1b r,s,n,a;1c(t.cC)1d(s=t.1f;--s>-1;)53(t[s],e,i);1o 1d(r=t.8c,s=r.1f;--s>-1;)n=r[s],a=n.2f,n.1v&&(e.24(K(n)),i&&i.24(n)),1!==a&&9!==a&&11!==a||!n.8c.1f||53(n,e,i)};1a a.cD=18(t,i,r){1b s,n,a,o,l=e.4p(t,i,r),h=[l],u=[],f=[],p=[],19=e.5f.9C;1d(t=l.2N||l.2J,53(t,u,p),l.1G(i,!0,!0),53(t,f),l.1G(0,!0,!0),l.1H(!0),s=p.1f;--s>-1;)1c(n=J(p[s],u[s],f[s]),n.4R){n=n.5O;1d(a 1x r)19[a]&&(n[a]=r[a]);o={};1d(a 1x n)o[a]=u[s][a];h.24(e.5Z(p[s],i,o,n))}1a h},t.6O([a]),a},!0)}),1J.3J&&1J.3t.4K()(),18(t){"4I 4J";1b e=18(){1a(1J.5r||1J)[t]};"18"==1k 3H&&3H.6R?3H(["3A"],e):"37"!=1k 2k&&2k.3n&&(8i("../3A.6V"),2k.3n=e())}("9L");',62,901,"|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||this|||function|_|return|var|if|for||length|null|_next|Math|new|typeof|_startTime|indexOf|_prev|else|_time|parseFloat|_timeline|_firstPT|split|substr|style|vars|in|data|charAt|prototype|_rawPrevTime|_timeScale|_duration|_totalTime|_paused|render|_enabled|join|_gsScope|_gc|0px|100|replace|string|Number|xe|255|yPercent|xPercent|xs0|add|rotation|immediateRender|setRatio|_startAt||skewX|rotationX|_p1|push||timeline|totalDuration|_first|rotationY|opacity|ge|yOrigin|xOrigin||type|parser|call|_totalDuration|px|module|_active|auto|arguments|_p2|instanceof|scaleX|smoothChildTiming|_kill|sin|_initted|svg|pr|filter|void|_dirty|easing|duration|getRatio|width|number|_reversed|scaleY|ne|defaultValue|target|_delay|plugin|_ease|_targets|match|_overwriteProps|transform|totalTime|cos|skewY|_labels|constructor|paused|5625|128|lazy||parse|zOrigin||Se|test|scaleZ|undefined|xs|prefix|perspective|_siblings|splice|format|currentStyle|sqrt|wake|xOffset|_last|height|_lazy|parseInt|_uncache|exports|startAt|Te|time|xn|yOffset|_gsQueue|_tween|matrix|_gsTransform|ratio|config|_overwrittenProps|TweenLite|cssText|frame|180|none|_parseTimeOrLabel|global|define|_transform|_gsDefine|_p3|pow|className|autoRemoveChildren|_onUpdate|round|gi|kill|nodeType|_calcEnd|alpha|tween|ue|tweens|xn1|onReverseComplete|_remove|seek|Array|window|oe||xfirst|force3D|selector|API|_propLookup|setAttribute|zIndex|delete|ease|appendXtra|rawTime|xs1|apply|_callback|_transformType|class|multi|_listeners|getPropertyValue|to|object|re|getBBox|dflt|parseComplex|delayedCall|border|skewType|reversed|position|all|onUpdate|getTweensOf|RegExp|onComplete|delay|color|invalidate|use|strict|pop|transparent|version|Ie|concat|Oe|set|firstMPT|PI|top|getAttribute|_sortChildren|_recent|offsetWidth|offsetHeight|Ye||left|document|Ue|_gsClassPT||_notifyPluginsOfEnabled|css|_forcingPlayhead|sc|ke|translate|isActive|runBackwards|overwrite|_internals|_pauseTime|onStart|removeAttribute|scale|atan2|me|_initProps|onOverwrite|greensock|com|plugins|GreenSockGlobals|callbackScope|_propName|pg|self|formatter|transformOrigin|_linkCSSP|keyword|easeInOut|isPause|gsClass|prev|next|autoAlpha|easeIn|le|createElementNS|parentNode|9999999999|ze|repeat|core|difs|rxp|toUpperCase|_swapSelfInParams|_onInitAllProps|abs|ieOffsetX|1e5|01|getChildren|192|fromTo||remove|_e|ox|_onPluginEvent|appendChild|ieOffsetY|sleep|pe|easeParams|ms|_gsTweenID|hidden|he|rgb|Ticker|xs2|tick|toLowerCase|setTimeout|solid|_addLazySet|360|priority|ve|origin|from|hsl|onCompleteParams|inherit|se|Pe|001|000|oy|DXImageTransform|Matrix|Microsoft|borderTopWidth|Fe|Re|Ce|staggerTo|defaultTransformPerspective|Xe|cssFloat|Left|xn2|timeScale|xs3|activate|SlowMo|check|amd|display|fps|easeOut|js|9375|984375|625|rgba|globals|_gsCache|_onInitTween|_lastParsedTransform|_priority||isNaN|center|ticker|suffixMap|_params|_func|_hasPausedChild|console|lagSmoothing|pause|throw|TweenMax|_easeType|_overwrite|fe|useFrames|shortRotationY|autoCSS|_init|_short|padding|visibility|rotationZ|shortRotation|we|shortRotationX|svgOrigin|_onDisable|autoSleep|De|_power|defaultEase|_type|body|_classNamePT|removeChild|rect|margin|inset|absolute|_vars|WebkitBackfaceVisibility|autoRound|defaultView|defaultOverwrite|play|log|_eventTarget|exec|Quad|je|directionalRotation|Cannot|jQuery|transformPerspective|_target|reverse|Be|isFromStart|red|Date|insert|Right|addLabel|filters|ye|Top|te|childNodes|bottom|right|Width|removeLabel|Scope|require|useRAF|gap|1e3|Ve|_rootFramesTimeline|borderLeft|EventDispatcher|events|_easePower|TimelineLite|random|break|dispatchEvent|_p|Back|register|_class|Ease|strength|template|strictUnits|2e3|url|defaultSkewType|_updateRoot|Params|_contains|Ne|zoom|startTime|Ee|TweenPlugin|get|xn3|ie|smoothOrigin|shiftChildren|GreenSockAMDPath|xs4|SteppedEase|RoughEase|map|up||querySelectorAll|borderLeftWidth|Animation|Android|SimpleTimeline|onReverseCompleteParams|matrix3d|marginBottom|getCTM|Ae|defaultSmoothOrigin|styleFloat|org|clrs|marginRight|isSelector|not|_onEnable|Transform|w3|www|http|defaultForce3D|Linear|marginLeft|M22|M21|M12|M11|oxp|oyp|999|Dy|Dx|simple|progid|tan|reservedProps|func|Me|useSVGTransformAttr|_roundProps|init|translate3d|propName|120|CSSPlugin|getBoundingClientRect|removeProperty|Le|lazyRender|Plugin|parseTransform|autoRotate|proxy|webkit|addEventListener|black|marginTop|isArray|lazyTweens|exportRoot|toString|normal|_super|definition|500|_addTween|525|CancelRequestAnimationFrame|tweenLookup|resume|eventCallback|onRepeatScope|999999999999||getElementById|start|restart|usesFrames|killTweensOf|sequence|overwriteProps|_plugins|swing|clearTimeout|_rootTimeline|killDelayedCallsTo|repeatDelay|false|onCompleteScope|allOnStart|preexisting|cancelAnimationFrame|staggerFrom|illegal|Object|_tempKill|staggerFromTo|yoyo|min|initAll|004|70158|easeNone|1500|requestAnimationFrame|concurrent|encountered|Quint|now|pauseCallback|Strong|jquery|endTime|onReverseCompleteScope|recent|insertMultiple|continue|Quart|_autoCSS|onUpdateParams|onStartScope|onStartParams|stagger|getLabelTime|addPause|stop|onUpdateScope|appendMultiple|gotoAndStop|align|gotoAndPlay|Power|append|it|the||dependency|is|onRepeatParams|into|missing|CancelAnimationFrame|GSAP|removeEventListener|BackOut|true|RequestAnimationFrame|moz|totalProgress|getTime|Cubic|clear|progress|on|or|onRepeat|linear|_dummyGS|file|BackIn|Alpha|set3DTransformRatio|setTransformRatio|expand|sizingMethod|chrome|getTransform|359|270|shortRotationZ|block|borderTop|backgroundPosition|background|backgroundPositionX|borderBottomLeftRadius|borderBottomRightRadius|boxShadow|borderRadius|borderTopLeftRadius|borderTopRightRadius|documentElement|setAttributeNS|parseColor|hsla|_setPluginRatio|_parseToProxy|cyan|203|gray|purple|green|pink|end|pt|loaded|registerSpecialProp||SVGElement|2000|Error|_cssRegister|CSSPropTween|collapsible|_registerComplexSpecialProp|backgroundPositionY|backgroundImage|physicsProps|physics2D|visible|fill|throwProps|bezier|radient|oader|pacity|clearProps|stroke|Color|xs5|_enableTransforms|slice|cascadeTo|xn4|value|NaN|Style|invalid|atrix|float|paddingTop|paddingRight|paddingBottom|paddingLeft|userSelect|backfaceVisibility|src|backgroundSize|perspectiveOrigin|transformStyle|clip|clipTop|borderTopColor|borderWidth|borderRightWidth|borderBottomWidth|borderTopStyle|textShadow|clipRight|clipBottom|clipLeft|165|gradient|1999|Z0|xhtml|createElement|div|zA||lineHeight|find|orange|compensated|fontSize|img|_specialProps|Trident|MSIE|points|taper|1px|Firefox|Version|navigator|userAgent|Safari|Chrome|EaseLookup|SineInOut|randomize|clamp|Circ|CircOut|CircIn|out|sort|Bounce|BounceOut|BounceIn|BounceInOut|CircInOut|asin|ExpoInOut|ExpoIn|Sine|SineOut|SineIn|ExpoOut|Expo|Elastic|ElasticOut|ElasticIn|ElasticInOut|999999999|rv|_cw|short|convertToPixels|ccw|getStyle|lime|getComputedStyle|aqua|rad|oyr|calculateOffset|cacheWidths|clientHeight|offset|Origin||clientWidth|oxr|Bottom|line|Webkit|BackInOut|silver||white|fuchsia|yellow|olive|blue|navy|maroon|Ms|Moz|teal".split("|"),0,{}));eval(function(n,t,i,r,u){for(u=function(n){return(n<t?"":u(parseInt(n/t)))+((n=n%t)>35?String.fromCharCode(n+29):n.toString(36))};i--;)r[i]&&(n=n.replace(new RegExp("\\b"+u(i)+"\\b","g"),r[i]));return n}('20 1Z={27:[{j:"13 N E",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"r"}},{j:"13 N r",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"E"}},{j:"13 N L",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"J"}},{j:"13 N J",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"1e",a:G,h:"L"}},{j:"26",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"1e",a:G,h:"r"}},{j:"Z R o",d:[2,4],g:[4,7],f:{e:1k,i:"o"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R D",d:[2,4],g:[4,7],f:{e:1k,i:"D"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R 1j-o",d:[2,4],g:[4,7],f:{e:1k,i:"1j-o"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R 1j-D",d:[2,4],g:[4,7],f:{e:1k,i:"1j-D"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"Z R (k)",d:[2,4],g:[4,7],f:{e:1k,i:"k"},c:{n:"14",b:"z",a:G,h:"r"}},{j:"1y 1H N E",d:1,g:1s,f:{e:25,i:"D"},c:{n:"14",b:"1X",a:V,h:"r"}},{j:"1y 1H N r",d:1,g:1s,f:{e:25,i:"o"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y 1H N L",d:1s,g:1,f:{e:25,i:"1j-D"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y 1H N J",d:1s,g:1,f:{e:25,i:"1j-o"},c:{n:"14",b:"w",a:V,h:"r"}},{j:"1y Y N E",d:1,g:25,f:{e:1k,i:"D"},c:{n:"W",b:"w",a:1g,h:"r"}},{j:"1y Y N r",d:1,g:25,f:{e:1k,i:"o"},c:{n:"W",b:"w",a:1g,h:"E"}},{j:"1y 1W N L",d:25,g:1,f:{e:1k,i:"1j-D"},c:{n:"W",b:"w",a:1g,h:"J"}},{j:"1y Y N J",d:25,g:1,f:{e:1k,i:"1j-o"},c:{n:"W",b:"w",a:1g,h:"L"}},{j:"13 R m E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"E"}},{j:"13 R m r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"r"}},{j:"13 R m L (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"L"}},{j:"13 R m J (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"J"}},{j:"13 k R m k 1S",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"W",b:"z",a:1m,h:"k"}},{j:"13 d m E (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m E (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m E (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 d m r (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d m r (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d m r (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 d N J m L (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 d N J m L (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 d N L m J (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 d N L m J (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m L (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m L (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m L (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"L"}},{j:"13 P m J (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m J (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P m J (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"J"}},{j:"13 P N r m E (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 P N r m E (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"E"}},{j:"13 P N E m r (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"13 P N E m r (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"W",b:"w",a:p,h:"r"}},{j:"Z v Y R m E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"E"}},{j:"Z v Y R m r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"r"}},{j:"Z v Y R m L (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"L"}},{j:"Z v Y R m J (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"J"}},{j:"Z v Y k R m k 1S",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"k"}},{j:"Z v Y R N J-r (o)",d:[2,4],g:[4,7],f:{e:1f,i:"o"},c:{n:"Q",b:"z",a:1m,h:"1V"}},{j:"Z v Y R N L-E (D)",d:[2,4],g:[4,7],f:{e:1f,i:"D"},c:{n:"Q",b:"z",a:1m,h:"21"}},{j:"Z v Y R N J-E (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"1T"}},{j:"Z v Y R N L-r (k)",d:[2,4],g:[4,7],f:{e:1f,i:"k"},c:{n:"Q",b:"z",a:1m,h:"1U"}},{j:"Z v Y d m E (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m E (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m E (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y d m r (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d m r (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d m r (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y d N J m L (o)",d:[7,11],g:1,f:{e:1d,i:"o"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y d N J m L (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y d N L m J (D)",d:[7,11],g:1,f:{e:1d,i:"D"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y d N L m J (k)",d:[7,11],g:1,f:{e:1d,i:"k"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m L (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m L (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m L (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"L"}},{j:"Z v Y P m J (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m J (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P m J (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"J"}},{j:"Z v Y P N r m E (o)",d:1,g:[12,16],f:{e:q,i:"o"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y P N r m E (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"E"}},{j:"Z v Y P N E m r (D)",d:1,g:[12,16],f:{e:q,i:"D"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"Z v Y P N E m r (k)",d:1,g:[12,16],f:{e:q,i:"k"},c:{n:"Q",b:"w",a:p,h:"r"}},{j:"1u",d:1,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u d",d:4,g:1,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u g",d:1,g:4,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1u R A",d:3,g:4,f:{e:1s,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5,y:x}},{j:"1u R F",d:3,g:4,f:{e:1s,i:"o"},c:{n:"Q",b:"1e",a:V,h:"J",1h:.5,u:-x}},{j:"1u-1I R A",d:3,g:4,f:{e:15,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5,y:x}},{j:"1u-1I R F",d:3,g:4,f:{e:15,i:"o"},c:{n:"Q",b:"1e",a:V,h:"J",1h:.5,u:-x}},{j:"1u 1I d",d:4,g:1,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"E",1h:.5}},{j:"1u 1I g",d:1,g:4,f:{e:1f,i:"o"},c:{n:"Q",b:"1e",a:V,h:"r",1h:.5}},{j:"1c f N r",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"E",y:x}},{j:"1c f N E",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"r",y:-x}},{j:"1c f N J",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"L",u:-x}},{j:"1c f N L",d:1,g:1,f:{e:0,i:"o"},c:{n:"W",b:"z",a:V,h:"J",u:x}},{j:"1c R N r",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1c R N E",d:[3,4],g:[3,4],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1c R N J",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1c R N L",d:[3,4],g:[3,4],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1c d N J",d:[6,12],g:1,f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1c d N L",d:[6,12],g:1,f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1c g N r",d:1,g:[6,12],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1c g N E",d:1,g:[6,12],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1v d N r",d:[3,10],g:1,f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",y:x}},{j:"1v d N E",d:[3,10],g:1,f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",y:-x}},{j:"1v g N J",d:1,g:[3,10],f:{e:19,i:"o"},c:{n:"14",b:"z",a:V,h:"r",u:-x}},{j:"1v g N L",d:1,g:[3,10],f:{e:19,i:"D"},c:{n:"14",b:"z",a:V,h:"r",u:x}},{j:"1v v 1z f N r",d:1,g:1,f:{e:q,i:"o"},c:{n:"Q",b:"z",a:V,h:"E",1h:.1,1r:-x,y:x}},{j:"1v v 1z f N E",d:1,g:1,f:{e:q,i:"o"},c:{n:"Q",b:"z",a:V,h:"r",1h:.1,1r:x,y:-x}},{j:"1v v 1z R N r",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"Q",b:"z",a:V,h:"E",1r:-1w}},{j:"1v v 1z R N E",d:[3,4],g:[3,4],f:{e:19,i:"o"},c:{n:"Q",b:"z",a:V,h:"r",1r:-1w}},{j:"1v v 1z R N k",d:[3,4],g:[3,4],f:{e:19,i:"k"},c:{n:"Q",b:"z",a:V,h:"k",1r:-1w}},{j:"B f 1O",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"z",a:1a,h:"r",1h:.8}},{j:"B f N 1L",d:1,g:1,f:{e:0,i:"o"},c:{n:"14",b:"w",a:1a,h:"r",1h:1.2}},{j:"B R k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:.1}},{j:"B R N 1L k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:2}},{j:"B 1O v 1z R k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:.1,1r:x}},{j:"B v 1z R N 1L k",d:[3,4],g:[3,4],f:{e:1s,i:"k"},c:{n:"14",b:"z",a:V,h:"r",1h:2,1r:-x}},{j:"1D-Y R 24",d:3,g:4,f:{e:15,i:"o"},c:{n:"W",b:"w",a:1Y,h:"1T"}},{j:"1D-Y d A",d:6,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"r"}},{j:"1D-Y d F",d:6,g:1,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"J"}},{j:"1D-Y g A",d:1,g:8,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"r"}},{j:"1D-Y g F",d:1,g:8,f:{e:0,i:"o"},c:{n:"Q",b:"z",a:V,h:"J"}}],23:[{j:"1b f m E (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:1E},b:"1F",a:G,h:"A"},C:{c:{y:l},b:"z",a:G,h:"A"}},{j:"1b f m r (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:-1E},b:"1F",a:G,h:"A"},C:{c:{y:-l},b:"z",a:G,h:"A"}},{j:"1b f m L (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:-1E},b:"1F",a:1x,h:"F"},C:{c:{u:-l},b:"z",a:1x,h:"F"}},{j:"1b f m J (l&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:1E},b:"1F",a:1x,h:"F"},C:{c:{u:l},b:"z",a:1x,h:"F"}},{j:"1b R m E (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:G,h:"A"}},{j:"1b R m r (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},s:{c:{y:-l},b:"w",a:G,h:"A"}},{j:"1b R m L (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b R m J (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1G,h:"A"}},{j:"1C S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},s:{c:{u:l},b:"w",a:1G,h:"F"}},{j:"B v S R m E (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S R m r (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S R m L (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v S R m J (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},M:{c:{I:.1A},a:1l,b:"18"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1A,u:1k},a:1l,b:"18"},s:{c:{y:l,u:-1k},b:"H",a:1G,h:"A"},C:{c:{u:0},a:1g,b:"H"}},{j:"B v F S R k (l&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1A,y:-15},a:1l,b:"18"},s:{c:{u:l,y:15},b:"H",a:1G,h:"F"},C:{c:{y:0},a:1g,b:"H"}},{j:"1b d m E (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b d m r (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b d m L (l&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b d m J (l&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S d k (l&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1C S d k (l&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1C S d k (1J&#t;)",d:[3,7],g:1,f:{e:1Q,i:"k"},s:{c:{u:-1J},b:"w",a:1R,h:"F"}},{j:"B v S d m E (l&#t;)",d:[5,9],g:1,f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m r (l&#t;)",d:[5,9],g:1,f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m L (l&#t;)",d:[5,9],g:1,f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v S d m J (l&#t;)",d:[5,9],g:1,f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"w",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A S d k (l&#t;)",d:[5,9],g:1,f:{e:19,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:1p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F S d k (l&#t;)",d:[5,9],g:1,f:{e:19,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"1b P m E (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b P m r (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b P m L (l&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{u:-l},b:"w",a:G,h:"F"}},{j:"1b P m J (l&#t;)",d:1,g:[5,9],f:{e:q,i:"D"},s:{c:{u:l},b:"w",a:G,h:"F"}},{j:"1B S P k (l&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1C S P k (l&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1B S P k (1J&#t;)",d:1,g:[4,9],f:{e:1Q,i:"k"},s:{c:{y:1J},b:"w",a:1R,h:"A"}},{j:"B v S P m E (l&#t;)",d:1,g:[7,11],f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"w",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m r (l&#t;)",d:1,g:[7,11],f:{e:19,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"w",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m L (l&#t;)",d:1,g:[7,11],f:{e:19,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v S P m J (l&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A S P k (l&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:p,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F S P k (l&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:1p,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"1N 1P 1M v S m E (l&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O,u:-1k},a:p,b:"z"},s:{c:{u:-1k,y:l},b:"w",a:G,h:"A"},C:{c:{u:0,e:X},b:"z",a:p}},{j:"1N 1P 1M v S m r (l&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O,u:-1k},a:p,b:"z"},s:{c:{u:1k,y:-l},b:"w",a:G,h:"A"},C:{c:{u:0,e:X},b:"z",a:p}},{j:"1c 1t m E (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"1c 1t m r (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{y:-x},b:"w",a:1a,h:"A"}},{j:"1c 1t m L (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:-x},b:"w",a:1a,h:"F"}},{j:"1c 1t m J (x&#t;)",d:1,g:1,f:{e:q,i:"o"},s:{c:{u:x},b:"w",a:1a,h:"F"}},{j:"B v 17 1t m E (x&#t;)",d:1,g:1,f:{e:q,i:"k"},s:{c:{I:.8,1r:7,u:10,y:1w},b:"1e",a:1x,h:"A"},C:{c:{1r:0,u:0,y:x},a:1x,b:"1e"}},{j:"B v 17 1t m r (x&#t;)",d:1,g:1,f:{e:q,i:"k"},s:{c:{I:.8,1r:-7,u:10,y:-1w},b:"1e",a:1x,h:"A"},C:{c:{1r:0,u:0,y:-x},a:1x,b:"1e"}},{j:"B v 17 1n m E (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"o"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v 17 1n m r (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"D"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:-x},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v 17 1n m L (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v 17 1n m J (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A 17 1n k (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1i,u:-15},a:1o,b:"18"},s:{c:{y:q,u:15},b:"H",a:1o,h:"A"},C:{c:{y:x,u:0},a:1o,b:"H"}},{j:"B v F 17 1n k (x&#t;)",d:[2,4],g:[4,7],f:{e:q,i:"k"},M:{c:{I:.1i,y:15},a:1o,b:"18"},s:{c:{u:q,y:-15},b:"H",a:1o,h:"F"},C:{c:{u:x,y:0},a:1o,b:"H"}},{j:"1c d m E (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"1c d m r (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},s:{c:{y:-x},b:"w",a:1a,h:"A"}},{j:"1B 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},s:{c:{y:x},b:"w",a:1a,h:"A"}},{j:"B v 17 d m E (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:22,u:0},b:"H",a:G,h:"A"},C:{c:{e:X,y:x},b:"K",a:p}},{j:"B v 17 d m r (x&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:-x,u:0},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 d m L (x&#t;)",d:[5,9],g:1,f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 d m J (x&#t;)",d:[5,9],g:1,f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:x,u:0},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 d k (x&#t;)",d:[5,9],g:1,f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 1K d m E (x&#t;)",d:[7,11],g:1,f:{e:q,i:"o"},s:{c:{I:.O,u:5,y:1w},b:"18",a:G,h:"A"},C:{c:{u:0,y:x},b:"18",a:G}},{j:"B v A 17 1K d m r (x&#t;)",d:[7,11],g:1,f:{e:q,i:"D"},s:{c:{I:.O,u:5,y:-1w},b:"18",a:G,h:"A"},C:{c:{u:0,y:-x},b:"18",a:G}},{j:"1c P m L (x&#t;)",d:1,g:[5,9],f:{e:q,i:"o"},s:{c:{u:-x},b:"w",a:G,h:"F"}},{j:"1c P m J (x&#t;)",d:1,g:[5,9],f:{e:q,i:"D"},s:{c:{u:x},b:"w",a:G,h:"F"}},{j:"1C 17 P k (x&#t;)",d:1,g:[5,9],f:{e:q,i:"k"},s:{c:{u:-x},b:"w",a:G,h:"F"}},{j:"B v 17 P m L (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m J (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m E (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v 17 P m r (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v A 17 P k (x&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:x},b:"H",a:G,h:"A"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 P k (x&#t;)",d:1,g:[7,11],f:{e:q,i:"k"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-x},b:"H",a:G,h:"F"},C:{c:{e:X},b:"K",a:p}},{j:"B v F 17 1K P m E (x&#t;)",d:1,g:[7,11],f:{e:q,i:"o"},s:{c:{I:.O,u:1w,y:-5},b:"18",a:G,h:"F"},C:{c:{u:x,y:0},b:"18",a:G}},{j:"B v F 17 1K P m r (x&#t;)",d:1,g:[7,11],f:{e:q,i:"D"},s:{c:{I:.O,u:-1w,y:-5},b:"18",a:G,h:"F"},C:{c:{u:-x,y:0},b:"18",a:G}},{j:"1b 1t m E (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{y:l},b:"w",a:1a,h:"A"}},{j:"1b 1t m r (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{y:-l},b:"w",a:1a,h:"A"}},{j:"1b 1t m L (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{u:-l},b:"w",a:1a,h:"F"}},{j:"1b 1t m J (l&#t;, T U)",d:1,g:1,f:{e:q,i:"o",U:"T"},s:{c:{u:l},b:"w",a:1a,h:"F"}},{j:"B v S 1n m E (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"o",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S 1n m r (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"D",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{a:1g,b:"H"}},{j:"B v S 1n m L (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"1j-o",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v S 1n m J (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"1j-D",U:"T"},M:{c:{I:.O},a:1l,b:"18"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{a:1g,b:"H"}},{j:"B v A S 1n k (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"k",U:"T"},M:{c:{I:.1i},a:1o,b:"18"},s:{c:{y:l},b:"H",a:1o,h:"A"},C:{a:1o,b:"H"}},{j:"B v F S 1n k (l&#t;, T U)",d:[2,4],g:[4,7],f:{e:q,i:"k",U:"T"},M:{c:{I:.1i},a:1o,b:"18"},s:{c:{u:l},b:"H",a:1o,h:"F"},C:{a:1o,b:"H"}},{j:"B v S d m E (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"o",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v S d m r (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"D",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:-l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v S d m L (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S d m J (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v A S d k (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"k",U:"T"},M:{c:{I:.O,u:3},a:p,b:"K"},s:{c:{y:l,u:-3},b:"w",a:1p,h:"A"},C:{c:{e:X,u:0},b:"z",a:1q}},{j:"B v F S d k (l&#t;, T U)",d:[5,9],g:1,f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"H",a:G,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m L (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m J (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m E (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"o",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v S P m r (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"D",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:-l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v A S P k (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{y:l},b:"H",a:G,h:"A"},C:{c:{e:X},b:"z",a:1q}},{j:"B v F S P k (l&#t;, T U)",d:1,g:[7,11],f:{e:1i,i:"k",U:"T"},M:{c:{I:.O},a:p,b:"K"},s:{c:{u:-l},b:"w",a:1p,h:"F"},C:{c:{e:X},b:"z",a:1q}}]}',62,132,"||||||||||duration|easing|transition|rows|delay|tile|cols|direction|sequence|name|random|180|to|type|forward|600|75|left|animation|176|rotateX|and|easeInOutQuart|90|rotateY|easeOutQuart|horizontal|Scaling|after|reverse|right|vertical|1e3|easeInOutBack|scale3d|top|easeOutBack|bottom|before|from|85|columns|mixed|tiles|spinning|large|depth|750|slide|200|sliding|Fading||||Sliding|fade|||turning|easeInOutQuint|55|1500|Spinning|Turning|100|easeInOutQuad|50|350|scale|65|col|30|450|500|cuboids|700|1200|400|rotate|35|cuboid|Carousel|Flying|45|800|Smooth|rotating|95|Horizontal|Vertical|Mirror|91|easeInQuart|1300|fading|mirror|540|drunk|out|scaling|Drunk|in|colums|150|2e3|directions|topright|bottomleft|topleft|sliging|linear|850|layerSliderTransitions|var|bottomright|87|t3d|diagonal||Crossfading|t2d".split("|"))),function(n){var r;if(typeof kmGS!="undefined")for(r in kmGS)this[r]=kmGS[r];n.fn.layerSlider=function(i){var u=n.fn.jquery,e=n(this),o=function(n,t){for(var r=n.split("."),u=t.split("."),i=0;i<r.length;++i){if(u.length==i)return!1;if(parseInt(r[i])==parseInt(u[i]))continue;else return parseInt(r[i])>parseInt(u[i])?!1:!0}return r.length!=u.length,!0},f,r;if(o("1.8.0",u)||e.addClass("ls-norotate"),o("1.7.0",u)){if((typeof i).match("object|undefined"))return this.each(function(){new t(this,i)});if(i==="data"){if(f=n(this).data("LayerSlider").g,f)return f}else if(i==="userInitData"){if(r=n(this).data("LayerSlider").o,r)return r}else if(i==="defaultInitData"){if(r=n(this).data("LayerSlider").defaults,r)return r}else return this.each(function(){var t=n(this).data("LayerSlider");if(t){if(!t.g.isAnimating&&!t.g.isLoading)if(typeof i=="number")i>0&&i<t.g.layersNum+1&&i!=t.g.curLayerIndex&&t.change(i);else switch(i){case"prev":t.o.cbPrev(t.g);t.prev("clicked");break;case"next":t.o.cbNext(t.g);t.next("clicked");break;case"start":t.g.autoSlideshow||(t.o.cbStart(t.g),t.g.originalAutoSlideshow=!0,t.start())}i==="redraw"&&t.resize();(t.g.autoSlideshow||!t.g.autoSlideshow&&t.g.originalAutoSlideshow)&&i=="stop"&&(t.o.cbStop(t.g),t.g.originalAutoSlideshow=!1,t.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').each(function(){clearTimeout(n(this).data("videoTimer"))}),t.stop());i=="forceStop"&&t.forcestop()}})}else lsShowNotice(e,"oldjquery",u)};var t=function(r,o){var h=this;h.$el=n(r).addClass("ls-container");h.$el.data("LayerSlider",h);h.load=function(){h.defaults=t.options;h.o=n.extend({},h.defaults,o);h.g=n.extend({},t.global);h.lt=n.extend({},t.layerTransitions);h.st=n.extend({},t.slideTransitions);h.g.enableCSS3=n(r).hasClass("ls-norotate")?!1:!0;h.g.originalMarkup=n(r).html();h.g.ie78&&(h.o.lazyLoad=!1);h.o.autoPauseSlideshow==="enabled"&&(h.o.autoPauseSlideshow=!0);h.o.autoPauseSlideshow==="disabled"&&(h.o.autoPauseSlideshow=!1);typeof layerSliderTransitions!="undefined"&&(h.t=n.extend({},layerSliderTransitions));typeof layerSliderCustomTransitions!="undefined"&&(h.ct=n.extend({},layerSliderCustomTransitions));h.g.initialized||(h.g.initialized=!0,n("html").find('meta[content*="WordPress"]').length&&(h.g.wpVersion=n("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]),n("html").find('script[src*="layerslider"]').length&&n("html").find('script[src*="layerslider"]').attr("src").indexOf("?")!=-1&&(h.g.lswpVersion=n("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]),h.o.skin&&h.o.skin!=""&&h.o.skinsPath&&h.o.skinsPath!=""&&n(r).addClass("ls-"+h.o.skin),h.g.loaded=!0,h.init())};h.init=function(){var s,f,e,t,v,l,a,o,u;if(n(r).prependTo(n(h.o.prependTo)),n("html").attr("id")?n("body").attr("id")||n("body").attr("id","ls-global"):n("html").attr("id","ls-global"),h.g.isMobile()===!0&&h.o.hideOnMobile===!0&&(n(r).addClass("ls-forcehide"),n(r).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide")),s=function(){h.o.hideOnMobile===!0&&h.g.isMobile()===!0?(n(r).addClass("ls-forcehide"),n(r).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),h.o.autoStart=!1):n(window).width()<h.o.hideUnder||n(window).width()>h.o.hideOver?(n(r).addClass("ls-forcehide"),n(r).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide")):(n(r).removeClass("ls-forcehide"),n(r).closest(".ls-wp-fullwidth-container").removeClass("ls-forcehide"))},n(window).resize(function(){s()}),s(),h.g.sliderWidth=function(){return n(r).width()},h.g.sliderHeight=function(){return n(r).height()},n(r).find(".ls-layer").removeClass("ls-layer").addClass("ls-slide"),n(r).find('.ls-slide > *[class*="ls-s"]').each(function(){var t=n(this).attr("class").split("ls-s")[1].split(" ")[0];n(this).removeClass("ls-s"+t).addClass("ls-l"+t)}),h.o.firstLayer&&(h.o.firstSlide=h.o.firstLayer),h.o.animateFirstLayer===!1&&(h.o.animateFirstSlide=!1),n(r).find(".ls-slide").length==1&&(h.o.autoStart=!1,h.o.navPrevNext=!1,h.o.navStartStop=!1,h.o.navButtons=!1,h.o.loops=0,h.o.forceLoopNum=!1,h.o.autoPauseSlideshow=!0,h.o.firstSlide=1,h.o.thumbnailNavigation="disabled"),n(r).parent().hasClass("ls-wp-fullwidth-helper")&&h.o.responsiveUnder!==0&&(n(r)[0].style.width="100%"),h.g.sliderOriginalWidthRU=h.o.width?h.g.sliderOriginalWidth=""+h.o.width:h.g.sliderOriginalWidth=n(r)[0].style.width,h.g.sliderOriginalHeight=h.o.height?""+h.o.height:n(r)[0].style.height,h.g.sliderOriginalWidth.indexOf("%")==-1&&h.g.sliderOriginalWidth.indexOf("px")==-1&&(h.g.sliderOriginalWidth+="px"),h.g.sliderOriginalHeight.indexOf("%")==-1&&h.g.sliderOriginalHeight.indexOf("px")==-1&&(h.g.sliderOriginalHeight+="px"),h.g.responsiveMode=h.o.responsive&&h.g.sliderOriginalWidth.indexOf("px")!=-1&&h.g.sliderOriginalHeight.indexOf("px")!=-1?!0:!1,h.o.fullScreen===!0&&(h.o.responsiveUnder=0,h.g.responsiveMode=!0,h.g.sliderOriginalWidth.indexOf("%")!=-1&&(h.g.sliderOriginalWidth=parseInt(h.g.sliderOriginalWidth)+"px"),h.g.sliderOriginalHeight.indexOf("%")!=-1&&(h.g.sliderOriginalHeight=parseInt(h.g.sliderOriginalHeight)+"px")),n(r).find('*[class*="ls-l"], *[class*="ls-bg"]').each(function(){n(this).parent().hasClass("ls-slide")||n(this).insertBefore(n(this).parent())}),n(r).find(".ls-slide").each(function(){n(this).data("index",n(this).index()+1).addClass("ls-slide-"+(n(this).index()+1));n(this).children(':not([class*="ls-"])').each(function(){n(this).remove()});var t=n("<div>").addClass("ls-gpuhack");n(this).find(".ls-bg").length?t.insertAfter(n(this).find(".ls-bg").eq("0")):t.prependTo(n(this))}),n(r).find('.ls-slide, *[class*="ls-l"]').each(function(){var i,r,t,u,f,e;if(n(this).data("ls")||n(this).attr("rel")||n(this).attr("style"))for(i=n(this).data("ls")?n(this).data("ls").toLowerCase().split(";"):n(this).attr("rel")&&n(this).attr("rel").indexOf(":")!=-1&&n(this).attr("rel").indexOf(";")!=-1?n(this).attr("rel").toLowerCase().split(";"):n(this).attr("style").toLowerCase().split(";"),x=0;x<i.length;x++)param=i[x].split(":"),param[0].indexOf("easing")!=-1&&(param[1]=h.ieEasing(param[1])),r="",param[2]&&(r=":"+n.trim(param[2])),param[0]!=" "&&param[0]!=""&&n(this).data(n.trim(param[0]),n.trim(param[1])+r);h.o.startInViewport===!0&&h.o.autoStart===!0&&(h.o.autoStart=!1,h.g.originalAutoStart=!0);t=n(this);t.data("originalLeft",t[0].style.left);t.data("originalTop",t[0].style.top);n(this).is("a")&&n(this).children().length>0&&(t=n(this).children());u=t.width();f=t.height();t[0].style.width&&t[0].style.width.indexOf("%")!=-1&&(u=t[0].style.width);t[0].style.height&&t[0].style.height.indexOf("%")!=-1&&(f=t[0].style.height);t.data("originalWidth",u);t.data("originalHeight",f);t.data("originalPaddingLeft",t.css("padding-left"));t.data("originalPaddingRight",t.css("padding-right"));t.data("originalPaddingTop",t.css("padding-top"));t.data("originalPaddingBottom",t.css("padding-bottom"));e=typeof parseFloat(t.css("opacity"))=="number"?Math.round(parseFloat(t.css("opacity"))*100)/100:1;n(this).data("originalOpacity",e);t.css("border-left-width").indexOf("px")==-1?t.data("originalBorderLeft",t[0].style.borderLeftWidth):t.data("originalBorderLeft",t.css("border-left-width"));t.css("border-right-width").indexOf("px")==-1?t.data("originalBorderRight",t[0].style.borderRightWidth):t.data("originalBorderRight",t.css("border-right-width"));t.css("border-top-width").indexOf("px")==-1?t.data("originalBorderTop",t[0].style.borderTopWidth):t.data("originalBorderTop",t.css("border-top-width"));t.css("border-bottom-width").indexOf("px")==-1?t.data("originalBorderBottom",t[0].style.borderBottomWidth):t.data("originalBorderBottom",t.css("border-bottom-width"));t.data("originalFontSize",t.css("font-size"));t.data("originalLineHeight",t.css("line-height"))}),document.location.hash)for(f=0;f<n(r).find(".ls-slide").length;f++)n(r).find(".ls-slide").eq(f).data("deeplink")==document.location.hash.split("#")[1]&&(h.o.firstSlide=f+1);n(r).find('*[class*="ls-linkto-"]').each(function(){for(var i=n(this).attr("class").split(" "),u,t=0;t<i.length;t++)i[t].indexOf("ls-linkto-")!=-1&&(u=parseInt(i[t].split("ls-linkto-")[1]),n(this).css({cursor:"pointer"}).click(function(t){t.preventDefault();n(r).layerSlider(u)}))});h.g.layersNum=n(r).find(".ls-slide").length;h.o.randomSlideshow&&h.g.layersNum>2?(h.o.firstSlide=="random",h.o.twoWaySlideshow=!1):h.o.randomSlideshow=!1;h.o.firstSlide=="random"&&(h.o.firstSlide=Math.floor(Math.random()*h.g.layersNum+1));h.o.fisrtSlide=h.o.fisrtSlide<h.g.layersNum+1?h.o.fisrtSlide:1;h.o.fisrtSlide=h.o.fisrtSlide<1?1:h.o.fisrtSlide;h.g.nextLoop=1;h.o.animateFirstSlide&&(h.g.nextLoop=0);h.media.youtube.init();h.media.vimeo.init();h.media.html5.init();h.o.animateFirstSlide&&(h.o.firstSlide=h.o.firstSlide-1==0?h.g.layersNum:h.o.firstSlide-1);h.g.curLayerIndex=h.o.firstSlide;h.g.curLayer=n(r).find(".ls-slide:eq("+(h.g.curLayerIndex-1)+")");n(r).find(".ls-slide").wrapAll('<div class="ls-inner"><\/div>');h.g.i=n(r).find(".ls-inner");h.o.showBarTimer&&(h.g.barTimer=n("<div>").addClass("ls-bar-timer").appendTo(h.g.i));h.o.showCircleTimer&&!h.g.ie78&&(h.g.circleTimer=n("<div>").addClass("ls-circle-timer").appendTo(h.g.i),h.g.circleTimer.append(n('<div class="ls-ct-left"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"><\/div><\/div><\/div><\/div><div class="ls-ct-right"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"><\/div><\/div><\/div><\/div><div class="ls-ct-center"><\/div>')));h.g.li=n("<div>").css({zIndex:-1,display:"none"}).addClass("ls-loading-container").appendTo(n(r));n("<div>").addClass("ls-loading-indicator").appendTo(h.g.li);n(r).css("position")=="static"&&n(r).css("position","relative");h.o.globalBGImage?h.g.i.css({backgroundImage:"url("+h.o.globalBGImage+")"}):h.g.i.css({backgroundColor:h.o.globalBGColor});h.o.globalBGColor=="transparent"&&h.o.globalBGImage==!1&&h.g.i.css({background:"none transparent !important"});n(r).find(".ls-slide img").each(function(){if(n(this).removeAttr("width").removeAttr("height"),h.o.imgPreload===!0&&h.o.lazyLoad===!0){if(typeof n(this).data("src")!="string"){n(this).data("src",n(this).attr("src"));var t=h.o.skinsPath+"../css/blank.gif";n(this).attr("src",t)}}else typeof n(this).data("src")=="string"&&(n(this).attr("src",n(this).data("src")),n(this).removeAttr("data-src"))});e=n([]);n(r).find("*:not(.ls-bg)").each(function(){typeof n(this).data("parallaxlevel")!="undefined"&&parseInt(n(this).data("parallaxlevel"))!==0&&(e=e.add(n(this)))});h.g.i.on("mouseenter",function(t){h.g.parallaxStartX=t.pageX-n(this).parent().offset().left;h.g.parallaxStartY=t.pageY-n(this).parent().offset().top});h.g.i.on("mousemove",function(t){var i=n(this).parent().offset().left+h.g.parallaxStartX,r=n(this).parent().offset().top+h.g.parallaxStartY,u=t.pageX-i,f=t.pageY-r;e.each(function(){n(this).css({marginLeft:-u/100*parseInt(n(this).data("parallaxlevel")),marginTop:-f/100*parseInt(n(this).data("parallaxlevel"))})})});h.g.i.on("mouseleave",function(){e.each(function(){TweenLite.to(this,.4,{css:{marginLeft:0,marginTop:0}})})});if(h.o.navPrevNext&&(n('<a class="ls-nav-prev" href="#"><span class="sr-only">Previous Slide<\/span><\/a>').click(function(t){t.preventDefault();n(r).layerSlider("prev")}).appendTo(n(r)),n('<a class="ls-nav-next" href="#"><span class="sr-only">Next Slide<\/span><\/a>').click(function(t){t.preventDefault();n(r).layerSlider("next")}).appendTo(n(r)),h.o.hoverPrevNext&&(n(r).find(".ls-nav-prev, .ls-nav-next").css({display:"none"}),n(r).hover(function(){h.g.forceHideControls||(h.g.ie78?n(r).find(".ls-nav-prev, .ls-nav-next").css("display","block"):n(r).find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeIn(300))},function(){h.g.ie78?n(r).find(".ls-nav-prev, .ls-nav-next").css("display","none"):n(r).find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeOut(300)}))),h.o.navStartStop||h.o.navButtons){if(t=n('<div class="ls-bottom-nav-wrapper" />').appendTo(n(r)),h.g.bottomWrapper=t,h.o.thumbnailNavigation=="always"&&t.addClass("ls-above-thumbnails"),h.o.navButtons&&h.o.thumbnailNavigation!="always"){for(n('<span class="ls-bottom-slidebuttons" />').appendTo(n(r).find(".ls-bottom-nav-wrapper")),h.o.thumbnailNavigation=="hover"&&(o=n('<div class="ls-thumbnail-hover"><div class="ls-thumbnail-hover-inner"><div class="ls-thumbnail-hover-bg"><\/div><div class="ls-thumbnail-hover-img"><img><\/div><span><\/span><\/div><\/div>').appendTo(n(r).find(".ls-bottom-slidebuttons"))),x=1;x<h.g.layersNum+1;x++)if(v=n('<a href="#"><span class="sr-only">Slide '+x+"<\/span><\/a>").appendTo(n(r).find(".ls-bottom-slidebuttons")).click(function(t){t.preventDefault();n(r).layerSlider(n(this).index()+1)}),h.o.thumbnailNavigation=="hover"){n(r).find(".ls-thumbnail-hover, .ls-thumbnail-hover-img").css({width:h.o.tnWidth,height:h.o.tnHeight});var i=n(r).find(".ls-thumbnail-hover"),c=i.find("img").css({height:h.o.tnHeight}),y=n(r).find(".ls-thumbnail-hover-inner").css({visibility:"hidden",display:"block"});v.hover(function(){var t=n(r).find(".ls-slide").eq(n(this).index()),u;u=h.o.imgPreload===!0&&h.o.lazyLoad===!0?t.find(".ls-tn").length?t.find(".ls-tn").data("src"):t.find(".ls-videopreview").length?t.find(".ls-videopreview").attr("src"):t.find(".ls-bg").length?t.find(".ls-bg").data("src"):h.o.skinsPath+h.o.skin+"/nothumb.png":t.find(".ls-tn").length?t.find(".ls-tn").attr("src"):t.find(".ls-videopreview").length?t.find(".ls-videopreview").attr("src"):t.find(".ls-bg").length?t.find(".ls-bg").attr("src"):h.o.skinsPath+h.o.skin+"/nothumb.png";n(r).find(".ls-thumbnail-hover-img").css({left:parseInt(i.css("padding-left")),top:parseInt(i.css("padding-top"))});c.load(function(){n(this).width()==0?c.css({position:"relative",margin:"0 auto",left:"auto"}):c.css({position:"absolute",marginLeft:-n(this).width()/2,left:"50%"})}).attr("src",u);i.css({display:"block"}).stop().animate({left:n(this).position().left+(n(this).width()-i.outerWidth())/2},250);y.css({display:"none",visibility:"visible"}).stop().fadeIn(250)},function(){y.stop().fadeOut(250,function(){i.css({visibility:"hidden",display:"block"})})})}h.o.thumbnailNavigation=="hover"&&o.appendTo(n(r).find(".ls-bottom-slidebuttons"));n(r).find(".ls-bottom-slidebuttons a:eq("+(h.o.firstSlide-1)+")").addClass("ls-nav-active")}h.o.navStartStop?(l=n('<a class="ls-nav-start" href="#"><span class="sr-only">Start Slideshow<\/span><\/a>').click(function(t){t.preventDefault();n(r).layerSlider("start")}).prependTo(n(r).find(".ls-bottom-nav-wrapper")),a=n('<a class="ls-nav-stop" href="#"><span class="sr-only">Stop Slideshow<\/span><\/a>').click(function(t){t.preventDefault();n(r).layerSlider("stop")}).appendTo(n(r).find(".ls-bottom-nav-wrapper"))):h.o.thumbnailNavigation!="always"&&(n('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo(n(r).find(".ls-bottom-nav-wrapper")),n('<span class="ls-nav-sides ls-nav-sideright" />').appendTo(n(r).find(".ls-bottom-nav-wrapper")));h.o.hoverBottomNav&&h.o.thumbnailNavigation!="always"&&(t.css({display:"none"}),n(r).hover(function(){h.g.forceHideControls||(h.g.ie78?t.css("display","block"):t.stop(!0,!0).fadeIn(300))},function(){h.g.ie78?t.css("display","none"):t.stop(!0,!0).fadeOut(300)}))}h.o.thumbnailNavigation=="always"&&(h.g.thumbsWrapper=n('<div class="ls-thumbnail-wrapper"><\/div>').appendTo(n(r)),o=n('<div class="ls-thumbnail"><div class="ls-thumbnail-inner"><div class="ls-thumbnail-slide-container"><div class="ls-thumbnail-slide"><\/div><\/div><\/div><\/div>').appendTo(h.g.thumbsWrapper),h.g.thumbnails=n(r).find(".ls-thumbnail-slide-container"),"ontouchstart"in window?h.g.thumbnails.addClass("ls-touchscroll"):h.g.thumbnails.hover(function(){n(this).addClass("ls-thumbnail-slide-hover")},function(){n(this).removeClass("ls-thumbnail-slide-hover");h.scrollThumb()}).mousemove(function(t){var i=parseInt(t.pageX-n(this).offset().left)/n(this).width()*(n(this).width()-n(this).find(".ls-thumbnail-slide").width());n(this).find(".ls-thumbnail-slide").stop().css({marginLeft:i})}),n(r).find(".ls-slide").each(function(){var i=n(this).index()+1,u,t;u=h.o.imgPreload===!0&&h.o.lazyLoad===!0?n(this).find(".ls-tn").length?n(this).find(".ls-tn").data("src"):n(this).find(".ls-videopreview").length?n(this).find(".ls-videopreview").attr("src"):n(this).find(".ls-bg").length?n(this).find(".ls-bg").data("src"):h.o.skinsPath+h.o.skin+"/nothumb.png":n(this).find(".ls-tn").length?n(this).find(".ls-tn").attr("src"):n(this).find(".ls-videopreview").length?n(this).find(".ls-videopreview").attr("src"):n(this).find(".ls-bg").length?n(this).find(".ls-bg").attr("src"):h.o.skinsPath+h.o.skin+"/nothumb.png";t=n('<a href="#" class="ls-thumb-'+i+'"><img src="'+u+'"><span class="sr-only">Ad Slide<\/span><\/a>');t.appendTo(n(r).find(".ls-thumbnail-slide"));"ontouchstart"in window||t.hover(function(){n(this).children().stop().fadeTo(300,h.o.tnActiveOpacity/100)},function(){n(this).children().hasClass("ls-thumb-active")||n(this).children().stop().fadeTo(300,h.o.tnInactiveOpacity/100)});t.click(function(t){t.preventDefault();n(r).layerSlider(i)})}),l&&a&&(u=h.g.bottomWrapper=n('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"><\/div>').appendTo(n(r)),l.clone().click(function(t){t.preventDefault();n(r).layerSlider("start")}).appendTo(u),a.clone().click(function(t){t.preventDefault();n(r).layerSlider("stop")}).appendTo(u)),h.o.hoverBottomNav&&(h.g.thumbsWrapper.css("display","none"),u&&(h.g.bottomWrapper=u.css("display")=="block"?u:n(r).find(".ls-above-thumbnails"),h.g.bottomWrapper.css("display","none")),n(r).hover(function(){n(r).addClass("ls-hover");h.g.forceHideControls||(h.g.ie78?(h.g.thumbsWrapper.css("display","block"),h.g.bottomWrapper&&h.g.bottomWrapper.css("display","block")):(h.g.thumbsWrapper.stop(!0,!0).fadeIn(300),h.g.bottomWrapper&&h.g.bottomWrapper.stop(!0,!0).fadeIn(300)))},function(){n(r).removeClass("ls-hover");h.g.ie78?(h.g.thumbsWrapper.css("display","none"),h.g.bottomWrapper&&h.g.bottomWrapper.css("display","none")):(h.g.thumbsWrapper.stop(!0,!0).fadeOut(300),h.g.bottomWrapper&&h.g.bottomWrapper.stop(!0,!0).fadeOut(300))})));h.g.shadow=n('<div class="ls-shadow"><\/div>').appendTo(n(r));h.g.shadow.css("display")!="block"||h.g.shadow.find("img").length||(h.g.showShadow=function(){h.g.shadow.css({display:"none",visibility:"visible"}).fadeIn(500,function(){h.g.showShadow=!1})},h.g.shadowImg=n("<img>").attr("src",h.o.skinsPath+h.o.skin+"/shadow.png").appendTo(h.g.shadow),h.g.shadowBtmMod=typeof parseInt(n(r).css("padding-bottom"))=="number"?parseInt(n(r).css("padding-bottom")):0);h.resizeShadow();h.o.keybNav&&n(r).find(".ls-slide").length>1&&n("body").bind("keydown",function(n){h.g.isAnimating||h.g.isLoading||(n.which==37?(h.o.cbPrev(h.g),h.prev("clicked")):n.which==39&&(h.o.cbNext(h.g),h.next("clicked")))});"ontouchstart"in window&&n(r).find(".ls-slide").length>1&&h.o.touchNav&&(h.g.i.bind("touchstart",function(n){var t=n.touches?n.touches:n.originalEvent.touches;t.length==1&&(h.g.touchStartX=h.g.touchEndX=t[0].clientX)}),h.g.i.bind("touchmove",function(n){var t=n.touches?n.touches:n.originalEvent.touches;t.length==1&&(h.g.touchEndX=t[0].clientX);Math.abs(h.g.touchStartX-h.g.touchEndX)>45&&n.preventDefault()}),h.g.i.bind("touchend",function(){Math.abs(h.g.touchStartX-h.g.touchEndX)>45&&(h.g.touchStartX-h.g.touchEndX>0?(h.o.cbNext(h.g),n(r).layerSlider("next")):(h.o.cbPrev(h.g),n(r).layerSlider("prev")))}));h.o.pauseOnHover==!0&&n(r).find(".ls-slide").length>1&&h.g.i.hover(function(){h.o.cbPause(h.g);h.g.autoSlideshow&&(h.g.paused=!0,h.stop(),h.g.barTimer&&h.g.barTimer.stop(),h.g.circleTimer&&h.g.cttl&&h.g.cttl.pause(),h.g.pausedSlideTime=(new Date).getTime())},function(){h.g.paused==!0&&(h.start(),h.g.paused=!1)});h.resizeSlider();h.o.yourLogo&&(h.g.yourLogo=n("<img>").addClass("ls-yourlogo").appendTo(n(r)).attr("style",h.o.yourLogoStyle).css({visibility:"hidden",display:"bock"}).load(function(){var t=0;h.g.yourLogo||(t=1e3);setTimeout(function(){h.g.yourLogo.data("originalWidth",h.g.yourLogo.width());h.g.yourLogo.data("originalHeight",h.g.yourLogo.height());h.g.yourLogo.css("left")!="auto"&&h.g.yourLogo.data("originalLeft",h.g.yourLogo[0].style.left);h.g.yourLogo.css("right")!="auto"&&h.g.yourLogo.data("originalRight",h.g.yourLogo[0].style.right);h.g.yourLogo.css("top")!="auto"&&h.g.yourLogo.data("originalTop",h.g.yourLogo[0].style.top);h.g.yourLogo.css("bottom")!="auto"&&h.g.yourLogo.data("originalBottom",h.g.yourLogo[0].style.bottom);h.o.yourLogoLink!=!1&&n("<a>").appendTo(n(r)).attr("href",h.o.yourLogoLink).attr("target",h.o.yourLogoTarget).css({textDecoration:"none",outline:"none"}).append(h.g.yourLogo);h.g.yourLogo.css({display:"none",visibility:"visible"});h.resizeYourLogo()},t)}).attr("src",h.o.yourLogo));n(window).resize(function(){h.resize()});n(window).on("orientationchange",function(){n(window).resize()});h.g.showSlider=!0;h.o.animateFirstSlide==!0?(h.o.autoStart?(h.g.autoSlideshow=!0,n(r).find(".ls-nav-start").addClass("ls-nav-start-active")):n(r).find(".ls-nav-stop").addClass("ls-nav-stop-active"),h.next()):typeof h.g.curLayer[0]!="undefined"&&h.imgPreload(h.g.curLayer,function(){h.g.curLayer.fadeIn(h.o.sliderFadeInDuration,function(){h.g.isLoading=!1;n(this).addClass("ls-active");h.o.autoPlayVideos&&n(this).delay(n(this).data("delayin")+25).queue(function(){n(this).find(".ls-videopreview").click();n(this).find("video, audio").each(function(){!0&&(n(this)[0].currentTime=0);n(this).click()});n(this).dequeue()});h.g.curLayer.find(' > *[class*="ls-l"]').each(function(){var t=n(this);(!t.hasClass("ls-video-layer")||t.hasClass("ls-video-layer")&&h.o.autoPlayVideos===!1)&&t.data("showuntil")>0&&t.data("showUntilTimer",setTimeout(function(){h.sublayerShowUntil(t)},t.data("showuntil")))})});h.changeThumb(h.g.curLayerIndex);h.o.autoStart?(h.g.isLoading=!1,h.start()):n(r).find(".ls-nav-stop").addClass("ls-nav-stop-active")});h.o.cbInit(n(r))};h.resize=function(){h.g.resize=!0;h.g.isAnimating||(h.makeResponsive(h.g.curLayer,function(){h.g.ltContainer&&h.g.ltContainer.empty();h.g.resize=!1}),h.g.yourLogo&&h.resizeYourLogo())};h.start=function(){h.g.autoSlideshow?h.g.prevNext=="prev"&&h.o.twoWaySlideshow?h.prev():h.next():(h.g.autoSlideshow=!0,h.g.isAnimating||h.g.isLoading||h.timer());n(r).find(".ls-nav-start").addClass("ls-nav-start-active");n(r).find(".ls-nav-stop").removeClass("ls-nav-stop-active")};h.timer=function(){var i,t,u,f,e;i=n(r).find(".ls-active").data("ls")?h.st.slideDelay:h.o.slideDelay;t=n(r).find(".ls-active").data("slidedelay")?parseInt(n(r).find(".ls-active").data("slidedelay")):i;h.o.animateFirstSlide||n(r).find(".ls-active").data("slidedelay")||(u=n(r).find(".ls-slide:eq("+(h.o.firstSlide-1)+")").data("slidedelay"),t=u?u:i);clearTimeout(h.g.slideTimer);h.g.pausedSlideTime?(h.g.startSlideTime||(h.g.startSlideTime=(new Date).getTime()),h.g.startSlideTime>h.g.pausedSlideTime&&(h.g.pausedSlideTime=(new Date).getTime()),h.g.curSlideTime||(h.g.curSlideTime=t),h.g.curSlideTime-=h.g.pausedSlideTime-h.g.startSlideTime,h.g.pausedSlideTime=!1,h.g.startSlideTime=(new Date).getTime()):(h.g.curSlideTime=t,h.g.startSlideTime=(new Date).getTime());h.g.curSlideTime=parseInt(h.g.curSlideTime);h.g.slideTimer=setTimeout(function(){h.g.startSlideTime=h.g.pausedSlideTime=h.g.curSlideTime=!1;h.start()},h.g.curSlideTime);h.g.barTimer&&h.g.barTimer.animate({width:h.g.sliderWidth()},h.g.curSlideTime,"linear",function(){n(this).css({width:0})});h.g.circleTimer&&(f=h.g.circleTimer.find(".ls-ct-right .ls-ct-rotate"),e=h.g.circleTimer.find(".ls-ct-left .ls-ct-rotate"),h.g.circleTimer.css("display")=="none"&&(f.css({rotate:0}),e.css({rotate:0}),h.g.circleTimer.fadeIn(350)),h.g.cttl?h.g.cttl.resume():(h.g.cttl=new TimelineLite,h.g.cttl.add(TweenLite.fromTo(f[0],t/2e3,{rotation:0},{ease:Linear.easeNone,rotation:180,onReverseComplete:function(){h.g.cttl=!1}})),h.g.cttl.add(TweenLite.fromTo(e[0],t/2e3,{rotation:0},{ease:Linear.easeNone,rotation:180}))))};h.stop=function(){h.g.pausedSlideTime=(new Date).getTime();h.g.barTimer&&h.g.barTimer.stop();h.g.circleTimer&&h.g.cttl&&h.g.cttl.pause();h.g.paused||h.g.originalAutoSlideshow||(n(r).find(".ls-nav-stop").addClass("ls-nav-stop-active"),n(r).find(".ls-nav-start").removeClass("ls-nav-start-active"));clearTimeout(h.g.slideTimer);h.g.autoSlideshow=!1};h.forcestop=function(){clearTimeout(h.g.slideTimer);h.g.autoSlideshow=!1;clearTimeout(h.g.t1);clearTimeout(h.g.t2);clearTimeout(h.g.t3);clearTimeout(h.g.t4);clearTimeout(h.g.t5);h.g.barTimer&&h.g.barTimer.stop();h.g.circleTimer&&h.g.cttl&&h.g.cttl.pause();n(r).find("*").stop(!0,!1).dequeue();n(r).find(".ls-slide >").each(function(){n(this).data("tr")&&n(this).data("tr").pause()});h.g.paused||h.g.originalAutoSlideshow||(n(r).find(".ls-nav-stop").addClass("ls-nav-stop-active"),n(r).find(".ls-nav-start").removeClass("ls-nav-start-active"))};h.restart=function(){n(r).find("*").stop();clearTimeout(h.g.slideTimer);h.change(h.g.curLayerIndex,h.g.prevNext)};h.ieEasing=function(t){return n.trim(t.toLowerCase())=="swing"||n.trim(t.toLowerCase())=="linear"?t.toLowerCase():t.replace("easeinout","easeInOut").replace("easein","easeIn").replace("easeout","easeOut").replace("quad","Quad").replace("quart","Quart").replace("cubic","Cubic").replace("quint","Quint").replace("sine","Sine").replace("expo","Expo").replace("circ","Circ").replace("elastic","Elastic").replace("back","Back").replace("bounce","Bounce")};h.prev=function(n){if(h.g.curLayerIndex<2&&(h.g.nextLoop+=1),h.g.nextLoop>h.o.loops&&h.o.loops>0&&!n)h.g.nextLoop=0,h.stop(),h.o.forceLoopNum==!1&&(h.o.loops=0);else{var t=h.g.curLayerIndex<2?h.g.layersNum:h.g.curLayerIndex-1;h.g.prevNext="prev";h.change(t,h.g.prevNext)}};h.next=function(n){var i,t;h.o.randomSlideshow?n?n&&(t=h.g.curLayerIndex<h.g.layersNum?h.g.curLayerIndex+1:1,h.g.prevNext="next",h.change(t,h.g.prevNext)):(t=h.g.curLayerIndex,i=function(){t=Math.floor(Math.random()*h.g.layersNum)+1;t==h.g.curLayerIndex?i():(h.g.prevNext="next",h.change(t,h.g.prevNext))},i()):(h.g.curLayerIndex<h.g.layersNum||(h.g.nextLoop+=1),h.g.nextLoop>h.o.loops&&h.o.loops>0&&!n?(h.g.nextLoop=0,h.stop(),h.o.forceLoopNum==!1&&(h.o.loops=0)):(t=h.g.curLayerIndex<h.g.layersNum?h.g.curLayerIndex+1:1,h.g.prevNext="next",h.change(t,h.g.prevNext)))};h.media={youtube:{init:function(){var t=document.location.href.indexOf("file:")===-1?"":"http:",i=n(r).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]'),u;i.length&&(n("<script>").attr({src:t+"//www.youtube.com/iframe_api",type:"text/javascript"}).appendTo("head"),u=i.length,window.onYouTubeIframeAPIReady=function(){i.each(function(){var r,u,i,f;n(this).parent().addClass("ls-video-layer");n(this).parent('[class*="ls-l"]')&&(r=t,u=n("<div>").addClass("ls-vpcontainer").appendTo(n(this).parent()),n("<img>").appendTo(u).addClass("ls-videopreview").attr("alt","Play video").attr("src",r+"//img.youtube.com/vi/"+n(this).attr("src").split("embed/")[1].split("?")[0]+"/"+h.o.youtubePreview),n("<div>").appendTo(u).addClass("ls-playvideo"),n(this).parent().css({width:n(this).width(),height:n(this).height()}).click(function(){var t=n(this).find("iframe"),r,u;t.css("display","block");n(this).data("showuntil")>0&&n(this).data("showUntilTimer")&&clearTimeout(n(this).data("showUntilTimer"));h.g.pausedByVideo||(h.g.isAnimating=!0,h.g.paused?(h.o.autoPauseSlideshow!=!1&&(h.g.paused=!1),h.g.originalAutoSlideshow=!0):h.g.originalAutoSlideshow=h.g.autoSlideshow,h.o.autoPauseSlideshow!=!1&&h.stop(),h.g.pausedByVideo=!0);typeof t.data("ytplayer")=="undefined"?(t.attr("src",i),r=function(n){n.data===0&&(h.g.numYouTubeCurSlide+=1,h.o.autoPauseSlideshow=="auto"&&h.g.originalAutoSlideshow==!0&&h.g.numYouTubeCurSlide==h.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]').length&&(h.g.curSlideTime=1,h.start()))},u=function(n){n.target.playVideo()},t.data("ytplayer",new YT.Player(t[0],{events:{onReady:u,onStateChange:r}}))):t.data("ytplayer").playVideo();n(this).find(".ls-vpcontainer").delay(h.g.v.d).fadeOut(h.g.v.fo,function(){h.g.isAnimating=!1;h.g.resize==!0&&h.makeResponsive(h.g.curLayer,function(){h.g.resize=!1})})}),r=n(this).attr("src").indexOf("http")===-1?t:"",i=r+n(this).attr("src"),f="&",i.indexOf("?")==-1&&(f="?"),i.indexOf("autoplay")==-1?i+=f:i.replace("autoplay=1","autoplay=0"),i+="&wmode=opaque&html5=1&enablejsapi=1&version=3",n(this).data("videoSrc",i),n(this).data("originalWidth",n(this).attr("width")),n(this).data("originalHeight",n(this).attr("height")),n(this).attr("src",""))})})},play:function(){},stop:function(n){n.parent().find(".ls-vpcontainer").fadeIn(h.g.v.fi,function(){n.parent().find("iframe").data("ytplayer").stopVideo();n.parent().find("iframe").css("display","none")})}},vimeo:{init:function(){var t=document.location.href.indexOf("file:")===-1?"":"http:";n(r).find('iframe[src*="player.vimeo"]').each(function(){var u,f;if(n(this).parent().addClass("ls-video-layer"),n(this).parent('[class*="ls-l"]')){var i=n(this),r=t,e=n("<div>").addClass("ls-vpcontainer").appendTo(n(this).parent());n.getJSON(r+"//vimeo.com/api/v2/video/"+n(this).attr("src").split("video/")[1].split("?")[0]+".json?callback=?",function(t){n("<img>").appendTo(e).addClass("ls-videopreview").attr("alt","Play video").attr("src",t[0].thumbnail_large);i.data("videoDuration",parseInt(t[0].duration)*1e3);n("<div>").appendTo(e).addClass("ls-playvideo")});n(this).parent().css({width:n(this).width(),height:n(this).height()}).click(function(){n(this).data("showuntil")>0&&n(this).data("showUntilTimer")&&clearTimeout(n(this).data("showUntilTimer"));h.g.isAnimating=!0;h.g.paused?(h.o.autoPauseSlideshow!=!1&&(h.g.paused=!1),h.g.originalAutoSlideshow=!0):h.g.originalAutoSlideshow=h.g.autoSlideshow;h.o.autoPauseSlideshow!=!1&&h.stop();h.g.pausedByVideo=!0;r=n(this).find("iframe").data("videoSrc").indexOf("http")===-1?t:"";n(this).find("iframe").attr("src",r+n(this).find("iframe").data("videoSrc"));n(this).find(".ls-vpcontainer").delay(h.g.v.d).fadeOut(h.g.v.fo,function(){if(h.o.autoPauseSlideshow=="auto"&&h.g.originalAutoSlideshow==!0){var n=setTimeout(function(){h.start()},i.data("videoDuration")-h.g.v.d);i.data("videoTimer",n)}h.g.isAnimating=!1;h.g.resize==!0&&h.makeResponsive(h.g.curLayer,function(){h.g.resize=!1})})});u="&";n(this).attr("src").indexOf("?")==-1&&(u="?");f="&wmode=opaque";n(this).attr("src").indexOf("autoplay")==-1?n(this).data("videoSrc",n(this).attr("src")+u+"autoplay=1"+f):n(this).data("videoSrc",n(this).attr("src").replace("autoplay=0","autoplay=1")+f);n(this).data("originalWidth",n(this).attr("width"));n(this).data("originalHeight",n(this).attr("height"));n(this).attr("src","")}})},play:function(){},stop:function(n){n.parent().find(".ls-vpcontainer").fadeIn(h.g.v.fi,function(){n.parent().find("iframe").attr("src","")})}},html5:{init:function(){n(r).find("video, audio").each(function(){var i=typeof n(this).attr("width")!="undefined"?n(this).attr("width"):"640",t=typeof n(this).attr("height")!="undefined"?n(this).attr("height"):""+n(this).height(),r;i.indexOf("%")===-1&&(i=parseInt(i));t.indexOf("%")===-1&&(t=parseInt(t));i==="100%"&&(t===0||t==="0"||t==="100%")&&(n(this).attr("height","100%"),t="auto");n(this).parent().addClass("ls-video-layer").css({width:i,height:t}).data({originalWidth:i,originalHeight:t});r=n(this);n(this).on("ended",function(){h.o.autoPauseSlideshow==="auto"&&h.g.originalAutoSlideshow===!0&&h.start()});n(this).removeAttr("width").removeAttr("height").css({width:"100%",height:"100%"}).click(function(n){h.g.pausedByVideo||(this.paused&&n.preventDefault(),this.play(),h.g.isAnimating=!0,h.g.paused?(h.o.autoPauseSlideshow!==!1&&(h.g.paused=!1),h.g.originalAutoSlideshow=!0):h.g.originalAutoSlideshow=h.g.autoSlideshow,h.o.autoPauseSlideshow!==!1&&h.stop(),h.g.pausedByVideo=!0,h.g.isAnimating=!1,h.g.resize===!0&&h.makeResponsive(h.g.curLayer,function(){h.g.resize=!1}))})})},play:function(){},stop:function(n){n[0].pause()}}};h.change=function(t,i){h.g.startSlideTime=h.g.pausedSlideTime=h.g.curSlideTime=!1;h.g.barTimer&&h.g.barTimer.stop().delay(300).animate({width:0},450);h.g.circleTimer&&(h.g.circleTimer.fadeOut(500),h.g.cttl&&h.g.cttl.reverse().duration(.35));h.g.pausedByVideo==!0&&(h.g.pausedByVideo=!1,h.g.autoSlideshow=h.g.originalAutoSlideshow,h.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]').each(function(){h.media.youtube.stop(n(this))}),h.g.curLayer.find('iframe[src*="player.vimeo"]').each(function(){h.media.vimeo.stop(n(this))}),h.g.curLayer.find("video, audio").each(function(){h.media.html5.stop(n(this))}));n(r).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').each(function(){clearTimeout(n(this).data("videoTimer"))});clearTimeout(h.g.slideTimer);h.g.nextLayerIndex=t;h.g.nextLayer=n(r).find(".ls-slide:eq("+(h.g.nextLayerIndex-1)+")");i||(h.g.prevNext=h.g.curLayerIndex<h.g.nextLayerIndex?"next":"prev");var u=0;n(r).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').length>0&&(u=h.g.v.fi);typeof h.g.nextLayer[0]!="undefined"&&h.imgPreload(h.g.nextLayer,function(){h.animate()})};h.imgPreload=function(t,i){var u,e,f,o;if(h.g.isLoading=!0,h.g.showSlider&&n(r).css({visibility:"visible"}),h.o.imgPreload)if(u=[],e=0,t.css("background-image")=="none"||t.css("background-image").indexOf("url")==-1||t.hasClass("ls-preloaded")||t.hasClass("ls-not-preloaded")||(f=t.css("background-image"),f=f.match(/url\((.*)\)/)[1].replace(/"/gi,""),u[u.length]=[f,t]),t.find("img:not(.ls-preloaded, .ls-not-preloaded)").each(function(){h.o.lazyLoad===!0&&n(this).attr("src",n(this).data("src"));u[u.length]=[n(this).attr("src"),n(this)]}),t.find("*").each(function(){if(n(this).css("background-image")!="none"&&n(this).css("background-image").indexOf("url")!=-1&&!n(this).hasClass("ls-preloaded")&&!n(this).hasClass("ls-not-preloaded")){var t=n(this).css("background-image");t=t.match(/url\((.*)\)/)[1].replace(/"/gi,"");u[u.length]=[t,n(this)]}}),u.length==0)n(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"}),h.makeResponsive(t,i);else for(h.g.ie78?h.g.li.css("display","block"):h.g.li.delay(400).fadeIn(300),o=function(){h.g.li.stop(!0,!0).css({display:"none"});n(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"});navigator.userAgent.indexOf("Trident/7")!==-1||h.g.ie78?setTimeout(function(){h.makeResponsive(t,i)},50):h.makeResponsive(t,i)},x=0;x<u.length;x++)n("<img>").data("el",u[x]).load(function(){n(this).data("el")[1].addClass("ls-preloaded");++e==u.length&&o()}).error(function(){var t=n(this).data("el")[0].substring(n(this).data("el")[0].lastIndexOf("/")+1,n(this).data("el")[0].length);n(this).addClass("ls-not-preloaded");++e==u.length&&o()}).attr("src",u[x][0]);else n(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"}),h.makeResponsive(t,i)};h.makeResponsive=function(t,i){t.css({visibility:"hidden",display:"block"});h.g.showShadow&&h.g.showShadow();h.resizeSlider();h.o.thumbnailNavigation=="always"&&h.resizeThumb();var r=t.children();r.each(function(){var t=n(this),o=t.data("originalLeft")?t.data("originalLeft"):"0",s=t.data("originalTop")?t.data("originalTop"):"0",i,r,e,c,f,l,u;t.is("a")&&t.children().length>0&&(t.css({display:"block"}),t=t.children());i="auto";r="auto";t.data("originalWidth")&&(typeof t.data("originalWidth")=="number"?i=parseInt(t.data("originalWidth"))*h.g.ratio:t.data("originalWidth").indexOf("%")!=-1&&(i=t.data("originalWidth")));t.data("originalHeight")&&(typeof t.data("originalHeight")=="number"?r=parseInt(t.data("originalHeight"))*h.g.ratio:t.data("originalHeight").indexOf("%")!=-1&&(r=t.data("originalHeight")));var a=t.data("originalPaddingLeft")?parseInt(t.data("originalPaddingLeft"))*h.g.ratio:0,w=t.data("originalPaddingRight")?parseInt(t.data("originalPaddingRight"))*h.g.ratio:0,v=t.data("originalPaddingTop")?parseInt(t.data("originalPaddingTop"))*h.g.ratio:0,b=t.data("originalPaddingBottom")?parseInt(t.data("originalPaddingBottom"))*h.g.ratio:0,y=t.data("originalBorderLeft")?parseInt(t.data("originalBorderLeft"))*h.g.ratio:0,k=t.data("originalBorderRight")?parseInt(t.data("originalBorderRight"))*h.g.ratio:0,p=t.data("originalBorderTop")?parseInt(t.data("originalBorderTop"))*h.g.ratio:0,d=t.data("originalBorderBottom")?parseInt(t.data("originalBorderBottom"))*h.g.ratio:0,g=t.data("originalFontSize"),nt=t.data("originalLineHeight");(h.g.responsiveMode||h.o.responsiveUnder>0)&&(t.is("img")&&!t.hasClass("ls-bg")&&t.attr("src")&&(t.css({width:"auto",height:"auto"}),(i==0||i=="auto")&&typeof r=="number"&&r!=0&&(i=r/t.height()*t.width()),(r==0||r=="auto")&&typeof i=="number"&&i!=0&&(r=i/t.width()*t.height()),i=="auto"&&(i=t.width()*h.g.ratio),r=="auto"&&(r=t.height()*h.g.ratio),t.css({width:i,height:r})),t.is("img")||t.css({width:i,height:r,"font-size":parseInt(g)*h.g.ratio+"px","line-height":parseInt(nt)*h.g.ratio+"px"}),t.is("div")&&t.find("iframe").data("videoSrc")&&(e=t.find("iframe"),e.attr("width",parseInt(e.data("originalWidth"))*h.g.ratio).attr("height",parseInt(e.data("originalHeight"))*h.g.ratio),t.css({width:parseInt(e.data("originalWidth"))*h.g.ratio,height:parseInt(e.data("originalHeight"))*h.g.ratio})),t.css({padding:v+"px "+w+"px "+b+"px "+a+"px ",borderLeftWidth:y+"px",borderRightWidth:k+"px",borderTopWidth:p+"px",borderBottomWidth:d+"px"}));t.hasClass("ls-bg")?(l=h.g.i,t.css({width:"auto",height:"auto"}),i=t.width(),r=t.height(),u=h.g.ratio,h.g.sliderOriginalWidth.indexOf("%")!=-1&&(h.g.sliderWidth()>i?(u=h.g.sliderWidth()/i,h.g.sliderHeight()>r*u&&(u=h.g.sliderHeight()/r)):h.g.sliderHeight()>r&&(u=h.g.sliderHeight()/r,h.g.sliderWidth()>i*u&&(u=h.g.sliderWidth()/i))),t.css({width:i*u,height:r*u,marginLeft:l.width()/2-i*u/2,marginTop:l.height()/2-r*u/2})):(c=t,t.parent().is("a")&&(t=t.parent()),f=0,h.o.layersContainer?f=h.o.layersContainer>0?(h.g.sliderWidth()-h.o.layersContainer)/2:0:h.o.sublayerContainer&&(f=h.o.sublayerContainer>0?(h.g.sliderWidth()-h.o.sublayerContainer)/2:0),f=f<0?0:f,o.indexOf("%")!=-1?t.css({left:h.g.sliderWidth()/100*parseInt(o)-c.width()/2-a-y}):(f>0||h.g.responsiveMode||h.o.responsiveUnder>0)&&t.css({left:f+parseInt(o)*h.g.ratio}),s.indexOf("%")!=-1?t.css({top:h.g.sliderHeight()/100*parseInt(s)-c.height()/2-v-p}):(h.g.responsiveMode||h.o.responsiveUnder>0)&&t.css({top:parseInt(s)*h.g.ratio}))});t.css({display:"none",visibility:"visible"});h.resizeShadow();i();n(this).dequeue()};h.resizeShadow=function(){if(h.g.shadowImg){var n=function(){h.g.shadowImg.height()>0?h.g.shadowBtmMod>0?h.g.shadow.css({height:h.g.shadowImg.height()/2}):h.g.shadow.css({height:h.g.shadowImg.height(),marginTop:-h.g.shadowImg.height()/2}):setTimeout(function(){n()},50)};n()}};h.resizeSlider=function(){var t,i,u;h.o.responsiveUnder>0&&(n(window).width()<h.o.responsiveUnder?(h.g.responsiveMode=!0,h.g.sliderOriginalWidth=h.o.responsiveUnder+"px"):(h.g.responsiveMode=!1,h.g.sliderOriginalWidth=h.g.sliderOriginalWidthRU,h.g.ratio=1));n(r).closest(".ls-wp-fullwidth-container").length&&n(r).closest(".ls-wp-fullwidth-helper").css({width:n(window).width()});h.g.responsiveMode?(t=n(r).parent(),h.o.fullScreen===!0?n(r).css({width:"100%",height:n(window).height()}):(n(r).css({width:t.width()-parseInt(n(r).css("padding-left"))-parseInt(n(r).css("padding-right"))}),h.g.ratio=n(r).width()/parseInt(h.g.sliderOriginalWidth),n(r).css({height:h.g.ratio*parseInt(h.g.sliderOriginalHeight)}))):(h.g.ratio=1,n(r).css({width:h.g.sliderOriginalWidth,height:h.g.sliderOriginalHeight}));n(r).closest(".ls-wp-fullwidth-container").length&&(n(r).closest(".ls-wp-fullwidth-helper").css({height:n(r).outerHeight(!0)}),n(r).closest(".ls-wp-fullwidth-container").css({height:n(r).outerHeight(!0)}),n(r).closest(".ls-wp-fullwidth-helper").css({width:n(window).width(),left:-n(r).closest(".ls-wp-fullwidth-container").offset().left}),h.g.sliderOriginalWidth.indexOf("%")!=-1&&(i=parseInt(h.g.sliderOriginalWidth),u=n("body").width()/100*i-(n(r).outerWidth()-n(r).width()),n(r).width(u)));n(r).find(".ls-inner, .ls-lt-container").css({width:h.g.sliderWidth(),height:h.g.sliderHeight()});h.g.curLayer&&h.g.nextLayer?(h.g.curLayer.css({width:h.g.sliderWidth(),height:h.g.sliderHeight()}),h.g.nextLayer.css({width:h.g.sliderWidth(),height:h.g.sliderHeight()})):n(r).find(".ls-slide").css({width:h.g.sliderWidth(),height:h.g.sliderHeight()})};h.resizeYourLogo=function(){h.g.yourLogo.css({width:h.g.yourLogo.data("originalWidth")*h.g.ratio,height:h.g.yourLogo.data("originalHeight")*h.g.ratio});h.g.ie78?h.g.yourLogo.css("display","block"):h.g.yourLogo.fadeIn(300);var t=oR=oT=oB="auto";t=h.g.yourLogo.data("originalLeft")&&h.g.yourLogo.data("originalLeft").indexOf("%")!=-1?h.g.sliderWidth()/100*parseInt(h.g.yourLogo.data("originalLeft"))-h.g.yourLogo.width()/2+parseInt(n(r).css("padding-left")):parseInt(h.g.yourLogo.data("originalLeft"))*h.g.ratio;oR=h.g.yourLogo.data("originalRight")&&h.g.yourLogo.data("originalRight").indexOf("%")!=-1?h.g.sliderWidth()/100*parseInt(h.g.yourLogo.data("originalRight"))-h.g.yourLogo.width()/2+parseInt(n(r).css("padding-right")):parseInt(h.g.yourLogo.data("originalRight"))*h.g.ratio;oT=h.g.yourLogo.data("originalTop")&&h.g.yourLogo.data("originalTop").indexOf("%")!=-1?h.g.sliderHeight()/100*parseInt(h.g.yourLogo.data("originalTop"))-h.g.yourLogo.height()/2+parseInt(n(r).css("padding-top")):parseInt(h.g.yourLogo.data("originalTop"))*h.g.ratio;oB=h.g.yourLogo.data("originalBottom")&&h.g.yourLogo.data("originalBottom").indexOf("%")!=-1?h.g.sliderHeight()/100*parseInt(h.g.yourLogo.data("originalBottom"))-h.g.yourLogo.height()/2+parseInt(n(r).css("padding-bottom")):parseInt(h.g.yourLogo.data("originalBottom"))*h.g.ratio;h.g.yourLogo.css({left:t,right:oR,top:oT,bottom:oB})};h.resizeThumb=function(){var i,t,u;h.bottomNavSizeHelper("on");i=h.g.sliderOriginalWidth.indexOf("%")==-1?parseInt(h.g.sliderOriginalWidth):h.g.sliderWidth();n(r).find(".ls-thumbnail-slide a").css({width:parseInt(h.o.tnWidth*h.g.ratio),height:parseInt(h.o.tnHeight*h.g.ratio)});n(r).find(".ls-thumbnail-slide a:last").css({margin:0});n(r).find(".ls-thumbnail-slide").css({height:parseInt(h.o.tnHeight*h.g.ratio)});t=n(r).find(".ls-thumbnail");u=h.o.tnContainerWidth.indexOf("%")==-1?parseInt(h.o.tnContainerWidth):parseInt(i/100*parseInt(h.o.tnContainerWidth));t.css({width:u*Math.floor(h.g.ratio*100)/100});t.width()>n(r).find(".ls-thumbnail-slide").width()&&t.css({width:n(r).find(".ls-thumbnail-slide").width()});h.bottomNavSizeHelper("off")};h.changeThumb=function(t){var i=t?t:h.g.nextLayerIndex;n(r).find(".ls-thumbnail-slide a:not(.ls-thumb-"+i+")").children().each(function(){n(this).removeClass("ls-thumb-active").stop().fadeTo(750,h.o.tnInactiveOpacity/100)});n(r).find(".ls-thumbnail-slide a.ls-thumb-"+i).children().addClass("ls-thumb-active").stop().fadeTo(750,h.o.tnActiveOpacity/100)};h.scrollThumb=function(){var i,u,t;n(r).find(".ls-thumbnail-slide-container").hasClass("ls-thumbnail-slide-hover")||(i=n(r).find(".ls-thumb-active").length?n(r).find(".ls-thumb-active").parent():!1,i&&(u=i.position().left+i.width()/2,t=n(r).find(".ls-thumbnail-slide-container").width()/2-u,t=t<n(r).find(".ls-thumbnail-slide-container").width()-n(r).find(".ls-thumbnail-slide").width()?n(r).find(".ls-thumbnail-slide-container").width()-n(r).find(".ls-thumbnail-slide").width():t,t=t>0?0:t,n(r).find(".ls-thumbnail-slide").animate({marginLeft:t},600)))};h.bottomNavSizeHelper=function(t){if(h.o.hoverBottomNav&&!n(r).hasClass("ls-hover"))switch(t){case"on":h.g.thumbsWrapper.css({visibility:"hidden",display:"block"});break;case"off":h.g.thumbsWrapper.css({visibility:"visible",display:"none"})}};h.animate=function(){var c,it,rt;h.g.numYouTubeCurSlide=0;n(r).find(".ls-slide").length>1&&(h.g.isAnimating=!0);h.g.isLoading=!1;clearTimeout(h.g.slideTimer);clearTimeout(h.g.changeTimer);h.g.stopLayer=h.g.curLayer;h.o.cbAnimStart(h.g);h.o.thumbnailNavigation=="always"&&(h.changeThumb(),"ontouchstart"in window||h.scrollThumb());h.g.nextLayer.addClass("ls-animating");var y=curLayerRight=curLayerTop=curLayerBottom=nextLayerLeft=nextLayerRight=nextLayerTop=nextLayerBottom=layerMarginLeft=layerMarginRight=layerMarginTop=layerMarginBottom="auto",b=nextLayerWidth=h.g.sliderWidth(),k=nextLayerHeight=h.g.sliderHeight(),d=h.g.prevNext=="prev"?h.g.curLayer:h.g.nextLayer,ut=d.data("slidedirection")?d.data("slidedirection"):h.o.slideDirection,o=h.g.slideDirections[h.g.prevNext][ut];(o=="left"||o=="right")&&(b=curLayerTop=nextLayerWidth=nextLayerTop=0,layerMarginTop=0);(o=="top"||o=="bottom")&&(k=y=nextLayerHeight=nextLayerLeft=0,layerMarginLeft=0);switch(o){case"left":curLayerRight=nextLayerLeft=0;layerMarginLeft=-h.g.sliderWidth();break;case"right":y=nextLayerRight=0;layerMarginLeft=h.g.sliderWidth();break;case"top":curLayerBottom=nextLayerTop=0;layerMarginTop=-h.g.sliderHeight();break;case"bottom":curLayerTop=nextLayerBottom=0;layerMarginTop=h.g.sliderHeight()}h.g.curLayer.css({left:y,right:curLayerRight,top:curLayerTop,bottom:curLayerBottom});h.g.nextLayer.css({width:nextLayerWidth,height:nextLayerHeight,left:nextLayerLeft,right:nextLayerRight,top:nextLayerTop,bottom:nextLayerBottom});var c=h.g.curLayer.data("delayout")?parseInt(h.g.curLayer.data("delayout")):h.o.delayOut,p=h.g.curLayer.data("durationout")?parseInt(h.g.curLayer.data("durationout")):h.o.durationOut,ft=h.g.curLayer.data("easingout")?h.g.curLayer.data("easingout"):h.o.easingOut,g=h.g.nextLayer.data("delayin")?parseInt(h.g.nextLayer.data("delayin")):h.o.delayIn,w=h.g.nextLayer.data("durationin")?parseInt(h.g.nextLayer.data("durationin")):h.o.durationIn;w===0&&(w=1);var et=h.g.nextLayer.data("easingin")?h.g.nextLayer.data("easingin"):h.o.easingIn,ot=function(){h.g.curLayer.delay(c+p/15).animate({width:b,height:k},p,ft,function(){l()})},l=function(){if(h.g.stopLayer.find(' > *[class*="ls-l"]').each(function(){n(this).data("tr")&&n(this).data("tr").kill();n(this).css({filter:"none"})}),h.g.curLayer=h.g.nextLayer,h.g.prevLayerIndex=h.g.curLayerIndex,h.g.curLayerIndex=h.g.nextLayerIndex,h.o.cbAnimStop(h.g),h.o.imgPreload&&h.o.lazyLoad){var t=h.g.curLayerIndex==h.g.layersNum?1:h.g.curLayerIndex+1;n(r).find(".ls-slide").eq(t-1).find("img:not(.ls-preloaded)").each(function(){n(this).load(function(){n(this).addClass("ls-preloaded")}).error(function(){var t=n(this).data("src").substring(n(this).data("src").lastIndexOf("/")+1,n(this).data("src").length);n(this).addClass("ls-not-preloaded")}).attr("src",n(this).data("src"))})}n(r).find(".ls-slide").removeClass("ls-active");n(r).find(".ls-slide:eq("+(h.g.curLayerIndex-1)+")").addClass("ls-active").removeClass("ls-animating");n(r).find(".ls-bottom-slidebuttons a").removeClass("ls-nav-active");n(r).find(".ls-bottom-slidebuttons a:eq("+(h.g.curLayerIndex-1)+")").addClass("ls-nav-active");h.g.autoSlideshow&&h.timer();h.g.isAnimating=!1;h.g.resize==!0&&h.makeResponsive(h.g.curLayer,function(){h.g.resize=!1})},nt=function(t){var r=h.g.curLayer.find(' > *[class*="ls-l"]');r.each(function(){var y,r,u,s,c,f,e,nt,l,p,a,ut;if(typeof n(this).data("originalSlide")=="undefined"||typeof n(this).data("originalSlide")!="undefined"&&n(this).data("originalSlide")!==h.g.curLayerIndex){n(this).data("transitiontype")||h.transitionType(n(this));n(this).removeClass("ls-videohack");y=n(this).data("slidedirection")?n(this).data("slidedirection"):o;switch(y){case"left":r=-h.g.sliderWidth();u=0;break;case"right":r=h.g.sliderWidth();u=0;break;case"top":u=-h.g.sliderHeight();r=0;break;case"bottom":u=h.g.sliderHeight();r=0;break;case"fade":u=0;r=0}s=n(this).data("transitiontype")==="new"?"new":n(this).data("slideoutdirection")?n(this).data("slideoutdirection"):!1;switch(s){case"left":r=h.g.sliderWidth();u=0;break;case"right":r=-h.g.sliderWidth();u=0;break;case"top":u=h.g.sliderHeight();r=0;break;case"bottom":u=-h.g.sliderHeight();r=0;break;case"fade":u=0;r=0;break;case"new":r=n(this).data("offsetxout")?n(this).data("offsetxout")==="left"?h.g.sliderWidth():n(this).data("offsetxout")==="right"?-h.g.sliderWidth():-parseInt(n(this).data("offsetxout")):-h.lt.offsetXOut;u=n(this).data("offsetyout")?n(this).data("offsetyout")==="top"?h.g.sliderHeight():n(this).data("offsetyout")==="bottom"?-h.g.sliderHeight():-parseInt(n(this).data("offsetyout")):-h.lt.offsetYOut}for(c=curSubRotateX=curSubRotateY=curSubScale=curSubSkewX=curSubSkewY=curSubScaleX=curSubScaleY="none",c=n(this).data("rotateout")?n(this).data("rotateout"):h.lt.rotateOut,curSubRotateX=n(this).data("rotatexout")?n(this).data("rotatexout"):h.lt.rotateXOut,curSubRotateY=n(this).data("rotateyout")?n(this).data("rotateyout"):h.lt.rotateYOut,curSubScale=n(this).data("scaleout")?n(this).data("scaleout"):h.lt.scaleOut,curSubSkewX=n(this).data("skewxout")?n(this).data("skewxout"):h.lt.skewXOut,curSubSkewY=n(this).data("skewyout")?n(this).data("skewyout"):h.lt.skewYOut,curSubScale===1?(curSubScaleX=n(this).data("scalexout")?n(this).data("scalexout"):h.lt.scaleXOut,curSubScaleY=n(this).data("scaleyout")?n(this).data("scaleyout"):h.lt.scaleYOut):curSubScaleX=curSubScaleY=curSubScale,f=n(this).data("transformoriginout")?n(this).data("transformoriginout").split(" "):h.lt.transformOriginOut,e=0;e<f.length;e++)f[e].indexOf("%")===-1&&f[e].indexOf("left")!==-1&&f[e].indexOf("right")!==-1&&f[e].indexOf("top")!==-1&&f[e].indexOf("bottom")!==-1&&(f[e]=""+parseInt(f[e])*h.g.ratio+"px");var ot=f.join(" "),st=n(this).data("perspectiveout")?n(this).data("perspectiveout"):h.lt.perspectiveOut,w=parseInt(n(this).css("left")),b=parseInt(n(this).css("top")),v=parseInt(n(this).attr("class").split("ls-l")[1]),k=n(this).outerWidth()>n(this).outerHeight()?n(this).outerWidth():n(this).outerHeight(),d=parseInt(c)===0?n(this).outerWidth():k,g=parseInt(c)===0?n(this).outerHeight():k;if(v===-1&&s!=="new"||n(this).data("offsetxout")==="left"||n(this).data("offsetxout")==="right"?r<0?r=-(h.g.sliderWidth()-w+(curSubScaleX/2-.5)*d+100):r>0&&(r=w+(curSubScaleX/2+.5)*d+100):r=r*h.g.ratio,v===-1&&s!=="new"||n(this).data("offsetyout")==="top"||n(this).data("offsetyout")==="bottom"?u<0?u=-(h.g.sliderHeight()-b+(curSubScaleY/2-.5)*g+100):u>0&&(u=b+(curSubScaleY/2+.5)*g+100):u=u*h.g.ratio,v===-1||s==="new"?l=1:(nt=h.g.curLayer.data("parallaxout")?parseInt(h.g.curLayer.data("parallaxout")):h.o.parallaxOut,l=v*nt),n(this).data("transitiontype")==="new")var tt=h.lt.delayOut,it=h.lt.durationOut,rt=h.lt.easingOut;else var tt=h.o.delayOut,it=h.o.durationOut,rt=h.o.easingOut;p=n(this).data("delayout")?parseInt(n(this).data("delayout")):tt;a=n(this).data("durationout")?parseInt(n(this).data("durationout")):it;a===0&&(a=1);ut=n(this).data("easingout")?n(this).data("easingout"):rt;t&&(p=0,a=t);n(this).data("showUntilTimer")&&clearTimeout(n(this).data("showUntilTimer"));var ft={visibility:"hidden"},ht=n(this),et={rotation:c,rotationX:curSubRotateX,rotationY:curSubRotateY,skewX:curSubSkewX,skewY:curSubSkewY,scaleX:curSubScaleX,scaleY:curSubScaleY,x:-r*l,y:-u*l,delay:p/1e3,ease:i(ut),onComplete:function(){ht.css(ft)}};s!="fade"&&(s||y!=="fade")&&(n(this).data("fadeout")==="false"||n(this).data("transitiontype")!=="new")||(et.opacity=0,ft.opacity=n(this).data("originalOpacity"));n(this).data("tr")&&n(this).data("tr").kill();TweenLite.set(n(this)[0],{transformOrigin:ot,transformPerspective:st});n(this).data("tr",TweenLite.to(n(this)[0],a/1e3,et))}})},st=function(){h.g.nextLayer.delay(c+g).animate({width:h.g.sliderWidth(),height:h.g.sliderHeight()},w,et)},a=function(){h.g.totalDuration&&(c=0);typeof h.o.cbTimeLineStart=="function"&&h.o.cbTimeLineStart(h.g,c+g);h.g.nextLayer.find(' > *[class*="ls-l"]').each(function(){var s,t,r,c,u,f,g,l,v,y;n(this).data("transitiontype")||h.transitionType(n(this));s=n(this).data("transitiontype")==="new"?"new":n(this).data("slidedirection")?n(this).data("slidedirection"):o;switch(s){case"left":t=-h.g.sliderWidth();r=0;break;case"right":t=h.g.sliderWidth();r=0;break;case"top":r=-h.g.sliderHeight();t=0;break;case"bottom":r=h.g.sliderHeight();t=0;break;case"fade":r=0;t=0;break;case"new":t=n(this).data("offsetxin")?n(this).data("offsetxin")==="left"?-h.g.sliderWidth():n(this).data("offsetxin")==="right"?h.g.sliderWidth():parseInt(n(this).data("offsetxin")):h.lt.offsetXIn;r=n(this).data("offsetyin")?n(this).data("offsetyin")==="top"?-h.g.sliderHeight():n(this).data("offsetyin")==="bottom"?h.g.sliderHeight():parseInt(n(this).data("offsetyin")):h.lt.offsetYIn}for(c=nextSubRotateX=nextSubRotateY=nextSubScale=nextSubSkewX=nextSubSkewY=nextSubScaleX=nextSubScaleY="none",c=n(this).data("rotatein")?n(this).data("rotatein"):h.lt.rotateIn,nextSubRotateX=n(this).data("rotatexin")?n(this).data("rotatexin"):h.lt.rotateXIn,nextSubRotateY=n(this).data("rotateyin")?n(this).data("rotateyin"):h.lt.rotateYIn,nextSubScale=n(this).data("scalein")?n(this).data("scalein"):h.lt.scaleIn,nextSubSkewX=n(this).data("skewxin")?n(this).data("skewxin"):h.lt.skewXIn,nextSubSkewY=n(this).data("skewyin")?n(this).data("skewyin"):h.lt.skewYIn,nextSubScale===1?(nextSubScaleX=n(this).data("scalexin")?n(this).data("scalexin"):h.lt.scaleXIn,nextSubScaleY=n(this).data("scaleyin")?n(this).data("scaleyin"):h.lt.scaleYIn):nextSubScaleX=nextSubScaleY=nextSubScale,u=n(this).data("transformoriginin")?n(this).data("transformoriginin").split(" "):h.lt.transformOriginIn,f=0;f<u.length;f++)u[f].indexOf("%")===-1&&u[f].indexOf("left")!==-1&&u[f].indexOf("right")!==-1&&u[f].indexOf("top")!==-1&&u[f].indexOf("bottom")!==-1&&(u[f]=""+parseInt(u[f])*h.g.ratio+"px");var rt=u.join(" "),ut=n(this).data("perspectivein")?n(this).data("perspectivein"):h.lt.perspectiveIn,p=parseInt(n(this).css("left")),w=parseInt(n(this).css("top")),a=parseInt(n(this).attr("class").split("ls-l")[1]);n(this)[0].style.width.indexOf("%")!==-1&&n(this).css({width:h.g.sliderWidth()/100*parseInt(n(this)[0].style.width)});var b=n(this).outerWidth()>n(this).outerHeight()?n(this).outerWidth():n(this).outerHeight(),k=parseInt(c)===0?n(this).outerWidth():b,d=parseInt(c)===0?n(this).outerHeight():b;if(a===-1&&s!=="new"||n(this).data("offsetxin")==="left"||n(this).data("offsetxin")==="right"?t<0?t=-(p+(nextSubScaleX/2+.5)*k+100):t>0&&(t=h.g.sliderWidth()-p+(nextSubScaleX/2-.5)*k+100):t=t*h.g.ratio,a===-1&&s!=="new"||n(this).data("offsetyin")==="top"||n(this).data("offsetyin")==="bottom"?r<0?r=-(w+(nextSubScaleY/2+.5)*d+100):r>0&&(r=h.g.sliderHeight()-w+(nextSubScaleY/2-.5)*d+100):r=r*h.g.ratio,a===-1||s==="new"?l=1:(g=h.g.nextLayer.data("parallaxin")?parseInt(h.g.nextLayer.data("parallaxin")):h.o.parallaxIn,l=a*g),n(this).data("transitiontype")==="new")var nt=h.lt.delayIn,tt=h.lt.durationIn,it=h.lt.easingIn;else var nt=h.o.delayIn,tt=h.o.durationIn,it=h.o.easingIn;var ft=n(this).data("delayin")?parseInt(n(this).data("delayin")):nt,et=n(this).data("durationin")?parseInt(n(this).data("durationin")):tt,ot=n(this).data("easingin")?n(this).data("easingin"):it,e=n(this),st=function(){e.hasClass("ls-video-layer")&&e.addClass("ls-videohack");h.o.autoPlayVideos==!0&&(e.find(".ls-videopreview").click(),e.find("video, audio").each(function(){!0&&(n(this)[0].currentTime=0);n(this).click()}));(!e.hasClass("ls-video-layer")||e.hasClass("ls-video-layer")&&h.o.autoPlayVideos===!1)&&e.data("showuntil")>0&&e.data("showUntilTimer",setTimeout(function(){h.sublayerShowUntil(e)},e.data("showuntil")))};n(this).css({marginLeft:0,marginTop:0});v={scaleX:nextSubScaleX,scaleY:nextSubScaleY,skewX:nextSubSkewX,skewY:nextSubSkewY,rotation:c,rotationX:nextSubRotateX,rotationY:nextSubRotateY,visibility:"visible",x:t*l,y:r*l};y={rotation:0,rotationX:0,rotationY:0,skewX:0,skewY:0,scaleX:1,scaleY:1,ease:i(ot),delay:ft/1e3,x:0,y:0,onComplete:function(){st()}};(s.indexOf("fade")!=-1||n(this).data("fadein")!=="false"&&n(this).data("transitiontype")==="new")&&(v.opacity=0,y.opacity=n(this).data("originalOpacity"));n(this).data("tr")&&n(this).data("tr").kill();TweenLite.set(n(this)[0],{transformPerspective:ut,transformOrigin:rt});n(this).data("tr",TweenLite.fromTo(n(this)[0],et/1e3,v,y))})},ht=function(){var i,u;f(n(r))&&(h.g.nextLayer.data("transition3d")||h.g.nextLayer.data("customtransition3d"))?h.g.nextLayer.data("transition3d")&&h.g.nextLayer.data("customtransition3d")?(i=Math.floor(Math.random()*2),u=[["3d",h.g.nextLayer.data("transition3d")],["custom3d",h.g.nextLayer.data("customtransition3d")]],t(u[i][0],u[i][1])):h.g.nextLayer.data("transition3d")?t("3d",h.g.nextLayer.data("transition3d")):t("custom3d",h.g.nextLayer.data("customtransition3d")):h.g.nextLayer.data("transition2d")&&h.g.nextLayer.data("customtransition2d")?(i=Math.floor(Math.random()*2),u=[["2d",h.g.nextLayer.data("transition2d")],["custom2d",h.g.nextLayer.data("customtransition2d")]],t(u[i][0],u[i][1])):h.g.nextLayer.data("transition2d")?t("2d",h.g.nextLayer.data("transition2d")):h.g.nextLayer.data("customtransition2d")?t("custom2d",h.g.nextLayer.data("customtransition2d")):t("2d","1")},ct=function(){f(n(r))&&LSCustomTransition.indexOf("3d")!=-1?t("3d",LSCustomTransition.split(":")[1]):LSCustomTransition.indexOf("3d")!=-1?t("2d","all"):t("2d",LSCustomTransition.split(":")[1])},t=function(n,t){var u=n.indexOf("custom")==-1?h.t:h.ct,i="3d",f,r,e,o;n.indexOf("2d")!=-1&&(i="2d");t.indexOf("last")!=-1?(r=u["t"+i].length-1,f="last"):t.indexOf("all")!=-1?(r=Math.floor(Math.random()*s(u["t"+i])),f="random from all"):(e=t.split(","),o=e.length,r=parseInt(e[Math.floor(Math.random()*o)])-1,f="random from specified");tt(i,u["t"+i][r])},tt=function(t,r){var rt=h.g.i,yt=h.g.curLayer.find('*[class*="ls-l"]').length>0?1e3:0,ot=r.name.toLowerCase().indexOf("carousel")==-1?!1:!0,ti=r.name.toLowerCase().indexOf("crossfad")==-1?!1:!0,o=typeof r.cols,s=typeof r.rows,pt,wt,bt,c,v,st,ht,ct,b,k,d,et,y,at,ei,p,ai,gt,ci,ni,w,li,vi;switch(o){case"number":o=r.cols;break;case"string":o=Math.floor(Math.random()*(parseInt(r.cols.split(",")[1])-parseInt(r.cols.split(",")[0])+1))+parseInt(r.cols.split(",")[0]);break;default:o=Math.floor(Math.random()*(r.cols[1]-r.cols[0]+1))+r.cols[0]}switch(s){case"number":s=r.rows;break;case"string":s=Math.floor(Math.random()*(parseInt(r.rows.split(",")[1])-parseInt(r.rows.split(",")[0])+1))+parseInt(r.rows.split(",")[0]);break;default:s=Math.floor(Math.random()*(r.rows[1]-r.rows[0]+1))+r.rows[0]}(h.g.isMobile()==!0&&h.o.optimizeForMobile==!0||h.g.ie78&&h.o.optimizeForIE78==!0)&&(o>=15?o=7:o>=5?o=4:o>=4?o=3:o>2&&(o=2),s>=15?s=7:s>=5?s=4:s>=4?s=3:s>2&&(s=2),s>2&&o>2&&(s=2,o>4&&(o=4)));pt=h.g.i.width()/o;wt=h.g.i.height()/s;h.g.ltContainer?h.g.ltContainer.stop(!0,!0).empty().css({display:"block",width:rt.width(),height:rt.height()}):h.g.ltContainer=n("<div>").addClass("ls-lt-container").addClass("ls-overflow-hidden").css({width:rt.width(),height:rt.height()}).prependTo(rt);var yi=rt.width()-Math.floor(pt)*o,pi=rt.height()-Math.floor(wt)*s,g=[];for(g.randomize=function(){var n=this.length,t,i,r;if(n==0)return!1;while(--n)t=Math.floor(Math.random()*(n+1)),i=this[n],r=this[t],this[n]=r,this[t]=i;return this},bt=0;bt<o*s;bt++)g.push(bt);switch(r.tile.sequence){case"reverse":g.reverse();break;case"col-forward":g=e(s,o,"forward");break;case"col-reverse":g=e(s,o,"reverse");break;case"random":g.randomize()}for(c=h.g.curLayer.find(".ls-bg"),v=h.g.nextLayer.find(".ls-bg"),c.length==0&&v.length==0&&(t="2d",r=n.extend(!0,{},h.t.t2d[0]),r.transition.duration=1,r.tile.delay=0),t=="3d"?(h.g.totalDuration=(o*s-1)*r.tile.delay,st=0,r.before&&r.before.duration&&(st+=r.before.duration),r.animation&&r.animation.duration&&(st+=r.animation.duration),r.after&&r.after.duration&&(st+=r.after.duration),h.g.totalDuration+=st,ht=0,r.before&&r.before.delay&&(ht+=r.before.delay),r.animation&&r.animation.delay&&(ht+=r.animation.delay),r.after&&r.after.delay&&(ht+=r.after.delay),h.g.totalDuration+=ht):(h.g.totalDuration=(o*s-1)*r.tile.delay+r.transition.duration,h.g.curTiles=n("<div>").addClass("ls-curtiles").appendTo(h.g.ltContainer),h.g.nextTiles=n("<div>").addClass("ls-nexttiles").appendTo(h.g.ltContainer)),ct=h.g.prevNext,b=0;b<o*s;b++){var ii=b%o==0?yi:0,ri=b>(s-1)*o-1?pi:0,f=n("<div>").addClass("ls-lt-tile").css({width:Math.floor(pt)+ii,height:Math.floor(wt)+ri}).appendTo(h.g.ltContainer),lt,kt;if(t=="3d"){f.addClass("ls-3d-container");k=Math.floor(pt)+ii;d=Math.floor(wt)+ri;et=r.animation.direction=="horizontal"?Math.abs(r.animation.transition.rotateY)>90&&r.tile.depth!="large"?Math.floor(k/7)+ii:k:Math.abs(r.animation.transition.rotateX)>90&&r.tile.depth!="large"?Math.floor(d/7)+ri:d;var ut=k/2,ft=d/2,tt=et/2,it=function(t,i,r,u,f,e,o,s,h){n("<div>").addClass(t).css({width:r,height:u,"-o-transform":"translate3d("+f+"px, "+e+"px, "+o+"px) rotateX("+s+"deg) rotateY("+h+"deg) rotateZ(0deg) scale3d(1, 1, 1)","-ms-transform":"translate3d("+f+"px, "+e+"px, "+o+"px) rotateX("+s+"deg) rotateY("+h+"deg) rotateZ(0deg) scale3d(1, 1, 1)","-moz-transform":"translate3d("+f+"px, "+e+"px, "+o+"px) rotateX("+s+"deg) rotateY("+h+"deg) rotateZ(0deg) scale3d(1, 1, 1)","-webkit-transform":"translate3d("+f+"px, "+e+"px, "+o+"px) rotateX("+s+"deg) rotateY("+h+"deg) rotateZ(0deg) scale3d(1, 1, 1)",transform:"translate3d("+f+"px, "+e+"px, "+o+"px) rotateX("+s+"deg) rotateY("+h+"deg) rotateZ(0deg) scale3d(1, 1, 1)"}).appendTo(i)};it("ls-3d-box",f,0,0,0,0,-tt,0,0);r.animation.direction=="vertical"&&Math.abs(r.animation.transition.rotateX)>90?it("ls-3d-back",f.find(".ls-3d-box"),k,d,-ut,-ft,-tt,180,0):it("ls-3d-back",f.find(".ls-3d-box"),k,d,-ut,-ft,-tt,0,180);it("ls-3d-bottom",f.find(".ls-3d-box"),k,et,-ut,ft-tt,0,-90,0);it("ls-3d-top",f.find(".ls-3d-box"),k,et,-ut,-ft-tt,0,90,0);it("ls-3d-front",f.find(".ls-3d-box"),k,d,-ut,-ft,tt,0,0);it("ls-3d-left",f.find(".ls-3d-box"),et,d,-ut-tt,-ft,0,0,-90);it("ls-3d-right",f.find(".ls-3d-box"),et,d,ut-tt,-ft,0,0,90);lt=f.find(".ls-3d-front");kt=r.animation.direction=="horizontal"?Math.abs(r.animation.transition.rotateY)>90?f.find(".ls-3d-back"):f.find(".ls-3d-left, .ls-3d-right"):Math.abs(r.animation.transition.rotateX)>90?f.find(".ls-3d-back"):f.find(".ls-3d-top, .ls-3d-bottom");var dt=g[b]*r.tile.delay,ui=h.g.ltContainer.find(".ls-3d-container:eq("+b+") .ls-3d-box"),fi=new TimelineLite;r.before&&r.before.transition?(r.before.transition.delay=r.before.transition.delay?(r.before.transition.delay+dt)/1e3:dt/1e3,fi.to(ui[0],r.before.duration/1e3,u(r.before.transition,r.before.easing))):r.animation.transition.delay=r.animation.transition.delay?(r.animation.transition.delay+dt)/1e3:dt/1e3;fi.to(ui[0],r.animation.duration/1e3,u(r.animation.transition,r.animation.easing));r.after&&(r.after.transition||(r.after.transition={}),fi.to(ui[0],r.after.duration/1e3,u(r.after.transition,r.after.easing,"after")))}else{if(y=L1=T2=L2="auto",at=O2=1,r.transition.direction=="random"?(ei=["top","bottom","right","left"],p=ei[Math.floor(Math.random()*ei.length)]):p=r.transition.direction,r.name.toLowerCase().indexOf("mirror")!=-1&&b%2==0&&(ct=ct=="prev"?"next":"prev"),ct=="prev")switch(p){case"top":p="bottom";break;case"bottom":p="top";break;case"left":p="right";break;case"right":p="left";break;case"topleft":p="bottomright";break;case"topright":p="bottomleft";break;case"bottomleft":p="topright";break;case"bottomright":p="topleft"}switch(p){case"top":y=T2=-f.height();L1=L2=0;break;case"bottom":y=T2=f.height();L1=L2=0;break;case"left":y=T2=0;L1=L2=-f.width();break;case"right":y=T2=0;L1=L2=f.width();break;case"topleft":y=f.height();T2=0;L1=f.width();L2=0;break;case"topright":y=f.height();T2=0;L1=-f.width();L2=0;break;case"bottomleft":y=-f.height();T2=0;L1=f.width();L2=0;break;case"bottomright":y=-f.height();T2=0;L1=-f.width();L2=0}h.g.scale2D=r.transition.scale?r.transition.scale:1;ot==!0&&h.g.scale2D!=1&&(y=y/2,T2=T2/2,L1=L1/2,L2=L2/2);switch(r.transition.type){case"fade":y=T2=L1=L2=0;at=0;O2=1;break;case"mixed":at=0;O2=1;h.g.scale2D==1&&(T2=L2=0)}(r.transition.rotate||r.transition.rotateX||r.transition.rotateY||h.g.scale2D!=1)&&!h.g.ie78&&r.transition.type!="slide"?f.css({overflow:"visible"}):f.css({overflow:"hidden"});ot==!0?h.g.curTiles.css({overflow:"visible"}):h.g.curTiles.css({overflow:"hidden"});ti==!0||r.transition.type=="slide"||ot==!0?(ai=f.appendTo(h.g.curTiles),gt=f.clone().appendTo(h.g.nextTiles),lt=n("<div>").addClass("ls-curtile").appendTo(ai)):gt=f.appendTo(h.g.nextTiles);kt=n("<div>").addClass("ls-nexttile").appendTo(gt).css({top:-y,left:-L1,dispay:"block",opacity:at});var oi=g[b]*r.tile.delay,vt=r.transition.rotate?r.transition.rotate:0,si=r.transition.rotateX?r.transition.rotateX:0,hi=r.transition.rotateY?r.transition.rotateY:0;ct=="prev"&&(vt=-vt,si=-si,hi=-hi);TweenLite.fromTo(kt[0],r.transition.duration/1e3,{rotation:vt,rotationX:si,rotationY:hi,scale:h.g.scale2D},{delay:oi/1e3,top:0,left:0,opacity:O2,rotation:0,rotationX:0,rotationY:0,scale:1,ease:i(r.transition.easing)});ti==!0&&(v.length<1||v.length>0&&(v.attr("src").toLowerCase().indexOf("png")!=-1||v.width()<h.g.sliderWidth()||v.height()<h.g.sliderHeight()))&&TweenLite.to(lt[0],r.transition.duration/1e3,{delay:oi/1e3,opacity:0,ease:i(r.transition.easing)});(r.transition.type=="slide"||ot==!0)&&r.name.toLowerCase().indexOf("mirror")==-1&&(ci=0,vt!=0&&(ci=-vt),TweenLite.to(lt[0],r.transition.duration/1e3,{delay:oi/1e3,top:T2,left:L2,rotation:ci,scale:h.g.scale2D,opacity:at,ease:i(r.transition.easing)}))}c.length&&(t=="3d"||t=="2d"&&(ti==!0||r.transition.type=="slide"||ot==!0)?lt.append(n("<img>").attr("src",c.attr("src")).css({width:c[0].style.width,height:c[0].style.height,marginLeft:parseFloat(c.css("margin-left"))-parseFloat(f.position().left),marginTop:parseFloat(c.css("margin-top"))-parseFloat(f.position().top)})):h.g.curTiles.children().length==0&&h.g.curTiles.append(n("<img>").attr("src",c.attr("src")).css({width:c[0].style.width,height:c[0].style.height,marginLeft:parseFloat(c.css("margin-left")),marginTop:parseFloat(c.css("margin-top"))})));v.length&&kt.append(n("<img>").attr("src",v.attr("src")).css({width:v[0].style.width,height:v[0].style.height,marginLeft:parseFloat(v.css("margin-left"))-parseFloat(f.position().left),marginTop:parseFloat(v.css("margin-top"))-parseFloat(f.position().top)}))}ni=h.g.curLayer;w=h.g.nextLayer;setTimeout(function(){ni.find(".ls-bg").css({visibility:"hidden"})},50);w.find(".ls-bg").css({visibility:"hidden"});h.g.ltContainer.removeClass("ls-overflow-hidden");nt(yt);yt===0&&(yt=10);setTimeout(function(){ni.css({width:0})},yt);li=parseInt(w.data("timeshift"))?parseInt(w.data("timeshift")):0;vi=h.g.totalDuration+li>0?h.g.totalDuration+li:0;setTimeout(function(){h.g.resize==!0&&(h.g.ltContainer.empty(),ni.removeClass("ls-active"),h.makeResponsive(w,function(){h.g.resize=!1}));a();(w.find(".ls-bg").length<1||w.find(".ls-bg").length>0&&w.find(".ls-bg").attr("src").toLowerCase().indexOf("png")!=-1)&&h.g.ltContainer.delay(350).fadeOut(300,function(){n(this).empty().show()});w.css({width:h.g.sliderWidth(),height:h.g.sliderHeight()})},vi);h.g.totalDuration<300&&(h.g.totalDuration=1e3);setTimeout(function(){h.g.ltContainer.addClass("ls-overflow-hidden");w.find(".ls-bg").length?(w.find(".ls-bg").css({display:"none",visibility:"visible"}),h.g.ie78?(w.find(".ls-bg").css("display","block"),setTimeout(function(){l()},500)):w.find(".ls-bg").fadeIn(500,function(){l()})):l()},h.g.totalDuration)},lt=function(){h.g.nextLayer.find(' > *[class*="ls-l"]').each(function(){n(this).css({visibility:"hidden"})});h.g.sliderTop=n(r).offset().top;n(window).load(function(){setTimeout(function(){h.g.sliderTop=n(r).offset().top},20)});var t=function(){n(window).scrollTop()+n(window).height()-h.g.sliderHeight()/2>h.g.sliderTop&&(h.g.firstSlideAnimated=!0,h.g.originalAutoStart===!0&&(h.o.autoStart=!0,h.start()),a())};n(window).scroll(function(){h.g.firstSlideAnimated||t()});t()},v=(h.g.nextLayer.data("transition3d")||h.g.nextLayer.data("transition2d"))&&h.t||(h.g.nextLayer.data("customtransition3d")||h.g.nextLayer.data("customtransition2d"))&&h.ct?"new":"old";if(h.g.nextLayer.data("transitiontype")||h.transitionType(h.g.nextLayer),h.g.nextLayer.data("transitiontype")==="new"&&(v="new"),h.o.slideTransition&&(v="forced"),h.o.animateFirstSlide&&!h.g.firstSlideAnimated)h.g.layersNum==1?(c=0,h.o.cbAnimStop(h.g)):(it=parseInt(h.g.nextLayer.data("timeshift"))?parseInt(h.g.nextLayer.data("timeshift")):0,rt=v=="new"?0:p,h.g.t5=setTimeout(function(){l()},rt+Math.abs(it))),h.g.totalDuration=!0,h.o.startInViewport===!0?lt():(h.g.firstSlideAnimated=!0,a()),h.g.nextLayer.css({width:h.g.sliderWidth(),height:h.g.sliderHeight()}),h.g.ie78||h.g.nextLayer.find(".ls-bg").css({display:"none"}).fadeIn(h.o.sliderFadeInDuration),h.g.isLoading=!1;else switch(v){case"old":h.g.totalDuration=!1;h.g.ltContainer&&h.g.ltContainer.empty();ot();nt();st();a();break;case"new":typeof LSCustomTransition!="undefined"?ct():ht();break;case"forced":tt(h.o.slideTransition.type,h.o.slideTransition.obj)}};h.transitionType=function(n){var t=n.data("ls")||!n.data("ls")&&!n.data("slidedelay")&&!n.data("slidedirection")&&!n.data("slideoutdirection")&&!n.data("delayin")&&!n.data("delayout")&&!n.data("durationin")&&!n.data("durationout")&&!n.data("showuntil")&&!n.data("easingin")&&!n.data("easingout")&&!n.data("scalein")&&!n.data("scaleout")&&!n.data("rotatein")&&!n.data("rotateout")?"new":"old";n.data("transitiontype",t)};h.sublayerShowUntil=function(n){var c,e,o,u,f,nt,s,a,v,y;n.data("transitiontype")||h.transitionType(n);n.removeClass("ls-videohack");c=h.g.curLayer;h.g.prevNext!="prev"&&h.g.nextLayer&&(c=h.g.nextLayer);var rt=c.data("slidedirection")?c.data("slidedirection"):h.o.slideDirection,ut=h.g.slideDirections[h.g.prevNext][rt],p=n.data("slidedirection")?n.data("slidedirection"):ut,t,r;switch(p){case"left":t=-h.g.sliderWidth();r=0;break;case"right":t=h.g.sliderWidth();r=0;break;case"top":r=-h.g.sliderHeight();t=0;break;case"bottom":r=h.g.sliderHeight();t=0;break;case"fade":r=0;t=0}e=n.data("transitiontype")==="new"?"new":n.data("slideoutdirection")?n.data("slideoutdirection"):!1;switch(e){case"left":t=h.g.sliderWidth();r=0;break;case"right":t=-h.g.sliderWidth();r=0;break;case"top":r=h.g.sliderHeight();t=0;break;case"bottom":r=-h.g.sliderHeight();t=0;break;case"fade":r=0;t=0;break;case"new":t=n.data("offsetxout")?n.data("offsetxout")==="left"?h.g.sliderWidth():n.data("offsetxout")==="right"?-h.g.sliderWidth():-parseInt(n.data("offsetxout")):-h.lt.offsetXOut;r=n.data("offsetyout")?n.data("offsetyout")==="top"?h.g.sliderHeight():n.data("offsetyout")==="bottom"?-h.g.sliderHeight():-parseInt(n.data("offsetyout")):-h.lt.offsetYOut}for(o=curSubRotateX=curSubRotateY=curSubScale=curSubSkewX=curSubSkewY=curSubScaleX=curSubScaleY="none",o=n.data("rotateout")?n.data("rotateout"):h.lt.rotateOut,curSubRotateX=n.data("rotatexout")?n.data("rotatexout"):h.lt.rotateXOut,curSubRotateY=n.data("rotateyout")?n.data("rotateyout"):h.lt.rotateYOut,curSubScale=n.data("scaleout")?n.data("scaleout"):h.lt.scaleOut,curSubSkewX=n.data("skewxout")?n.data("skewxout"):h.lt.skewXOut,curSubSkewY=n.data("skewyout")?n.data("skewyout"):h.lt.skewYOut,curSubScale===1?(curSubScaleX=n.data("scalexout")?n.data("scalexout"):h.lt.scaleXOut,curSubScaleY=n.data("scaleyout")?n.data("scaleyout"):h.lt.scaleYOut):curSubScaleX=curSubScaleY=curSubScale,u=n.data("transformoriginout")?n.data("transformoriginout").split(" "):h.lt.transformOriginOut,f=0;f<u.length;f++)u[f].indexOf("%")===-1&&u[f].indexOf("left")!==-1&&u[f].indexOf("right")!==-1&&u[f].indexOf("top")!==-1&&u[f].indexOf("bottom")!==-1&&(u[f]=""+parseInt(u[f])*h.g.ratio+"px");var ft=u.join(" "),et=n.data("perspectiveout")?n.data("perspectiveout"):h.lt.perspectiveOut,w=parseInt(n.css("left")),b=parseInt(n.css("top")),l=parseInt(n.attr("class").split("ls-l")[1]),k=n.outerWidth()>n.outerHeight()?n.outerWidth():n.outerHeight(),d=parseInt(o)===0?n.outerWidth():k,g=parseInt(o)===0?n.outerHeight():k;l===-1&&e!=="new"||n.data("offsetxout")==="left"||n.data("offsetxout")==="right"?t<0?t=-(h.g.sliderWidth()-w+(curSubScaleX/2-.5)*d+100):t>0&&(t=w+(curSubScaleX/2+.5)*d+100):t=t*h.g.ratio;l===-1&&e!=="new"||n.data("offsetyout")==="top"||n.data("offsetyout")==="bottom"?r<0?r=-(h.g.sliderHeight()-b+(curSubScaleY/2-.5)*g+100):r>0&&(r=b+(curSubScaleY/2+.5)*g+100):r=r*h.g.ratio;l===-1||e==="new"?s=1:(nt=h.g.curLayer.data("parallaxout")?parseInt(h.g.curLayer.data("parallaxout")):h.o.parallaxOut,s=l*nt);n.data("transitiontype")==="new"?(a=h.lt.durationOut,v=h.lt.easingOut):(a=h.o.durationOut,v=h.o.easingOut);y=n.data("durationout")?parseInt(n.data("durationout")):a;y===0&&(y=1);var ot=n.data("easingout")?n.data("easingout"):v,tt={visibility:"hidden"},it={rotation:o,rotationX:curSubRotateX,rotationY:curSubRotateY,skewX:curSubSkewX,skewY:curSubSkewY,scaleX:curSubScaleX,scaleY:curSubScaleY,x:-t*s,y:-r*s,ease:i(ot),onComplete:function(){n.css(tt)}};e!="fade"&&(e||p!="fade")&&(n.data("fadeout")==="false"||n.data("transitiontype")!=="new")||(it.opacity=0,tt.opacity=n.data("originalOpacity"));TweenLite.set(n[0],{transformPerspective:et,transformOrigin:ft});TweenLite.to(n[0],y/1e3,it)};h.load()},i=function(n){var i,t;return n.toLowerCase().indexOf("swing")!==-1||n.toLowerCase().indexOf("linear")!==-1?i=Linear.easeNone:n.toLowerCase().indexOf("easeinout")!==-1?(t=n.toLowerCase().split("easeinout")[1],i=window[t.charAt(0).toUpperCase()+t.slice(1)].easeInOut):n.toLowerCase().indexOf("easeout")!==-1?(t=n.toLowerCase().split("easeout")[1],i=window[t.charAt(0).toUpperCase()+t.slice(1)].easeOut):n.toLowerCase().indexOf("easein")!==-1&&(t=n.toLowerCase().split("easein")[1],i=window[t.charAt(0).toUpperCase()+t.slice(1)].easeIn),i},u=function(n,t,r,u){var t,f;return typeof t=="undefined"&&(t="easeInOutQuart"),f={},n.rotate!==u&&(f.rotation=n.rotate),n.rotateY!==u&&(f.rotationY=n.rotateY),n.rotateX!==u&&(f.rotationX=n.rotateX),r==="after"?f.scaleX=f.scaleY=f.scaleZ=1:n.scale3d!==u&&(f.scaleX=f.scaleY=f.scaleZ=n.scale3d),n.delay&&(f.delay=r==="after"?n.delay/1e3:n.delay),f.ease=i(t),f},f=function(t){var r=n("<div>"),u=!1,f=!1,e=["perspective","OPerspective","msPerspective","MozPerspective","WebkitPerspective"],i;for(transform=["transformStyle","OTransformStyle","msTransformStyle","MozTransformStyle","WebkitTransformStyle"],i=e.length-1;i>=0;i--)u=u?u:r[0].style[e[i]]!=undefined;for(i=transform.length-1;i>=0;i--)r.css("transform-style","preserve-3d"),f=f?f:r[0].style[transform[i]]=="preserve-3d";return u&&r[0].style[e[4]]!=undefined&&(r.attr("id","ls-test3d").appendTo(t),u=r[0].offsetHeight===3&&r[0].offsetLeft===9,r.remove()),u&&f},e=function(n,t,i){var f=[],r,u;if(i=="forward")for(r=0;r<n;r++)for(u=0;u<t;u++)f.push(r+u*n);else for(r=n-1;r>-1;r--)for(u=t-1;u>-1;u--)f.push(r+u*n);return f},s=function(n){var t=0,i;for(i in n)n.hasOwnProperty(i)&&++t;return t},o=function(){uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};var t=uaMatch(navigator.userAgent),n={};return t.browser&&(n[t.browser]=!0,n.version=t.version),n.chrome?n.webkit=!0:n.webkit&&(n.safari=!0),n},h=function(n,t){for(var r=["webkit","khtml","moz","ms","o",""],u=0,i,f;u<r.length&&!n[i];){if(i=t,r[u]==""&&(i=i.substr(0,1).toLowerCase()+i.substr(1)),i=r[u]+i,f=typeof n[i],f!="undefined")return r=[r[u]],f=="function"?n[i]():n[i];u++}};t.global={version:"5.6.0",isMobile:function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)?!0:!1},isHideOn3D:function(n){return n.css("padding-bottom")=="auto"||n.css("padding-bottom")=="none"||n.css("padding-bottom")==0||n.css("padding-bottom")=="0px"?!0:!1},ie78:o().msie&&o().version<9?!0:!1,originalAutoStart:!1,paused:!1,pausedByVideo:!1,autoSlideshow:!1,isAnimating:!1,layersNum:null,prevNext:"next",slideTimer:null,sliderWidth:null,sliderHeight:null,numYouTubeCurslide:0,slideDirections:{prev:{left:"right",right:"left",top:"bottom",bottom:"top"},next:{left:"left",right:"right",top:"top",bottom:"bottom"}},v:{d:500,fo:750,fi:500}};t.layerTransitions={offsetXIn:80,offsetYIn:0,durationIn:1e3,delayIn:0,easingIn:"easeInOutQuint",fadeIn:!0,rotateIn:0,rotateXIn:0,rotateYIn:0,scaleIn:1,scaleXIn:1,scaleYIn:1,skewXIn:0,skewYIn:0,transformOriginIn:["50%","50%","0"],perspectiveIn:500,offsetXOut:-80,offsetYOut:0,durationOut:400,showUntil:0,easingOut:"easeInOutQuint",fadeOut:!0,rotateOut:0,rotateXOut:0,rotateYOut:0,scaleOut:1,scaleXOut:1,scaleYOut:1,skewXOut:0,skewYOut:0,transformOriginOut:["50%","50%","0"],perspectiveOut:500};t.slideTransitions={slideDelay:4e3};t.options={responsive:!0,responsiveUnder:0,layersContainer:0,fullScreen:!1,prependTo:"",autoStart:!0,startInViewport:!0,pauseOnHover:!0,firstSlide:1,animateFirstSlide:!0,sliderFadeInDuration:350,loops:0,forceLoopNum:!0,twoWaySlideshow:!1,randomSlideshow:!1,skin:"v5",skinsPath:"/layerslider/skins/",globalBGColor:"transparent",globalBGImage:!1,navPrevNext:!0,navStartStop:!0,navButtons:!0,keybNav:!0,touchNav:!0,hoverPrevNext:!0,hoverBottomNav:!1,showBarTimer:!1,showCircleTimer:!0,thumbnailNavigation:"hover",tnContainerWidth:"60%",tnWidth:100,tnHeight:60,tnActiveOpacity:35,tnInactiveOpacity:100,autoPlayVideos:!0,autoPauseSlideshow:"auto",youtubePreview:"maxresdefault.jpg",imgPreload:!0,lazyLoad:!0,yourLogo:!1,yourLogoStyle:"left: -10px; top: -10px;",yourLogoLink:!1,yourLogoTarget:"_self",optimizeForMobile:!0,optimizeForIE78:!0,hideOnMobile:!1,hideUnder:0,hideOver:1e6,staticImage:"",cbInit:function(){},cbStart:function(){},cbStop:function(){},cbPause:function(){},cbAnimStart:function(){},cbAnimStop:function(){},cbPrev:function(){},cbNext:function(){},slideDelay:4e3,slideDirection:"right",parallaxIn:.45,parallaxOut:.45,durationIn:1e3,durationOut:1e3,easingIn:"easeInOutQuint",easingOut:"easeInOutQuint",delayIn:0,delayOut:0}}(jQuery);!function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};(t=function(){var t=0;return function(i,r){var f,u=this;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(i),appendDots:n(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous<\/button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return n('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!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:!0,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,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$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.focussed=!1;u.interrupted=!1;u.hidden="hidden";u.paused=!0;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(i);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(i).data("slick")||{};u.options=n.extend({},u.defaults,r,f);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;void 0!==document.mozHidden?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,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.instanceUid=t++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if("boolean"==typeof i)r=i,i=null;else if(i<0||i>=u.slideCount)return!1;u.unload();"number"==typeof i?0===i&&0===u.$slides.length?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):!0===r?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;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(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();!0===r.options.rtl&&!1===r.options.vertical&&(t=-t);!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):!1===r.cssTransitions?(!0===r.options.rtl&&(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);!1===r.options.vertical?(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]=!1===r.options.vertical?"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.getNavTarget=function(){var i=this,t=i.options.asNavFor;return t&&null!==t&&(t=n(t).not(i.$slider)),t};t.prototype.asNavFor=function(t){var i=this.getNavTarget();null!==i&&"object"==typeof i&&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]=!1===t.options.fade?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayClear();n.slideCount>n.options.slidesToShow&&(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,t=n.currentSlide+n.options.slidesToScroll;n.paused||n.interrupted||n.focussed||(!1===n.options.infinite&&(1===n.direction&&n.currentSlide+1===n.slideCount-1?n.direction=0:0===n.direction&&(t=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1==0&&(n.direction=1))),n.slideHandler(t))};t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(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),!0!==t.options.infinite&&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 i,r,t=this;if(!0===t.options.dots){for(t.$slider.addClass("slick-dotted"),r=n("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)r.append(n("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=r.appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active")}};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=0===t.slideCount?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(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("number"==typeof t.currentSlide?t.currentSlide:0);!0===t.options.draggable&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var t,i,r,f,c,u,e,n=this,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.empty().append(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var f,u,e,r=this,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if("window"===r.respondTo?e=h:"slider"===r.respondTo?e=s:"min"===r.respondTo&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(!1===r.originalSettings.mobileFirst?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));null!==u?null!==r.activeBreakpoint?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,"unslick"===r.breakpointSettings[u]?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===t&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||!1===o||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var f,e,o,r=this,u=n(t.currentTarget),s;switch(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,t.data.message){case"previous":e=0===f?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=0===f?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=0===t.data.index?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 t,i,r;if(t=this.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&&null!==t.$dots&&(n("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",n.proxy(t.interrupt,t,!0)).off("mouseleave.slick",n.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler));t.$slider.off("focus.slick blur.slick");!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler)));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.cleanUpSlideEvents();!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&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)};t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.cleanUpRows=function(){var t,n=this;n.options.rows>1&&((t=n.$slides.children().children()).removeAttr("style"),n.$slider.empty().append(t))};t.prototype.clickHandler=function(n){!1===this.shouldClick&&(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.$slider.removeClass("slick-dotted");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";!1===t.options.fade?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;!1===i.cssTransitions?(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;!1===t.cssTransitions?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;null!==n&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var r=n(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=r.is(":focus"),t.autoPlay())},0)})};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide};t.prototype.getDotCount=function(){var n=this,i=0,r=0,t=0;if(!0===n.options.infinite)if(n.slideCount<=n.options.slidesToShow)++t;else for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(!0===n.options.centerMode)t=n.slideCount;else if(n.options.asNavFor)for(;i<n.slideCount;)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else t=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);return t-1};t.prototype.getLeft=function(n){var f,r,i,e,t=this,u=0;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),!0===t.options.infinite?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,e=-1,!0===t.options.vertical&&!0===t.options.centerMode&&(2===t.options.slidesToShow?e=-1.5:1===t.options.slidesToShow&&(e=-2)),u=r*t.options.slidesToShow*e),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),!0===t.options.centerMode&&t.slideCount<=t.options.slidesToShow?t.slideOffset=t.slideWidth*Math.floor(t.options.slidesToShow)/2-t.slideWidth*t.slideCount/2:!0===t.options.centerMode&&!0===t.options.infinite?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:!0===t.options.centerMode&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=!1===t.options.vertical?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,!0===t.options.variableWidth&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===t.options.centerMode&&(i=t.slideCount<=t.options.slidesToShow||!1===t.options.infinite?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=!0===t.options.rtl?i[0]?-1*(t.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,f+=(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){return this.options[n]};t.prototype.getNavigableIndexes=function(){var i,n=this,t=0,r=0,u=[];for(!1===n.options.infinite?i=n.slideCount:(t=-1*n.options.slidesToScroll,r=-1*n.options.slidesToScroll,i=2*n.slideCount);t<i;)u.push(t),t=r+n.options.slidesToScroll,r+=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 i,r,t=this;return r=!0===t.options.centerMode?t.slideWidth*Math.floor(t.options.slidesToShow/2):0,!0===t.options.swipeToSlide?(t.$slideTrack.find(".slick-slide").each(function(u,f){if(f.offsetLeft-r+n(f).outerWidth()/2>-1*t.swipeLeft)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){this.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(),i.checkResponsive(!0),i.focusHandler());t&&i.$slider.trigger("init",[i]);!0===i.options.accessibility&&i.initADA();i.options.autoplay&&(i.paused=!1,i.autoPlay())};t.prototype.initADA=function(){var t=this,f=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter(function(n){return n>=0&&n<t.slideCount}),i,u;for(t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){var u=r.indexOf(i);n(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1});-1!==u&&n(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+u})}),t.$dots.attr("role","tablist").find("li").each(function(i){var u=r[i];n(this).attr({role:"presentation"});n(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+u,"aria-label":i+1+" of "+f,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()),i=t.currentSlide,u=i+t.options.slidesToShow;i<u;i++)t.$slides.eq(i).attr("tabindex",0);t.activateADA()};t.prototype.initArrowEvents=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide),n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide),!0===n.options.accessibility&&(n.$prevArrow.on("keydown.slick",n.keyHandler),n.$nextArrow.on("keydown.slick",n.keyHandler)))};t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler));!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&n("li",t.$dots).on("mouseenter.slick",n.proxy(t.interrupt,t,!0)).on("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",n.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",n.proxy(t.interrupt,t,!1)))};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.initSlideEvents();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));!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler);!0===t.options.focusOnSelect&&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(t.setPosition)};t.prototype.initUI=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());!0===n.options.dots&&n.slideCount>n.options.slidesToShow&&n.$dots.show()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===n.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===n.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))};t.prototype.lazyLoad=function(){function f(i){n("img[data-lazy]",i).each(function(){var i=n(this),r=n(this).attr("data-lazy"),f=n(this).attr("data-srcset"),e=n(this).attr("data-sizes")||t.$slider.attr("data-sizes"),u=document.createElement("img");u.onload=function(){i.animate({opacity:0},100,function(){f&&(i.attr("srcset",f),e&&i.attr("sizes",e));i.attr("src",r).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")});t.$slider.trigger("lazyLoaded",[t,i,r])})};u.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,r])};u.src=r})}var u,i,r,t=this;if(!0===t.options.centerMode?!0===t.options.infinite?r=(i=t.currentSlide+(t.options.slidesToShow/2+1))+t.options.slidesToShow+2:(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),r=t.options.slidesToShow/2+1+2+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,r=Math.ceil(i+t.options.slidesToShow),!0===t.options.fade&&(i>0&&i--,r<=t.slideCount&&r++)),u=t.$slider.find(".slick-slide").slice(i,r),"anticipated"===t.options.lazyLoad)for(var e=i-1,o=r,s=t.$slider.find(".slick-slide"),h=0;h<t.options.slidesToScroll;h++)e<0&&(e=t.slideCount-1),u=(u=u.add(s.eq(e))).add(s.eq(o)),e--,o++;f(u);t.slideCount<=t.options.slidesToShow?f(t.$slider.find(".slick-slide")):t.currentSlide>=t.slideCount-t.options.slidesToShow?f(t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow)):0===t.currentSlide&&f(t.$slider.find(".slick-cloned").slice(-1*t.options.slidesToShow))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();"progressive"===n.options.lazyLoad&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){this.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.autoPlay();n.options.autoplay=!0;n.paused=!1;n.focussed=!1;n.interrupted=!1};t.prototype.postSlide=function(t){var i=this;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),!0===i.options.accessibility&&(i.initADA(),i.options.focusOnChange&&n(i.$slides.get(i.currentSlide)).attr("tabindex",0).focus()))};t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(t){t=t||1;var r,u,f,e,o,i=this,s=n("img[data-lazy]",i.$slider);s.length?(r=s.first(),u=r.attr("data-lazy"),f=r.attr("data-srcset"),e=r.attr("data-sizes")||i.$slider.attr("data-sizes"),(o=document.createElement("img")).onload=function(){f&&(r.attr("srcset",f),e&&r.attr("sizes",e));r.attr("src",u).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");!0===i.options.adaptiveHeight&&i.setPosition();i.$slider.trigger("lazyLoaded",[i,r,u]);i.progressiveLazyLoad()},o.onerror=function(){t<3?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,r,u]),i.progressiveLazyLoad())},o.src=u):i.$slider.trigger("allImagesLoaded",[i])};t.prototype.refresh=function(t){var r,u,i=this;u=i.slideCount-i.options.slidesToShow;!i.options.infinite&&i.currentSlide>u&&(i.currentSlide=u);i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0);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 u,f,i,t=this,r=t.options.responsive||null;if("array"===n.type(r)&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,r.hasOwnProperty(u)){for(f=r[u].breakpoint;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;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide");t.slideCount=t.$slides.length;t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(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.cleanUpSlideEvents();t.initSlideEvents();t.checkResponsive(!1,!0);!0===t.options.focusOnSelect&&n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0);t.setPosition();t.focusHandler();t.paused=!t.options.autoplay;t.autoPlay();t.$slider.trigger("reInit",[t])};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(n="boolean"==typeof n?!0===(t=n)?0:r.slideCount-1:!0===t?--n:n,r.slideCount<1||n<0||n>r.slideCount-1)return!1;r.unload();!0===i?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 r,u,t=this,i={};!0===t.options.rtl&&(n=-n);r="left"==t.positionProp?Math.ceil(n)+"px":"0px";u="top"==t.positionProp?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;!1===t.transformsEnabled?t.$slideTrack.css(i):(i={},!1===t.cssTransitions?(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;!1===n.options.vertical?!0===n.options.centerMode&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),!0===n.options.centerMode&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();!1===n.options.vertical&&!1===n.options.variableWidth?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):!0===n.options.variableWidth?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();!1===n.options.variableWidth&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var i,t=this;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;!0===t.options.rtl?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;1===n.options.slidesToShow&&!0===n.options.adaptiveHeight&&!1===n.options.vertical&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(){var u,f,e,i,r,t=this,o=!1;if("object"===n.type(arguments[0])?(e=arguments[0],o=arguments[1],r="multiple"):"string"===n.type(arguments[0])&&(e=arguments[0],i=arguments[1],o=arguments[2],"responsive"===arguments[0]&&"array"===n.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)t.options[e]=i;else if("multiple"===r)n.each(e,function(n,i){t.options[n]=i});else if("responsive"===r)for(f in i)if("array"!==n.type(t.options.responsive))t.options.responsive=[i[f]];else{for(u=t.options.responsive.length-1;u>=0;)t.options.responsive[u].breakpoint===i[f].breakpoint&&t.options.responsive.splice(u,1),u--;t.options.responsive.push(i[f])}o&&(t.unload(),t.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();!1===n.options.fade?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=!0===n.options.vertical?"top":"left";"top"===n.positionProp?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===n.options.useCSS&&(n.cssTransitions=!0);n.options.fade&&("number"==typeof n.options.zIndex?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);void 0!==t.OTransform&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.MozTransform&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(n.animType=!1));void 0!==t.webkitTransform&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(n.animType=!1));void 0!==t.msTransform&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",void 0===t.msTransform&&(n.animType=!1));void 0!==t.transform&&!1!==n.animType&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&null!==n.animType&&!1!==n.animType};t.prototype.setSlideClasses=function(n){var u,i,r,f,t=this,e;(i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),t.$slides.eq(n).addClass("slick-current"),!0===t.options.centerMode)?(e=t.options.slidesToShow%2==0?1:0,u=Math.floor(t.options.slidesToShow/2),!0===t.options.infinite&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u+e,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1+e,r+u+2).addClass("slick-active").attr("aria-hidden","false")),0===n?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=!0===t.options.infinite?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"));"ondemand"!==t.options.lazyLoad&&"anticipated"!==t.options.lazyLoad||t.lazyLoad()};t.prototype.setupInfinite=function(){var i,r,u,t=this;if(!0===t.options.fade&&(t.options.centerMode=!1),!0===t.options.infinite&&!1===t.options.fade&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=!0===t.options.centerMode?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+t.slideCount;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.interrupt=function(n){var t=this;n||t.autoPlay();t.interrupted=n};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"));r||(r=0);i.slideCount<=i.options.slidesToShow?i.slideHandler(r,!1,!0):i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,s,e,o,h=null,r=this;if(t=t||!1,!(!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===n))if(!1===t&&r.asNavFor(n),u=n,h=r.getLeft(u),e=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?e:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(n<0||n>r.getDotCount()*r.options.slidesToScroll))!1===r.options.fade&&(u=r.currentSlide,!0!==i?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));else if(!1===r.options.infinite&&!0===r.options.centerMode&&(n<0||n>r.slideCount-r.options.slidesToScroll))!1===r.options.fade&&(u=r.currentSlide,!0!==i?r.animateSlide(e,function(){r.postSlide(u)}):r.postSlide(u));else{if(r.options.autoplay&&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]),s=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(o=(o=r.getNavTarget()).slick("getSlick")).slideCount<=o.options.slidesToShow&&o.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade)return!0!==i?(r.fadeSlideOut(s),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f),void r.animateHeight();!0!==i?r.animateSlide(h,function(){r.postSlide(f)}):r.postSlide(f)}};t.prototype.startLoad=function(){var n=this;!0===n.options.arrows&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());!0===n.options.dots&&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(180*u/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0?!1===t.options.rtl?"left":"right":n<=360&&n>=315?!1===t.options.rtl?"left":"right":n>=135&&n<=225?!1===t.options.rtl?"right":"left":!0===t.options.verticalSwiping?n>=35&&n<=135?"down":"up":"vertical"};t.prototype.swipeEnd=function(){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=!(n.touchObject.swipeLength>10),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==n.type.indexOf("mouse")))switch(t.touchObject.fingerCount=n.originalEvent&&void 0!==n.originalEvent.touches?n.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),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 f,e,r,u,i,o,t=this;return i=void 0!==n.originalEvent?n.originalEvent.touches:null,!(!t.dragging||t.scrolling||i&&1!==i.length)&&(f=t.getLeft(t.currentSlide),t.touchObject.curX=void 0!==i?i[0].pageX:n.clientX,t.touchObject.curY=void 0!==i?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2))),!t.options.verticalSwiping&&!t.swiping&&o>4?(t.scrolling=!0,!1):(!0===t.options.verticalSwiping&&(t.touchObject.swipeLength=o),e=t.swipeDirection(),void 0!==n.originalEvent&&t.touchObject.swipeLength>4&&(t.swiping=!0,n.preventDefault()),u=(!1===t.options.rtl?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),!0===t.options.verticalSwiping&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,!1===t.options.infinite&&(0===t.currentSlide&&"right"===e||t.currentSlide>=t.getDotCount()&&"left"===e)&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=!1===t.options.vertical?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,!0===t.options.verticalSwiping&&(t.swipeLeft=f+r*u),!0!==t.options.fade&&!1!==t.options.touchMove&&(!0===t.animating?(t.swipeLeft=null,!1):void t.setCSS(t.swipeLeft))))};t.prototype.swipeStart=function(n){var i,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==n.originalEvent&&void 0!==n.originalEvent.touches&&(i=n.originalEvent.touches[0]);t.touchObject.startX=t.touchObject.curX=void 0!==i?i.pageX:n.clientX;t.touchObject.startY=t.touchObject.curY=void 0!==i?i.pageY:n.clientY;t.dragging=!0};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;null!==n.$slidesCache&&(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;Math.floor(n.options.slidesToShow/2);!0===n.options.arrows&&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"),0===n.currentSlide?(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&&!1===n.options.centerMode?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&!0===n.options.centerMode&&(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;null!==n.$dots&&(n.$dots.find("li").removeClass("slick-active").end(),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active"))};t.prototype.visibility=function(){var n=this;n.options.autoplay&&(n.interrupted=document[n.hidden]?!0:!1)};n.fn.slick=function(){for(var u,i=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=i.length,n=0;n<e;n++)if("object"==typeof r||void 0===r?i[n].slick=new t(i[n],r):u=i[n].slick[r].apply(i[n].slick,f),void 0!==u)return u;return i}}),function(n){"use strict";n.fn.extend({customSelect:function(t){if(typeof document.body.style.maxHeight=="undefined")return this;var t=n.extend({customClass:"customSelect",mapClass:!0,mapStyle:!0},t),u=t.customClass,r=function(t,r){var u=t.find(":selected"),f=r.children(":first"),e=u.html()||"&nbsp;";f.html(e);u.attr("disabled")?r.addClass(i("DisabledOption")):r.removeClass(i("DisabledOption"));setTimeout(function(){r.removeClass(i("Open"));n(document).off("mouseup.customSelect")},60)},i=function(n){return u+n};return this.each(function(){var e=n(this),o=n("<span />").addClass(i("Inner")),f=n("<span />");e.after(f.append(o));f.addClass(u);t.mapClass&&f.addClass(e.attr("class"));t.mapStyle&&f.attr("style",e.attr("style"));e.addClass("hasCustomSelect").on("render.customSelect",function(){var n,t;r(e,f);e.css("width","");n=parseInt(e.outerWidth(),10)-(parseInt(f.outerWidth(),10)-parseInt(f.width(),10));f.css({display:"inline-block"});t=f.outerHeight();e.attr("disabled")?f.addClass(i("Disabled")):f.removeClass(i("Disabled"));o.css({width:n,display:"inline-block"});e.css({"-webkit-appearance":"menulist-button",width:f.outerWidth(),position:"absolute",opacity:0,height:t,fontSize:f.css("font-size")})}).on("change.customSelect",function(){f.addClass(i("Changed"));r(e,f)}).on("keyup.customSelect",function(n){f.hasClass(i("Open"))?(n.which==13||n.which==27)&&r(e,f):(e.trigger("blur.customSelect"),e.trigger("focus.customSelect"))}).on("mousedown.customSelect",function(){f.removeClass(i("Changed"))}).on("mouseup.customSelect",function(t){if(!f.hasClass(i("Open")))if(n("."+i("Open")).not(f).length>0&&typeof InstallTrigger!="undefined")e.trigger("focus.customSelect");else{f.addClass(i("Open"));t.stopPropagation();n(document).one("mouseup.customSelect",function(t){t.target!=e.get(0)&&n.inArray(t.target,e.find("*").get())<0?e.trigger("blur.customSelect"):r(e,f)})}}).on("focus.customSelect",function(){f.removeClass(i("Changed")).addClass(i("Focus"))}).on("blur.customSelect",function(){f.removeClass(i("Focus")+" "+i("Open"))}).on("mouseenter.customSelect",function(){f.addClass(i("Hover"))}).on("mouseleave.customSelect",function(){f.removeClass(i("Hover"))}).trigger("render.customSelect")})}})}(jQuery),function(n){var f=-1,r=-1,i=function(n){return parseFloat(n)||0},e=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},o=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};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=o(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&&!r.target?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._rows=e;t._apply=function(r,u){var f=o(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&&!f.target&&(s.each(function(){var t=n(this),i=t.css("display");i!=="inline-block"&&i!=="inline-flex"&&(i="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=e(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.target)e=f.target.outerHeight(!1);else{if(f.byRow&&u.length<=1){u.css(f.property,"");return}u.each(function(){var t=n(this),i=t.css("display"),r;i!=="inline-block"&&i!=="inline-flex"&&(i="block");r={display:i};r[f.property]="";t.css(r);t.outerHeight(!1)>e&&(e=t.outerHeight(!1));t.css("display","")})}u.each(function(){var t=n(this),r=0;f.target&&t.is(f.target)||(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+"px"))})}),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-mh")||i.attr("data-match-height");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,t){"use strict";function u(n){this.callback=n;this.ticking=!1}function e(t){return t&&"undefined"!=typeof n&&(t===n||t.nodeType)}function f(n){var t,r,i,u;if(arguments.length<=0)throw new Error("Missing arguments in extend function");for(i=n||{},r=1;r<arguments.length;r++){u=arguments[r]||{};for(t in u)i[t]="object"!=typeof i[t]||e(i[t])?i[t]||u[t]:f(i[t],u[t])}return i}function o(n){return n===Object(n)?n:{down:n,up:n}}function i(n,t){t=f(t,i.options);this.lastKnownScrollY=0;this.elem=n;this.debouncer=new u(this.update.bind(this));this.tolerance=o(t.tolerance);this.classes=t.classes;this.offset=t.offset;this.scroller=t.scroller;this.initialised=!1;this.onPin=t.onPin;this.onUnpin=t.onUnpin;this.onTop=t.onTop;this.onNotTop=t.onNotTop}var r={bind:!!function(){}.bind,classList:"classList"in t.documentElement,rAF:!!(n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame)};n.requestAnimationFrame=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame;u.prototype={constructor:u,update:function(){this.callback&&this.callback();this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}};i.prototype={constructor:i,init:function(){if(i.cutsTheMustard)return(this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this)},destroy:function(){var n=this.classes;this.initialised=!1;this.elem.classList.remove(n.unpinned,n.pinned,n.top,n.initial);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var n=this.elem.classList,t=this.classes;(n.contains(t.pinned)||!n.contains(t.unpinned))&&(n.add(t.unpinned),n.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var n=this.elem.classList,t=this.classes;n.contains(t.unpinned)&&(n.remove(t.unpinned),n.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var n=this.elem.classList,t=this.classes;n.contains(t.top)||(n.add(t.top),n.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var n=this.elem.classList,t=this.classes;n.contains(t.notTop)||(n.add(t.notTop),n.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(t.documentElement||t.body.parentNode||t.body).scrollTop},getViewportHeight:function(){return n.innerHeight||t.documentElement.clientHeight||t.body.clientHeight},getDocumentHeight:function(){var n=t.body,i=t.documentElement;return Math.max(n.scrollHeight,i.scrollHeight,n.offsetHeight,i.offsetHeight,n.clientHeight,i.clientHeight)},getElementHeight:function(n){return Math.max(n.scrollHeight,n.offsetHeight,n.clientHeight)},getScrollerHeight:function(){return this.scroller===n||this.scroller===t.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(n){var t=0>n,i=n+this.getViewportHeight()>this.getScrollerHeight();return t||i},toleranceExceeded:function(n,t){return Math.abs(n-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(n,t){var i=n>this.lastKnownScrollY,r=n>=this.offset;return i&&r&&t},shouldPin:function(n,t){var i=n<this.lastKnownScrollY,r=n<=this.offset;return i&&t||r},update:function(){var n=this.getScrollY(),i=n>this.lastKnownScrollY?"down":"up",t=this.toleranceExceeded(n,i);this.isOutOfBounds(n)||(n<=this.offset?this.top():this.notTop(),this.shouldUnpin(n,t)?this.unpin():this.shouldPin(n,t)&&this.pin(),this.lastKnownScrollY=n)}};i.options={tolerance:{up:0,down:0},offset:0,scroller:n,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}};i.cutsTheMustard="undefined"!=typeof r&&r.rAF&&r.bind&&r.classList;n.Headroom=i}(window,document);!function(n){n&&(n.fn.headroom=function(t){return this.each(function(){var u=n(this),i=u.data("headroom"),r="object"==typeof t&&t;r=n.extend(!0,{},Headroom.options,r);i||(i=new Headroom(this,r),i.init(),u.data("headroom",i));"string"==typeof t&&i[t]()})},n("[data-headroom]").each(function(){var t=n(this);t.headroom(t.data())}))}(window.Zepto||window.jQuery);!function(n){n.slidebars=function(t){function g(){!o.disableOver||"number"==typeof o.disableOver&&o.disableOver>=b?(p=!0,n("html").addClass("sb-init"),o.hideControlClasses&&rt.removeClass("sb-hide"),nt()):"number"==typeof o.disableOver&&o.disableOver<b&&(p=!1,n("html").removeClass("sb-init"),o.hideControlClasses&&rt.addClass("sb-hide"),c.css("minHeight",""),(u||f)&&e())}function nt(){c.css("minHeight","");c.css("minHeight",n("html").height()+"px");i&&i.hasClass("sb-width-custom")&&i.css("width",i.attr("data-sb-width"));r&&r.hasClass("sb-width-custom")&&r.css("width",r.attr("data-sb-width"));i&&(i.hasClass("sb-style-push")||i.hasClass("sb-style-overlay"))&&i.css("marginLeft","-"+i.css("width"));r&&(r.hasClass("sb-style-push")||r.hasClass("sb-style-overlay"))&&r.css("marginRight","-"+r.css("width"));o.scrollLock&&n("html").addClass("sb-scroll-lock")}function w(n,t,i){var r,u;(r=n.hasClass("sb-style-push")?c.add(n).add(ut):n.hasClass("sb-style-overlay")?n:c.add(ut),"translate"===v)?r.css("transform","translate("+t+")"):"side"===v?("-"===t[0]&&(t=t.substr(1)),"0px"!==t&&r.css(i,"0px"),setTimeout(function(){r.css(i,t)},1)):"jQuery"===v&&("-"===t[0]&&(t=t.substr(1)),u={},u[i]=t,r.stop().animate(u,400));setTimeout(function(){"0px"===t&&(r.removeAttr("style"),nt())},400)}function h(t){function o(){p&&"left"===t&&i?(n("html").addClass("sb-active sb-active-left"),i.addClass("sb-active"),w(i,i.css("width"),"left"),setTimeout(function(){u=!0},400)):p&&"right"===t&&r&&(n("html").addClass("sb-active sb-active-right"),r.addClass("sb-active"),w(r,"-"+r.css("width"),"right"),setTimeout(function(){f=!0},400))}"left"===t&&i&&f||"right"===t&&r&&u?(e(),setTimeout(o,400)):o()}function e(t){(u||f)&&(u&&(w(i,"0px","left"),u=!1),f&&(w(r,"0px","right"),f=!1),setTimeout(function(){n("html").removeClass("sb-active sb-active-left sb-active-right");i&&i.removeClass("sb-active");r&&r.removeClass("sb-active");"undefined"!=typeof t&&(window.location=t)},400))}function k(n){"left"===n&&i&&(u?e():h("left"));"right"===n&&r&&(f?e():h("right"))}function l(n,t){n.stopPropagation();n.preventDefault();"touchend"===n.type&&t.off("click")}var o=n.extend({siteClose:!0,scrollLock:!1,disableOver:!1,hideControlClasses:!1},t),s=document.createElement("div").style,tt=!1,it=!1,c,i,u,r,f,v;(""===s.MozTransition||""===s.WebkitTransition||""===s.OTransition||""===s.transition)&&(tt=!0);(""===s.MozTransform||""===s.WebkitTransform||""===s.OTransform||""===s.transform)&&(it=!0);var a=navigator.userAgent,y=!1,d=!1;/Android/.test(a)?y=a.substr(a.indexOf("Android")+8,3):/(iPhone|iPod|iPad)/.test(a)&&(d=a.substr(a.indexOf("OS ")+3,3).replace("_","."));(y&&3>y||d&&5>d)&&n("html").addClass("sb-static");c=n("#sb-site, .sb-site-container");n(".sb-left").length&&(i=n(".sb-left"),u=!1);n(".sb-right").length&&(r=n(".sb-right"),f=!1);var p=!1,b=n(window).width(),rt=n(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"),ut=n(".sb-slide");g();n(window).resize(function(){var t=n(window).width();b!==t&&(b=t,g(),u&&h("left"),f&&h("right"))});tt&&it?(v="translate",y&&4.4>y&&(v="side")):v="jQuery";this.slidebars={open:h,close:e,toggle:k,init:function(){return p},active:function(n){return"left"===n&&i?u:"right"===n&&r?f:void 0},destroy:function(n){"left"===n&&i&&(u&&e(),setTimeout(function(){i.remove();i=!1},400));"right"===n&&r&&(f&&e(),setTimeout(function(){r.remove();r=!1},400))}};n(".sb-toggle-left").on("touchend click",function(t){l(t,n(this));k("left")});n(".sb-toggle-right").on("touchend click",function(t){l(t,n(this));k("right")});n(".sb-open-left").on("touchend click",function(t){l(t,n(this));h("left")});n(".sb-open-right").on("touchend click",function(t){l(t,n(this));h("right")});n(".sb-close").on("touchend click",function(t){if(n(this).is("a")||n(this).children().is("a")){if("click"===t.type){t.preventDefault();var i=n(this).is("a")?n(this).attr("href"):n(this).find("a").attr("href");e(i)}}else l(t,n(this)),e()});c.on("touchend click",function(t){o.siteClose&&(u||f)&&(l(t,n(this)),e())})}}(jQuery),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 f(u,o){var h,c,s;if(!i[u]){if(!n[u]){if(h=typeof require=="function"&&require,!o&&h)return h(u,!0);if(e)return e(u,!0);c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[u]={exports:{}};n[u][0].call(s.exports,function(t){var i=n[u][1][t];return f(i?i:t)},s,s.exports,t,n,i,r)}return i[u].exports}for(var e=typeof require=="function"&&require,u=0;u<r.length;u++)f(r[u]);return f}({1:[function(n,t){(function(i){var u=typeof i!="undefined"?i:typeof window!="undefined"?window:{},f=n("min-document"),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:{})},{"min-document":3}],2:[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:{})},{}],3:[function(){},{}],4:[function(n,t){var i=n("../internal/getNative"),r=i(Date,"now"),u=r||function(){return(new Date).getTime()};t.exports=u},{"../internal/getNative":20}],5:[function(n,t){function e(n,t,e){function nt(){o&&clearTimeout(o);s&&clearTimeout(s);a=0;s=o=b=undefined}function k(t,r){r&&clearTimeout(r);s=o=b=undefined;t&&(a=i(),w=n.apply(c,h),o||s||(h=c=undefined))}function d(){var n=t-(i()-l);n<=0||n>t?k(b,s):o=setTimeout(d,n)}function tt(){k(y,o)}function g(){var f,u,r;return h=arguments,l=i(),c=this,b=y&&(o||!p),v===!1?f=p&&!o:(s||p||(a=l),u=v-(l-a),r=u<=0||u>v,r?(s&&(s=clearTimeout(s)),a=l,w=n.apply(c,h)):s||(s=setTimeout(tt,u))),r&&o?o=clearTimeout(o):o||t===v||(o=setTimeout(d,t)),f&&(r=!0,w=n.apply(c,h)),!r||o||s||(h=c=undefined),w}var h,s,w,l,c,o,b,a=0,v=!1,y=!0,p;if(typeof n!="function")throw new TypeError(u);return t=t<0?0:+t||0,e===!0?(p=!0,y=!1):r(e)&&(p=!!e.leading,v="maxWait"in e&&f(+e.maxWait||0,t),y="trailing"in e?!!e.trailing:y),g.cancel=nt,g}var r=n("../lang/isObject"),i=n("../date/now"),u="Expected a function",f=Math.max;t.exports=e},{"../date/now":4,"../lang/isObject":33}],6:[function(n,t){function u(n,t){if(typeof n!="function")throw new TypeError(r);return t=i(t===undefined?n.length-1:+t||0,0),function(){for(var u=arguments,r=-1,o=i(u.length-t,0),f=Array(o),e;++r<o;)f[r]=u[t+r];switch(t){case 0:return n.call(this,f);case 1:return n.call(this,u[0],f);case 2:return n.call(this,u[0],u[1],f)}for(e=Array(t+1),r=-1;++r<t;)e[r]=u[r];return e[t]=f,n.apply(this,e)}}var r="Expected a function",i=Math.max;t.exports=u},{}],7:[function(n,t){function f(n,t,f){var e=!0,o=!0;if(typeof n!="function")throw new TypeError(u);return f===!1?e=!1:r(f)&&(e="leading"in f?!!f.leading:e,o="trailing"in f?!!f.trailing:o),i(n,t,{leading:e,maxWait:+t,trailing:o})}var i=n("./debounce"),r=n("../lang/isObject"),u="Expected a function";t.exports=f},{"../lang/isObject":33,"./debounce":5}],8:[function(n,t){function i(n,t){var i=-1,r=n.length;for(t||(t=Array(r));++i<r;)t[i]=n[i];return t}t.exports=i},{}],9:[function(n,t){function i(n,t){for(var i=-1,r=n.length;++i<r;)if(t(n[i],i,n)===!1)break;return n}t.exports=i},{}],10:[function(n,t){function i(n,t,i){var r,f,u;for(i||(i={}),r=-1,f=t.length;++r<f;)u=t[r],i[u]=n[u];return i}t.exports=i},{}],11:[function(n,t){var i=n("./createBaseFor"),r=i();t.exports=r},{"./createBaseFor":18}],12:[function(n,t){function u(n,t){return i(n,t,r)}var i=n("./baseFor"),r=n("../object/keysIn");t.exports=u},{"../object/keysIn":39,"./baseFor":11}],13:[function(n,t){function i(n,t,l,a,v){if(!o(n))return n;var y=e(t)&&(f(t)||h(t)),p=y?undefined:c(t);return r(p||t,function(r,f){if(p&&(f=r,r=t[f]),s(r))a||(a=[]),v||(v=[]),u(n,t,f,i,l,a,v);else{var o=n[f],e=l?l(o,r,f,n,t):undefined,h=e===undefined;h&&(e=r);e===undefined&&(!y||f in n)||!h&&(e===e?e===o:o!==o)||(n[f]=e)}}),n}var r=n("./arrayEach"),u=n("./baseMergeDeep"),f=n("../lang/isArray"),e=n("./isArrayLike"),o=n("../lang/isObject"),s=n("./isObjectLike"),h=n("../lang/isTypedArray"),c=n("../object/keys");t.exports=i},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(n,t){function h(n,t,h,c,l,a,v){for(var b=a.length,p=t[h];b--;)if(a[b]==p){n[h]=v[b];return}var y=n[h],w=l?l(y,p,h,n,t):undefined,k=w===undefined;k&&(w=p,u(p)&&(r(p)||o(p))?w=r(y)?y:u(y)?e(y):[]:f(p)||i(p)?w=i(y)?s(y):f(y)?y:{}:k=!1);a.push(p);v.push(w);k?n[h]=c(w,p,l,a,v):(w===w?w!==y:y===y)&&(n[h]=w)}var e=n("./arrayCopy"),i=n("../lang/isArguments"),r=n("../lang/isArray"),u=n("./isArrayLike"),f=n("../lang/isPlainObject"),o=n("../lang/isTypedArray"),s=n("../lang/toPlainObject");t.exports=h},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(n,t){function r(n){return function(t){return t==null?undefined:i(t)[n]}}var i=n("./toObject");t.exports=r},{"./toObject":28}],16:[function(n,t){function r(n,t,r){if(typeof n!="function")return i;if(t===undefined)return n;switch(r){case 1:return function(i){return n.call(t,i)};case 3:return function(i,r,u){return n.call(t,i,r,u)};case 4:return function(i,r,u,f){return n.call(t,i,r,u,f)};case 5:return function(i,r,u,f,e){return n.call(t,i,r,u,f,e)}}return function(){return n.apply(t,arguments)}}var i=n("../utility/identity");t.exports=r},{"../utility/identity":42}],17:[function(n,t){function f(n){return u(function(t,u){var h=-1,f=t==null?0:u.length,e=f>2?u[f-2]:undefined,c=f>2?u[2]:undefined,o=f>1?u[f-1]:undefined,s;for(typeof e=="function"?(e=i(e,o,5),f-=2):(e=typeof o=="function"?o:undefined,f-=e?1:0),c&&r(u[0],u[1],c)&&(e=f<3?undefined:e,f=1);++h<f;)s=u[h],s&&n(t,s,e);return t})}var i=n("./bindCallback"),r=n("./isIterateeCall"),u=n("../function/restParam");t.exports=f},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(n,t){function r(n){return function(t,r,u){for(var o=i(t),s=u(t),h=s.length,f=n?h:-1,e;n?f--:++f<h;)if(e=s[f],r(o[e],e,o)===!1)break;return t}}var i=n("./toObject");t.exports=r},{"./toObject":28}],19:[function(n,t){var i=n("./baseProperty"),r=i("length");t.exports=r},{"./baseProperty":15}],20:[function(n,t){function r(n,t){var r=n==null?undefined:n[t];return i(r)?r:undefined}var i=n("../lang/isNative");t.exports=r},{"../lang/isNative":32}],21:[function(n,t){function u(n){return n!=null&&r(i(n))}var i=n("./getLength"),r=n("./isLength");t.exports=u},{"./getLength":19,"./isLength":25}],22:[function(n,t){var i=function(){try{Object({toString:0}+"")}catch(n){return function(){return!1}}return function(n){return typeof n.toString!="function"&&typeof(n+"")=="string"}}();t.exports=i},{}],23:[function(n,t){function u(n,t){return n=typeof n=="number"||i.test(n)?+n:-1,t=t==null?r:t,n>-1&&n%1==0&&n<t}var i=/^\d+$/,r=9007199254740991;t.exports=u},{}],24:[function(n,t){function f(n,t,f){var o,e;return u(f)?(o=typeof t,o=="number"?i(f)&&r(t,f.length):o=="string"&&t in f)?(e=f[t],n===n?n===e:e!==e):!1:!1}var i=n("./isArrayLike"),r=n("./isIndex"),u=n("../lang/isObject");t.exports=f},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(n,t){function r(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=i}var i=9007199254740991;t.exports=r},{}],26:[function(n,t){function i(n){return!!n&&typeof n=="object"}t.exports=i},{}],27:[function(n,t){function c(n){for(var c=o(n),l=c.length,s=l&&n.length,y=!!s&&f(s)&&(r(n)||i(n)||e(n)),a=-1,v=[],t;++a<l;)t=c[a],(y&&u(t,s)||h.call(n,t))&&v.push(t);return v}var i=n("../lang/isArguments"),r=n("../lang/isArray"),u=n("./isIndex"),f=n("./isLength"),e=n("../lang/isString"),o=n("../object/keysIn"),s=Object.prototype,h=s.hasOwnProperty;t.exports=c},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(n,t){function f(n){if(u.unindexedChars&&r(n)){for(var t=-1,e=n.length,f=Object(n);++t<e;)f[t]=n.charAt(t);return f}return i(n)?n:Object(n)}var i=n("../lang/isObject"),r=n("../lang/isString"),u=n("../support");t.exports=f},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(n,t){function o(n){return u(n)&&r(n)&&f.call(n,"callee")&&!e.call(n,"callee")}var r=n("../internal/isArrayLike"),u=n("../internal/isObjectLike"),i=Object.prototype,f=i.hasOwnProperty,e=i.propertyIsEnumerable;t.exports=o},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(n,t){var i=n("../internal/getNative"),r=n("../internal/isLength"),u=n("../internal/isObjectLike"),f="[object Array]",e=Object.prototype,o=e.toString,s=i(Array,"isArray"),h=s||function(n){return u(n)&&r(n.length)&&o.call(n)==f};t.exports=h},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(n,t){function e(n){return i(n)&&f.call(n)==r}var i=n("./isObject"),r="[object Function]",u=Object.prototype,f=u.toString;t.exports=e},{"./isObject":33}],32:[function(n,t){function c(n){return n==null?!1:u(n)?r.test(i.call(n)):e(n)&&(f(n)?r:o).test(n)}var u=n("./isFunction"),f=n("../internal/isHostObject"),e=n("../internal/isObjectLike"),o=/^\[object .+?Constructor\]$/,s=Object.prototype,i=Function.prototype.toString,h=s.hasOwnProperty,r=RegExp("^"+i.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=c},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(n,t){function i(n){var t=typeof n;return!!n&&(t=="object"||t=="function")}t.exports=i},{}],34:[function(n,t){function l(n){var u,t;return!(o(n)&&c.call(n)==h&&!e(n)&&!f(n))||!i.call(n,"constructor")&&(u=n.constructor,typeof u=="function"&&!(u instanceof u))?!1:s.ownLast?(r(n,function(n,r,u){return t=i.call(u,r),!1}),t!==!1):(r(n,function(n,i){t=i}),t===undefined||i.call(n,t))}var r=n("../internal/baseForIn"),f=n("./isArguments"),e=n("../internal/isHostObject"),o=n("../internal/isObjectLike"),s=n("../support"),h="[object Object]",u=Object.prototype,i=u.hasOwnProperty,c=u.toString;t.exports=l},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(n,t){function e(n){return typeof n=="string"||i(n)&&f.call(n)==r}var i=n("../internal/isObjectLike"),r="[object String]",u=Object.prototype,f=u.toString;t.exports=e},{"../internal/isObjectLike":26}],36:[function(n,t){function o(n){return e(n)&&f(n.length)&&!!i[u.call(n)]}var f=n("../internal/isLength"),e=n("../internal/isObjectLike"),i={},r,u;i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0;i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;r=Object.prototype;u=r.toString;t.exports=o},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(n,t){function u(n){return i(n,r(n))}var i=n("../internal/baseCopy"),r=n("../object/keysIn");t.exports=u},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(n,t){var u=n("../internal/getNative"),f=n("../internal/isArrayLike"),e=n("../lang/isObject"),i=n("../internal/shimKeys"),o=n("../support"),r=u(Object,"keys"),s=r?function(n){var t=n==null?undefined:n.constructor;return typeof t=="function"&&t.prototype===n||(typeof n=="function"?o.enumPrototypes:f(n))?i(n):e(n)?r(n):[]}:i;t.exports=s},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(n,t){function nt(n){var a,t,rt,ot,ut;if(n==null)return[];b(n)||(n=Object(n));a=n.length;a=a&&w(a)&&(y(n)||v(n)||k(n))&&a||0;for(var ft=n.constructor,tt=-1,it=s(ft)&&ft.prototype||r,et=it===n,nt=Array(a),st=a>0,ht=f.enumErrorProps&&(n===l||n instanceof Error),ct=f.enumPrototypes&&s(n);++tt<a;)nt[tt]=tt+"";for(t in n)ct&&t=="prototype"||ht&&(t=="message"||t=="name")||st&&p(t,a)||t=="constructor"&&(et||!u.call(n,t))||nt.push(t);if(f.nonEnumShadows&&n!==r)for(rt=n===d?c:n===l?h:g.call(n),ot=i[rt]||i[e],rt==e&&(it=r),a=o.length;a--;)t=o[a],ut=ot[t],et&&ut||(ut?!u.call(n,t):n[t]===it[t])||nt.push(t);return nt}var a=n("../internal/arrayEach"),v=n("../lang/isArguments"),y=n("../lang/isArray"),s=n("../lang/isFunction"),p=n("../internal/isIndex"),w=n("../internal/isLength"),b=n("../lang/isObject"),k=n("../lang/isString"),f=n("../support"),h="[object Error]",e="[object Object]",c="[object String]",o=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],l=Error.prototype,r=Object.prototype,d=String.prototype,u=r.hasOwnProperty,g=r.toString,i={};i["[object Array]"]=i["[object Date]"]=i["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0};i["[object Boolean]"]=i[c]={constructor:!0,toString:!0,valueOf:!0};i[h]=i["[object Function]"]=i["[object RegExp]"]={constructor:!0,toString:!0};i[e]={constructor:!0};a(o,function(n){var t,r;for(t in i)u.call(i,t)&&(r=i[t],r[n]=u.call(r,n))});t.exports=nt},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(n,t){var i=n("../internal/baseMerge"),r=n("../internal/createAssigner"),u=r(i);t.exports=u},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(n,t){var f=Array.prototype,u=Error.prototype,e=Object.prototype,r=e.propertyIsEnumerable,o=f.splice,i={};(function(n){var t=function(){this.x=n},e={"0":n,length:n},f=[],s;t.prototype={valueOf:n,y:n};for(s in new t)f.push(s);i.enumErrorProps=r.call(u,"message")||r.call(u,"name");i.enumPrototypes=r.call(t,"prototype");i.nonEnumShadows=!/valueOf/.test(f);i.ownLast=f[0]!="x";i.spliceObjects=(o.call(e,0,1),!e[0]);i.unindexedChars="x"[0]+Object("x")[0]!="xx"})(1,0);t.exports=i},{}],42:[function(n,t){function i(n){return n}t.exports=i},{}],43:[function(n,t){"use strict";var i=n("object-keys");t.exports=function(){var n,t,r,u,f;if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;if(n={},t=Symbol("test"),typeof t=="string")return!1;r=42;n[t]=r;for(t in n)return!1;return i(n).length!==0?!1:typeof Object.keys=="function"&&Object.keys(n).length!==0?!1:typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0?!1:(u=Object.getOwnPropertySymbols(n),u.length!==1||u[0]!==t)?!1:Object.prototype.propertyIsEnumerable.call(n,t)?typeof Object.getOwnPropertyDescriptor=="function"&&(f=Object.getOwnPropertyDescriptor(n,t),f.value!==r||f.enumerable!==!0)?!1:!0:!1}},{"object-keys":50}],44:[function(n,t){"use strict";var f=n("object-keys"),i=n("function-bind"),e=function(n){return typeof n!="undefined"&&n!==null},o=n("./hasSymbols")(),r=Object,s=i.call(Function.call,Array.prototype.push),u=i.call(Function.call,Object.prototype.propertyIsEnumerable);t.exports=function(n){if(!e(n))throw new TypeError("target must be an object");for(var v=r(n),h,t,l,a,y,i,c=1;c<arguments.length;++c){if(h=r(arguments[c]),l=f(h),o&&Object.getOwnPropertySymbols)for(a=Object.getOwnPropertySymbols(h),t=0;t<a.length;++t)i=a[t],u(h,i)&&s(l,i);for(t=0;t<l.length;++t)i=l[t],y=h[i],u(h,i)&&(v[i]=y)}return v}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(n,t){"use strict";var r=n("define-properties"),i=n("./implementation"),u=n("./polyfill"),f=n("./shim");r(i,{implementation:i,getPolyfill:u,shim:f});t.exports=i},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(n,t){"use strict";var u=n("object-keys"),f=n("foreach"),e=typeof Symbol=="function"&&typeof Symbol()=="symbol",o=Object.prototype.toString,s=function(n){return typeof n=="function"&&o.call(n)==="[object Function]"},h=function(){var n={},t;try{Object.defineProperty(n,"x",{enumerable:!1,value:n});for(t in n)return!1;return n.x===n}catch(i){return!1}},i=Object.defineProperty&&h(),c=function(n,t,r,u){t in n&&(!s(u)||!u())||(i?Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):n[t]=r)},r=function(n,t){var r=arguments.length>2?arguments[2]:{},i=u(t);e&&(i=i.concat(Object.getOwnPropertySymbols(t)));f(i,function(i){c(n,i,t[i],r[i])})};r.supportsDescriptors=!!i;t.exports=r},{foreach:47,"object-keys":50}],47:[function(n,t){var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(n,t,u){var e,f,o;if(r.call(t)!=="[object Function]")throw new TypeError("iterator must be a function");if(e=n.length,e===+e)for(f=0;f<e;f++)t.call(u,n[f],f,n);else for(o in n)i.call(n,o)&&t.call(u,n[o],o,n)}},{}],48:[function(n,t){var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,u=Object.prototype.toString,f="[object Function]";t.exports=function(n){var t=this,o,s;if(typeof t!="function"||u.call(t)!==f)throw new TypeError(r+t);var h=i.call(arguments,1),e,l=function(){if(this instanceof e){var r=t.apply(this,h.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(n,h.concat(i.call(arguments)))},a=Math.max(0,t.length-h.length),c=[];for(o=0;o<a;o++)c.push("$"+o);return e=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(l),t.prototype&&(s=function(){},s.prototype=t.prototype,e.prototype=new s,s.prototype=null),e}},{}],49:[function(n,t){var i=n("./implementation");t.exports=Function.prototype.bind||i},{"./implementation":48}],50:[function(n,t){"use strict";var i=Object.prototype.hasOwnProperty,e=Object.prototype.toString,s=Array.prototype.slice,o=n("./isArguments"),h=!{toString:null}.propertyIsEnumerable("toString"),c=function(){}.propertyIsEnumerable("prototype"),r=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(n){var t=n.constructor;return t&&t.prototype===n},l={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},a=function(){if(typeof window=="undefined")return!1;for(var n in window)try{if(!l["$"+n]&&i.call(window,n)&&window[n]!==null&&typeof window[n]=="object")try{f(window[n])}catch(t){return!0}}catch(t){return!0}return!1}(),v=function(n){if(typeof window=="undefined"||!a)return f(n);try{return f(n)}catch(t){return!1}},u=function(n){var a=n!==null&&typeof n=="object",y=e.call(n)==="[object Function]",p=o(n),k=a&&e.call(n)==="[object String]",u=[],w,f,s,l,b,t;if(!a&&!y&&!p)throw new TypeError("Object.keys called on a non-object");if(w=c&&y,k&&n.length>0&&!i.call(n,0))for(f=0;f<n.length;++f)u.push(String(f));if(p&&n.length>0)for(s=0;s<n.length;++s)u.push(String(s));else for(l in n)w&&l==="prototype"||!i.call(n,l)||u.push(String(l));if(h)for(b=v(n),t=0;t<r.length;++t)b&&r[t]==="constructor"||!i.call(n,r[t])||u.push(r[t]);return u};u.shim=function(){var t,n;return Object.keys?(t=function(){return(Object.keys(arguments)||"").length===2}(1,2),t||(n=Object.keys,Object.keys=function(t){return o(t)?n(s.call(t)):n(t)})):Object.keys=u,Object.keys||u};t.exports=u},{"./isArguments":51}],51:[function(n,t){"use strict";var i=Object.prototype.toString;t.exports=function(n){var r=i.call(n),t=r==="[object Arguments]";return t||(t=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&i.call(n.callee)==="[object Function]"),t}},{}],52:[function(n,t){"use strict";var i=n("./implementation"),r=function(){var n,f,i,e;if(!Object.assign)return!1;var r="abcdefghijklmnopqrst",t=r.split(""),u={};for(n=0;n<t.length;++n)u[t[n]]=t[n];f=Object.assign({},u);i="";for(e in f)i+=e;return r!==i},u=function(){if(!Object.assign||!Object.preventExtensions)return!1;var n=Object.preventExtensions({1:2});try{Object.assign(n,"xy")}catch(t){return n[1]==="y"}};t.exports=function(){return Object.assign?r()?i:u()?i:Object.assign:i}},{"./implementation":44}],53:[function(n,t){"use strict";var i=n("define-properties"),r=n("./polyfill");t.exports=function(){var n=r();return i(Object,{assign:n},{assign:function(){return Object.assign!==n}}),n}},{"./polyfill":52,"define-properties":46}],54:[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},{}],55:[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}},{}],56:[function(n,t){"use strict";function c(n,t){for(var i=0;i<n.length;i++)t(n[i])}function l(n){for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}function u(n,t,i){var r=n;return o(t)?(i=t,typeof n=="string"&&(r={uri:n})):r=h(t,{uri:n}),r.callback=i,r}function i(n,t,i){return t=u(n,t,i),f(t)}function f(n){function d(){t.readyState===4&&p()}function g(){var n=undefined;if(t.response?n=t.response:t.responseType!=="text"&&t.responseType||(n=t.responseText||t.responseXML),k)try{n=JSON.parse(n)}catch(i){}return n}function c(n){clearTimeout(y);n instanceof Error||(n=new Error(""+(n||"Unknown XMLHttpRequest Error")));n.statusCode=0;u(n,h)}function p(){var r,i,e;w||(clearTimeout(y),r=n.useXDR&&t.status===undefined?200:t.status===1223?204:t.status,i=h,e=null,r!==0?(i={body:g(),statusCode:r,method:f,headers:{},url:a,rawRequest:t},t.getAllResponseHeaders&&(i.headers=s(t.getAllResponseHeaders()))):e=new Error("Internal XMLHttpRequest Error"),u(e,i,i.body))}var u=n.callback,h,t;if(typeof u=="undefined")throw new Error("callback argument missing");u=e(u);h={body:undefined,headers:{},statusCode:0,method:f,url:a,rawRequest:t};t=n.xhr||null;t||(t=n.cors||n.useXDR?new i.XDomainRequest:new i.XMLHttpRequest);var o,w,a=t.url=n.uri||n.url,f=t.method=n.method||"GET",b=n.body||n.data||null,r=t.headers=n.headers||{},v=!!n.sync,k=!1,y;if("json"in n&&(k=!0,r.accept||r.Accept||(r.Accept="application/json"),f!=="GET"&&f!=="HEAD"&&(r["content-type"]||r["Content-Type"]||(r["Content-Type"]="application/json"),b=JSON.stringify(n.json))),t.onreadystatechange=d,t.onload=p,t.onerror=c,t.onprogress=function(){},t.ontimeout=c,t.open(f,a,!v,n.username,n.password),v||(t.withCredentials=!!n.withCredentials),!v&&n.timeout>0&&(y=setTimeout(function(){w=!0;t.abort("timeout");var n=new Error("XMLHttpRequest timeout");n.code="ETIMEDOUT";c(n)},n.timeout)),t.setRequestHeader)for(o in r)r.hasOwnProperty(o)&&t.setRequestHeader(o,r[o]);else if(n.headers&&!l(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(b),t}function a(){}var r=n("global/window"),e=n("once"),o=n("is-function"),s=n("parse-headers"),h=n("xtend");t.exports=i;i.XMLHttpRequest=r.XMLHttpRequest||a;i.XDomainRequest="withCredentials"in new i.XMLHttpRequest?i.XMLHttpRequest:r.XDomainRequest;c(["get","put","post","patch","head","delete"],function(n){i[n==="delete"?"del":n]=function(t,i,r){return i=u(t,i,r),i.method=n.toUpperCase(),f(i)}})},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(n,t){function r(n){var t=i.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=r;var i=Object.prototype.toString},{}],58:[function(n,t){function i(n){var t=!1;return function(){if(!t)return t=!0,n.apply(this,arguments)}}t.exports=i;i.proto=i(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0})})},{}],59:[function(n,t){function f(n,t,i){if(!u(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);r.call(n)==="[object Array]"?e(n,t,i):typeof n=="string"?o(n,t,i):s(n,t,i)}function e(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 o(n,t,i){for(var r=0,u=n.length;r<u;r++)t.call(i,n.charAt(r),r,n)}function s(n,t,r){for(var u in n)i.call(n,u)&&t.call(r,n[u],u,n)}var u=n("is-function"),r,i;t.exports=f;r=Object.prototype.toString;i=Object.prototype.hasOwnProperty},{"is-function":57}],60:[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*$/,"")}},{}],61:[function(n,t){var i=n("trim"),r=n("for-each"),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}},{"for-each":59,trim:60}],62:[function(n,t){function r(){for(var u={},t,r,n=0;n<arguments.length;n++){t=arguments[n];for(r in t)i.call(t,r)&&(u[r]=t[r])}return u}t.exports=r;var i=Object.prototype.hasOwnProperty},{}],63:[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(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 o=n("./button.js"),s=u(o),h=n("./component.js"),c=u(h),r=function(n){function t(i,r){f(this,t);n.call(this,i,r)}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(){this.player_.play()},t}(s["default"]);r.prototype.controlText_="Play Video";c["default"].registerComponent("BigPlayButton",r);i["default"]=r;t.exports=i["default"]},{"./button.js":64,"./component.js":67}],64:[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 h(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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)}i.__esModule=!0;var l=n("./clickable-component.js"),a=r(l),v=n("./component"),u=r(v),y=n("./utils/events.js"),d=f(y),p=n("./utils/fn.js"),g=f(p),w=n("./utils/log.js"),e=r(w),b=n("global/document"),nt=r(b),k=n("object.assign"),o=r(k),s=function(n){function t(i,r){h(this,t);n.call(this,i,r)}return c(t,n),t.prototype.createEl=function(){var n=arguments.length<=0||arguments[0]===undefined?"button":arguments[0],t=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],i=arguments.length<=2||arguments[2]===undefined?{}:arguments[2],r;return t=o["default"]({className:this.buildCSSClass()},t),n!=="button"&&e["default"].warn("Creating a Button with an HTML element of "+n+" is deprecated; use ClickableComponent instead."),i=o["default"]({type:"button","aria-live":"polite"},i),r=u["default"].prototype.createEl.call(this,n,t,i),this.createControlTextEl(r),r},t.prototype.addChild=function(n){var t=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],i=this.constructor.name;return e["default"].warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),u["default"].prototype.addChild.call(this,n,t)},t.prototype.handleKeyPress=function(t){t.which===32||t.which===13||n.prototype.handleKeyPress.call(this,t)},t}(a["default"]);u["default"].registerComponent("Button",s);i["default"]=s;t.exports=i["default"]},{"./clickable-component.js":65,"./component":67,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],65:[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 r(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(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("./component"),f=r(v),y=n("./utils/dom.js"),p=u(y),w=n("./utils/events.js"),e=u(w),b=n("./utils/fn.js"),o=u(b),k=n("./utils/log.js"),d=r(k),g=n("global/document"),s=r(g),nt=n("object.assign"),h=r(nt),c=function(n){function t(i,r){l(this,t);n.call(this,i,r);this.emitTapEvents();this.on("tap",this.handleClick);this.on("click",this.handleClick);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur)}return a(t,n),t.prototype.createEl=function(){var t=arguments.length<=0||arguments[0]===undefined?"div":arguments[0],i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],r=arguments.length<=2||arguments[2]===undefined?{}:arguments[2],u;return i=h["default"]({className:this.buildCSSClass(),tabIndex:0},i),t==="button"&&d["default"].error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=h["default"]({role:"button","aria-live":"polite"},r),u=n.prototype.createEl.call(this,t,i,r),this.createControlTextEl(u),u},t.prototype.createControlTextEl=function(n){return this.controlTextEl_=p.createEl("span",{className:"vjs-control-text"}),n&&n.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},t.prototype.controlText=function(n){return n?(this.controlText_=n,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},t.prototype.addChild=function(t){var i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];return n.prototype.addChild.call(this,t,i)},t.prototype.handleClick=function(){},t.prototype.handleFocus=function(){e.on(s["default"],"keydown",o.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(){e.off(s["default"],"keydown",o.bind(this,this.handleKeyPress))},t}(f["default"]);f["default"].registerComponent("ClickableComponent",c);i["default"]=c;t.exports=i["default"]},{"./component":67,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],66:[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(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 o=n("./button"),s=r(o),h=n("./component"),c=r(h),u=function(n){function t(i,r){f(this,t);n.call(this,i,r);this.controlText(r&&r.controlText||this.localize("Close"))}return e(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}(s["default"]);c["default"].registerComponent("CloseButton",u);i["default"]=u;t.exports=i["default"]},{"./button":64,"./component":67}],67:[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 o(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");}i.__esModule=!0;var y=n("global/window"),r=o(y),p=n("./utils/dom.js"),u=s(p),w=n("./utils/fn.js"),f=s(w),b=n("./utils/guid.js"),k=s(b),d=n("./utils/events.js"),e=s(d),g=n("./utils/log.js"),h=o(g),nt=n("./utils/to-title-case.js"),c=o(nt),tt=n("object.assign"),it=o(tt),rt=n("./utils/merge-options.js"),l=o(rt),a=function(){function n(t,i,r){if(v(this,n),this.player_=!t&&this.play?t=this:t,this.options_=l["default"]({},this.options_),i=this.options_=l["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_);u.removeElData(this.el_);this.el_=null},n.prototype.player=function(){return this.player_},n.prototype.options=function(n){return(h["default"].warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),!n)?this.options_:(this.options_=l["default"](this.options_,n),this.options_)},n.prototype.el=function(){return this.el_},n.prototype.createEl=function(n,t,i){return u.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){return this.childNameIndex_[n]},n.prototype.addChild=function(t){var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],o=arguments.length<=2||arguments[2]===undefined?this.children_.length:arguments[2],i=undefined,u=undefined,e,f,s,l;if(typeof t=="string"){if(u=t,r||(r={}),r===!0&&(h["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||c["default"](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(o,0,i),typeof i.id=="function"&&(this.childIndex_[i.id()]=i),u=u||i.name&&i.name(),u&&(this.childNameIndex_[u]=i),typeof i.el=="function"&&i.el()&&(s=this.contentEl().children,l=s[o]||null,this.contentEl().insertBefore(i.el(),l)),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 t=this,i=this.options_.children;i&&function(){var u=t.options_,f=function(n){var r=n.name,i=n.opts,f;(u[r]!==undefined&&(i=u[r]),i!==!1)&&(i===!0&&(i={}),i.playerOptions=t.options_.playerOptions,f=t.addChild(r,i),f&&(t[r]=f))},r=undefined,e=n.getComponent("Tech");r=Array.isArray(i)?i:Object.keys(i);r.concat(Object.keys(t.options_).filter(function(n){return!r.some(function(t){return typeof t=="string"?n===t:n===t.name})})).map(function(n){var r=undefined,u=undefined;return typeof n=="string"?(r=n,u=i[r]||t.options_[r]||{}):(r=n.name,u=n),{name:r,opts:u}}).filter(function(t){var i=n.getComponent(t.opts.componentClass||c["default"](t.name));return i&&!e.isTech(i)}).forEach(f)}()},n.prototype.buildCSSClass=function(){return""},n.prototype.on=function(n,t,i){var r=this;if(typeof n=="string"||Array.isArray(n))e.on(this.el_,n,f.bind(this,t));else(function(){var u=n,h=t,o=f.bind(r,i),c=function(){return r.off(u,h,o)},s;c.guid=o.guid;r.on("dispose",c);if(s=function(){return r.off("dispose",c)},s.guid=o.guid,n.nodeName){e.on(u,h,o);e.on(u,"dispose",s)}else if(typeof n.on=="function"){u.on(h,o);u.on("dispose",s)}})();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 r=this,u=arguments;if(typeof n=="string"||Array.isArray(n))e.one(this.el_,n,f.bind(this,t));else(function(){var o=n,s=t,h=f.bind(r,i),e=function e(){r.off(o,s,e);h.apply(null,u)};e.guid=h.guid;r.on(o,s,e)})();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?!1:arguments[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 u.$(n,t||this.contentEl())},n.prototype.$$=function(n,t){return u.$$(n,t||this.contentEl())},n.prototype.hasClass=function(n){return u.hasElClass(this.el_,n)},n.prototype.addClass=function(n){return u.addElClass(this.el_,n),this},n.prototype.removeClass=function(n){return u.removeElClass(this.el_,n),this},n.prototype.toggleClass=function(n,t){return u.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.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"+c["default"](n)],10)},n.prototype.emitTapEvents=function(){var r=0,n=null,u=10,f=200,t=undefined,i;this.on("touchstart",function(i){i.touches.length===1&&(n=it["default"]({},i.touches[0]),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=undefined;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=r["default"].setTimeout(n,t),u=function(){this.clearTimeout(i)};u.guid="vjs-timeout-"+i;this.on("dispose",u);return i},n.prototype.clearTimeout=function(n){r["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=r["default"].setInterval(n,t),u=function(){this.clearInterval(i)};u.guid="vjs-interval-"+i;this.on("dispose",u);return i},n.prototype.clearInterval=function(n){r["default"].clearInterval(n);var t=function(){};return t.guid="vjs-interval-"+n,this.off("dispose",t),n},n.registerComponent=function(t,i){return n.components_||(n.components_={}),n.components_[t]=i,i},n.getComponent=function(t){return n.components_&&n.components_[t]?n.components_[t]:r["default"]&&r["default"].videojs&&r["default"].videojs[t]?(h["default"].warn("The "+t+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),r["default"].videojs[t]):void 0},n.extend=function(t){var u,i,r;t=t||{};h["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}();a.registerComponent("Component",a);i["default"]=a;t.exports=i["default"]},{"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/to-title-case.js":141,"global/window":2,"object.assign":45}],68:[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(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 s=n("../component.js"),f=r(s),h=n("./play-toggle.js"),ut=r(h),c=n("./time-controls/current-time-display.js"),ft=r(c),l=n("./time-controls/duration-display.js"),et=r(l),a=n("./time-controls/time-divider.js"),ot=r(a),v=n("./time-controls/remaining-time-display.js"),st=r(v),y=n("./live-display.js"),ht=r(y),p=n("./progress-control/progress-control.js"),ct=r(p),w=n("./fullscreen-toggle.js"),lt=r(w),b=n("./volume-control/volume-control.js"),at=r(b),k=n("./volume-menu-button.js"),vt=r(k),d=n("./mute-toggle.js"),yt=r(d),g=n("./text-track-controls/chapters-button.js"),pt=r(g),nt=n("./text-track-controls/subtitles-button.js"),wt=r(nt),tt=n("./text-track-controls/captions-button.js"),bt=r(tt),it=n("./playback-rate-menu/playback-rate-menu-button.js"),kt=r(it),rt=n("./spacer-controls/custom-control-spacer.js"),dt=r(rt),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},t}(f["default"]);u.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","subtitlesButton","captionsButton","fullscreenToggle"]};f["default"].registerComponent("ControlBar",u);i["default"]=u;t.exports=i["default"]},{"../component.js":67,"./fullscreen-toggle.js":69,"./live-display.js":70,"./mute-toggle.js":71,"./play-toggle.js":72,"./playback-rate-menu/playback-rate-menu-button.js":73,"./progress-control/progress-control.js":78,"./spacer-controls/custom-control-spacer.js":80,"./text-track-controls/captions-button.js":83,"./text-track-controls/chapters-button.js":84,"./text-track-controls/subtitles-button.js":87,"./time-controls/current-time-display.js":90,"./time-controls/duration-display.js":91,"./time-controls/remaining-time-display.js":92,"./time-controls/time-divider.js":93,"./volume-control/volume-control.js":95,"./volume-menu-button.js":97}],69:[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(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 o=n("../button.js"),s=u(o),h=n("../component.js"),c=u(h),r=function(n){function t(){f(this,t);n.apply(this,arguments)}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+n.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},t}(s["default"]);r.prototype.controlText_="Fullscreen";c["default"].registerComponent("FullscreenToggle",r);i["default"]=r;t.exports=i["default"]},{"../button.js":64,"../component.js":67}],70:[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(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 h=n("../component"),r=e(h),c=n("../utils/dom.js"),l=f(c),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.updateShowing();this.on(this.player(),"durationchange",this.updateShowing)}return s(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=l.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}(r["default"]);r["default"].registerComponent("LiveDisplay",u);i["default"]=u;t.exports=i["default"]},{"../component":67,"../utils/dom.js":132}],71:[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(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 h=n("../button"),c=u(h),l=n("../component"),a=u(l),v=n("../utils/dom.js"),f=e(v),r=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"volumechange",this.update);i.tech_&&i.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden");this.on(i,"loadstart",function(){this.update();i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return s(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}(c["default"]);r.prototype.controlText_="Mute";a["default"].registerComponent("MuteToggle",r);i["default"]=r;t.exports=i["default"]},{"../button":64,"../component":67,"../utils/dom.js":132}],72:[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(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 o=n("../button.js"),s=u(o),h=n("../component.js"),c=u(h),r=function(n){function t(i,r){f(this,t);n.call(this,i,r);this.on(i,"play",this.handlePlay);this.on(i,"pause",this.handlePause)}return e(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}(s["default"]);r.prototype.controlText_="Play";c["default"].registerComponent("PlayToggle",r);i["default"]=r;t.exports=i["default"]},{"../button.js":64,"../component.js":67}],73:[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(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 s=n("../../menu/menu-button.js"),h=r(s),c=n("../../menu/menu.js"),l=r(c),a=n("./playback-rate-menu-item.js"),v=r(a),y=n("../../component.js"),p=r(y),w=n("../../utils/dom.js"),b=f(w),u=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.updateVisibility();this.updateLabel();this.on(i,"loadstart",this.updateVisibility);this.on(i,"ratechange",this.updateLabel)}return o(t,n),t.prototype.createEl=function(){var t=n.prototype.createEl.call(this);return this.labelEl_=b.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 l["default"](this.player()),t=this.playbackRates(),n;if(t)for(n=t.length-1;n>=0;n--)i.addChild(new v["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(),t=this.playbackRates(),i=t[0],n=0;n<t.length;n++)if(t[n]>r){i=t[n];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}(h["default"]);u.prototype.controlText_="Playback Rate";p["default"].registerComponent("PlaybackRateMenuButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu-button.js":104,"../../menu/menu.js":106,"../../utils/dom.js":132,"./playback-rate-menu-item.js":74}],74:[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(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 o=n("../../menu/menu-item.js"),s=u(o),h=n("../../component.js"),c=u(h),r=function(n){function t(i,r){f(this,t);var u=r.rate,e=parseFloat(u,10);r.label=u;r.selected=e===1;n.call(this,i,r);this.label=u;this.rate=e;this.on(i,"ratechange",this.update)}return e(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}(s["default"]);r.prototype.contentElType="button";c["default"].registerComponent("PlaybackRateMenuItem",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu-item.js":105}],75:[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(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 h=n("../../component.js"),r=e(h),c=n("../../utils/dom.js"),l=f(c),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"progress",this.update)}return s(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(),o=this.player_.duration(),r=this.player_.bufferedEnd(),u=this.el_.children,f=function(n,t){var i=n/t||0;return(i>=1?1:i)*100+"%"},n;for(this.el_.style.width=f(r,o),n=0;n<t.length;n++){var e=t.start(n),s=t.end(n),i=u[n];i||(i=this.el_.appendChild(l.createEl()));i.style.left=f(e,r);i.style.width=f(s-e,r)}for(n=u.length;n>t.length;n--)this.el_.removeChild(u[n-1])},t}(r["default"]);r["default"].registerComponent("LoadProgressBar",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../utils/dom.js":132}],76:[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 r(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(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 c=n("../../component.js"),f=r(c),l=n("../../utils/dom.js"),e=u(l),a=n("../../utils/fn.js"),v=u(a),y=n("../../utils/format-time.js"),p=r(y),w=n("lodash-compat/function/throttle"),b=r(w),o=function(n){function t(i,r){var u=this;s(this,t);n.call(this,i,r);this.update(0,0);i.on("ready",function(){u.on(i.controlBar.progressControl.el(),"mousemove",b["default"](v.bind(u,u.handleMouseMove),25))})}return h(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-e.findElPosition(this.el().parentNode).left;this.update(i,r)},t.prototype.update=function(n,t){var i=p["default"](n,this.player_.duration());this.el().style.left=t+"px";this.el().setAttribute("data-current-time",i)},t.prototype.calculateDistance=function(n){return e.getPointerPosition(this.el().parentNode,n).x},t}(f["default"]);f["default"].registerComponent("MouseTimeDisplay",o);i["default"]=o;t.exports=i["default"]},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/format-time.js":135,"lodash-compat/function/throttle":7}],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 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)}i.__esModule=!0;var h=n("../../component.js"),u=r(h),c=n("../../utils/fn.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.updateDataAttr();this.on(i,"timeupdate",this.updateDataAttr);i.ready(l.bind(this,this.updateDataAttr))}return s(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",v["default"](n,this.player_.duration()))},t}(u["default"]);u["default"].registerComponent("PlayProgressBar",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":67,"../../utils/fn.js":134,"../../utils/format-time.js":135}],78:[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(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 s=n("../../component.js"),f=r(s),h=n("./seek-bar.js"),l=r(h),c=n("./mouse-time-display.js"),a=r(c),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t}(f["default"]);u.prototype.options_={children:["seekBar"]};f["default"].registerComponent("ProgressControl",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"./mouse-time-display.js":76,"./seek-bar.js":79}],79:[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(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 s=n("../../slider/slider.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("./load-progress-bar.js"),d=r(a),v=n("./play-progress-bar.js"),g=r(v),y=n("../../utils/fn.js"),p=f(y),w=n("../../utils/format-time.js"),b=r(w),k=n("object.assign"),nt=r(k),u=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateARIAAttributes);i.ready(p.bind(this,this.updateARIAAttributes))}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"video progress bar"})},t.prototype.updateARIAAttributes=function(){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",(this.getPercent()*100).toFixed(2));this.el_.setAttribute("aria-valuetext",b["default"](n,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){n.prototype.handleMouseDown.call(this,t);this.player_.scrubbing(!0);this.videoWasPlaying=!this.player_.paused();this.player_.pause()},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}(h["default"]);u.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"};u.prototype.playerEvent="timeupdate";l["default"].registerComponent("SeekBar",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"../../utils/format-time.js":135,"./load-progress-bar.js":75,"./play-progress-bar.js":77,"object.assign":45}],80:[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(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 o=n("./spacer.js"),s=r(o),h=n("../../component.js"),c=r(h),u=function(n){function t(){f(this,t);n.apply(this,arguments)}return e(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}(s["default"]);c["default"].registerComponent("CustomControlSpacer",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"./spacer.js":81}],81:[function(n,t,i){"use strict";function f(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(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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"../../component.js":67}],82:[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(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 o=n("./text-track-menu-item.js"),s=r(o),h=n("../../component.js"),c=r(h),u=function(n){function t(i,r){f(this,t);r.track={kind:r.kind,player:i,label:r.kind+" settings",selectable:!1,"default":!1,mode:"disabled"};r.selectable=!1;n.call(this,i,r);this.addClass("vjs-texttrack-settings");this.controlText(", opens "+r.kind+" settings dialog")}return e(t,n),t.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show();this.player().getChild("textTrackSettings").el_.focus()},t}(s["default"]);c["default"].registerComponent("CaptionSettingsMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"./text-track-menu-item.js":89}],83:[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(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 o=n("./text-track-button.js"),s=u(o),h=n("../../component.js"),c=u(h),l=n("./caption-settings-menu-item.js"),a=u(l),r=function(n){function t(i,r,u){f(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Captions Menu")}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},t.prototype.update=function(){var t=2;n.prototype.update.call(this);this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(t=1);this.items&&this.items.length>t?this.show():this.hide()},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||t.push(new a["default"](this.player_,{kind:this.kind_})),n.prototype.createItems.call(this,t)},t}(s["default"]);r.prototype.kind_="captions";r.prototype.controlText_="Captions";c["default"].registerComponent("CaptionsButton",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":67,"./caption-settings-menu-item.js":82,"./text-track-button.js":88}],84:[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(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 h=n("./text-track-button.js"),c=r(h),l=n("../../component.js"),a=r(l),v=n("./text-track-menu-item.js"),y=r(v),p=n("./chapters-track-menu-item.js"),w=r(p),b=n("../../menu/menu.js"),k=r(b),d=n("../../utils/dom.js"),e=f(d),g=n("../../utils/fn.js"),rt=f(g),nt=n("../../utils/to-title-case.js"),tt=r(nt),it=n("global/window"),ut=r(it),u=function(n){function t(i,r,u){o(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Chapters Menu")}return s(t,n),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},t.prototype.createItems=function(){var t=[],i=this.player_.textTracks(),n,r;if(!i)return t;for(n=0;n<i.length;n++)r=i[n],r.kind===this.kind_&&t.push(new y["default"](this.player_,{track:r}));return t},t.prototype.createMenu=function(){for(var v=this,c=this.player_.textTracks()||[],n=undefined,y=this.items=[],r,i,u,f,o,s,a,h,t=0,l=c.length;t<l;t++)if(r=c[t],r.kind===this.kind_){n=r;break}if(i=this.menu,i===undefined&&(i=new k["default"](this.player_),u=e.createEl("li",{className:"vjs-menu-title",innerHTML:tt["default"](this.kind_),tabIndex:-1}),i.children_.unshift(u),e.insertElFirst(u,i.contentEl())),n&&n.cues==null&&(n.mode="hidden",f=this.player_.remoteTextTrackEls().getTrackElementByTrack_(n),f&&f.addEventListener("load",function(){return v.update()})),n&&n.cues&&n.cues.length>0){for(o=n.cues,s=undefined,t=0,a=o.length;t<a;t++)s=o[t],h=new w["default"](this.player_,{track:n,cue:s}),y.push(h),i.addChild(h);this.addChild(i)}return this.items.length>0&&this.show(),i},t}(c["default"]);u.prototype.kind_="chapters";u.prototype.controlText_="Chapters";a["default"].registerComponent("ChaptersButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu.js":106,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/to-title-case.js":141,"./chapters-track-menu-item.js":85,"./text-track-button.js":88,"./text-track-menu-item.js":89,"global/window":2}],85:[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(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 s=n("../../menu/menu-item.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=f(a),u=function(n){function t(i,r){e(this,t);var f=r.track,u=r.cue,o=i.currentTime();r.label=u.text;r.selected=u.startTime<=o&&o<u.endTime;n.call(this,i,r);this.track=f;this.cue=u;f.addEventListener("cuechange",v.bind(this,this.update))}return o(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}(h["default"]);l["default"].registerComponent("ChaptersTrackMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134}],86:[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(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 o=n("./text-track-menu-item.js"),s=r(o),h=n("../../component.js"),c=r(h),u=function(n){function t(i,r){f(this,t);r.track={kind:r.kind,player:i,label:r.kind+" off","default":!1,mode:"disabled"};r.selectable=!0;n.call(this,i,r);this.selected(!0)}return e(t,n),t.prototype.handleTracksChange=function(){for(var i=this.player().textTracks(),r=!0,t,n=0,u=i.length;n<u;n++)if(t=i[n],t.kind===this.track.kind&&t.mode==="showing"){r=!1;break}this.selected(r)},t}(s["default"]);c["default"].registerComponent("OffTextTrackMenuItem",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"./text-track-menu-item.js":89}],87:[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(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 o=n("./text-track-button.js"),s=u(o),h=n("../../component.js"),c=u(h),r=function(n){function t(i,r,u){f(this,t);n.call(this,i,r,u);this.el_.setAttribute("aria-label","Subtitles Menu")}return e(t,n),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},t}(s["default"]);r.prototype.kind_="subtitles";r.prototype.controlText_="Subtitles";c["default"].registerComponent("SubtitlesButton",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":67,"./text-track-button.js":88}],88:[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(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 s=n("../../menu/menu-button.js"),h=r(s),c=n("../../component.js"),l=r(c),a=n("../../utils/fn.js"),v=f(a),y=n("./text-track-menu-item.js"),p=r(y),w=n("./off-text-track-menu-item.js"),b=r(w),u=function(n){function t(i,r){var u,f;if(e(this,t),n.call(this,i,r),u=this.player_.textTracks(),this.items.length<=1&&this.hide(),u){f=v.bind(this,this.update);u.addEventListener("removetrack",f);u.addEventListener("addtrack",f);this.player_.on("dispose",function(){u.removeEventListener("removetrack",f);u.removeEventListener("addtrack",f)})}}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 b["default"](this.player_,{kind:this.kind_})),t=this.player_.textTracks(),!t)return n;for(i=0;i<t.length;i++)r=t[i],r.kind===this.kind_&&n.push(new p["default"](this.player_,{selectable:!0,track:r}));return n},t}(h["default"]);l["default"].registerComponent("TextTrackButton",u);i["default"]=u;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu-button.js":104,"../../utils/fn.js":134,"./off-text-track-menu-item.js":86,"./text-track-menu-item.js":89}],89:[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(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 h=n("../../menu/menu-item.js"),c=r(h),l=n("../../component.js"),a=r(l),v=n("../../utils/fn.js"),y=e(v),p=n("global/window"),u=r(p),w=n("global/document"),b=r(w),f=function(n){function t(i,r){var s=this,e,f;o(this,t);e=r.track;f=i.textTracks();r.label=e.label||e.language||"Unknown";r.selected=e["default"]||e.mode==="showing";n.call(this,i,r);this.track=e;f&&function(){var n=y.bind(s,s.handleTracksChange);f.addEventListener("change",n);s.on("dispose",function(){f.removeEventListener("change",n)})}();f&&f.onchange===undefined&&function(){var n=undefined;s.on(["tap","click"],function(){if(typeof u["default"].Event!="object")try{n=new u["default"].Event("change")}catch(t){}n||(n=b["default"].createEvent("Event"),n.initEvent("change",!0,!0));f.dispatchEvent(n)})}()}return s(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}(c["default"]);a["default"].registerComponent("TextTrackMenuItem",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134,"global/document":1,"global/window":2}],90:[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(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 h=n("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateContent)}return s(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_=l.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=v["default"](t,this.player_.duration());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+i+"<\/span> "+n)},t}(u["default"]);u["default"].registerComponent("CurrentTimeDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],91:[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(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 h=n("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateContent);this.on(i,"loadedmetadata",this.updateContent)}return s(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_=l.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=v["default"](n),this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> "+i)},t}(u["default"]);u["default"].registerComponent("DurationDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],92:[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(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 h=n("../../component.js"),u=r(h),c=n("../../utils/dom.js"),l=e(c),a=n("../../utils/format-time.js"),v=r(a),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"timeupdate",this.updateContent)}return s(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_=l.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=v["default"](this.player_.remainingTime());n!==this.formattedTime_&&(this.formattedTime_=n,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"<\/span> -"+n)}},t}(u["default"]);u["default"].registerComponent("RemainingTimeDisplay",f);i["default"]=f;t.exports=i["default"]},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],93:[function(n,t,i){"use strict";function f(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(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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"../../component.js":67}],94:[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(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 s=n("../../slider/slider.js"),h=u(s),c=n("../../component.js"),l=u(c),a=n("../../utils/fn.js"),v=f(a),y=n("./volume-level.js"),p=u(y),r=function(n){function t(i,r){e(this,t);n.call(this,i,r);this.on(i,"volumechange",this.updateARIAAttributes);i.ready(v.bind(this,this.updateARIAAttributes))}return o(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}(h["default"]);r.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"};r.prototype.playerEvent="volumechange";l["default"].registerComponent("VolumeBar",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"./volume-level.js":96}],95:[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(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 s=n("../../component.js"),f=u(s),h=n("./volume-bar.js"),c=u(h),r=function(n){function t(i,r){e(this,t);n.call(this,i,r);i.tech_&&i.tech_.featuresVolumeControl===!1&&this.addClass("vjs-hidden");this.on(i,"loadstart",function(){i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return o(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},t}(f["default"]);r.prototype.options_={children:["volumeBar"]};f["default"].registerComponent("VolumeControl",r);i["default"]=r;t.exports=i["default"]},{"../../component.js":67,"./volume-bar.js":94}],96:[function(n,t,i){"use strict";function f(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(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 s=n("../../component.js"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"../../component.js":67}],97:[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(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 c=n("../utils/fn.js"),f=o(c),l=n("../component.js"),a=r(l),v=n("../popup/popup.js"),y=r(v),p=n("../popup/popup-button.js"),w=r(p),b=n("./mute-toggle.js"),e=r(b),k=n("./volume-control/volume-bar.js"),d=r(k),g=n("global/document"),nt=r(g),u=function(n){function t(i){function u(){i.tech_&&i.tech_.featuresVolumeControl===!1?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];s(this,t);r.inline===undefined&&(r.inline=!0);r.vertical===undefined&&(r.vertical=r.inline?!1:!0);r.volumeBar=r.volumeBar||{};r.volumeBar.vertical=!!r.vertical;n.call(this,i,r);this.on(i,"volumechange",this.volumeUpdate);this.on(i,"loadstart",this.volumeUpdate);u.call(this);this.on(i,"loadstart",u);this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")});this.on(this.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")});this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")});this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}return h(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 y["default"](this.player_,{contentElType:"div"}),t=new d["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(nt["default"],["mouseup","touchend"],this.handleMouseUp)},t.prototype.handleMouseUp=function(){this.off(["mousemove","touchmove"],f.bind(this.volumeBar,this.volumeBar.handleMouseMove))},t}(w["default"]);u.prototype.volumeUpdate=e["default"].prototype.update;u.prototype.controlText_="Mute";a["default"].registerComponent("VolumeMenuButton",u);i["default"]=u;t.exports=i["default"]},{"../component.js":67,"../popup/popup-button.js":110,"../popup/popup.js":111,"../utils/fn.js":134,"./mute-toggle.js":71,"./volume-control/volume-bar.js":94,"global/document":1}],98:[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(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 h=n("./component"),c=r(h),l=n("./modal-dialog"),f=r(l),a=n("./utils/dom"),p=e(a),v=n("./utils/merge-options"),y=r(v),u=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.on(i,"error",this.open)}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"]);u.prototype.options_=y["default"](f["default"].prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0});c["default"].registerComponent("ErrorDisplay",u);i["default"]=u;t.exports=i["default"]},{"./component":67,"./modal-dialog":107,"./utils/dom":132,"./utils/merge-options":138}],99:[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}i.__esModule=!0;var e=n("./utils/events.js"),u=f(e),r=function(){};r.prototype.allowedEvents_={};r.prototype.on=function(n,t){var i=this.addEventListener;this.addEventListener=Function.prototype;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){u.one(this,n,t)};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;t.exports=i["default"]},{"./utils/events.js":133}],100:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n("./utils/log"),f=r(u),e=function(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&&(n.super_=t)},o=function(n){var t=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],i=function(){n.apply(this,arguments)},r={},u;typeof t=="object"?(typeof t.init=="function"&&(f["default"].warn("Constructor logic via init() is deprecated; please use constructor() instead."),t.constructor=t.init),t.constructor!==Object.prototype.constructor&&(i=t.constructor),r=t):typeof t=="function"&&(i=t);e(i,n);for(u in r)r.hasOwnProperty(u)&&(i.prototype[u]=r[u]);return i};i["default"]=o;t.exports=i["default"]},{"./utils/log":137}],101:[function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;var s=n("global/document"),h=o(s),e={},u=[["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"]],c=u[0],f=undefined;for(r=0;r<u.length;r++)if(u[r][1]in h["default"]){f=u[r];break}if(f)for(r=0;r<f.length;r++)e[c[r]]=f[r];i["default"]=e;t.exports=i["default"]},{"global/document":1}],102:[function(n,t,i){"use strict";function f(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(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 s=n("./component"),r=f(s),u=function(n){function t(){e(this,t);n.apply(this,arguments)}return o(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;t.exports=i["default"]},{"./component":67}],103:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var u;i.__esModule=!0;var e=n("object.assign"),o=f(e),r=function r(n){typeof n=="number"?this.code=n:typeof n=="string"?this.message=n:typeof n=="object"&&o["default"](this,n);this.message||(this.message=r.defaultMessages[this.code]||"")};for(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;t.exports=i["default"]},{"object.assign":45}],104:[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 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(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 h=n("../clickable-component.js"),c=r(h),l=n("../component.js"),a=r(l),v=n("./menu.js"),y=r(v),p=n("../utils/dom.js"),f=u(p),w=n("../utils/fn.js"),b=u(w),k=n("../utils/to-title-case.js"),d=r(k),e=function(n){function t(i){var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];o(this,t);n.call(this,i,r);this.update();this.el_.setAttribute("aria-haspopup",!0);this.el_.setAttribute("role","menuitem");this.on("keydown",this.handleSubmenuKeyPress)}return s(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",!1);this.items&&this.items.length===0?this.hide():this.items&&this.items.length>1&&this.show()},t.prototype.createMenu=function(){var n=new y["default"](this.player_),i,t;if(this.options_.title&&(i=f.createEl("li",{className:"vjs-menu-title",innerHTML:d["default"](this.options_.title),tabIndex:-1}),n.children_.unshift(i),f.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("mouseout",b.bind(this,function(){this.menu.unlockShowing();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.buttonPressed_=!0;this.menu.lockShowing();this.el_.setAttribute("aria-expanded",!0);this.menu.focus()},t.prototype.unpressButton=function(){this.buttonPressed_=!1;this.menu.unlockShowing();this.el_.setAttribute("aria-expanded",!1);this.el_.focus()},t}(c["default"]);a["default"].registerComponent("MenuButton",e);i["default"]=e;t.exports=i["default"]},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./menu.js":106}],105:[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(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 o=n("../clickable-component.js"),s=r(o),h=n("../component.js"),c=r(h),l=n("object.assign"),a=r(l),u=function(n){function t(i,r){f(this,t);n.call(this,i,r);this.selectable=r.selectable;this.selected(r.selected);this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return e(t,n),t.prototype.createEl=function(t,i,r){return n.prototype.createEl.call(this,"li",a["default"]({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",!0),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked",!1),this.controlText(" ")))},t}(s["default"]);c["default"].registerComponent("MenuItem",u);i["default"]=u;t.exports=i["default"]},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}],106:[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(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 h=n("../component.js"),u=e(h),c=n("../utils/dom.js"),l=r(c),a=n("../utils/fn.js"),v=r(a),y=n("../utils/events.js"),p=r(y),f=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.focusedChild_=-1;this.on("keydown",this.handleKeyPress)}return s(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",v.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;this.contentEl_=l.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_);p.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?0:arguments[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}(u["default"]);u["default"].registerComponent("Menu",f);i["default"]=f;t.exports=i["default"]},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],107:[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 l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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("global/document"),s=u(v),y=n("./utils/dom"),r=o(y),p=n("./utils/fn"),h=o(p),w=n("./utils/log"),g=u(w),b=n("./component"),c=u(b),k=n("./close-button"),nt=u(k),f="vjs-modal-dialog",d=27,e=function(n){function t(i,u){l(this,t);n.call(this,i,u);this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1;this.closeable(!this.options_.uncloseable);this.content(this.options_.content);this.contentEl_=r.createEl("div",{className:f+"-content"},{role:"document"});this.descEl_=r.createEl("p",{className:f+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")});r.textContent(this.descEl_,this.description());this.el_.appendChild(this.descEl_);this.el_.appendChild(this.contentEl_)}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 f+" vjs-hidden "+n.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(n){n.which===d&&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.wasPlaying_&&n.pause(),this.closeable())this.on(s["default"],"keydown",h.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_&&n.play();this.closeable()&&this.off(s["default"],"keydown",h.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");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}(c["default"]);e.prototype.options_={temporary:!0};c["default"].registerComponent("ModalDialog",e);i["default"]=e;t.exports=i["default"]},{"./close-button":66,"./component":67,"./utils/dom":132,"./utils/fn":134,"./utils/log":137,"global/document":1}],108:[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 tt(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function it(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 l;i.__esModule=!0;var rt=n("./component.js"),h=r(rt),ut=n("global/document"),u=r(ut),ft=n("global/window"),k=r(ft),et=n("./utils/events.js"),a=s(et),ot=n("./utils/dom.js"),e=s(ot),st=n("./utils/fn.js"),v=s(st),ht=n("./utils/guid.js"),ct=s(ht),lt=n("./utils/browser.js"),at=s(lt),vt=n("./utils/log.js"),o=r(vt),yt=n("./utils/to-title-case.js"),w=r(yt),pt=n("./utils/time-ranges.js"),wt=n("./utils/buffer.js"),bt=n("./utils/stylesheet.js"),d=s(bt),kt=n("./fullscreen-api.js"),g=r(kt),dt=n("./media-error.js"),b=r(dt),gt=n("safe-json-parse/tuple"),ni=r(gt),ti=n("object.assign"),y=r(ti),ii=n("./utils/merge-options.js"),p=r(ii),ri=n("./tracks/text-track-list-converter.js"),nt=r(ri),ui=n("./tech/loader.js"),wi=r(ui),fi=n("./poster-image.js"),bi=r(fi),ei=n("./tracks/text-track-display.js"),ki=r(ei),oi=n("./loading-spinner.js"),di=r(oi),si=n("./big-play-button.js"),gi=r(si),hi=n("./control-bar/control-bar.js"),nr=r(hi),ci=n("./error-display.js"),tr=r(ci),li=n("./tracks/text-track-settings.js"),ir=r(li),ai=n("./modal-dialog"),vi=r(ai),yi=n("./tech/tech.js"),c=r(yi),pi=n("./tech/html5.js"),rr=r(pi),f=function(n){function t(i,r,u){var f=this,s;if(tt(this,t),i.id=i.id||"vjs_video_"+ct.newGUID(),r=y["default"](t.getTagSettings(i),r),r.initChildren=!1,r.createEl=!1,r.reportTouchActivity=!1,n.call(this,null,r,u),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=i;this.tagAttributes=i&&e.getElAttributes(i);this.language(this.options_.language);r.languages?function(){var n={};Object.getOwnPropertyNames(r.languages).forEach(function(t){n[t.toLowerCase()]=r.languages[t]});f.languages_=n}():this.languages_=t.prototype.options_.languages;this.cache_={};this.poster_=r.poster||"";this.controls_=!!r.controls;i.controls=!1;this.scrubbing_=!1;this.el_=this.createEl();s=p["default"](this.options_);r.plugins&&function(){var n=r.plugins;Object.getOwnPropertyNames(n).forEach(function(t){typeof this[t]=="function"?this[t](n[t]):o["default"].error("Unable to find plugin:",t)},f)}();this.options_.playerOptions=s;this.initChildren();this.isAudio(i.nodeName.toLowerCase()==="audio");this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled");this.isAudio()&&this.addClass("vjs-audio");this.flexNotSupported_()&&this.addClass("vjs-no-flex");at.IS_IOS||this.addClass("vjs-workinghover");t.players[this.id_]=this;this.userActive(!0);this.reportUserActivity();this.listenForUserActivity_();this.on("fullscreenchange",this.handleFullscreenChange_);this.on("stageclick",this.handleStageClick_)}return it(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 i=this.el_=n.prototype.createEl.call(this,"div"),t=this.tag,r,u,f;return t.removeAttribute("width"),t.removeAttribute("height"),r=e.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"),this.styleEl_=d.createStyleElement("vjs-styles-dimensions"),u=e.$(".vjs-styles-defaults"),f=e.$("head"),f.insertBefore(this.styleEl_,u?u.nextSibling:f.firstChild),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),t.initNetworkState_=t.networkState,t.parentNode&&t.parentNode.insertBefore(i,t),e.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 o["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")},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=undefined,u=undefined,f=undefined,n=undefined,r,t;f=this.aspectRatio_!==undefined&&this.aspectRatio_!=="auto"?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9";r=f.split(":");t=r[1]/r[0];i=this.width_!==undefined?this.width_:this.height_!==undefined?this.height_/t:this.videoWidth()||300;u=this.height_!==undefined?this.height_:i*t;n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(n);d.setTextContent(this.styleEl_,"\n      ."+n+" {\n        width: "+i+"px;\n        height: "+u+"px;\n      }\n\n      ."+n+".vjs-fluid {\n        padding-top: "+t*100+"%;\n      }\n    ")},t.prototype.loadTech_=function(n,t){var i,r;this.tech_&&this.unloadTech_();n!=="Html5"&&this.tag&&(c["default"].getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null);this.techName_=n;this.isReady_=!1;i=y["default"]({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:t,playerId:this.id(),techId:this.id()+"_"+n+"_api",textTracks:this.textTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"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_.src=t.src);r=c["default"].getTech(n);r||(r=h["default"].getComponent(n));this.tech_=new r(i);this.tech_.ready(v.bind(this,this.handleTechReady_),!0);nt["default"].jsonToTextTracks(this.textTracksJson_||[],this.tech_);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_,"progress",this.handleTechProgress_);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_,"suspend",this.handleTechSuspend_);this.on(this.tech_,"abort",this.handleTechAbort_);this.on(this.tech_,"emptied",this.handleTechEmptied_);this.on(this.tech_,"stalled",this.handleTechStalled_);this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_);this.on(this.tech_,"loadeddata",this.handleTechLoadedData_);this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_);this.on(this.tech_,"ratechange",this.handleTechRateChange_);this.on(this.tech_,"volumechange",this.handleTechVolumeChange_);this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_);this.on(this.tech_,"loadedmetadata",this.updateStyleEl_);this.on(this.tech_,"posterchange",this.handleTechPosterChange_);this.usingNativeControls(this.techGet_("controls"));this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_();this.tech_.el().parentNode===this.el()||n==="Html5"&&this.tag||e.insertElFirst(this.tech_.el(),this.el());this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){this.textTracks_=this.textTracks();this.textTracksJson_=nt["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    ";k["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(){this.triggerReady();this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume);this.handleTechPosterChange_();this.handleTechDurationChange_();this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended");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&&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.handleTechProgress_=function(){this.trigger("progress")},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&&n.code)},t.prototype.handleTechSuspend_=function(){this.trigger("suspend")},t.prototype.handleTechAbort_=function(){this.trigger("abort")},t.prototype.handleTechEmptied_=function(){this.trigger("emptied")},t.prototype.handleTechStalled_=function(){this.trigger("stalled")},t.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},t.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},t.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},t.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},t.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},t.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},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_[n](t)}catch(i){o["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?o["default"]("Video.js: "+n+" method not defined for "+this.techName_+" playback technology.",t):t.name==="TypeError"?(o["default"]("Video.js: "+n+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1):o["default"](t);throw t;}return},t.prototype.play=function(){return this.techCall_("play"),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},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=pt.createTimeRange(0,0)),n},t.prototype.bufferedPercent=function(){return wt.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=undefined;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){a.on(u["default"],n.fullscreenchange,v.bind(this,function t(){this.isFullscreen(u["default"][n.fullscreenElement]);this.isFullscreen()===!1&&a.off(u["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?u["default"][n.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},t.prototype.enterFullWindow=function(){this.isFullWindow=!0;this.docOrigOverflow=u["default"].documentElement.style.overflow;a.on(u["default"],"keydown",v.bind(this,this.fullWindowOnEscKey));u["default"].documentElement.style.overflow="hidden";e.addElClass(u["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;a.off(u["default"],"keydown",this.fullWindowOnEscKey);u["default"].documentElement.style.overflow=this.docOrigOverflow;e.removeElClass(u["default"].body,"vjs-full-window");this.trigger("exitFullWindow")},t.prototype.canPlayType=function(n){for(var u=undefined,r,t,i=0,f=this.options_.techOrder;i<f.length;i++){if(r=w["default"](f[i]),t=c["default"].getTech(r),t||(t=h["default"].getComponent(r)),!t){o["default"].error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.');continue}if(t.isSupported()&&(u=t.canPlayType(n),u))return u}return""},t.prototype.selectSource=function(n){var t=this.options_.techOrder.map(w["default"]).map(function(n){return[n,c["default"].getTech(n)||h["default"].getComponent(n)]}).filter(function(n){var i=n[0],t=n[1];return t?t.isSupported():(o["default"].error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(n,t,i){var r=undefined;return n.some(function(n){return t.some(function(t){return r=i(n,t),r?!0:void 0})}),r},r=undefined,f=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))return{source:t,tech:i}};return r=this.options_.sourceOrder?i(n,t,f(u)):i(t,n,u),r||!1},t.prototype.src=function(n){if(n===undefined)return this.techGet_("src");var t=c["default"].getTech(this.techName_);return t||(t=h["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.sourceList_([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.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_(w["default"](this.options_.techOrder[0]),null),this.techCall_("reset"),this},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.close(),this):(this.error_=n instanceof b["default"]?n:new b["default"](n),this.addClass("vjs-error"),o["default"].error("(CODE:"+this.error_.code+" "+b["default"].errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),this)},t.prototype.ended=function(){return this.techGet_("ended")},t.prototype.seeking=function(){return this.techGet_("seeking")},t.prototype.seekable=function(){return this.techGet_("seekable")},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=undefined,r=undefined,u=undefined,n=v.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,s;this.on("mousedown",e);this.on("mousemove",f);this.on("mouseup",o);this.on("keydown",n);this.on("keyup",n);i=undefined;s=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.networkState=function(){return this.techGet_("networkState")},t.prototype.readyState=function(){return this.techGet_("readyState")},t.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},t.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},t.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},t.prototype.addTextTrack=function(n,t,i){return this.tech_&&this.tech_.addTextTrack(n,t,i)},t.prototype.addRemoteTextTrack=function(n){return this.tech_&&this.tech_.addRemoteTextTrack(n)},t.prototype.removeRemoteTextTrack=function(n){this.tech_&&this.tech_.removeRemoteTextTrack(n)},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_=(""+n).toLowerCase(),this)},t.prototype.languages=function(){return p["default"](t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var i=p["default"](this.options_),r=i.tracks,n,t;for(i.tracks=[],n=0;n<r.length;n++)t=r[n],t=p["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 vi["default"](r,t);r.addChild(i);i.on("dispose",function(){r.removeChild(i)});return i.open()},t.getTagSettings=function(n){var t={sources:[],tracks:[]},u=e.getElAttributes(n),h=u["data-setup"],f,i,a,r,s;if(h!==null){var c=ni["default"](h||"{}"),l=c[0],v=c[1];l&&o["default"].error(l);y["default"](u,v)}if(y["default"](t,u),n.hasChildNodes())for(f=n.childNodes,i=0,a=f.length;i<a;i++)r=f[i],s=r.nodeName.toLowerCase(),s==="source"?t.sources.push(e.getElAttributes(r)):s==="track"&&t.tracks.push(e.getElAttributes(r));return t},t}(h["default"]);f.players={};l=k["default"].navigator;f.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:u["default"].getElementsByTagName("html")[0].getAttribute("lang")||l.languages&&l.languages[0]||l.userLanguage||l.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."};f.prototype.handleLoadedMetaData_;f.prototype.handleLoadedData_;f.prototype.handleUserActive_;f.prototype.handleUserInactive_;f.prototype.handleTimeUpdate_;f.prototype.handleTechEnded_;f.prototype.handleVolumeChange_;f.prototype.handleError_;f.prototype.flexNotSupported_=function(){var n=u["default"].createElement("i");return!("flexBasis"in n.style||"webkitFlexBasis"in n.style||"mozFlexBasis"in n.style||"msFlexBasis"in n.style||"msFlexOrder"in n.style)};h["default"].registerComponent("Player",f);i["default"]=f;t.exports=i["default"]},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":68,"./error-display.js":98,"./fullscreen-api.js":101,"./loading-spinner.js":102,"./media-error.js":103,"./modal-dialog":107,"./poster-image.js":112,"./tech/html5.js":117,"./tech/loader.js":118,"./tech/tech.js":119,"./tracks/text-track-display.js":123,"./tracks/text-track-list-converter.js":125,"./tracks/text-track-settings.js":127,"./utils/browser.js":129,"./utils/buffer.js":130,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/to-title-case.js":141,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],109:[function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var u=n("./player.js"),f=r(u),e=function(n,t){f["default"].prototype[n]=t};i["default"]=e;t.exports=i["default"]},{"./player.js":108}],110:[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 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(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 s=n("../clickable-component.js"),h=r(s),c=n("../component.js"),l=r(c),a=n("./popup.js"),w=r(a),v=n("../utils/dom.js"),b=u(v),y=n("../utils/fn.js"),k=u(y),p=n("../utils/to-title-case.js"),d=r(p),f=function(n){function t(i){var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];e(this,t);n.call(this,i,r);this.update()}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",f);i["default"]=f;t.exports=i["default"]},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./popup.js":111}],111:[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(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 h=n("../component.js"),u=e(h),c=n("../utils/dom.js"),l=r(c),a=n("../utils/fn.js"),v=r(a),y=n("../utils/events.js"),p=r(y),f=function(n){function t(){o(this,t);n.apply(this,arguments)}return s(t,n),t.prototype.addItem=function(n){this.addChild(n);n.on("click",v.bind(this,function(){this.unlockShowing()}))},t.prototype.createEl=function(){var i=this.options_.contentElType||"ul",t;this.contentEl_=l.createEl(i,{className:"vjs-menu-content"});t=n.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});t.appendChild(this.contentEl_);p.on(t,"click",function(n){n.preventDefault();n.stopImmediatePropagation()});return t},t}(u["default"]);u["default"].registerComponent("Popup",f);i["default"]=f;t.exports=i["default"]},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],112:[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 o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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)}i.__esModule=!0;var h=n("./clickable-component.js"),c=u(h),l=n("./component.js"),a=u(l),v=n("./utils/fn.js"),y=r(v),p=n("./utils/dom.js"),f=r(p),w=n("./utils/browser.js"),b=r(w),e=function(n){function t(i,r){o(this,t);n.call(this,i,r);this.update();i.on("posterchange",y.bind(this,this.update))}return s(t,n),t.prototype.dispose=function(){this.player().off("posterchange",this.update);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=f.createEl("div",{className:"vjs-poster",tabIndex:-1});return b.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=f.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_.paused()?this.player_.play():this.player_.pause()},t}(c["default"]);a["default"].registerComponent("PosterImage",e);i["default"]=e;t.exports=i["default"]},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":129,"./utils/dom.js":132,"./utils/fn.js":134}],113:[function(n,t,i){"use strict";function e(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}var h;i.__esModule=!0;var l=n("./utils/events.js"),a=c(l),v=n("global/document"),u=e(v),y=n("global/window"),p=e(y),r=!1,o=undefined,s=function(){var s=u["default"].getElementsByTagName("video"),h=u["default"].getElementsByTagName("audio"),i=[],n,t,e,c,l;if(s&&s.length>0)for(n=0,t=s.length;n<t;n++)i.push(s[n]);if(h&&h.length>0)for(n=0,t=h.length;n<t;n++)i.push(h[n]);if(i&&i.length>0)for(n=0,t=i.length;n<t;n++)if(e=i[n],e&&e.getAttribute)e.player===undefined&&(c=e.getAttribute("data-setup"),c!==null&&(l=o(e)));else{f(1);break}else r||f(1)},f=function(n,t){t&&(o=t);setTimeout(s,n)};if(u["default"].readyState==="complete")r=!0;else a.one(p["default"],"load",function(){r=!0});h=function(){return r};i.autoSetup=s;i.autoSetupTimeout=f;i.hasLoaded=h},{"./utils/events.js":133,"global/document":1,"global/window":2}],114:[function(n,t,i){"use strict";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 u(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(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("../component.js"),e=u(a),v=n("../utils/dom.js"),f=h(v),y=n("global/document"),r=u(y),p=n("object.assign"),o=u(p),s=function(n){function t(i,r){c(this,t);n.call(this,i,r);this.bar=this.getChild(this.options_.barName);this.vertical(!!this.options_.vertical);this.on("mousedown",this.handleMouseDown);this.on("touchstart",this.handleMouseDown);this.on("focus",this.handleFocus);this.on("blur",this.handleBlur);this.on("click",this.handleClick);this.on(i,"controlsvisible",this.update);this.on(i,this.playerEvent,this.update)}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=o["default"]({tabIndex:0},i),r=o["default"]({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){n.preventDefault();f.blockTextSelection();this.addClass("vjs-sliding");this.trigger("slideractive");this.on(r["default"],"mousemove",this.handleMouseMove);this.on(r["default"],"mouseup",this.handleMouseUp);this.on(r["default"],"touchmove",this.handleMouseMove);this.on(r["default"],"touchend",this.handleMouseUp);this.handleMouseMove(n)},t.prototype.handleMouseMove=function(){},t.prototype.handleMouseUp=function(){f.unblockTextSelection();this.removeClass("vjs-sliding");this.trigger("sliderinactive");this.off(r["default"],"mousemove",this.handleMouseMove);this.off(r["default"],"mouseup",this.handleMouseUp);this.off(r["default"],"touchmove",this.handleMouseMove);this.off(r["default"],"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=f.getPointerPosition(this.el_,n);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(r["default"],"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(r["default"],"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}(e["default"]);e["default"].registerComponent("Slider",s);i["default"]=s;t.exports=i["default"]},{"../component.js":67,"../utils/dom.js":132,"global/document":1,"object.assign":45}],115:[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=undefined,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;t.exports=i["default"]},{}],116:[function(n,t,i){"use strict";function v(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 k(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function d(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 st(n){var t=n.charAt(0).toUpperCase()+n.slice(1);p["set"+t]=function(t){return this.el_.vjs_setProperty(n,t)}}function b(n){p[n]=function(){return this.el_.vjs_getProperty(n)}}var u;i.__esModule=!0;var g=n("./tech"),c=e(g),nt=n("../utils/dom.js"),s=v(nt),tt=n("../utils/url.js"),y=v(tt),h=n("../utils/time-ranges.js"),it=n("./flash-rtmp"),rt=e(it),ut=n("../component"),ft=e(ut),et=n("global/window"),f=e(et),ot=n("object.assign"),o=e(ot),l=f["default"].navigator,r=function(n){function t(i,r){k(this,t);n.call(this,i,r);i.source&&this.ready(function(){this.setSource(i.source)},!0);i.startTime&&this.ready(function(){this.load();this.play();this.currentTime(i.startTime)},!0);f["default"].videojs=f["default"].videojs||{};f["default"].videojs.Flash=f["default"].videojs.Flash||{};f["default"].videojs.Flash.onReady=t.onReady;f["default"].videojs.Flash.onEvent=t.onEvent;f["default"].videojs.Flash.onError=t.onError;this.on("seeked",function(){this.lastSeekTarget_=undefined})}return d(t,n),t.prototype.createEl=function(){var n=this.options_;n.swf||(n.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf");var i=n.techId,r=o["default"]({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),u=o["default"]({wmode:"opaque",bgcolor:"#000000"},n.params),f=o["default"]({id:i,name:i,"class":"vjs-tech"},n.attributes);return this.el_=t.embed(n.swf,r,u,f),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){if(n=y.getAbsoluteURL(n),this.el_.vjs_src(n),this.autoplay()){var t=this;this.setTimeout(function(){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.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?h.createTimeRange():h.createTimeRange(0,n)},t.prototype.buffered=function(){var n=this.el_.vjs_getProperty("buffered");return n.length===0?h.createTimeRange():h.createTimeRange(n[0][0],n[0][1])},t.prototype.supportsFullScreen=function(){return!1},t.prototype.enterFullScreen=function(){return!1},t}(c["default"]),p=r.prototype,a="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),w="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoTracks,audioTracks,videoWidth,videoHeight".split(",");for(u=0;u<a.length;u++)b(a[u]),st(a[u]);for(u=0;u<w.length;u++)b(w[u]);r.isSupported=function(){return r.version()[0]>=10};c["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=y.getFileExtension(n);return t?"video/"+t:""}var t;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=s.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=s.getEl(n).tech;i.trigger(t)};r.onError=function(n,t){var i=s.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 f["default"].ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(t){try{l.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(n=(l.plugins["Shockwave Flash 2.0"]||l.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 s.createEl("div",{innerHTML:f}).childNodes[0]};r.getEmbedCode=function(n,t,i,r){var u="",f="",e="";return t&&Object.getOwnPropertyNames(t).forEach(function(n){u+=n+"="+t[n]+"&amp;"}),i=o["default"]({movie:n,flashvars:u,allowScriptAccess:"always",allowNetworking:"all"},i),Object.getOwnPropertyNames(i).forEach(function(n){f+='<param name="'+n+'" value="'+i[n]+'" />'}),r=o["default"]({data:n,width:"100%",height:"100%"},r),Object.getOwnPropertyNames(r).forEach(function(n){e+=n+'="'+r[n]+'" '}),'<object type="application/x-shockwave-flash" '+e+">"+f+"<\/object>"};rt["default"](r);ft["default"].registerComponent("Flash",r);c["default"].registerTech("Flash",r);i["default"]=r;t.exports=i["default"]},{"../component":67,"../utils/dom.js":132,"../utils/time-ranges.js":140,"../utils/url.js":142,"./flash-rtmp":115,"./tech":119,"global/window":2,"object.assign":45}],117:[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 e(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(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 p=n("./tech.js"),c=e(p),w=n("../component"),b=e(w),k=n("../utils/dom.js"),l=s(k),d=n("../utils/url.js"),g=s(d),nt=n("../utils/fn.js"),a=s(nt),tt=n("../utils/log.js"),it=e(tt),rt=n("../utils/browser.js"),u=s(rt),ut=n("global/document"),h=e(ut),ft=n("global/window"),et=e(ft),ot=n("object.assign"),st=e(ot),ht=n("../utils/merge-options.js"),ct=e(ht),r=function(n){function t(i,r){var e,f,l,o;if(v(this,t),n.call(this,i,r),e=i.source,e&&(this.el_.currentSrc!==e.src||i.tag&&i.tag.initNetworkState_===3)?this.setSource(e):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var h=this.el_.childNodes,c=h.length,s=[];c--;)f=h[c],l=f.nodeName.toLowerCase(),l==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(f),this.remoteTextTracks().addTrack_(f.track)):s.push(f));for(o=0;o<s.length;o++)this.el_.removeChild(s[o])}this.featuresNativeTextTracks&&(this.handleTextTrackChange_=a.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=a.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=a.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_());(u.TOUCH_ENABLED&&i.nativeControlsForTouch===!0||u.IS_IPHONE||u.IS_NATIVE_ANDROID)&&this.setControls(!0);this.triggerReady()}return y(t,n),t.prototype.dispose=function(){var i=this.el().textTracks,r=this.textTracks(),u;for(i&&i.removeEventListener&&(i.removeEventListener("change",this.handleTextTrackChange_),i.removeEventListener("addtrack",this.handleTextTrackAdd_),i.removeEventListener("removetrack",this.handleTextTrackRemove_)),u=r.length;u--;)r.removeTrack_(r[u]);t.disposeMediaElement(this.el_);n.prototype.dispose.call(this)},t.prototype.createEl=function(){var n=this.options_.tag,f,c,e,o,i,r,s;for(n&&this.movingMediaElementInDOM!==!1||(n?(f=n.cloneNode(!0),n.parentNode.insertBefore(f,n),t.disposeMediaElement(n),n=f):(n=h["default"].createElement("video"),c=this.options_.tag&&l.getElAttributes(this.options_.tag),e=ct["default"]({},c),u.TOUCH_ENABLED&&this.options_.nativeControlsForTouch===!0||delete e.controls,l.setElAttributes(n,st["default"](e,{id:this.options_.techId,"class":"vjs-tech"})))),o=["autoplay","preload","loop","muted"],i=o.length-1;i>=0;i--)r=o[i],s={},typeof this.options_[r]!="undefined"&&(s[r]=this.options_[r]),l.setElAttributes(n,s);return n},t.prototype.handleLateInit_=function(n){var i=this,r,t;if(n.networkState!==0&&n.networkState!==3){if(n.readyState===0&&(r=function(){var n=!1,r=function(){n=!0},t;i.on("loadstart",r);t=function(){n||this.trigger("loadstart")};i.on("loadedmetadata",t);return i.ready(function(){this.off("loadstart",r);this.off("loadedmetadata",t);n||this.trigger("loadstart")}),{v:undefined}}(),typeof r=="object"))return r.v;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_))}},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.play=function(){this.el_.play()},t.prototype.pause=function(){this.el_.pause()},t.prototype.paused=function(){return this.el_.paused},t.prototype.currentTime=function(){return this.el_.currentTime},t.prototype.setCurrentTime=function(n){try{this.el_.currentTime=n}catch(t){it["default"](t,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){return this.el_.duration||0},t.prototype.buffered=function(){return this.el_.buffered},t.prototype.volume=function(){return this.el_.volume},t.prototype.setVolume=function(n){this.el_.volume=n},t.prototype.muted=function(){return this.el_.muted},t.prototype.setMuted=function(n){this.el_.muted=n},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.supportsFullScreen=function(){if(typeof this.el_.webkitEnterFullScreen=="function"){var n=et["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_;if("webkitDisplayingFullscreen"in n)this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})});this.trigger("fullscreenchange",{isFullscreen:!0})});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.setSrc=function(n){this.el_.src=n},t.prototype.load=function(){this.el_.load()},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.poster=function(){return this.el_.poster},t.prototype.setPoster=function(n){this.el_.poster=n},t.prototype.preload=function(){return this.el_.preload},t.prototype.setPreload=function(n){this.el_.preload=n},t.prototype.autoplay=function(){return this.el_.autoplay},t.prototype.setAutoplay=function(n){this.el_.autoplay=n},t.prototype.controls=function(){return this.el_.controls},t.prototype.setControls=function(n){this.el_.controls=!!n},t.prototype.loop=function(){return this.el_.loop},t.prototype.setLoop=function(n){this.el_.loop=n},t.prototype.error=function(){return this.el_.error},t.prototype.seeking=function(){return this.el_.seeking},t.prototype.seekable=function(){return this.el_.seekable},t.prototype.ended=function(){return this.el_.ended},t.prototype.defaultMuted=function(){return this.el_.defaultMuted},t.prototype.playbackRate=function(){return this.el_.playbackRate},t.prototype.played=function(){return this.el_.played},t.prototype.setPlaybackRate=function(n){this.el_.playbackRate=n},t.prototype.networkState=function(){return this.el_.networkState},t.prototype.readyState=function(){return this.el_.readyState},t.prototype.videoWidth=function(){return this.el_.videoWidth},t.prototype.videoHeight=function(){return this.el_.videoHeight},t.prototype.textTracks=function(){return n.prototype.textTracks.call(this)},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.addRemoteTextTrack=function(){var t=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],i;return this.featuresNativeTextTracks?(i=h["default"].createElement("track"),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),this.el().appendChild(i),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack_(i.track),i):n.prototype.addRemoteTextTrack.call(this,t)},t.prototype.removeRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return n.prototype.removeRemoteTextTrack.call(this,t);var i=undefined,r=undefined,u=this.remoteTextTrackEls().getTrackElementByTrack_(t);for(this.remoteTextTrackEls().removeTrackElement_(u),this.remoteTextTracks().removeTrack_(t),i=this.$$("track"),r=i.length;r--;)(t===i[r]||t===i[r].track)&&this.el().removeChild(i[r])},t}(c["default"]);r.TEST_VID=h["default"].createElement("video");o=h["default"].createElement("track");o.kind="captions";o.srclang="en";o.label="English";r.TEST_VID.appendChild(o);r.isSupported=function(){try{r.TEST_VID.volume=.5}catch(n){return!1}return!!r.TEST_VID.canPlayType};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){var t;return n.type?r.nativeSourceHandler.canPlayType(n.type):n.src?(t=g.getFileExtension(n.src),r.nativeSourceHandler.canPlayType("video/"+t)):""};r.nativeSourceHandler.handleSource=function(n,t){t.setSrc(n.src)};r.nativeSourceHandler.dispose=function(){};r.registerSourceHandler(r.nativeSourceHandler);r.canControlVolume=function(){var n=r.TEST_VID.volume;return r.TEST_VID.volume=n/2+.1,n!==r.TEST_VID.volume};r.canControlPlaybackRate=function(){var n=r.TEST_VID.playbackRate;return r.TEST_VID.playbackRate=n/2+.1,n!==r.TEST_VID.playbackRate};r.supportsNativeTextTracks=function(){var n;return n=!!r.TEST_VID.textTracks,n&&r.TEST_VID.textTracks.length>0&&(n=typeof r.TEST_VID.textTracks[0].mode!="number"),n&&u.IS_FIREFOX&&(n=!1),!n||"onremovetrack"in r.TEST_VID.textTracks||(n=!1),n};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.featuresNativeTextTracks=r.supportsNativeTextTracks();var f=undefined,lt=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,at=/^video\/mp4/i;r.patchCanPlayType=function(){u.ANDROID_VERSION>=4&&(f||(f=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&lt.test(n)?"maybe":f.call(this,n)});u.IS_OLD_ANDROID&&(f||(f=r.TEST_VID.constructor.prototype.canPlayType),r.TEST_VID.constructor.prototype.canPlayType=function(n){return n&&at.test(n)?"maybe":f.call(this,n)})};r.unpatchCanPlayType=function(){var n=r.TEST_VID.constructor.prototype.canPlayType;return r.TEST_VID.constructor.prototype.canPlayType=f,f=null,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){}}()}};b["default"].registerComponent("Html5",r);c["default"].registerTech("Html5",r);i["default"]=r;t.exports=i["default"]},{"../component":67,"../utils/browser.js":129,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/url.js":142,"./tech.js":119,"global/document":1,"global/window":2,"object.assign":45}],118:[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(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 s=n("../component.js"),u=r(s),h=n("./tech.js"),c=r(h),l=n("global/window"),y=r(l),a=n("../utils/to-title-case.js"),v=r(a),f=function(n){function t(i,r,f){var s,l,o,h;if(e(this,t),n.call(this,i,r,f),r.playerOptions.sources&&r.playerOptions.sources.length!==0)i.src(r.playerOptions.sources);else for(s=0,l=r.playerOptions.techOrder;s<l.length;s++)if(o=v["default"](l[s]),h=c["default"].getTech(o),o||(h=u["default"].getComponent(o)),h&&h.isSupported()){i.loadTech_(o);break}}return o(t,n),t}(u["default"]);u["default"].registerComponent("MediaLoader",f);i["default"]=f;t.exports=i["default"]},{"../component.js":67,"../utils/to-title-case.js":141,"./tech.js":119,"global/window":2}],119:[function(n,t,i){"use strict";function v(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 y(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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)}var a;i.__esModule=!0;var w=n("../component"),e=u(w),b=n("../tracks/html-track-element"),k=u(b),d=n("../tracks/html-track-element-list"),g=u(d),nt=n("../utils/merge-options.js"),tt=u(nt),it=n("../tracks/text-track"),rt=u(it),ut=n("../tracks/text-track-list"),h=u(ut),ft=n("../utils/fn.js"),o=v(ft),et=n("../utils/log.js"),c=u(et),s=n("../utils/time-ranges.js"),ot=n("../utils/buffer.js"),st=n("../media-error.js"),l=u(st),ht=n("global/window"),f=u(ht),ct=n("global/document"),lt=u(ct),r=function(n){function t(){var i=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],r=arguments.length<=1||arguments[1]===undefined?function(){}:arguments[1];y(this,t);i.reportTouchActivity=!1;n.call(this,null,i,r);this.hasStarted_=!1;this.on("playing",function(){this.hasStarted_=!0});this.on("loadstart",function(){this.hasStarted_=!1});if(this.textTracks_=i.textTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),(i.nativeCaptions===!1||i.nativeTextTracks===!1)&&(this.featuresNativeTextTracks=!1),!this.featuresNativeTextTracks)this.on("ready",this.emulateTextTracks);this.initTextTrackListeners();this.emitTapEvents()}return p(t,n),t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange);this.manualProgress=!0;this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1;this.stopTrackingProgress();this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(){this.stopTrackingProgress();this.progressInterval=this.setInterval(o.bind(this,function(){var n=this.bufferedPercent();this.bufferedPercent_!==n&&this.trigger("progress");this.bufferedPercent_=n;n===1&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(){this.duration_=this.duration()},t.prototype.buffered=function(){return s.createTimeRange(0,0)},t.prototype.bufferedPercent=function(){return ot.bufferedPercent(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0;this.on("play",this.trackCurrentTime);this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1;this.stopTrackingCurrentTime();this.off("play",this.trackCurrentTime);this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime();this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval);this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){var t=this.textTracks(),i;if(t)for(i=t.length;i--;)this.removeRemoteTextTrack(t[i]);this.manualProgress&&this.manualProgressOff();this.manualTimeUpdates&&this.manualTimeUpdatesOff();n.prototype.dispose.call(this)},t.prototype.reset=function(){},t.prototype.error=function(n){return n!==undefined&&(this.error_=n instanceof l["default"]?n:new l["default"](n),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?s.createTimeRange(0,0):s.createTimeRange()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTextTrackListeners=function(){var t=o.bind(this,function(){this.trigger("texttrackchange")}),n=this.textTracks();if(n){n.addEventListener("removetrack",t);n.addEventListener("addtrack",t);this.on("dispose",o.bind(this,function(){n.removeEventListener("removetrack",t);n.removeEventListener("addtrack",t)}))}},t.prototype.emulateTextTracks=function(){var n=this,t=this.textTracks(),i,r;if(t){f["default"].WebVTT||this.el().parentNode==null||function(){var t=lt["default"].createElement("script");t.src=n.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js";t.onload=function(){n.trigger("vttjsloaded")};t.onerror=function(){n.trigger("vttjserror")};n.on("dispose",function(){t.onload=null;t.onerror=null});n.el().parentNode.appendChild(t);f["default"].WebVTT=!0}();i=function(){return n.trigger("texttrackchange")};r=function(){var n,r;for(i(),n=0;n<t.length;n++)r=t[n],r.removeEventListener("cuechange",i),r.mode==="showing"&&r.addEventListener("cuechange",i)};r();t.addEventListener("change",r);this.on("dispose",function(){t.removeEventListener("change",r)})}},t.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new h["default"],this.textTracks_},t.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new h["default"],this.remoteTextTracks_},t.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new g["default"],this.remoteTextTrackEls_},t.prototype.addTextTrack=function(n,t,i){if(!n)throw new Error("TextTrack kind is required but was not provided");return a(this,n,t,i)},t.prototype.addRemoteTextTrack=function(n){var i=tt["default"](n,{tech:this}),t=new k["default"](i);return this.remoteTextTrackEls().addTrackElement_(t),this.remoteTextTracks().addTrack_(t.track),this.textTracks().addTrack_(t.track),t},t.prototype.removeRemoteTextTrack=function(n){this.textTracks().removeTrack_(n);var t=this.remoteTextTrackEls().getTrackElementByTrack_(n);this.remoteTextTrackEls().removeTrackElement_(t);this.remoteTextTracks().removeTrack_(n)},t.prototype.setPoster=function(){},t.prototype.canPlayType=function(){return""},t.isTech=function(n){return n.prototype instanceof t||n instanceof t||n===t},t.registerTech=function(n,i){if(t.techs_||(t.techs_={}),!t.isTech(i))throw new Error("Tech "+n+" must be a Tech");return t.techs_[n]=i,i},t.getTech=function(n){return t.techs_&&t.techs_[n]?t.techs_[n]:f["default"]&&f["default"].videojs&&f["default"].videojs[n]?(c["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},t}(e["default"]);r.prototype.textTracks_;a=function(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 rt["default"](u),e.addTrack_(f),f};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||[],r=undefined,i=0;i<u.length;i++)if(r=u[i].canPlayType(t),r)return r;return""};n.selectSourceHandler=function(t){for(var r=n.sourceHandlers||[],u=undefined,i=0;i<r.length;i++)if(u=r[i].canHandleSource(t),u)return r[i];return null};n.canPlaySource=function(t){var i=n.selectSourceHandler(t);return i?i.canHandleSource(t):""};["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);i||(n.nativeSourceHandler?i=n.nativeSourceHandler:c["default"].error("No source hander found for the current source."));this.disposeSourceHandler();this.off("dispose",this.disposeSourceHandler);this.currentSource_=t;this.sourceHandler_=i.handleSource(t,this);this.on("dispose",this.disposeSourceHandler);return this};n.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&this.sourceHandler_.dispose()}};e["default"].registerComponent("Tech",r);e["default"].registerComponent("MediaTechController",r);r.registerTech("Tech",r);i["default"]=r;t.exports=i["default"]},{"../component":67,"../media-error.js":103,"../tracks/html-track-element":121,"../tracks/html-track-element-list":120,"../tracks/text-track":128,"../tracks/text-track-list":126,"../utils/buffer.js":130,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/time-ranges.js":140,"global/document":1,"global/window":2}],120:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}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,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n("../utils/browser.js"),r=f(o),s=n("global/document"),h=u(s),c=function(){function n(){var f=arguments.length<=0||arguments[0]===undefined?[]:arguments[0],t,i,u,o;if(e(this,n),t=this,r.IS_IE8){t=h["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}}),u=0,o=f.length;u<o;u++)t.addTrackElement_(f[u]);if(r.IS_IE8)return t}return n.prototype.addTrackElement_=function(n){this.trackElements_.push(n)},n.prototype.getTrackElementByTrack_=function(n){for(var i=undefined,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"]=c;t.exports=i["default"]},{"../utils/browser.js":129,"global/document":1}],121:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}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,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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)}i.__esModule=!0;var l=n("../utils/browser.js"),f=s(l),a=n("global/document"),v=u(a),y=n("../event-target"),p=u(y),w=n("../tracks/text-track"),b=u(w),e=0,o=2,r=function(n){function t(){var c=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],u,i,s,r;if(h(this,t),n.call(this),u=undefined,i=this,f.IS_IE8){i=v["default"].createElement("custom");for(s in t.prototype)s!=="constructor"&&(i[s]=t.prototype[s])}return r=new b["default"](c),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 u}}),Object.defineProperty(i,"track",{get:function(){return r}}),u=e,r.addEventListener("loadeddata",function(){u=o;i.trigger({type:"load",target:i})}),f.IS_IE8?i:void 0}return c(t,n),t}(p["default"]);r.prototype.allowedEvents_={load:"load"};r.NONE=e;r.LOADING=1;r.LOADED=o;r.ERROR=3;i["default"]=r;t.exports=i["default"]},{"../event-target":99,"../tracks/text-track":128,"../utils/browser.js":129,"global/document":1}],122:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}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,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}i.__esModule=!0;var o=n("../utils/browser.js"),r=f(o),s=n("global/document"),h=u(s),c=function(){function n(t){var i,u;if(e(this,n),i=this,r.IS_IE8){i=h["default"].createElement("custom");for(u in n.prototype)u!=="constructor"&&(i[u]=n.prototype[u])}return n.prototype.setCues_.call(i,t),Object.defineProperty(i,"length",{get:function(){return this.length_}}),r.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 r=null,i,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},n}();i["default"]=c;t.exports=i["default"]},{"../utils/browser.js":129,"global/document":1}],123:[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 f(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(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 o(n,t){return"rgba("+parseInt(n[1]+n[1],16)+","+parseInt(n[2]+n[2],16)+","+parseInt(n[3]+n[3],16)+","+t+")"}function s(n,t,i){try{n.style[t]=i}catch(r){}}i.__esModule=!0;var p=n("../component"),h=f(p),w=n("../menu/menu.js"),it=f(w),b=n("../menu/menu-item.js"),rt=f(b),k=n("../menu/menu-button.js"),ut=f(k),d=n("../utils/fn.js"),e=a(d),g=n("global/document"),ft=f(g),nt=n("global/window"),u=f(nt),r="#222",c="#ccc",tt={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'},l=function(n){function t(i,r,u){v(this,t);n.call(this,i,r,u);i.on("loadstart",e.bind(this,this.toggleDisplay));i.on("texttrackchange",e.bind(this,this.updateDisplay));i.ready(e.bind(this,function(){var t,n,r;if(i.tech_&&i.tech_.featuresNativeTextTracks){this.hide();return}i.on("fullscreenchange",e.bind(this,this.updateDisplay));for(t=this.options_.playerOptions.tracks||[],n=0;n<t.length;n++)r=t[n],this.player_.addRemoteTextTrack(r)}))}return y(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"})},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,i;if(this.clearDisplay(),t)for(n=0;n<t.length;n++)i=t[n],i.mode==="showing"&&this.updateForTrack(i)},t.prototype.updateForTrack=function(n){var t,f,e,h,l,i,a;if(typeof u["default"].WebVTT=="function"&&n.activeCues){for(t=this.player_.textTrackSettings.getValues(),f=[],e=0;e<n.activeCues.length;e++)f.push(n.activeCues[e]);for(u["default"].WebVTT.processCues(u["default"],n.activeCues,this.el_),h=f.length;h--;)(l=f[h],l)&&(i=l.displayState,t.color&&(i.firstChild.style.color=t.color),t.textOpacity&&s(i.firstChild,"color",o(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(i.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&s(i.firstChild,"backgroundColor",o(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?s(i,"backgroundColor",o(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 "+c+", 0 1px "+c+", -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=tt[t.fontFamily]))}},t}(h["default"]);h["default"].registerComponent("TextTrackDisplay",l);i["default"]=l;t.exports=i["default"]},{"../component":67,"../menu/menu-button.js":104,"../menu/menu-item.js":105,"../menu/menu.js":106,"../utils/fn.js":134,"global/document":1,"global/window":2}],124:[function(n,t,i){"use strict";i.__esModule=!0;i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"};i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"}},{}],125:[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};t.exports=i["default"]},{}],126:[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 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("../event-target"),l=f(c),a=n("../utils/fn.js"),v=u(a),y=n("../utils/browser.js"),e=u(y),p=n("global/document"),w=f(p),r=function(n){function t(){var f=arguments.length<=0||arguments[0]===undefined?[]:arguments[0],i,r,u;if(s(this,t),n.call(this),i=this,e.IS_IE8){i=w["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<f.length;u++)i.addTrack_(f[u]);if(e.IS_IE8)return i}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]}});n.addEventListener("modechange",v.bind(this,function(){this.trigger("change")}));this.tracks_.indexOf(n)===-1&&(this.tracks_.push(n),this.trigger({track:n,type:"addtrack"}))},t.prototype.removeTrack_=function(n){for(var i=undefined,t=0,r=this.length;t<r;t++)if(this[t]===n){i=this[t];i.off&&i.off();this.tracks_.splice(t,1);break}i&&this.trigger({track:i,type:"removetrack"})},t.prototype.getTrackById=function(n){for(var r=null,i,t=0,u=this.length;t<u;t++)if(i=this[t],i.id===n){r=i;break}return r},t}(l["default"]);r.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"};for(o in r.prototype.allowedEvents_)r.prototype["on"+o]=null;i["default"]=r;t.exports=i["default"]},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"global/document":1}],127:[function(n,t,i){"use strict";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 o(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(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 f(n){var t=undefined;return n.selectedOptions?t=n.selectedOptions[0]:n.options&&(t=n.options[n.options.selectedIndex]),t.value}function e(n,t){var i,r;if(t){for(i=undefined,i=0;i<n.options.length;i++)if(r=n.options[i],r.value===t)break;n.selectedIndex=i}}function tt(){return'<div class="vjs-tracksettings">\n      <div class="vjs-tracksettings-colors">\n        <div class="vjs-fg-color vjs-tracksetting">\n            <label class="vjs-label">Foreground<\/label>\n            <select>\n              <option value="">---<\/option>\n              <option value="#FFF">White<\/option>\n              <option value="#000">Black<\/option>\n              <option value="#F00">Red<\/option>\n              <option value="#0F0">Green<\/option>\n              <option value="#00F">Blue<\/option>\n              <option value="#FF0">Yellow<\/option>\n              <option value="#F0F">Magenta<\/option>\n              <option value="#0FF">Cyan<\/option>\n            <\/select>\n            <span class="vjs-text-opacity vjs-opacity">\n              <select>\n                <option value="">---<\/option>\n                <option value="1">Opaque<\/option>\n                <option value="0.5">Semi-Opaque<\/option>\n              <\/select>\n            <\/span>\n        <\/div> <!-- vjs-fg-color -->\n        <div class="vjs-bg-color vjs-tracksetting">\n            <label class="vjs-label">Background<\/label>\n            <select>\n              <option value="">---<\/option>\n              <option value="#FFF">White<\/option>\n              <option value="#000">Black<\/option>\n              <option value="#F00">Red<\/option>\n              <option value="#0F0">Green<\/option>\n              <option value="#00F">Blue<\/option>\n              <option value="#FF0">Yellow<\/option>\n              <option value="#F0F">Magenta<\/option>\n              <option value="#0FF">Cyan<\/option>\n            <\/select>\n            <span class="vjs-bg-opacity vjs-opacity">\n                <select>\n                  <option value="">---<\/option>\n                  <option value="1">Opaque<\/option>\n                  <option value="0.5">Semi-Transparent<\/option>\n                  <option value="0">Transparent<\/option>\n                <\/select>\n            <\/span>\n        <\/div> <!-- vjs-bg-color -->\n        <div class="window-color vjs-tracksetting">\n            <label class="vjs-label">Window<\/label>\n            <select>\n              <option value="">---<\/option>\n              <option value="#FFF">White<\/option>\n              <option value="#000">Black<\/option>\n              <option value="#F00">Red<\/option>\n              <option value="#0F0">Green<\/option>\n              <option value="#00F">Blue<\/option>\n              <option value="#FF0">Yellow<\/option>\n              <option value="#F0F">Magenta<\/option>\n              <option value="#0FF">Cyan<\/option>\n            <\/select>\n            <span class="vjs-window-opacity vjs-opacity">\n                <select>\n                  <option value="">---<\/option>\n                  <option value="1">Opaque<\/option>\n                  <option value="0.5">Semi-Transparent<\/option>\n                  <option value="0">Transparent<\/option>\n                <\/select>\n            <\/span>\n        <\/div> <!-- vjs-window-color -->\n      <\/div> <!-- vjs-tracksettings -->\n      <div class="vjs-tracksettings-font">\n        <div class="vjs-font-percent vjs-tracksetting">\n          <label class="vjs-label">Font Size<\/label>\n          <select>\n            <option value="0.50">50%<\/option>\n            <option value="0.75">75%<\/option>\n            <option value="1.00" selected>100%<\/option>\n            <option value="1.25">125%<\/option>\n            <option value="1.50">150%<\/option>\n            <option value="1.75">175%<\/option>\n            <option value="2.00">200%<\/option>\n            <option value="3.00">300%<\/option>\n            <option value="4.00">400%<\/option>\n          <\/select>\n        <\/div> <!-- vjs-font-percent -->\n        <div class="vjs-edge-style vjs-tracksetting">\n          <label class="vjs-label">Text Edge Style<\/label>\n          <select>\n            <option value="none">None<\/option>\n            <option value="raised">Raised<\/option>\n            <option value="depressed">Depressed<\/option>\n            <option value="uniform">Uniform<\/option>\n            <option value="dropshadow">Dropshadow<\/option>\n          <\/select>\n        <\/div> <!-- vjs-edge-style -->\n        <div class="vjs-font-family vjs-tracksetting">\n          <label class="vjs-label">Font Family<\/label>\n          <select>\n            <option value="">Default<\/option>\n            <option value="monospaceSerif">Monospace Serif<\/option>\n            <option value="proportionalSerif">Proportional Serif<\/option>\n            <option value="monospaceSansSerif">Monospace Sans-Serif<\/option>\n            <option value="proportionalSansSerif">Proportional Sans-Serif<\/option>\n            <option value="casual">Casual<\/option>\n            <option value="script">Script<\/option>\n            <option value="small-caps">Small Caps<\/option>\n          <\/select>\n        <\/div> <!-- vjs-font-family -->\n      <\/div>\n    <\/div>\n    <div class="vjs-tracksettings-controls">\n      <button class="vjs-default-button">Defaults<\/button>\n      <button class="vjs-done-button">Done<\/button>\n    <\/div>'}i.__esModule=!0;var p=n("../component"),l=o(p),w=n("../utils/events.js"),r=c(w),b=n("../utils/fn.js"),u=c(b),k=n("../utils/log.js"),h=o(k),d=n("safe-json-parse/tuple"),g=o(d),nt=n("global/window"),s=o(nt),a=function(n){function t(i,f){v(this,t);n.call(this,i,f);this.hide();f.persistTextTrackSettings===undefined&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings);r.on(this.$(".vjs-done-button"),"click",u.bind(this,function(){this.saveSettings();this.hide()}));r.on(this.$(".vjs-default-button"),"click",u.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0;this.$(".vjs-bg-color > select").selectedIndex=0;this.$(".window-color > select").selectedIndex=0;this.$(".vjs-text-opacity > select").selectedIndex=0;this.$(".vjs-bg-opacity > select").selectedIndex=0;this.$(".vjs-window-opacity > select").selectedIndex=0;this.$(".vjs-edge-style select").selectedIndex=0;this.$(".vjs-font-family select").selectedIndex=0;this.$(".vjs-font-percent select").selectedIndex=2;this.updateDisplay()}));r.on(this.$(".vjs-fg-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-bg-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".window-color > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-text-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-bg-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-window-opacity > select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-font-percent select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-edge-style select"),"change",u.bind(this,this.updateDisplay));r.on(this.$(".vjs-font-family select"),"change",u.bind(this,this.updateDisplay));this.options_.persistTextTrackSettings&&this.restoreSettings()}return y(t,n),t.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:tt()})},t.prototype.getValues=function(){var i=f(this.$(".vjs-edge-style select")),r=f(this.$(".vjs-font-family select")),u=f(this.$(".vjs-fg-color > select")),e=f(this.$(".vjs-text-opacity > select")),o=f(this.$(".vjs-bg-color > select")),h=f(this.$(".vjs-bg-opacity > select")),c=f(this.$(".window-color > select")),l=f(this.$(".vjs-window-opacity > select")),a=s["default"].parseFloat(f(this.$(".vjs-font-percent > select"))),n={backgroundOpacity:h,textOpacity:e,windowOpacity:l,edgeStyle:i,fontFamily:r,color:u,backgroundColor:o,windowColor:c,fontPercent:a},t;for(t in n)(n[t]===""||n[t]==="none"||t==="fontPercent"&&n[t]===1)&&delete n[t];return n},t.prototype.setValues=function(n){e(this.$(".vjs-edge-style select"),n.edgeStyle);e(this.$(".vjs-font-family select"),n.fontFamily);e(this.$(".vjs-fg-color > select"),n.color);e(this.$(".vjs-text-opacity > select"),n.textOpacity);e(this.$(".vjs-bg-color > select"),n.backgroundColor);e(this.$(".vjs-bg-opacity > select"),n.backgroundOpacity);e(this.$(".window-color > select"),n.windowColor);e(this.$(".vjs-window-opacity > select"),n.windowOpacity);var t=n.fontPercent;t&&(t=t.toFixed(2));e(this.$(".vjs-font-percent > select"),t)},t.prototype.restoreSettings=function(){var n=undefined,t=undefined,i;try{i=g["default"](s["default"].localStorage.getItem("vjs-text-track-settings"));n=i[0];t=i[1];n&&h["default"].error(n)}catch(r){h["default"].warn(r)}t&&this.setValues(t)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var n=this.getValues();try{Object.getOwnPropertyNames(n).length>0?s["default"].localStorage.setItem("vjs-text-track-settings",JSON.stringify(n)):s["default"].localStorage.removeItem("vjs-text-track-settings")}catch(t){h["default"].warn(t)}}},t.prototype.updateDisplay=function(){var n=this.player_.getChild("textTrackDisplay");n&&n.updateDisplay()},t}(l["default"]);l["default"].registerComponent("TextTrackSettings",a);i["default"]=a;t.exports=i["default"]},{"../component":67,"../utils/events.js":133,"../utils/fn.js":134,"../utils/log.js":137,"global/window":2,"safe-json-parse/tuple":54}],128:[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 v(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}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("./text-track-cue-list"),s=r(p),w=n("../utils/fn.js"),h=f(w),b=n("../utils/guid.js"),k=f(b),d=n("../utils/browser.js"),c=f(d),g=n("./text-track-enums"),e=f(g),nt=n("../utils/log.js"),o=r(nt),tt=n("../event-target"),it=r(tt),rt=n("global/document"),ut=r(rt),ft=n("global/window"),u=r(ft),et=n("../utils/url.js"),ot=n("xhr"),st=r(ot),l=function(n,t){var i=new u["default"].WebVTT.Parser(u["default"],u["default"].vttjs,u["default"].WebVTT.StringDecoder());i.oncue=function(n){t.addCue(n)};i.onparsingerror=function(n){o["default"].error(n)};i.onflush=function(){t.trigger({type:"loadeddata",target:t})};i.parse(n);i.flush()},ht=function(n,t){var i={uri:n},r=et.isCrossOrigin(n);r&&(i.cors=r);st["default"](i,h.bind(this,function(n,i,r){if(n)return o["default"].error(n,i);t.loaded_=!0;typeof u["default"].WebVTT!="function"?t.tech_&&function(){var n=function(){return l(r,t)};t.tech_.on("vttjsloaded",n);t.tech_.on("vttjserror",function(){o["default"].error("vttjs failed to load, stopping trying to process "+t.src);t.tech_.off("vttjsloaded",n)})}():l(r,t)}))},a=function(n){function t(){var r=arguments.length<=0||arguments[0]===undefined?{}:arguments[0],i,o;if(v(this,t),n.call(this),!r.tech)throw new Error("A tech was not provided.");if(i=this,c.IS_IE8){i=ut["default"].createElement("custom");for(o in t.prototype)o!=="constructor"&&(i[o]=t.prototype[o])}i.tech_=r.tech;var u=e.TextTrackMode[r.mode]||"disabled",l=e.TextTrackKind[r.kind]||"subtitles",p=r.label||"",w=r.language||r.srclang||"",b=r.id||"vjs_text_track_"+k.newGUID();(l==="metadata"||l==="chapters")&&(u="hidden");i.cues_=[];i.activeCues_=[];var d=new s["default"](i.cues_),a=new s["default"](i.activeCues_),f=!1,y=h.bind(i,function(){this.activeCues;f&&(this.trigger("cuechange"),f=!1)});if(u!=="disabled")i.tech_.on("timeupdate",y);return Object.defineProperty(i,"kind",{get:function(){return l},set:function(){}}),Object.defineProperty(i,"label",{get:function(){return p},set:function(){}}),Object.defineProperty(i,"language",{get:function(){return w},set:function(){}}),Object.defineProperty(i,"id",{get:function(){return b},set:function(){}}),Object.defineProperty(i,"mode",{get:function(){return u},set:function(n){if(e.TextTrackMode[n]){if(u=n,u==="showing")this.tech_.on("timeupdate",y);this.trigger("modechange")}}}),Object.defineProperty(i,"cues",{get:function(){return this.loaded_?d:null},set:function(){}}),Object.defineProperty(i,"activeCues",{get:function(){var r,i,u,t,n;if(!this.loaded_)return null;if(this.cues.length===0)return a;for(r=this.tech_.currentTime(),i=[],n=0,u=this.cues.length;n<u;n++)t=this.cues[n],t.startTime<=r&&t.endTime>=r?i.push(t):t.startTime===t.endTime&&t.startTime<=r&&t.startTime+.5>=r&&i.push(t);if(f=!1,i.length!==this.activeCues_.length)f=!0;else for(n=0;n<i.length;n++)this.activeCues_.indexOf(i[n])===-1&&(f=!0);return this.activeCues_=i,a.setCues_(this.activeCues_),a},set:function(){}}),r.src?(i.src=r.src,ht(r.src,i)):i.loaded_=!0,c.IS_IE8?i:void 0}return y(t,n),t.prototype.addCue=function(n){var i=this.tech_.textTracks(),t;if(i)for(t=0;t<i.length;t++)i[t]!==this&&i[t].removeCue(n);this.cues_.push(n);this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(n){for(var i=!1,u,t=0,r=this.cues_.length;t<r;t++)u=this.cues_[t],u===n&&(this.cues_.splice(t,1),i=!0);i&&this.cues.setCues_(this.cues_)},t}(it["default"]);a.prototype.allowedEvents_={cuechange:"cuechange"};i["default"]=a;t.exports=i["default"]},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"../utils/guid.js":136,"../utils/log.js":137,"../utils/url.js":142,"./text-track-cue-list":122,"./text-track-enums":124,"global/document":1,"global/window":2,xhr:56}],129:[function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}var s,h,v,y,f,e,p,w,b,k,d,g,nt;i.__esModule=!0;var tt=n("global/document"),l=c(tt),it=n("global/window"),u=c(it),r=u["default"].navigator.userAgent,a=/AppleWebKit\/([\d.]+)/i.exec(r),rt=a?parseFloat(a.pop()):null,o=/iPad/i.test(r);i.IS_IPAD=o;s=/iPhone/i.test(r)&&!o;i.IS_IPHONE=s;h=/iPod/i.test(r);i.IS_IPOD=h;v=s||o||h;i.IS_IOS=v;y=function(){var n=r.match(/OS (\d+)_/i);if(n&&n[1])return n[1]}();i.IOS_VERSION=y;f=/Android/i.test(r);i.IS_ANDROID=f;e=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}();i.ANDROID_VERSION=e;p=f&&/webkit/i.test(r)&&e<2.3;i.IS_OLD_ANDROID=p;w=f&&e<5&&rt<537;i.IS_NATIVE_ANDROID=w;b=/Firefox/i.test(r);i.IS_FIREFOX=b;k=/Chrome/i.test(r);i.IS_CHROME=k;d=/MSIE\s8\.0/.test(r);i.IS_IE8=d;g=!!("ontouchstart"in u["default"]||u["default"].DocumentTouch&&l["default"]instanceof u["default"].DocumentTouch);i.TOUCH_ENABLED=g;nt="backgroundSize"in l["default"].createElement("video").style;i.BACKGROUND_SIZE_SUPPORTED=nt},{"global/document":1,"global/window":2}],130:[function(n,t,i){"use strict";function u(n,t){var f=0,e,u,i;if(!t)return 0;for(n&&n.length||(n=r.createTimeRange(0,0)),i=0;i<n.length;i++)e=n.start(i),u=n.end(i),u>t&&(u=t),f+=u-e;return f/t}i.__esModule=!0;i.bufferedPercent=u;var r=n("./time-ranges.js")},{"./time-ranges.js":140}],131:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}i.__esModule=!0;var f=n("./log.js"),e=u(f),r={get:function(n,t){return n[t]},set:function(n,t,i){return n[t]=i,!0}};i["default"]=function(n){var i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],t;return typeof Proxy=="function"&&(t=function(){var t={};return Object.keys(i).forEach(function(n){r.hasOwnProperty(n)&&(t[n]=function(){return e["default"].warn(i[n]),r[n].apply(this,arguments)})}),{v:new Proxy(n,t)}}(),typeof t=="object")?t.v:n};t.exports=i["default"]},{"./log.js":137}],132:[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 at(n){return new RegExp("(^|\\s)"+n+"($|\\s)")}function v(n){return function(t,i){return l(t)?(l(i)&&(i=r["default"].querySelector(i)),(s(i)?i:r["default"])[n](t)):r["default"][n](null)}}function vt(n){return n.indexOf("#")===0&&(n=n.slice(1)),r["default"].getElementById(n)}function yt(){var u=arguments.length<=0||arguments[0]===undefined?"div":arguments[0],i=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],t=arguments.length<=2||arguments[2]===undefined?{}:arguments[2],n=r["default"].createElement(u);return Object.getOwnPropertyNames(i).forEach(function(t){var r=i[t];t.indexOf("aria-")!==-1||t==="role"||t==="type"?(ht["default"].warn(lt["default"](h,t,r)),n.setAttribute(t,r)):n[t]=r}),Object.getOwnPropertyNames(t).forEach(function(i){var r=t[i];n.setAttribute(i,t[i])}),n}function pt(n,t){typeof n.textContent=="undefined"?n.innerText=t:n.textContent=t}function wt(n,t){t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}function bt(n){var t=n[u];return t||(t=n[u]=ot.newGUID()),f[t]||(f[t]={}),f[t]}function kt(n){var t=n[u];return t?!!Object.getOwnPropertyNames(f[t]).length:!1}function dt(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 o(n,t){return n.classList?n.classList.contains(t):(a(t),at(t).test(n.className))}function y(n,t){return n.classList?n.classList.add(t):o(n,t)||(n.className=(n.className+" "+t).trim()),n}function p(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 gt(n,t,i){var r=o(n,t);if(typeof i=="function"&&(i=i(n,t)),typeof i!="boolean"&&(i=!r),i!==r)return i?y(n,t):p(n,t),n}function ni(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 ti(n){var f,e,i,r,u,t;if(f={},e=",autoplay,controls,loop,muted,default,",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"||e.indexOf(","+r+",")!==-1)&&(u=u!==null?!0:!1),f[r]=u;return f}function ii(){r["default"].body.focus();r["default"].onselectstart=function(){return!1}}function ri(){r["default"].onselectstart=function(){return!0}}function w(n){var t=undefined;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 ui(n,t){var i={},r=w(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 s(n){return!!n&&typeof n=="object"&&n.nodeType===1}function b(n){return!!n&&typeof n=="object"&&n.nodeType===3}function k(n){while(n.firstChild)n.removeChild(n.firstChild);return n}function d(n){return typeof n=="function"&&(n=n()),(Array.isArray(n)?n:[n]).map(function(n){return(typeof n=="function"&&(n=n()),s(n)||b(n))?n:typeof n=="string"&&/\S/.test(n)?r["default"].createTextNode(n):void 0}).filter(function(n){return n})}function g(n,t){return d(t).forEach(function(t){return n.appendChild(t)}),n}function fi(n,t){return g(k(n),t)}var h,f,u,nt,tt;i.__esModule=!0;i.getEl=vt;i.createEl=yt;i.textContent=pt;i.insertElFirst=wt;i.getElData=bt;i.hasElData=kt;i.removeElData=dt;i.hasElClass=o;i.addElClass=y;i.removeElClass=p;i.toggleElClass=gt;i.setElAttributes=ni;i.getElAttributes=ti;i.blockTextSelection=ii;i.unblockTextSelection=ri;i.findElPosition=w;i.getPointerPosition=ui;i.isEl=s;i.isTextNode=b;i.emptyEl=k;i.normalizeContent=d;i.appendContent=g;i.insertContent=fi;h=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 ","."]);var ut=n("global/document"),r=e(ut),ft=n("global/window"),c=e(ft),et=n("./guid.js"),ot=it(et),st=n("./log.js"),ht=e(st),ct=n("tsml"),lt=e(ct);f={};u="vdata"+(new Date).getTime();nt=v("querySelector");i.$=nt;tt=v("querySelectorAll");i.$$=tt},{"./guid.js":136,"./log.js":137,"global/document":1,"global/window":2,tsml:55}],133:[function(n,t,i){"use strict";function h(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 f(n,t,i){if(Array.isArray(t))return s(f,n,t,i);var u=r.getElData(n);u.handlers||(u.handlers={});u.handlers[t]||(u.handlers[t]=[]);i.guid||(i.guid=l.newGUID());u.handlers[t].push(i);u.dispatcher||(u.disabled=!1,u.dispatcher=function(t,i){var f,e,r,s;if(!u.disabled&&(t=o(t),f=u.handlers[t.type],f))for(e=f.slice(0),r=0,s=e.length;r<s;r++)if(t.isImmediatePropagationStopped())break;else e[r].call(n,t,i)});u.handlers[t].length===1&&(n.addEventListener?n.addEventListener(t,u.dispatcher,!1):n.attachEvent&&n.attachEvent("on"+t,u.dispatcher))}function e(n,t,i){var u,h,c,f,o;if(r.hasElData(n)&&(u=r.getElData(n),u.handlers)){if(Array.isArray(t))return s(e,n,t,i);if(h=function(t){u.handlers[t]=[];y(n,t)},!t){for(c in u.handlers)h(c);return}if(f=u.handlers[t],f){if(!i){h(t);return}if(i.guid)for(o=0;o<f.length;o++)f[o].guid===i.guid&&f.splice(o--,1);y(n,t)}}}function a(n,t,i){var e=r.hasElData(n)?r.getElData(n):{},u=n.parentNode||n.ownerDocument,f;return typeof t=="string"&&(t={type:t,target:n}),t=o(t),e.dispatcher&&e.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 s(v,n,t,i);var r=function r(){e(n,t,r);i.apply(this,arguments)};r.guid=i.guid=i.guid||l.newGUID();f(n,t,r)}function o(n){function e(){return!0}function o(){return!1}var t,i,r,f;if(!n||!n.isPropagationStopped){t=n||k["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||u["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=e};n.isPropagationStopped=o;n.stopImmediatePropagation=function(){t.stopImmediatePropagation&&t.stopImmediatePropagation();n.isImmediatePropagationStopped=e;n.stopPropagation()};n.isImmediatePropagationStopped=o;n.clientX!=null&&(r=u["default"].documentElement,f=u["default"].body,n.pageX=n.clientX+(r&&r.scrollLeft||f&&f.scrollLeft||0)-(r&&r.clientLeft||f&&f.clientLeft||0),n.pageY=n.clientY+(r&&r.scrollTop||f&&f.scrollTop||0)-(r&&r.clientTop||f&&f.clientTop||0));n.which=n.charCode||n.keyCode;n.button!=null&&(n.button=n.button&1?0:n.button&4?1:n.button&2?2:0)}return n}function y(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 s(n,t,i,r){i.forEach(function(i){n(t,i,r)})}i.__esModule=!0;i.on=f;i.off=e;i.trigger=a;i.one=v;i.fixEvent=o;var p=n("./dom.js"),r=c(p),w=n("./guid.js"),l=c(w),b=n("global/window"),k=h(b),d=n("global/document"),u=h(d)},{"./dom.js":132,"./guid.js":136,"global/document":1,"global/window":2}],134:[function(n,t,i){"use strict";i.__esModule=!0;var r=n("./guid.js"),u=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};i.bind=u},{"./guid.js":136}],135:[function(n,t,i){"use strict";function r(n){var t=arguments.length<=1||arguments[1]===undefined?n:arguments[1];return function(){n=n<0?0:n;var i=Math.floor(n%60),r=Math.floor(n/60%60),u=Math.floor(n/3600),f=Math.floor(t/60%60),e=Math.floor(t/3600);return(isNaN(n)||n===Infinity)&&(u=r=i="-"),u=u>0||e>0?u+":":"",r=((u||f>=10)&&r<10?"0"+r:r)+":",i=i<10?"0"+i:i,u+r+i}()}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],136:[function(n,t,i){"use strict";function u(){return r++}i.__esModule=!0;i.newGUID=u;var r=1},{}],137:[function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){var i=Array.prototype.slice.call(t),f=function(){},u=o["default"].console||{log:f,warn:f,error:f};n?i.unshift(n.toUpperCase()+":"):n="log";r.history.push(i);i.unshift("VIDEOJS:");u[n].apply?u[n].apply(u,i):u[n](i.join(" "))}i.__esModule=!0;var e=n("global/window"),o=f(e),r=function(){u(null,arguments)};r.history=[];r.error=function(){u("error",arguments)};r.warn=function(){u("warn",arguments)};i["default"]=r;t.exports=i["default"]},{"global/window":2}],138:[function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function f(n){return!!n&&typeof n=="object"&&n.toString()==="[object Object]"&&n.constructor===Object}function o(){var n=Array.prototype.slice.call(arguments);return n.unshift({}),n.push(e),u["default"].apply(null,n),n[0]}var r,u,e;i.__esModule=!0;i["default"]=o;r=n("lodash-compat/object/merge");u=s(r);e=function(n,t){return f(t)?f(n)?void 0:o(t):t};t.exports=i["default"]},{"lodash-compat/object/merge":40}],139:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}var r;i.__esModule=!0;var f=n("global/document"),e=u(f),o=function(n){var t=e["default"].createElement("style");return t.className=n,t};i.createStyleElement=o;r=function(n,t){n.styleSheet?n.styleSheet.cssText=t:n.textContent=t};i.setTextContent=r},{"global/document":1}],140:[function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){return Array.isArray(n)?r(n):n===undefined||t===undefined?r():r([[n,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:f.bind(null,"start",0,n),end:f.bind(null,"end",1,n)}}function f(n,t,i,r){return r===undefined&&(s["default"].warn("DEPRECATED: Function '"+n+"' on 'TimeRanges' called without an index argument."),r=0),h(n,r,i.length-1),i[r][t]}function h(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+").");}i.__esModule=!0;i.createTimeRanges=u;var o=n("./log.js"),s=e(o);i.createTimeRange=u},{"./log.js":137}],141:[function(n,t,i){"use strict";function r(n){return n.charAt(0).toUpperCase()+n.slice(1)}i.__esModule=!0;i["default"]=r;t.exports=i["default"]},{}],142:[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}var e,o,s;i.__esModule=!0;var h=n("global/document"),r=u(h),c=n("global/window"),l=u(c),f=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=undefined,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};i.parseUrl=f;e=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};i.getAbsoluteURL=e;o=function(n){if(typeof n=="string"){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(n);if(t)return t.pop().toLowerCase()}return""};i.getFileExtension=o;s=function(n){var t=l["default"].location,i=f(n),r=i.protocol===":"?t.protocol:i.protocol;return r+i.host!==t.protocol+t.host};i.isCrossOrigin=s},{"global/document":1,"global/window":2}],143:[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 f(n){return n&&n.__esModule?n:{"default":n}}var u,h,p;r.__esModule=!0;var d=t("global/document"),l=f(d),g=t("./setup"),nt=o(g),tt=t("./utils/stylesheet.js"),w=o(tt),it=t("./component"),a=f(it),rt=t("./event-target"),ut=f(rt),ft=t("./utils/events.js"),c=o(ft),et=t("./player"),s=f(et),ot=t("./plugins.js"),st=f(ot),ht=t("../../src/js/utils/merge-options.js"),ct=f(ht),lt=t("./utils/fn.js"),at=o(lt),vt=t("./tracks/text-track.js"),yt=f(vt),pt=t("object.assign"),vi=f(pt),wt=t("./utils/time-ranges.js"),bt=t("./utils/format-time.js"),kt=f(bt),dt=t("./utils/log.js"),v=f(dt),gt=t("./utils/dom.js"),e=o(gt),ni=t("./utils/browser.js"),b=o(ni),ti=t("./utils/url.js"),k=o(ti),ii=t("./extend.js"),ri=f(ii),ui=t("lodash-compat/object/merge"),fi=f(ui),ei=t("./utils/create-deprecation-proxy.js"),oi=f(ei),si=t("xhr"),hi=f(si),ci=t("./tech/tech.js"),y=f(ci),li=t("./tech/html5.js"),yi=f(li),ai=t("./tech/flash.js"),pi=f(ai);typeof HTMLVideoElement=="undefined"&&(l["default"].createElement("video"),l["default"].createElement("audio"),l["default"].createElement("track"));u=function u(n,t,i){var r=undefined;if(typeof n=="string"){if(n.indexOf("#")===0&&(n=n.slice(1)),u.getPlayers()[n])return t&&v["default"].warn('Player "'+n+'" is already initialised. Options will not be applied.'),i&&u.getPlayers()[n].ready(i),u.getPlayers()[n];r=e.getEl(n)}else r=n;if(!r||!r.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return r.player||s["default"].players[r.playerId]||new s["default"](r,t,i)};h=e.$(".vjs-styles-defaults");h||(h=w.createStyleElement("vjs-styles-defaults"),p=e.$("head"),p.insertBefore(h,p.firstChild),w.setTextContent(h,"\n    .video-js {\n      width: 300px;\n      height: 150px;\n    }\n\n    .vjs-fluid {\n      padding-top: 56.25%\n    }\n  "));nt.autoSetupTimeout(1,u);u.VERSION="5.8.8";u.options=s["default"].prototype.options_;u.getPlayers=function(){return s["default"].players};u.players=oi["default"](s["default"].players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"});u.getComponent=a["default"].getComponent;u.registerComponent=function(n,t){y["default"].isTech(t)&&v["default"].warn("The "+n+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)");a["default"].registerComponent.call(a["default"],n,t)};u.getTech=y["default"].getTech;u.registerTech=y["default"].registerTech;u.browser=b;u.TOUCH_ENABLED=b.TOUCH_ENABLED;u.extend=ri["default"];u.mergeOptions=ct["default"];u.bind=at.bind;u.plugin=st["default"];u.addLanguage=function(n,t){var i;return n=(""+n).toLowerCase(),fi["default"](u.options.languages,(i={},i[n]=t,i))[n]};u.log=v["default"];u.createTimeRange=u.createTimeRanges=wt.createTimeRanges;u.formatTime=kt["default"];u.parseUrl=k.parseUrl;u.isCrossOrigin=k.isCrossOrigin;u.EventTarget=ut["default"];u.on=c.on;u.one=c.one;u.off=c.off;u.trigger=c.trigger;u.xhr=hi["default"];u.TextTrack=yt["default"];u.isEl=e.isEl;u.isTextNode=e.isTextNode;u.createEl=e.createEl;u.hasClass=e.hasElClass;u.addClass=e.addElClass;u.removeClass=e.removeElClass;u.toggleClass=e.toggleElClass;u.setAttributes=e.setElAttributes;u.getAttributes=e.getElAttributes;u.emptyEl=e.emptyEl;u.appendContent=e.appendContent;u.insertContent=e.insertContent;typeof n=="function"&&n.amd?n("videojs",[],function(){return u}):typeof r=="object"&&typeof i=="object"&&(i.exports=u);r["default"]=u;i.exports=r["default"]},{"../../src/js/utils/merge-options.js":138,"./component":67,"./event-target":99,"./extend.js":100,"./player":108,"./plugins.js":109,"./setup":113,"./tech/flash.js":116,"./tech/html5.js":117,"./tech/tech.js":119,"./tracks/text-track.js":128,"./utils/browser.js":129,"./utils/create-deprecation-proxy.js":131,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/format-time.js":135,"./utils/log.js":137,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/url.js":142,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,xhr:56}]},{},[143])(143)}),function(n){var t=n.vttjs={},i=t.VTTCue,r=t.VTTRegion,u=n.VTTCue,f=n.VTTRegion;t.shim=function(){t.VTTCue=i;t.VTTRegion=r};t.restore=function(){t.VTTCue=u;t.VTTRegion=f}}(this),function(n,t){function s(n){if(typeof n!="string")return!1;var t=e[n.toLowerCase()];return t?n.toLowerCase():!1}function r(n){if(typeof n!="string")return!1;var t=o[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 e=this,h=/MSIE\s8\.0/.test(navigator.userAgent),o={};h?e=document.createElement("custom"):o.enumerable=!0;e.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(e,"id",i({},o,{get:function(){return c},set:function(n){c=""+n}})),Object.defineProperty(e,"pauseOnExit",i({},o,{get:function(){return l},set:function(n){l=!!n}})),Object.defineProperty(e,"startTime",i({},o,{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(e,"endTime",i({},o,{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(e,"text",i({},o,{get:function(){return y},set:function(n){y=""+n;this.hasBeenReset=!0}})),Object.defineProperty(e,"region",i({},o,{get:function(){return p},set:function(n){p=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"vertical",i({},o,{get:function(){return w},set:function(n){var t=s(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");w=t;this.hasBeenReset=!0}})),Object.defineProperty(e,"snapToLines",i({},o,{get:function(){return b},set:function(n){b=!!n;this.hasBeenReset=!0}})),Object.defineProperty(e,"line",i({},o,{get:function(){return k},set:function(n){if(typeof n!="number"&&n!==f)throw new SyntaxError("An invalid number or illegal string was specified.");k=n;this.hasBeenReset=!0}})),Object.defineProperty(e,"lineAlign",i({},o,{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(e,"position",i({},o,{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(e,"positionAlign",i({},o,{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(e,"size",i({},o,{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(e,"align",i({},o,{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}})),e.displayState=undefined,h?e:void 0}var f="auto",e={"":!0,lr:!0,rl:!0},o={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||{}),function(n,t){function f(n){if(typeof n!="string")return!1;var t=u[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,u=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 u},set:function(n){if(!i(n))throw new Error("RegionAnchorX must be between 0 and 100.");u=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=f(n);if(t===!1)throw new SyntaxError("An invalid or illegal string was specified.");s=t}}})}var u={"":!0,up:!0};n.VTTRegion=n.VTTRegion||r;t.VTTRegion=r}(this,this.vttjs||{}),function(n){function i(n,t){this.name="ParsingError";this.code=n.code;this.message=t||n.message}function c(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=o(null)}function s(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=c(n);if(t===null)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+e);return n=n.replace(/^[^\sa-zA-Z-]+/,""),t}function h(n,t){var i=new u;s(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 f(){n=n.replace(/^\s+/,"")}var e=n;if(f(),t.startTime=o(),f(),n.substr(0,3)!=="-->")throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+e);n=n.substr(3);f();t.endTime=o();f();h(n,t)}function a(n,t){function h(){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 a(n){return y[n]}function v(n){while(i=n.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))n=n.replace(i[0],a);return n}function b(n,t){return!l[t.localName]||l[t.localName]===n.localName}function k(t,i){var u=p[t],r,f;return u?(r=n.document.createElement(u),r.localName=u,f=w[t],f&&i&&(r[f]=i.trim()),r):null}for(var s=n.document.createElement("div"),f=s,r,e=[],o,u,i;(r=h())!==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=c(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=k(i[1],i[3]),!u)continue;if(!b(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 s}function b(n){function o(n,t){for(var i=t.childNodes.length-1;i>=0;i--)n.push(t.childNodes[i])}function u(n){var t,i,r;return!n||!n.length?null:(t=n.pop(),i=t.textContent||t.innerText,i)?(r=i.match(/^.*(\n|\r)/),r)?(n.length=0,r[0]):i:t.tagName==="ruby"?u(n):t.childNodes?(o(n,t),u(n)):void 0}var f=[],r="",e,t,i;if(!n||!n.childNodes)return"ltr";for(o(f,n);r=u(f);)for(t=0;t<r.length;t++)for(e=r.charCodeAt(t),i=0;i<h.length;i++)if(h[i]===e)return"rtl";return"ltr"}function k(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 f(){}function e(n,t,i){var e=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",s="rgba(0, 0, 0, 0.8)",r,u;e&&(o="rgb(255, 255, 255)",s="rgb(0, 0, 0)");f.call(this);this.cue=t;this.cueDiv=a(n,t.text);r={color:o,backgroundColor:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};e||(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"};e||(r.direction=b(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 d(n,i,r,u){function p(n,i){for(var o,s=new t(n),h=1,e,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=k(o),f=[],c,a,y;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),v=r[c]+l,w=f[0];Math.abs(h)>v&&(h=(h<0?-1:1)*Math.ceil(v/l)*l);e<0&&(h+=o.vertical===""?r.height:r.width,f=f.reverse());s.move(w,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)}y=p(s,f);i.move(y.toCSSCompatValues(r))}function r(){}var o=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}}(),h;i.prototype=o(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 y={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},p={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},w={v:"title",lang:"lang"},l={rt:"ruby"};h=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];f.prototype.applyStyles=function(n,t){t=t||this.div;for(var i in n)n.hasOwnProperty(i)&&(t.style[i]=n[i])};f.prototype.formatStyle=function(n,t){return n===0?0:n+t};e.prototype=o(f.prototype);e.prototype.constructor=e;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:a(n,t)};var g=.05,nt="sans-serif",tt="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=tt,r.appendChild(u),!h(i)){for(f=0;f<i.length;f++)u.appendChild(i[f].displayState);return}var o=[],s=t.getSimpleBoxPosition(u),c=Math.round(s.height*g*100)/100,l={font:c+"px "+nt};(function(){for(var r,h,f=0;f<i.length;f++)h=i[f],r=new e(n,h,l),u.appendChild(r.div),d(n,r,s,o),h.displayState=r.div,o.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 o(){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 l(n){var i=new u,r;s(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 a(n){s(n,function(n,t){switch(n){case"Region":l(t)}},/:/)}var t=this,r,e,f,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=o(),e=r.match(/^WEBVTT([ \t].*)?$/),!e||!e[0])throw new i(i.Errors.BadSignature);t.state="HEADER"}for(f=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;f?f=!1:r=o();switch(t.state){case"HEADER":/:/.test(r)?a(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(h){t.reportOrThrowError(h);t.cue=null;t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":if(c=r.indexOf("-->")!==-1,!r||c&&(f=!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(h){if(t.reportOrThrowError(h),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||{});!function(){!function(n){var t=n&&n.videojs,i;t&&(t.CDN_VERSION="5.8.8",i="https:"===n.location.protocol?"https://":"http://",t.options.flash.swf=i+"vjs.zencdn.net/swf/5.0.1/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(){function t(){}function r(n,t){for(var i=n.length;i--;)if(n[i].listener===t)return i;return-1}function i(n){return function(){return this[n].apply(this,arguments)}}var n=t.prototype,u=this,f=u.EventEmitter;n.getListeners=function(n){var r,t,i=this._getEvents();if("object"==typeof n){r={};for(t in i)i.hasOwnProperty(t)&&n.test(t)&&(r[t]=i[t])}else r=i[n]||(i[n]=[]);return r};n.flattenListeners=function(n){for(var i=[],t=0;n.length>t;t+=1)i.push(n[t].listener);return i};n.getListenersAsObject=function(n){var t,i=this.getListeners(n);return i instanceof Array&&(t={},t[n]=i),t||i};n.addListener=function(n,t){var i,u=this.getListenersAsObject(n),f="object"==typeof t;for(i in u)u.hasOwnProperty(i)&&-1===r(u[i],t)&&u[i].push(f?t:{listener:t,once:!1});return this};n.on=i("addListener");n.addOnceListener=function(n,t){return this.addListener(n,{listener:t,once:!0})};n.once=i("addOnceListener");n.defineEvent=function(n){return this.getListeners(n),this};n.defineEvents=function(n){for(var t=0;n.length>t;t+=1)this.defineEvent(n[t]);return this};n.removeListener=function(n,t){var f,i,u=this.getListenersAsObject(n);for(i in u)u.hasOwnProperty(i)&&(f=r(u[i],t),-1!==f&&u[i].splice(f,1));return this};n.off=i("removeListener");n.addListeners=function(n,t){return this.manipulateListeners(!1,n,t)};n.removeListeners=function(n,t){return this.manipulateListeners(!0,n,t)};n.manipulateListeners=function(n,t,i){var r,u,f=n?this.removeListener:this.addListener,e=n?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=i.length;r--;)f.call(this,t,i[r]);else for(r in t)t.hasOwnProperty(r)&&(u=t[r])&&("function"==typeof u?f.call(this,r,u):e.call(this,r,u));return this};n.removeEvent=function(n){var t,r=typeof n,i=this._getEvents();if("string"===r)delete i[n];else if("object"===r)for(t in i)i.hasOwnProperty(t)&&n.test(t)&&delete i[t];else delete this._events;return this};n.removeAllListeners=i("removeEvent");n.emitEvent=function(n,t){var i,f,r,e,u=this.getListenersAsObject(n);for(r in u)if(u.hasOwnProperty(r))for(f=u[r].length;f--;)i=u[r][f],i.once===!0&&this.removeListener(n,i.listener),e=i.listener.apply(this,t||[]),e===this._getOnceReturnValue()&&this.removeListener(n,i.listener);return this};n.trigger=i("emitEvent");n.emit=function(n){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(n,t)};n.setOnceReturnValue=function(n){return this._onceReturnValue=n,this};n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0};n._getEvents=function(){return this._events||(this._events={})};t.noConflict=function(){return u.EventEmitter=f,t};"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(n){function f(t){var i=n.event;return i.target=i.target||i.srcElement||t,i}var t=document.documentElement,r=function(){},i,u;t.addEventListener?r=function(n,t,i){n.addEventListener(t,i,!1)}:t.attachEvent&&(r=function(n,t,i){n[t+i]=i.handleEvent?function(){var t=f(n);i.handleEvent.call(i,t)}:function(){var t=f(n);i.call(n,t)};n.attachEvent("on"+t,n[t+i])});i=function(){};t.removeEventListener?i=function(n,t,i){n.removeEventListener(t,i,!1)}:t.detachEvent&&(i=function(n,t,i){n.detachEvent("on"+t,n[t+i]);try{delete n[t+i]}catch(r){n[t+i]=void 0}});u={bind:r,unbind:i};"function"==typeof define&&define.amd?define("eventie/eventie",u):n.eventie=u}(this),function(n,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,r){return t(n,i,r)}):"object"==typeof exports?module.exports=t(n,require("wolfy87-eventemitter"),require("eventie")):n.imagesLoaded=t(n,n.EventEmitter,n.eventie)}(window,function(n,t,i){function s(n,t){for(var i in t)n[i]=t[i];return n}function c(n){return"[object Array]"===v.call(n)}function l(n){var t=[],i,r;if(c(n))t=n;else if("number"==typeof n.length)for(i=0,r=n.length;r>i;i++)t.push(n[i]);else t.push(n);return t}function r(n,t,i){if(!(this instanceof r))return new r(n,t);"string"==typeof n&&(n=document.querySelectorAll(n));this.elements=l(n);this.options=s({},this.options);"function"==typeof t?i=t:s(this.options,t);i&&this.on("always",i);this.getImages();f&&(this.jqDeferred=new f.Deferred);var u=this;setTimeout(function(){u.check()})}function e(n){this.img=n}function u(n){this.src=n;o[n]=this}var f=n.jQuery,h=n.console,a=h!==void 0,v=Object.prototype.toString,o;return r.prototype=new t,r.prototype.options={},r.prototype.getImages=function(){var i,u,n,t,e;for(this.images=[],i=0,u=this.elements.length;u>i;i++)if(n=this.elements[i],"IMG"===n.nodeName&&this.addImage(n),t=n.nodeType,t&&(1===t||9===t||11===t))for(var f=n.querySelectorAll("img"),r=0,o=f.length;o>r;r++)e=f[r],this.addImage(e)},r.prototype.addImage=function(n){var t=new e(n);this.images.push(t)},r.prototype.check=function(){function f(n,r){return t.options.debug&&a&&h.log("confirm",n,r),t.progress(n),u++,u===i&&t.complete(),!0}var t=this,u=0,i=this.images.length,n,r;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(n=0;i>n;n++)r=this.images[n],r.on("confirm",f),r.check()},r.prototype.progress=function(n){this.hasAnyBroken=this.hasAnyBroken||!n.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,n);t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,n)})},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done",n;this.isComplete=!0;n=this;setTimeout(function(){if(n.emit(t,n),n.emit("always",n),n.jqDeferred){var i=n.hasAnyBroken?"reject":"resolve";n.jqDeferred[i](n)}})},f&&(f.fn.imagesLoaded=function(n,t){var i=new r(this,n,t);return i.jqDeferred.promise(f(this))}),e.prototype=new t,e.prototype.check=function(){var n=o[this.img.src]||new u(this.img.src),t;if(n.isConfirmed)return this.confirm(n.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;t=this;n.on("confirm",function(n,i){return t.confirm(n.isLoaded,i),!0});n.check()},e.prototype.confirm=function(n,t){this.isLoaded=n;this.emit("confirm",this,t)},o={},u.prototype=new t,u.prototype.check=function(){if(!this.isChecked){var n=new Image;i.bind(n,"load",this);i.bind(n,"error",this);n.src=this.src;this.isChecked=!0}},u.prototype.handleEvent=function(n){var t="on"+n.type;this[t]&&this[t](n)},u.prototype.onload=function(n){this.confirm(!0,"onload");this.unbindProxyEvents(n)},u.prototype.onerror=function(n){this.confirm(!1,"onerror");this.unbindProxyEvents(n)},u.prototype.confirm=function(n,t){this.isConfirmed=!0;this.isLoaded=n;this.emit("confirm",this,t)},u.prototype.unbindProxyEvents=function(n){i.unbind(n.target,"load",this);i.unbind(n.target,"error",this)},r});$(document).ready(function(){var n=1600,t=1,i=$(window).width();i<=991?t=1e3/n:i<=1199?t=1200/n:i<=1279?t=1400/n:i<=1499&&(t=1600/n);$(".imageHandler").each(function(){var r=t,u=n,f=100,e="image",i;$(this).data("mtype")=="background"&&(e="background");$(this).data("mratio")&&!isNaN($(this).data("mratio"))&&(r=r*$(this).data("mratio"));$(this).data("mwidth")&&!isNaN($(this).data("mwidth"))&&(u=$(this).data("mwidth"));$(this).data("mquality")&&!isNaN($(this).data("mquality"))&&(f=$(this).data("mquality"));u=Math.round(u*r);i="";u==n?(thisheight=Math.round($(this).data("mheight")*r),i=$(this).data("msrc")+"?h="+thisheight+"&quality="+f):(i=$(this).data("msrc")+"?w="+u+"&quality="+f,$(this).data("mheight")&&(thisheight=Math.round($(this).data("mheight")*r),i=i+"&h="+thisheight));$(this).data("mformat")&&(i=i+"&format="+$(this).data("mformat"));$(this).data("mmode")&&(i=i+"&mode="+$(this).data("mmode"));$(this).data("mscale")&&(i=i+"&scale="+$(this).data("mscale"));$(this).data("manchor")&&(i=i+"&anchot="+$(this).data("manchor"));e=="image"?$(this).attr("src",i):$(this).css("background-image","url('"+i+"')")})});navbar=function(){$(".navigation").toggleClass("active");$(".bg-banner-slide").toggleClass("active")};$.fn.customMatchHeight=function(n,t){var i,e,f,u,r;if(n=typeof n!="undefined"?n:0,t=typeof t!="undefined"?t:0,this.length)if(i=this,e=i.length,i.css({height:"auto"}),f=t!=0?window.innerWidth>n&&t>window.innerWidth:window.innerWidth>n,f){for(i.css({height:"auto"}),u=i[0].clientHeight,r=1;r<e;r++)i[r].clientHeight>u&&(u=i[r].clientHeight);i.css("height",u)}else i.removeStyle("height")};$(document).ready(function(){$(".select-style").customSelect();$(".trial-select-style").customSelect();$(".team-container").matchHeight();$(".thumb-description").matchHeight();$(".standards-tile").matchHeight();$(".resources-listing li").matchHeight();$(".video-post").matchHeight();$(".page-contact .content").matchHeight();$(".heightMatch").matchHeight();$("#sb-site").imagesLoaded().always(function(){});$(".home-callout_slider").slick({centerMode:!0,slidesToShow:3,centerPadding:"135px",initialSlide:2,arrows:!0,autoPlay:!0,nextArrow:"<i class='fa fa-chevron-right slick-next slider-circle'><\/i><span class='sr-only'>Next Slide<\/span>",prevArrow:"<i class='fa fa-chevron-left slick-prev slider-circle'><\/i><span class='sr-only'>Previous Slide<\/span>",responsive:[{breakpoint:1199,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:991,settings:{slidesToShow:2,centerPadding:"115px"}},{breakpoint:767,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"115px"}},{breakpoint:640,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"100px"}},{breakpoint:546,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"0px"}}]});$(".funding-featured_slider").slick({centerMode:!0,slidesToShow:1,centerPadding:"350px",initialSlide:0,arrows:!0,autoPlay:!0,nextArrow:"<i class='fa fa-chevron-right slick-next slider-circle'><\/i><span class='sr-only'>Next Slide<\/span>",prevArrow:"<i class='fa fa-chevron-left slick-prev slider-circle'><\/i><span class='sr-only'>Previous Slide<\/span>",responsive:[{breakpoint:1199,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"250px"}},{breakpoint:991,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"150px"}},{breakpoint:767,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"60px"}},{breakpoint:546,settings:{initialSlide:1,slidesToShow:1,slidesToScroll:1,centerPadding:"0px"}}]});$(".products_top-slider").slick({slidesToShow:1,arrows:!0,autoPlay:!0,nextArrow:"<i class='fa fa-chevron-right slick-next slider-circle dark'><span class='sr-only'>Next Slide<\/span><\/i>",prevArrow:"<i class='fa fa-chevron-left slick-prev slider-circle dark'><span class='sr-only'>Previous Slide<\/span><\/i>"});$("#sliderAwards").slick({slidesToShow:1,arrows:!0,autoPlay:!1,adaptiveHeight:!1,dots:!0,prevArrow:"<a class='widget-slider__arrow widget-slider__arrow-left' title='previous'><span class='sr-only'>Next Award<\/span><\/a>",nextArrow:"<a class='widget-slider__arrow widget-slider__arrow-right' title='next'><span class='sr-only'>Previous Award<\/span><\/a>"});$("#sliderTestimonials").slick({slidesToShow:1,arrows:!0,autoPlay:!1,adaptiveHeight:!1,dots:!0,prevArrow:"<a class='widget-slider__arrow widget-slider__arrow-left' title='previous'><span class='sr-only'>Next Testimonial<\/span><\/a>",nextArrow:"<a class='widget-slider__arrow widget-slider__arrow-right' title='next'><span class='sr-only'>Previous Testimonial<\/span><\/a>"});$(".teacher-slider").slick({slidesToShow:1,arrows:!0,autoplaySpeed:5e3,prevArrow:"<a class='slick-prev' title='previous'><span class='sr-only'>Next Testimonial<\/span><\/a>",nextArrow:"<a class='slick-next' title='next'><span class='sr-only'>Previous Testimonial<\/span><\/a>"});slickSizer();$(".hoverfade").hover(function(){$(this).find(".h-fade").animate({opacity:.8},"fast")},function(){$(this).find(".h-fade").animate({opacity:1},"fast")});$(".clickable a").click(function(n){n.stopPropagation()});$(".clickable").click(function(){if($(this).find("a").attr("rel")=="external")window.parent.open($(this).find("a").attr("href"));else if($(this).find("a").attr("target")=="_blank")window.parent.open($(this).find("a").attr("href"));else return window.parent.location=$(this).find("a").attr("href"),!1});$("#productDetailBanner").length&&($("#subNav").headroom({offset:$("#productDetailBanner").offset().top}),$("#productDetailBanner").headroom({offset:$("#productDetailBanner").offset().top}),$("#subNav").addClass("hasProductDetail"),$(".main-content").headroom({offset:$("#productDetailBanner").offset().top}),$("#subNav").length&&($("#subNav").headroom({offset:$("#subNav").offset().top}),$("#productDetailBanner").headroom({offset:$("#subNav").offset().top})));var n=!1;$("a.primary-nav-href").focus(function(){$("body").removeClass("menuoverlay-active");$(this).parent().hasClass("no-dropdown")||$("body").hasClass("menuoverlay-active")||$("body").addClass("menuoverlay-active");$(".megamenu-container").removeClass("is-active");$(this).siblings(".megamenu-container").addClass("is-active");$(".primary-nav-href").removeClass("is-active");$(this).addClass("is-active");n=!0});$("a.primary-nav-href").hover(function(){$("body").removeClass("menuoverlay-active");$(this).parent().hasClass("no-dropdown")||$("body").hasClass("menuoverlay-active")||$("body").addClass("menuoverlay-active");$(".megamenu-container").removeClass("is-active");$(this).siblings(".megamenu-container").addClass("is-active");$(".primary-nav-href").removeClass("is-active");$(this).addClass("is-active");n=!0});$(".megamenu-container").mouseleave(function(){$("body").removeClass("menuoverlay-active");$(".megamenu-container").removeClass("is-active");$(".primary-nav-href").removeClass("is-active");n=!1});$(".learning-navbar .navigation").mouseleave(function(){n&&($("body").removeClass("menuoverlay-active"),$(".megamenu-container").removeClass("is-active"),$(".primary-nav-href").removeClass("is-active"),n=!1)});$(document).mouseup(function(t){var i=$(".primary-nav-link");i.is(t.target)||i.has(t.target).length!==0||($("body").removeClass("menuoverlay-active"),$(".megamenu-container").removeClass("is-active"),$(".primary-nav-href").removeClass("is-active"),n=!1)});$(".primary-nav-link .administrators").click(function(){$(".nav-tabs-red li").removeClass("active");$('a[href*="#administrators"]').parent(".nav-tabs-red li").addClass("active");$(".tab-pane").removeClass("active");$(".tab-pane#administrators").addClass("active")});$(".primary-nav-link .teachers").click(function(){$(".nav-tabs-red li").removeClass("active");$('a[href*="#teachers"]').parent(".nav-tabs-red li").addClass("active");$(".tab-pane").removeClass("active");$(".tab-pane#teachers").addClass("active")});$(".primary-nav-link .parents").click(function(){$(".nav-tabs-red li").removeClass("active");$('a[href*="#parents"]').parent(".nav-tabs-red li").addClass("active");$(".tab-pane").removeClass("active");$(".tab-pane#parents").addClass("active")});$("#layerslider").layerSlider({showCircleTimer:!1,skin:"fullwidthdark",skinsPath:"/Assets/skins/",pauseOnHover:!1});$.slidebars();$('[data-toggle="tooltip"]').tooltip();$(".sb-toggle-submenu").off("click").on("click",function(){$submenu=$(this).parent().children(".sb-submenu");$(this).add($submenu).toggleClass("sb-submenu-active");$(this).add($submenu).parent().siblings().children("a").removeClass("sb-submenu-active");$submenu.slideToggle(200);$(this).add($submenu).parent().siblings().children(".sb-submenu").slideUp(200)});handleAnimation();$(".livechatbutton").click(function(){LazMarketingChat.openChatWindow($(this).data("serverenv"))});$(".accordion").length&&$(".accordion-toggle").click(function(n){var t=$(this).attr("href");$(this).hasClass("active")?close_accordion_section():(close_accordion_section(),$(this).addClass("active"),$(".accordion "+t).slideDown(300).addClass("open"));n.preventDefault()});setupVideoJs();$(".close-button").click(function(){var n=$(this).data("for");$(n).toggleClass("closed")});$(".pd-contact").click(function(){$("#contact-pd_select-state").val(0).trigger("change.customSelect")})});$("#search-toggle").click(function(n){n.stopPropagation();$(this).toggleClass("search-open");$(".learning-navbar .search-bar").toggleClass("active");$(".learning-navbar .search-bar").hasClass("active")&&$(".learning-navbar .search-bar input").focus()});$(document).click(function(n){$(n.target).closest(".learning-navbar .search-bar").length||$(".search-bar").hasClass("active")&&($(".search-bar").removeClass("active"),$("#toggle-search").removeClass("search-open"))});setupVideoJs=function(){setTimeout(function(){$("#laz-video").length&&videojs("laz-video").ready(function(){for(var r=this,i=r.textTracks(),t,n=0;n<i.length;n++)t=i[n],(t.kind==="captions"||t.language==="subtitles")&&(t.mode="hidden")})},300)};window.onresize=function(){clearTimeout(resizeTimeout);resizeTimout=setTimeout(function(){$(".select-style").trigger("render");$(".trial-select-style").trigger("render");slickSizer();$(window).width()<=767?$(".home-callout_slider").slick("slickGoTo",1):$(".home-callout_slider").slick("slickGoTo",2)},100)};$(window).on("load",function(){if($("#resources").length){var n=document.location.toString();if($(".nav-tabs-red").length){if(n.match("#")){$('.nav-tabs-red a[href="#'+n.split("#")[1]+'"]').tab("show");let t=$("#resources").offset().top;$(window).scrollTop(t)}$(".nav-tabs-red a").on("shown.bs.tab",function(n){window.location.hash=n.target.hash;let t=$("#resources").offset().top;$(window).scrollTop(t)})}else{if(n.match("#")){$('.nav-tabs a[href="#'+n.split("#")[1]+'"]').tab("show");let t=$("#resources").offset().top;$(window).scrollTop(t)}$(".nav-tabs a").on("shown.bs.tab",function(n){window.location.hash=n.target.hash;let t=$("#resources").offset().top;$(window).scrollTop(t)})}}});if($("#resources").length)$(window).on("hashchange",function(){var n=document.location.toString();if($(".nav-tavs-red").length){if(n.match("#")){$('.nav-tabs-red a[href="#'+n.split("#")[1]+'"]').tab("show");let t=$("#resources").offset().top;$(window).scrollTop(t)}$(".nav-tabs-red a").on("shown.bs.tab",function(n){window.location.hash=n.target.hash});let t=$("#resources").offset().top;$(window).scrollTop(t)}else{if(n.match("#")){$('.nav-tabs a[href="#'+n.split("#")[1]+'"]').tab("show");let t=$("#resources").offset().top;$(window).scrollTop(t)}$(".nav-tabs a").on("shown.bs.tab",function(n){window.location.hash=n.target.hash});let t=$("#resources").offset().top;$(window).scrollTop(t)}});$.fn.isOnScreen=function(){var n=this.get(0),t=n.getBoundingClientRect();return t.top<window.innerHeight};scrollHandler=function(){handleAnimation();handlePopovers()};window.onscroll=scrollHandler