!function(t,i){var s=function(t){var i={};function s(e){if(i[e])return i[e].exports;var n=i[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,s),n.l=!0,n.exports}return s.m=t,s.c=i,s.d=function(t,i,e){s.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:e})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,i){if(1&i&&(t=s(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(s.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var n in t)s.d(e,n,function(i){return t[i]}.bind(null,n));return e},s.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(i,"a",i),i},s.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},s.p="",s(s.s=564)}({564:function(t,i,s){s(565),s(566)},565:function(t,i){!function(t){"use strict";var i={slide:0,delay:5e3,loop:!0,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",firstTransition:null,firstTransitionDuration:null,transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],slidesToKeep:1,init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},s={},e=function(s,e){this.elmt=s,this.settings=t.extend({},i,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=t(s),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==0&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==0&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},!0===this.settings.shuffle&&this.shuffle(),this._init()};e.prototype={_init:function(){var i,s,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,r=this.settings.overlay,a=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),i=t('
').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||i.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(i),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('
'),this.$timer=e,this.$elmt.prepend(e)),r&&(s=t('
'),"string"==typeof r&&s.css("background-image","url("+r+")"),this.$overlay=s,this.$elmt.prepend(s)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(i),setTimeout(function(){a.trigger("init"),a._goto(a.slide),a.settings.autoplay&&a.trigger("play")},1)},_preload:function(){var t;for(t=0;t
1&&!this.ended&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var i=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.ended||this.paused||this.noshow||t&&setTimeout(function(){i.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",i._options("delay")-100+"ms")},100))},_video:function(t){var i,e,n=t.toString();return s[n]?s[n]:(t instanceof Array==0&&(t=[t]),(i=document.createElement("video")).preload=!0,t.forEach(function(t){(e=document.createElement("source")).src=t,i.appendChild(e)}),s[n]=i,i)},_fadeOutSound:function(t,i){var s=this,e=i/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){s._fadeOutSound(t,i)},e)):t.pause()},_fadeInSound:function(t,i){var s=this,e=i/10,n=t.volume+.09;n<1&&(t.volume=n,setTimeout(function(){s._fadeInSound(t,i)},e))},_options:function(t,i){return void 0===i&&(i=this.slide),void 0!==this.settings.slides[i][t]?this.settings.slides[i][t]:this.settings[t]},_goto:function(i){void 0===this.settings.slides[i]&&(i=0),this.slide=i;var s,e,n,o,r,a=this.$elmt.children(".vegas-slide"),l=this.settings.slides[i].src,h=this.settings.slides[i].video,d=this._options("delay"),u=this._options("align"),c=this._options("valign"),g=this._options("cover"),f=this._options("color")||this.$elmt.css("background-color"),p=this,m=a.length,v=this._options("transition"),y=this._options("transitionDuration"),b=this._options("animation"),_=this._options("animationDuration");function w(){p._timer(!0),setTimeout(function(){v&&(p.support.transition?(a.css("transition","all "+y+"ms").addClass("vegas-transition-"+v+"-out"),a.each(function(){var t=a.find("video").get(0);t&&(t.volume=1,p._fadeOutSound(t,y))}),s.css("transition","all "+y+"ms").addClass("vegas-transition-"+v+"-in")):s.fadeIn(y));for(var t=0;td)&&(y=d),"auto"===_&&(_=d),s=t(''),this.support.transition&&v&&s.addClass("vegas-transition-"+v),this.support.video&&h?((o=h instanceof Array?this._video(h):this._video(h.src)).loop=void 0===h.loop||h.loop,o.muted=void 0===h.mute||h.mute,!1===o.muted?(o.volume=0,this._fadeInSound(o,y)):o.pause(),n=t(o).addClass("vegas-video").css("background-color",f),this.support.objectFit?n.css("object-position",u+" "+c).css("object-fit",g).css("width","100%").css("height","100%"):"contain"===g&&n.css("width","100%").css("height","100%"),s.append(n)):(r=new Image,e=t('').css("background-image",'url("'+l+'")').css("background-color",f).css("background-position",u+" "+c),"repeat"===g?e.css("background-repeat","repeat"):e.css("background-size",g),this.support.transition&&b&&e.addClass("vegas-animation-"+b).css("animation-duration",_+"ms"),s.append(e)),this.support.transition||s.css("display","none"),m?a.eq(m-1).after(s):this.$elmt.prepend(s),a.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),v&&(this.className+=" vegas-transition-"+v,this.className+=" vegas-transition-"+v+"-in")}),p._timer(!1),o?(4===o.readyState&&(o.currentTime=0),o.play(),w()):(r.src=l,r.complete?w():r.onload=w)},_end:function(){this.settings.autoplay?this.ended=!1:this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,i,s=this.total-1;s>0;s--)i=Math.floor(Math.random()*(s+1)),t=this.settings.slides[s],this.settings.slides[s]=this.settings.slides[i],this.settings.slides[i]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){t<0||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,this.slide<0){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(t){var i=[];i="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,i),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,i)},options:function(s,e){var n=this.settings.slides.slice();if("object"==typeof s)this.settings=t.extend({},i,t.vegas.defaults,s);else{if("string"!=typeof s)return this.settings;if(void 0===e)return this.settings[s];this.settings[s]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var i,s=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?i=e[t].apply(e,[].slice.call(s,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==i?i:this}},t.vegas={},t.vegas.defaults=i,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto)},566:function(t,i){function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var e=$.fn.vegas;$.fn.vegas=function(){for(var t=arguments.length,i=new Array(t),n=0;n