// source --> https://windycityglam.com/wp-content/plugins/optimizePressPlugin/lib/js/op-jquery-base-all.min.js?ver=2.5.18 !function(){if(jQuery&&!window.opjq){var a,b,c=jQuery.fn.jquery;c=c.replace(/(\d+\.\d+).+/i,"$1"),c=c.split(/\./gi),a=c[0],b=c[1],(1>a||8>b&&console&&console.error)&&console.error("Currently is loaded jQuery version "+jQuery.fn.jquery+" which is too low for OptimizePress. Please check if you're using WordPress version 3.5 or higher or contact customer support."),window.opjq=jQuery.noConflict()}window.checkJqueryVersion=function(){console.log("jQuery: "+jQuery.fn.jquery,"opjq: "+opjq.fn.jquery),(1>a||8>b&&console&&console.error)&&console.error("Currently is loaded jQuery version "+jQuery.fn.jquery+" which is too low for OptimizePress. Please check if you're using WordPress version 3.5 or higher or contact customer support.")},window.loadOldjQueryVersion=function(a){var a="1.3.2",b=document.createElement("script");b.src="//ajax.googleapis.com/ajax/libs/jquery/"+a+"/jquery.min.js",document.body.appendChild(b)},window.deleteJquery=function(){delete $,delete jQuery}}(),function(a){function b(b){this.input=b,"password"==b.attr("type")&&this.handlePassword(),a(b[0].form).submit(function(){b.hasClass("placeholder")&&b[0].value==b.attr("placeholder")&&(b[0].value="")})}b.prototype={show:function(a){if(""===this.input[0].value||a&&this.valueIsPlaceholder()){if(this.isPassword)try{this.input[0].setAttribute("type","text")}catch(b){this.input.before(this.fakePassword.show()).hide()}this.input.addClass("placeholder"),this.input[0].value=this.input.attr("placeholder")}},hide:function(){if(this.valueIsPlaceholder()&&this.input.hasClass("placeholder")&&(this.input.removeClass("placeholder"),this.input[0].value="",this.isPassword)){try{this.input[0].setAttribute("type","password")}catch(a){}this.input.show(),this.input[0].focus()}},valueIsPlaceholder:function(){return this.input[0].value==this.input.attr("placeholder")},handlePassword:function(){var b=this.input;if(b.attr("realType","password"),this.isPassword=!0,a.browser.msie&&b[0].outerHTML){var c=a(b[0].outerHTML.replace(/type=(['"])?password\1/gi,"type=$1text$1"));this.fakePassword=c.val(b.attr("placeholder")).addClass("placeholder").focus(function(){b.trigger("focus"),a(this).hide()}),a(b[0].form).submit(function(){c.remove(),b.show()})}}};var c=!!("placeholder"in document.createElement("input"));a.fn.placeholder=function(){return c?this:this.each(function(){var c=a(this),d=new b(c);d.show(!0),c.focus(function(){d.hide()}),c.blur(function(){d.show(!1)}),a.browser.msie&&(a(window).load(function(){c.val()&&c.removeClass("placeholder"),d.show(!0)}),c.focus(function(){if(""==this.value){var a=this.createTextRange();a.collapse(!0),a.moveStart("character",0),a.select()}}))})},a(document).ready(function(){a("input[placeholder], textarea[placeholder]").placeholder()})}(opjq),/*! * fancyBox - jQuery Plugin * version: 2.1.5 (Fri, 14 Jun 2013) * @requires jQuery v1.6 or later * * Examples at http://fancyapps.com/fancybox/ * License: www.fancyapps.com/fancybox/#license * * Copyright 2012 Janis Skarnelis - janis@fancyapps.com * */ function(a,b,c,d){"use strict";var e=c("html"),f=c(a),g=c(b),h=c.fancybox=function(){h.open.apply(this,arguments)},i=navigator.userAgent.match(/msie/i),j=null,k=b.createTouch!==d,l=function(a){return a&&a.hasOwnProperty&&a instanceof c},m=function(a){return a&&"string"===c.type(a)},n=function(a){return m(a)&&a.indexOf("%")>0},o=function(a){return a&&!(a.style.overflow&&"hidden"===a.style.overflow)&&(a.clientWidth&&a.scrollWidth>a.clientWidth||a.clientHeight&&a.scrollHeight>a.clientHeight)},p=function(a,b){var c=parseInt(a,10)||0;return b&&n(a)&&(c=h.getViewport()[b]/100*c),Math.ceil(c)},q=function(a,b){return p(a,b)+"px"};c.extend(h,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!k,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'
',image:'',iframe:'",error:'

The requested content cannot be loaded.
Please try again later.

