(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{443:function(t,e,n){"use strict";var o=n(435),r=function(){function t(t){this.ancestors=[],this.descendants=[],this.hooksManager=[],this.analyzed=!1,this.selfScroll=t}return t.create=function(e){return new t(e)},t.prototype.hasAncestors=function(t){return Object(o.u)(this.ancestors,(function(e){return e[0]===t}))>-1},t.prototype.hasDescendants=function(t){return Object(o.u)(this.descendants,(function(e){return e[0]===t}))>-1},t.prototype.addAncestor=function(t,e){var n=this.ancestors;n.push([t,e]),n.sort((function(t,e){return t[1]-e[1]}))},t.prototype.addDescendant=function(t,e){var n=this.descendants;n.push([t,e]),n.sort((function(t,e){return t[1]-e[1]}))},t.prototype.removeAncestor=function(t){var e=this.ancestors;if(e.length){var n=Object(o.u)(this.ancestors,(function(e){return e[0]===t}));if(n>-1)return e.splice(n,1)}},t.prototype.removeDescendant=function(t){var e=this.descendants;if(e.length){var n=Object(o.u)(this.descendants,(function(e){return e[0]===t}));if(n>-1)return e.splice(n,1)}},t.prototype.registerHooks=function(t,e,n){t.on(e,n),this.hooksManager.push([t,e,n])},t.prototype.setAnalyzed=function(t){void 0===t&&(t=!1),this.analyzed=t},t.prototype.purge=function(){var t=this;this.ancestors.forEach((function(e){e[0].removeDescendant(t)})),this.descendants.forEach((function(e){e[0].removeAncestor(t)})),this.hooksManager.forEach((function(t){var e=t[0],n=t[1],o=t[2];e.off(n,o)})),this.hooksManager=[]},t}(),s=[{key:"purgeNestedScroll",name:"purgeNestedScroll"}].map((function(t){return{key:t.key,sourceKey:"plugins.nestedScroll."+t.name}})),i=function(){for(var t=0,e=0,n=arguments.length;e-1&&(e[r].purge(),e.splice(r,1));var s=Object(o.u)(n,(function(e){return e[0]===t.hooks}));if(s>-1){var i=n[s],c=i[0],l=i[1],a=i[2];c.off(l,a),n.splice(s,1)}},t.prototype.addBScroll=function(t){this.store.push(r.create(t))},t.prototype.buildBScrollGraph=function(){for(var t,e,n,o,r=this.store,s=this.store.length,i=0;ih||au||c=u&&d===o.b.Negative,y=i<=f&&d===o.b.Positive,k=a>=h&&v===o.b.Negative,m=a<=p&&v===o.b.Positive,s?S=k||m:n&&(S=g||y),S))return l([r],r),w&&c([w]),l(E,r),!0})),t.setAnalyzed(!0)}}))},t.prototype.ensureEventInvokeSequence=function(){this.store.slice().sort((function(t,e){return t.descendants.length-e.descendants.length})).forEach((function(t){t.selfScroll.scroller.actionsHandler.rebindDOMEvents()}))},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.purgeNestedScroll=function(){var e=this.options.groupId;this.store.forEach((function(t){t.purge()})),this.store=[],this.hooksFn.forEach((function(t){var e=t[0],n=t[1],o=t[2];e.off(n,o)})),this.hooksFn=[],delete t.instancesMap[e]},t.pluginName="nestedScroll",t.instancesMap={},t}();e.a=u},535:function(t,e,n){},698:function(t,e,n){"use strict";n(535)},759:function(t,e,n){"use strict";n.r(e);var o=n(436),r=n(443);o.a.use(r.a);var s=["๐Ÿ‘ˆ๐Ÿป outer ๐Ÿ‘‰๐Ÿป ","๐Ÿ™‚ ๐Ÿค” ๐Ÿ˜„ ๐Ÿคจ ๐Ÿ˜ ๐Ÿ™ƒ "],i=["๐Ÿ‘ˆ๐Ÿป inner ๐Ÿ‘‰๐Ÿป ","๐Ÿ™‚ ๐Ÿค” ๐Ÿ˜„ ๐Ÿคจ ๐Ÿ˜ ๐Ÿ™ƒ ","๐Ÿ‘ˆ๐Ÿป inner ๐Ÿ‘‰๐Ÿป ","๐Ÿ˜” ๐Ÿ˜• ๐Ÿ™ƒ ๐Ÿค‘ ๐Ÿ˜ฒ โ˜น๏ธ ","๐Ÿ‘ˆ๐Ÿป inner ๐Ÿ‘‰๐Ÿป ","๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ๐Ÿฃ ","๐Ÿ‘ˆ๐Ÿป inner ๐Ÿ‘‰๐Ÿป ","๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ "],c={data:function(){return{items1:s,items2:i}},mounted:function(){this.initBScroll()},beforeDestroy:function(){this.outerScroll.destroy(),this.innerScroll.destroy()},methods:{handleOuterClick:function(){window.alert("clicked outer item")},handleInnerClick:function(){window.alert("clicked inner item")},initBScroll:function(){this.outerScroll=new o.a(this.$refs.outerScroll,{nestedScroll:{groupId:"horizontal-nested-scroll"},scrollX:!0,scrollY:!1,click:!0}),this.innerScroll=new o.a(this.$refs.innerScroll,{nestedScroll:{groupId:"horizontal-nested-scroll"},scrollX:!0,scrollY:!1,click:!0})}}},l=(n(698),n(41)),a=Object(l.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("div",{ref:"outerScroll",staticClass:"outer-wrapper"},[e("ul",{staticClass:"outer-content"},[t._l(t.items1,(function(n,o){return e("li",{key:o,staticClass:"list-item",on:{click:t.handleOuterClick}},[t._v(t._s(n))])})),t._v(" "),e("li",{staticClass:"list-item inner-list-item"},[e("div",{ref:"innerScroll",staticClass:"inner-wrapper"},[e("ul",{staticClass:"inner-content"},t._l(t.items2,(function(n,o){return e("li",{key:o,staticClass:"list-item",on:{click:t.handleInnerClick}},[t._v(t._s(n))])})),0)])]),t._v(" "),t._l(t.items1,(function(n,o){return e("li",{key:o+100,staticClass:"list-item",on:{click:t.handleOuterClick}},[t._v(t._s(n))])}))],2)])])}),[],!1,null,"207d6137",null);e.default=a.exports}}]);