(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{462:function(o,t,s){"use strict";var e=s(435),n=[{key:"putAt",name:"putAt"}].map((function(o){return{key:o.key,sourceKey:"plugins.movable."+o.name}})),r=function(){function o(o){this.scroll=o,this.handleBScroll(),this.handleHooks()}return o.prototype.handleBScroll=function(){this.scroll.proxy(n)},o.prototype.handleHooks=function(){var o=this;this.hooksFn=[];var t=this.scroll.scroller,s=t.scrollBehaviorX,e=t.scrollBehaviorY,n=function(o,t){o.maxScrollPos>0&&(o.minScrollPos=t.wrapperSize-t.contentSize,o.maxScrollPos=0)};this.registerHooks(s.hooks,s.hooks.eventTypes.ignoreHasScroll,(function(){return!0})),this.registerHooks(s.hooks,s.hooks.eventTypes.computeBoundary,(function(o){n(o,s)})),this.registerHooks(e.hooks,e.hooks.eventTypes.ignoreHasScroll,(function(){return!0})),this.registerHooks(e.hooks,e.hooks.eventTypes.computeBoundary,(function(o){n(o,e)})),this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.destroy,(function(){o.destroy()}))},o.prototype.putAt=function(o,t,s,n){void 0===s&&(s=this.scroll.options.bounceTime),void 0===n&&(n=e.r.bounce);var r=this.resolvePostion(o,t);this.scroll.scrollTo(r.x,r.y,s,n)},o.prototype.resolvePostion=function(o,t){var s=this.scroll.scroller,e=s.scrollBehaviorX,n=s.scrollBehaviorY,r={left:function(){return 0},top:function(){return 0},right:function(){return e.minScrollPos},bottom:function(){return n.minScrollPos},center:function(o){return(0===o?e.minScrollPos:n.minScrollPos)/2}};return{x:"number"==typeof o?o:r[o](0),y:"number"==typeof t?t:r[t](1)}},o.prototype.destroy=function(){this.hooksFn.forEach((function(o){var t=o[0],s=o[1],e=o[2];t.off(s,e)})),this.hooksFn.length=0},o.prototype.registerHooks=function(o,t,s){o.on(t,s,this),this.hooksFn.push([o,t,s])},o.pluginName="movable",o.applyOrder=e.a.Pre,o}();t.a=r},532:function(o,t,s){},693:function(o,t,s){o.exports=s.p+"assets/img/oasis_one.53ab6bbb.png"},694:function(o,t,s){o.exports=s.p+"assets/img/oasis_two.2b8f9c2e.png"},695:function(o,t,s){"use strict";s(532)},756:function(o,t,s){"use strict";s.r(t);var e=s(436),n=s(462),r=s(693),i=s.n(r),c=s(694),l=s.n(c);e.a.use(n.a);var a={created:function(){this.picture1=i.a,this.picture2=l.a},mounted:function(){this.init()},beforeDestroy:function(){this.bs1.destroy(),this.bs2.destroy()},methods:{init:function(){this.bs1=new e.a(this.$refs.scroll,{bindToTarget:!0,scrollX:!0,scrollY:!0,freeScroll:!0,movable:!0,startX:10,startY:10}),this.bs2=new e.a(this.$refs.scroll,{specifiedIndexAsContent:1,bindToTarget:!0,scrollX:!0,scrollY:!0,freeScroll:!0,movable:!0,startX:0,startY:170})},handleClick:function(){this.bs2.putAt("center","center")}}},u=(s(695),s(41)),h=Object(u.a)(a,(function(){var o=this,t=o._self._c;return t("div",{staticClass:"movable-multi-content-container"},[t("div",{ref:"scroll",staticClass:"scroll-wrapper"},[t("div",{staticClass:"scroll-content content1"},[t("figure",[t("figcaption",[o._v("Cold Oasis")]),o._v(" "),t("img",{staticClass:"picture",attrs:{src:o.picture1,alt:"Cold Oasis"}})])]),o._v(" "),t("div",{staticClass:"scroll-content content2"},[t("figure",[t("figcaption",[o._v("Warm Oasis")]),o._v(" "),t("img",{staticClass:"picture",attrs:{src:o.picture2,alt:"Warm Oasis"}})])])]),o._v(" "),t("button",{staticClass:"btn",on:{click:o.handleClick}},[o._v("Put The Warm at center position")])])}),[],!1,null,"0339b156",null);t.default=h.exports}}]);