',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:c.noop,beforeLoad:c.noop,afterLoad:c.noop,beforeShow:c.noop,afterShow:c.noop,beforeChange:c.noop,beforeClose:c.noop,afterClose:c.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,b){return a&&(c.isPlainObject(b)||(b={}),!1!==h.close(!0))?(c.isArray(a)||(a=l(a)?c(a).get():[a]),c.each(a,function(e,f){var g,i,j,k,n,o,p,q={};"object"===c.type(f)&&(f.nodeType&&(f=c(f)),l(f)?(q={href:f.data("fancybox-href")||f.attr("href"),title:f.data("fancybox-title")||f.attr("title"),isDom:!0,element:f},c.metadata&&c.extend(!0,q,f.metadata())):q=f),g=b.href||q.href||(m(f)?f:null),i=b.title!==d?b.title:q.title||"",j=b.content||q.content,k=j?"html":b.type||q.type,!k&&q.isDom&&(k=f.data("fancybox-type"),k||(n=f.prop("class").match(/fancybox\.(\w+)/),k=n?n[1]:null)),m(g)&&(k||(h.isImage(g)?k="image":h.isSWF(g)?k="swf":"#"===g.charAt(0)?k="inline":m(f)&&(k="html",j=f)),"ajax"===k&&(o=g.split(/\s+/,2),g=o.shift(),p=o.shift())),j||("inline"===k?g?j=c(m(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):q.isDom&&(j=f):"html"===k?j=g:k||g||!q.isDom||(k="inline",j=f)),c.extend(q,{href:g,type:k,content:j,title:i,selector:p}),a[e]=q}),h.opts=c.extend(!0,{},h.defaults,b),b.keys!==d&&(h.opts.keys=b.keys?c.extend({},h.defaults.keys,b.keys):!1),h.group=a,h._start(h.opts.index)):void 0},cancel:function(){var a=h.coming;a&&!1!==h.trigger("onCancel")&&(h.hideLoading(),h.ajaxLoad&&h.ajaxLoad.abort(),h.ajaxLoad=null,h.imgPreload&&(h.imgPreload.onload=h.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(),h.coming=null,h.current||h._afterZoomOut(a))},close:function(a){h.cancel(),!1!==h.trigger("beforeClose")&&(h.unbindEvents(),h.isActive&&(h.isOpen&&a!==!0?(h.isOpen=h.isOpened=!1,h.isClosing=!0,c(".fancybox-item, .fancybox-nav").remove(),h.wrap.stop(!0,!0).removeClass("fancybox-opened"),h.transitions[h.current.closeMethod]()):(c(".fancybox-wrap").stop(!0).trigger("onReset").remove(),h._afterZoomOut())))},play:function(a){var b=function(){clearTimeout(h.player.timer)},c=function(){b(),h.current&&h.player.isActive&&(h.player.timer=setTimeout(h.next,h.current.playSpeed))},d=function(){b(),g.unbind(".player"),h.player.isActive=!1,h.trigger("onPlayEnd")},e=function(){h.current&&(h.current.loop||h.current.index=e.index?"next":"prev"],h.router=c||"jumpto",e.loop&&(0>a&&(a=e.group.length+a%e.group.length),a%=e.group.length),e.group[a]!==d&&(h.cancel(),h._start(a)))},reposition:function(a,b){var d,e=h.current,f=e?e.wrap:null;f&&(d=h._getPosition(b),a&&"scroll"===a.type?(delete d.position,f.stop(!0,!0).animate(d,200)):(f.css(d),e.pos=c.extend({},e.dim,d)))},update:function(a){var b=a&&a.type,c=!b||"orientationchange"===b;c&&(clearTimeout(j),j=null),h.isOpen&&!j&&(j=setTimeout(function(){var d=h.current;d&&!h.isClosing&&(h.wrap.removeClass("fancybox-tmp"),(c||"load"===b||"resize"===b&&d.autoResize)&&h._setDimension(),"scroll"===b&&d.canShrink||h.reposition(a),h.trigger("onUpdate"),j=null)},c&&!k?0:300))},toggle:function(a){h.isOpen&&(h.current.fitToView="boolean"===c.type(a)?a:!h.current.fitToView,k&&(h.wrap.removeAttr("style").addClass("fancybox-tmp"),h.trigger("onUpdate")),h.update())},hideLoading:function(){g.unbind(".loading"),c("#fancybox-loading").remove()},showLoading:function(){var a,b;h.hideLoading(),a=c('
').click(h.cancel).appendTo("body"),g.bind("keydown.loading",function(a){27===(a.which||a.keyCode)&&(a.preventDefault(),h.cancel())}),h.defaults.fixed||(b=h.getViewport(),a.css({position:"absolute",top:.5*b.h+b.y,left:.5*b.w+b.x}))},getViewport:function(){var b=h.current&&h.current.locked||!1,c={x:f.scrollLeft(),y:f.scrollTop()};return b?(c.w=b[0].clientWidth,c.h=b[0].clientHeight):(c.w=k&&a.innerWidth?a.innerWidth:f.width(),c.h=k&&a.innerHeight?a.innerHeight:f.height()),c},unbindEvents:function(){h.wrap&&l(h.wrap)&&h.wrap.unbind(".fb"),g.unbind(".fb"),f.unbind(".fb")},bindEvents:function(){var a,b=h.current;b&&(f.bind("orientationchange.fb"+(k?"":" resize.fb")+(b.autoCenter&&!b.locked?" scroll.fb":""),h.update),a=b.keys,a&&g.bind("keydown.fb",function(e){var f=e.which||e.keyCode,g=e.target||e.srcElement;return 27===f&&h.coming?!1:void(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||g&&(g.type||c(g).is("[contenteditable]"))||c.each(a,function(a,g){return b.group.length>1&&g[f]!==d?(h[a](g[f]),e.preventDefault(),!1):c.inArray(f,g)>-1?(h[a](),e.preventDefault(),!1):void 0}))}),c.fn.mousewheel&&b.mouseWheel&&h.wrap.bind("mousewheel.fb",function(a,d,e,f){for(var g=a.target||null,i=c(g),j=!1;i.length&&!(j||i.is(".fancybox-skin")||i.is(".fancybox-wrap"));)j=o(i[0]),i=c(i).parent();0===d||j||h.group.length>1&&!b.canShrink&&(f>0||e>0?h.prev(f>0?"down":"left"):(0>f||0>e)&&h.next(0>f?"up":"right"),a.preventDefault())}))},trigger:function(a,b){var d,e=b||h.coming||h.current;if(e){if(c.isFunction(e[a])&&(d=e[a].apply(e,Array.prototype.slice.call(arguments,1))),d===!1)return!1;e.helpers&&c.each(e.helpers,function(b,d){d&&h.helpers[b]&&c.isFunction(h.helpers[b][a])&&h.helpers[b][a](c.extend(!0,{},h.helpers[b].defaults,d),e)}),g.trigger(a)}},isImage:function(a){return m(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return m(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var b,d,e,f,g,i={};if(a=p(a),b=h.group[a]||null,!b)return!1;if(i=c.extend(!0,{},h.opts,b),f=i.margin,g=i.padding,"number"===c.type(f)&&(i.margin=[f,f,f,f]),"number"===c.type(g)&&(i.padding=[g,g,g,g]),i.modal&&c.extend(!0,i,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),i.autoSize&&(i.autoWidth=i.autoHeight=!0),"auto"===i.width&&(i.autoWidth=!0),"auto"===i.height&&(i.autoHeight=!0),i.group=h.group,i.index=a,h.coming=i,!1===h.trigger("beforeLoad"))return void(h.coming=null);if(e=i.type,d=i.href,!e)return h.coming=null,h.current&&h.router&&"jumpto"!==h.router?(h.current.index=a,h[h.router](h.direction)):!1;if(h.isActive=!0,("image"===e||"swf"===e)&&(i.autoHeight=i.autoWidth=!1,i.scrolling="visible"),"image"===e&&(i.aspectRatio=!0),"iframe"===e&&k&&(i.scrolling="scroll"),i.wrap=c(i.tpl.wrap).addClass("fancybox-"+(k?"mobile":"desktop")+" fancybox-type-"+e+" fancybox-tmp "+i.wrapCSS).appendTo(i.parent||"body"),c.extend(i,{skin:c(".fancybox-skin",i.wrap),outer:c(".fancybox-outer",i.wrap),inner:c(".fancybox-inner",i.wrap)}),c.each(["Top","Right","Bottom","Left"],function(a,b){i.skin.css("padding"+b,q(i.padding[a]))}),h.trigger("onReady"),"inline"===e||"html"===e){if(!i.content||!i.content.length)return h._error("content")}else if(!d)return h._error("href");"image"===e?h._loadImage():"ajax"===e?h._loadAjax():"iframe"===e?h._loadIframe():h._afterLoad()},_error:function(a){c.extend(h.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:h.coming.tpl.error}),h._afterLoad()},_loadImage:function(){var a=h.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null,h.coming.width=this.width/h.opts.pixelRatio,h.coming.height=this.height/h.opts.pixelRatio,h._afterLoad()},a.onerror=function(){this.onload=this.onerror=null,h._error("image")},a.src=h.coming.href,a.complete!==!0&&h.showLoading()},_loadAjax:function(){var a=h.coming;h.showLoading(),h.ajaxLoad=c.ajax(c.extend({},a.ajax,{url:a.href,error:function(a,b){h.coming&&"abort"!==b?h._error("ajax",a):h.hideLoading()},success:function(b,c){"success"===c&&(a.content=b,h._afterLoad())}}))},_loadIframe:function(){var a=h.coming,b=c(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",k?"auto":a.iframe.scrolling).attr("src",a.href);c(a.wrap).bind("onReset",function(){try{c(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}}),a.iframe.preload&&(h.showLoading(),b.one("load",function(){c(this).data("ready",1),k||c(this).bind("load.fb",h.update),c(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),h._afterLoad()})),a.content=b.appendTo(a.inner),a.iframe.preload||h._afterLoad()},_preloadImages:function(){var a,b,c=h.group,d=h.current,e=c.length,f=d.preload?Math.min(d.preload,e-1):0;for(b=1;f>=b;b+=1)a=c[(d.index+b)%e],"image"===a.type&&a.href&&((new Image).src=a.href)},_afterLoad:function(){var a,b,d,e,f,g,i=h.coming,j=h.current,k="fancybox-placeholder";if(h.hideLoading(),i&&h.isActive!==!1){if(!1===h.trigger("afterLoad",i,j))return i.wrap.stop(!0).trigger("onReset").remove(),void(h.coming=null);switch(j&&(h.trigger("beforeChange",j),j.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),h.unbindEvents(),a=i,b=i.content,d=i.type,e=i.scrolling,c.extend(h,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:j}),f=a.href,d){case"inline":case"ajax":case"html":a.selector?b=c("
").html(b).find(a.selector):l(b)&&(b.data(k)||b.data(k,c('
').insertAfter(b).hide()),b=b.show().detach(),a.wrap.bind("onReset",function(){c(this).find(b).length&&b.hide().replaceAll(b.data(k)).data(k,!1)}));break;case"image":b=a.tpl.image.replace("{href}",f);break;case"swf":b='',g="",c.each(a.swf,function(a,c){b+='',g+=" "+a+'="'+c+'"'}),b+='"}l(b)&&b.parent().is(a.inner)||a.inner.append(b),h.trigger("beforeShow"),a.inner.css("overflow","yes"===e?"scroll":"no"===e?"hidden":e),h._setDimension(),h.reposition(),h.isOpen=!1,h.coming=null,h.bindEvents(),h.isOpened?j.prevMethod&&h.transitions[j.prevMethod]():c(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove(),h.transitions[h.isOpened?a.nextMethod:a.openMethod](),h._preloadImages()}},_setDimension:function(){var a,b,d,e,f,g,i,j,k,l,m,o,r,s,t,u=h.getViewport(),v=0,w=!1,x=!1,y=h.wrap,z=h.skin,A=h.inner,B=h.current,C=B.width,D=B.height,E=B.minWidth,F=B.minHeight,G=B.maxWidth,H=B.maxHeight,I=B.scrolling,J=B.scrollOutside?B.scrollbarWidth:0,K=B.margin,L=p(K[1]+K[3]),M=p(K[0]+K[2]);if(y.add(z).add(A).width("auto").height("auto").removeClass("fancybox-tmp"),a=p(z.outerWidth(!0)-z.width()),b=p(z.outerHeight(!0)-z.height()),d=L+a,e=M+b,f=n(C)?(u.w-d)*p(C)/100:C,g=n(D)?(u.h-e)*p(D)/100:D,"iframe"===B.type){if(s=B.content,B.autoHeight&&1===s.data("ready"))try{s[0].contentWindow.document.location&&(A.width(f).height(9999),t=s.contents().find("body"),J&&t.css("overflow-x","hidden"),g=t.outerHeight(!0))}catch(N){}}else(B.autoWidth||B.autoHeight)&&(A.addClass("fancybox-tmp"),B.autoWidth||A.width(f),B.autoHeight||A.height(g),B.autoWidth&&(f=A.width()),B.autoHeight&&(g=A.height()),A.removeClass("fancybox-tmp"));if(C=p(f),D=p(g),k=f/g,E=p(n(E)?p(E,"w")-d:E),G=p(n(G)?p(G,"w")-d:G),F=p(n(F)?p(F,"h")-e:F),H=p(n(H)?p(H,"h")-e:H),i=G,j=H,B.fitToView&&(G=Math.min(u.w-d,G),H=Math.min(u.h-e,H)),o=u.w-L,r=u.h-M,B.aspectRatio?(C>G&&(C=G,D=p(C/k)),D>H&&(D=H,C=p(D*k)),E>C&&(C=E,D=p(C/k)),F>D&&(D=F,C=p(D*k))):(C=Math.max(E,Math.min(C,G)),B.autoHeight&&"iframe"!==B.type&&(A.width(C),D=A.height()),D=Math.max(F,Math.min(D,H))),B.fitToView)if(A.width(C).height(D),y.width(C+a),l=y.width(),m=y.height(),B.aspectRatio)for(;(l>o||m>r)&&C>E&&D>F&&!(v++>19);)D=Math.max(F,Math.min(H,D-10)),C=p(D*k),E>C&&(C=E,D=p(C/k)),C>G&&(C=G,D=p(C/k)),A.width(C).height(D),y.width(C+a),l=y.width(),m=y.height();else C=Math.max(E,Math.min(C,C-(l-o))),D=Math.max(F,Math.min(D,D-(m-r)));J&&"auto"===I&&g>D&&o>C+a+J&&(C+=J),A.width(C).height(D),y.width(C+a),l=y.width(),m=y.height(),w=(l>o||m>r)&&C>E&&D>F,x=B.aspectRatio?i>C&&j>D&&f>C&&g>D:(i>C||j>D)&&(f>C||g>D),c.extend(B,{dim:{width:q(l),height:q(m)},origWidth:f,origHeight:g,canShrink:w,canExpand:x,wPadding:a,hPadding:b,wrapSpace:m-z.outerHeight(!0),skinSpace:z.height()-D}),!s&&B.autoHeight&&D>F&&H>D&&!x&&A.height("auto")},_getPosition:function(a){var b=h.current,c=h.getViewport(),d=b.margin,e=h.wrap.width()+d[1]+d[3],f=h.wrap.height()+d[0]+d[2],g={position:"absolute",top:d[0],left:d[3]};return b.autoCenter&&b.fixed&&!a&&f<=c.h&&e<=c.w?g.position="fixed":b.locked||(g.top+=c.y,g.left+=c.x),g.top=q(Math.max(g.top,g.top+(c.h-f)*b.topRatio)),g.left=q(Math.max(g.left,g.left+(c.w-e)*b.leftRatio)),g},_afterZoomIn:function(){var a=h.current;a&&(h.isOpen=h.isOpened=!0,h.wrap.css("overflow","visible").addClass("fancybox-opened"),h.update(),(a.closeClick||a.nextClick&&h.group.length>1)&&h.inner.css("cursor","pointer").bind("click.fb",function(b){c(b.target).is("a")||c(b.target).parent().is("a")||(b.preventDefault(),h[a.closeClick?"close":"next"]())}),a.closeBtn&&c(a.tpl.closeBtn).appendTo(h.skin).bind("click.fb",function(a){a.preventDefault(),h.close()}),a.arrows&&h.group.length>1&&((a.loop||a.index>0)&&c(a.tpl.prev).appendTo(h.outer).bind("click.fb",h.prev),(a.loop||a.index
').appendTo(h.coming?h.coming.parent:a.parent),this.fixed=!1,a.fixed&&h.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var b=this;a=c.extend({},this.defaults,a),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a),this.fixed||(f.bind("resize.overlay",c.proxy(this.update,this)),this.update()),a.closeClick&&this.overlay.bind("click.overlay",function(a){return c(a.target).hasClass("fancybox-overlay")?(h.isActive?h.close():b.close(),!1):void 0}),this.overlay.css(a.css).show()},close:function(){var a,b;f.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(c(".fancybox-margin").removeClass("fancybox-margin"),a=f.scrollTop(),b=f.scrollLeft(),this.el.removeClass("fancybox-lock"),f.scrollTop(a).scrollLeft(b)),c(".fancybox-overlay").remove().hide(),c.extend(this,{overlay:null,fixed:!1})},update:function(){var a,c="100%";this.overlay.width(c).height("100%"),i?(a=Math.max(b.documentElement.offsetWidth,b.body.offsetWidth),g.width()>a&&(c=g.width())):g.width()>f.width()&&(c=g.width()),this.overlay.width(c).height(g.height())},onReady:function(a,b){var d=this.overlay;c(".fancybox-overlay").stop(!0,!0),d||this.create(a),a.locked&&this.fixed&&b.fixed&&(d||(this.margin=g.height()>f.height()?c("html").css("margin-right").replace("px",""):!1),b.locked=this.overlay.append(b.wrap),b.fixed=!1),a.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(b,d){var e,g,h,i,j=c("html");(d.locked||d.opLocked)&&(this.margin===!1||j.hasClass("epicbox-lock")||(j.removeClass("fancybox-lock fancybox-margin"),h=c(a).width(),j.addClass("fancybox-lock-test"),i=c(a).width(),j.removeClass("fancybox-lock-test"),c("#op-fancybox-margin").remove(),c("").appendTo("head"),this.el.addClass("fancybox-margin")),e=f.scrollTop(),g=f.scrollLeft(),this.el.addClass("fancybox-lock"),f.scrollTop(e).scrollLeft(g)),this.open(b)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!h.coming&&this.overlay.fadeOut(a.speedOut,c.proxy(this.close,this))}},h.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(a){var b,d,e=h.current,f=e.title,g=a.type;if(c.isFunction(f)&&(f=f.call(e.element,e)),m(f)&&""!==c.trim(f)){switch(b=c('
'+f+"
"),g){case"inside":d=h.skin;break;case"outside":d=h.wrap;break;case"over":d=h.inner;break;default:d=h.skin,b.appendTo("body"),i&&b.width(b.width()),b.wrapInner(''),h.current.margin[2]+=Math.abs(p(b.css("margin-bottom")))}b["top"===a.position?"prependTo":"appendTo"](d)}}},c.fn.fancybox=function(a){var b,d=c(this),e=this.selector||"",f=function(f){var g,i,j=c(this).blur(),k=b;f.ctrlKey||f.altKey||f.shiftKey||f.metaKey||j.is(".fancybox-wrap")||(g=a.groupAttr||"data-fancybox-group",i=j.attr(g),i||(g="rel",i=j.get(0)[g]),i&&""!==i&&"nofollow"!==i&&(j=e.length?c(e):d,j=j.filter("["+g+'="'+i+'"]'),k=j.index(this)),a.index=k,h.open(j,a)!==!1&&f.preventDefault())};return a=a||{},b=a.index||0,e&&a.live!==!1?g.undelegate(e,"click.fb-start").delegate(e+":not('.fancybox-item, .fancybox-nav')","click.fb-start",f):d.unbind("click.fb-start").bind("click.fb-start",f),this.filter("[data-fancybox-start=1]").trigger("click"),this},g.ready(function(){var b,f;c.scrollbarWidth===d&&(c.scrollbarWidth=function(){var a=c('
').appendTo("body"),b=a.children(),d=b.innerWidth()-b.height(99).innerWidth();return a.remove(),d}),c.support.fixedPosition===d&&(c.support.fixedPosition=function(){var a=c('
').appendTo("body"),b=20===a[0].offsetTop||15===a[0].offsetTop;return a.remove(),b}()),c.extend(h.defaults,{scrollbarWidth:c.scrollbarWidth(),fixed:c.support.fixedPosition,parent:c("body")}),b=c(a).width(),e.addClass("fancybox-lock-test"),f=c(a).width(),e.removeClass("fancybox-lock-test"),c("").appendTo("head")})}(window,document,opjq),opjq(document).ready(function(a){var b=a("body");window.op_show_loading=function(){window.op_dont_show_loading||a("#op_overlay").length>0||(b.append('
'),setTimeout(function(){a("#op_overlay, #op_loading").css("opacity",1)},100))},window.op_hide_loading=function(b){window.op_dont_hide_loading||(b&&a("#op_overlay, #op_loading").remove(),window.top.opjq.fancybox&&window.top.opjq.fancybox.hideLoading(),a("#op_overlay, #op_loading").css("opacity",0),setTimeout(function(){a("#op_overlay, #op_loading").remove()},200))}}),function(a,b,c,d){function e(b,c){this.element=b,this.options=a.extend({},j,c),this._defaults=j,this._name=h,this.init()}function f(){return!!("ontouchstart"in b)}function g(){var a=c.body||c.documentElement,b=a.style,d="transition";if("string"==typeof b[d])return!0;v=["Moz","Webkit","Khtml","O","ms"],d=d.charAt(0).toUpperCase()+d.substr(1);for(var e=0;e'+this.options.icon+"");j.insertAfter(b),b.data("tooltipsterIcon",j),b=j}var k=a.trim(e.options.content).length>0?e.options.content:b.attr("title");b.data("tooltipsterContent",k),b.removeAttr("title"),1==this.options.touchDevices&&f()?b.bind("touchstart",function(a,b){e.showTooltip()}):("hover"==this.options.trigger&&(b.on("mouseenter.tooltipster",function(){e.showTooltip()}),1==this.options.interactive?b.on("mouseleave.tooltipster",function(){var a=b.data("tooltipster"),c=!1;if(a!==d&&""!==a){a.mouseenter(function(){c=!0}),a.mouseleave(function(){c=!1});setTimeout(function(){1==c?a.mouseleave(function(){e.hideTooltip()}):e.hideTooltip()},e.options.interactiveTolerance)}else e.hideTooltip()}):b.on("mouseleave.tooltipster",function(){e.hideTooltip()})),"click"==this.options.trigger&&b.on("click.tooltipster",function(){""==b.data("tooltipster")||b.data("tooltipster")==d?e.showTooltip():e.hideTooltip()}))}},showTooltip:function(b){var c=a(this.element),e=this;c.data("tooltipsterIcon")!==d&&(c=c.data("tooltipsterIcon")),c.hasClass("tooltipster-disable")||(a(".tooltipster-base").not(".tooltipster-dying").length>0&&1==e.options.onlyOne&&a(".tooltipster-base").not(".tooltipster-dying").not(c.data("tooltipster")).each(function(){a(this).addClass("tooltipster-kill");var b=a(this).data("origin");b.data("plugin_tooltipster").hideTooltip()}),c.clearQueue().delay(e.options.delay).queue(function(){e.options.functionBefore(c,function(){if(c.data("tooltipster")!==d&&""!==c.data("tooltipster")){var b=c.data("tooltipster");if(!b.hasClass("tooltipster-kill")){var h="tooltipster-"+e.options.animation;if(b.removeClass("tooltipster-dying"),1==k&&b.clearQueue().addClass(h+"-show"),e.options.timer>0){var i=b.data("tooltipsterTimer");clearTimeout(i),i=setTimeout(function(){b.data("tooltipsterTimer",d),e.hideTooltip()},e.options.timer),b.data("tooltipsterTimer",i)}1==e.options.touchDevices&&f()&&a("body").bind("touchstart",function(b){if(1==e.options.interactive){var c=a(b.target),d=!0;c.parents().each(function(){a(this).hasClass("tooltipster-base")&&(d=!1)}),1==d&&(e.hideTooltip(),a("body").unbind("touchstart"))}else e.hideTooltip(),a("body").unbind("touchstart")})}}else{a("body").css("overflow-x","hidden");var j=c.data("tooltipsterContent"),l=e.options.theme,m=l.replace(".",""),h="tooltipster-"+e.options.animation,n="-webkit-transition-duration: "+e.options.speed+"ms; -webkit-animation-duration: "+e.options.speed+"ms; -moz-transition-duration: "+e.options.speed+"ms; -moz-animation-duration: "+e.options.speed+"ms; -o-transition-duration: "+e.options.speed+"ms; -o-animation-duration: "+e.options.speed+"ms; -ms-transition-duration: "+e.options.speed+"ms; -ms-animation-duration: "+e.options.speed+"ms; transition-duration: "+e.options.speed+"ms; animation-duration: "+e.options.speed+"ms;",o=e.options.fixedWidth>0?"width:"+e.options.fixedWidth+"px;":"",p=e.options.maxWidth>0?"max-width:"+e.options.maxWidth+"px;":"",q=1==e.options.interactive?"pointer-events: auto;":"",b=a('
'+j+"
");b.appendTo("body"),c.data("tooltipster",b),b.data("origin",c),e.positionTooltip(),e.options.functionReady(c,b),1==k?b.addClass(h+"-show"):b.css("display","none").removeClass(h).fadeIn(e.options.speed);var r=j,s=setInterval(function(){var d=c.data("tooltipsterContent");0==a("body").find(c).length?(b.addClass("tooltipster-dying"),e.hideTooltip()):r!==d&&""!==d&&(r=d,b.find(".tooltipster-content").html(d),1==e.options.updateAnimation&&(g()?(b.css({width:"","-webkit-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+e.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing"),setTimeout(function(){b.removeClass("tooltipster-content-changing"),setTimeout(function(){b.css({"-webkit-transition":e.options.speed+"ms","-moz-transition":e.options.speed+"ms","-o-transition":e.options.speed+"ms","-ms-transition":e.options.speed+"ms",transition:e.options.speed+"ms"})},e.options.speed)},e.options.speed)):b.fadeTo(e.options.speed,.5,function(){b.fadeTo(e.options.speed,1)})),e.positionTooltip()),(0==a("body").find(b).length||0==a("body").find(c).length)&&clearInterval(s)},200);if(e.options.timer>0){var i=setTimeout(function(){b.data("tooltipsterTimer",d),e.hideTooltip()},e.options.timer+e.options.speed);b.data("tooltipsterTimer",i)}1==e.options.touchDevices&&f()&&a("body").bind("touchstart",function(b){if(1==e.options.interactive){var c=a(b.target),d=!0;c.parents().each(function(){a(this).hasClass("tooltipster-base")&&(d=!1)}),1==d&&(e.hideTooltip(),a("body").unbind("touchstart"))}else e.hideTooltip(),a("body").unbind("touchstart")}),b.mouseleave(function(){e.hideTooltip()})}}),c.dequeue()}))},hideTooltip:function(b){var c=a(this.element),e=this;c.data("tooltipsterIcon")!==d&&(c=c.data("tooltipsterIcon"));var f=c.data("tooltipster");if(f==d&&(f=a(".tooltipster-dying")),c.clearQueue(),f!==d&&""!==f){var g=f.data("tooltipsterTimer");g!==d&&clearTimeout(g);var h="tooltipster-"+e.options.animation;1==k?f.clearQueue().removeClass(h+"-show").addClass("tooltipster-dying").delay(e.options.speed).queue(function(){f.remove(),c.data("tooltipster",""),a("body").css("verflow-x",""),e.options.functionAfter(c)}):f.clearQueue().addClass("tooltipster-dying").fadeOut(e.options.speed,function(){f.remove(),c.data("tooltipster",""),a("body").css("verflow-x",""),e.options.functionAfter(c)})}},positionTooltip:function(c){function e(){var c=a(b).scrollLeft();if(0>L-c){var d=L-c;L=c,j.data("arrow-reposition",d)}if(L+n-c>k){var d=L-(k+c-n);L=k+c-n,j.data("arrow-reposition",d)}}function f(c,d){r-a(b).scrollTop()-p-N-12<0&&d.indexOf("top")>-1&&(h.options.position=c,t=d),r+m+p+12+N>a(b).scrollTop()+a(b).height()&&d.indexOf("bottom")>-1&&(h.options.position=c,t=d,M=r-p-N-12)}var g=a(this.element),h=this;if(g.data("tooltipsterIcon")!==d&&(g=g.data("tooltipsterIcon")),g.data("tooltipster")!==d&&""!==g.data("tooltipster")){var j=g.data("tooltipster");j.css("width","");var k=a(b).width(),l=g.outerWidth(!1),m=g.outerHeight(!1),n=j.outerWidth(!1),o=j.innerWidth()+1,p=j.outerHeight(!1),q=g.offset(),r=q.top,s=q.left,t=d;if(g.is("area")){var u=g.attr("shape"),v=g.parent().attr("name"),w=a('img[usemap="#'+v+'"]'),x=w.offset().left,y=w.offset().top,z=g.attr("coords")!==d?g.attr("coords").split(","):d;if("circle"==u){var A=parseInt(z[0]),B=parseInt(z[1]),C=parseInt(z[2]);m=2*C,l=2*C,r=y+B-C,s=x+A-C}else if("rect"==u){var A=parseInt(z[0]),B=parseInt(z[1]),D=parseInt(z[2]),E=parseInt(z[3]);m=E-B,l=D-A,r=y+B,s=x+A}else if("poly"==u){var F=0,G=0,H=0,I=0,J="even";for(i=0;iH&&(H=K,0==i&&(F=H)),F>K&&(F=K), J="odd"):(K>I&&(I=K,1==i&&(G=I)),G>K&&(G=K),J="even")}m=I-G,l=H-F,r=y+G,s=x+F}else m=w.outerHeight(!1),l=w.outerWidth(!1),r=y,s=x}0==h.options.fixedWidth&&j.css({width:o+"px","padding-left":"0px","padding-right":"0px"});var L=0,M=0,N=parseInt(h.options.offsetY),O=parseInt(h.options.offsetX),P="";if("top"==h.options.position){var Q=s+n-(s+l);L=s+O-Q/2,M=r-p-N-12,e(),f("bottom","top")}if("top-left"==h.options.position&&(L=s+O,M=r-p-N-12,e(),f("bottom-left","top-left")),"top-right"==h.options.position&&(L=s+l+O-n,M=r-p-N-12,e(),f("bottom-right","top-right")),"bottom"==h.options.position){var Q=s+n-(s+l);L=s-Q/2+O,M=r+m+N+12,e(),f("top","bottom")}if("bottom-left"==h.options.position&&(L=s+O,M=r+m+N+12,e(),f("top-left","bottom-left")),"bottom-right"==h.options.position&&(L=s+l+O-n,M=r+m+N+12,e(),f("top-right","bottom-right")),"left"==h.options.position){L=s-O-n-12,myLeftMirror=s+O+l+12;var R=r+p-(r+g.outerHeight(!1));if(M=r-R/2-N,0>L&&myLeftMirror+n>k){var S=2*parseFloat(j.css("border-width")),T=n+L-S;j.css("width",T+"px"),p=j.outerHeight(!1),L=s-O-T-12-S,R=r+p-(r+g.outerHeight(!1)),M=r-R/2-N}else 0>L&&(L=s+O+l+12,j.data("arrow-reposition","left"))}if("right"==h.options.position){L=s+O+l+12,myLeftMirror=s-O-n-12;var R=r+p-(r+g.outerHeight(!1));if(M=r-R/2-N,L+n>k&&myLeftMirror<0){var S=2*parseFloat(j.css("border-width")),T=k-L-S;j.css("width",T+"px"),p=j.outerHeight(!1),R=r+p-(r+g.outerHeight(!1)),M=r-R/2-N}else L+n>k&&(L=s-O-n-12,j.data("arrow-reposition","right"))}if(1==h.options.arrow){var U="tooltipster-arrow-"+h.options.position;if(h.options.arrowColor.length<1)var V=j.css("background-color");else var V=h.options.arrowColor;var W=j.data("arrow-reposition");if(W?"left"==W?(U="tooltipster-arrow-right",W=""):"right"==W?(U="tooltipster-arrow-left",W=""):W="left:"+W+"px;":W="","top"==h.options.position||"top-left"==h.options.position||"top-right"==h.options.position)var X=parseFloat(j.css("border-bottom-width")),Y=j.css("border-bottom-color");else if("bottom"==h.options.position||"bottom-left"==h.options.position||"bottom-right"==h.options.position)var X=parseFloat(j.css("border-top-width")),Y=j.css("border-top-color");else if("left"==h.options.position)var X=parseFloat(j.css("border-right-width")),Y=j.css("border-right-color");else if("right"==h.options.position)var X=parseFloat(j.css("border-left-width")),Y=j.css("border-left-color");else var X=parseFloat(j.css("border-bottom-width")),Y=j.css("border-bottom-color");X>1&&X++;var Z="";if(0!==X){var $="",_="border-color: "+Y+";";-1!==U.indexOf("bottom")?$="margin-top: -"+X+"px;":-1!==U.indexOf("top")?$="margin-bottom: -"+X+"px;":-1!==U.indexOf("left")?$="margin-right: -"+X+"px;":-1!==U.indexOf("right")&&($="margin-left: -"+X+"px;"),Z=''}j.find(".tooltipster-arrow").remove(),P='
'+Z+'
',j.append(P)}j.css({top:M+"px",left:L+"px"}),t!==d&&(h.options.position=t)}}},a.fn[h]=function(b){if("string"==typeof b){var c=this,g=arguments[1];if(c.data("plugin_tooltipster")==d){var i=c.find("*");c=a(),i.each(function(){a(this).data("plugin_tooltipster")!==d&&c.push(a(this))})}return c.each(function(){switch(b.toLowerCase()){case"show":a(this).data("plugin_tooltipster").showTooltip();break;case"hide":a(this).data("plugin_tooltipster").hideTooltip();break;case"disable":a(this).addClass("tooltipster-disable");break;case"enable":a(this).removeClass("tooltipster-disable");break;case"destroy":a(this).data("plugin_tooltipster").hideTooltip(),a(this).data("plugin_tooltipster","").attr("title",c.data("tooltipsterContent")).data("tooltipsterContent","").data("plugin_tooltipster","").off("mouseenter.tooltipster mouseleave.tooltipster click.tooltipster");break;case"update":a(this).data("tooltipsterContent",g);break;case"reposition":a(this).data("plugin_tooltipster").positionTooltip()}}),this}return this.each(function(){a.data(this,"plugin_"+h)||a.data(this,"plugin_"+h,new e(this,b));var c=a(this).data("plugin_tooltipster").options;if(1==c.iconDesktop&&!f()||1==c.iconTouch&&f()){var d=a(this).data("plugin_tooltipster");a(this).next().data("plugin_tooltipster",d)}})},f()&&b.addEventListener("orientationchange",function(){a(".tooltipster-base").length>0&&a(".tooltipster-base").each(function(){var b=a(this).data("origin");b.data("plugin_tooltipster").hideTooltip()})},!1),a(b).on("resize.tooltipster",function(){var b=a(".tooltipster-base").data("origin");null!==b&&b!==d&&b.tooltipster("reposition")})}(opjq,window,document),!function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$container=a("
",{"class":"ms-container"}),this.$selectableContainer=a("
",{"class":"ms-selectable"}),this.$selectionContainer=a("
",{"class":"ms-selection"}),this.$selectableUl=a("
    ",{"class":"ms-list",tabindex:"-1"}),this.$selectionUl=a("
      ",{"class":"ms-list",tabindex:"-1"}),this.scrollTo=0,this.elemsSelector="li:visible:not(.ms-optgroup-label,.ms-optgroup-container,."+c.disabledClass+")"};b.prototype={constructor:b,init:function(){var b=this,c=this.$element;if(0===c.next(".ms-container").length){c.css({position:"absolute",left:"-9999px"}),c.attr("id",c.attr("id")?c.attr("id"):Math.ceil(1e3*Math.random())+"multiselect"),this.$container.attr("id","ms-"+c.attr("id")),this.$container.addClass(b.options.cssClass),c.find("option").each(function(){b.generateLisFromOption(this)}),this.$selectionUl.find(".ms-optgroup-label").hide(),b.options.selectableHeader&&b.$selectableContainer.append(b.options.selectableHeader),b.$selectableContainer.append(b.$selectableUl),b.options.selectableFooter&&b.$selectableContainer.append(b.options.selectableFooter),b.options.selectionHeader&&b.$selectionContainer.append(b.options.selectionHeader),b.$selectionContainer.append(b.$selectionUl),b.options.selectionFooter&&b.$selectionContainer.append(b.options.selectionFooter),b.$container.append(b.$selectableContainer),b.$container.append(b.$selectionContainer),c.after(b.$container),b.activeMouse(b.$selectableUl),b.activeKeyboard(b.$selectableUl);var d=b.options.dblClick?"dblclick":"click";b.$selectableUl.on(d,".ms-elem-selectable",function(){b.select(a(this).data("ms-value"))}),b.$selectionUl.on(d,".ms-elem-selection",function(){b.deselect(a(this).data("ms-value"))}),b.activeMouse(b.$selectionUl),b.activeKeyboard(b.$selectionUl),c.on("focus",function(){b.$selectableUl.focus()})}var e=c.find("option:selected").map(function(){return a(this).val()}).get();b.select(e,"init"),"function"==typeof b.options.afterInit&&b.options.afterInit.call(this,this.$container)},generateLisFromOption:function(b,c,d){for(var e=this,f=e.$element,g="",h=a(b),i=0;i"+e.escapeHTML(h.text())+""),l=k.clone(),m=h.val(),n=e.sanitize(m);k.data("ms-value",m).addClass("ms-elem-selectable").attr("id",n+"-selectable"),l.data("ms-value",m).addClass("ms-elem-selection").attr("id",n+"-selection").hide(),(h.prop("disabled")||f.prop("disabled"))&&(l.addClass(e.options.disabledClass),k.addClass(e.options.disabledClass));var o=h.parent("optgroup");if(o.length>0){var p=o.attr("label"),q=e.sanitize(p),r=e.$selectableUl.find("#optgroup-selectable-"+q),s=e.$selectionUl.find("#optgroup-selection-"+q);if(0===r.length){var t='
    • ',u='
      • '+p+"
      ";r=a(t),s=a(t),r.attr("id","optgroup-selectable-"+q),s.attr("id","optgroup-selection-"+q),r.append(a(u)),s.append(a(u)),e.options.selectableOptgroup&&(r.find(".ms-optgroup-label").on("click",function(){var b=o.children(":not(:selected, :disabled)").map(function(){return a(this).val()}).get();e.select(b)}),s.find(".ms-optgroup-label").on("click",function(){var b=o.children(":selected:not(:disabled)").map(function(){return a(this).val()}).get();e.deselect(b)})),e.$selectableUl.append(r),e.$selectionUl.append(s)}c=void 0===c?r.find("ul").children().length:c+1,k.insertAt(c,r.children()),l.insertAt(c,s.children())}else c=void 0===c?e.$selectableUl.children().length:c,k.insertAt(c,e.$selectableUl),l.insertAt(c,e.$selectionUl)},addOption:function(b){var c=this;void 0!==b.value&&null!==b.value&&(b=[b]),a.each(b,function(b,d){if(void 0!==d.value&&null!==d.value&&0===c.$element.find("option[value='"+d.value+"']").length){var e=a('"),f=void 0===d.nested?c.$element:a("optgroup[label='"+d.nested+"']"),b=parseInt("undefined"==typeof d.index?f.children().length:d.index);d.optionClass&&e.addClass(d.optionClass),d.disabled&&e.prop("disabled",!0),e.insertAt(b,f),c.generateLisFromOption(e.get(0),b,d.nested)}})},escapeHTML:function(b){return a("
      ").text(b).html()},activeKeyboard:function(b){var c=this;b.on("focus",function(){a(this).addClass("ms-focus")}).on("blur",function(){a(this).removeClass("ms-focus")}).on("keydown",function(d){switch(d.which){case 40:case 38:return d.preventDefault(),d.stopPropagation(),void c.moveHighlight(a(this),38===d.which?-1:1);case 37:case 39:return d.preventDefault(),d.stopPropagation(),void c.switchList(b);case 9:if(c.$element.is("[tabindex]")){d.preventDefault();var e=parseInt(c.$element.attr("tabindex"),10);return e=d.shiftKey?e-1:e+1,void a('[tabindex="'+e+'"]').focus()}d.shiftKey&&c.$element.trigger("focus")}return a.inArray(d.which,c.options.keySelect)>-1?(d.preventDefault(),d.stopPropagation(),void c.selectHighlighted(b)):void 0})},moveHighlight:function(a,b){var c=a.find(this.elemsSelector),d=c.filter(".ms-hover"),e=null,f=c.first().outerHeight(),g=a.height();"#"+this.$container.prop("id");if(c.removeClass("ms-hover"),1===b){if(e=d.nextAll(this.elemsSelector).first(),0===e.length){var h=d.parent();if(h.hasClass("ms-optgroup")){var i=h.parent(),j=i.next(":visible");e=j.length>0?j.find(this.elemsSelector).first():c.first()}else e=c.first()}}else if(-1===b&&(e=d.prevAll(this.elemsSelector).first(),0===e.length)){var h=d.parent();if(h.hasClass("ms-optgroup")){var i=h.parent(),k=i.prev(":visible");e=k.length>0?k.find(this.elemsSelector).last():c.last()}else e=c.last()}if(e.length>0){e.addClass("ms-hover");var l=a.scrollTop()+e.position().top-g/2+f/2;a.scrollTop(l)}},selectHighlighted:function(a){var b=a.find(this.elemsSelector),c=b.filter(".ms-hover").first();c.length>0&&(a.parent().hasClass("ms-selectable")?this.select(c.data("ms-value")):this.deselect(c.data("ms-value")),b.removeClass("ms-hover"))},switchList:function(a){a.blur(),this.$container.find(this.elemsSelector).removeClass("ms-hover"),a.parent().hasClass("ms-selectable")?this.$selectionUl.focus():this.$selectableUl.focus()},activeMouse:function(b){var c=this;this.$container.on("mouseenter",c.elemsSelector,function(){a(this).parents(".ms-container").find(c.elemsSelector).removeClass("ms-hover"),a(this).addClass("ms-hover")}),this.$container.on("mouseleave",c.elemsSelector,function(){a(this).parents(".ms-container").find(c.elemsSelector).removeClass("ms-hover")})},refresh:function(){this.destroy(),this.$element.multiSelect(this.options)},destroy:function(){a("#ms-"+this.$element.attr("id")).remove(),this.$element.off("focus"),this.$element.css("position","").css("left",""),this.$element.removeData("multiselect")},select:function(b,c){"string"==typeof b&&(b=[b]);var d=this,e=this.$element,f=a.map(b,function(a){return d.sanitize(a)}),g=this.$selectableUl.find("#"+f.join("-selectable, #")+"-selectable").filter(":not(."+d.options.disabledClass+")"),h=this.$selectionUl.find("#"+f.join("-selection, #")+"-selection").filter(":not(."+d.options.disabledClass+")"),i=e.find("option:not(:disabled)").filter(function(){return a.inArray(this.value,b)>-1});if("init"===c&&(g=this.$selectableUl.find("#"+f.join("-selectable, #")+"-selectable"),h=this.$selectionUl.find("#"+f.join("-selection, #")+"-selection")),g.length>0){g.addClass("ms-selected").hide(),h.addClass("ms-selected").show(),i.prop("selected",!0),d.$container.find(d.elemsSelector).removeClass("ms-hover");var j=d.$selectableUl.children(".ms-optgroup-container");if(j.length>0){j.each(function(){var b=a(this).find(".ms-elem-selectable");b.length===b.filter(".ms-selected").length&&a(this).find(".ms-optgroup-label").hide()});var k=d.$selectionUl.children(".ms-optgroup-container");k.each(function(){var b=a(this).find(".ms-elem-selection");b.filter(".ms-selected").length>0&&a(this).find(".ms-optgroup-label").show()})}else if(d.options.keepOrder&&"init"!==c){var l=d.$selectionUl.find(".ms-selected");l.length>1&&l.last().get(0)!=h.get(0)&&h.insertAfter(l.last())}"init"!==c&&(e.trigger("change"),"function"==typeof d.options.afterSelect&&d.options.afterSelect.call(this,b))}},deselect:function(b){"string"==typeof b&&(b=[b]);var c=this,d=this.$element,e=a.map(b,function(a){return c.sanitize(a)}),f=this.$selectableUl.find("#"+e.join("-selectable, #")+"-selectable"),g=this.$selectionUl.find("#"+e.join("-selection, #")+"-selection").filter(".ms-selected").filter(":not(."+c.options.disabledClass+")"),h=d.find("option").filter(function(){return a.inArray(this.value,b)>-1});if(g.length>0){f.removeClass("ms-selected").show(),g.removeClass("ms-selected").hide(),h.prop("selected",!1),c.$container.find(c.elemsSelector).removeClass("ms-hover");var i=c.$selectableUl.children(".ms-optgroup-container");if(i.length>0){i.each(function(){var b=a(this).find(".ms-elem-selectable");b.filter(":not(.ms-selected)").length>0&&a(this).find(".ms-optgroup-label").show()});var j=c.$selectionUl.children(".ms-optgroup-container");j.each(function(){var b=a(this).find(".ms-elem-selection");0===b.filter(".ms-selected").length&&a(this).find(".ms-optgroup-label").hide()})}d.trigger("change"),"function"==typeof c.options.afterDeselect&&c.options.afterDeselect.call(this,b)}},select_all:function(){var b=this.$element,c=b.val();if(b.find('option:not(":disabled")').prop("selected",!0),this.$selectableUl.find(".ms-elem-selectable").filter(":not(."+this.options.disabledClass+")").addClass("ms-selected").hide(),this.$selectionUl.find(".ms-optgroup-label").show(),this.$selectableUl.find(".ms-optgroup-label").hide(),this.$selectionUl.find(".ms-elem-selection").filter(":not(."+this.options.disabledClass+")").addClass("ms-selected").show(),this.$selectionUl.focus(),b.trigger("change"),"function"==typeof this.options.afterSelect){var d=a.grep(b.val(),function(b){return a.inArray(b,c)<0});this.options.afterSelect.call(this,d)}},deselect_all:function(){var a=this.$element,b=a.val();a.find("option").prop("selected",!1),this.$selectableUl.find(".ms-elem-selectable").removeClass("ms-selected").show(),this.$selectionUl.find(".ms-optgroup-label").hide(),this.$selectableUl.find(".ms-optgroup-label").show(),this.$selectionUl.find(".ms-elem-selection").removeClass("ms-selected").hide(),this.$selectableUl.focus(),a.trigger("change"),"function"==typeof this.options.afterDeselect&&this.options.afterDeselect.call(this,b)},sanitize:function(a){var b,c,d=0;if(0==a.length)return d;var e=0;for(b=0,e=a.length;e>b;b++)c=a.charCodeAt(b),d=(d<<5)-d+c,d|=0;return d}},a.fn.multiSelect=function(){var c=arguments[0],d=arguments;return this.each(function(){var e=a(this),f=e.data("multiselect"),g=a.extend({},a.fn.multiSelect.defaults,e.data(),"object"==typeof c&&c);f||e.data("multiselect",f=new b(this,g)),"string"==typeof c?f[c](d[1]):f.init()})},a.fn.multiSelect.defaults={keySelect:[32],selectableOptgroup:!1,disabledClass:"disabled",dblClick:!1,keepOrder:!1,cssClass:""},a.fn.multiSelect.Constructor=b,a.fn.insertAt=function(a,b){return this.each(function(){0===a?b.prepend(this):b.children().eq(a-1).after(this)})}}(window.opjq),function(a,b,c,d){a.fn.quicksearch=function(c,d){var e,f,g,h,i="",j=this,k=a.extend({delay:100,selector:null,stripeRows:null,loader:null,noResults:"",matchedResultsCount:0,bind:"keyup",onBefore:function(){},onAfter:function(){},show:function(){this.style.display=""},hide:function(){this.style.display="none"},prepareQuery:function(a){return a.toLowerCase().split(" ")},testQuery:function(a,b,c){for(var d=0;da;a++)e||k.testQuery(d,f[a],g[a])?(k.show.apply(g[a]),c=!1,b++):k.hide.apply(g[a]);return c?this.results(!1):(this.results(!0),this.stripe()),this.matchedResultsCount=b,this.loader(!1),k.onAfter(),this},this.search=function(a){i=a,j.trigger()},this.currentMatchedResults=function(){return this.matchedResultsCount},this.stripe=function(){if("object"==typeof k.stripeRows&&null!==k.stripeRows){var b=k.stripeRows.join(" "),c=k.stripeRows.length;h.not(":hidden").each(function(d){a(this).removeClass(b).addClass(k.stripeRows[d%c])})}return this},this.strip_html=function(b){var c=b.replace(new RegExp("<[^<]+>","g"),"");return c=a.trim(c.toLowerCase())},this.results=function(b){return"string"==typeof k.noResults&&""!==k.noResults&&(b?a(k.noResults).hide():a(k.noResults).show()),this},this.loader=function(b){return"string"==typeof k.loader&&""!==k.loader&&(b?a(k.loader).show():a(k.loader).hide()),this},this.cache=function(){h=a(c),"string"==typeof k.noResults&&""!==k.noResults&&(h=h.not(k.noResults));var b="string"==typeof k.selector?h.find(k.selector):a(c).not(k.noResults);return f=b.map(function(){return j.strip_html(this.innerHTML)}),g=h.map(function(){return this}),i=i||this.val()||"",this.go()},this.trigger=function(){return this.loader(!0),k.onBefore(),b.clearTimeout(e),e=b.setTimeout(function(){j.go()},k.delay),this},this.cache(),this.results(!0),this.stripe(),this.loader(!1),this.each(function(){a(this).on(k.bind,function(){i=a(this).val(),j.trigger()})})}}(opjq,this,document); // source --> https://windycityglam.com/wp-content/plugins/optimizePressPlugin/lib/modules/blog/video/flowplayer/flowplayer.min.js?ver=2.5.18 /*! Flowplayer v7.0.0 (Wednesday, 11. January 2017 04:54PM) | flowplayer.org/license */ /*! (C) WebReflection Mit Style License */ !function(a){function b(a,b,c,d){for(var f,g=c.slice(),h=e(b,a),i=0,j=g.length;j>i&&(handler=g[i],"object"==typeof handler&&"function"==typeof handler.handleEvent?handler.handleEvent(h):handler.call(a,h),!h.stoppedImmediatePropagation);i++);return f=!h.stoppedPropagation,d&&f&&a.parentNode?a.parentNode.dispatchEvent(h):!h.defaultPrevented}function c(a,b){return{configurable:!0,get:a,set:b}}function d(a,b,d){var e=s(b||a,d);q(a,"textContent",c(function(){return e.get.call(this)},function(a){e.set.call(this,a)}))}function e(a,b){return a.currentTarget=b,a.eventPhase=a.target===a.currentTarget?2:3,a}function f(a,b){for(var c=a.length;c--&&a[c]!==b;);return c}function g(){if("BR"===this.tagName)return"\n";for(var a=this.firstChild,b=[];a;)8!==a.nodeType&&7!==a.nodeType&&b.push(a.textContent),a=a.nextSibling;return b.join("")}function h(a){!l&&x.test(document.readyState)&&(l=!l,document.detachEvent(m,h),a=document.createEvent("Event"),a.initEvent(n,!0,!0),document.dispatchEvent(a))}function i(a){for(var b;b=this.lastChild;)this.removeChild(b);null!=a&&this.appendChild(document.createTextNode(a))}function j(b,c){return c||(c=a.event),c.target||(c.target=c.srcElement||c.fromElement||document),c.timeStamp||(c.timeStamp=(new Date).getTime()),c}if(!document.createEvent){var k=!0,l=!1,m="onreadystatechange",n="DOMContentLoaded",o="__IE8__"+Math.random(),p=a.Object,q=p.defineProperty||function(a,b,c){a[b]=c.value},r=p.defineProperties||function(b,c){for(var d in c)if(t.call(c,d))try{q(b,d,c[d])}catch(e){a.console&&console.log(d+" failed on object:",b,e.message)}},s=p.getOwnPropertyDescriptor,t=p.prototype.hasOwnProperty,u=a.Element.prototype,v=a.Text.prototype,w=/^[a-z]+$/,x=/loaded|complete/,y={},z=document.createElement("div");d(a.HTMLCommentElement.prototype,u,"nodeValue"),d(a.HTMLScriptElement.prototype,null,"text"),d(v,null,"nodeValue"),d(a.HTMLTitleElement.prototype,null,"text"),q(a.HTMLStyleElement.prototype,"textContent",function(a){return c(function(){return a.get.call(this.styleSheet)},function(b){a.set.call(this.styleSheet,b)})}(s(a.CSSStyleSheet.prototype,"cssText"))),r(u,{textContent:{get:g,set:i},firstElementChild:{get:function(){for(var a=this.childNodes||[],b=0,c=a.length;c>b;b++)if(1==a[b].nodeType)return a[b]}},lastElementChild:{get:function(){for(var a=this.childNodes||[],b=a.length;b--;)if(1==a[b].nodeType)return a[b]}},previousElementSibling:{get:function(){for(var a=this.previousSibling;a&&1!=a.nodeType;)a=a.previousSibling;return a}},nextElementSibling:{get:function(){for(var a=this.nextSibling;a&&1!=a.nodeType;)a=a.nextSibling;return a}},childElementCount:{get:function(){for(var a=0,b=this.childNodes||[],c=b.length;c--;a+=1==b[c].nodeType);return a}},addEventListener:{value:function(a,c,d){var e,g=this,h="on"+a,i=g[o]||q(g,o,{value:{}})[o],k=i[h]||(i[h]={}),l=k.h||(k.h=[]);if(!t.call(k,"w")){if(k.w=function(a){return a[o]||b(g,j(g,a),l,!1)},!t.call(y,h))if(w.test(a))try{e=document.createEventObject(),e[o]=!0,9!=g.nodeType&&null==g.parentNode&&z.appendChild(g),g.fireEvent(h,e),y[h]=!0}catch(e){for(y[h]=!1;z.hasChildNodes();)z.removeChild(z.firstChild)}else y[h]=!1;(k.n=y[h])&&g.attachEvent(h,k.w)}f(l,c)<0&&l[d?"unshift":"push"](c)}},dispatchEvent:{value:function(a){var c,d=this,e="on"+a.type,f=d[o],g=f&&f[e],h=!!g;return a.target||(a.target=d),h?g.n?d.fireEvent(e,a):b(d,a,g.h,!0):(c=d.parentNode)?c.dispatchEvent(a):!0,!a.defaultPrevented}},removeEventListener:{value:function(a,b,c){var d=this,e="on"+a,g=d[o],h=g&&g[e],i=h&&h.h,j=i?f(i,b):-1;j>-1&&i.splice(j,1)}}}),r(v,{addEventListener:{value:u.addEventListener},dispatchEvent:{value:u.dispatchEvent},removeEventListener:{value:u.removeEventListener}}),r(a.XMLHttpRequest.prototype,{addEventListener:{value:function(a,b,c){var d=this,e="on"+a,g=d[o]||q(d,o,{value:{}})[o],h=g[e]||(g[e]={}),i=h.h||(h.h=[]);f(i,b)<0&&(d[e]||(d[e]=function(){var b=document.createEvent("Event");b.initEvent(a,!0,!0),d.dispatchEvent(b)}),i[c?"unshift":"push"](b))}},dispatchEvent:{value:function(a){var c=this,d="on"+a.type,e=c[o],f=e&&e[d],g=!!f;return g&&(f.n?c.fireEvent(d,a):b(c,a,f.h,!0))}},removeEventListener:{value:u.removeEventListener}}),r(a.Event.prototype,{bubbles:{value:!0,writable:!0},cancelable:{value:!0,writable:!0},preventDefault:{value:function(){this.cancelable&&(this.defaultPrevented=!0,this.returnValue=!1)}},stopPropagation:{value:function(){this.stoppedPropagation=!0,this.cancelBubble=!0}},stopImmediatePropagation:{value:function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}},initEvent:{value:function(a,b,c){this.type=a,this.bubbles=!!b,this.cancelable=!!c,this.bubbles||this.stopPropagation()}}}),r(a.HTMLDocument.prototype,{textContent:{get:function(){return 11===this.nodeType?g.call(this):null},set:function(a){11===this.nodeType&&i.call(this,a)}},addEventListener:{value:function(b,c,d){var e=this;u.addEventListener.call(e,b,c,d),k&&b===n&&!x.test(e.readyState)&&(k=!1,e.attachEvent(m,h),a==top&&function f(a){try{e.documentElement.doScroll("left"),h()}catch(b){setTimeout(f,50)}}())}},dispatchEvent:{value:u.dispatchEvent},removeEventListener:{value:u.removeEventListener},createEvent:{value:function(a){var b;if("Event"!==a)throw new Error("unsupported "+a);return b=document.createEventObject(),b.timeStamp=(new Date).getTime(),b}}}),r(a.Window.prototype,{getComputedStyle:{value:function(){function a(a){this._=a}function b(){}var c=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,d=/^(top|right|bottom|left)$/,e=/\-([a-z])/g,f=function(a,b){return b.toUpperCase()};return a.prototype.getPropertyValue=function(a){var b,g,h,i=this._,j=i.style,k=i.currentStyle,l=i.runtimeStyle;return a=("float"===a?"style-float":a).replace(e,f),b=k?k[a]:j[a],c.test(b)&&!d.test(a)&&(g=j.left,h=l&&l.left,h&&(l.left=k.left),j.left="fontSize"===a?"1em":b,b=j.pixelLeft+"px",j.left=g,h&&(l.left=h)),null==b?b:b+""||"auto"},b.prototype.getPropertyValue=function(){return null},function(c,d){return d?new b(c):new a(c)}}()},addEventListener:{value:function(c,d,e){var g,h=a,i="on"+c;h[i]||(h[i]=function(a){return b(h,j(h,a),g,!1)}),g=h[i][o]||(h[i][o]=[]),f(g,d)<0&&g[e?"unshift":"push"](d)}},dispatchEvent:{value:function(b){var c=a["on"+b.type];return c?c.call(a,b)!==!1&&!b.defaultPrevented:!0}},removeEventListener:{value:function(b,c,d){var e="on"+b,g=(a[e]||p)[o],h=g?f(g,c):-1;h>-1&&g.splice(h,1)}}})}}(this),function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.flowplayer=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g"+c+"").attr(b)[0]}},d.toggleClass=function(a,b,c){if(a){var d=e(a);"undefined"==typeof c?d.toggle(b):c?d.add(b):c||d.remove(b)}},d.addClass=function(a,b){return d.toggleClass(a,b,!0)},d.removeClass=function(a,b){return d.toggleClass(a,b,!1)},d.append=function(a,b){return a.appendChild(b),a},d.appendTo=function(a,b){return d.append(b,a),a},d.prepend=function(a,b){a.insertBefore(b,a.firstChild)},d.insertAfter=function(a,b,c){b==d.lastChild(a)&&a.appendChild(c);var e=Array.prototype.indexOf.call(a.children,b);a.insertBefore(c,a.children[e+1])},d.html=function(a,b){a=a.length?a:[a],a.forEach(function(a){a.innerHTML=b})},d.attr=function(a,b,c){if("class"===b&&(b="className"),d.hasOwnOrPrototypeProperty(a,b))try{a[b]=c}catch(e){if(!f)throw e;f(a).attr(b,c)}else c===!1?a.removeAttribute(b):a.setAttribute(b,c);return a},d.prop=function(a,b,c){return"undefined"==typeof c?a&&a[b]:void(a[b]=c)},d.offset=function(a){var b=a.getBoundingClientRect();return a.offsetWidth/a.offsetHeight>a.clientWidth/a.clientHeight&&(b={left:100*b.left,right:100*b.right,top:100*b.top,bottom:100*b.bottom,width:100*b.width,height:100*b.height}),b},d.width=function(a,b){if(b)return a.style.width=(""+b).replace(/px$/,"")+"px";var c=d.offset(a).width;return"undefined"==typeof c?a.offsetWidth:c},d.height=function(a,b){if(b)return a.style.height=(""+b).replace(/px$/,"")+"px";var c=d.offset(a).height;return"undefined"==typeof c?a.offsetHeight:c},d.lastChild=function(a){return a.children[a.children.length-1]},d.hasParent=function(a,b){for(var c=a.parentElement;c;){if(d.matches(c,b))return!0;c=c.parentElement}return!1},d.createAbsoluteUrl=function(a){return d.createElement("a",{href:a}).href},d.xhrGet=function(a,b,c){var d=new XMLHttpRequest;d.onreadystatechange=function(){return 4===this.readyState?this.status>=400?c():void b(this.responseText):void 0},d.open("get",a,!0),d.send()},d.pick=function(a,b){var c={};return b.forEach(function(b){a.hasOwnProperty(b)&&(c[b]=a[b])}),c},d.hostname=function(a){return g.toUnicode(a||window.location.hostname)},d.browser={webkit:"WebkitAppearance"in document.documentElement.style},d.getPrototype=function(a){return Object.getPrototypeOf?Object.getPrototypeOf(a):a.__proto__},d.hasOwnOrPrototypeProperty=function(a,b){for(var c=a;c;){if(Object.prototype.hasOwnProperty.call(c,b))return!0;c=d.getPrototype(c)}return!1},d.matches=function(a,b){var c=Element.prototype,d=c.matches||c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector||function(a){for(var b=this,c=(b.document||b.ownerDocument).querySelectorAll(a),d=0;c[d]&&c[d]!==b;)d++;return c[d]?!0:!1};return d.call(a,b)},function(a){function b(a){return a.replace(/-[a-z]/g,function(a){return a[1].toUpperCase()})}"undefined"!=typeof a.setAttribute&&(a.setProperty=function(a,c){return this.setAttribute(b(a),String(c))},a.getPropertyValue=function(a){return this.getAttribute(b(a))||null},a.removeProperty=function(a){var c=this.getPropertyValue(a);return this.removeAttribute(b(a)),c})}(window.CSSStyleDeclaration.prototype)},{"class-list":33,"computed-style":34,punycode:41}],2:[function(a,b,c){"use strict";var d=a("../common");b.exports=function(a,b,c,e){c=c||"opaque";var f="obj"+(""+Math.random()).slice(2,15),g='-1;g+=h?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+a+'" type="application/x-shockwave-flash">';var i={width:"100%",height:"100%",allowscriptaccess:"always",wmode:c,quality:"high",flashvars:"",movie:a+(h?"?"+f:""),name:f};"transparent"!==c&&(i.bgcolor=e||"#333333"),Object.keys(b).forEach(function(a){i.flashvars+=a+"="+b[a]+"&"}),Object.keys(i).forEach(function(a){g+=''}),g+="";var j=d.createElement("div",{},g);return d.find("object",j)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(a,b,c){"use strict";function d(a){return/^https?:/.test(a)}var e,f=a("../flowplayer"),g=a("../common"),h=a("./embed"),i=a("extend-object"),j=a("bean");e=function(a,b){function c(a){function b(a){return("0"+parseInt(a).toString(16)).slice(-2)}return(a=a.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+b(a[1])+b(a[2])+b(a[3]):void 0}function k(a){if(7===a.length)return a;var b=a.split("").slice(1);return"#"+b.map(function(a){return a+a}).join("")}function l(a){return/application\/x-mpegurl/i.test(a.type)}var m,n,o,p,q=a.conf,r=[],s={engineName:e.engineName,pick:function(b){var c=i({},function(){if(f.support.flashVideo){for(var c,d,e=0;e video",b)[0],v=e.src,w=d(v),x=function(){g.removeNode(u)},y=function(a){return a.some(function(a){return!!u.canPlayType(a.type)})};f.support.video&&g.prop(u,"autoplay")&&y(e.sources)?j.one(u,"timeupdate",x):x();var z=e.rtmp||q.rtmp;if(w||z||(v=g.createAbsoluteUrl(v)),o&&l(e)&&o.data!==g.createAbsoluteUrl(q.swfHls)&&s.unload(),o){["live","preload","loop"].forEach(function(a){e.hasOwnProperty(a)&&o.__set(a,e[a])}),Object.keys(e.flashls||{}).forEach(function(a){o.__set("hls_"+a,e.flashls[a])});var A=!1;if(!w&&z)o.__set("rtmp",z.url||z);else{var B=o.__get("rtmp");A=!!B,o.__set("rtmp",null)}o.__play(v,A||e.rtmp&&e.rtmp!==q.rtmp)}else{n="fpCallback"+(""+Math.random()).slice(3,15),v=t(v);var C={hostname:q.embedded?g.hostname(q.hostname):g.hostname(location.hostname),url:v,callback:n};b.getAttribute("data-origin")&&(C.origin=b.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(a){q.hasOwnProperty(a)&&(C[a]=q[a]),e.hasOwnProperty(a)&&(C[a]=e[a]),(q.rtmp||{}).hasOwnProperty(a)&&(C[a]=(q.rtmp||{})[a]),(e.rtmp||{}).hasOwnProperty(a)&&(C[a]=(e.rtmp||{})[a])}),q.rtmp&&(C.rtmp=q.rtmp.url||q.rtmp),e.rtmp&&(C.rtmp=e.rtmp.url||e.rtmp),Object.keys(e.flashls||{}).forEach(function(a){var b=e.flashls[a];C["hls_"+a]=b});var D="undefined"!=typeof e.hlsQualities?e.hlsQualities:q.hlsQualities;"undefined"!=typeof D&&(C.hlsQualities=D?encodeURIComponent(JSON.stringify(D)):D),void 0!==q.bufferTime&&(C.bufferTime=q.bufferTime),w&&delete C.rtmp,C.rtmp&&(C.rtmp=t(C.rtmp));var E,F=q.bgcolor||g.css(b,"background-color")||"";0===F.indexOf("rgb")?E=c(F):0===F.indexOf("#")&&(E=k(F)),C.initialVolume=a.volumeLevel;var G=l(e)?q.swfHls:q.swf;o=h(G,C,q.wmode,E)[0];var H=g.find(".fp-player",b)[0];g.prepend(H,o),a.off("quality.flashengine").on("quality.flashengine",function(b,c,d){var e="undefined"!=typeof a.video.hlsQualities?a.video.hlsQualities:a.conf.hlsQualities;e&&o.__quality(d)}),setTimeout(function(){try{if(!o.PercentLoaded())return a.trigger("error",[a,{code:7,url:q.swf}])}catch(b){}},5e3),r.push(setTimeout(function(){"undefined"==typeof o.PercentLoaded&&a.trigger("flashdisabled",[a])},15e3)),r.push(setTimeout(function(){"undefined"==typeof o.PercentLoaded&&a.trigger("flashdisabled",[a,!1])},500)),a.off("resume.flashhack").on("resume.flashhack",function(){var b=setTimeout(function(){var b=o.__status().time,c=setTimeout(function(){a.playing&&!a.loading&&o.__status().time===b&&a.trigger("flashdisabled",[a])},400);r.push(c),a.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(c)})},800);r.push(b),a.one("progress",function(){clearTimeout(b)})}),o.pollInterval=setInterval(function(){if(o&&!p){var b=o.__status?o.__status():null;b&&((a.conf.live||a.live||e.live)&&(e.seekOffset=b.seekOffset),a.playing&&b.time&&b.time!==a.video.time&&a.trigger("progress",[a,b.time]),e.buffer=b.buffer/e.bytes*e.duration,a.trigger("buffer",[a,e.buffer]),!e.buffered&&b.time>0&&(e.buffered=!0,a.trigger("buffered",[a])))}},250),window[n]=function(c,d){var e=m;q.debug&&(0===c.indexOf("debug")&&d&&d.length?console.log.apply(console,["-- "+c].concat(d)):console.log("--",c,d));var f={type:c};switch(c){case"ready":d=i(e,d);break;case"click":f.flash=!0;break;case"keydown":f.which=d;break;case"seek":e.time=d;break;case"status":a.trigger("progress",[a,d.time]),d.buffer=c.seekable.start(null)||(c.currentTime=c.seekable.start(null)))}),Object.keys(o).forEach(function(e){var f=o[e];if(f){var j=function(i){if(g=c.listeners[h],i.target&&m.hasClass(i.target,"fp-engine")){u.debug&&!/progress/.test(f)&&console.log(e,"->",f,i);var j=function(){a.trigger(f,[a,k])};if(!a.ready&&!/ready|error/.test(f)||!f||!m.find("video",b).length)return void("resume"===f&&a.one("ready",function(){setTimeout(function(){j()})}));var k;if("unload"===f)return void a.unload();switch(f){case"ready":k=l(g,{duration:c.duration0||a.live)k=Math.max(c.currentTime,0);else if("progress"==f)return;break;case"speed":k=d(c.playbackRate);break;case"volume":k=d(c.volume);break;case"error":try{k=(i.srcElement||i.originalTarget).error,k.video=l(g,{src:c.src,url:c.src})}catch(s){return}}j()}};b.addEventListener(e,j,!0),i[e]||(i[e]=[]),i[e].push(j)}}),i}var e,n,q,r,s=m.findDirect("video",b)[0]||m.find(".fp-player > video",b)[0],t=j.support,u=a.conf;return e={engineName:i.engineName,pick:function(a){var b=function(){if(t.video){if(u.videoTypePreference){var b=g(a,u.videoTypePreference);if(b)return b}for(var c=0;c=0&&e.addClass(b,"cue"+a)}function d(b){var c=b&&!isNaN(b.time)?b.time:b;return 0>c&&(c=a.video.duration+c),.125*Math.round(c/.125)}var g=/ ?cue\d+ ?/,h=!1,i={},j=-.125,k=function(b){var d=a.cuepoints.indexOf(b);isNaN(b)||(b={time:b}),b.index=d,c(d),a.trigger("cuepoint",[a,b])};a.on("progress",function(a,b,c){if(!h)for(var e=d(c);e>j;)j+=.125,i[j]&&i[j].forEach(k)}).on("unload",c).on("beforeseek",function(a){setTimeout(function(){a.defaultPrevented||(h=!0)})}).on("seek",function(a,b,e){c(),j=d(e||0)-.125,h=!1,!e&&i[0]&&i[0].forEach(k)}).on("ready",function(b,c,d){j=-.125;var e=d.cuepoints||a.conf.cuepoints||[];a.setCuepoints(e)}).on("finish",function(){j=-.125}),a.conf.generate_cuepoints&&a.bind("load",function(){e.find(".fp-cuepoint",b).forEach(e.removeNode)}),a.setCuepoints=function(b){return a.cuepoints=[],i={},b.forEach(a.addCuepoint),a},a.addCuepoint=function(c){a.cuepoints||(a.cuepoints=[]);var g=d(c);if(i[g]||(i[g]=[]),i[g].push(c),a.cuepoints.push(c),a.conf.generate_cuepoints&&c.visible!==!1){var h=a.video.duration,j=e.find(".fp-timeline",b)[0];e.css(j,"overflow","visible");var k=c.time||c;0>k&&(k=h+k);var l=e.createElement("a",{className:"fp-cuepoint fp-cuepoint"+(a.cuepoints.length-1)});e.css(l,"left",k/h*100+"%"),j.appendChild(l),f.on(l,"mousedown",function(b){b.preventDefault(),b.stopPropagation(),a.seek(k)})}return a},a.removeCuepoint=function(b){var c=a.cuepoints.indexOf(b),e=d(b);if(-1!==c){a.cuepoints=a.cuepoints.slice(0,c).concat(a.cuepoints.slice(c+1));var f=i[e].indexOf(b);if(-1!==f)return i[e]=i[e].slice(0,f).concat(i[e].slice(f+1)),a}}})},{"../common":1,"../flowplayer":28,bean:31}],9:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("bean"),f=a("../common"),g=a("./util/clipboard");d(function(a,b){if(a.conf.embed!==!1&&a.conf.share!==!1){var c=f.find(".fp-share-menu",b)[0],d=f.createElement("a",{"class":"fp-icon fp-embed",title:"Copy to your site"},"Embed");f.append(c,d),a.embedCode=function(){var c=a.conf.embed||{},d=a.video,e=c.width||d.width||f.width(b),g=c.height||d.height||f.height(b),h=a.conf.ratio,i=''):((!h||a.conf.adaptiveRatio)&&(h=g/e),'
      '+i+'position:absolute;top:0;left:0;width:100%;height:100%;">
      ')},e.on(b,"click",".fp-embed",function(){g(a.embedCode(),function(){a.message("The embed code is now on your clipboard",2e3)},function(){a.textarea(a.embedCode(),"Copy the code below to embed your video")})})}})},{"../common":1,"../flowplayer":28,"./util/clipboard":27,bean:31}],10:[function(a,b,c){"use strict";b.exports=function(a,b){b||(b=document.createElement("div"));var c={},d={},e=function(a,e,f){var g=a.split(".")[0],h=function(i){f&&(b.removeEventListener(g,h),c[a].splice(c[a].indexOf(h),1));var j=[i].concat(d[i.timeStamp+i.type]||[]);e&&e.apply(void 0,j)};b.addEventListener(g,h),c[a]||(c[a]=[]),c[a].push(h)};a.on=a.bind=function(b,c){var d=b.split(" ");return d.forEach(function(a){e(a,c)}),a},a.one=function(b,c){var d=b.split(" ");return d.forEach(function(a){e(a,c,!0); }),a};var f=function(a,b){return 0===b.filter(function(b){return-1===a.indexOf(b)}).length};a.off=a.unbind=function(d){var e=d.split(" ");return e.forEach(function(a){var d=a.split(".").slice(1),e=a.split(".")[0];Object.keys(c).filter(function(a){var b=a.split(".").slice(1);return(!e||0===a.indexOf(e))&&f(b,d)}).forEach(function(a){var d=c[a],e=a.split(".")[0];c[a]=d.filter(function(a){return b.removeEventListener(e,a),!1})})}),a},a.trigger=function(c,e,f){if(c){e=(e||[]).length?e||[]:[e];var g,h=document.createEvent("Event");return g=c.type||c,h.initEvent(g,!1,!0),Object.defineProperty&&(h.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),d[h.timeStamp+h.type]=e,b.dispatchEvent(h),f?h:a}}},b.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],11:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("../common"),f=a("bean");d(function(a,b){var c=a.conf;if(c.share!==!1&&c.facebook){a.facebook=function(){var a,b,d=550,e=420,f=screen.height,g=screen.width,h="scrollbars=yes,resizable=yes,toolbar=no,location=yes",i="string"==typeof c.facebook?c.facebook:window.location.toString();a=Math.round(g/2-d/2),b=0,f>e&&(b=Math.round(f/2-e/2)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(i),"sharer",h+",width="+d+",height="+e+",left="+a+",top="+b)};var d=e.find(".fp-share-menu",b)[0],g=e.createElement("a",{"class":"fp-icon fp-facebook"},"Facebook");e.append(d,g),f.on(b,"click",".fp-facebook",function(){a.facebook()})}})},{"../common":1,"../flowplayer":28,bean:31}],12:[function(a,b,c){"use strict";var d,e=a("../flowplayer"),f=a("bean"),g=a("../common"),h="fullscreen",i="fullscreen-exit",j=e.support.fullscreen,k=navigator.userAgent.toLowerCase(),l=/(safari)[ \/]([\w.]+)/.exec(k)&&!/(chrome)[ \/]([\w.]+)/.exec(k);f.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(a){var b=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement||a.target;if(d||b.parentNode&&b.parentNode.getAttribute("data-flowplayer-instance-id")){var c=d||e(b.parentNode);b&&!d?d=c.trigger(h,[b]):(d.trigger(i,[d]),d=null)}}),e(function(a,b){var c=g.createElement("div",{className:"fp-player"});if(Array.prototype.map.call(b.children,g.identity).forEach(function(a){g.matches(a,".fp-ratio,script")||c.appendChild(a)}),b.appendChild(c),a.conf.fullscreen){var e,f,k=window;a.isFullscreen=!1,a.fullscreen=function(b){return a.disabled?void 0:(void 0===b&&(b=!a.isFullscreen),b&&(e=k.scrollY,f=k.scrollX),j?b?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(a){return"function"==typeof c[a]?(c[a](Element.ALLOW_KEYBOARD_INPUT),!l||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||c[a](),!1):void 0}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(a){return"function"==typeof document[a]?(document[a](),!1):void 0}):a.trigger(b?h:i,[a]),a)};var m;a.on("mousedown.fs",function(){+new Date-m<150&&a.ready&&a.fullscreen(),m=+new Date}),a.on(h,function(){g.addClass(b,"is-fullscreen"),g.toggleClass(b,"fp-minimal-fullscreen",g.hasClass(b,"fp-minimal")),g.removeClass(b,"fp-minimal"),j||g.css(b,"position","fixed"),a.isFullscreen=!0}).on(i,function(){var c;g.toggleClass(b,"fp-minimal",g.hasClass(b,"fp-minimal-fullscreen")),g.removeClass(b,"fp-minimal-fullscreen"),j||"html5"!==a.engine||(c=b.css("opacity")||"",g.css(b,"opacity",0)),j||g.css(b,"position",""),g.removeClass(b,"is-fullscreen"),j||"html5"!==a.engine||setTimeout(function(){b.css("opacity",c)}),a.isFullscreen=!1,k.scrollTo(f,e)}).on("unload",function(){a.isFullscreen&&a.fullscreen()}),a.on("shutdown",function(){d=null})}})},{"../common":1,"../flowplayer":28,bean:31}],13:[function(a,b,c){"use strict";var d,e,f=a("../flowplayer"),g=a("bean"),h="is-help",i=a("../common");g.on(document,"keydown.fp",function(a){var b=d,c=a.ctrlKey||a.metaKey||a.altKey,f=a.which,g=b&&b.conf;if(b&&g.keyboard&&!b.disabled){if(-1!=[63,187,191].indexOf(f))return i.toggleClass(e,h),!1;if(27==f&&i.hasClass(e,h))return i.toggleClass(e,h),!1;if(!c&&b.ready){if(a.preventDefault(),a.shiftKey)return void(39==f?b.speed(!0):37==f&&b.speed(!1));if(58>f&&f>47)return b.seekTo(f-48);switch(f){case 38:case 75:b.volume(b.volumeLevel+.15);break;case 40:case 74:b.volume(b.volumeLevel-.15);break;case 39:case 76:b.seeking=!0,b.seek(!0);break;case 37:case 72:b.seeking=!0,b.seek(!1);break;case 190:b.seekTo();break;case 32:b.toggle();break;case 70:g.fullscreen&&b.fullscreen();break;case 77:b.mute();break;case 81:b.unload()}}}}),f(function(a,b){if(a.conf.keyboard){g.on(b,"mouseenter mouseleave",function(c){d=a.disabled||"mouseover"!=c.type?0:a,d&&(e=b)});var c=f.support.video&&"flash"!==a.conf.engine&&document.createElement("video").playbackRate?"

      shift + slower / faster

      ":"";b.appendChild(i.createElement("div",{className:"fp-help"},'

      spaceplay / pause

      qunload | stop

      ffullscreen

      '+c+'

      volume

      mmute

      seek

       . seek to previous

      126 seek to 10%, 20% … 60%

      ')),g.on(b,"click",".fp-close",function(){i.toggleClass(b,h)}),a.bind("shutdown",function(){e==b&&(e=null)})}})},{"../common":1,"../flowplayer":28,bean:31}],14:[function(a,b,c){var d=a("../flowplayer"),e=a("../common"),f=a("bean");d(function(a,b){a.showMenu=function(c,d){var g=e.find(".fp-ui",b)[0];e.toggleClass(c,"fp-active",!0),setTimeout(function(){f.one(document,"click",function(){a.hideMenu(c)})});var h=d;if(d&&d.tagName&&(h={left:e.offset(d).left,rightFallbackOffset:e.width(d),top:e.offset(d).top+e.height(d)}),h){h.rightFallbackOffset=h.rightFallbackOffset||0;var i=h.top-e.offset(g).top,j=h.left-e.offset(g).left;e.width(c)+j>e.width(g)&&(j=j-e.width(c)+h.rightFallbackOffset),e.height(c)+i>e.height(g)&&(i-=e.height(c)),e.css(c,{top:i+"px",left:j+"px"})}},a.hideMenu=function(a){e.toggleClass(a,"fp-active",!1)}})},{"../common":1,"../flowplayer":28,bean:31}],15:[function(a,b,c){var d=a("../flowplayer"),e=a("../common"),f=a("bean");d(function(a,b){function c(a){var b=e.createElement("div",{className:"fp-message"},a);return h.insertBefore(b,g),setTimeout(function(){e.toggleClass(b,"fp-shown")}),b}function d(a){e.removeNode(a)}var g=e.find(".fp-header",b)[0],h=e.find(".fp-ui",b)[0];a.message=function(a,b){var f=c(a),g=function(){e.toggleClass(f,"fp-shown"),setTimeout(function(){d(f)},500)};return b&&setTimeout(g,b),g},a.textarea=function(a){var b=document.createElement("textarea");b.value=a,b.className="fp-textarea",h.appendChild(b),f.on(document,"click.fptextarea",function(a){return a.target===b?b.select():(a.stopPropagation(),a.preventDefault(),e.removeNode(b),void f.off(document,"click.fptextarea"))})}})},{"../common":1,"../flowplayer":28,bean:31}],16:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=/IEMobile/.test(window.navigator.userAgent),f=a("../common"),g=a("bean"),h=a("./ui").format,i=window.navigator.userAgent;(d.support.touch||e)&&d(function(a,b){var c=/Android/.test(i)&&!/Firefox/.test(i)&&!/Opera/.test(i),j=/Silk/.test(i),k=c?parseFloat(/Android\ (\d\.\d)/.exec(i)[1],10):0;if(c&&!e){if(!/Chrome/.test(i)&&4>k){var l=a.load;a.load=function(){var b=l.apply(a,arguments);return a.trigger("ready",[a,a.video]),b}}var m,n=0,o=function(a){m=setInterval(function(){a.video.time=++n,a.trigger("progress",[a,n])},1e3)};a.bind("ready pause unload",function(){m&&(clearInterval(m),m=null)}),a.bind("ready",function(){n=0}),a.bind("resume",function(b,c){return c.live?n?o(c):void a.one("progress",function(a,b,c){0===c&&o(b)}):void 0})}d.support.volume||(f.addClass(b,"no-volume"),f.addClass(b,"no-mute")),f.addClass(b,"is-touch"),a.sliders&&a.sliders.timeline&&a.sliders.timeline.disableAnimation(),(!d.support.inlineVideo||a.conf.native_fullscreen)&&(a.conf.nativesubtitles=!0);var p=!1;if(g.on(b,"touchmove",function(){p=!0}),g.on(b,"touchend click",function(c){return p?void(p=!1):a.playing&&!f.hasClass(b,"is-mouseover")?(f.addClass(b,"is-mouseover"),f.removeClass(b,"is-mouseout"),c.preventDefault(),void c.stopPropagation()):void(a.playing||a.splash||!f.hasClass(b,"is-mouseout")||f.hasClass(b,"is-mouseover")||setTimeout(function(){a.disabled||a.playing||a.splash||a.resume()},400))}),a.conf.native_fullscreen&&"function"==typeof document.createElement("video").webkitEnterFullScreen){var q=a.fullscreen;a.fullscreen=function(){var c=f.find("video.fp-engine",b)[0];return c?(a.trigger("fullscreen",[a]),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===c&&(g.off(document,".nativefullscreen"),g.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(g.off(document,".nativefullscreen"),a.trigger("fullscreen-exit",[a]))}))}),c.webkitEnterFullScreen(),void g.one(c,"webkitendfullscreen",function(){g.off(document,"fullscreenchange.nativefullscreen"),a.trigger("fullscreen-exit",[a]),f.prop(c,"controls",!0),f.prop(c,"controls",!1)})):q.apply(a)}}(c||j)&&a.bind("ready",function(){var c=f.find("video.fp-engine",b)[0];g.one(c,"canplay",function(){c.play()}),c.play(),a.bind("progress.dur",function(){var d=c.duration;1!==d&&(a.video.duration=d,f.find(".fp-duration",b)[0].innerHTML=h(d),a.unbind("progress.dur"))})})})},{"../common":1,"../flowplayer":28,"./ui":24,bean:31}],17:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("extend-object"),f=a("bean"),g=a("../common"),h=a("./resolve"),i=new h,j=window.opjq,k=/^#/;d(function(a,b){function c(){return g.find(o.query,d())}function d(){return k.test(o.query)?void 0:b}function l(){return g.find(o.query+"."+p,d())}function m(){var c=g.find(".fp-playlist",b)[0];if(!c){c=g.createElement("div",{className:"fp-playlist"});var d=g.find(".fp-next,.fp-prev",b);d.length?d[0].parentElement.insertBefore(c,d[0]):g.insertAfter(b,g.find("video",b)[0],c)}c.innerHTML="",a.conf.playlist[0].length&&(a.conf.playlist=a.conf.playlist.map(function(a){if("string"==typeof a){var b=a.split(h.TYPE_RE)[1];return{sources:[{type:"m3u8"===b.toLowerCase()?"application/x-mpegurl":"video/"+b,src:a}]}}return{sources:a.map(function(a){var b={};return Object.keys(a).forEach(function(c){b.type=/mpegurl/i.test(c)?"application/x-mpegurl":"video/"+c,b.src=a[c]}),b})}})),a.conf.playlist.forEach(function(a,b){var d=a.sources[0].src;c.appendChild(g.createElement("a",{href:d,"data-index":b}))})}function n(b){return"undefined"!=typeof b.index?b.index:"undefined"!=typeof a.video.index?a.video.index:a.conf.startIndex||0}var o=e({active:"is-active",advance:!0,query:".fp-playlist a"},a.conf),p=o.active,q=g.find(".fp-ui",b)[0],r=g.hasClass(b,"fp-custom-playlist")||!!o.customPlaylist;g.toggleClass(b,"fp-custom-playlist",r),g.toggleClass(b,"fp-default-playlist",!r),a.play=function(b){if(void 0===b)return a.resume();if("number"==typeof b&&!a.conf.playlist[b])return a;if("number"!=typeof b)return a.load.apply(null,arguments);var c=e({index:b},a.conf.playlist[b]);return b===a.video.index?a.load(c,function(){a.resume()}):(a.off("beforeresume.fromfirst"),a.load(c,function(){a.video.index=b}),a)},a.next=function(b){b&&b.preventDefault();var c=a.video.index;return-1!=c&&(c=c===a.conf.playlist.length-1?0:c+1,a.play(c)),a},a.prev=function(b){b&&b.preventDefault();var c=a.video.index;return-1!=c&&(c=0===c?a.conf.playlist.length-1:c-1,a.play(c)),a},a.setPlaylist=function(b){return a.conf.playlist=b,delete a.video.index,m(),a},a.addPlaylistItem=function(b){return a.setPlaylist(a.conf.playlist.concat([b]))},a.removePlaylistItem=function(b){var c=a.conf.playlist;return a.setPlaylist(c.slice(0,b).concat(c.slice(b+1)))},f.on(b,"click",".fp-next",a.next),f.on(b,"click",".fp-prev",a.prev),o.advance&&a.off("finish.pl").on("finish.pl",function(a,c){if(c.video.loop)return c.seek(0,function(){c.resume()});var d=c.video.index>=0?c.video.index+1:void 0;d1&&(c.one("beforeresume.fromfirst",function(a){a.preventDefault(),c.play(0)}),c.one("seek",function(){c.off("beforeresume.fromfirst")}))});var s=!1;a.conf.playlist.length&&(s=!0,m(),a.conf.clip&&a.conf.clip.sources.length||(a.conf.clip=a.conf.playlist[a.conf.startIndex||0])),c().length&&!s&&(a.conf.playlist=[],delete a.conf.startIndex,c().forEach(function(b){var c=b.href;b.setAttribute("data-index",a.conf.playlist.length);var d=i.resolve(c,a.conf.clip.sources);j&&e(d,j(b).data()),a.conf.playlist.push(d)})),g.find(".fp-prev,.fp-next,.fp-playlist",b).forEach(function(a){q.appendChild(a)}),f.on(k.test(o.query)?document:b,"click",o.query,function(b){b.preventDefault();var c=b.currentTarget,d=Number(c.getAttribute("data-index"));-1!=d&&a.play(d)}),a.on("load",function(c,e,f){if(a.conf.playlist.length){var h=l()[0],i=h&&h.getAttribute("data-index"),j=f.index=n(f),k=g.find(o.query+'[data-index="'+j+'"]',d())[0],m=j==a.conf.playlist.length-1;h&&g.removeClass(h,p),k&&g.addClass(k,p),g.removeClass(b,"video"+i),g.addClass(b,"video"+j),g.toggleClass(b,"last-video",m),f.index=e.video.index=j,f.is_last=e.video.is_last=m}}).on("unload.pl",function(){a.conf.playlist.length&&(l().forEach(function(a){g.toggleClass(a,p)}),a.conf.playlist.forEach(function(a,c){g.removeClass(b,"video"+c)}))}),a.conf.playlist.length&&(a.conf.loop=!1)})},{"../common":1,"../flowplayer":28,"./resolve":19,bean:31,"extend-object":36}],18:[function(a,b,c){var d=a("../flowplayer"),e=a("../common"),f=a("bean");d(function(a,b){function c(){e.find(".fp-qsel-menu",b).forEach(e.removeNode),e.find(".fp-qsel",b).forEach(e.removeNode)}function d(a){i.appendChild(e.createElement("strong",{className:"fp-qsel"},"HD"));var b=e.createElement("div",{className:"fp-menu fp-qsel-menu"},"Quality");a.forEach(function(a){var c=document.createElement("a"),d="undefined"!=typeof a.value?a.value:a;c.setAttribute("data-quality",d),c.innerHTML=a.label||a,b.appendChild(c)}),h.appendChild(b)}function g(a){e.find(".fp-qsel-menu a",b).forEach(function(b){e.toggleClass(b,"fp-selected",b.getAttribute("data-quality")==a),e.toggleClass(b,"fp-color",b.getAttribute("data-quality")==a)})}var h=e.find(".fp-ui",b)[0],i=e.find(".fp-controls",h)[0];f.on(b,"click",".fp-qsel",function(){var c=e.find(".fp-qsel-menu",b)[0];e.hasClass(c,"fp-active")?a.hideMenu():a.showMenu(c)}),f.on(b,"click",".fp-qsel-menu a",function(b){var c=b.target.getAttribute("data-quality");a.quality(c)}),a.quality=function(b){b=isNaN(Number(b))?b:Number(b),a.trigger("quality",[a,b])},a.on("quality",function(a,b,c){g(c,b.video.qualities)}),a.on("ready",function(a,b,e){c(),!e.qualities||e.qualities.filter(function(a){return"undefined"!=typeof a.value?a.value>-1:!0}).length<2||(d(e.qualities,e.quality),g(e.quality,e.qualities))})})},{"../common":1,"../flowplayer":28,bean:31}],19:[function(a,b,c){"use strict";function d(a){var b=a.attr("src"),c=a.attr("type")||"",d=b.split(f)[1];return c=c.toLowerCase(),g(a.data(),{src:b,suffix:d||c,type:c||d})}function e(a){return/mpegurl/i.test(a)?"application/x-mpegurl":"video/"+a}var f=/\.(\w{3,4})(\?.*)?$/i,g=a("extend-object");b.exports=function(){var a=this;a.sourcesFromVideoTag=function(a,b){var c=[];return b("source",a).each(function(){c.push(d(b(this)))}),!c.length&&a.length&&c.push(d(a)),c},a.resolve=function(a,b){return a?("string"==typeof a&&(a={src:a,sources:[]},a.sources=(b||[]).map(function(b){var c=b.src.split(f)[1];return{type:b.type,src:a.src.replace(f,"."+c+"$2")}})),a instanceof Array&&(a={sources:a.map(function(a){return a.type&&a.src?a:Object.keys(a).reduce(function(b,c){return g(b,{type:e(c),src:a[c]})},{})})}),a):{sources:b}}},b.exports.TYPE_RE=f},{"extend-object":36}],20:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("../common"),f=a("extend-object"),g=a("bean");d(function(a,b){var c=a.conf;if(c.share===!1)return void e.find(".fp-share",b).forEach(e.removeNode);a.shareUrl=function(b){if(b&&c.embed&&c.embed.iframe)return c.embed.iframe;if("string"==typeof a.conf.share)return a.conf.share;var d=encodeURIComponent(a.video.title||(e.find("title")[0]||{}).innerHTML||"Flowplayer video"),g=encodeURIComponent(btoa(JSON.stringify(f({},a.conf,a.extensions)))),h=encodeURIComponent(window.location.toString()),i=b?"https://flowplayer.org/e/":"https://flowplayer.org/s/";return i+"?t="+d+"&c="+g+"&r="+h};var d=e.createElement("div",{className:"fp-menu fp-share-menu"},"Share"),h=e.find(".fp-ui",b)[0];h.appendChild(d);var i=e.find(".fp-share",b)[0];g.on(b,"click",".fp-share",function(b){b.preventDefault(),e.hasClass(d,"fp-active")?a.hideMenu():a.showMenu(d,i)})})},{"../common":1,"../flowplayer":28,bean:31,"extend-object":36}],21:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("../common"),f=a("bean");d.defaults.subtitleParser=function(a){function b(a){var b=a.split(":");return 2==b.length&&b.unshift(0),60*b[0]*60+60*b[1]+parseFloat(b[2].replace(",","."))}for(var c,d,e,f=/^(([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]{2}:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/,g=[],h=0,i=a.split("\n"),j=i.length,k={};j>h;h++)if(d=f.exec(i[h])){for(c=i[h-1],e="

      "+i[++h]+"


      ";"string"==typeof i[++h]&&i[h].trim()&&h"+i[h]+"


      ";k={title:c,startTime:b(d[1]),endTime:b(d[3]),text:e},g.push(k)}return g},d(function(a,b){var c,g,h,i,j=function(){return h=e.createElement("strong",{className:"fp-cc"},"CC"),i=e.createElement("div",{className:"fp-menu fp-subtitle-menu"},"Closed Captions"),i.appendChild(e.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(a.video.subtitles||[]).forEach(function(a,b){var c=a.srclang||"en",d=a.label||"Default ("+c+")",f=e.createElement("a",{"data-subtitle-index":b},d);i.appendChild(f)}),e.find(".fp-ui",b)[0].appendChild(i),e.find(".fp-controls",b)[0].appendChild(h),h};f.on(b,"click",".fp-cc",function(){e.toggleClass(i,"fp-active")}),f.on(b,"click",".fp-subtitle-menu [data-subtitle-index]",function(b){b.preventDefault();var c=b.target.getAttribute("data-subtitle-index");return"-1"===c?a.disableSubtitles():void a.loadSubtitles(c)});var k=function(){g=e.find(".fp-subtitle",b)[0],g=g||e.appendTo(e.createElement("div",{"class":"fp-captions"}),e.find(".fp-player",b)[0]),Array.prototype.forEach.call(g.children,e.removeNode),e.find(".fp-subtitle-menu",b).forEach(e.removeNode),j()};a.on("ready",function(c,f,g){var i=f.conf;if(d.support.subtitles&&i.nativesubtitles&&"html5"==f.engine.engineName){var j=function(a){var c=e.find("video",b)[0].textTracks;c.length&&(c[0].mode=a)};if(!g.subtitles||!g.subtitles.length)return;var l=e.find("video.fp-engine",b)[0];return g.subtitles.some(function(a){return!e.isSameDomain(a.src)})&&e.attr(l,"crossorigin","anonymous"),"function"==typeof l.textTracks.addEventListener&&l.textTracks.addEventListener("addtrack",function(){j("disabled"),j("showing")}),void g.subtitles.forEach(function(a){l.appendChild(e.createElement("track",{kind:"subtitles",srclang:a.srclang||"en",label:a.label||"en",src:a.src,"default":a["default"]}))})}if(f.subtitles=[],k(),e.removeClass(b,"has-menu"),a.disableSubtitles(),e.toggleClass(h,"fp-hidden",!g.subtitles||!g.subtitles.length),g.subtitles&&g.subtitles.length){var m=g.subtitles.filter(function(a){return a["default"]})[0];m&&f.loadSubtitles(g.subtitles.indexOf(m))}}),a.bind("cuepoint",function(a,b,d){d.subtitle?(c=d.index,e.html(g,d.subtitle.text),e.addClass(g,"fp-shown")):d.subtitleEnd&&(e.removeClass(g,"fp-shown"),c=d.index)}),a.bind("seek",function(b,d,f){c&&a.cuepoints[c]&&a.cuepoints[c].time>f&&(e.removeClass(g,"fp-shown"),c=null),(a.cuepoints||[]).forEach(function(b){var d=b.subtitle;d&&c!=b.index?f>=b.time&&(!d.endTime||f<=d.endTime)&&a.trigger("cuepoint",[a,b]):b.subtitleEnd&&f>=b.time&&b.index==c+1&&a.trigger("cuepoint",[a,b])})});var l=function(a){e.toggleClass(e.find("a.fp-selected",i)[0],"fp-selected"),e.toggleClass(e.find('a[data-subtitle-index="'+a+'"]',i)[0],"fp-selected")};a.disableSubtitles=function(){return a.subtitles=[],(a.cuepoints||[]).forEach(function(b){(b.subtitle||b.subtitleEnd)&&a.removeCuepoint(b)}),g&&Array.prototype.forEach.call(g.children,e.removeNode),l(-1),a},a.loadSubtitles=function(b){a.disableSubtitles();var c=a.video.subtitles[b],d=c.src;return d?(l(b),e.xhrGet(d,function(b){var c=a.conf.subtitleParser(b);c.forEach(function(b){var c={time:b.startTime,subtitle:b,visible:!1};a.subtitles.push(b),a.addCuepoint(c),a.addCuepoint({time:b.endTime,subtitleEnd:b.title,visible:!1}),0!==b.startTime||a.video.time||a.trigger("cuepoint",[a,c])})},function(){return a.trigger("error",{code:8,url:d}),!1}),a):void 0}})},{"../common":1,"../flowplayer":28,bean:31}],22:[function(a,b,c){"use strict";var d=a("../flowplayer"),e=a("extend-object");!function(){var a=function(a){var b=/Version\/(\d+\.\d)/.exec(a);return b&&b.length>1?parseFloat(b[1],10):0},b=function(){var a=document.createElement("video");return a.loop=!0,a.autoplay=!0,a.preload=!0,a},c={},f=document.documentElement.style,g=navigator.userAgent.toLowerCase(),h=/(chrome)[ \/]([\w.]+)/.exec(g)||/(safari)[ \/]([\w.]+)/.exec(g)||/(webkit)[ \/]([\w.]+)/.exec(g)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(g)||/(msie) ([\w.]+)/.exec(g)||g.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(g)||[];h[1]&&(c[h[1]]=!0,c.version=h[2]||"0");var i=b(),j=navigator.userAgent,k=c.msie||/Trident\/7/.test(j),l=/iPad|MeeGo/.test(j)&&!/CriOS/.test(j),m=/iPad/.test(j)&&/CriOS/.test(j),n=/iP(hone|od)/i.test(j)&&!/iPad/.test(j)&&!/IEMobile/i.test(j),o=/Android/.test(j)&&!/Firefox/.test(j),p=/Android/.test(j)&&/Firefox/.test(j),q=/Silk/.test(j),r=/IEMobile/.test(j),s=r?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(j)[1],10):0,t=r?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(j)[1],10):0,u=l||n?a(j):0,v=o?parseFloat(/Android\ (\d\.\d)/.exec(j)[1],10):0,w=e(d.support,{browser:c,subtitles:!!i.addTextTrack,fullscreen:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(j)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(k&&c.version<8),touch:"ontouchstart"in window,dataload:!l&&!n&&!r,flex:"flexWrap"in f||"WebkitFlexWrap"in f||"msFlexWrap"in f,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!k&&!o,volume:!(l||n||q||m),cachedVideoTag:!(l||n||m||r),firstframe:!(n||l||o||q||m||r||p),inlineVideo:(!n||u>=10)&&(!r||s>=8.1&&t>=11)&&(!o||v>=3),hlsDuration:!o&&(!c.safari||l||n||m),seekable:!l&&!m});try{var x=navigator.plugins["Shockwave Flash"],y=k?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):x.description;k||x[0].enabledPlugin?(y=y.split(/\D+/),y.length&&!y[0]&&(y=y.slice(1)),w.flashVideo=y[0]>9||9==y[0]&&y[3]>=115):w.flashVideo=!1}catch(z){}try{w.video=!!i.canPlayType,w.video&&i.canPlayType("video/mp4")}catch(A){w.video=!1}w.animation=function(){for(var a=["","Webkit","Moz","O","ms","Khtml"],b=document.createElement("p"),c=0;cf&&(d=Math.round(g/2-f/2)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(j),"intent",i+",width="+e+",height="+f+",left="+b+",top="+d)};var d=e.find(".fp-share-menu",b)[0],g=e.createElement("a",{"class":"fp-icon fp-twitter"},"Twitter");e.append(d,g),f.on(b,"click",".fp-twitter",function(){a.tweet()})}})},{"../common":1,"../flowplayer":28,bean:31}],24:[function(a,b,c){(function(c){"use strict";function d(a){return a=parseInt(a,10),a>=10?a:"0"+a}function e(a,b){a=Math.max(a||0,0),a=b?Math.ceil(a):Math.floor(a);var c=Math.floor(a/3600),e=Math.floor(a/60);return a-=60*e,c>=1?(e-=60*c,c+":"+d(e)+":"+d(a)):d(e)+":"+d(a)}var f=a("../flowplayer"),g=a("../common"),h=a("bean"),i=a("./ui/slider"),j=a("./ui/bar-slider"),k=c("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNNDEuMDM1OSw3MS4xOWE1LjA0OTIsNS4wNDkyLDAsMCwxLTIuNTU3NS0uNjY3M2MtMS44MDMxLTEuMDQxLTIuNzk1OC0zLjEyNDgtMi43OTU4LTUuODY2NFYzNS4xODg3YzAtMi43NDI5Ljk5MzMtNC44MjcyLDIuNzk3LTUuODY3NiwxLjgwMjUtMS4wNDIyLDQuMTAzNC0uODYsNi40OC41MTQzTDcwLjQ3ODIsNDQuNTY3MmMyLjM3NTEsMS4zNzExLDMuNjgyNiwzLjI3MjUsMy42ODMyLDUuMzU0NXMtMS4zMDc2LDMuOTg0NS0zLjY4MzIsNS4zNTYyTDQ0Ljk1OTIsNzAuMDExNEE3LjkzODQsNy45Mzg0LDAsMCwxLDQxLjAzNTksNzEuMTlabS4wMDY1LTQwLjEyM2EyLjY3OTQsMi42Nzk0LDAsMCwwLTEuMzU4Mi4zNDEzYy0xLjAyNjMuNTkyNi0xLjU5MTIsMS45MzQ5LTEuNTkxMiwzLjc4VjY0LjY1NjNjMCwxLjg0NDkuNTY0OSwzLjE4NjYsMS41OTA2LDMuNzc5MSwxLjAyODEuNTkzMiwyLjQ3MzMuNDEwOCw0LjA3LS41MTJMNjkuMjczLDUzLjE5MDZjMS41OTgzLS45MjI3LDIuNDc4LTIuMDgzOCwyLjQ3OC0zLjI2ODlzLS44OC0yLjM0NDUtMi40NzgtMy4yNjY2TDQzLjc1NCwzMS45MjI3QTUuNTY4NSw1LjU2ODUsMCwwLDAsNDEuMDQyMywzMS4wNjcxWiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),l=c("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLWZpbGwiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogIDxkZWZzPjxzdHlsZT4uYXtmaWxsOiMwMDA7b3BhY2l0eTowLjY1O30uYntmaWxsOiNmZmY7b3BhY2l0eToxLjA7fTwvc3R5bGU+CiAgPC9kZWZzPjx0aXRsZT5wbGF5LXJvdW5kZWQtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cGF0aCBjbGFzcz0iYiIgZD0iTTM1Ljk0MiwzNS4yMzIzYzAtNC43Mjg5LDMuMzUwNi02LjY2MzcsNy40NDYtNC4yOTcxTDY4LjgzLDQ1LjYyMzVjNC4wOTU2LDIuMzY0LDQuMDk1Niw2LjIzMTksMCw4LjU5NzdMNDMuMzg4LDY4LjkxYy00LjA5NTQsMi4zNjQtNy40NDYuNDMtNy40NDYtNC4yOTc5WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPgogIDwvc3ZnPgogIAo=","base64"),m=c("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5jb250cm9sYnV0dG9ue2ZpbGw6I2ZmZjt9PC9zdHlsZT4KICA8L2RlZnM+CiAgPHRpdGxlPnBsYXktc2hhcnAtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cG9seWdvbiBjbGFzcz0iY29udHJvbGJ1dHRvbiIgcG9pbnRzPSI3My42MDEgNTAgMzcuOTY4IDcwLjU3MyAzNy45NjggMjkuNDI3IDczLjYwMSA1MCIgZmlsdGVyPSJ1cmwoI2YxKSIvPgo8L3N2Zz4K","base64"),n=c("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDQgOTkuODQzNCI+PGRlZnM+PHN0eWxlPi5jb250cm9sYnV0dG9uYmd7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGxheS1zaGFycC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNMzYuOTQ0Myw3Mi4yNDczVjI3LjI5MTZMNzUuODc3Niw0OS43N1ptMi4yLTQxLjE0NTVWNjguNDM3MUw3MS40Nzc2LDQ5Ljc3WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),o=c("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDM0IDk5Ljg0MzQiPjxkZWZzPjxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5yZWN0e2ZpbGw6I2ZmZjt9PC9zdHlsZT4KPC9kZWZzPjx0aXRsZT5wYXVzZS1yb3VuZGVkLW91dGxpbmU8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxMi0uMDc4M2E1MCw1MCwwLDEsMCw1MC4wMDA2LDUwQTUwLjA1NjIsNTAuMDU2MiwwLDAsMCw0OS45MjEyLS4wNzgzWiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIj48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTM5LjAwMzYsNzEuOTcyNmE3LjU2NSw3LjU2NSwwLDAsMS03LjU1Ny03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NDgsNy41NjQ4LDAsMCwxLDM5LjAwMzYsNzEuOTcyNlptMC00MS45MDRhNS4zNjQ3LDUuMzY0NywwLDAsMC01LjM1OTMsNS4zNTgydjI4Ljk5YTUuMzU4Nyw1LjM1ODcsMCwwLDAsMTAuNzE3NCwwdi0yOC45OUE1LjM2NDUsNS4zNjQ1LDAsMCwwLDM5LjAwMzYsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTYwLjg0LDcxLjk3MjZhNy41NjQ4LDcuNTY0OCwwLDAsMS03LjU1Ni03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NSw3LjU2NSwwLDAsMSw2MC44NCw3MS45NzI2Wm0wLTQxLjkwNGE1LjM2NDUsNS4zNjQ1LDAsMCwwLTUuMzU4Miw1LjM1ODJ2MjguOTlhNS4zNTg3LDUuMzU4NywwLDAsMCwxMC43MTc0LDB2LTI4Ljk5QTUuMzY0Nyw1LjM2NDcsMCwwLDAsNjAuODQsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48L2c+PC9zdmc+Cg==","base64"),p=c("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utcm91bmRlZC1maWxsPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIiBmaWx0ZXI9InVybCgjZjEpIj48cmVjdCBjbGFzcz0icmVjdCIgeD0iMzEuODQ0IiB5PSIyOC4xMjMxIiB3aWR0aD0iMTMuNDM2MiIgaGVpZ2h0PSI0My41OTczIiByeD0iNi43MTgxIiByeT0iNi43MTgxIi8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjU2MzgiIHk9IjI4LjEyMzEiIHdpZHRoPSIxMy40MzYyIiBoZWlnaHQ9IjQzLjU5NzMiIHJ4PSI2LjcxODEiIHJ5PSI2LjcxODEiLz48L2c+PC9zdmc+Cg==","base64"),q=c("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtZmlsbCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGRlZnM+PHN0eWxlPi5mcC1jb2xvci1wbGF5e29wYWNpdHk6MC42NTt9LnJlY3R7ZmlsbDojZmZmO308L3N0eWxlPgo8L2RlZnM+PHRpdGxlPnBhdXNlLXNoYXJwLWZpbGw8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxNy0uMDc4YTUwLDUwLDAsMSwwLDUwLDUwQTUwLjA1NjQsNTAuMDU2NCwwLDAsMCw0OS45MjE3LS4wNzhaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxyZWN0IGNsYXNzPSJyZWN0IiB4PSIzMy41IiB5PSIzMC4xMDQyIiB3aWR0aD0iMTIuMjYzNCIgaGVpZ2h0PSIzOS43OTE3Ii8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjIzNjYiIHk9IjMwLjEwNDIiIHdpZHRoPSIxMi4yNjM0IiBoZWlnaHQ9IjM5Ljc5MTciLz48L2c+PC9zdmc+Cg==","base64"),r=c("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtb3V0bGluZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgOTkuODQzNCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utc2hhcnAtb3V0bGluZTwvdGl0bGU+PHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjEyLS4wNzgzYTUwLDUwLDAsMSwwLDUwLjAwMDYsNTBBNTAuMDU2Miw1MC4wNTYyLDAsMCwwLDQ5LjkyMTItLjA3ODNaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNzaGFkb3cpIj48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTQ2Ljg3MDksNjkuOTUzMUgzMy4xMzg1VjI5Ljg5SDQ2Ljg3MDlaTTM1LjE0MTYsNjcuOTVoOS43MjYyVjMxLjg5MzVIMzUuMTQxNloiLz48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTY2LjcwNDcsNjkuOTUzMUg1Mi45NzIyVjI5Ljg5SDY2LjcwNDdaTTU0Ljk3NTQsNjcuOTVoOS43MjYyVjMxLjg5MzVINTQuOTc1NFoiLz48L2c+PC9zdmc+Cg==","base64");f(function(a,b){function d(a){return g.find(".fp-"+a,b)[0]}function s(a){g.css(C,"padding-top",100*a+"%"),x.inlineBlock||g.height(g.find("object",b)[0],g.height(b))}function t(a){a?(g.addClass(b,"is-mouseover"),g.removeClass(b,"is-mouseout")):(g.addClass(b,"is-mouseout"),g.removeClass(b,"is-mouseover")); }g.find(".fp-filters").forEach(g.removeNode);var u;document.body.appendChild(u=g.createElement("div",{},c("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),g.css(u,{width:0,height:0,overflow:"hidden"});var v,w=a.conf,x=f.support;g.find(".fp-ratio,.fp-ui",b).forEach(g.removeNode),g.addClass(b,"flowplayer"),b.appendChild(g.createElement("div",{className:"fp-ratio"}));var y=g.createElement("div",{className:"fp-ui"},'

      {{ PLAY_ROUNDED_FILL }} {{ PLAY_ROUNDED_OUTLINE }} {{ PLAY_SHARP_FILL }} {{ PLAY_SHARP_OUTLINE }}
      {{ PAUSE_SHARP_OUTLINE }} {{ PAUSE_SHARP_FILL }} {{ PAUSE_ROUNDED_OUTLINE }} {{ PAUSE_ROUNDED_FILL }}
      00:00
      '.replace("{{ PAUSE_ROUNDED_FILL }}",p).replace("{{ PAUSE_ROUNDED_OUTLINE }}",o).replace("{{ PAUSE_SHARP_FILL }}",q).replace("{{ PAUSE_SHARP_OUTLINE }}",r).replace("{{ PLAY_SHARP_OUTLINE }}",n).replace("{{ PLAY_SHARP_FILL }}",m).replace("{{ PLAY_ROUNDED_OUTLINE }}",k).replace("{{ PLAY_ROUNDED_FILL }}",l));b.appendChild(y);var z=d("buffer"),A=d("waiting"),B=d("elapsed"),C=d("ratio"),D=d("speed"),E=d("speed-flash"),F=d("duration"),G=d("remaining"),H=d("timestamp"),I=g.css(C,"padding-top"),J=d("play"),K=d("pause"),L=d("timeline"),M=i(L,a.rtl),N=d("fullscreen"),O=d("volumebar"),P=j(O,{rtl:a.rtl}),Q=g.hasClass(b,"no-toggle");M.disableAnimation(g.hasClass(b,"is-touch")),a.sliders=a.sliders||{},a.sliders.timeline=M,a.sliders.volume=P,x.animation||g.html(A,"

      loading …

      "),w.ratio&&s(w.ratio);try{w.fullscreen||g.removeNode(N)}catch(R){g.removeNode(N)}a.on("dvrwindow",function(){M.disable(!1)}),a.on("ready",function(a,c,d){var f=c.video.duration;M.disable(c.disabled||!f),w.adaptiveRatio&&!isNaN(d.height/d.width)&&s(d.height/d.width,!0),g.html([F,G],c.live?"Live":e(f)),g.toggleClass(b,"is-long",f>=3600),P.slide(c.volumeLevel),"flash"===c.engine.engineName?M.disableAnimation(!0,!0):M.disableAnimation(!1),g.find(".fp-title",y).forEach(g.removeNode),d.title&&g.prepend(y,g.createElement("div",{className:"fp-message fp-title"},d.title)),g.toggleClass(b,"has-title",!!d.title)}).on("unload",function(){I||w.splash||g.css(C,"paddingTop",""),M.slide(0),g.addClass(J,"fp-visible")}).on("buffer",function(){var b=a.video,c=b.buffer/b.duration;!b.seekable&&x.seekable&&M.max(a.conf.live?1/0:c),1>c?g.css(z,"width",100*c+"%"):g.css(z,"width","100%")}).on("speed",function(a,b,c){g.text(D,c+"x"),g.addClass(E,"fp-hilite"),setTimeout(function(){g.removeClass(E,"fp-hilite")},1e3)}).on("buffered",function(){g.css(z,"width","100%"),M.max(1)}).on("progress seek",function(b,c,d){var f=a.video.duration,h=a.video.seekOffset||0;d=d||a.video.time,M.dragging||M.slide((d-h)/(f-h),a.seeking?0:250),g.html(B,e(d)),g.html(G,e(f-d,!0))}).on("finish resume seek",function(a){g.toggleClass(b,"is-finished","finish"==a.type)}).on("resume",function(){g.addClass(J,"fp-visible"),setTimeout(function(){g.removeClass(J,"fp-visible")},300)}).on("pause",function(){g.addClass(K,"fp-visible"),setTimeout(function(){g.removeClass(K,"fp-visible")},300)}).on("stop",function(){g.html(B,e(0)),M.slide(0,100)}).on("finish",function(){g.html(B,e(a.video.duration)),M.slide(1,100),g.removeClass(b,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){P.slide(a.volumeLevel)}).on("disable",function(){var c=a.disabled;M.disable(c),P.disable(c),g.toggleClass(b,"is-disabled",a.disabled)}).on("mute",function(a,c,d){g.toggleClass(b,"is-muted",d)}).on("error",function(a,c,d){if(g.removeClass(b,"is-loading"),g.removeClass(b,"is-seeking"),g.addClass(b,"is-error"),d){d.message=w.errors[d.code],c.error=!0;var e=c.message((c.engine&&c.engine.engineName||"html5")+": "+d.message);g.removeClass(b,"is-mouseover"),c.one("load progress",function(){e()})}}),h.on(b,"mouseenter mouseleave",function(c){if(!Q){var d,e="mouseover"==c.type;if(t(e),e){var f=function(){t(!0),d=new Date};a.on("pause.x volume.x",f),h.on(b,"mousemove.x",f),v=setInterval(function(){new Date-d>w.mouseoutTimeout&&(t(!1),d=new Date)},100)}else h.off(b,"mousemove.x"),a.off("pause.x volume.x"),clearInterval(v)}}),h.on(b,"mouseleave",function(){(M.dragging||P.dragging)&&(g.addClass(b,"is-mouseover"),g.removeClass(b,"is-mouseout"))}),h.on(b,"click.player",function(b){return a.disabled?void 0:g.hasClass(b.target,"fp-ui")||g.hasClass(b.target,"fp-engine")||b.flash||g.hasParent(b.target,".fp-play,.fp-pause")?(b.preventDefault&&b.preventDefault(),a.toggle()):void 0}),h.on(b,"mousemove",".fp-timeline",function(b){var c=b.pageX||b.clientX,d=c-g.offset(L).left,f=d/g.width(L),h=(a.rtl?1-f:f)*a.video.duration;if(!(0>f)){g.html(H,e(h));var i=d-g.width(H)/2;0>i&&(i=0),i>g.width(L)-g.width(H)&&(i=!1),i!==!1?g.css(H,{left:i+"px",right:"auto"}):g.css(H,{left:"auto",right:"0px"})}}),h.on(b,"contextmenu",function(c){var d=window;if(!g.hasClass(b,"is-flash-disabled")){var e=g.find(".fp-context-menu",b)[0];e&&(c.preventDefault(),a.showMenu(e,{left:c.clientX-d.scrollX,top:c.clientY-d.scrollY}),h.on(b,"click",".fp-context-menu",function(a){a.stopPropagation()}))}}),a.on("flashdisabled",function(c,d,e){g.addClass(b,"is-flash-disabled");var f;e!==!1&&(f=a.message("Seems something is blocking Adobe Flash from running")),a.one("ready progress",function(){g.removeClass(b,"is-flash-disabled"),f&&f()})}),w.poster&&g.css(b,"background-image","url("+w.poster+")");var S=g.css(b,"background-color"),T="none"!=g.css(b,"background-image")||S&&"rgba(0, 0, 0, 0)"!=S&&"transparent"!=S;if(T&&!w.splash){w.poster||(w.poster=!0);var U=function(){g.addClass(b,"is-poster"),g.addClass(J,"fp-visible"),a.poster=!0,a.one(w.autoplay?"progress seek":"resume seek",function(){g.removeClass(b,"is-poster"),g.removeClass(J,"fp-visible"),a.poster=!1})};a.on("stop",function(){U()}),a.on("ready",function(a,b,c){c.index||c.autoplay||U()})}"string"==typeof w.splash&&g.css(b,"background-image","url('"+w.splash+"')"),!T&&a.forcedSplash&&g.css(b,"background-color","#555"),h.on(b,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){a.disabled||a.toggle()}),h.on(b,"click",".fp-volumebtn",function(){a.mute()}),h.on(b,"click",".fp-fullscreen",function(){a.fullscreen()}),h.on(b,"click",".fp-unload",function(){a.unload()}),h.on(L,"slide",function(b){a.seeking=!0,a.seekTo(10*b)}),h.on(O,"slide",function(b){a.volume(b)}),h.on(b,"click",".fp-duration,.fp-remaining",function(){g.toggleClass(b,"is-inverted")}),t(Q),a.on("shutdown",function(){h.off(L),h.off(O)})}),b.exports.format=e}).call(this,a("buffer").Buffer)},{"../common":1,"../flowplayer":28,"./ui/bar-slider":25,"./ui/slider":26,bean:31,buffer:32}],25:[function(a,b,c){function d(a,b){function c(b){var c=b.pageX||b.clientX,d=f.offset(a),e=f.width(a);!c&&b.originalEvent&&b.originalEvent.touches&&b.originalEvent.touches.length&&(c=b.originalEvent.touches[0].pageX);var g=c-d.left;g=Math.max(0,Math.min(e,g));var h=g/e;return i&&(h=1-h),h}b=b||{};var d=b.activeClass||"fp-color",g=b.inactiveClass||"fp-grey",h=b.childSelector||"em",i=!!b.rtl,j=!1,k=f.find(h,a).length,l={unload:function(){e.off(a,".barslider")},slide:function(b,c){f.find(h,a).forEach(function(a,c){var e=b>c/k;f.toggleClass(a,d,e),f.toggleClass(a,g,!e)}),c&&e.fire(a,"slide",b)},disable:function(a){j=a}};return e.on(a,"mousedown.sld touchstart.sld",function(b){b.preventDefault(),j||(l.slide(c(b),!0),e.on(a,"mousemove.sld touchmove.sld",function(a){a.preventDefault(),l.slide(c(a),!0)}),e.one(document,"mouseup.sld touchup.sld",function(){e.off(a,"mousemove.sld touchmove.sld")}))}),l}var e=a("bean"),f=a("../../common");b.exports=d},{"../../common":1,bean:31}],26:[function(a,b,c){"use strict";var d=a("bean"),e=a("../../common"),f=function(a,b){var c;return function(){c||(a.apply(this,arguments),c=1,setTimeout(function(){c=0},b))}},g=function(a,b){var c,g,h,i,j,k,l,m,n=e.lastChild(a),o=!1,p=function(){g=e.offset(a),h=e.width(a),i=e.height(a),k=j?i:h,m=t(l)},q=function(b){c||b==u.value||l&&!(l>b)||(d.fire(a,"slide",[b]),u.value=b)},r=function(a){var c=a.pageX||a.clientX;!c&&a.originalEvent&&a.originalEvent.touches&&a.originalEvent.touches.length&&(c=a.originalEvent.touches[0].pageX);var d=j?a.pageY-g.top:c-g.left;d=Math.max(0,Math.min(m||k,d));var e=d/k;return j&&(e=1-e),b&&(e=1-e),s(e,0,!0)},s=function(a,b){void 0===b&&(b=0),a>1&&(a=1);var c=Math.round(1e3*a)/10+"%";return(!l||l>=a)&&(o?e.removeClass(n,"animated"):(e.addClass(n,"animated"),e.css(n,"transition-duration",(b||0)+"ms")),e.css(n,"width",c)),a},t=function(a){return Math.max(0,Math.min(k,j?(1-a)*i:a*h))},u={max:function(a){l=a},disable:function(a){c=a},slide:function(a,b,c){p(),c&&q(a),s(a,b)},disableAnimation:function(b,c){o=b!==!1,e.toggleClass(a,"no-animation",!!c)}};return p(),d.on(a,"mousedown.sld touchstart",function(b){if(b.preventDefault(),!c){var g=f(q,100);p(),u.dragging=!0,e.addClass(a,"is-dragging"),q(r(b)),d.on(document,"mousemove.sld touchmove.sld",function(a){a.preventDefault(),g(r(a))}),d.one(document,"mouseup touchend",function(){u.dragging=!1,e.removeClass(a,"is-dragging"),d.off(document,"mousemove.sld touchmove.sld")})}}),u};b.exports=g},{"../../common":1,bean:31}],27:[function(a,b,c){function d(a){var b=document.createElement("textarea");b.value=a,b.style.opacity=0,b.style.height=0,b.style.width=0,document.body.appendChild(b),b.select();var c=document.execCommand("copy");if(document.body.removeChild(b),!c)throw new Error("Unsuccessfull")}b.exports=function(a,b,c){try{d(a),b()}catch(e){c(e)}}},{}],28:[function(a,b,c){"use strict";function d(a,b,c){b&&b.embed&&(b.embed=e({},t.defaults.embed,b.embed));var d,h,i=a,n=e({},t.defaults,t.conf,b),p={},q=new v;j.addClass(i,"is-loading"),j.toggleClass(i,"no-flex",!t.support.flex),j.toggleClass(i,"no-svg",!t.support.svg);try{p=o?window.localStorage:p}catch(r){}if(n.aspectRatio&&"string"==typeof n.aspectRatio){var s=n.aspectRatio.split(/[:\/]/);n.ratio=s[1]/s[0]}var w=i.currentStyle&&"rtl"===i.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(i,null)&&"rtl"===window.getComputedStyle(i,null).getPropertyValue("direction");w&&j.addClass(i,"is-rtl");var x={conf:n,currentSpeed:1,volumeLevel:n.muted?0:"undefined"==typeof n.volume?1*p.volume:n.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==p.muted||n.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:w,hijack:function(a){try{x.engine.suspendEngine()}catch(b){}x.hijacked=a},release:function(){try{x.engine.resumeEngine()}catch(a){}x.hijacked=!1},load:function(a,b){if(!x.error&&!x.loading){x.video={},x.finished=!1,a=a||n.clip,a=e({},q.resolve(a,n.clip.sources)),(x.playing||x.engine)&&(a.autoplay=!0);var c=y(a);if(!c)return setTimeout(function(){x.trigger("error",[x,{code:t.support.flashVideo?5:10}])})&&x;if(!c.engineName)throw new Error("engineName property of factory should be exposed");if(x.engine&&c.engineName===x.engine.engineName||(x.ready=!1,x.engine&&(x.engine.unload(),x.conf.autoplay=!0),h=x.engine=c(x,i),x.one("ready",function(){setTimeout(function(){x.muted?x.mute(!0,!0):h.volume(x.volumeLevel)})})),e(a,h.pick(a.sources.filter(function(a){return a.engine?a.engine===h.engineName:!0}))),a.src){var d=x.trigger("load",[x,a,h],!0);d.defaultPrevented?x.loading=!1:(h.load(a),f(a)&&(b=a),b&&x.one("ready",b))}return x}},pause:function(a){return x.hijacked?x.hijacked.pause(a)|x:(!x.ready||x.seeking||x.loading||(h.pause(),x.one("pause",a)),x)},resume:function(){var a=x.trigger("beforeresume",[x],!0);if(!a.defaultPrevented)return x.hijacked?x.hijacked.resume()|x:(x.ready&&x.paused&&(h.resume(),x.finished&&(x.trigger("resume",[x]),x.finished=!1)),x)},toggle:function(){return x.ready?x.paused?x.resume():x.pause():x.load()},seek:function(a,b){if("boolean"==typeof a){var c=.1*x.video.duration;a=x.video.time+(a?c:-c),a=Math.min(Math.max(a,0),x.video.duration-.1)}if(x.hijacked)return x.hijacked.seek(a,b)|x;if(x.ready){d=a;var e=x.trigger("beforeseek",[x,a],!0);e.defaultPrevented?(x.seeking=!1,j.toggleClass(i,"is-seeking",x.seeking)):(h.seek(a),f(b)&&x.one("seek",b))}return x},seekTo:function(a,b){return void 0===a?x.seek(d,b):void 0!==x.video.seekOffset?x.seek(x.video.seekOffset+.1*(x.video.duration-x.video.seekOffset)*a,b):x.seek(.1*x.video.duration*a,b)},mute:function(a,b){return void 0===a&&(a=!x.muted),b||(p.muted=x.muted=a,p.volume=isNaN(p.volume)?n.volume:p.volume),x.volume(a?0:p.volume,!0),x.trigger("mute",[x,a]),x},volume:function(a,b){return x.ready&&(a=Math.min(Math.max(a,0),1),b||(p.volume=a),h.volume(a)),x},speed:function(a,b){return x.ready&&("boolean"==typeof a&&(a=n.speeds[n.speeds.indexOf(x.currentSpeed)+(a?1:-1)]||x.currentSpeed),h.speed(a),b&&i.one("speed",b)),x},stop:function(){return x.ready&&(x.pause(),x.seek(0,function(){x.trigger("stop",[x])})),x},unload:function(){return n.splash?(x.trigger("unload",[x]),h&&(h.unload(),x.engine=h=0)):x.stop(),x},shutdown:function(){x.unload(),x.trigger("shutdown",[x]),g.off(i),delete l[i.getAttribute("data-flowplayer-instance-id")],i.removeAttribute("data-flowplayer-instance-id")},disable:function(a){return void 0===a&&(a=!x.disabled),a!=x.disabled&&(x.disabled=a,x.trigger("disable",a)),x},registerExtension:function(a,b){a=a||[],b=b||[],"string"==typeof a&&(a=[a]),"string"==typeof b&&(b=[b]),a.forEach(function(a){x.extensions.js.push(a)}),b.forEach(function(a){x.extensions.css.push(a)})}};x.conf=e(x.conf,n),x.extensions={js:[],css:[]},t.extensions.forEach(function(a){x.registerExtension(a[0],a[1])}),k(x);var y=function(a){var b,c=t.engines;if(n.engine){var d=c.filter(function(a){return a.engineName===n.engine})[0];if(d&&a.sources.some(function(a){return a.engine&&a.engine!==d.engineName?!1:d.canPlay(a.type,x.conf)}))return d}return n.enginePreference&&(c=t.engines.filter(function(a){return n.enginePreference.indexOf(a.engineName)>-1}).sort(function(a,b){return n.enginePreference.indexOf(a.engineName)-n.enginePreference.indexOf(b.engineName)})),a.sources.some(function(a){var d=c.filter(function(b){return a.engine&&a.engine!==b.engineName?!1:b.canPlay(a.type,x.conf)}).shift();return d&&(b=d),!!d}),b};return i.getAttribute("data-flowplayer-instance-id")||(i.setAttribute("data-flowplayer-instance-id",u++),x.on("boot",function(){(n.splash||j.hasClass(i,"is-splash")||!t.support.firstframe)&&(x.forcedSplash=!n.splash&&!j.hasClass(i,"is-splash"),x.splash=n.autoplay=!0,n.splash||(n.splash=!0),j.addClass(i,"is-splash")),n.splash&&j.find("video",i).forEach(j.removeNode),(n.dvr||n.live||j.hasClass(i,"is-live"))&&(x.live=n.live=!0,x.dvr=n.dvr=!!n.dvr||j.hasClass(i,"is-dvr"),j.addClass(i,"is-live"),j.toggleClass(i,"is-dvr",x.dvr)),m.forEach(function(a){a(x,i)}),l.push(x),n.splash?x.unload():x.load(),n.disabled&&x.disable(),x.one("ready",c)}).on("load",function(a,b,c){n.splash&&j.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(a){var b=a.getAttribute("data-flowplayer-instance-id");if(b!==i.getAttribute("data-flowplayer-instance-id")){var c=l[Number(b)];c&&c.conf.splash&&c.unload()}}),j.addClass(i,"is-loading"),b.loading=!0,("undefined"!=typeof c.live||"undefined"!=typeof c.dvr)&&(j.toggleClass(i,"is-live",c.dvr||c.live),j.toggleClass(i,"is-dvr",!!c.dvr),b.live=c.dvr||c.live,b.dvr=!!c.dvr)}).on("ready",function(a,b,c){c.time=0,b.video=c,j.removeClass(i,"is-loading"),b.loading=!1,b.muted?b.mute(!0,!0):b.volume(b.volumeLevel);var d=b.conf.hlsFix&&/mpegurl/i.exec(c.type);j.toggleClass(i,"hls-fix",!!d)}).on("unload",function(){j.removeClass(i,"is-loading"),x.loading=!1}).on("ready unload",function(a){var b="ready"==a.type;j.toggleClass(i,"is-splash",!b),j.toggleClass(i,"is-ready",b),x.ready=b,x.splash=!b}).on("progress",function(a,b,c){b.video.time=c}).on("buffer",function(a,b,c){b.video.buffer=c}).on("speed",function(a,b,c){b.currentSpeed=c}).on("volume",function(a,b,c){b.volumeLevel=Math.round(100*c)/100,b.muted?c&&b.mute(!1):p.volume=c}).on("beforeseek seek",function(a){x.seeking="beforeseek"==a.type,j.toggleClass(i,"is-seeking",x.seeking)}).on("ready pause resume unload finish stop",function(a){x.paused=/pause|finish|unload|stop/.test(a.type),x.paused=x.paused||"ready"===a.type&&!n.autoplay&&!x.playing,x.playing=!x.paused,j.toggleClass(i,"is-paused",x.paused),j.toggleClass(i,"is-playing",x.playing),x.load.ed||x.pause()}).on("finish",function(){x.finished=!0}).on("error",function(){})),x.trigger("boot",[x,i]),x}var e=a("extend-object"),f=a("is-function"),g=a("bean"),h=a("./ext/ui/slider"),i=a("./ext/ui/bar-slider"),j=a("./common"),k=a("./ext/events"),l=[],m=[],n=window.onbeforeunload;window.onbeforeunload=function(a){return l.forEach(function(a){a.conf.splash?a.unload():a.bind("error",function(){j.find(".flowplayer.is-error .fp-message").forEach(j.removeNode)})}),n?n(a):void 0};var o=!1;try{"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",o=!0)}catch(p){}var q=/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent),r=/(\d+\.\d+) Safari/.exec(navigator.userAgent),s=r?Number(r[1]):100,t=b.exports=function(a,b,c){if(f(a))return m.push(a);if("number"==typeof a||"undefined"==typeof a)return l[a||0];if(a.nodeType){if(null!==a.getAttribute("data-flowplayer-instance-id"))return l[a.getAttribute("data-flowplayer-instance-id")];if(!b)return;return d(a,b,c)}if(a.jquery)return t(a[0],b,c);if("string"==typeof a){var e=j.find(a)[0];return e&&t(e,b,c)}};e(t,{version:"7.0.0",engines:[],extensions:[],conf:{},set:function(a,b){"string"==typeof a?t.conf[a]=b:e(t.conf,a)},registerExtension:function(a,b){t.extensions.push([a,b])},support:{},defaults:{debug:o?!!localStorage.flowplayerDebug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,splash:!1,live:!1,swf:"//releases.flowplayer.org/7.0.0/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.0.0/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,volume:o?"true"==localStorage.muted?0:isNaN(localStorage.volume)?1:localStorage.volume||1:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:q&&8>s},bean:g,common:j,slider:h,barSlider:i,extend:e});var u=0,v=a("./ext/resolve");if("undefined"!=typeof window.opjq){var w=window.opjq;w(function(){"function"==typeof w.fn.flowplayer&&w('.flowplayer:has(video,script[type="application/json"])').flowplayer()});var x=function(a){if(!a.length)return{};var b=a.data()||{},c={};return w.each(["autoplay","loop","preload","poster"],function(d,e){var f=a.attr(e);void 0!==f&&-1!==["autoplay","poster"].indexOf(e)?c[e]=f?f:!0:void 0!==f&&(b[e]=f?f:!0)}),b.subtitles=a.find("track").map(function(){var a=w(this);return{src:a.attr("src"),kind:a.attr("kind"),label:a.attr("label"),srclang:a.attr("srclang"),"default":a.prop("default")}}).get(),b.sources=(new v).sourcesFromVideoTag(a,w),e(c,{clip:b})};w.fn.flowplayer=function(a,b){return this.each(function(){"string"==typeof a&&(a={swf:a}),f(a)&&(b=a,a={});var c=w(this),e=c.find('script[type="application/json"]'),g=e.length?JSON.parse(e.text()):x(c.find("video")),h=w.extend({},a||{},g,c.data()),i=d(this,h,b);k.EVENTS.forEach(function(a){i.on(a+".jquery",function(a){c.trigger.call(c,a.type,a.detail&&a.detail.args)})}),c.data("flowplayer",i)})}}},{"./common":1,"./ext/events":10,"./ext/resolve":19,"./ext/ui/bar-slider":25,"./ext/ui/slider":26,bean:31,"extend-object":36,"is-function":39}],29:[function(a,b,c){a("es5-shim");var d=b.exports=a("./flowplayer");a("./ext/support"),a("./engine/embed"),a("./engine/html5"),a("./engine/flash"),a("./ext/ui"),a("./ext/message"),a("./ext/keyboard"),a("./ext/playlist"),a("./ext/cuepoint"),a("./ext/subtitle"),a("./ext/analytics"),a("./ext/share"),a("./ext/facebook"),a("./ext/twitter"),a("./ext/embed"),a("./ext/airplay"),a("./ext/chromecast"),a("./ext/qsel"),a("./ext/menu"),a("./ext/fullscreen"),a("./ext/mobile"),d(function(a,b){function c(a){var b=document.createElement("a");return b.href=a,h.hostname(b.hostname)}var e=function(a,b){var c=a.className.split(" ");-1===c.indexOf(b)&&(a.className+=" "+b)},f=function(a){return"none"!==window.getComputedStyle(a).display},g=a.conf,h=d.common,i=h.createElement,j=g.swf.indexOf("flowplayer.org")&&g.e&&b.getAttribute("data-origin"),k=j?c(j):h.hostname(),l=(document,g.key);if("file:"==location.protocol&&(k="localhost"),a.load.ed=1,g.hostname=k,g.origin=j||location.href,j&&e(b,"is-embedded"),"string"==typeof l&&(l=l.split(/,\s*/)),l&&"function"==typeof key_check&&key_check(l,k)){if(g.logo){var m=h.find(".fp-player",b)[0],n=i("a",{className:"fp-logo"});j&&(n.href=j),g.embed&&g.embed.popup&&(n.target="_blank");var o=i("img",{src:g.logo});n.appendChild(o),(m||b).appendChild(n)}}else{var n=i("a",{href:"https://flowplayer.org/hello"});b.appendChild(n);var p=i("div",{className:"fp-context-menu fp-menu"},'© 2017 FlowplayerAbout FlowplayerGPL based license'),q=window.location.href.indexOf("localhost"),m=h.find(".fp-player",b)[0];7!==q&&(m||b).appendChild(p),a.on("pause resume finish unload ready",function(a,c){var d=-1;if(c.video.src)for(var e=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"]],g=0;g0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===a[b-2]?2:"="===a[b-1]?1:0}function e(a){return 3*a.length/4-d(a)}function f(a){var b,c,e,f,g,h,i=a.length;g=d(a),h=new l(3*i/4-g),e=g>0?i-4:i;var j=0;for(b=0,c=0;e>b;b+=4,c+=3)f=k[a.charCodeAt(b)]<<18|k[a.charCodeAt(b+1)]<<12|k[a.charCodeAt(b+2)]<<6|k[a.charCodeAt(b+3)],h[j++]=f>>16&255,h[j++]=f>>8&255,h[j++]=255&f;return 2===g?(f=k[a.charCodeAt(b)]<<2|k[a.charCodeAt(b+1)]>>4,h[j++]=255&f):1===g&&(f=k[a.charCodeAt(b)]<<10|k[a.charCodeAt(b+1)]<<4|k[a.charCodeAt(b+2)]>>2,h[j++]=f>>8&255,h[j++]=255&f),h}function g(a){return j[a>>18&63]+j[a>>12&63]+j[a>>6&63]+j[63&a]}function h(a,b,c){for(var d,e=[],f=b;c>f;f+=3)d=(a[f]<<16)+(a[f+1]<<8)+a[f+2],e.push(g(d));return e.join("")}function i(a){for(var b,c=a.length,d=c%3,e="",f=[],g=16383,i=0,k=c-d;k>i;i+=g)f.push(h(a,i,i+g>k?k:i+g));return 1===d?(b=a[c-1],e+=j[b>>2],e+=j[b<<4&63],e+="=="):2===d&&(b=(a[c-2]<<8)+a[c-1],e+=j[b>>10],e+=j[b>>4&63],e+=j[b<<2&63],e+="="),f.push(e),f.join("")}c.byteLength=e,c.toByteArray=f,c.fromByteArray=i;for(var j=[],k=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=m.length;o>n;++n)j[n]=m[n],k[m.charCodeAt(n)]=n;k["-".charCodeAt(0)]=62,k["_".charCodeAt(0)]=63},{}],31:[function(b,c,d){/*! * Bean - copyright (c) Jacob Thornton 2011-2012 * https://github.com/fat/bean * MIT license */ !function(b,d,e){"undefined"!=typeof c&&c.exports?c.exports=e():"function"==typeof a&&a.amd?a(e):d[b]=e()}("bean",this,function(a,b){a=a||"bean",b=b||this;var c,d=window,e=b[a],f=/[^\.]*(?=\..*)\.|.*/,g=/\..*/,h="addEventListener",i="removeEventListener",j=document||{},k=j.documentElement||{},l=k[h],m=l?h:"attachEvent",n={},o=Array.prototype.slice,p=function(a,b){return a.split(b||" ")},q=function(a){return"string"==typeof a},r=function(a){return"function"==typeof a},s="click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll ",t="show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ",u=function(a,b,c){for(c=0;ce;e++)if(m[e].reg.test(j)){n[j]=i=m[e].fix;break}for(h=i(a,this,j),e=h.length;e--;)!((g=h[e])in this)&&g in a&&(this[g]=a[g])}}};return o.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},o.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},o.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},o.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},o.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},o.prototype.clone=function(a){var b=new o(this,this.element,this.isNative);return b.currentTarget=a,b},o}(),x=function(a,b){return l||b||a!==j&&a!==d?a:k},y=function(){var a=function(a,b,c,d){var e=function(c,e){return b.apply(a,d?o.call(e,c?0:1).concat(d):e)},f=function(c,d){return b.__beanDel?b.__beanDel.ft(c.target,a):d},g=c?function(a){var b=f(a,this);return c.apply(b,arguments)?(a&&(a.currentTarget=b),e(a,arguments)):void 0}:function(a){return b.__beanDel&&(a=a.clone(f(a))),e(a,arguments)};return g.__beanDel=b.__beanDel,g},b=function(b,c,d,e,f,g,h){var i,j=v[c];"unload"==c&&(d=D(E,b,c,d,e)),j&&(j.condition&&(d=a(b,d,j.condition,g)),c=j.base||c),this.isNative=i=u[c]&&!!b[m],this.customType=!l&&!i&&c,this.element=b,this.type=c,this.original=e,this.namespaces=f,this.eventType=l||i?c:"propertychange",this.target=x(b,i),this[m]=!!this.target[m],this.root=h,this.handler=a(b,d,null,g)};return b.prototype.inNamespaces=function(a){var b,c,d=0;if(!a)return!0;if(!this.namespaces)return!1;for(b=a.length;b--;)for(c=this.namespaces.length;c--;)a[b]==this.namespaces[c]&&d++;return a.length===d},b.prototype.matches=function(a,b,c){return!(this.element!==a||b&&this.original!==b||c&&this.handler!==c)},b}(),z=function(){var a={},b=function(c,d,e,f,g,h){var i=g?"r":"$";if(d&&"*"!=d){var j,k=0,l=a[i+d],m="*"==c;if(!l)return;for(j=l.length;j>k;k++)if((m||l[k].matches(c,e,f))&&!h(l[k],l,k,d))return}else for(var n in a)n.charAt(0)==i&&b(c,n.substr(1),e,f,g,h)},c=function(b,c,d,e){var f,g=a[(e?"r":"$")+c];if(g)for(f=g.length;f--;)if(!g[f].root&&g[f].matches(b,d,null))return!0;return!1},d=function(a,c,d,e){var f=[];return b(a,c,d,null,e,function(a){return f.push(a)}),f},e=function(b){var c=!b.root&&!this.has(b.element,b.type,null,!1),d=(b.root?"r":"$")+b.type;return(a[d]||(a[d]=[])).push(b),c},f=function(c){b(c.element,c.type,null,c.handler,c.root,function(b,c,d){return c.splice(d,1),b.removed=!0,0===c.length&&delete a[(b.root?"r":"$")+b.type],!1})},g=function(){var b,c=[];for(b in a)"$"==b.charAt(0)&&(c=c.concat(a[b]));return c};return{has:c,get:d,put:e,del:f,entries:g}}(),A=function(a){c=arguments.length?a:j.querySelectorAll?function(a,b){return b.querySelectorAll(a)}:function(){throw new Error("Bean: No selector engine installed")}},B=function(a,b){if(l||!b||!a||a.propertyName=="_on"+b){var c=z.get(this,b||a.type,null,!1),d=c.length,e=0;for(a=new w(a,this,!0),b&&(a.type=b);d>e&&!a.isImmediatePropagationStopped();e++)c[e].removed||c[e].handler.call(this,a)}},C=l?function(a,b,c){a[c?h:i](b,B,!1)}:function(a,b,c,d){var e;c?(z.put(e=new y(a,d||b,function(b){B.call(a,b,d)},B,null,null,!0)),d&&null==a["_on"+d]&&(a["_on"+d]=0),e.target.attachEvent("on"+e.eventType,e.handler)):(e=z.get(a,d||b,B,!0)[0],e&&(e.target.detachEvent("on"+e.eventType,e.handler),z.del(e)))},D=function(a,b,c,d,e){return function(){d.apply(this,arguments),a(b,c,e)}},E=function(a,b,c,d){var e,f,h=b&&b.replace(g,""),i=z.get(a,h,null,!1),j={};for(e=0,f=i.length;f>e;e++)c&&i[e].original!==c||!i[e].inNamespaces(d)||(z.del(i[e]),!j[i[e].eventType]&&i[e][m]&&(j[i[e].eventType]={t:i[e].eventType,c:i[e].type}));for(e in j)z.has(a,j[e].t,null,!1)||C(a,j[e].t,!1,j[e].c)},F=function(a,b){var d=function(b,d){for(var e,f=q(a)?c(a,d):a;b&&b!==d;b=b.parentNode)for(e=f.length;e--;)if(f[e]===b)return b},e=function(a){var c=d(a.target,this);c&&b.apply(c,arguments)};return e.__beanDel={ft:d,selector:a},e},G=l?function(a,b,c){var e=j.createEvent(a?"HTMLEvents":"UIEvents");e[a?"initEvent":"initUIEvent"](b,!0,!0,d,1),c.dispatchEvent(e)}:function(a,b,c){c=x(c,a),a?c.fireEvent("on"+b,j.createEventObject()):c["_on"+b]++},H=function(a,b,c){var d,e,h,i,j=q(b);if(j&&b.indexOf(" ")>0){for(b=p(b),i=b.length;i--;)H(a,b[i],c);return a}if(e=j&&b.replace(g,""),e&&v[e]&&(e=v[e].base),!b||j)(h=j&&b.replace(f,""))&&(h=p(h,".")),E(a,e,c,h);else if(r(b))E(a,null,b);else for(d in b)b.hasOwnProperty(d)&&H(a,d,b[d]);return a},I=function(a,b,d,e){var h,i,j,k,l,q,s;{if(void 0!==d||"object"!=typeof b){for(r(d)?(l=o.call(arguments,3),e=h=d):(h=e,l=o.call(arguments,4),e=F(d,h,c)),j=p(b),this===n&&(e=D(H,a,b,e,h)),k=j.length;k--;)s=z.put(q=new y(a,j[k].replace(g,""),e,h,p(j[k].replace(f,""),"."),l,!1)),q[m]&&s&&C(a,q.eventType,!0,q.customType);return a}for(i in b)b.hasOwnProperty(i)&&I.call(this,a,i,b[i])}},J=function(a,b,c,d){return I.apply(null,q(c)?[a,c,b,d].concat(arguments.length>3?o.call(arguments,5):[]):o.call(arguments))},K=function(){return I.apply(n,arguments)},L=function(a,b,c){var d,e,h,i,j,k=p(b);for(d=k.length;d--;)if(b=k[d].replace(g,""),(i=k[d].replace(f,""))&&(i=p(i,".")),i||c||!a[m])for(j=z.get(a,b,null,!1),c=[!1].concat(c),e=0,h=j.length;h>e;e++)j[e].inNamespaces(i)&&j[e].handler.apply(a,c);else G(u[b],b,a);return a},M=function(a,b,c){for(var d,e,f=z.get(b,c,null,!1),g=f.length,h=0;g>h;h++)f[h].original&&(d=[a,f[h].type],(e=f[h].handler.__beanDel)&&d.push(e.selector),d.push(f[h].original),I.apply(null,d));return a},N={on:I,add:J,one:K,off:H,remove:H,clone:M,fire:L,Event:w,setSelectorEngine:A,noConflict:function(){return b[a]=e,this}};if(d.attachEvent){var O=function(){var a,b=z.entries();for(a in b)b[a].type&&"unload"!==b[a].type&&H(b[a].element,b[a].type);d.detachEvent("onunload",O),d.CollectGarbage&&d.CollectGarbage()};d.attachEvent("onunload",O)}return A(),N})},{}],32:[function(a,b,c){(function(b){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ "use strict";function d(){try{var a=new Uint8Array(1);return a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===a.foo()&&"function"==typeof a.subarray&&0===a.subarray(1,1).byteLength}catch(b){return!1}}function e(){return g.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a,b){if(e()a)throw new RangeError('"size" argument must not be negative')}function j(a,b,c,d){return i(b),0>=b?f(a,b):void 0!==c?"string"==typeof d?f(a,b).fill(c,d):f(a,b).fill(c):f(a,b)}function k(a,b){if(i(b),a=f(a,0>b?0:0|p(b)),!g.TYPED_ARRAY_SUPPORT)for(var c=0;b>c;++c)a[c]=0;return a}function l(a,b,c){if(("string"!=typeof c||""===c)&&(c="utf8"),!g.isEncoding(c))throw new TypeError('"encoding" must be a valid string encoding');var d=0|r(b,c);a=f(a,d);var e=a.write(b,c);return e!==d&&(a=a.slice(0,e)),a}function m(a,b){var c=b.length<0?0:0|p(b.length);a=f(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function n(a,b,c,d){if(b.byteLength,0>c||b.byteLength=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function q(a){return+a!=a&&(a=0),g.alloc(+a)}function r(a,b){if(g.isBuffer(a))return a.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(a)||a instanceof ArrayBuffer))return a.byteLength;"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":case void 0:return T(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return W(a).length;default:if(d)return T(a).length;b=(""+b).toLowerCase(),d=!0}}function s(a,b,c){var d=!1;if((void 0===b||0>b)&&(b=0),b>this.length)return"";if((void 0===c||c>this.length)&&(c=this.length),0>=c)return"";if(c>>>=0,b>>>=0,b>=c)return"";for(a||(a="utf8");;)switch(a){case"hex":return H(this,b,c);case"utf8":case"utf-8":return D(this,b,c);case"ascii":return F(this,b,c);case"latin1":case"binary":return G(this,b,c);case"base64":return C(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function t(a,b,c){var d=a[b];a[b]=a[c],a[c]=d}function u(a,b,c,d,e){if(0===a.length)return-1;if("string"==typeof c?(d=c,c=0):c>2147483647?c=2147483647:-2147483648>c&&(c=-2147483648),c=+c,isNaN(c)&&(c=e?0:a.length-1),0>c&&(c=a.length+c),c>=a.length){if(e)return-1;c=a.length-1}else if(0>c){if(!e)return-1;c=0}if("string"==typeof b&&(b=g.from(b,d)),g.isBuffer(b))return 0===b.length?-1:v(a,b,c,d,e);if("number"==typeof b)return b=255&b,g.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?e?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):v(a,[b],c,d,e);throw new TypeError("val must be string, number or Buffer")}function v(a,b,c,d,e){function f(a,b){return 1===g?a[b]:a.readUInt16BE(b*g)}var g=1,h=a.length,i=b.length;if(void 0!==d&&(d=String(d).toLowerCase(),"ucs2"===d||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(a.length<2||b.length<2)return-1;g=2,h/=2,i/=2,c/=2}var j;if(e){var k=-1;for(j=c;h>j;j++)if(f(a,j)===f(b,-1===k?0:j-k)){if(-1===k&&(k=j),j-k+1===i)return k*g}else-1!==k&&(j-=j-k),k=-1}else for(c+i>h&&(c=h-i),j=c;j>=0;j--){for(var l=!0,m=0;i>m;m++)if(f(a,j+m)!==f(b,m)){l=!1;break}if(l)return j}return-1}function w(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new TypeError("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;++g){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))return g;a[c+g]=h}return g}function x(a,b,c,d){return X(T(b,a.length-c),a,c,d)}function y(a,b,c,d){return X(U(b),a,c,d)}function z(a,b,c,d){return y(a,b,c,d)}function A(a,b,c,d){return X(W(b),a,c,d)}function B(a,b,c,d){return X(V(b,a.length-c),a,c,d)}function C(a,b,c){return 0===b&&c===a.length?Z.fromByteArray(a):Z.fromByteArray(a.slice(b,c))}function D(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return E(d)}function E(a){var b=a.length;if(aa>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=aa));return c}function F(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;++e)d+=String.fromCharCode(127&a[e]);return d}function G(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;++e)d+=String.fromCharCode(a[e]);return d}function H(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;++f)e+=S(a[f]);return e}function I(a,b,c){for(var d=a.slice(b,c),e="",f=0;fa)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function K(a,b,c,d,e,f){if(!g.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>e||f>b)throw new RangeError('"value" argument is out of bounds');if(c+d>a.length)throw new RangeError("Index out of range")}function L(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;++e)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function M(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;++e)a[c+e]=b>>>8*(d?e:3-e)&255}function N(a,b,c,d,e,f){if(c+d>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range")}function O(a,b,c,d,e){return e||N(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),$.write(a,b,c,d,23,4),c+4}function P(a,b,c,d,e){return e||N(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),$.write(a,b,c,d,52,8),c+8}function Q(a){if(a=R(a).replace(ba,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function R(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function S(a){return 16>a?"0"+a.toString(16):a.toString(16)}function T(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;++g){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=(e-55296<<10|c-56320)+65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function U(a){for(var b=[],c=0;c>8,e=c%256,f.push(e),f.push(d);return f}function W(a){return Z.toByteArray(Q(a))}function X(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);++e)b[e+c]=a[e];return e}function Y(a){return a!==a}var Z=a("base64-js"),$=a("ieee754"),_=a("isarray");c.Buffer=g,c.SlowBuffer=q,c.INSPECT_MAX_BYTES=50,g.TYPED_ARRAY_SUPPORT=void 0!==b.TYPED_ARRAY_SUPPORT?b.TYPED_ARRAY_SUPPORT:d(),c.kMaxLength=e(),g.poolSize=8192,g._augment=function(a){return a.__proto__=g.prototype,a},g.from=function(a,b,c){return h(null,a,b,c)},g.TYPED_ARRAY_SUPPORT&&(g.prototype.__proto__=Uint8Array.prototype,g.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&g[Symbol.species]===g&&Object.defineProperty(g,Symbol.species,{value:null,configurable:!0})),g.alloc=function(a,b,c){return j(null,a,b,c)},g.allocUnsafe=function(a){return k(null,a)},g.allocUnsafeSlow=function(a){return k(null,a)},g.isBuffer=function(a){return!(null==a||!a._isBuffer)},g.compare=function(a,b){if(!g.isBuffer(a)||!g.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,f=Math.min(c,d);f>e;++e)if(a[e]!==b[e]){c=a[e],d=b[e];break}return d>c?-1:c>d?1:0},g.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(a,b){if(!_(a))throw new TypeError('"list" argument must be an Array of Buffers');if(0===a.length)return g.alloc(0);var c;if(void 0===b)for(b=0,c=0;cb;b+=2)t(this,b,b+1);return this},g.prototype.swap32=function(){var a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var b=0;a>b;b+=4)t(this,b,b+3),t(this,b+1,b+2);return this},g.prototype.swap64=function(){var a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var b=0;a>b;b+=8)t(this,b,b+7),t(this,b+1,b+6),t(this,b+2,b+5),t(this,b+3,b+4);return this},g.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?D(this,0,a):s.apply(this,arguments)},g.prototype.equals=function(a){if(!g.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:0===g.compare(this,a)},g.prototype.inspect=function(){var a="",b=c.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),""},g.prototype.compare=function(a,b,c,d,e){if(!g.isBuffer(a))throw new TypeError("Argument must be a Buffer");if(void 0===b&&(b=0),void 0===c&&(c=a?a.length:0),void 0===d&&(d=0),void 0===e&&(e=this.length),0>b||c>a.length||0>d||e>this.length)throw new RangeError("out of range index");if(d>=e&&b>=c)return 0;if(d>=e)return-1;if(b>=c)return 1;if(b>>>=0,c>>>=0,d>>>=0,e>>>=0,this===a)return 0;for(var f=e-d,h=c-b,i=Math.min(f,h),j=this.slice(d,e),k=a.slice(b,c),l=0;i>l;++l)if(j[l]!==k[l]){f=j[l],h=k[l];break}return h>f?-1:f>h?1:0},g.prototype.includes=function(a,b,c){return-1!==this.indexOf(a,b,c)},g.prototype.indexOf=function(a,b,c){return u(this,a,b,c,!0)},g.prototype.lastIndexOf=function(a,b,c){return u(this,a,b,c,!1)},g.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else{if(!isFinite(b))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0)}var e=this.length-b;if((void 0===c||c>e)&&(c=e),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");for(var f=!1;;)switch(d){case"hex":return w(this,a,b,c);case"utf8":case"utf-8":return x(this,a,b,c);case"ascii":return y(this,a,b,c);case"latin1":case"binary":return z(this,a,b,c);case"base64":return A(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,a,b,c);default:if(f)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),f=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var aa=4096;g.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c),0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c),a>b&&(b=a);var d;if(g.TYPED_ARRAY_SUPPORT)d=this.subarray(a,b),d.__proto__=g.prototype;else{var e=b-a;d=new g(e,void 0);for(var f=0;e>f;++f)d[f]=this[f+a]}return d},g.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||J(a,b,this.length);for(var d=this[a],e=1,f=0;++f0&&(e*=256);)d+=this[a+--b]*e;return d},g.prototype.readUInt8=function(a,b){return b||J(a,1,this.length),this[a]},g.prototype.readUInt16LE=function(a,b){return b||J(a,2,this.length),this[a]|this[a+1]<<8},g.prototype.readUInt16BE=function(a,b){return b||J(a,2,this.length),this[a]<<8|this[a+1]},g.prototype.readUInt32LE=function(a,b){return b||J(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},g.prototype.readUInt32BE=function(a,b){return b||J(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},g.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||J(a,b,this.length);for(var d=this[a],e=1,f=0;++f=e&&(d-=Math.pow(2,8*b)),d},g.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||J(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},g.prototype.readInt8=function(a,b){return b||J(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},g.prototype.readInt16LE=function(a,b){b||J(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},g.prototype.readInt16BE=function(a,b){b||J(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},g.prototype.readInt32LE=function(a,b){return b||J(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},g.prototype.readInt32BE=function(a,b){return b||J(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},g.prototype.readFloatLE=function(a,b){return b||J(a,4,this.length),$.read(this,a,!0,23,4)},g.prototype.readFloatBE=function(a,b){return b||J(a,4,this.length),$.read(this,a,!1,23,4)},g.prototype.readDoubleLE=function(a,b){return b||J(a,8,this.length),$.read(this,a,!0,52,8)},g.prototype.readDoubleBE=function(a,b){return b||J(a,8,this.length),$.read(this,a,!1,52,8)},g.prototype.writeUIntLE=function(a,b,c,d){if(a=+a,b=0|b,c=0|c,!d){var e=Math.pow(2,8*c)-1;K(this,a,b,c,e,0)}var f=1,g=0;for(this[b]=255&a;++g=0&&(g*=256);)this[b+f]=a/g&255;return b+c},g.prototype.writeUInt8=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,1,255,0),g.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},g.prototype.writeUInt16LE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):L(this,a,b,!0),b+2},g.prototype.writeUInt16BE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,2,65535,0),g.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):L(this,a,b,!1),b+2},g.prototype.writeUInt32LE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):M(this,a,b,!0),b+4},g.prototype.writeUInt32BE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,4,4294967295,0),g.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):M(this,a,b,!1),b+4},g.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);K(this,a,b,c,e-1,-e)}var f=0,g=1,h=0;for(this[b]=255&a;++fa&&0===h&&0!==this[b+f-1]&&(h=1),this[b+f]=(a/g>>0)-h&255;return b+c},g.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);K(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0;for(this[b+f]=255&a;--f>=0&&(g*=256);)0>a&&0===h&&0!==this[b+f+1]&&(h=1),this[b+f]=(a/g>>0)-h&255;return b+c},g.prototype.writeInt8=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,1,127,-128),g.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),0>a&&(a=255+a+1),this[b]=255&a,b+1},g.prototype.writeInt16LE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):L(this,a,b,!0),b+2},g.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,2,32767,-32768),g.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):L(this,a,b,!1),b+2},g.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,4,2147483647,-2147483648),g.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):M(this,a,b,!0),b+4},g.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||K(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),g.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):M(this,a,b,!1),b+4},g.prototype.writeFloatLE=function(a,b,c){return O(this,a,b,!0,c)},g.prototype.writeFloatBE=function(a,b,c){return O(this,a,b,!1,c)},g.prototype.writeDoubleLE=function(a,b,c){return P(this,a,b,!0,c)},g.prototype.writeDoubleBE=function(a,b,c){return P(this,a,b,!1,c)},g.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(0>b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-bc&&d>b)for(e=f-1;e>=0;--e)a[e+b]=this[e+c];else if(1e3>f||!g.TYPED_ARRAY_SUPPORT)for(e=0;f>e;++e)a[e+b]=this[e+c];else Uint8Array.prototype.set.call(a,this.subarray(c,c+f),b);return f},g.prototype.fill=function(a,b,c,d){if("string"==typeof a){if("string"==typeof b?(d=b,b=0,c=this.length):"string"==typeof c&&(d=c,c=this.length),1===a.length){var e=a.charCodeAt(0);256>e&&(a=e)}if(void 0!==d&&"string"!=typeof d)throw new TypeError("encoding must be a string");if("string"==typeof d&&!g.isEncoding(d))throw new TypeError("Unknown encoding: "+d)}else"number"==typeof a&&(a=255&a);if(0>b||this.length=c)return this;b>>>=0,c=void 0===c?this.length:c>>>0,a||(a=0);var f;if("number"==typeof a)for(f=b;c>f;++f)this[f]=a;else{var h=g.isBuffer(a)?a:T(new g(a,d).toString()),i=h.length;for(f=0;c-b>f;++f)this[f+b]=h[f%i]}return this};var ba=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":30,ieee754:37,isarray:40}],33:[function(a,b,c){function d(a){function b(a){var b=k();g(b,a)>-1||(b.push(a),l(b))}function c(a){var b=k(),c=g(b,a);-1!==c&&(b.splice(c,1),l(b))}function d(a){return g(k(),a)>-1}function h(a){return d(a)?(c(a),!1):(b(a),!0)}function i(){return a.className}function j(a){var b=k();return b[a]||null}function k(){var b=a.className;return e(b.split(" "),f)}function l(b){var c=b.length;a.className=b.join(" "),n.length=c;for(var d=0;d0||-1)*Math.floor(Math.abs(b))),b},ToPrimitive:function(b){var c,d,e;if(N(b))return b;if(d=b.valueOf,a(d)&&(c=d.call(b),N(c)))return c;if(e=b.toString,a(e)&&(c=e.call(b),N(c)))return c;throw new TypeError},ToObject:function(a){if(null==a)throw new TypeError("can't convert "+a+" to object");return e(a)},ToUint32:function(a){return a>>>0}},Q=function(){};M(h,{bind:function(b){var c=this;if(!a(c))throw new TypeError("Function.prototype.bind called on incompatible "+c);for(var d,f=m.call(arguments,1),h=function(){if(this instanceof d){var a=t.call(c,this,q.call(f,m.call(arguments)));return e(a)===a?a:this}return t.call(c,b,q.call(f,m.call(arguments)))},i=u(0,c.length-f.length),j=[],k=0;i>k;k++)o.call(j,"$"+k);return d=g("binder","return function ("+r.call(j,",")+"){ return binder.apply(this, arguments); }")(h),c.prototype&&(Q.prototype=c.prototype,d.prototype=new Q,Q.prototype=null),d}});var R=s.bind(f.hasOwnProperty),S=s.bind(f.toString),T=s.bind(m),U=t.bind(m),V=s.bind(j.slice),W=s.bind(j.split),X=s.bind(j.indexOf),Y=s.bind(o),Z=s.bind(f.propertyIsEnumerable),$=s.bind(d.sort),_=c.isArray||function(a){return"[object Array]"===S(a)},aa=1!==[].unshift(0);M(d,{unshift:function(){return p.apply(this,arguments),this.length}},aa),M(c,{isArray:_});var ba=e("a"),ca="a"!==ba[0]||!(0 in ba),da=function(a){var b=!0,c=!0,d=!1;if(a)try{a.call("foo",function(a,c,d){"object"!=typeof d&&(b=!1)}),a.call([1],function(){"use strict";c="string"==typeof this},"x")}catch(e){d=!0}return!!a&&!d&&b&&c};M(d,{forEach:function(b){var c,d=P.ToObject(this),e=ca&&H(this)?W(this,""):d,f=-1,g=P.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!a(b))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++f1&&(d=arguments[1]),!a(b))throw new TypeError("Array.prototype.map callback must be a function");for(var i=0;g>i;i++)i in f&&("undefined"==typeof d?h[i]=b(f[i],i,e):h[i]=b.call(d,f[i],i,e));return h}},!da(d.map)),M(d,{filter:function(b){var c,d,e=P.ToObject(this),f=ca&&H(this)?W(this,""):e,g=P.ToUint32(f.length),h=[];if(arguments.length>1&&(d=arguments[1]),!a(b))throw new TypeError("Array.prototype.filter callback must be a function");for(var i=0;g>i;i++)i in f&&(c=f[i],("undefined"==typeof d?b(c,i,e):b.call(d,c,i,e))&&Y(h,c));return h}},!da(d.filter)),M(d,{every:function(b){var c,d=P.ToObject(this),e=ca&&H(this)?W(this,""):d,f=P.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!a(b))throw new TypeError("Array.prototype.every callback must be a function");for(var g=0;f>g;g++)if(g in e&&!("undefined"==typeof c?b(e[g],g,d):b.call(c,e[g],g,d)))return!1;return!0}},!da(d.every)),M(d,{some:function(b){var c,d=P.ToObject(this),e=ca&&H(this)?W(this,""):d,f=P.ToUint32(e.length);if(arguments.length>1&&(c=arguments[1]),!a(b))throw new TypeError("Array.prototype.some callback must be a function");for(var g=0;f>g;g++)if(g in e&&("undefined"==typeof c?b(e[g],g,d):b.call(c,e[g],g,d)))return!0;return!1}},!da(d.some));var ea=!1;d.reduce&&(ea="object"==typeof d.reduce.call("es5",function(a,b,c,d){return d})),M(d,{reduce:function(b){var c=P.ToObject(this),d=ca&&H(this)?W(this,""):c,e=P.ToUint32(d.length);if(!a(b))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===e&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var f,g=0;if(arguments.length>=2)f=arguments[1];else for(;;){if(g in d){f=d[g++];break}if(++g>=e)throw new TypeError("reduce of empty array with no initial value")}for(;e>g;g++)g in d&&(f=b(f,d[g],g,c));return f}},!ea);var fa=!1;d.reduceRight&&(fa="object"==typeof d.reduceRight.call("es5",function(a,b,c,d){return d})),M(d,{reduceRight:function(b){var c=P.ToObject(this),d=ca&&H(this)?W(this,""):c,e=P.ToUint32(d.length);if(!a(b))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===e&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var f,g=e-1;if(arguments.length>=2)f=arguments[1];else for(;;){if(g in d){f=d[g--];break}if(--g<0)throw new TypeError("reduceRight of empty array with no initial value")}if(0>g)return f;do g in d&&(f=b(f,d[g],g,c));while(g--);return f}},!fa);var ga=d.indexOf&&-1!==[0,1].indexOf(1,2);M(d,{indexOf:function(a){var b=ca&&H(this)?W(this,""):P.ToObject(this),c=P.ToUint32(b.length);if(0===c)return-1;var d=0;for(arguments.length>1&&(d=P.ToInteger(arguments[1])),d=d>=0?d:u(0,c+d);c>d;d++)if(d in b&&b[d]===a)return d;return-1}},ga);var ha=d.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);M(d,{lastIndexOf:function(a){var b=ca&&H(this)?W(this,""):P.ToObject(this),c=P.ToUint32(b.length);if(0===c)return-1;var d=c-1;for(arguments.length>1&&(d=v(d,P.ToInteger(arguments[1]))),d=d>=0?d:c-Math.abs(d);d>=0;d--)if(d in b&&a===b[d])return d;return-1}},ha);var ia=function(){var a=[1,2],b=a.splice();return 2===a.length&&_(b)&&0===b.length}();M(d,{splice:function(a,b){return 0===arguments.length?[]:n.apply(this,arguments)}},!ia);var ja=function(){var a={};return d.splice.call(a,0,0,1),1===a.length}();M(d,{splice:function(a,b){if(0===arguments.length)return[];var c=arguments;return this.length=u(P.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof b&&(c=T(arguments),c.length<2?Y(c,this.length-a):c[1]=P.ToInteger(b)),n.apply(this,c)}},!ja);var ka=function(){var a=new c(1e5);return a[8]="x",a.splice(1,1),7===a.indexOf("x")}(),la=function(){var a=256,b=[];return b[a]="a",b.splice(a+1,0,"b"),"a"===b[a]}();M(d,{splice:function(a,b){for(var c,d=P.ToObject(this),e=[],f=P.ToUint32(d.length),g=P.ToInteger(a),h=0>g?u(f+g,0):v(g,f),j=v(u(P.ToInteger(b),0),f-h),k=0;j>k;)c=i(h+k),R(d,c)&&(e[k]=d[c]),k+=1;var l,m=T(arguments,2),n=m.length;if(j>n){k=h;for(var o=f-j;o>k;)c=i(k+j),l=i(k+n),R(d,c)?d[l]=d[c]:delete d[l],k+=1;k=f;for(var p=f-j+n;k>p;)delete d[k-1],k-=1}else if(n>j)for(k=f-j;k>h;)c=i(k+j-1),l=i(k+n-1),R(d,c)?d[l]=d[c]:delete d[l],k-=1;k=h;for(var q=0;q=0&&!_(b)&&a(b.callee)},Ha=Fa(arguments)?Fa:Ga;M(e,{keys:function(b){var c=a(b),d=Ha(b),e=null!==b&&"object"==typeof b,f=e&&H(b);if(!e&&!c&&!d)throw new TypeError("Object.keys called on a non-object");var g=[],h=xa&&c;if(f&&ya||d)for(var j=0;jm;m++){var n=Da[m];l&&"constructor"===n||!R(b,n)||Y(g,n)}return g}});var Ia=e.keys&&function(){return 2===e.keys(arguments).length}(1,2),Ja=e.keys&&function(){var a=e.keys(arguments);return 1!==arguments.length||1!==a.length||1!==a[0]}(1),Ka=e.keys;M(e,{keys:function(a){return Ka(Ha(a)?T(a):a)}},!Ia||Ja);var La,Ma,Na=0!==new Date(-0xc782b5b342b24).getUTCMonth(),Oa=new Date(-0x55d318d56a724),Pa=new Date(14496624e5),Qa="Mon, 01 Jan -45875 11:59:59 GMT"!==Oa.toUTCString(),Ra=Oa.getTimezoneOffset(); -720>Ra?(La="Tue Jan 02 -45875"!==Oa.toDateString(),Ma=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Pa.toString())):(La="Mon Jan 01 -45875"!==Oa.toDateString(),Ma=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-\+]\d\d\d\d(?: |$)/.test(Pa.toString()));var Sa=s.bind(Date.prototype.getFullYear),Ta=s.bind(Date.prototype.getMonth),Ua=s.bind(Date.prototype.getDate),Va=s.bind(Date.prototype.getUTCFullYear),Wa=s.bind(Date.prototype.getUTCMonth),Xa=s.bind(Date.prototype.getUTCDate),Ya=s.bind(Date.prototype.getUTCDay),Za=s.bind(Date.prototype.getUTCHours),$a=s.bind(Date.prototype.getUTCMinutes),_a=s.bind(Date.prototype.getUTCSeconds),ab=s.bind(Date.prototype.getUTCMilliseconds),bb=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],cb=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],db=function(a,b){return Ua(new Date(b,a,0))};M(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Sa(this);return 0>a&&Ta(this)>11?a+1:a},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Sa(this),b=Ta(this);return 0>a&&b>11?0:b},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Sa(this),b=Ta(this),c=Ua(this);if(0>a&&b>11){if(12===b)return c;var d=db(0,a+1);return d-c+1}return c},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Va(this);return 0>a&&Wa(this)>11?a+1:a},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Va(this),b=Wa(this);return 0>a&&b>11?0:b},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Va(this),b=Wa(this),c=Xa(this);if(0>a&&b>11){if(12===b)return c;var d=db(0,a+1);return d-c+1}return c}},Na),M(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=Ya(this),b=Xa(this),c=Wa(this),d=Va(this),e=Za(this),f=$a(this),g=_a(this);return bb[a]+", "+(10>b?"0"+b:b)+" "+cb[c]+" "+d+" "+(10>e?"0"+e:e)+":"+(10>f?"0"+f:f)+":"+(10>g?"0"+g:g)+" GMT"}},Na||Qa),M(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=this.getDay(),b=this.getDate(),c=this.getMonth(),d=this.getFullYear();return bb[a]+" "+cb[c]+" "+(10>b?"0"+b:b)+" "+d}},Na||La),(Na||Ma)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var a=this.getDay(),b=this.getDate(),c=this.getMonth(),d=this.getFullYear(),e=this.getHours(),f=this.getMinutes(),g=this.getSeconds(),h=this.getTimezoneOffset(),i=Math.floor(Math.abs(h)/60),j=Math.floor(Math.abs(h)%60);return bb[a]+" "+cb[c]+" "+(10>b?"0"+b:b)+" "+d+" "+(10>e?"0"+e:e)+":"+(10>f?"0"+f:f)+":"+(10>g?"0"+g:g)+" GMT"+(h>0?"-":"+")+(10>i?"0"+i:i)+(10>j?"0"+j:j)},L&&e.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var eb=-621987552e5,fb="-000001",gb=Date.prototype.toISOString&&-1===new Date(eb).toISOString().indexOf(fb),hb=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),ib=s.bind(Date.prototype.getTime);M(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(ib(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var a=Va(this),b=Wa(this);a+=Math.floor(b/12),b=(b%12+12)%12;var c=[b+1,Xa(this),Za(this),$a(this),_a(this)];a=(0>a?"-":a>9999?"+":"")+V("00000"+Math.abs(a),a>=0&&9999>=a?-4:-6);for(var d=0;d=7&&j>nb){var o=Math.floor(j/nb)*nb,p=Math.floor(o/1e3);m+=p,n-=1e3*p}k=1===l&&i(c)===c?new a(b.parse(c)):l>=7?new a(c,d,e,f,g,m,n):l>=6?new a(c,d,e,f,g,m):l>=5?new a(c,d,e,f,g):l>=4?new a(c,d,e,f):l>=3?new a(c,d,e):l>=2?new a(c,d):l>=1?new a(c instanceof a?+c:c):new a}else k=a.apply(this,arguments);return N(k)||M(k,{constructor:b},!0),k},c=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),d=[0,31,59,90,120,151,181,212,243,273,304,334,365],e=function(a,b){var c=b>1?1:0;return d[b]+Math.floor((a-1969+c)/4)-Math.floor((a-1901+c)/100)+Math.floor((a-1601+c)/400)+365*(a-1970)},f=function(b){var c=0,d=b;if(ob&&d>nb){var e=Math.floor(d/nb)*nb,f=Math.floor(e/1e3);c+=f,d-=1e3*f}return k(new a(1970,0,1,0,0,c,d))};for(var g in a)R(a,g)&&(b[g]=a[g]);M(b,{now:a.now,UTC:a.UTC},!0),b.prototype=a.prototype,M(b.prototype,{constructor:b},!0);var h=function(b){var d=c.exec(b);if(d){var g,h=k(d[1]),i=k(d[2]||1)-1,j=k(d[3]||1)-1,l=k(d[4]||0),m=k(d[5]||0),n=k(d[6]||0),o=Math.floor(1e3*k(d[7]||0)),p=Boolean(d[4]&&!d[8]),q="-"===d[9]?1:-1,r=k(d[10]||0),s=k(d[11]||0),t=m>0||n>0||o>0;return(t?24:25)>l&&60>m&&60>n&&1e3>o&&i>-1&&12>i&&24>r&&60>s&&j>-1&&j=-864e13&&864e13>=g)?g:NaN}return a.parse.apply(this,arguments)};return M(b,{parse:h}),b}(Date)}Date.now||(Date.now=function(){return(new Date).getTime()});var pb=l.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0)),qb={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(a,b){for(var c=-1,d=b;++c=0;)c+=qb.data[b],qb.data[b]=Math.floor(c/a),c=c%a*qb.base},numToString:function(){for(var a=qb.size,b="";--a>=0;)if(""!==b||0===a||0!==qb.data[a]){var c=i(qb.data[a]);""===b?b=c:b+=V("0000000",0,7-c.length)+c}return b},pow:function Kb(a,b,c){return 0===b?c:b%2===1?Kb(a,b-1,c*a):Kb(a*a,b/2,c)},log:function(a){for(var b=0,c=a;c>=4096;)b+=12,c/=4096;for(;c>=2;)b+=1,c/=2;return b}},rb=function(a){var b,c,d,e,f,g,h,j;if(b=k(a),b=O(b)?0:Math.floor(b),0>b||b>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(c=k(this),O(c))return"NaN";if(-1e21>=c||c>=1e21)return i(c);if(d="",0>c&&(d="-",c=-c),e="0",c>1e-21)if(f=qb.log(c*qb.pow(2,69,1))-69,g=0>f?c*qb.pow(2,-f,1):c/qb.pow(2,f,1),g*=4503599627370496,f=52-f,f>0){for(qb.multiply(0,g),h=b;h>=7;)qb.multiply(1e7,0),h-=7;for(qb.multiply(qb.pow(10,h,1),0),h=f-1;h>=23;)qb.divide(1<<23),h-=23;qb.divide(1<0?(j=e.length,e=b>=j?d+V("0.0000000000000000000",0,b-j+2)+e:d+V(e,0,j-b)+"."+V(e,j-b)):e=d+e,e};M(l,{toFixed:rb},pb);var sb=function(){try{return"1"===1..toPrecision(void 0)}catch(a){return!0}}(),tb=l.toPrecision;M(l,{toPrecision:function(a){return"undefined"==typeof a?tb.call(this):tb.call(this,a)}},sb),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var a="undefined"==typeof/()??/.exec("")[1],c=Math.pow(2,32)-1;j.split=function(d,e){var f=String(this);if("undefined"==typeof d&&0===e)return[];if(!b(d))return W(this,d,e);var g,h,i,j,k=[],l=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),m=0,n=new RegExp(d.source,l+"g");a||(g=new RegExp("^"+n.source+"$(?!\\s)",l));var p="undefined"==typeof e?c:P.ToUint32(e);for(h=n.exec(f);h&&(i=h.index+h[0].length,!(i>m&&(Y(k,V(f,m,h.index)),!a&&h.length>1&&h[0].replace(g,function(){for(var a=1;a1&&h.index=p)));)n.lastIndex===h.index&&n.lastIndex++,h=n.exec(f);return m===f.length?(j||!n.test(""))&&Y(k,""):Y(k,V(f,m)),k.length>p?T(k,0,p):k}}():"0".split(void 0,0).length&&(j.split=function(a,b){return"undefined"==typeof a&&0===b?[]:W(this,a,b)});var ub=j.replace,vb=function(){var a=[];return"x".replace(/x(.)?/g,function(b,c){Y(a,c)}),1===a.length&&"undefined"==typeof a[0]}();vb||(j.replace=function(c,d){var e=a(d),f=b(c)&&/\)[*?]/.test(c.source);if(e&&f){var g=function(a){var b=arguments.length,e=c.lastIndex;c.lastIndex=0;var f=c.exec(a)||[];return c.lastIndex=e,Y(f,arguments[b-2],arguments[b-1]),d.apply(this,f)};return ub.call(this,c,g)}return ub.call(this,c,d)});var wb=j.substr,xb="".substr&&"b"!=="0b".substr(-1);M(j,{substr:function(a,b){var c=a;return 0>a&&(c=u(this.length+a,0)),wb.call(this,c,b)}},xb);var yb=" \n \f\r   ᠎              \u2028\u2029\ufeff",zb="​",Ab="["+yb+"]",Bb=new RegExp("^"+Ab+Ab+"*"),Cb=new RegExp(Ab+Ab+"*$"),Db=j.trim&&(yb.trim()||!zb.trim());M(j,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return i(this).replace(Bb,"").replace(Cb,"")}},Db);var Eb=s.bind(String.prototype.trim),Fb=j.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);M(j,{lastIndexOf:function(a){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var b=i(this),c=i(a),d=arguments.length>1?k(arguments[1]):NaN,e=O(d)?1/0:P.ToInteger(d),f=v(u(e,0),b.length),g=c.length,h=f+g;h>0;){h=u(0,h-g);var j=X(V(b,h,f+g),c);if(-1!==j)return h+j}return-1}},Fb);var Gb=j.lastIndexOf;if(M(j,{lastIndexOf:function(a){return Gb.apply(this,arguments)}},1!==j.lastIndexOf.length),(8!==parseInt(yb+"08")||22!==parseInt(yb+"0x16"))&&(parseInt=function(a){var b=/^[\-+]?0[xX]/;return function(c,d){var e=Eb(String(c)),f=k(d)||(b.test(e)?16:10);return a(e,f)}}(parseInt)),1/parseFloat("-0")!==-(1/0)&&(parseFloat=function(a){return function(b){var c=Eb(String(b)),d=a(c);return 0===d&&"-"===V(c,0,1)?-0:d}}(parseFloat)),"RangeError: test"!==String(new RangeError("test"))){var Hb=function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var a=this.name;"undefined"==typeof a?a="Error":"string"!=typeof a&&(a=i(a));var b=this.message;return"undefined"==typeof b?b="":"string"!=typeof b&&(b=i(b)),a?b?a+": "+b:a:b};Error.prototype.toString=Hb}if(L){var Ib=function(a,b){if(Z(a,b)){var c=Object.getOwnPropertyDescriptor(a,b);c.configurable&&(c.enumerable=!1,Object.defineProperty(a,b,c))}};Ib(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),Ib(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Jb=function(){var a="/"+this.source+"/";return this.global&&(a+="g"),this.ignoreCase&&(a+="i"),this.multiline&&(a+="m"),a};RegExp.prototype.toString=Jb}})},{}],36:[function(a,b,c){var d=[],e=d.forEach,f=d.slice;b.exports=function(a){return e.call(f.call(arguments,1),function(b){if(b)for(var c in b)a[c]=b[c]}),a}},{}],37:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],38:[function(a,b,c){var d=[].indexOf;b.exports=function(a,b){if(d)return a.indexOf(b);for(var c=0;c1&&(d=c[0]+"@",a=c[1]),a=a.replace(H,".");var e=a.split("."),f=g(e,b).join(".");return d+f}function i(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function j(a){return g(a,function(a){var b="";return a>65535&&(a-=65536,b+=L(a>>>10&1023|55296),a=56320|1023&a),b+=L(a)}).join("")}function k(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:x}function l(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function m(a,b,c){var d=0;for(a=c?K(a/B):a>>1,a+=K(a/b);a>J*z>>1;d+=x)a=K(a/J);return K(d+(J+1)*a/(a+A))}function n(a){var b,c,d,e,g,h,i,l,n,o,p=[],q=a.length,r=0,s=D,t=C;for(c=a.lastIndexOf(E),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&f("not-basic"),p.push(a.charCodeAt(d));for(e=c>0?c+1:0;q>e;){for(g=r,h=1,i=x;e>=q&&f("invalid-input"),l=k(a.charCodeAt(e++)),(l>=x||l>K((w-r)/h))&&f("overflow"),r+=l*h,n=t>=i?y:i>=t+z?z:i-t,!(n>l);i+=x)o=x-n,h>K(w/o)&&f("overflow"),h*=o;b=p.length+1,t=m(r-g,b,0==g),K(r/b)>w-s&&f("overflow"),s+=K(r/b),r%=b,p.splice(r++,0,s)}return j(p)}function o(a){var b,c,d,e,g,h,j,k,n,o,p,q,r,s,t,u=[];for(a=i(a),q=a.length,b=D,c=0,g=C,h=0;q>h;++h)p=a[h],128>p&&u.push(L(p));for(d=e=u.length,e&&u.push(E);q>d;){for(j=w,h=0;q>h;++h)p=a[h],p>=b&&j>p&&(j=p);for(r=d+1,j-b>K((w-c)/r)&&f("overflow"),c+=(j-b)*r,b=j,h=0;q>h;++h)if(p=a[h],b>p&&++c>w&&f("overflow"),p==b){for(k=c,n=x;o=g>=n?y:n>=g+z?z:n-g,!(o>k);n+=x)t=k-o,s=x-o,u.push(L(l(o+t%s,0))),k=K(t/s);u.push(L(l(k,0))),g=m(c,r,d==e),c=0,++d}++c,++b}return u.join("")}function p(a){return h(a,function(a){return F.test(a)?n(a.slice(4).toLowerCase()):a})}function q(a){return h(a,function(a){return G.test(a)?"xn--"+o(a):a})}var r="object"==typeof d&&d&&!d.nodeType&&d,s="object"==typeof c&&c&&!c.nodeType&&c,t="object"==typeof b&&b;(t.global===t||t.window===t||t.self===t)&&(e=t);var u,v,w=2147483647,x=36,y=1,z=26,A=38,B=700,C=72,D=128,E="-",F=/^xn--/,G=/[^\x20-\x7E]/,H=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=x-y,K=Math.floor,L=String.fromCharCode;if(u={version:"1.4.1",ucs2:{decode:i,encode:j},decode:n,encode:o,toASCII:q,toUnicode:p},"function"==typeof a&&"object"==typeof a.amd&&a.amd)a("punycode",function(){return u});else if(r&&s)if(c.exports==r)s.exports=u;else for(v in u)u.hasOwnProperty(v)&&(r[v]=u[v]);else e.punycode=u}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],42:[function(b,c,d){/*! * $script.js JS loader & dependency manager * https://github.com/ded/script.js * (c) Dustin Diaz 2014 | License MIT */ !function(b,d){"undefined"!=typeof c&&c.exports?c.exports=d():"function"==typeof a&&a.amd?a(d):this[b]=d()}("$script",function(){function a(a,b){for(var c=0,d=a.length;d>c;++c)if(!b(a[c]))return i;return 1}function b(b,c){a(b,function(a){return!c(a)})}function c(f,g,h){function i(a){return a.call?a():m[a]}function k(){if(!--s){m[r]=1,q&&q();for(var c in o)a(c.split("|"),i)&&!b(o[c],i)&&(o[c]=[])}}f=f[j]?f:[f];var l=g&&g.call,q=l?g:h,r=l?f.join(""):g,s=f.length;return setTimeout(function(){b(f,function a(b,c){return null===b?k():(c||/^https?:\/\//.test(b)||!e||(b=-1===b.indexOf(".js")?e+b+".js":e+b),p[b]?(r&&(n[r]=1),2==p[b]?k():setTimeout(function(){a(b,!0)},0)):(p[b]=1,r&&(n[r]=1),void d(b,k)))})},0),c}function d(a,b){var c,d=g.createElement("script");d.onload=d.onerror=d[l]=function(){d[k]&&!/^c|loade/.test(d[k])||c||(d.onload=d[l]=null,c=1,p[a]=2,b())},d.async=1,d.src=f?a+(-1===a.indexOf("?")?"?":"&")+f:a,h.insertBefore(d,h.lastChild)}var e,f,g=document,h=g.getElementsByTagName("head")[0],i=!1,j="push",k="readyState",l="onreadystatechange",m={},n={},o={},p={};return c.get=d,c.order=function(a,b,d){!function e(f){f=a.shift(),a.length?c(f,e):c(f,b,d)}()},c.path=function(a){e=a},c.urlArgs=function(a){f=a},c.ready=function(d,e,f){d=d[j]?d:[d];var g=[];return!b(d,function(a){m[a]||g[j](a)})&&a(d,function(a){return m[a]})?e():!function(a){o[a]=o[a]||[],o[a][j](e),f&&f(g)}(d.join("|")),c},c.done=function(a){c([null],a)},c})},{}]},{},[29])(29)}); // source --> https://windycityglam.com/wp-content/plugins/optimizePressPlugin/lib/js/op-video-all.min.js?ver=2.5.18 /*! * MediaElement.js * HTML5