(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{435:function(t,e,o){"use strict";function n(t){console.error("[BScroll warn]: "+t)}function i(t,e){if(!t)throw new Error("[BScroll] "+e)}o.d(e,"S",(function(){return n})),o.d(e,"l",(function(){return i})),o.d(e,"x",(function(){return P})),o.d(e,"H",(function(){return O})),o.d(e,"I",(function(){return E})),o.d(e,"J",(function(){return B})),o.d(e,"p",(function(){return D})),o.d(e,"B",(function(){return M})),o.d(e,"C",(function(){return x})),o.d(e,"D",(function(){return Y})),o.d(e,"P",(function(){return X})),o.d(e,"s",(function(){return L})),o.d(e,"z",(function(){return A})),o.d(e,"L",(function(){return z})),o.d(e,"Q",(function(){return H})),o.d(e,"R",(function(){return F})),o.d(e,"o",(function(){return _})),o.d(e,"q",(function(){return R})),o.d(e,"K",(function(){return N})),o.d(e,"N",(function(){return K})),o.d(e,"A",(function(){return I})),o.d(e,"h",(function(){return W})),o.d(e,"v",(function(){return q})),o.d(e,"r",(function(){return V})),o.d(e,"E",(function(){return c})),o.d(e,"F",(function(){return a})),o.d(e,"y",(function(){return p})),o.d(e,"t",(function(){return f})),o.d(e,"G",(function(){return d})),o.d(e,"w",(function(){return v})),o.d(e,"m",(function(){return y})),o.d(e,"u",(function(){return m})),o.d(e,"O",(function(){return it})),o.d(e,"n",(function(){return rt})),o.d(e,"M",(function(){return ct})),o.d(e,"c",(function(){return J})),o.d(e,"b",(function(){return Z})),o.d(e,"a",(function(){return $})),o.d(e,"e",(function(){return Q})),o.d(e,"g",(function(){return tt})),o.d(e,"i",(function(){return et})),o.d(e,"j",(function(){return ot})),o.d(e,"k",(function(){return nt})),o.d(e,"d",(function(){return lt})),o.d(e,"f",(function(){return ut}));var r="undefined"!=typeof window,s=r&&navigator.userAgent.toLowerCase(),h=!(!s||!/wechatdevtools/.test(s)),c=s&&s.indexOf("android")>0,a=function(){if("string"==typeof s){var t=/os (\d\d?_\d(_\d)?)/.exec(s);if(!t)return!1;var e=t[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===e[0]&&e[1]>=4)}return!1}(),l=!1;if(r){try{var u={};Object.defineProperty(u,"passive",{get:function(){l=!0}}),window.addEventListener("test-passive",(function(){}),u)}catch(t){}}function p(){return window.performance&&window.performance.now&&window.performance.timing?window.performance.now()+window.performance.timing.navigationStart:+new Date}var f=function(t,e){for(var o in e)t[o]=e[o];return t};function d(t){return null==t}function v(t,e){return Math.sqrt(t*t+e*e)}function y(t,e,o){return to?o:t}function m(t,e){if(t.findIndex)return t.findIndex(e);var o=-1;return t.some((function(t,n,i){var r=e(t,n,i);if(r)return o=n,r})),o}var g=function(){return(g=Object.assign||function(t){for(var e,o=1,n=arguments.length;odocument.documentElement.clientWidth-a||c>document.documentElement.clientHeight-a||h0?r.b.Negative:o<0?r.b.Positive:r.b.Default},s=i(e.x,t.x),h=i(e.y,t.y),c=o.x-n.x,a=o.y-n.y;return s*c<=0&&h*a<=0})(t,e,s,n)&&o.hooks.trigger(o.hooks.eventTypes.move,s),o.pending||(o.callStopWhenPending?o.callStopWhenPending=!1:o.hooks.trigger(o.hooks.eventTypes.end,s)),n=s,o.pending&&(o.timer=Object(r.O)(i))};this.callStopWhenPending&&this.setCallStop(!1),Object(r.n)(this.timer),i()},e.prototype.transitionTime=function(t){void 0===t&&(t=0),this.style[r.P.transitionDuration]=t+"ms",this.hooks.trigger(this.hooks.eventTypes.time,t)},e.prototype.transitionTimingFunction=function(t){this.style[r.P.transitionTimingFunction]=t,this.hooks.trigger(this.hooks.eventTypes.timeFunction,t)},e.prototype.transitionProperty=function(){this.style[r.P.transitionProperty]=r.P.transform},e.prototype.move=function(t,e,o,n){this.setPending(o>0),this.transitionTimingFunction(n),this.transitionProperty(),this.transitionTime(o),this.translate(e);var i=this.options.probeType===r.j.Realtime;o&&i&&this.startProbe(t,e),o||(this._reflow=this.content.offsetHeight,i&&this.hooks.trigger(this.hooks.eventTypes.move,e),this.hooks.trigger(this.hooks.eventTypes.end,e))},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),Object(r.n)(this.timer);var e=this.translater.getComputedPosition(),o=e.x,n=e.y;this.transitionTime(),this.translate({x:o,y:n}),this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,{x:o,y:n})}return t},e.prototype.stop=function(){this.doStop()&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(u),d=function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.move=function(t,e,o,n){if(!o)return this.translate(e),this.options.probeType===r.j.Realtime&&this.hooks.trigger(this.hooks.eventTypes.move,e),void this.hooks.trigger(this.hooks.eventTypes.end,e);this.animate(t,e,o,n)},e.prototype.animate=function(t,e,o,n){var i=this,s=Object(r.y)(),h=s+o,c=this.options.probeType===r.j.Realtime,a=function(){var l=Object(r.y)();if(l>=h)return i.translate(e),c&&i.hooks.trigger(i.hooks.eventTypes.move,e),void i.hooks.trigger(i.hooks.eventTypes.end,e);var u=n(l=(l-s)/o),p={};Object.keys(e).forEach((function(o){var n=t[o],i=e[o];p[o]=(i-n)*u+n})),i.translate(p),c&&i.hooks.trigger(i.hooks.eventTypes.move,p),i.pending&&(i.timer=Object(r.O)(a)),i.pending||(i.callStopWhenPending?i.callStopWhenPending=!1:i.hooks.trigger(i.hooks.eventTypes.end,e))};this.setPending(!0),this.callStopWhenPending&&this.setCallStop(!1),Object(r.n)(this.timer),a()},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),Object(r.n)(this.timer);var e=this.translater.getComputedPosition();this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,e)}return t},e.prototype.stop=function(){this.doStop()&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(u);var y,m,g,k,b,T=function(){function t(t,e,o){this.wrapper=t,this.options=o,this.hooks=new r.d(["beforeComputeBoundary","computeBoundary","momentum","end","ignoreHasScroll"]),this.refresh(e)}return t.prototype.start=function(){this.dist=0,this.setMovingDirection(r.b.Default),this.setDirection(r.b.Default)},t.prototype.move=function(t){return t=this.hasScroll?t:0,this.setMovingDirection(t),this.performDampingAlgorithm(t,this.options.outOfBoundaryDampingFactor)},t.prototype.setMovingDirection=function(t){this.movingDirection=t>0?r.b.Negative:t<0?r.b.Positive:r.b.Default},t.prototype.setDirection=function(t){this.direction=t>0?r.b.Negative:t<0?r.b.Positive:r.b.Default},t.prototype.performDampingAlgorithm=function(t,e){var o=this.currentPos+t;return(o>this.minScrollPos||othis.minScrollPos&&this.options.bounces[0]||othis.minScrollPos?this.minScrollPos:this.maxScrollPos),o},t.prototype.end=function(t){var e={duration:0},o=Math.abs(this.currentPos-this.startPos);if(this.options.momentum&&tthis.options.momentumLimitDistance){var n=this.direction===r.b.Negative&&this.options.bounces[0]||this.direction===r.b.Positive&&this.options.bounces[1]?this.wrapperSize:0;e=this.hasScroll?this.momentum(this.currentPos,this.startPos,t,this.maxScrollPos,this.minScrollPos,n,this.options):{destination:this.currentPos,duration:0}}else this.hooks.trigger(this.hooks.eventTypes.end,e);return e},t.prototype.momentum=function(t,e,o,n,i,r,s){void 0===s&&(s=this.options);var h=t-e,c=Math.abs(h)/o,a=s.deceleration,l=s.swipeBounceTime,u=s.swipeTime,p={destination:t+c*c/a*(h<0?-1:1),duration:Math.min(u,2*c/a),rate:15};return this.hooks.trigger(this.hooks.eventTypes.momentum,p,h),p.destinationi&&(p.destination=r?Math.min(i+r/4,i+r/p.rate*c):i,p.duration=l),p.destination=Math.round(p.destination),p},t.prototype.updateDirection=function(){var t=this.currentPos-this.absStartPos;this.setDirection(t)},t.prototype.refresh=function(t){var e=this.options.rect,o=e.size,n=e.position,i="static"===window.getComputedStyle(this.wrapper,null).position,s=Object(r.z)(this.wrapper);this.wrapperSize=this.wrapper["width"===o?"clientWidth":"clientHeight"],this.setContent(t);var h=Object(r.z)(this.content);this.contentSize=h[o],this.relativeOffset=h[n],i&&(this.relativeOffset-=s[n]),this.computeBoundary(),this.setDirection(r.b.Default)},t.prototype.setContent=function(t){t!==this.content&&(this.content=t,this.resetState())},t.prototype.resetState=function(){this.currentPos=0,this.startPos=0,this.dist=0,this.setDirection(r.b.Default),this.setMovingDirection(r.b.Default),this.resetStartPos()},t.prototype.computeBoundary=function(){this.hooks.trigger(this.hooks.eventTypes.beforeComputeBoundary);var t={minScrollPos:0,maxScrollPos:this.wrapperSize-this.contentSize};t.maxScrollPos<0&&(t.maxScrollPos-=this.relativeOffset,0===this.options.specifiedIndexAsContent&&(t.minScrollPos=-this.relativeOffset)),this.hooks.trigger(this.hooks.eventTypes.computeBoundary,t),this.minScrollPos=t.minScrollPos,this.maxScrollPos=t.maxScrollPos,this.hasScroll=this.options.scrollable&&this.maxScrollPosthis.minScrollPos?t=this.minScrollPos:te+this.directionLockThreshold?this.directionLocked=r.c.Horizontal:e>=t+this.directionLockThreshold?this.directionLocked=r.c.Vertical:this.directionLocked=r.c.None)},t.prototype.handleEventPassthrough=function(t){var e=S[this.directionLocked];if(e){if(this.eventPassthrough===e[b.Yes])return P[b.Yes](t);if(this.eventPassthrough===e[b.No])return P[b.No](t)}return!1},t}(),O=function(){function t(t,e,o,n,i){this.hooks=new r.d(["start","beforeMove","scrollStart","scroll","beforeEnd","end","scrollEnd","contentNotMoved","detectMovingDirection","coordinateTransformation"]),this.scrollBehaviorX=t,this.scrollBehaviorY=e,this.actionsHandler=o,this.animater=n,this.options=i,this.directionLockAction=new w(i.directionLockThreshold,i.freeScroll,i.eventPassthrough),this.enabled=!0,this.bindActionsHandler()}return t.prototype.bindActionsHandler=function(){var t=this;this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.start,(function(e){return!t.enabled||t.handleStart(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.move,(function(e){var o=e.deltaX,n=e.deltaY,i=e.e;if(!t.enabled)return!0;var s=function(t,e,o){return o===r.k.Second?[e,-t]:o===r.k.Third?[-t,-e]:o===r.k.Forth?[-e,t]:[t,e]}(o,n,t.options.quadrant),h={deltaX:s[0],deltaY:s[1]};return t.hooks.trigger(t.hooks.eventTypes.coordinateTransformation,h),t.handleMove(h.deltaX,h.deltaY,i)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.end,(function(e){return!t.enabled||t.handleEnd(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.click,(function(e){t.enabled&&!e._constructed&&t.handleClick(e)}))},t.prototype.handleStart=function(t){var e=Object(r.y)();this.fingerMoved=!1,this.contentMoved=!1,this.startTime=e,this.directionLockAction.reset(),this.scrollBehaviorX.start(),this.scrollBehaviorY.start(),this.animater.doStop(),this.scrollBehaviorX.resetStartPos(),this.scrollBehaviorY.resetStartPos(),this.hooks.trigger(this.hooks.eventTypes.start,t)},t.prototype.handleMove=function(t,e,o){if(!this.hooks.trigger(this.hooks.eventTypes.beforeMove,o)){var n=this.scrollBehaviorX.getAbsDist(t),i=this.scrollBehaviorY.getAbsDist(e),s=Object(r.y)();if(this.checkMomentum(n,i,s))return!0;if(this.directionLockAction.checkMovingDirection(n,i,o))return this.actionsHandler.setInitiated(),!0;var h=this.directionLockAction.adjustDelta(t,e),c=this.scrollBehaviorX.getCurrentPos(),a=this.scrollBehaviorX.move(h.deltaX),l=this.scrollBehaviorY.getCurrentPos(),u=this.scrollBehaviorY.move(h.deltaY);if(!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)){this.fingerMoved||(this.fingerMoved=!0);var p=a!==c||u!==l;this.contentMoved||p||this.hooks.trigger(this.hooks.eventTypes.contentNotMoved),!this.contentMoved&&p&&(this.contentMoved=!0,this.hooks.trigger(this.hooks.eventTypes.scrollStart)),this.contentMoved&&p&&(this.animater.translate({x:a,y:u}),this.dispatchScroll(s))}}},t.prototype.dispatchScroll=function(t){t-this.startTime>this.options.momentumLimitTime&&(this.startTime=t,this.scrollBehaviorX.updateStartPos(),this.scrollBehaviorY.updateStartPos(),this.options.probeType===r.j.Throttle&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())),this.options.probeType>r.j.Throttle&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())},t.prototype.checkMomentum=function(t,e,o){return o-this.endTime>this.options.momentumLimitTime&&e0?Math.ceil(e):Math.floor(e),o=o>0?Math.ceil(o):Math.floor(o),{x:e=Object(r.m)(e,s,i),y:o=Object(r.m)(o,a,c)}},t.prototype.handleClick=function(t){Object(r.L)(t.target,this.options.preventDefaultException)||(Object(r.H)(t),t.stopPropagation())},t.prototype.getCurrentPos=function(){return{x:this.scrollBehaviorX.getCurrentPos(),y:this.scrollBehaviorY.getCurrentPos()}},t.prototype.refresh=function(){this.endTime=0},t.prototype.destroy=function(){this.hooks.destroy()},t}();function E(t,e,o,n){var i=["momentum","momentumLimitTime","momentumLimitDistance","deceleration","swipeBounceTime","swipeTime","outOfBoundaryDampingFactor","specifiedIndexAsContent"].reduce((function(e,o){return e[o]=t[o],e}),{});return i.scrollable=!!t[e],i.bounces=o,i.rect=n,i}var B=function(){for(var t=0,e=0,o=arguments.length;e1&&t1||e>1))return!0},t.prototype.momentum=function(t,e){var o={time:0,easing:r.r.swiper,newX:t.x,newY:t.y},n=this.scrollBehaviorX.end(e),i=this.scrollBehaviorY.end(e);if(o.newX=Object(r.G)(n.destination)?o.newX:n.destination,o.newY=Object(r.G)(i.destination)?o.newY:i.destination,o.time=Math.max(n.duration,i.duration),this.hooks.trigger(this.hooks.eventTypes.momentum,o,this),o.newX!==t.x||o.newY!==t.y)return(o.newX>this.scrollBehaviorX.minScrollPos||o.newXthis.scrollBehaviorY.minScrollPos||o.newY