');\n this.$timer = $timer;\n this.$elmt.prepend($timer);\n }\n\n // Overlay\n if (overlay) {\n $overlay = $('
');\n\n if (typeof overlay === 'string') {\n $overlay.css('background-image', 'url(' + overlay + ')');\n }\n\n this.$overlay = $overlay;\n this.$elmt.prepend($overlay);\n }\n\n // Container\n this.$elmt.addClass('vegas-container');\n\n if (!isBody) {\n this.$elmt.append($contentScroll);\n $contentScroll.append($content);\n }\n\n setTimeout(function () {\n self.trigger('init');\n self._goto(self.slide);\n\n if (self.settings.autoplay) {\n self.trigger('play');\n }\n }, 1);\n },\n\n _preload: function () {\n var img, i;\n\n for (i = 0; i < this.settings.slides.length; i++) {\n if (this.settings.preload || this.settings.preloadImages) {\n if (this.settings.slides[i].src) {\n img = new Image();\n img.src = this.settings.slides[i].src;\n }\n }\n\n if (this.settings.preload || this.settings.preloadVideos) {\n if (this.support.video && this.settings.slides[i].video) {\n if (this.settings.slides[i].video instanceof Array) {\n this._video(this.settings.slides[i].video);\n } else {\n this._video(this.settings.slides[i].video.src);\n }\n }\n }\n }\n },\n\n _random: function (array) {\n return array[Math.floor(Math.random() * array.length)];\n },\n\n _slideShow: function () {\n var self = this;\n\n if (this.total > 1 && !this.ended && !this.paused && !this.noshow) {\n this.timeout = setTimeout(function () {\n self.next();\n }, this._options('delay'));\n }\n },\n\n _timer: function (state) {\n var self = this;\n\n clearTimeout(this.timeout);\n\n if (!this.$timer) {\n return;\n }\n\n this.$timer\n .removeClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', '0ms');\n\n if (this.ended || this.paused || this.noshow) {\n return;\n }\n\n if (state) {\n setTimeout(function () {\n self.$timer\n .addClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', self._options('delay') - 100 + 'ms');\n }, 100);\n }\n },\n\n _video: function (srcs) {\n var video,\n source,\n cacheKey = srcs.toString();\n\n if (videoCache[cacheKey]) {\n return videoCache[cacheKey];\n }\n\n if (!(srcs instanceof Array)) {\n srcs = [ srcs ];\n }\n\n video = document.createElement('video');\n video.preload = true;\n\n srcs.forEach(function (src) {\n source = document.createElement('source');\n source.src = src;\n video.appendChild(source);\n });\n\n videoCache[cacheKey] = video;\n\n return video;\n },\n\n _fadeOutSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume - 0.09;\n\n if (volume > 0) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeOutSound(video, duration);\n }, delay);\n } else {\n video.pause();\n }\n },\n\n _fadeInSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume + 0.09;\n\n if (volume < 1) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeInSound(video, duration);\n }, delay);\n }\n },\n\n _options: function (key, i) {\n if (i === undefined) {\n i = this.slide;\n }\n\n if (this.settings.slides[i][key] !== undefined) {\n return this.settings.slides[i][key];\n }\n\n return this.settings[key];\n },\n\n _goto: function (nb) {\n if (typeof this.settings.slides[nb] === 'undefined') {\n nb = 0;\n }\n\n this.slide = nb;\n\n var $slide,\n $inner,\n $video,\n $slides = this.$elmt.children('.vegas-slide'),\n src = this.settings.slides[nb].src,\n videoSettings = this.settings.slides[nb].video,\n delay = this._options('delay'),\n align = this._options('align'),\n valign = this._options('valign'),\n cover = this._options('cover'),\n color = this._options('color') || this.$elmt.css('background-color'),\n self = this,\n total = $slides.length,\n video,\n img;\n\n var transition = this._options('transition'),\n transitionDuration = this._options('transitionDuration'),\n animation = this._options('animation'),\n animationDuration = this._options('animationDuration');\n\n if (this.settings.firstTransition && this.first) {\n transition = this.settings.firstTransition || transition;\n }\n\n if (this.settings.firstTransitionDuration && this.first) {\n transitionDuration = this.settings.firstTransitionDuration || transitionDuration;\n }\n\n if (this.first) {\n this.first = false;\n }\n\n if (cover !== 'repeat') {\n if (cover === true) {\n cover = 'cover';\n } else if (cover === false) {\n cover = 'contain';\n }\n }\n\n if (transition === 'random' || transition instanceof Array) {\n if (transition instanceof Array) {\n transition = this._random(transition);\n } else {\n transition = this._random(this.transitions);\n }\n }\n\n if (animation === 'random' || animation instanceof Array) {\n if (animation instanceof Array) {\n animation = this._random(animation);\n } else {\n animation = this._random(this.animations);\n }\n }\n\n if (transitionDuration === 'auto' || transitionDuration > delay) {\n transitionDuration = delay;\n }\n\n if (animationDuration === 'auto') {\n animationDuration = delay;\n }\n\n $slide = $('
');\n\n if (this.support.transition && transition) {\n $slide.addClass('vegas-transition-' + transition);\n }\n\n // Video\n\n if (this.support.video && videoSettings) {\n if (videoSettings instanceof Array) {\n video = this._video(videoSettings);\n } else {\n video = this._video(videoSettings.src);\n }\n\n video.loop = videoSettings.loop !== undefined ? videoSettings.loop : true;\n video.muted = videoSettings.mute !== undefined ? videoSettings.mute : true;\n\n if (video.muted === false) {\n video.volume = 0;\n this._fadeInSound(video, transitionDuration);\n } else {\n video.pause();\n }\n\n $video = $(video)\n .addClass('vegas-video')\n .css('background-color', color);\n\n if (this.support.objectFit) {\n $video\n .css('object-position', align + ' ' + valign)\n .css('object-fit', cover)\n .css('width', '100%')\n .css('height', '100%');\n } else if (cover === 'contain') {\n $video\n .css('width', '100%')\n .css('height', '100%');\n }\n\n $slide.append($video);\n\n // Image\n\n } else {\n img = new Image();\n\n $inner = $('
')\n .css('background-image', 'url(\"' + src + '\")')\n .css('background-color', color)\n .css('background-position', align + ' ' + valign);\n\n if (cover === 'repeat') {\n $inner.css('background-repeat', 'repeat');\n } else {\n $inner.css('background-size', cover);\n }\n\n if (this.support.transition && animation) {\n $inner\n .addClass('vegas-animation-' + animation)\n .css('animation-duration', animationDuration + 'ms');\n }\n\n $slide.append($inner);\n }\n\n if (!this.support.transition) {\n $slide.css('display', 'none');\n }\n\n if (total) {\n $slides.eq(total - 1).after($slide);\n } else {\n this.$elmt.prepend($slide);\n }\n\n $slides\n .css('transition', 'all 0ms')\n .each(function () {\n this.className = 'vegas-slide';\n\n if (this.tagName === 'VIDEO') {\n this.className += ' vegas-video';\n }\n\n if (transition) {\n this.className += ' vegas-transition-' + transition;\n this.className += ' vegas-transition-' + transition + '-in';\n }\n }\n );\n\n self._timer(false);\n\n function go () {\n self._timer(true);\n\n setTimeout(function () {\n if (transition) {\n if (self.support.transition) {\n $slides\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-out');\n\n $slides.each(function () {\n var video = $slides.find('video').get(0);\n\n if (video) {\n video.volume = 1;\n self._fadeOutSound(video, transitionDuration);\n }\n });\n\n $slide\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-in');\n } else {\n $slide.fadeIn(transitionDuration);\n }\n }\n\n for (var i = 0; i < $slides.length - self.settings.slidesToKeep; i++) {\n $slides.eq(i).remove();\n }\n\n self.trigger('walk');\n self._slideShow();\n }, 100);\n }\n if (video) {\n if (video.readyState === 4) {\n video.currentTime = 0;\n }\n\n video.play();\n go();\n } else {\n img.src = src;\n\n if (img.complete) {\n go();\n } else {\n img.onload = go;\n }\n }\n },\n\n _end: function () {\n this.ended = !this.settings.autoplay;\n this._timer(false);\n this.trigger('end');\n },\n\n shuffle: function () {\n var temp,\n rand;\n\n for (var i = this.total - 1; i > 0; i--) {\n rand = Math.floor(Math.random() * (i + 1));\n temp = this.settings.slides[i];\n\n this.settings.slides[i] = this.settings.slides[rand];\n this.settings.slides[rand] = temp;\n }\n },\n\n play: function () {\n if (this.paused) {\n this.paused = false;\n this.next();\n this.trigger('play');\n }\n },\n\n pause: function () {\n this._timer(false);\n this.paused = true;\n this.trigger('pause');\n },\n\n toggle: function () {\n if (this.paused) {\n this.play();\n } else {\n this.pause();\n }\n },\n\n playing: function () {\n return !this.paused && !this.noshow;\n },\n\n current: function (advanced) {\n if (advanced) {\n return {\n slide: this.slide,\n data: this.settings.slides[this.slide]\n };\n }\n return this.slide;\n },\n\n jump: function (nb) {\n if (nb < 0 || nb > this.total - 1 || nb === this.slide) {\n return;\n }\n\n this.slide = nb;\n this._goto(this.slide);\n },\n\n next: function () {\n this.slide++;\n\n if (this.slide >= this.total) {\n if (!this.settings.loop) {\n return this._end();\n }\n\n this.slide = 0;\n }\n\n this._goto(this.slide);\n },\n\n previous: function () {\n this.slide--;\n\n if (this.slide < 0) {\n if (!this.settings.loop) {\n this.slide++;\n return;\n } else {\n this.slide = this.total - 1;\n }\n }\n\n this._goto(this.slide);\n },\n\n trigger: function (fn) {\n var params = [];\n\n if (fn === 'init') {\n params = [ this.settings ];\n } else {\n params = [\n this.slide,\n this.settings.slides[this.slide]\n ];\n }\n\n this.$elmt.trigger('vegas' + fn, params);\n\n if (typeof this.settings[fn] === 'function') {\n this.settings[fn].apply(this.$elmt, params);\n }\n },\n\n options: function (key, value) {\n var oldSlides = this.settings.slides.slice();\n\n if (typeof key === 'object') {\n this.settings = $.extend({}, defaults, $.vegas.defaults, key);\n } else if (typeof key === 'string') {\n if (value === undefined) {\n return this.settings[key];\n }\n this.settings[key] = value;\n } else {\n return this.settings;\n }\n\n // In case slides have changed\n if (this.settings.slides !== oldSlides) {\n this.total = this.settings.slides.length;\n this.noshow = this.total < 2;\n this._preload();\n }\n },\n\n destroy: function () {\n clearTimeout(this.timeout);\n\n this.$elmt.removeClass('vegas-container');\n this.$elmt.find('> .vegas-slide').remove();\n this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);\n this.$elmt.find('> .vegas-wrapper').remove();\n\n if (this.settings.timer) {\n this.$timer.remove();\n }\n\n if (this.settings.overlay) {\n this.$overlay.remove();\n }\n\n this.elmt._vegas = null;\n }\n };\n\n $.fn.vegas = function(options) {\n var args = arguments,\n error = false,\n returns;\n\n if (options === undefined || typeof options === 'object') {\n return this.each(function () {\n if (!this._vegas) {\n this._vegas = new Vegas(this, options);\n }\n });\n } else if (typeof options === 'string') {\n this.each(function () {\n var instance = this._vegas;\n\n if (!instance) {\n throw new Error('No Vegas applied to this element.');\n }\n\n if (typeof instance[options] === 'function' && options[0] !== '_') {\n returns = instance[options].apply(instance, [].slice.call(args, 1));\n } else {\n error = true;\n }\n });\n\n if (error) {\n throw new Error('No method \"' + options + '\" in Vegas.');\n }\n\n return returns !== undefined ? returns : this;\n }\n };\n\n $.vegas = {};\n $.vegas.defaults = defaults;\n\n $.vegas.isVideoCompatible = function () {\n return !/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent);\n };\n\n})(window.jQuery || window.Zepto || window.m4q);\n"],"names":["$","Vegas","elmt","options","this","settings","extend","defaults","vegas","slide","total","slides","length","noshow","paused","autoplay","ended","$elmt","$timer","$overlay","$slide","timeout","first","transitions","animations","transitionRegister","Array","animationRegister","concat","support","objectFit","document","body","style","transition","video","isVideoCompatible","shuffle","_init","delay","loop","preload","preloadImage","preloadVideo","timer","overlay","cover","color","align","valign","firstTransition","firstTransitionDuration","transitionDuration","animation","animationDuration","slidesToKeep","init","play","pause","walk","videoCache","prototype","$content","$contentScroll","isBody","tagName","self","_preload","css","clone","children","appendTo","innerHTML","prepend","addClass","append","setTimeout","trigger","_goto","i","preloadImages","src","Image","preloadVideos","_video","_random","array","Math","floor","random","_slideShow","next","_options","_timer","state","clearTimeout","removeClass","find","srcs","source","cacheKey","toString","createElement","forEach","appendChild","_fadeOutSound","duration","volume","_fadeInSound","key","undefined","nb","$inner","$video","img","$slides","videoSettings","go","each","get","fadeIn","eq","remove","muted","mute","after","className","readyState","currentTime","complete","onload","_end","temp","rand","toggle","playing","current","advanced","data","jump","previous","fn","params","apply","value","oldSlides","slice","destroy","_vegas","returns","args","arguments","error","instance","Error","call","test","navigator","userAgent","window","jQuery","Zepto","m4q"],"mappings":";;;;;;;;;CAUA,SAAWA,GACT,aAqDY,SAARC,EAAkBC,EAAMC,GAC1BC,KAAKF,KAAeA,EACpBE,KAAKC,SAAeL,EAAEM,OAAO,GAAIC,EAAUP,EAAEQ,MAAMD,SAAUJ,GAC7DC,KAAKK,MAAeL,KAAKC,SAASI,MAClCL,KAAKM,MAAeN,KAAKC,SAASM,OAAOC,OACzCR,KAAKS,OAAeT,KAAKM,MAAQ,EACjCN,KAAKU,QAAgBV,KAAKC,SAASU,UAAY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PpD,aAAa3F,KAAKiB,SAElBjB,KAAKa,MAAM+E,YAAY,mBACvB5F,KAAKa,MAAMgF,KAAK,kBAAkByB,SAClCtH,KAAKa,MAAMgF,KAAK,oBAAoB5B,OAAM,GAAMC,WAAWC,SAASnE,KAAKa,OACzEb,KAAKa,MAAMgF,KAAK,oBAAoByB,SAEhCtH,KAAKC,SAASuC,OAChBxC,KAAKc,OAAOwG,SAGVtH,KAAKC,SAASwC,SAChBzC,KAAKe,SAASuG,SAGhBtH,KAAKF,KAAKkJ,OAAS,OAIvBpJ,EAAE6I,GAAGrI,MAAQ,SAASL,GACpB,IAEEkJ,EAFEC,EAAOC,UACTC,GAAQ,EAGV,QAAgB1C,IAAZ3G,GAA4C,iBAAZA,EAClC,OAAOC,KAAKkH,KAAK,WACVlH,KAAKgJ,SACRhJ,KAAKgJ,OAAS,IAAInJ,EAAMG,KAAMD,MAG7B,GAAuB,iBAAZA,EAAsB,CAetC,GAdAC,KAAKkH,KAAK,WACR,IAAImC,EAAWrJ,KAAKgJ,OAEpB,IAAKK,EACH,MAAM,IAAIC,MAAM,qCAGe,mBAAtBD,EAAStJ,IAA0C,MAAfA,EAAQ,GACrDkJ,EAAUI,EAAStJ,GAAS4I,MAAMU,EAAU,GAAGP,MAAMS,KAAKL,EAAM,IAEhEE,GAAQ,IAIRA,EACF,MAAM,IAAIE,MAAM,cAAgBvJ,EAAU,eAG5C,YAAmB2G,IAAZuC,EAAwBA,EAAUjJ,OAI7CJ,EAAEQ,MAAQ,GACVR,EAAEQ,MAAMD,SAAWA,EAEnBP,EAAEQ,MAAM4B,kBAAoB,WAC1B,OAAQ,4DAA4DwH,KAAKC,UAAUC,YAjuBvF,CAouBGC,OAAOC,QAAUD,OAAOE,OAASF,OAAOG"}
\ No newline at end of file
diff --git a/releases/2.5.4/vegas.zip b/releases/2.5.4/vegas.zip
new file mode 100644
index 00000000..669a53d6
Binary files /dev/null and b/releases/2.5.4/vegas.zip differ
diff --git a/releases/latest/metadata.js b/releases/latest/metadata.js
index fd68fc43..3a9c518d 100644
--- a/releases/latest/metadata.js
+++ b/releases/latest/metadata.js
@@ -1,4 +1,4 @@
__metadata({
- "date": "2020-12-18 HH:12",
- "version": "v2.5.3"
+ "date": "2021-01-30 HH:01",
+ "version": "v2.5.4"
});
\ No newline at end of file
diff --git a/releases/latest/metadata.json b/releases/latest/metadata.json
index f8b6e285..84c36728 100644
--- a/releases/latest/metadata.json
+++ b/releases/latest/metadata.json
@@ -1,4 +1,4 @@
{
- "date": "2020-12-18 HH:12",
- "version": "v2.5.3"
+ "date": "2021-01-30 HH:01",
+ "version": "v2.5.4"
}
\ No newline at end of file
diff --git a/releases/latest/vegas.css b/releases/latest/vegas.css
index 390e121c..d70d81d4 100755
--- a/releases/latest/vegas.css
+++ b/releases/latest/vegas.css
@@ -22,7 +22,7 @@
.vegas-overlay {
opacity: .5;
- background: transparent url("overlays/02.png") center center repeat;
+ background: transparent url("./overlays/02.png") center center repeat;
}
.vegas-timer {
diff --git a/releases/latest/vegas.js b/releases/latest/vegas.js
index fd92948b..267b66e1 100755
--- a/releases/latest/vegas.js
+++ b/releases/latest/vegas.js
@@ -1,10 +1,10 @@
/*!-----------------------------------------------------------------------------
* Vegas - Fullscreen Backgrounds and Slideshows.
- * v2.5.3 - built 2020-12-18
+ * v2.5.4 - built 2021-01-30
* Licensed under the MIT License.
* http://vegas.jaysalvat.com/
* ----------------------------------------------------------------------------
- * Copyright (C) 2010-2020 Jay Salvat
+ * Copyright (C) 2010-2021 Jay Salvat
* http://jaysalvat.com/
* --------------------------------------------------------------------------*/
diff --git a/releases/latest/vegas.min.css b/releases/latest/vegas.min.css
index 6df86e1b..cc2d082d 100755
--- a/releases/latest/vegas.min.css
+++ b/releases/latest/vegas.min.css
@@ -1,2 +1,2 @@
-.vegas-content-scrollable,.vegas-overlay,.vegas-slide,.vegas-slide-inner,.vegas-timer{position:absolute;top:0;left:0;bottom:0;right:0;overflow:hidden;border:none;padding:0;margin:0}.vegas-content-scrollable{position:relative;height:100%;overflow:auto}.vegas-overlay{opacity:.5;background:url(overlays/02.png) center center}.vegas-timer{top:auto;bottom:0;height:2px}.vegas-timer-progress{width:0%;height:100%;background:#fff;transition:width ease-out}.vegas-timer-running .vegas-timer-progress{width:100%}.vegas-slide,.vegas-slide-inner{margin:0;padding:0;background:center center no-repeat;transform:translateZ(0);will-change:transform,opacity}body .vegas-container{overflow:hidden!important;position:relative}.vegas-video{min-width:100%;min-height:100%;width:auto;height:auto}body.vegas-container{overflow:auto;position:static;z-index:-2}body.vegas-container>.vegas-overlay,body.vegas-container>.vegas-slide,body.vegas-container>.vegas-timer{position:fixed;z-index:-1}.vegas-transition-blur,.vegas-transition-blur2{opacity:0;filter:blur(32px) brightness(1.01)}.vegas-transition-blur-in,.vegas-transition-blur2-in{opacity:1;filter:blur(0) brightness(1.01)}.vegas-transition-blur2-out{opacity:0}.vegas-transition-burn,.vegas-transition-burn2{opacity:0;filter:contrast(1000%) saturate(1000%)}.vegas-transition-burn-in,.vegas-transition-burn2-in{opacity:1;filter:contrast(100%) saturate(100%)}.vegas-transition-burn2-out{opacity:0;filter:contrast(1000%) saturate(1000%)}.vegas-transition-fade,.vegas-transition-fade2{opacity:0}.vegas-transition-fade-in,.vegas-transition-fade2-in{opacity:1}.vegas-transition-fade2-out{opacity:0}.vegas-transition-flash,.vegas-transition-flash2{opacity:0;filter:brightness(25)}.vegas-transition-flash-in,.vegas-transition-flash2-in{opacity:1;filter:brightness(1)}.vegas-transition-flash2-out{opacity:0;filter:brightness(25)}.vegas-transition-negative,.vegas-transition-negative2{opacity:0;filter:invert(100%)}.vegas-transition-negative-in,.vegas-transition-negative2-in{opacity:1;filter:invert(0)}.vegas-transition-negative2-out{opacity:0;filter:invert(100%)}.vegas-transition-slideDown,.vegas-transition-slideDown2{transform:translateY(-100%)}.vegas-transition-slideDown-in,.vegas-transition-slideDown2-in{transform:translateY(0)}.vegas-transition-slideDown2-out{transform:translateY(100%)}.vegas-transition-slideLeft,.vegas-transition-slideLeft2{transform:translateX(100%)}.vegas-transition-slideLeft-in,.vegas-transition-slideLeft2-in{transform:translateX(0)}.vegas-transition-slideLeft2-out,.vegas-transition-slideRight,.vegas-transition-slideRight2{transform:translateX(-100%)}.vegas-transition-slideRight-in,.vegas-transition-slideRight2-in{transform:translateX(0)}.vegas-transition-slideRight2-out{transform:translateX(100%)}.vegas-transition-slideUp,.vegas-transition-slideUp2{transform:translateY(100%)}.vegas-transition-slideUp-in,.vegas-transition-slideUp2-in{transform:translateY(0)}.vegas-transition-slideUp2-out{transform:translateY(-100%)}.vegas-transition-swirlLeft,.vegas-transition-swirlLeft2{transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-swirlLeft-in,.vegas-transition-swirlLeft2-in{transform:scale(1) rotate(0);opacity:1}.vegas-transition-swirlLeft2-out,.vegas-transition-swirlRight,.vegas-transition-swirlRight2{transform:scale(2) rotate(-35deg);opacity:0}.vegas-transition-swirlRight-in,.vegas-transition-swirlRight2-in{transform:scale(1) rotate(0);opacity:1}.vegas-transition-swirlRight2-out{transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-zoomIn,.vegas-transition-zoomIn2{transform:scale(0);opacity:0}.vegas-transition-zoomIn-in,.vegas-transition-zoomIn2-in{transform:scale(1);opacity:1}.vegas-transition-zoomIn2-out,.vegas-transition-zoomOut,.vegas-transition-zoomOut2{transform:scale(2);opacity:0}.vegas-transition-zoomOut-in,.vegas-transition-zoomOut2-in{transform:scale(1);opacity:1}.vegas-transition-zoomOut2-out{transform:scale(0);opacity:0}.vegas-animation-kenburns{-webkit-animation:kenburns ease-out;animation:kenburns ease-out}@-webkit-keyframes kenburns{0%{transform:scale(1.5)}100%{transform:scale(1)}}@keyframes kenburns{0%{transform:scale(1.5)}100%{transform:scale(1)}}.vegas-animation-kenburnsDownLeft{-webkit-animation:kenburnsDownLeft ease-out;animation:kenburnsDownLeft ease-out}@-webkit-keyframes kenburnsDownLeft{0%{transform:scale(1.5) translate(10%,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDownLeft{0%{transform:scale(1.5) translate(10%,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsDownRight{-webkit-animation:kenburnsDownRight ease-out;animation:kenburnsDownRight ease-out}@-webkit-keyframes kenburnsDownRight{0%{transform:scale(1.5) translate(-10%,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDownRight{0%{transform:scale(1.5) translate(-10%,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsDown{-webkit-animation:kenburnsDown ease-out;animation:kenburnsDown ease-out}@-webkit-keyframes kenburnsDown{0%{transform:scale(1.5) translate(0,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDown{0%{transform:scale(1.5) translate(0,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsLeft{-webkit-animation:kenburnsLeft ease-out;animation:kenburnsLeft ease-out}@-webkit-keyframes kenburnsLeft{0%{transform:scale(1.5) translate(10%,0)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsLeft{0%{transform:scale(1.5) translate(10%,0)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsRight{-webkit-animation:kenburnsRight ease-out;animation:kenburnsRight ease-out}@-webkit-keyframes kenburnsRight{0%{transform:scale(1.5) translate(-10%,0)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsRight{0%{transform:scale(1.5) translate(-10%,0)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUpLeft{-webkit-animation:kenburnsUpLeft ease-out;animation:kenburnsUpLeft ease-out}@-webkit-keyframes kenburnsUpLeft{0%{transform:scale(1.5) translate(10%,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUpLeft{0%{transform:scale(1.5) translate(10%,10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUpRight{-webkit-animation:kenburnsUpRight ease-out;animation:kenburnsUpRight ease-out}@-webkit-keyframes kenburnsUpRight{0%{transform:scale(1.5) translate(-10%,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUpRight{0%{transform:scale(1.5) translate(-10%,10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUp{-webkit-animation:kenburnsUp ease-out;animation:kenburnsUp ease-out}@-webkit-keyframes kenburnsUp{0%{transform:scale(1.5) translate(0,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUp{0%{transform:scale(1.5) translate(0,10%)}100%{transform:scale(1) translate(0,0)}}
+.vegas-content-scrollable,.vegas-overlay,.vegas-slide,.vegas-slide-inner,.vegas-timer{position:absolute;top:0;left:0;bottom:0;right:0;overflow:hidden;border:none;padding:0;margin:0}.vegas-content-scrollable{position:relative;height:100%;overflow:auto}.vegas-overlay{opacity:.5;background:url(./overlays/02.png) center center}.vegas-timer{top:auto;bottom:0;height:2px}.vegas-timer-progress{width:0%;height:100%;background:#fff;transition:width ease-out}.vegas-timer-running .vegas-timer-progress{width:100%}.vegas-slide,.vegas-slide-inner{margin:0;padding:0;background:center center no-repeat;transform:translateZ(0);will-change:transform,opacity}body .vegas-container{overflow:hidden!important;position:relative}.vegas-video{min-width:100%;min-height:100%;width:auto;height:auto}body.vegas-container{overflow:auto;position:static;z-index:-2}body.vegas-container>.vegas-overlay,body.vegas-container>.vegas-slide,body.vegas-container>.vegas-timer{position:fixed;z-index:-1}.vegas-transition-blur,.vegas-transition-blur2{opacity:0;filter:blur(32px) brightness(1.01)}.vegas-transition-blur-in,.vegas-transition-blur2-in{opacity:1;filter:blur(0) brightness(1.01)}.vegas-transition-blur2-out{opacity:0}.vegas-transition-burn,.vegas-transition-burn2{opacity:0;filter:contrast(1000%) saturate(1000%)}.vegas-transition-burn-in,.vegas-transition-burn2-in{opacity:1;filter:contrast(100%) saturate(100%)}.vegas-transition-burn2-out{opacity:0;filter:contrast(1000%) saturate(1000%)}.vegas-transition-fade,.vegas-transition-fade2{opacity:0}.vegas-transition-fade-in,.vegas-transition-fade2-in{opacity:1}.vegas-transition-fade2-out{opacity:0}.vegas-transition-flash,.vegas-transition-flash2{opacity:0;filter:brightness(25)}.vegas-transition-flash-in,.vegas-transition-flash2-in{opacity:1;filter:brightness(1)}.vegas-transition-flash2-out{opacity:0;filter:brightness(25)}.vegas-transition-negative,.vegas-transition-negative2{opacity:0;filter:invert(100%)}.vegas-transition-negative-in,.vegas-transition-negative2-in{opacity:1;filter:invert(0)}.vegas-transition-negative2-out{opacity:0;filter:invert(100%)}.vegas-transition-slideDown,.vegas-transition-slideDown2{transform:translateY(-100%)}.vegas-transition-slideDown-in,.vegas-transition-slideDown2-in{transform:translateY(0)}.vegas-transition-slideDown2-out{transform:translateY(100%)}.vegas-transition-slideLeft,.vegas-transition-slideLeft2{transform:translateX(100%)}.vegas-transition-slideLeft-in,.vegas-transition-slideLeft2-in{transform:translateX(0)}.vegas-transition-slideLeft2-out,.vegas-transition-slideRight,.vegas-transition-slideRight2{transform:translateX(-100%)}.vegas-transition-slideRight-in,.vegas-transition-slideRight2-in{transform:translateX(0)}.vegas-transition-slideRight2-out{transform:translateX(100%)}.vegas-transition-slideUp,.vegas-transition-slideUp2{transform:translateY(100%)}.vegas-transition-slideUp-in,.vegas-transition-slideUp2-in{transform:translateY(0)}.vegas-transition-slideUp2-out{transform:translateY(-100%)}.vegas-transition-swirlLeft,.vegas-transition-swirlLeft2{transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-swirlLeft-in,.vegas-transition-swirlLeft2-in{transform:scale(1) rotate(0);opacity:1}.vegas-transition-swirlLeft2-out,.vegas-transition-swirlRight,.vegas-transition-swirlRight2{transform:scale(2) rotate(-35deg);opacity:0}.vegas-transition-swirlRight-in,.vegas-transition-swirlRight2-in{transform:scale(1) rotate(0);opacity:1}.vegas-transition-swirlRight2-out{transform:scale(2) rotate(35deg);opacity:0}.vegas-transition-zoomIn,.vegas-transition-zoomIn2{transform:scale(0);opacity:0}.vegas-transition-zoomIn-in,.vegas-transition-zoomIn2-in{transform:scale(1);opacity:1}.vegas-transition-zoomIn2-out,.vegas-transition-zoomOut,.vegas-transition-zoomOut2{transform:scale(2);opacity:0}.vegas-transition-zoomOut-in,.vegas-transition-zoomOut2-in{transform:scale(1);opacity:1}.vegas-transition-zoomOut2-out{transform:scale(0);opacity:0}.vegas-animation-kenburns{-webkit-animation:kenburns ease-out;animation:kenburns ease-out}@-webkit-keyframes kenburns{0%{transform:scale(1.5)}100%{transform:scale(1)}}@keyframes kenburns{0%{transform:scale(1.5)}100%{transform:scale(1)}}.vegas-animation-kenburnsDownLeft{-webkit-animation:kenburnsDownLeft ease-out;animation:kenburnsDownLeft ease-out}@-webkit-keyframes kenburnsDownLeft{0%{transform:scale(1.5) translate(10%,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDownLeft{0%{transform:scale(1.5) translate(10%,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsDownRight{-webkit-animation:kenburnsDownRight ease-out;animation:kenburnsDownRight ease-out}@-webkit-keyframes kenburnsDownRight{0%{transform:scale(1.5) translate(-10%,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDownRight{0%{transform:scale(1.5) translate(-10%,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsDown{-webkit-animation:kenburnsDown ease-out;animation:kenburnsDown ease-out}@-webkit-keyframes kenburnsDown{0%{transform:scale(1.5) translate(0,-10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsDown{0%{transform:scale(1.5) translate(0,-10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsLeft{-webkit-animation:kenburnsLeft ease-out;animation:kenburnsLeft ease-out}@-webkit-keyframes kenburnsLeft{0%{transform:scale(1.5) translate(10%,0)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsLeft{0%{transform:scale(1.5) translate(10%,0)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsRight{-webkit-animation:kenburnsRight ease-out;animation:kenburnsRight ease-out}@-webkit-keyframes kenburnsRight{0%{transform:scale(1.5) translate(-10%,0)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsRight{0%{transform:scale(1.5) translate(-10%,0)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUpLeft{-webkit-animation:kenburnsUpLeft ease-out;animation:kenburnsUpLeft ease-out}@-webkit-keyframes kenburnsUpLeft{0%{transform:scale(1.5) translate(10%,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUpLeft{0%{transform:scale(1.5) translate(10%,10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUpRight{-webkit-animation:kenburnsUpRight ease-out;animation:kenburnsUpRight ease-out}@-webkit-keyframes kenburnsUpRight{0%{transform:scale(1.5) translate(-10%,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUpRight{0%{transform:scale(1.5) translate(-10%,10%)}100%{transform:scale(1) translate(0,0)}}.vegas-animation-kenburnsUp{-webkit-animation:kenburnsUp ease-out;animation:kenburnsUp ease-out}@-webkit-keyframes kenburnsUp{0%{transform:scale(1.5) translate(0,10%)}100%{transform:scale(1) translate(0,0)}}@keyframes kenburnsUp{0%{transform:scale(1.5) translate(0,10%)}100%{transform:scale(1) translate(0,0)}}
/*# sourceMappingURL=vegas.min.css.map */
diff --git a/releases/latest/vegas.min.css.map b/releases/latest/vegas.min.css.map
index 23dae9e9..d0ea41ce 100644
--- a/releases/latest/vegas.min.css.map
+++ b/releases/latest/vegas.min.css.map
@@ -1 +1 @@
-{"version":3,"names":[],"mappings":"","sources":["vegas.css"],"sourcesContent":[".vegas-overlay,\n.vegas-content-scrollable,\n.vegas-timer,\n.vegas-slide,\n.vegas-slide-inner {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n overflow: hidden;\n border: none;\n padding: 0;\n margin: 0;\n}\n\n.vegas-content-scrollable {\n position: relative;\n height: 100%;\n overflow: auto;\n}\n\n.vegas-overlay {\n opacity: .5;\n background: transparent url(\"overlays/02.png\") center center repeat;\n}\n\n.vegas-timer {\n top: auto;\n bottom: 0;\n height: 2px;\n}\n\n.vegas-timer-progress {\n width: 0%;\n height: 100%;\n background: white;\n transition: width ease-out;\n}\n\n.vegas-timer-running .vegas-timer-progress {\n width: 100%;\n}\n\n.vegas-slide,\n.vegas-slide-inner {\n margin: 0;\n padding: 0;\n background: transparent center center no-repeat;\n transform: translateZ(0);\n will-change: transform, opacity;\n}\n\nbody .vegas-container {\n overflow: hidden !important;\n position: relative;\n}\n\n.vegas-video {\n min-width: 100%;\n min-height: 100%;\n width: auto;\n height: auto;\n}\n\nbody.vegas-container {\n overflow: auto;\n position: static;\n z-index: -2;\n}\n\nbody.vegas-container > .vegas-timer,\nbody.vegas-container > .vegas-overlay,\nbody.vegas-container > .vegas-slide {\n position: fixed;\n z-index: -1;\n}\n\n/* Target Safari IOS7+ in order to add 76px */\n/*******************************************/\n/* blur transition */\n/*******************************************/\n.vegas-transition-blur,\n.vegas-transition-blur2 {\n opacity: 0;\n filter: blur(32px) brightness(1.01);\n}\n\n.vegas-transition-blur-in,\n.vegas-transition-blur2-in {\n opacity: 1;\n filter: blur(0px) brightness(1.01);\n}\n\n.vegas-transition-blur2-out {\n opacity: 0;\n}\n\n/*******************************************/\n/* burn transition */\n/*******************************************/\n.vegas-transition-burn,\n.vegas-transition-burn2 {\n opacity: 0;\n filter: contrast(1000%) saturate(1000%);\n}\n\n.vegas-transition-burn-in,\n.vegas-transition-burn2-in {\n opacity: 1;\n filter: contrast(100%) saturate(100%);\n}\n\n.vegas-transition-burn2-out {\n opacity: 0;\n filter: contrast(1000%) saturate(1000%);\n}\n\n/*******************************************/\n/* fade transition */\n/*******************************************/\n.vegas-transition-fade,\n.vegas-transition-fade2 {\n opacity: 0;\n}\n\n.vegas-transition-fade-in,\n.vegas-transition-fade2-in {\n opacity: 1;\n}\n\n.vegas-transition-fade2-out {\n opacity: 0;\n}\n\n/*******************************************/\n/* flash transition */\n/*******************************************/\n.vegas-transition-flash,\n.vegas-transition-flash2 {\n opacity: 0;\n filter: brightness(25);\n}\n\n.vegas-transition-flash-in,\n.vegas-transition-flash2-in {\n opacity: 1;\n filter: brightness(1);\n}\n\n.vegas-transition-flash2-out {\n opacity: 0;\n filter: brightness(25);\n}\n\n/*******************************************/\n/* negative transition */\n/*******************************************/\n.vegas-transition-negative,\n.vegas-transition-negative2 {\n opacity: 0;\n filter: invert(100%);\n}\n\n.vegas-transition-negative-in,\n.vegas-transition-negative2-in {\n opacity: 1;\n filter: invert(0);\n}\n\n.vegas-transition-negative2-out {\n opacity: 0;\n filter: invert(100%);\n}\n\n/*******************************************/\n/* slideDown transition */\n/*******************************************/\n.vegas-transition-slideDown,\n.vegas-transition-slideDown2 {\n transform: translateY(-100%);\n}\n\n.vegas-transition-slideDown-in,\n.vegas-transition-slideDown2-in {\n transform: translateY(0%);\n}\n\n.vegas-transition-slideDown2-out {\n transform: translateY(100%);\n}\n\n/*******************************************/\n/* slideLeft transition */\n/*******************************************/\n.vegas-transition-slideLeft,\n.vegas-transition-slideLeft2 {\n transform: translateX(100%);\n}\n\n.vegas-transition-slideLeft-in,\n.vegas-transition-slideLeft2-in {\n transform: translateX(0%);\n}\n\n.vegas-transition-slideLeft2-out {\n transform: translateX(-100%);\n}\n\n/*******************************************/\n/* slideRight transition */\n/*******************************************/\n.vegas-transition-slideRight,\n.vegas-transition-slideRight2 {\n transform: translateX(-100%);\n}\n\n.vegas-transition-slideRight-in,\n.vegas-transition-slideRight2-in {\n transform: translateX(0%);\n}\n\n.vegas-transition-slideRight2-out {\n transform: translateX(100%);\n}\n\n/*******************************************/\n/* slideUp transition */\n/*******************************************/\n.vegas-transition-slideUp,\n.vegas-transition-slideUp2 {\n transform: translateY(100%);\n}\n\n.vegas-transition-slideUp-in,\n.vegas-transition-slideUp2-in {\n transform: translateY(0%);\n}\n\n.vegas-transition-slideUp2-out {\n transform: translateY(-100%);\n}\n\n/*******************************************/\n/* swirlLeft transition */\n/*******************************************/\n.vegas-transition-swirlLeft,\n.vegas-transition-swirlLeft2 {\n transform: scale(2) rotate(35deg);\n opacity: 0;\n}\n\n.vegas-transition-swirlLeft-in,\n.vegas-transition-swirlLeft2-in {\n transform: scale(1) rotate(0deg);\n opacity: 1;\n}\n\n.vegas-transition-swirlLeft2-out {\n transform: scale(2) rotate(-35deg);\n opacity: 0;\n}\n\n/*******************************************/\n/* swirlRight transition */\n/*******************************************/\n.vegas-transition-swirlRight,\n.vegas-transition-swirlRight2 {\n transform: scale(2) rotate(-35deg);\n opacity: 0;\n}\n\n.vegas-transition-swirlRight-in,\n.vegas-transition-swirlRight2-in {\n transform: scale(1) rotate(0deg);\n opacity: 1;\n}\n\n.vegas-transition-swirlRight2-out {\n transform: scale(2) rotate(35deg);\n opacity: 0;\n}\n\n/*******************************************/\n/* zoomIn transition */\n/*******************************************/\n.vegas-transition-zoomIn,\n.vegas-transition-zoomIn2 {\n transform: scale(0);\n opacity: 0;\n}\n\n.vegas-transition-zoomIn-in,\n.vegas-transition-zoomIn2-in {\n transform: scale(1);\n opacity: 1;\n}\n\n.vegas-transition-zoomIn2-out {\n transform: scale(2);\n opacity: 0;\n}\n\n/*******************************************/\n/* zoomOut transition */\n/*******************************************/\n.vegas-transition-zoomOut,\n.vegas-transition-zoomOut2 {\n transform: scale(2);\n opacity: 0;\n}\n\n.vegas-transition-zoomOut-in,\n.vegas-transition-zoomOut2-in {\n transform: scale(1);\n opacity: 1;\n}\n\n.vegas-transition-zoomOut2-out {\n transform: scale(0);\n opacity: 0;\n}\n\n/*******************************************/\n/* kenburns animation */\n/*******************************************/\n.vegas-animation-kenburns {\n -webkit-animation: kenburns ease-out;\n animation: kenburns ease-out;\n}\n\n@-webkit-keyframes kenburns {\n 0% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes kenburns {\n 0% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n/*******************************************/\n/* kenburnsDownLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsDownLeft {\n -webkit-animation: kenburnsDownLeft ease-out;\n animation: kenburnsDownLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsDownLeft {\n 0% {\n transform: scale(1.5) translate(10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDownLeft {\n 0% {\n transform: scale(1.5) translate(10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsDownRight animation */\n/*******************************************/\n.vegas-animation-kenburnsDownRight {\n -webkit-animation: kenburnsDownRight ease-out;\n animation: kenburnsDownRight ease-out;\n}\n\n@-webkit-keyframes kenburnsDownRight {\n 0% {\n transform: scale(1.5) translate(-10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDownRight {\n 0% {\n transform: scale(1.5) translate(-10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsDown animation */\n/*******************************************/\n.vegas-animation-kenburnsDown {\n -webkit-animation: kenburnsDown ease-out;\n animation: kenburnsDown ease-out;\n}\n\n@-webkit-keyframes kenburnsDown {\n 0% {\n transform: scale(1.5) translate(0, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDown {\n 0% {\n transform: scale(1.5) translate(0, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsLeft {\n -webkit-animation: kenburnsLeft ease-out;\n animation: kenburnsLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsLeft {\n 0% {\n transform: scale(1.5) translate(10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsLeft {\n 0% {\n transform: scale(1.5) translate(10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsRight animation */\n/*******************************************/\n.vegas-animation-kenburnsRight {\n -webkit-animation: kenburnsRight ease-out;\n animation: kenburnsRight ease-out;\n}\n\n@-webkit-keyframes kenburnsRight {\n 0% {\n transform: scale(1.5) translate(-10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsRight {\n 0% {\n transform: scale(1.5) translate(-10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUpLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsUpLeft {\n -webkit-animation: kenburnsUpLeft ease-out;\n animation: kenburnsUpLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsUpLeft {\n 0% {\n transform: scale(1.5) translate(10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUpLeft {\n 0% {\n transform: scale(1.5) translate(10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUpRight animation */\n/*******************************************/\n.vegas-animation-kenburnsUpRight {\n -webkit-animation: kenburnsUpRight ease-out;\n animation: kenburnsUpRight ease-out;\n}\n\n@-webkit-keyframes kenburnsUpRight {\n 0% {\n transform: scale(1.5) translate(-10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUpRight {\n 0% {\n transform: scale(1.5) translate(-10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUp animation */\n/*******************************************/\n.vegas-animation-kenburnsUp {\n -webkit-animation: kenburnsUp ease-out;\n animation: kenburnsUp ease-out;\n}\n\n@-webkit-keyframes kenburnsUp {\n 0% {\n transform: scale(1.5) translate(0, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUp {\n 0% {\n transform: scale(1.5) translate(0, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n"],"file":"vegas.min.css"}
\ No newline at end of file
+{"version":3,"names":[],"mappings":"","sources":["vegas.css"],"sourcesContent":[".vegas-overlay,\n.vegas-content-scrollable,\n.vegas-timer,\n.vegas-slide,\n.vegas-slide-inner {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n overflow: hidden;\n border: none;\n padding: 0;\n margin: 0;\n}\n\n.vegas-content-scrollable {\n position: relative;\n height: 100%;\n overflow: auto;\n}\n\n.vegas-overlay {\n opacity: .5;\n background: transparent url(\"./overlays/02.png\") center center repeat;\n}\n\n.vegas-timer {\n top: auto;\n bottom: 0;\n height: 2px;\n}\n\n.vegas-timer-progress {\n width: 0%;\n height: 100%;\n background: white;\n transition: width ease-out;\n}\n\n.vegas-timer-running .vegas-timer-progress {\n width: 100%;\n}\n\n.vegas-slide,\n.vegas-slide-inner {\n margin: 0;\n padding: 0;\n background: transparent center center no-repeat;\n transform: translateZ(0);\n will-change: transform, opacity;\n}\n\nbody .vegas-container {\n overflow: hidden !important;\n position: relative;\n}\n\n.vegas-video {\n min-width: 100%;\n min-height: 100%;\n width: auto;\n height: auto;\n}\n\nbody.vegas-container {\n overflow: auto;\n position: static;\n z-index: -2;\n}\n\nbody.vegas-container > .vegas-timer,\nbody.vegas-container > .vegas-overlay,\nbody.vegas-container > .vegas-slide {\n position: fixed;\n z-index: -1;\n}\n\n/* Target Safari IOS7+ in order to add 76px */\n/*******************************************/\n/* blur transition */\n/*******************************************/\n.vegas-transition-blur,\n.vegas-transition-blur2 {\n opacity: 0;\n filter: blur(32px) brightness(1.01);\n}\n\n.vegas-transition-blur-in,\n.vegas-transition-blur2-in {\n opacity: 1;\n filter: blur(0px) brightness(1.01);\n}\n\n.vegas-transition-blur2-out {\n opacity: 0;\n}\n\n/*******************************************/\n/* burn transition */\n/*******************************************/\n.vegas-transition-burn,\n.vegas-transition-burn2 {\n opacity: 0;\n filter: contrast(1000%) saturate(1000%);\n}\n\n.vegas-transition-burn-in,\n.vegas-transition-burn2-in {\n opacity: 1;\n filter: contrast(100%) saturate(100%);\n}\n\n.vegas-transition-burn2-out {\n opacity: 0;\n filter: contrast(1000%) saturate(1000%);\n}\n\n/*******************************************/\n/* fade transition */\n/*******************************************/\n.vegas-transition-fade,\n.vegas-transition-fade2 {\n opacity: 0;\n}\n\n.vegas-transition-fade-in,\n.vegas-transition-fade2-in {\n opacity: 1;\n}\n\n.vegas-transition-fade2-out {\n opacity: 0;\n}\n\n/*******************************************/\n/* flash transition */\n/*******************************************/\n.vegas-transition-flash,\n.vegas-transition-flash2 {\n opacity: 0;\n filter: brightness(25);\n}\n\n.vegas-transition-flash-in,\n.vegas-transition-flash2-in {\n opacity: 1;\n filter: brightness(1);\n}\n\n.vegas-transition-flash2-out {\n opacity: 0;\n filter: brightness(25);\n}\n\n/*******************************************/\n/* negative transition */\n/*******************************************/\n.vegas-transition-negative,\n.vegas-transition-negative2 {\n opacity: 0;\n filter: invert(100%);\n}\n\n.vegas-transition-negative-in,\n.vegas-transition-negative2-in {\n opacity: 1;\n filter: invert(0);\n}\n\n.vegas-transition-negative2-out {\n opacity: 0;\n filter: invert(100%);\n}\n\n/*******************************************/\n/* slideDown transition */\n/*******************************************/\n.vegas-transition-slideDown,\n.vegas-transition-slideDown2 {\n transform: translateY(-100%);\n}\n\n.vegas-transition-slideDown-in,\n.vegas-transition-slideDown2-in {\n transform: translateY(0%);\n}\n\n.vegas-transition-slideDown2-out {\n transform: translateY(100%);\n}\n\n/*******************************************/\n/* slideLeft transition */\n/*******************************************/\n.vegas-transition-slideLeft,\n.vegas-transition-slideLeft2 {\n transform: translateX(100%);\n}\n\n.vegas-transition-slideLeft-in,\n.vegas-transition-slideLeft2-in {\n transform: translateX(0%);\n}\n\n.vegas-transition-slideLeft2-out {\n transform: translateX(-100%);\n}\n\n/*******************************************/\n/* slideRight transition */\n/*******************************************/\n.vegas-transition-slideRight,\n.vegas-transition-slideRight2 {\n transform: translateX(-100%);\n}\n\n.vegas-transition-slideRight-in,\n.vegas-transition-slideRight2-in {\n transform: translateX(0%);\n}\n\n.vegas-transition-slideRight2-out {\n transform: translateX(100%);\n}\n\n/*******************************************/\n/* slideUp transition */\n/*******************************************/\n.vegas-transition-slideUp,\n.vegas-transition-slideUp2 {\n transform: translateY(100%);\n}\n\n.vegas-transition-slideUp-in,\n.vegas-transition-slideUp2-in {\n transform: translateY(0%);\n}\n\n.vegas-transition-slideUp2-out {\n transform: translateY(-100%);\n}\n\n/*******************************************/\n/* swirlLeft transition */\n/*******************************************/\n.vegas-transition-swirlLeft,\n.vegas-transition-swirlLeft2 {\n transform: scale(2) rotate(35deg);\n opacity: 0;\n}\n\n.vegas-transition-swirlLeft-in,\n.vegas-transition-swirlLeft2-in {\n transform: scale(1) rotate(0deg);\n opacity: 1;\n}\n\n.vegas-transition-swirlLeft2-out {\n transform: scale(2) rotate(-35deg);\n opacity: 0;\n}\n\n/*******************************************/\n/* swirlRight transition */\n/*******************************************/\n.vegas-transition-swirlRight,\n.vegas-transition-swirlRight2 {\n transform: scale(2) rotate(-35deg);\n opacity: 0;\n}\n\n.vegas-transition-swirlRight-in,\n.vegas-transition-swirlRight2-in {\n transform: scale(1) rotate(0deg);\n opacity: 1;\n}\n\n.vegas-transition-swirlRight2-out {\n transform: scale(2) rotate(35deg);\n opacity: 0;\n}\n\n/*******************************************/\n/* zoomIn transition */\n/*******************************************/\n.vegas-transition-zoomIn,\n.vegas-transition-zoomIn2 {\n transform: scale(0);\n opacity: 0;\n}\n\n.vegas-transition-zoomIn-in,\n.vegas-transition-zoomIn2-in {\n transform: scale(1);\n opacity: 1;\n}\n\n.vegas-transition-zoomIn2-out {\n transform: scale(2);\n opacity: 0;\n}\n\n/*******************************************/\n/* zoomOut transition */\n/*******************************************/\n.vegas-transition-zoomOut,\n.vegas-transition-zoomOut2 {\n transform: scale(2);\n opacity: 0;\n}\n\n.vegas-transition-zoomOut-in,\n.vegas-transition-zoomOut2-in {\n transform: scale(1);\n opacity: 1;\n}\n\n.vegas-transition-zoomOut2-out {\n transform: scale(0);\n opacity: 0;\n}\n\n/*******************************************/\n/* kenburns animation */\n/*******************************************/\n.vegas-animation-kenburns {\n -webkit-animation: kenburns ease-out;\n animation: kenburns ease-out;\n}\n\n@-webkit-keyframes kenburns {\n 0% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes kenburns {\n 0% {\n transform: scale(1.5);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n/*******************************************/\n/* kenburnsDownLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsDownLeft {\n -webkit-animation: kenburnsDownLeft ease-out;\n animation: kenburnsDownLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsDownLeft {\n 0% {\n transform: scale(1.5) translate(10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDownLeft {\n 0% {\n transform: scale(1.5) translate(10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsDownRight animation */\n/*******************************************/\n.vegas-animation-kenburnsDownRight {\n -webkit-animation: kenburnsDownRight ease-out;\n animation: kenburnsDownRight ease-out;\n}\n\n@-webkit-keyframes kenburnsDownRight {\n 0% {\n transform: scale(1.5) translate(-10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDownRight {\n 0% {\n transform: scale(1.5) translate(-10%, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsDown animation */\n/*******************************************/\n.vegas-animation-kenburnsDown {\n -webkit-animation: kenburnsDown ease-out;\n animation: kenburnsDown ease-out;\n}\n\n@-webkit-keyframes kenburnsDown {\n 0% {\n transform: scale(1.5) translate(0, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsDown {\n 0% {\n transform: scale(1.5) translate(0, -10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsLeft {\n -webkit-animation: kenburnsLeft ease-out;\n animation: kenburnsLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsLeft {\n 0% {\n transform: scale(1.5) translate(10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsLeft {\n 0% {\n transform: scale(1.5) translate(10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsRight animation */\n/*******************************************/\n.vegas-animation-kenburnsRight {\n -webkit-animation: kenburnsRight ease-out;\n animation: kenburnsRight ease-out;\n}\n\n@-webkit-keyframes kenburnsRight {\n 0% {\n transform: scale(1.5) translate(-10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsRight {\n 0% {\n transform: scale(1.5) translate(-10%, 0);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUpLeft animation */\n/*******************************************/\n.vegas-animation-kenburnsUpLeft {\n -webkit-animation: kenburnsUpLeft ease-out;\n animation: kenburnsUpLeft ease-out;\n}\n\n@-webkit-keyframes kenburnsUpLeft {\n 0% {\n transform: scale(1.5) translate(10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUpLeft {\n 0% {\n transform: scale(1.5) translate(10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUpRight animation */\n/*******************************************/\n.vegas-animation-kenburnsUpRight {\n -webkit-animation: kenburnsUpRight ease-out;\n animation: kenburnsUpRight ease-out;\n}\n\n@-webkit-keyframes kenburnsUpRight {\n 0% {\n transform: scale(1.5) translate(-10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUpRight {\n 0% {\n transform: scale(1.5) translate(-10%, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n/*******************************************/\n/* kenburnsUp animation */\n/*******************************************/\n.vegas-animation-kenburnsUp {\n -webkit-animation: kenburnsUp ease-out;\n animation: kenburnsUp ease-out;\n}\n\n@-webkit-keyframes kenburnsUp {\n 0% {\n transform: scale(1.5) translate(0, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n\n@keyframes kenburnsUp {\n 0% {\n transform: scale(1.5) translate(0, 10%);\n }\n 100% {\n transform: scale(1) translate(0, 0);\n }\n}\n"],"file":"vegas.min.css"}
\ No newline at end of file
diff --git a/releases/latest/vegas.min.js b/releases/latest/vegas.min.js
index 87e36aba..739c55cf 100755
--- a/releases/latest/vegas.min.js
+++ b/releases/latest/vegas.min.js
@@ -1,10 +1,10 @@
/*!-----------------------------------------------------------------------------
* Vegas - Fullscreen Backgrounds and Slideshows.
- * v2.5.3 - built 2020-12-18
+ * v2.5.4 - built 2021-01-30
* Licensed under the MIT License.
* http://vegas.jaysalvat.com/
* ----------------------------------------------------------------------------
- * Copyright (C) 2010-2020 Jay Salvat
+ * Copyright (C) 2010-2021 Jay Salvat
* http://jaysalvat.com/
* --------------------------------------------------------------------------*/
!function(b){"use strict";function t(t,s){this.elmt=t,this.settings=b.extend({},e,b.vegas.defaults,s),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=b(t),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||(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array||(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:b.vegas.isVideoCompatible()},!0===this.settings.shuffle&&this.shuffle(),this._init()}var e={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:[]},n={};t.prototype={_init:function(){var t,s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(s=b('
'),t=b('
').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||t.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.css("padding",0),this.$elmt.clone(!0).children().appendTo(t),this.elmt.innerHTML=""),o&&this.support.transition&&(e=b('
'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=b('
'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||(this.$elmt.append(s),s.append(t)),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t;for(t=0;t
'),this.support.transition&&f&&s.addClass("vegas-transition-"+f),this.support.video&&h?((n=h instanceof Array?this._video(h):this._video(h.src)).loop=void 0===h.loop||h.loop,n.muted=void 0===h.mute||h.mute,!1===n.muted?(n.volume=0,this._fadeInSound(n,v)):n.pause(),e=b(n).addClass("vegas-video").css("background-color",c),this.support.objectFit?e.css("object-position",l+" "+g).css("object-fit",u).css("width","100%").css("height","100%"):"contain"===u&&e.css("width","100%").css("height","100%"),s.append(e)):(o=new Image,i=b('
').css("background-image",'url("'+r+'")').css("background-color",c).css("background-position",l+" "+g),"repeat"===u?i.css("background-repeat","repeat"):i.css("background-size",u),this.support.transition&&y&&i.addClass("vegas-animation-"+y).css("animation-duration",_+"ms"),s.append(i)),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"),f&&(this.className+=" vegas-transition-"+f,this.className+=" vegas-transition-"+f+"-in")}),p._timer(!1),n?(4===n.readyState&&(n.currentTime=0),n.play(),w()):(o.src=r,o.complete?w():o.onload=w)},_end:function(){this.ended=!this.settings.autoplay,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,s,i=this.total-1;0
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 s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(t,s){var i=this.settings.slides.slice();if("object"==typeof t)this.settings=b.extend({},e,b.vegas.defaults,t);else{if("string"!=typeof t)return this.settings;if(void 0===s)return this.settings[t];this.settings[t]=s}this.settings.slides!==i&&(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}},b.fn.vegas=function(s){var i,e=arguments,n=!1;if(void 0===s||"object"==typeof s)return this.each(function(){this._vegas||(this._vegas=new t(this,s))});if("string"==typeof s){if(this.each(function(){var t=this._vegas;if(!t)throw new Error("No Vegas applied to this element.");"function"==typeof t[s]&&"_"!==s[0]?i=t[s].apply(t,[].slice.call(e,1)):n=!0}),n)throw new Error('No method "'+s+'" in Vegas.');return void 0!==i?i:this}},b.vegas={},b.vegas.defaults=e,b.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto||window.m4q);
diff --git a/releases/latest/vegas.min.js.map b/releases/latest/vegas.min.js.map
index 27278ace..8cd99b19 100644
--- a/releases/latest/vegas.min.js.map
+++ b/releases/latest/vegas.min.js.map
@@ -1 +1 @@
-{"version":3,"file":"vegas.min.js","sources":["vegas.min.js"],"sourcesContent":["/*!-----------------------------------------------------------------------------\n * Vegas - Fullscreen Backgrounds and Slideshows.\n * v2.5.3 - built 2020-12-18\n * Licensed under the MIT License.\n * http://vegas.jaysalvat.com/\n * ----------------------------------------------------------------------------\n * Copyright (C) 2010-2020 Jay Salvat\n * http://jaysalvat.com/\n * --------------------------------------------------------------------------*/\n\n(function ($) {\n 'use strict';\n\n var defaults = {\n slide: 0,\n delay: 5000,\n loop: true,\n preload: false,\n preloadImage: false,\n preloadVideo: false,\n timer: true,\n overlay: false,\n autoplay: true,\n shuffle: false,\n cover: true,\n color: null,\n align: 'center',\n valign: 'center',\n firstTransition: null,\n firstTransitionDuration: null,\n transition: 'fade',\n transitionDuration: 1000,\n transitionRegister: [],\n animation: null,\n animationDuration: 'auto',\n animationRegister: [],\n slidesToKeep: 1,\n init: function () {},\n play: function () {},\n pause: function () {},\n walk: function () {},\n slides: [\n // {\n // src: null,\n // color: null,\n // delay: null,\n // align: null,\n // valign: null,\n // transition: null,\n // transitionDuration: null,\n // animation: null,\n // animationDuration: null,\n // cover: true,\n // video: {\n // src: [],\n // mute: true,\n // loop: true\n // }\n // ...\n ]\n };\n\n var videoCache = {};\n\n var Vegas = function (elmt, options) {\n this.elmt = elmt;\n this.settings = $.extend({}, defaults, $.vegas.defaults, options);\n this.slide = this.settings.slide;\n this.total = this.settings.slides.length;\n this.noshow = this.total < 2;\n this.paused = !this.settings.autoplay || this.noshow;\n this.ended = false;\n this.$elmt = $(elmt);\n this.$timer = null;\n this.$overlay = null;\n this.$slide = null;\n this.timeout = null;\n this.first = true;\n\n this.transitions = [\n 'fade', 'fade2',\n 'blur', 'blur2',\n 'flash', 'flash2',\n 'negative', 'negative2',\n 'burn', 'burn2',\n 'slideLeft', 'slideLeft2',\n 'slideRight', 'slideRight2',\n 'slideUp', 'slideUp2',\n 'slideDown', 'slideDown2',\n 'zoomIn', 'zoomIn2',\n 'zoomOut', 'zoomOut2',\n 'swirlLeft', 'swirlLeft2',\n 'swirlRight', 'swirlRight2'\n ];\n\n this.animations = [\n 'kenburns',\n 'kenburnsLeft', 'kenburnsRight',\n 'kenburnsUp', 'kenburnsUpLeft', 'kenburnsUpRight',\n 'kenburnsDown', 'kenburnsDownLeft', 'kenburnsDownRight'\n ];\n\n if (!(this.settings.transitionRegister instanceof Array)) {\n this.settings.transitionRegister = [ this.settings.transitionRegister ];\n }\n\n if (!(this.settings.animationRegister instanceof Array)) {\n this.settings.animationRegister = [ this.settings.animationRegister ];\n }\n\n this.transitions = this.transitions.concat(this.settings.transitionRegister);\n this.animations = this.animations.concat(this.settings.animationRegister);\n\n this.support = {\n objectFit: 'objectFit' in document.body.style,\n transition: 'transition' in document.body.style || 'WebkitTransition' in document.body.style,\n video: $.vegas.isVideoCompatible()\n };\n\n if (this.settings.shuffle === true) {\n this.shuffle();\n }\n\n this._init();\n };\n\n Vegas.prototype = {\n _init: function () {\n var $content,\n $contentScroll,\n $overlay,\n $timer,\n isBody = this.elmt.tagName === 'BODY',\n timer = this.settings.timer,\n overlay = this.settings.overlay,\n self = this;\n\n // Preloading\n this._preload();\n\n // Div with scrollable content\n if (!isBody) {\n $contentScroll = $('');\n\n $content = $('
')\n .css('overflow', this.$elmt.css('overflow'))\n .css('padding', this.$elmt.css('padding'));\n\n // Some browsers don't compute padding shorthand\n if (!this.$elmt.css('padding')) {\n $content\n .css('padding-top', this.$elmt.css('padding-top'))\n .css('padding-bottom', this.$elmt.css('padding-bottom'))\n .css('padding-left', this.$elmt.css('padding-left'))\n .css('padding-right', this.$elmt.css('padding-right'));\n }\n\n this.$elmt.css('padding', 0);\n\n this.$elmt.clone(true).children().appendTo($content);\n this.elmt.innerHTML = '';\n }\n\n // Timer\n if (timer && this.support.transition) {\n $timer = $('
');\n this.$timer = $timer;\n this.$elmt.prepend($timer);\n }\n\n // Overlay\n if (overlay) {\n $overlay = $('
');\n\n if (typeof overlay === 'string') {\n $overlay.css('background-image', 'url(' + overlay + ')');\n }\n\n this.$overlay = $overlay;\n this.$elmt.prepend($overlay);\n }\n\n // Container\n this.$elmt.addClass('vegas-container');\n\n if (!isBody) {\n this.$elmt.append($contentScroll);\n $contentScroll.append($content);\n }\n\n setTimeout(function () {\n self.trigger('init');\n self._goto(self.slide);\n\n if (self.settings.autoplay) {\n self.trigger('play');\n }\n }, 1);\n },\n\n _preload: function () {\n var img, i;\n\n for (i = 0; i < this.settings.slides.length; i++) {\n if (this.settings.preload || this.settings.preloadImages) {\n if (this.settings.slides[i].src) {\n img = new Image();\n img.src = this.settings.slides[i].src;\n }\n }\n\n if (this.settings.preload || this.settings.preloadVideos) {\n if (this.support.video && this.settings.slides[i].video) {\n if (this.settings.slides[i].video instanceof Array) {\n this._video(this.settings.slides[i].video);\n } else {\n this._video(this.settings.slides[i].video.src);\n }\n }\n }\n }\n },\n\n _random: function (array) {\n return array[Math.floor(Math.random() * array.length)];\n },\n\n _slideShow: function () {\n var self = this;\n\n if (this.total > 1 && !this.ended && !this.paused && !this.noshow) {\n this.timeout = setTimeout(function () {\n self.next();\n }, this._options('delay'));\n }\n },\n\n _timer: function (state) {\n var self = this;\n\n clearTimeout(this.timeout);\n\n if (!this.$timer) {\n return;\n }\n\n this.$timer\n .removeClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', '0ms');\n\n if (this.ended || this.paused || this.noshow) {\n return;\n }\n\n if (state) {\n setTimeout(function () {\n self.$timer\n .addClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', self._options('delay') - 100 + 'ms');\n }, 100);\n }\n },\n\n _video: function (srcs) {\n var video,\n source,\n cacheKey = srcs.toString();\n\n if (videoCache[cacheKey]) {\n return videoCache[cacheKey];\n }\n\n if (!(srcs instanceof Array)) {\n srcs = [ srcs ];\n }\n\n video = document.createElement('video');\n video.preload = true;\n\n srcs.forEach(function (src) {\n source = document.createElement('source');\n source.src = src;\n video.appendChild(source);\n });\n\n videoCache[cacheKey] = video;\n\n return video;\n },\n\n _fadeOutSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume - 0.09;\n\n if (volume > 0) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeOutSound(video, duration);\n }, delay);\n } else {\n video.pause();\n }\n },\n\n _fadeInSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume + 0.09;\n\n if (volume < 1) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeInSound(video, duration);\n }, delay);\n }\n },\n\n _options: function (key, i) {\n if (i === undefined) {\n i = this.slide;\n }\n\n if (this.settings.slides[i][key] !== undefined) {\n return this.settings.slides[i][key];\n }\n\n return this.settings[key];\n },\n\n _goto: function (nb) {\n if (typeof this.settings.slides[nb] === 'undefined') {\n nb = 0;\n }\n\n this.slide = nb;\n\n var $slide,\n $inner,\n $video,\n $slides = this.$elmt.children('.vegas-slide'),\n src = this.settings.slides[nb].src,\n videoSettings = this.settings.slides[nb].video,\n delay = this._options('delay'),\n align = this._options('align'),\n valign = this._options('valign'),\n cover = this._options('cover'),\n color = this._options('color') || this.$elmt.css('background-color'),\n self = this,\n total = $slides.length,\n video,\n img;\n\n var transition = this._options('transition'),\n transitionDuration = this._options('transitionDuration'),\n animation = this._options('animation'),\n animationDuration = this._options('animationDuration');\n\n if (this.settings.firstTransition && this.first) {\n transition = this.settings.firstTransition || transition;\n }\n\n if (this.settings.firstTransitionDuration && this.first) {\n transitionDuration = this.settings.firstTransitionDuration || transitionDuration;\n }\n\n if (this.first) {\n this.first = false;\n }\n\n if (cover !== 'repeat') {\n if (cover === true) {\n cover = 'cover';\n } else if (cover === false) {\n cover = 'contain';\n }\n }\n\n if (transition === 'random' || transition instanceof Array) {\n if (transition instanceof Array) {\n transition = this._random(transition);\n } else {\n transition = this._random(this.transitions);\n }\n }\n\n if (animation === 'random' || animation instanceof Array) {\n if (animation instanceof Array) {\n animation = this._random(animation);\n } else {\n animation = this._random(this.animations);\n }\n }\n\n if (transitionDuration === 'auto' || transitionDuration > delay) {\n transitionDuration = delay;\n }\n\n if (animationDuration === 'auto') {\n animationDuration = delay;\n }\n\n $slide = $('
');\n\n if (this.support.transition && transition) {\n $slide.addClass('vegas-transition-' + transition);\n }\n\n // Video\n\n if (this.support.video && videoSettings) {\n if (videoSettings instanceof Array) {\n video = this._video(videoSettings);\n } else {\n video = this._video(videoSettings.src);\n }\n\n video.loop = videoSettings.loop !== undefined ? videoSettings.loop : true;\n video.muted = videoSettings.mute !== undefined ? videoSettings.mute : true;\n\n if (video.muted === false) {\n video.volume = 0;\n this._fadeInSound(video, transitionDuration);\n } else {\n video.pause();\n }\n\n $video = $(video)\n .addClass('vegas-video')\n .css('background-color', color);\n\n if (this.support.objectFit) {\n $video\n .css('object-position', align + ' ' + valign)\n .css('object-fit', cover)\n .css('width', '100%')\n .css('height', '100%');\n } else if (cover === 'contain') {\n $video\n .css('width', '100%')\n .css('height', '100%');\n }\n\n $slide.append($video);\n\n // Image\n\n } else {\n img = new Image();\n\n $inner = $('
')\n .css('background-image', 'url(\"' + src + '\")')\n .css('background-color', color)\n .css('background-position', align + ' ' + valign);\n\n if (cover === 'repeat') {\n $inner.css('background-repeat', 'repeat');\n } else {\n $inner.css('background-size', cover);\n }\n\n if (this.support.transition && animation) {\n $inner\n .addClass('vegas-animation-' + animation)\n .css('animation-duration', animationDuration + 'ms');\n }\n\n $slide.append($inner);\n }\n\n if (!this.support.transition) {\n $slide.css('display', 'none');\n }\n\n if (total) {\n $slides.eq(total - 1).after($slide);\n } else {\n this.$elmt.prepend($slide);\n }\n\n $slides\n .css('transition', 'all 0ms')\n .each(function () {\n this.className = 'vegas-slide';\n\n if (this.tagName === 'VIDEO') {\n this.className += ' vegas-video';\n }\n\n if (transition) {\n this.className += ' vegas-transition-' + transition;\n this.className += ' vegas-transition-' + transition + '-in';\n }\n }\n );\n\n self._timer(false);\n\n function go () {\n self._timer(true);\n\n setTimeout(function () {\n if (transition) {\n if (self.support.transition) {\n $slides\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-out');\n\n $slides.each(function () {\n var video = $slides.find('video').get(0);\n\n if (video) {\n video.volume = 1;\n self._fadeOutSound(video, transitionDuration);\n }\n });\n\n $slide\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-in');\n } else {\n $slide.fadeIn(transitionDuration);\n }\n }\n\n for (var i = 0; i < $slides.length - self.settings.slidesToKeep; i++) {\n $slides.eq(i).remove();\n }\n\n self.trigger('walk');\n self._slideShow();\n }, 100);\n }\n if (video) {\n if (video.readyState === 4) {\n video.currentTime = 0;\n }\n\n video.play();\n go();\n } else {\n img.src = src;\n\n if (img.complete) {\n go();\n } else {\n img.onload = go;\n }\n }\n },\n\n _end: function () {\n this.ended = !this.settings.autoplay;\n this._timer(false);\n this.trigger('end');\n },\n\n shuffle: function () {\n var temp,\n rand;\n\n for (var i = this.total - 1; i > 0; i--) {\n rand = Math.floor(Math.random() * (i + 1));\n temp = this.settings.slides[i];\n\n this.settings.slides[i] = this.settings.slides[rand];\n this.settings.slides[rand] = temp;\n }\n },\n\n play: function () {\n if (this.paused) {\n this.paused = false;\n this.next();\n this.trigger('play');\n }\n },\n\n pause: function () {\n this._timer(false);\n this.paused = true;\n this.trigger('pause');\n },\n\n toggle: function () {\n if (this.paused) {\n this.play();\n } else {\n this.pause();\n }\n },\n\n playing: function () {\n return !this.paused && !this.noshow;\n },\n\n current: function (advanced) {\n if (advanced) {\n return {\n slide: this.slide,\n data: this.settings.slides[this.slide]\n };\n }\n return this.slide;\n },\n\n jump: function (nb) {\n if (nb < 0 || nb > this.total - 1 || nb === this.slide) {\n return;\n }\n\n this.slide = nb;\n this._goto(this.slide);\n },\n\n next: function () {\n this.slide++;\n\n if (this.slide >= this.total) {\n if (!this.settings.loop) {\n return this._end();\n }\n\n this.slide = 0;\n }\n\n this._goto(this.slide);\n },\n\n previous: function () {\n this.slide--;\n\n if (this.slide < 0) {\n if (!this.settings.loop) {\n this.slide++;\n return;\n } else {\n this.slide = this.total - 1;\n }\n }\n\n this._goto(this.slide);\n },\n\n trigger: function (fn) {\n var params = [];\n\n if (fn === 'init') {\n params = [ this.settings ];\n } else {\n params = [\n this.slide,\n this.settings.slides[this.slide]\n ];\n }\n\n this.$elmt.trigger('vegas' + fn, params);\n\n if (typeof this.settings[fn] === 'function') {\n this.settings[fn].apply(this.$elmt, params);\n }\n },\n\n options: function (key, value) {\n var oldSlides = this.settings.slides.slice();\n\n if (typeof key === 'object') {\n this.settings = $.extend({}, defaults, $.vegas.defaults, key);\n } else if (typeof key === 'string') {\n if (value === undefined) {\n return this.settings[key];\n }\n this.settings[key] = value;\n } else {\n return this.settings;\n }\n\n // In case slides have changed\n if (this.settings.slides !== oldSlides) {\n this.total = this.settings.slides.length;\n this.noshow = this.total < 2;\n this._preload();\n }\n },\n\n destroy: function () {\n clearTimeout(this.timeout);\n\n this.$elmt.removeClass('vegas-container');\n this.$elmt.find('> .vegas-slide').remove();\n this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);\n this.$elmt.find('> .vegas-wrapper').remove();\n\n if (this.settings.timer) {\n this.$timer.remove();\n }\n\n if (this.settings.overlay) {\n this.$overlay.remove();\n }\n\n this.elmt._vegas = null;\n }\n };\n\n $.fn.vegas = function(options) {\n var args = arguments,\n error = false,\n returns;\n\n if (options === undefined || typeof options === 'object') {\n return this.each(function () {\n if (!this._vegas) {\n this._vegas = new Vegas(this, options);\n }\n });\n } else if (typeof options === 'string') {\n this.each(function () {\n var instance = this._vegas;\n\n if (!instance) {\n throw new Error('No Vegas applied to this element.');\n }\n\n if (typeof instance[options] === 'function' && options[0] !== '_') {\n returns = instance[options].apply(instance, [].slice.call(args, 1));\n } else {\n error = true;\n }\n });\n\n if (error) {\n throw new Error('No method \"' + options + '\" in Vegas.');\n }\n\n return returns !== undefined ? returns : this;\n }\n };\n\n $.vegas = {};\n $.vegas.defaults = defaults;\n\n $.vegas.isVideoCompatible = function () {\n return !/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent);\n };\n\n})(window.jQuery || window.Zepto || window.m4q);\n"],"names":["$","Vegas","elmt","options","this","settings","extend","defaults","vegas","slide","total","slides","length","noshow","paused","autoplay","ended","$elmt","$timer","$overlay","$slide","timeout","first","transitions","animations","transitionRegister","Array","animationRegister","concat","support","objectFit","document","body","style","transition","video","isVideoCompatible","shuffle","_init","delay","loop","preload","preloadImage","preloadVideo","timer","overlay","cover","color","align","valign","firstTransition","firstTransitionDuration","transitionDuration","animation","animationDuration","slidesToKeep","init","play","pause","walk","videoCache","prototype","$content","$contentScroll","isBody","tagName","self","_preload","css","clone","children","appendTo","innerHTML","prepend","addClass","append","setTimeout","trigger","_goto","i","preloadImages","src","Image","preloadVideos","_video","_random","array","Math","floor","random","_slideShow","next","_options","_timer","state","clearTimeout","removeClass","find","srcs","source","cacheKey","toString","createElement","forEach","appendChild","_fadeOutSound","duration","volume","_fadeInSound","key","undefined","nb","$inner","$video","img","$slides","videoSettings","go","each","get","fadeIn","eq","remove","muted","mute","after","className","readyState","currentTime","complete","onload","_end","temp","rand","toggle","playing","current","advanced","data","jump","previous","fn","params","apply","value","oldSlides","slice","destroy","_vegas","returns","args","arguments","error","instance","Error","call","test","navigator","userAgent","window","jQuery","Zepto","m4q"],"mappings":";;;;;;;;;CAUA,SAAWA,GACT,aAqDY,SAARC,EAAkBC,EAAMC,GAC1BC,KAAKF,KAAeA,EACpBE,KAAKC,SAAeL,EAAEM,OAAO,GAAIC,EAAUP,EAAEQ,MAAMD,SAAUJ,GAC7DC,KAAKK,MAAeL,KAAKC,SAASI,MAClCL,KAAKM,MAAeN,KAAKC,SAASM,OAAOC,OACzCR,KAAKS,OAAeT,KAAKM,MAAQ,EACjCN,KAAKU,QAAgBV,KAAKC,SAASU,UAAYX,KAAKS,OACpDT,KAAKY,OAAe,EACpBZ,KAAKa,MAAejB,EAAEE,GACtBE,KAAKc,OAAe,KACpBd,KAAKe,SAAe,KACpBf,KAAKgB,OAAe,KACpBhB,KAAKiB,QAAe,KACpBjB,KAAKkB,OAAe,EAEpBlB,KAAKmB,YAAc,CACjB,OAAQ,QACR,OAAQ,QACR,QAAS,SACT,WAAY,YACZ,OAAQ,QACR,YAAa,aACb,aAAc,cACd,UAAW,WACX,YAAa,aACb,SAAU,UACV,UAAW,WACX,YAAa,aACb,aAAc,eAGhBnB,KAAKoB,WAAa,CAChB,WACA,eAAgB,gBAChB,aAAc,iBAAkB,kBAChC,eAAgB,mBAAoB,qBAGhCpB,KAAKC,SAASoB,8BAA8BC,QAChDtB,KAAKC,SAASoB,mBAAqB,CAAErB,KAAKC,SAASoB,qBAG/CrB,KAAKC,SAASsB,6BAA6BD,QAC/CtB,KAAKC,SAASsB,kBAAoB,CAAEvB,KAAKC,SAASsB,oBAGpDvB,KAAKmB,YAAcnB,KAAKmB,YAAYK,OAAOxB,KAAKC,SAASoB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C,MAAM,qCAGe,mBAAtBD,EAAStJ,IAA0C,MAAfA,EAAQ,GACrDkJ,EAAUI,EAAStJ,GAAS4I,MAAMU,EAAU,GAAGP,MAAMS,KAAKL,EAAM,IAEhEE,GAAQ,IAIRA,EACF,MAAM,IAAIE,MAAM,cAAgBvJ,EAAU,eAG5C,YAAmB2G,IAAZuC,EAAwBA,EAAUjJ,OAI7CJ,EAAEQ,MAAQ,GACVR,EAAEQ,MAAMD,SAAWA,EAEnBP,EAAEQ,MAAM4B,kBAAoB,WAC1B,OAAQ,4DAA4DwH,KAAKC,UAAUC,YAjuBvF,CAouBGC,OAAOC,QAAUD,OAAOE,OAASF,OAAOG"}
\ No newline at end of file
+{"version":3,"file":"vegas.min.js","sources":["vegas.min.js"],"sourcesContent":["/*!-----------------------------------------------------------------------------\n * Vegas - Fullscreen Backgrounds and Slideshows.\n * v2.5.4 - built 2021-01-30\n * Licensed under the MIT License.\n * http://vegas.jaysalvat.com/\n * ----------------------------------------------------------------------------\n * Copyright (C) 2010-2021 Jay Salvat\n * http://jaysalvat.com/\n * --------------------------------------------------------------------------*/\n\n(function ($) {\n 'use strict';\n\n var defaults = {\n slide: 0,\n delay: 5000,\n loop: true,\n preload: false,\n preloadImage: false,\n preloadVideo: false,\n timer: true,\n overlay: false,\n autoplay: true,\n shuffle: false,\n cover: true,\n color: null,\n align: 'center',\n valign: 'center',\n firstTransition: null,\n firstTransitionDuration: null,\n transition: 'fade',\n transitionDuration: 1000,\n transitionRegister: [],\n animation: null,\n animationDuration: 'auto',\n animationRegister: [],\n slidesToKeep: 1,\n init: function () {},\n play: function () {},\n pause: function () {},\n walk: function () {},\n slides: [\n // {\n // src: null,\n // color: null,\n // delay: null,\n // align: null,\n // valign: null,\n // transition: null,\n // transitionDuration: null,\n // animation: null,\n // animationDuration: null,\n // cover: true,\n // video: {\n // src: [],\n // mute: true,\n // loop: true\n // }\n // ...\n ]\n };\n\n var videoCache = {};\n\n var Vegas = function (elmt, options) {\n this.elmt = elmt;\n this.settings = $.extend({}, defaults, $.vegas.defaults, options);\n this.slide = this.settings.slide;\n this.total = this.settings.slides.length;\n this.noshow = this.total < 2;\n this.paused = !this.settings.autoplay || this.noshow;\n this.ended = false;\n this.$elmt = $(elmt);\n this.$timer = null;\n this.$overlay = null;\n this.$slide = null;\n this.timeout = null;\n this.first = true;\n\n this.transitions = [\n 'fade', 'fade2',\n 'blur', 'blur2',\n 'flash', 'flash2',\n 'negative', 'negative2',\n 'burn', 'burn2',\n 'slideLeft', 'slideLeft2',\n 'slideRight', 'slideRight2',\n 'slideUp', 'slideUp2',\n 'slideDown', 'slideDown2',\n 'zoomIn', 'zoomIn2',\n 'zoomOut', 'zoomOut2',\n 'swirlLeft', 'swirlLeft2',\n 'swirlRight', 'swirlRight2'\n ];\n\n this.animations = [\n 'kenburns',\n 'kenburnsLeft', 'kenburnsRight',\n 'kenburnsUp', 'kenburnsUpLeft', 'kenburnsUpRight',\n 'kenburnsDown', 'kenburnsDownLeft', 'kenburnsDownRight'\n ];\n\n if (!(this.settings.transitionRegister instanceof Array)) {\n this.settings.transitionRegister = [ this.settings.transitionRegister ];\n }\n\n if (!(this.settings.animationRegister instanceof Array)) {\n this.settings.animationRegister = [ this.settings.animationRegister ];\n }\n\n this.transitions = this.transitions.concat(this.settings.transitionRegister);\n this.animations = this.animations.concat(this.settings.animationRegister);\n\n this.support = {\n objectFit: 'objectFit' in document.body.style,\n transition: 'transition' in document.body.style || 'WebkitTransition' in document.body.style,\n video: $.vegas.isVideoCompatible()\n };\n\n if (this.settings.shuffle === true) {\n this.shuffle();\n }\n\n this._init();\n };\n\n Vegas.prototype = {\n _init: function () {\n var $content,\n $contentScroll,\n $overlay,\n $timer,\n isBody = this.elmt.tagName === 'BODY',\n timer = this.settings.timer,\n overlay = this.settings.overlay,\n self = this;\n\n // Preloading\n this._preload();\n\n // Div with scrollable content\n if (!isBody) {\n $contentScroll = $('
');\n\n $content = $('
')\n .css('overflow', this.$elmt.css('overflow'))\n .css('padding', this.$elmt.css('padding'));\n\n // Some browsers don't compute padding shorthand\n if (!this.$elmt.css('padding')) {\n $content\n .css('padding-top', this.$elmt.css('padding-top'))\n .css('padding-bottom', this.$elmt.css('padding-bottom'))\n .css('padding-left', this.$elmt.css('padding-left'))\n .css('padding-right', this.$elmt.css('padding-right'));\n }\n\n this.$elmt.css('padding', 0);\n\n this.$elmt.clone(true).children().appendTo($content);\n this.elmt.innerHTML = '';\n }\n\n // Timer\n if (timer && this.support.transition) {\n $timer = $('
');\n this.$timer = $timer;\n this.$elmt.prepend($timer);\n }\n\n // Overlay\n if (overlay) {\n $overlay = $('
');\n\n if (typeof overlay === 'string') {\n $overlay.css('background-image', 'url(' + overlay + ')');\n }\n\n this.$overlay = $overlay;\n this.$elmt.prepend($overlay);\n }\n\n // Container\n this.$elmt.addClass('vegas-container');\n\n if (!isBody) {\n this.$elmt.append($contentScroll);\n $contentScroll.append($content);\n }\n\n setTimeout(function () {\n self.trigger('init');\n self._goto(self.slide);\n\n if (self.settings.autoplay) {\n self.trigger('play');\n }\n }, 1);\n },\n\n _preload: function () {\n var img, i;\n\n for (i = 0; i < this.settings.slides.length; i++) {\n if (this.settings.preload || this.settings.preloadImages) {\n if (this.settings.slides[i].src) {\n img = new Image();\n img.src = this.settings.slides[i].src;\n }\n }\n\n if (this.settings.preload || this.settings.preloadVideos) {\n if (this.support.video && this.settings.slides[i].video) {\n if (this.settings.slides[i].video instanceof Array) {\n this._video(this.settings.slides[i].video);\n } else {\n this._video(this.settings.slides[i].video.src);\n }\n }\n }\n }\n },\n\n _random: function (array) {\n return array[Math.floor(Math.random() * array.length)];\n },\n\n _slideShow: function () {\n var self = this;\n\n if (this.total > 1 && !this.ended && !this.paused && !this.noshow) {\n this.timeout = setTimeout(function () {\n self.next();\n }, this._options('delay'));\n }\n },\n\n _timer: function (state) {\n var self = this;\n\n clearTimeout(this.timeout);\n\n if (!this.$timer) {\n return;\n }\n\n this.$timer\n .removeClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', '0ms');\n\n if (this.ended || this.paused || this.noshow) {\n return;\n }\n\n if (state) {\n setTimeout(function () {\n self.$timer\n .addClass('vegas-timer-running')\n .find('div')\n .css('transition-duration', self._options('delay') - 100 + 'ms');\n }, 100);\n }\n },\n\n _video: function (srcs) {\n var video,\n source,\n cacheKey = srcs.toString();\n\n if (videoCache[cacheKey]) {\n return videoCache[cacheKey];\n }\n\n if (!(srcs instanceof Array)) {\n srcs = [ srcs ];\n }\n\n video = document.createElement('video');\n video.preload = true;\n\n srcs.forEach(function (src) {\n source = document.createElement('source');\n source.src = src;\n video.appendChild(source);\n });\n\n videoCache[cacheKey] = video;\n\n return video;\n },\n\n _fadeOutSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume - 0.09;\n\n if (volume > 0) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeOutSound(video, duration);\n }, delay);\n } else {\n video.pause();\n }\n },\n\n _fadeInSound: function (video, duration) {\n var self = this,\n delay = duration / 10,\n volume = video.volume + 0.09;\n\n if (volume < 1) {\n video.volume = volume;\n\n setTimeout(function () {\n self._fadeInSound(video, duration);\n }, delay);\n }\n },\n\n _options: function (key, i) {\n if (i === undefined) {\n i = this.slide;\n }\n\n if (this.settings.slides[i][key] !== undefined) {\n return this.settings.slides[i][key];\n }\n\n return this.settings[key];\n },\n\n _goto: function (nb) {\n if (typeof this.settings.slides[nb] === 'undefined') {\n nb = 0;\n }\n\n this.slide = nb;\n\n var $slide,\n $inner,\n $video,\n $slides = this.$elmt.children('.vegas-slide'),\n src = this.settings.slides[nb].src,\n videoSettings = this.settings.slides[nb].video,\n delay = this._options('delay'),\n align = this._options('align'),\n valign = this._options('valign'),\n cover = this._options('cover'),\n color = this._options('color') || this.$elmt.css('background-color'),\n self = this,\n total = $slides.length,\n video,\n img;\n\n var transition = this._options('transition'),\n transitionDuration = this._options('transitionDuration'),\n animation = this._options('animation'),\n animationDuration = this._options('animationDuration');\n\n if (this.settings.firstTransition && this.first) {\n transition = this.settings.firstTransition || transition;\n }\n\n if (this.settings.firstTransitionDuration && this.first) {\n transitionDuration = this.settings.firstTransitionDuration || transitionDuration;\n }\n\n if (this.first) {\n this.first = false;\n }\n\n if (cover !== 'repeat') {\n if (cover === true) {\n cover = 'cover';\n } else if (cover === false) {\n cover = 'contain';\n }\n }\n\n if (transition === 'random' || transition instanceof Array) {\n if (transition instanceof Array) {\n transition = this._random(transition);\n } else {\n transition = this._random(this.transitions);\n }\n }\n\n if (animation === 'random' || animation instanceof Array) {\n if (animation instanceof Array) {\n animation = this._random(animation);\n } else {\n animation = this._random(this.animations);\n }\n }\n\n if (transitionDuration === 'auto' || transitionDuration > delay) {\n transitionDuration = delay;\n }\n\n if (animationDuration === 'auto') {\n animationDuration = delay;\n }\n\n $slide = $('
');\n\n if (this.support.transition && transition) {\n $slide.addClass('vegas-transition-' + transition);\n }\n\n // Video\n\n if (this.support.video && videoSettings) {\n if (videoSettings instanceof Array) {\n video = this._video(videoSettings);\n } else {\n video = this._video(videoSettings.src);\n }\n\n video.loop = videoSettings.loop !== undefined ? videoSettings.loop : true;\n video.muted = videoSettings.mute !== undefined ? videoSettings.mute : true;\n\n if (video.muted === false) {\n video.volume = 0;\n this._fadeInSound(video, transitionDuration);\n } else {\n video.pause();\n }\n\n $video = $(video)\n .addClass('vegas-video')\n .css('background-color', color);\n\n if (this.support.objectFit) {\n $video\n .css('object-position', align + ' ' + valign)\n .css('object-fit', cover)\n .css('width', '100%')\n .css('height', '100%');\n } else if (cover === 'contain') {\n $video\n .css('width', '100%')\n .css('height', '100%');\n }\n\n $slide.append($video);\n\n // Image\n\n } else {\n img = new Image();\n\n $inner = $('
')\n .css('background-image', 'url(\"' + src + '\")')\n .css('background-color', color)\n .css('background-position', align + ' ' + valign);\n\n if (cover === 'repeat') {\n $inner.css('background-repeat', 'repeat');\n } else {\n $inner.css('background-size', cover);\n }\n\n if (this.support.transition && animation) {\n $inner\n .addClass('vegas-animation-' + animation)\n .css('animation-duration', animationDuration + 'ms');\n }\n\n $slide.append($inner);\n }\n\n if (!this.support.transition) {\n $slide.css('display', 'none');\n }\n\n if (total) {\n $slides.eq(total - 1).after($slide);\n } else {\n this.$elmt.prepend($slide);\n }\n\n $slides\n .css('transition', 'all 0ms')\n .each(function () {\n this.className = 'vegas-slide';\n\n if (this.tagName === 'VIDEO') {\n this.className += ' vegas-video';\n }\n\n if (transition) {\n this.className += ' vegas-transition-' + transition;\n this.className += ' vegas-transition-' + transition + '-in';\n }\n }\n );\n\n self._timer(false);\n\n function go () {\n self._timer(true);\n\n setTimeout(function () {\n if (transition) {\n if (self.support.transition) {\n $slides\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-out');\n\n $slides.each(function () {\n var video = $slides.find('video').get(0);\n\n if (video) {\n video.volume = 1;\n self._fadeOutSound(video, transitionDuration);\n }\n });\n\n $slide\n .css('transition', 'all ' + transitionDuration + 'ms')\n .addClass('vegas-transition-' + transition + '-in');\n } else {\n $slide.fadeIn(transitionDuration);\n }\n }\n\n for (var i = 0; i < $slides.length - self.settings.slidesToKeep; i++) {\n $slides.eq(i).remove();\n }\n\n self.trigger('walk');\n self._slideShow();\n }, 100);\n }\n if (video) {\n if (video.readyState === 4) {\n video.currentTime = 0;\n }\n\n video.play();\n go();\n } else {\n img.src = src;\n\n if (img.complete) {\n go();\n } else {\n img.onload = go;\n }\n }\n },\n\n _end: function () {\n this.ended = !this.settings.autoplay;\n this._timer(false);\n this.trigger('end');\n },\n\n shuffle: function () {\n var temp,\n rand;\n\n for (var i = this.total - 1; i > 0; i--) {\n rand = Math.floor(Math.random() * (i + 1));\n temp = this.settings.slides[i];\n\n this.settings.slides[i] = this.settings.slides[rand];\n this.settings.slides[rand] = temp;\n }\n },\n\n play: function () {\n if (this.paused) {\n this.paused = false;\n this.next();\n this.trigger('play');\n }\n },\n\n pause: function () {\n this._timer(false);\n this.paused = true;\n this.trigger('pause');\n },\n\n toggle: function () {\n if (this.paused) {\n this.play();\n } else {\n this.pause();\n }\n },\n\n playing: function () {\n return !this.paused && !this.noshow;\n },\n\n current: function (advanced) {\n if (advanced) {\n return {\n slide: this.slide,\n data: this.settings.slides[this.slide]\n };\n }\n return this.slide;\n },\n\n jump: function (nb) {\n if (nb < 0 || nb > this.total - 1 || nb === this.slide) {\n return;\n }\n\n this.slide = nb;\n this._goto(this.slide);\n },\n\n next: function () {\n this.slide++;\n\n if (this.slide >= this.total) {\n if (!this.settings.loop) {\n return this._end();\n }\n\n this.slide = 0;\n }\n\n this._goto(this.slide);\n },\n\n previous: function () {\n this.slide--;\n\n if (this.slide < 0) {\n if (!this.settings.loop) {\n this.slide++;\n return;\n } else {\n this.slide = this.total - 1;\n }\n }\n\n this._goto(this.slide);\n },\n\n trigger: function (fn) {\n var params = [];\n\n if (fn === 'init') {\n params = [ this.settings ];\n } else {\n params = [\n this.slide,\n this.settings.slides[this.slide]\n ];\n }\n\n this.$elmt.trigger('vegas' + fn, params);\n\n if (typeof this.settings[fn] === 'function') {\n this.settings[fn].apply(this.$elmt, params);\n }\n },\n\n options: function (key, value) {\n var oldSlides = this.settings.slides.slice();\n\n if (typeof key === 'object') {\n this.settings = $.extend({}, defaults, $.vegas.defaults, key);\n } else if (typeof key === 'string') {\n if (value === undefined) {\n return this.settings[key];\n }\n this.settings[key] = value;\n } else {\n return this.settings;\n }\n\n // In case slides have changed\n if (this.settings.slides !== oldSlides) {\n this.total = this.settings.slides.length;\n this.noshow = this.total < 2;\n this._preload();\n }\n },\n\n destroy: function () {\n clearTimeout(this.timeout);\n\n this.$elmt.removeClass('vegas-container');\n this.$elmt.find('> .vegas-slide').remove();\n this.$elmt.find('> .vegas-wrapper').clone(true).children().appendTo(this.$elmt);\n this.$elmt.find('> .vegas-wrapper').remove();\n\n if (this.settings.timer) {\n this.$timer.remove();\n }\n\n if (this.settings.overlay) {\n this.$overlay.remove();\n }\n\n this.elmt._vegas = null;\n }\n };\n\n $.fn.vegas = function(options) {\n var args = arguments,\n error = false,\n returns;\n\n if (options === undefined || typeof options === 'object') {\n return this.each(function () {\n if (!this._vegas) {\n this._vegas = new Vegas(this, options);\n }\n });\n } else if (typeof options === 'string') {\n this.each(function () {\n var instance = this._vegas;\n\n if (!instance) {\n throw new Error('No Vegas applied to this element.');\n }\n\n if (typeof instance[options] === 'function' && options[0] !== '_') {\n returns = instance[options].apply(instance, [].slice.call(args, 1));\n } else {\n error = true;\n }\n });\n\n if (error) {\n throw new Error('No method \"' + options + '\" in Vegas.');\n }\n\n return returns !== undefined ? returns : this;\n }\n };\n\n $.vegas = {};\n $.vegas.defaults = defaults;\n\n $.vegas.isVideoCompatible = function () {\n return !/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent);\n };\n\n})(window.jQuery || window.Zepto || window.m4q);\n"],"names":["$","Vegas","elmt","options","this","settings","extend","defaults","vegas","slide","total","slides","length","noshow","paused","autoplay","ended","$elmt","$timer","$overlay","$slide","timeout","first","transitions","animations","transitionRegister","Array","animationRegister","concat","support","objectFit","document","body","style","transition","video","isVideoCompatible","shuffle","_init","delay","loop","preload","preloadImage","preloadVideo","timer","overlay","cover","color","align","valign","firstTransition","firstTransitionDuration","transitionDuration","animation","animationDuration","slidesToKeep","init","play","pause","walk","videoCache","prototype","$content","$contentScroll","isBody","tagName","self","_preload","css","clone","children","appendTo","innerHTML","prepend","addClass","append","setTimeout","trigger","_goto","i","preloadImages","src","Image","preloadVideos","_video","_random","array","Math","floor","random","_slideShow","next","_options","_timer","state","clearTimeout","removeClass","find","srcs","source","cacheKey","toString","createElement","forEach","appendChild","_fadeOutSound","duration","volume","_fadeInSound","key","undefined","nb","$inner","$video","img","$slides","videoSettings","go","each","get","fadeIn","eq","remove","muted","mute","after","className","readyState","currentTime","complete","onload","_end","temp","rand","toggle","playing","current","advanced","data","jump","previous","fn","params","apply","value","oldSlides","slice","destroy","_vegas","returns","args","arguments","error","instance","Error","call","test","navigator","userAgent","window","jQuery","Zepto","m4q"],"m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EQ,MAAQ,GACVR,EAAEQ,MAAMD,SAAWA,EAEnBP,EAAEQ,MAAM4B,kBAAoB,WAC1B,OAAQ,4DAA4DwH,KAAKC,UAAUC,YAjuBvF,CAouBGC,OAAOC,QAAUD,OAAOE,OAASF,OAAOG"}
\ No newline at end of file
diff --git a/releases/latest/vegas.zip b/releases/latest/vegas.zip
index 6137be8f..669a53d6 100644
Binary files a/releases/latest/vegas.zip and b/releases/latest/vegas.zip differ