UNPKG

@chifi49/vue-slideshow

Version:

content/image slideshow, carousel or swiper made with vuejs

2 lines 42.1 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-slideshow"]=e():t["vue-slideshow"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="349b")}({"017d":function(t,e,i){var n=i("55f2"),r=i("d266").f,a=i("a1fa"),s=i("49e1"),o=i("8668"),c=i("da6b"),u=i("87b1");t.exports=function(t,e){var i,h,l,f,d,p,g=t.target,m=t.global,v=t.stat;if(h=m?n:v?n[g]||o(g,{}):(n[g]||{}).prototype,h)for(l in e){if(d=e[l],t.noTargetGet?(p=r(h,l),f=p&&p.value):f=h[l],i=u(m?l:g+(v?".":"#")+l,t.forced),!i&&void 0!==f){if(typeof d===typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&a(d,"sham",!0),s(h,l,d,t)}}},"01e3":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"0d63":function(t,e){e.f=Object.getOwnPropertySymbols},"0eb6":function(t,e,i){var n=i("4323"),r=i("e527"),a=function(t){return function(e,i){var a,s,o=String(r(e)),c=n(i),u=o.length;return c<0||c>=u?t?"":void 0:(a=o.charCodeAt(c),a<55296||a>56319||c+1===u||(s=o.charCodeAt(c+1))<56320||s>57343?t?o.charAt(c):a:t?o.slice(c,c+2):s-56320+(a-55296<<10)+65536)}};t.exports={codeAt:a(!1),charAt:a(!0)}},"0f9f":function(t,e,i){"use strict";var n=i("017d"),r=i("f8c5");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},"128e":function(t,e,i){var n=i("eb90"),r=i("b198"),a=n("keys");t.exports=function(t){return a[t]||(a[t]=r(t))}},"15a3":function(t,e,i){var n=i("e556"),r=i("3bae"),a=i("1730"),s=a("species");t.exports=function(t,e){var i;return r(t)&&(i=t.constructor,"function"!=typeof i||i!==Array&&!r(i.prototype)?n(i)&&(i=i[s],null===i&&(i=void 0)):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},"16c3":function(t,e,i){var n=i("e556");t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},1730:function(t,e,i){var n=i("55f2"),r=i("eb90"),a=i("aa74"),s=i("b198"),o=i("a971"),c=i("5117"),u=r("wks"),h=n.Symbol,l=c?h:h&&h.withoutSetter||s;t.exports=function(t){return a(u,t)||(o&&a(h,t)?u[t]=h[t]:u[t]=l("Symbol."+t)),u[t]}},"19cb":function(t,e,i){"use strict";var n=i("0eb6").charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},2195:function(t,e,i){var n=i("017d"),r=i("360b");n({global:!0,forced:parseInt!=r},{parseInt:r})},2227:function(t,e,i){var n,r,a;(function(i,s){r=[],n=s,a="function"===typeof n?n.apply(e,r):n,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var i,n,r,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,o=a.exec(d.stack)||s.exec(d.stack),c=o&&o[1]||!1,u=o&&o[2]||!1,h=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");c===h&&(i=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=i.replace(n,"$1").trim());for(var f=0;f<l.length;f++){if("interactive"===l[f].readyState)return l[f];if(l[f].src===c)return l[f];if(c===h&&l[f].innerHTML&&l[f].innerHTML.trim()===r)return l[f]}return null}}return t}))},"243a":function(t,e,i){var n=i("3ac0"),r=i("e527");t.exports=function(t){return n(r(t))}},"26a7":function(t,e,i){"use strict";var n=i("7d35").forEach,r=i("ab38"),a=i("2eb8"),s=r("forEach"),o=a("forEach");t.exports=s&&o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"281c":function(t,e,i){"use strict";var n=i("dd4c");function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},2901:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"2eb8":function(t,e,i){var n=i("9267"),r=i("dd4c"),a=i("aa74"),s=Object.defineProperty,o={},c=function(t){throw t};t.exports=function(t,e){if(a(o,t))return o[t];e||(e={});var i=[][t],u=!!a(e,"ACCESSORS")&&e.ACCESSORS,h=a(e,0)?e[0]:c,l=a(e,1)?e[1]:void 0;return o[t]=!!i&&!r((function(){if(u&&!n)return!0;var t={length:-1};u?s(t,1,{enumerable:!0,get:c}):t[1]=1,i.call(t,h,l)}))}},"2fd0":function(t,e,i){var n=i("4323"),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},"349b":function(t,e,i){"use strict";if(i.r(e),"undefined"!==typeof window){var n=window.document.currentScript,r=i("2227");n=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var a=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(i.p=a[1])}var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{"outline-color":"transparent",position:"relative",backgroundColor:t.backgroundColor},attrs:{tabindex:"-1"}},[i("div",{staticClass:"container",staticStyle:{overflow:"hidden"}},[t._t("default"),i("div",{directives:[{name:"show",rawName:"v-show",value:t.nav,expression:"nav"}],style:{zIndex:t.contents.length+1,left:"10px",position:"absolute",top:"0px",bottom:"0px",display:"table",height:"100%"}},[i("div",{style:{display:"table-cell","vertical-align":t.navVertical}},[i("a",{style:{color:t.navArrow,"border-color":t.navBorder,"background-color":t.navBackground,border:"solid 1px",padding:"5px 9px",cursor:"pointer"},on:{click:t.previousSlide}},[t._t("nav-left",[t._v("◀")])],2)])]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.nav,expression:"nav"}],style:{zIndex:t.contents.length+1,right:"10px",position:"absolute",top:"0px",bottom:"0px",display:"table",height:"100%"}},[i("div",{style:{display:"table-cell","vertical-align":t.navVertical}},[i("a",{style:{color:t.navArrow,"border-color":t.navBorder,"background-color":t.navBackground,border:"solid 1px #fff",padding:"5px 9px",cursor:"pointer"},on:{click:t.nextSlide}},[t._t("nav-right",[t._v("▶")])],2)])]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.pager,expression:"pager"}],staticClass:"pagination",style:{zIndex:t.contents.length+1,position:"absolute",top:"top"==t.pagerVertical?"10px":"auto",bottom:"bottom"==t.pagerVertical?"10px":"auto",left:"0px",width:t.pagerWidth,"text-align":t.pagerHorizontal,height:t.pagerHeight}},["bullets"==t.pagerMode?t._l(t.contents,(function(e,n){return i("a",{key:"page"+n,style:{"background-color":n==t.slideIndex?t.pagerBackground:"transparent",display:"inline-block",border:"solid 1px "+t.pagerBorder,"border-radius":"12px",height:t.pagerSize+"px",width:t.pagerSize+"px","margin-left":"2px","margin-right":"2px",cursor:"pointer"},on:{click:function(e){return t.selectPage(n)}}})})):t._e(),"counter"==t.pagerMode?[i("div",{style:{display:"inline-block",backgroundColor:t.pagerBackground,color:t.pagerColor,borderColor:t.pagerBorder,borderStyle:"solid",padding:"5px 7px",borderWidth:"1px"}},[i("a",{style:{color:t.pagerColor}},[t._v(t._s(t.slideIndex+1))]),t._v(" / "),i("a",{style:{color:t.pagerColor}},[t._v(t._s(t.contents.length))])])]:t._e()],2),i("a",{directives:[{name:"show",rawName:"v-show",value:t.fullscreen,expression:"fullscreen"}],staticClass:"fullscreen",style:{zIndex:t.contents.length+1,position:"absolute",top:"20px",right:"20px",color:"#fff","font-size":"21px",cursor:"pointer"},on:{click:t.fullScreen}},[t._t("fullscreen",[t._v(" ↗ "),i("span",{staticStyle:{position:"absolute",top:"0px",left:"0px"}},[t._v("↙")]),i("span",{staticStyle:{position:"absolute",top:"1px",left:"-1px",transform:"rotate(-90deg)"}},[t._v("↗")]),i("span",{staticStyle:{position:"absolute",top:"1px",left:"-1px",transform:"rotate(-90deg)"}},[t._v("↙")])])],2)],2),t.thumbs?i("div",{staticClass:"thumbnails",style:{position:"relative",width:"100%","overflow-x":"hidden",height:t.params.thumbs.height+"px",backgroundColor:t.thumbsBackground}},[i("table",{ref:"thumbsTbl",staticStyle:{position:"absolute",top:"0px",left:"0px","border-style":"none",padding:"0",margin:"0","border-spacing":"0",border:"none"}},[i("tr",t._l(t.thumb_paths,(function(e,n){return i("td",{key:e,staticStyle:{padding:"0",margin:"0","box-sizing":"border-box","border-spacing":"0"},attrs:{cellpadding:"0",cellspacing:"0","data-x":t.params.thumbs.height*n,"data-index":n}},[i("div",{style:{cursor:"pointer","background-image":"url("+e+")","background-repeat":"no-repeat","background-size":"cover",width:t.params.thumbs.width+"px",height:t.params.thumbs.height+"px","box-sizing":"border-box","border-style":"solid","border-width":(n==t.slideIndex?2:1)+"px","border-color":n==t.slideIndex?t.thumbsSelectedBorder:t.thumbsBorder},on:{click:function(e){return t.selectThumb(n)}}})])})),0)])]):t._e()])},o=[],c=(i("6efa"),i("5f5d"),i("e36a"),i("2195"),i("0f9f"),i("6769"),i("a11f"),{name:"vue-slideshow",props:{params:{type:Object,default:function(){return{mode:"horizontal",autoplay:!0,dragEnabled:!0,backgroundColor:"#000",imageRatio:1,fullscreen:!0,animation:"fade",speed:750,timeout:2500,thumbs:{visible:!0,height:90,width:100,backgroundColor:"#000",borderColor:"#000",selectedBorderColor:"#fff"},nav:{visible:!1,borderColor:"#fff",backgroundColor:"transparent",arrowColor:"#fff"},pager:{visible:!1,color:"#fff",backgroundColor:"#fff",borderColor:"#fff",size:12,mode:"bullets",position:{vertical:"bottom",horizontal:"center"}}}}},maxHeightResizer:{type:Function}},data:function(){return{isDragging:!1,previous_autoplay:!1,animating:!1,animating_timeout:0,slideIndex:0,navIndex:1,parent:null,contents:[],ghost:null,width:0,height:0,dragStartX:0,dragStartY:0,dragDiffX:0,dragDiffY:0,isFullScreen:!1,image_paths:[],thumb_paths:[],animated_elements:0}},computed:{mode:function(){return this.params&&this.params.mode?this.params.mode:"horizontal"},canDrag:function(){return!this.params||!this.params.dragEnabled||this.params.dragEnabled},backgroundColor:function(){return this.params&&this.params.backgroundColor?this.params.backgroundColor:"#000"},imageratio:function(){return this.params&&this.params.imageRatio?this.params.imageRatio:1},fullscreen:function(){return!this.params||"undefined"===typeof this.params.fullscreen||this.params.fullscreen},thumbsBackground:function(){return this.params&&this.params.thumbs&&this.params.thumbs.backgroundColor?this.params.thumbs.backgroundColor:"#000"},thumbsSelectedBorder:function(){return this.params&&this.params.thumbs&&this.params.thumbs.selectedBorderColor?this.params.thumbs.selectedBorderColor:"#fff"},thumbsBorder:function(){return this.params&&this.params.thumbs&&this.params.thumbs.borderColor?this.params.thumbs.borderColor:"#000"},pagerVertical:function(){return this.params&&this.params.pager&&this.params.pager.position&&this.params.pager.position.vertical?this.params.pager.position.vertical:"bottom"},pagerHorizontal:function(){return this.params&&this.params.pager&&this.params.pager.position&&this.params.pager.position.horizontal?this.params.pager.position.horizontal:"center"},pagerMode:function(){return this.params&&this.params.pager&&this.params.pager.mode?this.params.pager.mode:"bullets"},pagerWidth:function(){return"horizontal"==this.mode?"100%":"auto"},pagerHeight:function(){return"vertical"==this.mode?"100%":"auto"},pagerSize:function(){return this.params&&this.params.pager&&this.params.pager.size?this.params.pager.size:12},pagerBorder:function(){return this.params&&this.params.pager&&this.params.pager.borderColor?this.params.pager.borderColor:"#fff"},pagerBackground:function(){return this.params&&this.params.pager&&this.params.pager.backgroundColor?this.params.pager.backgroundColor:"#fff"},pagerColor:function(){return this.params&&this.params.pager&&this.params.pager.color?this.params.pager.color:"#fff"},autoplay:function(){return!this.params||"undefined"===typeof this.params.autoplay||this.params.autoplay},timeout:function(){return this.params&&this.params.timeout?Math.abs(parseInt(this.params.timeout)):2500},speed:function(){return this.params&&this.params.speed?Math.abs(parseInt(this.params.speed)):750},animation:function(){return this.params&&this.params.animation&&"slide"==this.params.animation?this.params.animation:"fade"},navArrow:function(){return this.params&&this.params.nav&&this.params.nav.arrowColor?this.params.nav.arrowColor:"#fff"},navBorder:function(){return this.params&&this.params.nav&&this.params.nav.borderColor?this.params.nav.borderColor:"#fff"},navBackground:function(){return this.params&&this.params.nav&&this.params.nav.backgroundColor?this.params.nav.backgroundColor:"transparent"},navVertical:function(){return this.params&&this.params.nav&&this.params.nav.position&&this.params.nav.position.vertical?this.params.nav.position.vertical:"middle"},nav:function(){return!!(this.params&&this.params.nav&&this.params.nav.visible)&&this.params.nav.visible},pager:function(){return!!(this.params&&this.params.pager&&this.params.pager.visible)&&this.params.pager.visible},thumbs:function(){return!!(this.params&&this.params.thumbs&&this.params.thumbs.visible)&&this.params.thumbs.visible},correctHeight:function(){var t=this.height;if(this.params&&this.params.maxHeight&&this.params.maxHeight<t&&(t=this.params.maxHeight),null!=this.maxHeightResizer){var e=this.maxHeightResizer(this);e<t&&(t=e)}return this.params&&this.params.minHeight&&this.params.minHeight>t&&(t=this.params.minHeight),t}},watch:{slideIndex:function(t,e){var i=this.width;if(this.params&&this.params.thumbs&&this.params.thumbs.visible){var n=this.$refs["thumbsTbl"].offsetWidth,r=!1;i<n&&(r=!0),r&&(e<t?this.moveThumbs("left",e,t):this.moveThumbs("right",e,t))}}},methods:{moveThumbs:function(t,e,i){var n=!0;if(n){var r=this.width,a=parseInt(this.$refs["thumbsTbl"].offsetWidth-r),s=parseInt(this.$refs["thumbsTbl"].style.left.replace("px",""));if("left"==t&&e!=i){if(a>0){var o=a-Math.abs(s),c=o-parseInt(this.params.thumbs.width);if(c<0){if(!(Math.abs(c)<this.params.thumbs.width))return;c=this.params.thumbs.width-o}else c=this.params.thumbs.width;this.slideLeft(this.$refs["thumbsTbl"],s+-1*c,c,(function(){}))}}else if("right"==t&&e!=i&&a>0){var u=s+this.params.thumbs.width;u=u<=0?this.params.thumbs.width:Math.abs(s),this.slideRight(this.$refs["thumbsTbl"],s+u,u,(function(){}))}}},slideLeft:function(t,e,i,n){var r=this,a=(new Date).getTime(),s=parseFloat(t.style.left.replace("px","")),o=function o(){var c=(new Date).getTime(),u=c-a,h=i/r.speed;t.style.left=s-h*u+"px",r.speed>u?window.requestAnimationFrame&&window.requestAnimationFrame(o)||setTimeout(o,16):(t.style.left=e+"px",n())};o()},slideRight:function(t,e,i,n){var r=this,a=(new Date).getTime(),s=parseFloat(t.style.left.replace("px","")),o=function o(){var c=(new Date).getTime(),u=c-a,h=i/r.speed;t.style.left=s+h*u+"px",r.speed>u?window.requestAnimationFrame&&window.requestAnimationFrame(o)||setTimeout(o,16):(t.style.left=e+"px",n())};o()},fadeIn:function(t,e){var i=this;t.style.left="0px",t.style.opacity=0;var n=(new Date).getTime(),r=function r(){var a=(new Date).getTime(),s=a-n,o=parseFloat(i.speed-s),c=1e3*parseFloat(s/1e3)/i.speed;return t.style.opacity=c,c<1?window.requestAnimationFrame&&window.requestAnimationFrame(r)||setTimeout(r,16):(t.style.opacity=1,e()),o/1e3};r()},fadeOut:function(t,e){var i=this;t.style.left="0px",t.style.opacity=1;var n=(new Date).getTime(),r=function r(){var a=(new Date).getTime(),s=a-n,o=parseFloat(i.speed-s),c=1e3*parseFloat(o/1e3)/i.speed;return t.style.opacity=c,c>0?window.requestAnimationFrame&&window.requestAnimationFrame(r)||setTimeout(r,16):(t.style.opacity=0,e()),o/1e3};r()},animate:function(t,e){if(!this.animating){this.$emit("beforeAnimate",{instance:this,index:t}),this.animated_elements=0,this.animating=!0;var i=this.contents[t],n=this.contents[e];if("fade"==this.animation)this.fadeOut(i,this.animate_finished),this.fadeIn(n,this.animate_finished);else if("slide"==this.animation)if(e>t){var r=this.width,a=-1*this.width,s=0;i.style.left="0px",n.style.left=this.width+"px",n.style.opacity=1,this.slideLeft(i,a,r,this.animate_finished),this.slideLeft(n,s,r,this.animate_finished)}else i.style.left="0px",n.style.left=-1*this.width+"px",n.style.opacity=1,this.slideRight(i,this.width,this.width,this.animate_finished),this.slideRight(n,0,this.width,this.animate_finished)}},animate_finished:function(){var t=this;if(this.animated_elements++,2==this.animated_elements){this.$emit("animated",{instance:this}),this.animating=!1;var e=this.slideIndex,i=e+1>this.contents.length-1?0:e+1;this.autoplay&&(this.animating_timeout=setTimeout((function(){t.slideIndex=i,t.animate(e,i)}),this.timeout))}},getDomNode:function(){return this.$el},fullScreen:function(){this.isFullScreen?(this.$emit("exitFullScreen"),document.exitFullscreen()):this.$el.requestFullscreen&&(this.$emit("enterFullScreen"),this.$el.requestFullscreen())},slideTo:function(t){t-1>=0&&t-1<=this.contents.length-1&&this.moveTo(t-1)},moveTo:function(t){clearTimeout(this.animating_timeout);var e=this.slideIndex,i=parseInt(t);this.slideIndex=i,this.animate(e,i)},selectPage:function(t){this.animating||t==this.slideIndex||(this.moveTo(t),this.pageSelected(t))},selectThumb:function(t){this.animating||t==this.slideIndex||(this.moveTo(t),this.thumbSelected(t))},pageSelected:function(t){this.$emit("pageSelected",{instance:this,index:t})},thumbSelected:function(t){this.$emit("thumbSelected",{instance:this,index:t})},getHeight:function(){return this.height},getBackgroundHeight:function(){return this.maxheight},firstSlide:function(){if(!this.amazing){clearTimeout(this.animating_timeout);var t=this.slideIndex;0!=t&&(this.slideIndex=0,this.animate(t,0),this.$emit("firstSlide",{instance:this,index:this.slideIndex,newindex:0}))}},lastSlide:function(){if(!this.amazing){clearTimeout(this.animating_timeout);var t=this.slideIndex;t!=this.contents.length-1&&(this.slideIndex=this.contents.length-1,this.animate(t,this.contents.length-1),this.$emit("lastSlide",{instance:this,index:this.slideIndex,newindex:this.contents.length-1}))}},nextSlide:function(){if(!this.animating){clearTimeout(this.animating_timeout);var t=this.slideIndex,e=t+1>this.contents.length-1?0:t+1;this.slideIndex=e,this.animate(t,e),this.$emit("nextSlide",{instance:this,index:t,newindex:e})}},previousSlide:function(){if(!this.animating){clearTimeout(this.animating_timeout);var t=this.slideIndex,e=t-1<0?this.contents.length-1:t-1;this.slideIndex=e,this.animate(t,e),this.$emit("previousSlide",{instance:this,index:t,newindex:e})}},getCurrentIndex:function(){return this.slideIndex},getCurrentContent:function(){return this.contents[this.slideIndex]},createGhost:function(){null==this.ghost&&(this.ghost=document.createElement("div"),this.ghost.style.cssText="position:fixed;z-index:-1;top:0px;left:0px;right:0px;bottom:0px;",this.$el.appendChild(this.ghost)),this.width=this.ghost.offsetWidth,this.height=this.ghost.offsetHeight},resized:function(){this.width=this.ghost.offsetWidth,this.height=this.ghost.offsetHeight,this.parent.style.width=this.width+"px",this.parent.style.height=this.correctHeight+"px",this.resizeBackgrounds()},createBackgrounds:function(){for(var t in this.contents){var e=this.contents[t];null==e.getAttribute("data-init")&&this.createBackground(e,t)}},createBackground:function(t,e){var i=t.querySelector("img:first-child"),n=i.src;t.removeChild(i),t.setAttribute("data-index",e),t.style.cssText="position:absolute;left:0px;top:0px;",this.loadImage(t,n,(function(){})),t.style.backgroundImage="url("+n+")",t.style.backgroundRepeat="no-repeat",t.style.backgroundSize="cover",t.style.backgroundPosition="center";var r=n;null!=i.getAttribute("data-thumb")&&(r=i.getAttribute("data-thumb")),t.setAttribute("data-url",n),t.setAttribute("data-thumb",r);var a=t.querySelector("div:first-child");if(null!=a){var s=a.getAttribute("data-pos-v")||"middle",o=a.getAttribute("data-pos-h")||"center";a.style.display="table",a.style.width="100%",a.style.height="100%",a.style.textAlign=o;var c=a.querySelector("div:first-child");c.style.display="table-cell",c.style.verticalAlign=s;var u=c.querySelector("div:first-child");u.style.display="inline-block",u.style.position="relative",u.style.zIndex=this.contents.length+1}return this.image_paths.push(n),this.thumb_paths.push(r),t.setAttribute("data-init",1),t},resizeBackground:function(t){t.style.height=this.correctHeight+"px",t.style.width=this.width+"px"},resizeBackgrounds:function(){for(var t in this.contents)this.resizeBackground(this.contents[t])},setupBackgrounds:function(){for(var t in this.contents){var e=this.contents[t];e.style.left="0px",e.style.opacity=0}},loadImage:function(t,e,i){var n=new Image,r=0,a=0,s=this;n.onload=function(){r=n.width,a=n.height,t.setAttribute("data-width",r),t.setAttribute("data-height",a);var e="horizontal";r<a&&(e="vertical");var o=parseInt(t.getAttribute("data-index"));("vertical"==e&&1==s.imageratio||2==s.imageratio)&&(t.style.backgroundSize="auto 100%"),0==o&&s.init(),t.setAttribute("data-type",e),i&&i({w:r,h:a})},n.src=e},createDragHandler:function(){this.drag=document.createElement("div"),this.drag.style.cssText="position:absolute;z-index:"+this.contents.length+";top:0px;left:0px;bottom:0px;right:0px;",this.parent.appendChild(this.drag),this.drag.addEventListener("click",(function(t){t.preventDefault()})),this.drag.addEventListener("mousedown",this.dragStarted)},dragStarted:function(){this.animating||this.params.dragEnabled&&(this.previous_autoplay=this.autoplay,this.params.autoplay=!1,clearTimeout(this.animating_timeout),this.isDragging=!1,this.dragStartX=event.touches&&event.touches.length>0?event.touches[0].pageX:event.pageX,document.addEventListener("mousemove",this.dragging),document.addEventListener("mouseup",this.dragEnded))},dragging:function(){var t=event.touches&&event.touches.length>0?event.touches[0].pageX:event.pageX;this.dragDiffX=t-this.dragStartX;var e=Math.abs(this.dragDiffX);if(e>20){this.isDragging=!0;var i=this.contents[this.slideIndex];i.style.left=this.dragDiffX+"px";var n=-1;if(this.dragDiffX<0){if(this.slideIndex+1<=this.contents.length-1){n=this.slideIndex+1;var r=this.contents[this.slideIndex+1];r.style.opacity=1,r.style.left=this.width+this.dragDiffX+"px"}}else if(this.slideIndex-1>=0){n=this.slideIndex-1;var a=this.contents[this.slideIndex-1];a.style.opacity=1,a.style.left=-1*this.width+this.dragDiffX+"px"}this.$emit("dragging",{instance:this,startX:this.dragStartX,currentX:t,index:this.slideIndex,newindex:n})}else this.isDragging=!1},dragEnded:function(){var t=this,e=!1;if(this.animated_elements=0,this.params.autoplay=this.previous_autoplay,this.isDragging){var i=Math.abs(this.dragDiffX)>this.width/4;if(i){if(this.dragDiffX<0){var n=this.slideIndex;if(n+1<=this.contents.length-1){e=!0;var r=n+1,a=this.contents[n],s=this.contents[r];this.slideIndex=r,this.slideLeft(a,-1*this.width,this.width-Math.abs(this.dragDiffX),this.animate_finished),this.slideLeft(s,0,this.width-Math.abs(this.dragDiffX),this.animate_finished)}else e=!0,this.slideRight(this.contents[n],0,Math.abs(this.dragDiffX),this.animate_finished),this.animate_finished()}else if(this.dragDiffX>0){var o=this.slideIndex;if(o-1>=0){e=!0;var c=o-1,u=this.contents[o],h=this.contents[c];this.slideIndex=c,this.slideRight(u,this.width,this.width-Math.abs(this.dragDiffX),this.animate_finished),this.slideRight(h,0,this.width-Math.abs(this.dragDiffX),this.animate_finished)}else e=!0,this.slideLeft(this.contents[o],0,Math.abs(this.dragDiffX),this.animate_finished),this.animate_finished()}}else if(this.dragDiffX<0){var l=this.slideIndex;if(l+1<=this.contents.length-1){e=!0;var f=l+1,d=this.contents[l],p=this.contents[f];this.slideRight(d,0,Math.abs(this.dragDiffX),this.animate_finished),this.slideRight(p,this.width,Math.abs(this.dragDiffX),this.animate_finished)}else e=!0,this.slideRight(this.contents[l],0,Math.abs(this.dragDiffX),this.animate_finished),this.animate_finished()}else if(this.dragDiffX>0){var g=this.slideIndex;if(g-1>=0){e=!0;var m=g-1,v=this.contents[g],b=this.contents[m];this.slideLeft(v,0,Math.abs(this.dragDiffX),this.animate_finished),this.slideLeft(b,-1*this.width,Math.abs(this.dragDiffX),this.animate_finished)}else e=!0,this.slideLeft(this.contents[g],0,Math.abs(this.dragDiffX),this.animate_finished),this.animate_finished()}}else{var x=this.slideIndex,y=this.contents[x];y.style.left="0px",this.dragDiffX<0?x+1<=this.contents.length-1&&(this.contents[x+1].style.left=this.width):this.dragDiffX>0&&x-1>=0&&(this.contents[x-1].style.left=-1*this.width)}this.autoplay&&!e&&(this.animating_timeout=setTimeout((function(){t.animate(n,r)}),this.timeout)),document.removeEventListener("mousemove",this.dragging),document.removeEventListener("mouseup",this.dragEnded)},fullscreenchange:function(){document.fullscreenElement==this.$el?this.isFullScreen=!0:this.isFullScreen=!1},keyup:function(t){37==t.keyCode?this.previousSlide():39==t.keyCode&&this.nextSlide()},init:function(){var t=this;this.fadeIn(this.contents[0],(function(){t.autoplay&&(t.animating_timeout=setTimeout((function(){var e=t.slideIndex,i=e+1>t.contents.length-1?0:e+1;t.slideIndex=i,t.animate(e,i)}),t.timeout))})),this.$emit("inited",{instance:this})}},beforeUpdate:function(){if(this.$slots["default"]&&this.$slots["default"].length>0){var t=this;this.$nextTick((function(){var e=t.$el.querySelectorAll(".content");[].forEach.call(e,(function(e){null==e.getAttribute("data-init")&&t.contents.push(e)})),t.createBackgrounds(),t.resizeBackgrounds()}))}},mounted:function(){var t=this;this.parent=this.$el.querySelector("div:first-child"),this.parent.style.cssText="position:relative;overflow:hidden";var e=this.$el.querySelectorAll(".content");[].forEach.call(e,(function(e){t.contents.push(e)})),this.createGhost(),this.createBackgrounds(),this.setupBackgrounds(),this.createDragHandler(),window.addEventListener("resize",this.resized),window.addEventListener("fullscreenchange",this.fullscreenchange),this.$el.addEventListener("keyup",this.keyup),this.resized()},destroy:function(){window.removeEventListener("resize",this.resized),window.removeEventListener("fullscreenchange",this.fullscreenchange)}}),u=c;function h(t,e,i,n,r,a,s,o){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):r&&(c=o?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var h=u.render;u.render=function(t,e){return c.call(e),h(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}var l=h(u,s,o,!1,null,null,null),f=l.exports;e["default"]=f},"35f2":function(t,e){t.exports=!1},"360b":function(t,e,i){var n=i("55f2"),r=i("4079").trim,a=i("b808"),s=n.parseInt,o=/^[+-]?0[Xx]/,c=8!==s(a+"08")||22!==s(a+"0x16");t.exports=c?function(t,e){var i=r(String(t));return s(i,e>>>0||(o.test(i)?16:10))}:s},3964:function(t,e,i){var n=i("985e"),r=i("55f2"),a=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},"3ac0":function(t,e,i){var n=i("dd4c"),r=i("2901"),a="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?a.call(t,""):Object(t)}:Object},"3bae":function(t,e,i){var n=i("2901");t.exports=Array.isArray||function(t){return"Array"==n(t)}},4079:function(t,e,i){var n=i("e527"),r=i("b808"),a="["+r+"]",s=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),c=function(t){return function(e){var i=String(n(e));return 1&t&&(i=i.replace(s,"")),2&t&&(i=i.replace(o,"")),i}};t.exports={start:c(1),end:c(2),trim:c(3)}},4323:function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},"443e":function(t,e,i){var n=i("55f2"),r=i("e556"),a=n.document,s=r(a)&&r(a.createElement);t.exports=function(t){return s?a.createElement(t):{}}},"458f":function(t,e,i){var n=i("243a"),r=i("2fd0"),a=i("ed09"),s=function(t){return function(e,i,s){var o,c=n(e),u=r(c.length),h=a(s,u);if(t&&i!=i){while(u>h)if(o=c[h++],o!=o)return!0}else for(;u>h;h++)if((t||h in c)&&c[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"49e1":function(t,e,i){var n=i("55f2"),r=i("a1fa"),a=i("aa74"),s=i("8668"),o=i("8999"),c=i("58c7"),u=c.get,h=c.enforce,l=String(String).split("String");(t.exports=function(t,e,i,o){var c=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof i&&("string"!=typeof e||a(i,"name")||r(i,"name",e),h(i).source=l.join("string"==typeof e?e:"")),t!==n?(c?!f&&t[e]&&(u=!0):delete t[e],u?t[e]=i:r(t,e,i)):u?t[e]=i:s(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||o(this)}))},5117:function(t,e,i){var n=i("a971");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"55f2":function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||Function("return this")()}).call(this,i("01e3"))},"58af":function(t,e,i){var n=i("e556");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"58c7":function(t,e,i){var n,r,a,s=i("dd12"),o=i("55f2"),c=i("e556"),u=i("a1fa"),h=i("aa74"),l=i("128e"),f=i("8065"),d=o.WeakMap,p=function(t){return a(t)?r(t):n(t,{})},g=function(t){return function(e){var i;if(!c(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}};if(s){var m=new d,v=m.get,b=m.has,x=m.set;n=function(t,e){return x.call(m,t,e),e},r=function(t){return v.call(m,t)||{}},a=function(t){return b.call(m,t)}}else{var y=l("state");f[y]=!0,n=function(t,e){return u(t,y,e),e},r=function(t){return h(t,y)?t[y]:{}},a=function(t){return h(t,y)}}t.exports={set:n,get:r,has:a,enforce:p,getterFor:g}},"5f5d":function(t,e,i){var n=i("49e1"),r=Date.prototype,a="Invalid Date",s="toString",o=r[s],c=r.getTime;new Date(NaN)+""!=a&&n(r,s,(function(){var t=c.call(this);return t===t?o.call(this):a}))},6611:function(t,e,i){var n=i("55f2"),r=i("8668"),a="__core-js_shared__",s=n[a]||r(a,{});t.exports=s},6769:function(t,e,i){"use strict";var n=i("e22f"),r=i("58af"),a=i("cb70"),s=i("2fd0"),o=i("4323"),c=i("e527"),u=i("19cb"),h=i("edfb"),l=Math.max,f=Math.min,d=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,m=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,i,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=n.REPLACE_KEEPS_$0,x=v?"$":"$0";return[function(i,n){var r=c(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,r,n):e.call(String(r),i,n)},function(t,n){if(!v&&b||"string"===typeof n&&-1===n.indexOf(x)){var a=i(e,t,this,n);if(a.done)return a.value}var c=r(t),d=String(this),p="function"===typeof n;p||(n=String(n));var g=c.global;if(g){var w=c.unicode;c.lastIndex=0}var S=[];while(1){var _=h(c,d);if(null===_)break;if(S.push(_),!g)break;var E=String(_[0]);""===E&&(c.lastIndex=u(d,s(c.lastIndex),w))}for(var I="",T=0,k=0;k<S.length;k++){_=S[k];for(var C=String(_[0]),A=l(f(o(_.index),d.length),0),D=[],$=1;$<_.length;$++)D.push(m(_[$]));var R=_.groups;if(p){var O=[C].concat(D,A,d);void 0!==R&&O.push(R);var z=String(n.apply(void 0,O))}else z=y(C,d,A,D,R,n);A>=T&&(I+=d.slice(T,A)+z,T=A+C.length)}return I+d.slice(T)}];function y(t,i,n,r,s,o){var c=n+t.length,u=r.length,h=g;return void 0!==s&&(s=a(s),h=p),e.call(o,h,(function(e,a){var o;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return i.slice(0,n);case"'":return i.slice(c);case"<":o=s[a.slice(1,-1)];break;default:var h=+a;if(0===h)return e;if(h>u){var l=d(h/10);return 0===l?e:l<=u?void 0===r[l-1]?a.charAt(1):r[l-1]+a.charAt(1):e}o=r[h-1]}return void 0===o?"":o}))}}))},"6c26":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"6efa":function(t,e,i){"use strict";var n=i("017d"),r=i("26a7");n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"7d35":function(t,e,i){var n=i("ca18"),r=i("3ac0"),a=i("cb70"),s=i("2fd0"),o=i("15a3"),c=[].push,u=function(t){var e=1==t,i=2==t,u=3==t,h=4==t,l=6==t,f=5==t||l;return function(d,p,g,m){for(var v,b,x=a(d),y=r(x),w=n(p,g,3),S=s(y.length),_=0,E=m||o,I=e?E(d,S):i?E(d,0):void 0;S>_;_++)if((f||_ in y)&&(v=y[_],b=w(v,_,x),t))if(e)I[_]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:c.call(I,v)}else if(h)return!1;return l?-1:u||h?h:I}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},"7ff3":function(t,e,i){var n=i("3964");t.exports=n("navigator","userAgent")||""},8065:function(t,e){t.exports={}},8668:function(t,e,i){var n=i("55f2"),r=i("a1fa");t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},"866c":function(t,e,i){var n=i("9267"),r=i("e650"),a=i("58af"),s=i("16c3"),o=Object.defineProperty;e.f=n?o:function(t,e,i){if(a(t),e=s(e,!0),a(i),r)try{return o(t,e,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},"87b1":function(t,e,i){var n=i("dd4c"),r=/#|\.prototype\./,a=function(t,e){var i=o[s(t)];return i==u||i!=c&&("function"==typeof e?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},o=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},8999:function(t,e,i){var n=i("6611"),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return r.call(t)}),t.exports=n.inspectSource},9267:function(t,e,i){var n=i("dd4c");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"985e":function(t,e,i){var n=i("55f2");t.exports=n},a11f:function(t,e,i){var n=i("017d"),r=i("55f2"),a=i("7ff3"),s=[].slice,o=/MSIE .\./.test(a),c=function(t){return function(e,i){var n=arguments.length>2,r=n?s.call(arguments,2):void 0;return t(n?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,i)}};n({global:!0,bind:!0,forced:o},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},a162:function(t,e,i){var n=i("b7f5"),r=i("6c26"),a=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},a1fa:function(t,e,i){var n=i("9267"),r=i("866c"),a=i("a7ed");t.exports=n?function(t,e,i){return r.f(t,e,a(1,i))}:function(t,e,i){return t[e]=i,t}},a7ed:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},a971:function(t,e,i){var n=i("dd4c");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},aa74:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},ab38:function(t,e,i){"use strict";var n=i("dd4c");t.exports=function(t,e){var i=[][t];return!!i&&n((function(){i.call(null,e||function(){throw 1},1)}))}},b148:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},b198:function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++i+n).toString(36)}},b7f5:function(t,e,i){var n=i("aa74"),r=i("243a"),a=i("458f").indexOf,s=i("8065");t.exports=function(t,e){var i,o=r(t),c=0,u=[];for(i in o)!n(s,i)&&n(o,i)&&u.push(i);while(e.length>c)n(o,i=e[c++])&&(~a(u,i)||u.push(i));return u}},b808:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},bb03:function(t,e,i){"use strict";var n=i("58af");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},c4e1:function(t,e,i){var n=i("55f2"),r=i("4079").trim,a=i("b808"),s=n.parseFloat,o=1/s(a+"-0")!==-1/0;t.exports=o?function(t){var e=r(String(t)),i=s(e);return 0===i&&"-"==e.charAt(0)?-0:i}:s},c78a:function(t,e,i){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);e.f=a?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},ca18:function(t,e,i){var n=i("b148");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},cb70:function(t,e,i){var n=i("e527");t.exports=function(t){return Object(n(t))}},d266:function(t,e,i){var n=i("9267"),r=i("c78a"),a=i("a7ed"),s=i("243a"),o=i("16c3"),c=i("aa74"),u=i("e650"),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=o(e,!0),u)try{return h(t,e)}catch(i){}if(c(t,e))return a(!r.f.call(t,e),t[e])}},da6b:function(t,e,i){var n=i("aa74"),r=i("fad0"),a=i("d266"),s=i("866c");t.exports=function(t,e){for(var i=r(e),o=s.f,c=a.f,u=0;u<i.length;u++){var h=i[u];n(t,h)||o(t,h,c(e,h))}}},dd12:function(t,e,i){var n=i("55f2"),r=i("8999"),a=n.WeakMap;t.exports="function"===typeof a&&/native code/.test(r(a))},dd4c:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},e22f:function(t,e,i){"use strict";i("0f9f");var n=i("49e1"),r=i("dd4c"),a=i("1730"),s=i("f8c5"),o=i("a1fa"),c=a("species"),u=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){return"$0"==="a".replace(/./,"$0")}(),l=a("replace"),f=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),d=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,e,i,l){var p=a(t),g=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,i=/a/;return"split"===t&&(i={},i.constructor={},i.constructor[c]=function(){return i},i.flags="",i[p]=/./[p]),i.exec=function(){return e=!0,null},i[p](""),!e}));if(!g||!m||"replace"===t&&(!u||!h||f)||"split"===t&&!d){var v=/./[p],b=i(p,""[t],(function(t,e,i,n,r){return e.exec===s?g&&!r?{done:!0,value:v.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),x=b[0],y=b[1];n(String.prototype,t,x),n(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}l&&o(RegExp.prototype[p],"sham",!0)}},e36a:function(t,e,i){var n=i("017d"),r=i("c4e1");n({global:!0,forced:parseFloat!=r},{parseFloat:r})},e527:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},e556:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},e650:function(t,e,i){var n=i("9267"),r=i("dd4c"),a=i("443e");t.exports=!n&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},eb90:function(t,e,i){var n=i("35f2"),r=i("6611");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},ed09:function(t,e,i){var n=i("4323"),r=Math.max,a=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):a(i,e)}},edfb:function(t,e,i){var n=i("2901"),r=i("f8c5");t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var a=i.call(t,e);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},f8c5:function(t,e,i){"use strict";var n=i("bb03"),r=i("281c"),a=RegExp.prototype.exec,s=String.prototype.replace,o=a,c=function(){var t=/a/,e=/b*/g;return a.call(t,"a"),a.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),u=r.UNSUPPORTED_Y||r.BROKEN_CARET,h=void 0!==/()??/.exec("")[1],l=c||h||u;l&&(o=function(t){var e,i,r,o,l=this,f=u&&l.sticky,d=n.call(l),p=l.source,g=0,m=t;return f&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),m=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,g++),i=new RegExp("^(?:"+p+")",d)),h&&(i=new RegExp("^"+p+"$(?!\\s)",d)),c&&(e=l.lastIndex),r=a.call(f?i:l,m),f?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:c&&r&&(l.lastIndex=l.global?r.index+r[0].length:e),h&&r&&r.length>1&&s.call(r[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=o},fad0:function(t,e,i){var n=i("3964"),r=i("a162"),a=i("0d63"),s=i("58af");t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=a.f;return i?e.concat(i(t)):e}}})["default"]})); //# sourceMappingURL=vue-slideshow.umd.min.js.map