@xysfe/actui 1.9.9 → 1.9.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/GoldCert/index.js +1 -1
- package/es/assets/common/baseelement.js +1 -1
- package/es/assets/common/button.js +1 -1
- package/es/assets/common/dynamicform.js +1 -1
- package/es/assets/common/forminput.js +1 -1
- package/es/assets/common/goldlayer.js +1 -1
- package/es/assets/common/iconbank.js +1 -1
- package/es/assets/common/iconcontact.js +1 -1
- package/es/assets/common/iconphoto.js +1 -1
- package/es/assets/common/input.js +1 -1
- package/es/assets/common/layer.js +1 -1
- package/es/assets/common/popup.js +1 -1
- package/es/assets/common/scroll.js +1 -1
- package/es/assets/common/scrollZoom/components/scroll.js +1 -1
- package/es/assets/common/scrollZoom/index.js +1 -1
- package/es/assets/common/svgicon.js +1 -1
- package/es/assets/svgicon.js +1 -1
- package/es/index.js +1 -1
- package/lib/GoldCert/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/dom.js"],e):"object"==typeof exports?exports["assets/common/scrollZoom/components/scroll.js"]=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):t["assets/common/scrollZoom/components/scroll.js"]=e(t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/dom.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=558)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(31)("wks"),i=n(27),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},105:function(t,e,n){var r=n(6),i=n(37),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},106:function(t,e,n){var r,i,o,s=n(36),a=n(168),l=n(50),u=n(33),c=n(0),f=c.process,p=c.setImmediate,h=c.clearImmediate,d=c.MessageChannel,v=c.Dispatch,y=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},w=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete b[t]},"process"==n(26)(f)?r=function(t){f.nextTick(s(m,t,1))}:v&&v.now?r=function(t){v.now(s(m,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=w,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",w,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,n){var r=n(6),i=n(7),o=n(83);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},11:function(t,e,n){var r=n(45),i=n(19);t.exports=function(t){return r(i(t))}},120:function(t,e,n){"use strict";e.a={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,n,0,Math.PI,!0);var r=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-r,y:i.y},s={x:o.x,y:o.y-this.distance/2};t.quadraticCurveTo(s.x,s.y,o.x,o.y),t.arc(i.x,i.y,r,Math.PI,0,!0);var a={x:this.headCenter.x+n,y:this.headCenter.y},l={x:i.x+r,y:a.y+this.distance/2};t.quadraticCurveTo(l.x,l.y,a.x,a.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,n-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,n,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-n-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-n+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-n+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},161:function(t,e,n){t.exports={default:n(162),__esModule:!0}},162:function(t,e,n){n(94),n(66),n(70),n(163),n(174),n(175),t.exports=n(2).Promise},163:function(t,e,n){"use strict";var r,i,o,s,a=n(21),l=n(0),u=n(36),c=n(78),f=n(23),p=n(7),h=n(37),d=n(164),v=n(165),y=n(105),b=n(106).set,m=n(169)(),w=n(83),x=n(107),g=n(170),_=n(108),S=l.TypeError,T=l.process,P=T&&T.versions,j=P&&P.v8||"",D=l.Promise,C="process"==c(T),R=function(){},L=i=w.f,O=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(R,R)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==j.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{a?(i||(2==t._h&&B(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&(c.exit(),s=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=M(n))?o.call(n,l,u):l(n)):u(r)}catch(t){c&&!s&&c.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&U(t)})}},U=function(t){b.call(l,function(){var e,n,r,i=t._v,o=E(t);if(o&&(e=x(function(){C?T.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||E(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},E=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){b.call(l,function(){var e;C?T.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},$=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=M(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,u($,r,1),u(A,r,1))}catch(t){A.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};O||(D=function(t){d(this,D,"Promise","_h"),h(t),r.call(this);try{t(u($,this,1),u(A,this,1))}catch(t){A.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(171)(D.prototype,{then:function(t,e){var n=L(y(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u($,t,1),this.reject=u(A,t,1)},w.f=L=function(t){return t===D||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!O,{Promise:D}),n(35)(D,"Promise"),n(172)("Promise"),s=n(2).Promise,f(f.S+f.F*!O,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!O),"Promise",{resolve:function(t){return _(a&&this===s?D:this,t)}}),f(f.S+f.F*!(O&&n(173)(function(t){D.all(t).catch(R)})),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,l=!1;n.push(void 0),s++,e.resolve(t).then(function(t){l||(l=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},164:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},165:function(t,e,n){var r=n(36),i=n(166),o=n(167),s=n(6),a=n(46),l=n(95),u={},c={},e=t.exports=function(t,e,n,f,p){var h,d,v,y,b=p?function(){return t}:l(t),m=r(n,f,e?2:1),w=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=a(t.length);h>w;w++)if((y=e?m(s(d=t[w])[0],d[1]):m(t[w]))===u||y===c)return y}else for(v=b.call(t);!(d=v.next()).done;)if((y=i(v,m,d.value,e))===u||y===c)return y};e.BREAK=u,e.RETURN=c},166:function(t,e,n){var r=n(6);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},167:function(t,e,n){var r=n(18),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},168:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},169:function(t,e,n){var r=n(0),i=n(106).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n(26)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(l&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},170:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},171:function(t,e,n){var r=n(4);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},172:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(8),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},173:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},174:function(t,e,n){"use strict";var r=n(23),i=n(2),o=n(0),s=n(105),a=n(108);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},175:function(t,e,n){"use strict";var r=n(23),i=n(83),o=n(107);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},18:function(t,e){t.exports={}},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},192:function(e,n){e.exports=t},193:function(t,n){t.exports=e},194:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(120),i=n(195),o=n(9),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.default=s.exports},195:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},i=[];r._withStripped=!0},196:function(t,e,n){"use strict";var r=n(161),i=n.n(r),o=n(192),s=n.n(o),a=n(561),l=(n.n(a),n(194)),u=n(193);n.n(u);e.a={name:"scroll",props:{probeType:{type:Number,default:2},click:{type:Boolean,default:!0},listenScrollInit:{type:Boolean,default:!1},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},listenScrollEnd:{type:Boolean,default:!1},listenZoomEnd:{type:Boolean,default:!1},observeDOM:{type:Boolean,default:!0},direction:{type:String,default:"vertical"},scrollbar:{type:null,default:!1},pullDownRefresh:{type:null,default:!1},pullUpLoad:{type:null,default:!1},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:!1},mouseWheel:{type:Boolean,default:!1},bounce:{type:[Boolean,Object],default:!0},zoom:{type:[Boolean,Object],default:!1}},data:function(){return{beforePullDown:!0,isRebounding:!1,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function(){var t=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多",e=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?t:e},refreshTxt:function(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function(){this.pullDownInitTop=-50},mounted:function(){var t=this;setTimeout(function(){t.initScroll()},20)},destroyed:function(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)&&(this.$refs.listWrapper.style.minHeight=Object(a.getRect)(this.$refs.wrapper).height+1+"px");var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:u.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new s.a(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenScrollEnd&&this.scroll.on("scrollEnd",function(e){t.$emit("scroll-end",e)}),this.listenBeforeScroll&&(this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScrollStart")}),this.scroll.on("scrollStart",function(){t.$emit("scroll-start")})),this.listenZoomEnd&&this.scroll.on("zoomEnd",function(){t.$emit("zoomEnd",t.scroll)}),this.pullDownRefresh&&this._initPullDownRefresh(),this.pullUpLoad&&this._initPullUpLoad(),this.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll)}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t,e){this.$emit("click",e)},destroy:function(){this.scroll.destroy()},forceUpdate:function(t){var e=this;this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){e._afterPullDown()})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=t,this.refresh()):this.refresh()},handleTouchStart:function(t){this.isDouble&&(this.fingers=t.touches.length,this.tapTarget=this.getTouches(t)[0],this.startXd=this.tapTarget.x,this.startYd=this.tapTarget.y)},handleTouchMove:function(t){this.isDouble&&(this.endXd=this.getTouches(t)[0].x,this.endYd=this.getTouches(t)[0].y)},handleTouchEnd:function(t){if(this.isDouble){this.endXd=0===this.endXd?this.startXd:this.endXd,this.endYd=0===this.endYd?this.startYd:this.endYd;var e=this.endXd-this.startXd,n=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(n)<10&&this.detectDoubleTap(t),this.startXd=this.startYd=this.endXd=this.endYd=0}},cancelEvent:function(t){t.stopPropagation(),t.preventDefault()},getTouches:function(t){return Array.prototype.slice.call(t.touches).map(function(t){return{x:t.pageX,y:t.pageY}})},detectDoubleTap:function(){var t=(new Date).getTime();if(this.fingers>1&&(this.lastTouchStart=null),t-this.lastTouchStart<300){this.cancelEvent(event);var e=this.scroll.scale>1?1:2;this.scroll.zoomTo(e,this.tapTarget.x,this.tapTarget.y)}1===this.fingers&&(this.lastTouchStart=t)},_initPullDownRefresh:function(){var t=this;this.scroll.on("pullingDown",function(){t.beforePullDown=!1,t.isPullingDown=!0,t.$emit("pullingDown")}),this.scroll.on("scroll",function(e){t.pullDownRefresh&&(t.beforePullDown?(t.bubbleY=Math.max(0,e.y+t.pullDownInitTop),t.pullDownStyle="top:"+Math.min(e.y+t.pullDownInitTop,10)+"px"):t.bubbleY=0,t.isRebounding&&(t.pullDownStyle="top:"+(10-(t.pullDownRefresh.stop-e.y))+"px"))})},_initPullUpLoad:function(){var t=this;this.scroll.on("pullingUp",function(){t.isPullUpLoad=!0,t.$emit("pullingUp")})},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,n=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},n)})},_afterPullDown:function(){var t=this;setTimeout(function(){t.pullDownStyle="top:"+t.pullDownInitTop+"px",t.beforePullDown=!0,t.isRebounding=!1,t.refresh()},this.scroll.options.bounceTime)}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)}},components:{Bubble:l.default}}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,n){var r=n(31)("keys"),i=n(27);t.exports=function(t){return r[t]||(r[t]=i(t))}},23:function(t,e,n){var r=n(0),i=n(2),o=n(36),s=n(4),a=n(5),l=function(t,e,n){var u,c,f,p=t&l.F,h=t&l.G,d=t&l.S,v=t&l.P,y=t&l.B,b=t&l.W,m=h?i:i[e]||(i[e]={}),w=m.prototype,x=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(c=!p&&x&&void 0!==x[u])&&a(m,u)||(f=c?x[u]:n[u],m[u]=h&&"function"!=typeof x[u]?n[u]:y&&c?o(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[u]=f,t&l.R&&w&&!w[u]&&s(w,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},24:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},25:function(t,e,n){"use strict";function r(t,e,n,r){v=n,b=r||{};var o=Object(u.a)(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],a=f[s.id];a.refs--,n.push(a)}e?(o=Object(u.a)(t,e),i(o)):o=[];for(var r=0;r<n.length;r++){var a=n[r];if(0===a.refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete f[a.id]}}}}function i(t){for(var e=0;e<t.length;e++){var n=t[e],r=f[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(s(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(s(n.parts[i]));f[n.id]={id:n.id,refs:1,parts:o}}}}function o(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function s(t){var e,n,r=document.querySelector("style["+m+'~="'+t.id+'"]');if(r){if(v)return y;r.parentNode.removeChild(r)}if(w){var i=d++;r=h||(h=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=l.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function l(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),b.ssrId&&t.setAttribute(m,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=n(28),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},p=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,v=!1,y=function(){},b=null,m="data-vue-ssr-id",w="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},28:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],l=o[2],u=o[3],c={id:t+":"+i,css:a,media:l,sourceMap:u};r[s]?r[s].parts.push(c):n.push(r[s]={id:s,parts:[c]})}return n}e.a=r},29:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3:function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,n){var r=n(7),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},34:function(t,e,n){var r=n(44),i=n(32);t.exports=Object.keys||function(t){return r(t,i)}},35:function(t,e,n){var r=n(8).f,i=n(5),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},36:function(t,e,n){var r=n(37);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},37:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},39:function(t,e,n){var r=n(19);t.exports=function(t){return Object(r(t))}},4:function(t,e,n){var r=n(8),i=n(29);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},40:function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},44:function(t,e,n){var r=n(5),i=n(11),o=n(52)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(u,n)||u.push(n));return u}},45:function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,e,n){var r=n(20),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},47:function(t,e,n){t.exports=!n(3)&&!n(15)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){"use strict";var r=n(21),i=n(23),o=n(54),s=n(4),a=n(18),l=n(68),u=n(35),c=n(69),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,y,b){l(n,e,d);var m,w,x,g=function(t){if(!p&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,T=!1,P=t.prototype,j=P[f]||P["@@iterator"]||v&&P[v],D=j||g(v),C=v?S?g("entries"):D:void 0,R="Array"==e?P.entries||j:j;if(R&&(x=c(R.call(new t)))!==Object.prototype&&x.next&&(u(x,_,!0),r||"function"==typeof x[f]||s(x,f,h)),S&&j&&"values"!==j.name&&(T=!0,D=function(){return j.call(this)}),r&&!b||!p&&!T&&P[f]||s(P,f,D),a[e]=D,a[_]=h,v)if(m={values:S?D:g("values"),keys:y?D:g("keys"),entries:C},b)for(w in m)w in P||o(P,w,m[w]);else i(i.P+i.F*(p||T),e,m);return m}},5:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},50:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},52:function(t,e,n){var r=n(11),i=n(46),o=n(53);t.exports=function(t){return function(e,n,s){var a,l=r(e),u=i(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},53:function(t,e,n){var r=n(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},54:function(t,e,n){t.exports=n(4)},55:function(t,e,n){var r=n(6),i=n(62),o=n(32),s=n(22)("IE_PROTO"),a=function(){},l=function(){var t,e=n(33)("iframe"),r=o.length;for(e.style.display="none",n(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},558:function(t,e,n){"use strict";function r(t){a||n(559)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(196),o=n(562),s=n(9),a=!1,l=r,u=Object(s.a)(i.a,o.a,o.b,!1,l,"data-v-3d7beb70",null);u.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.default=u.exports},559:function(t,e,n){var r=n(560);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(25).default;i("45fa5a74",r,!1,{})},560:function(t,e,n){e=t.exports=n(24)(!1),e.push([t.i,"\n.scroll-wrapper[data-v-3d7beb70]{position:relative;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:5px !important\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-indicator{background:rgba(0,0,0,0.2) !important\n}\n.scroll-wrapper .scroll-list[data-v-3d7beb70]{background-color:#525659\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]{position:relative;background-color:#fff;margin-top:1rem\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]:first-child{margin-top:0\n}\n.scroll-wrapper .scroll-list>li>img[data-v-3d7beb70]{width:100%\n}\n.scroll-wrapper .scroll-text[data-v-3d7beb70]{padding:0 1.4rem\n}\n.scroll-wrapper .scroll-content[data-v-3d7beb70]{position:relative;z-index:1;display:inline-block;width:100%\n}\n.scroll-wrapper .pulldown-wrapper[data-v-3d7beb70]{position:absolute;width:100%;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:all;transition:all\n}\n.scroll-wrapper .pulldown-wrapper>.after-trigger[data-v-3d7beb70]{margin-top:10px\n}\n.scroll-wrapper .pullup-wrapper[data-v-3d7beb70]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:16px 0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70]{width:200%;height:200%;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:scale(0.5);transform:scale(0.5);padding:0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:10px !important\n}\n",""])},561:function(t,e){t.exports=n},562:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[n("div",{staticClass:"scroll-content"},[n("div",{ref:"listWrapper"},[t._t("default")],2),t._v(" "),t.$scopedSlots.pullup?t._t("pullup",null,{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad}):t._e(),t._v(" "),t.pullUpLoad&&!t.$scopedSlots.pullup?n("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?n("div",{staticClass:"after-trigger"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",{staticClass:"before-trigger"},[n("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],2),t._v(" "),t.$scopedSlots.pulldown?t._t("pulldown",null,{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY}):t._e(),t._v(" "),t.pullDownRefresh&&!t.$scopedSlots.pulldown?n("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?n("div",{staticClass:"before-trigger"},[n("bubble",{attrs:{y:t.bubbleY}})],1):n("div",{staticClass:"after-trigger"},[t.isPullingDown?n("div",{staticClass:"loading"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",[n("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];r._withStripped=!0},6:function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},62:function(t,e,n){var r=n(8),i=n(6),o=n(34);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},66:function(t,e,n){"use strict";var r=n(67)(!0);n(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},67:function(t,e,n){var r=n(20),i=n(19);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),u=a.length;return l<0||l>=u?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},68:function(t,e,n){"use strict";var r=n(55),i=n(29),o=n(35),s={};n(4)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},69:function(t,e,n){var r=n(5),i=n(39),o=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,e,n){n(71);for(var r=n(0),i=n(4),o=n(18),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var u=a[l],c=r[u],f=c&&c.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},71:function(t,e,n){"use strict";var r=n(72),i=n(73),o=n(18),s=n(11);t.exports=n(48)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},78:function(t,e,n){var r=n(26),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},8:function(t,e,n){var r=n(6),i=n(47),o=n(40),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},83:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(37);t.exports.f=function(t){return new r(t)}},9:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var c;if(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}e.a=r},94:function(t,e){},95:function(t,e,n){var r=n(78),i=n(1)("iterator"),o=n(18);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/dom.js"],e):"object"==typeof exports?exports["assets/common/scrollZoom/components/scroll.js"]=e(require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/dom.js")):t["assets/common/scrollZoom/components/scroll.js"]=e(t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/dom.js"])}("undefined"!=typeof self?self:this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=558)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(31)("wks"),i=n(27),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},105:function(t,e,n){var r=n(6),i=n(37),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},106:function(t,e,n){var r,i,o,s=n(36),a=n(168),l=n(50),u=n(33),c=n(0),f=c.process,p=c.setImmediate,h=c.clearImmediate,d=c.MessageChannel,v=c.Dispatch,y=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},w=function(t){m.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete b[t]},"process"==n(26)(f)?r=function(t){f.nextTick(s(m,t,1))}:v&&v.now?r=function(t){v.now(s(m,t,1))}:d?(i=new d,o=i.port2,i.port1.onmessage=w,r=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",w,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),m.call(t)}}:function(t){setTimeout(s(m,t,1),0)}),t.exports={set:p,clear:h}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,n){var r=n(6),i=n(7),o=n(83);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},11:function(t,e,n){var r=n(45),i=n(19);t.exports=function(t){return r(i(t))}},120:function(t,e,n){"use strict";e.a={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,n,0,Math.PI,!0);var r=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-r,y:i.y},s={x:o.x,y:o.y-this.distance/2};t.quadraticCurveTo(s.x,s.y,o.x,o.y),t.arc(i.x,i.y,r,Math.PI,0,!0);var a={x:this.headCenter.x+n,y:this.headCenter.y},l={x:i.x+r,y:a.y+this.distance/2};t.quadraticCurveTo(l.x,l.y,a.x,a.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,n=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,n-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,n,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-n-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-n+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-n+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},161:function(t,e,n){t.exports={default:n(162),__esModule:!0}},162:function(t,e,n){n(94),n(66),n(70),n(163),n(174),n(175),t.exports=n(2).Promise},163:function(t,e,n){"use strict";var r,i,o,s,a=n(21),l=n(0),u=n(36),c=n(78),f=n(23),p=n(7),h=n(37),d=n(164),v=n(165),y=n(105),b=n(106).set,m=n(169)(),w=n(83),x=n(107),g=n(170),_=n(108),S=l.TypeError,T=l.process,P=T&&T.versions,j=P&&P.v8||"",D=l.Promise,C="process"==c(T),R=function(){},L=i=w.f,O=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(R,R)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(R)instanceof e&&0!==j.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},k=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{a?(i||(2==t._h&&B(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&(c.exit(),s=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=M(n))?o.call(n,l,u):l(n)):u(r)}catch(t){c&&!s&&c.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&U(t)})}},U=function(t){b.call(l,function(){var e,n,r,i=t._v,o=E(t);if(o&&(e=x(function(){C?T.emit("unhandledRejection",i,t):(n=l.onunhandledrejection)?n({promise:t,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=C||E(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},E=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){b.call(l,function(){var e;C?T.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),k(e,!0))},$=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=M(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,u($,r,1),u(A,r,1))}catch(t){A.call(r,t)}}):(n._v=t,n._s=1,k(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};O||(D=function(t){d(this,D,"Promise","_h"),h(t),r.call(this);try{t(u($,this,1),u(A,this,1))}catch(t){A.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(171)(D.prototype,{then:function(t,e){var n=L(y(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&k(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u($,t,1),this.reject=u(A,t,1)},w.f=L=function(t){return t===D||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!O,{Promise:D}),n(35)(D,"Promise"),n(172)("Promise"),s=n(2).Promise,f(f.S+f.F*!O,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!O),"Promise",{resolve:function(t){return _(a&&this===s?D:this,t)}}),f(f.S+f.F*!(O&&n(173)(function(t){D.all(t).catch(R)})),"Promise",{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,l=!1;n.push(void 0),s++,e.resolve(t).then(function(t){l||(l=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},164:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},165:function(t,e,n){var r=n(36),i=n(166),o=n(167),s=n(6),a=n(46),l=n(95),u={},c={},e=t.exports=function(t,e,n,f,p){var h,d,v,y,b=p?function(){return t}:l(t),m=r(n,f,e?2:1),w=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(o(b)){for(h=a(t.length);h>w;w++)if((y=e?m(s(d=t[w])[0],d[1]):m(t[w]))===u||y===c)return y}else for(v=b.call(t);!(d=v.next()).done;)if((y=i(v,m,d.value,e))===u||y===c)return y};e.BREAK=u,e.RETURN=c},166:function(t,e,n){var r=n(6);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},167:function(t,e,n){var r=n(18),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},168:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},169:function(t,e,n){var r=n(0),i=n(106).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,l="process"==n(26)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(l&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(l)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var c=a.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},170:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},171:function(t,e,n){var r=n(4);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},172:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(8),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},173:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},174:function(t,e,n){"use strict";var r=n(23),i=n(2),o=n(0),s=n(105),a=n(108);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},175:function(t,e,n){"use strict";var r=n(23),i=n(83),o=n(107);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},18:function(t,e){t.exports={}},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},192:function(e,n){e.exports=t},193:function(t,n){t.exports=e},194:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(120),i=n(195),o=n(9),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.default=s.exports},195:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},i=[];r._withStripped=!0},196:function(t,e,n){"use strict";var r=n(161),i=n.n(r),o=n(192),s=n.n(o),a=n(561),l=(n.n(a),n(194)),u=n(193);n.n(u);e.a={name:"scroll",props:{probeType:{type:Number,default:2},click:{type:Boolean,default:!0},listenScrollInit:{type:Boolean,default:!1},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},listenScrollEnd:{type:Boolean,default:!1},listenZoomEnd:{type:Boolean,default:!1},observeDOM:{type:Boolean,default:!0},direction:{type:String,default:"vertical"},scrollbar:{type:null,default:!1},pullDownRefresh:{type:null,default:!1},pullUpLoad:{type:null,default:!1},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:!1},mouseWheel:{type:Boolean,default:!1},bounce:{type:[Boolean,Object],default:!0},zoom:{type:[Boolean,Object],default:!1}},data:function(){return{beforePullDown:!0,isRebounding:!1,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function(){var t=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多",e=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?t:e},refreshTxt:function(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function(){this.pullDownInitTop=-50},mounted:function(){var t=this;setTimeout(function(){t.initScroll()},20)},destroyed:function(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)&&(this.$refs.listWrapper.style.minHeight=Object(a.getRect)(this.$refs.wrapper).height+1+"px");var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:u.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new s.a(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenScrollEnd&&this.scroll.on("scrollEnd",function(e){t.$emit("scroll-end",e)}),this.listenBeforeScroll&&(this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScrollStart")}),this.scroll.on("scrollStart",function(){t.$emit("scroll-start")})),this.listenZoomEnd&&this.scroll.on("zoomEnd",function(){t.$emit("zoomEnd",t.scroll)}),this.pullDownRefresh&&this._initPullDownRefresh(),this.pullUpLoad&&this._initPullUpLoad(),this.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll)}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t,e){this.$emit("click",e)},destroy:function(){this.scroll.destroy()},forceUpdate:function(t){var e=this;this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){e._afterPullDown()})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=t,this.refresh()):this.refresh()},handleTouchStart:function(t){this.isDouble&&(this.fingers=t.touches.length,this.tapTarget=this.getTouches(t)[0],this.startXd=this.tapTarget.x,this.startYd=this.tapTarget.y)},handleTouchMove:function(t){this.isDouble&&(this.endXd=this.getTouches(t)[0].x,this.endYd=this.getTouches(t)[0].y)},handleTouchEnd:function(t){if(this.isDouble){this.endXd=0===this.endXd?this.startXd:this.endXd,this.endYd=0===this.endYd?this.startYd:this.endYd;var e=this.endXd-this.startXd,n=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(n)<10&&this.detectDoubleTap(t),this.startXd=this.startYd=this.endXd=this.endYd=0}},cancelEvent:function(t){t.stopPropagation(),t.preventDefault()},getTouches:function(t){return Array.prototype.slice.call(t.touches).map(function(t){return{x:t.pageX,y:t.pageY}})},detectDoubleTap:function(){var t=(new Date).getTime();if(this.fingers>1&&(this.lastTouchStart=null),t-this.lastTouchStart<300){this.cancelEvent(event);var e=this.scroll.scale>1?1:2;this.scroll.zoomTo(e,this.tapTarget.x,this.tapTarget.y)}1===this.fingers&&(this.lastTouchStart=t)},_initPullDownRefresh:function(){var t=this;this.scroll.on("pullingDown",function(){t.beforePullDown=!1,t.isPullingDown=!0,t.$emit("pullingDown")}),this.scroll.on("scroll",function(e){t.pullDownRefresh&&(t.beforePullDown?(t.bubbleY=Math.max(0,e.y+t.pullDownInitTop),t.pullDownStyle="top:"+Math.min(e.y+t.pullDownInitTop,10)+"px"):t.bubbleY=0,t.isRebounding&&(t.pullDownStyle="top:"+(10-(t.pullDownRefresh.stop-e.y))+"px"))})},_initPullUpLoad:function(){var t=this;this.scroll.on("pullingUp",function(){t.isPullUpLoad=!0,t.$emit("pullingUp")})},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,n=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},n)})},_afterPullDown:function(){var t=this;setTimeout(function(){t.pullDownStyle="top:"+t.pullDownInitTop+"px",t.beforePullDown=!0,t.isRebounding=!1,t.refresh()},this.scroll.options.bounceTime)}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)}},components:{Bubble:l.default}}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,n){var r=n(31)("keys"),i=n(27);t.exports=function(t){return r[t]||(r[t]=i(t))}},23:function(t,e,n){var r=n(0),i=n(2),o=n(36),s=n(4),a=n(5),l=function(t,e,n){var u,c,f,p=t&l.F,h=t&l.G,d=t&l.S,v=t&l.P,y=t&l.B,b=t&l.W,m=h?i:i[e]||(i[e]={}),w=m.prototype,x=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(c=!p&&x&&void 0!==x[u])&&a(m,u)||(f=c?x[u]:n[u],m[u]=h&&"function"!=typeof x[u]?n[u]:y&&c?o(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[u]=f,t&l.R&&w&&!w[u]&&s(w,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},24:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},25:function(t,e,n){"use strict";function r(t,e,n,r){v=n,b=r||{};var o=Object(u.a)(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],a=f[s.id];a.refs--,n.push(a)}e?(o=Object(u.a)(t,e),i(o)):o=[];for(var r=0;r<n.length;r++){var a=n[r];if(0===a.refs){for(var l=0;l<a.parts.length;l++)a.parts[l]();delete f[a.id]}}}}function i(t){for(var e=0;e<t.length;e++){var n=t[e],r=f[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(s(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var o=[],i=0;i<n.parts.length;i++)o.push(s(n.parts[i]));f[n.id]={id:n.id,refs:1,parts:o}}}}function o(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function s(t){var e,n,r=document.querySelector("style["+m+'~="'+t.id+'"]');if(r){if(v)return y;r.parentNode.removeChild(r)}if(w){var i=d++;r=h||(h=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=l.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function l(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),b.ssrId&&t.setAttribute(m,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=n(28),c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},p=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,v=!1,y=function(){},b=null,m="data-vue-ssr-id",w="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},26:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},27:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},28:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],l=o[2],u=o[3],c={id:t+":"+i,css:a,media:l,sourceMap:u};r[s]?r[s].parts.push(c):n.push(r[s]={id:s,parts:[c]})}return n}e.a=r},29:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3:function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,n){var r=n(7),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},34:function(t,e,n){var r=n(44),i=n(32);t.exports=Object.keys||function(t){return r(t,i)}},35:function(t,e,n){var r=n(8).f,i=n(5),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},36:function(t,e,n){var r=n(37);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},37:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},39:function(t,e,n){var r=n(19);t.exports=function(t){return Object(r(t))}},4:function(t,e,n){var r=n(8),i=n(29);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},40:function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},44:function(t,e,n){var r=n(5),i=n(11),o=n(52)(!1),s=n(22)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>l;)r(a,n=e[l++])&&(~o(u,n)||u.push(n));return u}},45:function(t,e,n){var r=n(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,e,n){var r=n(20),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},47:function(t,e,n){t.exports=!n(3)&&!n(15)(function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,n){"use strict";var r=n(21),i=n(23),o=n(54),s=n(4),a=n(18),l=n(68),u=n(35),c=n(69),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,y,b){l(n,e,d);var m,w,x,g=function(t){if(!p&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,T=!1,P=t.prototype,j=P[f]||P["@@iterator"]||v&&P[v],D=j||g(v),C=v?S?g("entries"):D:void 0,R="Array"==e?P.entries||j:j;if(R&&(x=c(R.call(new t)))!==Object.prototype&&x.next&&(u(x,_,!0),r||"function"==typeof x[f]||s(x,f,h)),S&&j&&"values"!==j.name&&(T=!0,D=function(){return j.call(this)}),r&&!b||!p&&!T&&P[f]||s(P,f,D),a[e]=D,a[_]=h,v)if(m={values:S?D:g("values"),keys:y?D:g("keys"),entries:C},b)for(w in m)w in P||o(P,w,m[w]);else i(i.P+i.F*(p||T),e,m);return m}},5:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},50:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},52:function(t,e,n){var r=n(11),i=n(46),o=n(53);t.exports=function(t){return function(e,n,s){var a,l=r(e),u=i(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},53:function(t,e,n){var r=n(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},54:function(t,e,n){t.exports=n(4)},55:function(t,e,n){var r=n(6),i=n(62),o=n(32),s=n(22)("IE_PROTO"),a=function(){},l=function(){var t,e=n(33)("iframe"),r=o.length;for(e.style.display="none",n(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},558:function(t,e,n){"use strict";function r(t){a||n(559)}Object.defineProperty(e,"__esModule",{value:!0});var i=n(196),o=n(562),s=n(9),a=!1,l=r,u=Object(s.a)(i.a,o.a,o.b,!1,l,"data-v-3d7beb70",null);u.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.default=u.exports},559:function(t,e,n){var r=n(560);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n(25).default;i("cb524114",r,!1,{})},560:function(t,e,n){e=t.exports=n(24)(!1),e.push([t.i,"\n.scroll-wrapper[data-v-3d7beb70]{position:relative;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:5px !important\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-indicator{background:rgba(0,0,0,0.2) !important\n}\n.scroll-wrapper .scroll-list[data-v-3d7beb70]{background-color:#525659\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]{position:relative;background-color:#fff;margin-top:1rem\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]:first-child{margin-top:0\n}\n.scroll-wrapper .scroll-list>li>img[data-v-3d7beb70]{width:100%\n}\n.scroll-wrapper .scroll-text[data-v-3d7beb70]{padding:0 1.4rem\n}\n.scroll-wrapper .scroll-content[data-v-3d7beb70]{position:relative;z-index:1;display:inline-block;width:100%\n}\n.scroll-wrapper .pulldown-wrapper[data-v-3d7beb70]{position:absolute;width:100%;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:all;transition:all\n}\n.scroll-wrapper .pulldown-wrapper>.after-trigger[data-v-3d7beb70]{margin-top:10px\n}\n.scroll-wrapper .pullup-wrapper[data-v-3d7beb70]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:16px 0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70]{width:200%;height:200%;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:scale(0.5);transform:scale(0.5);padding:0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:10px !important\n}\n",""])},561:function(t,e){t.exports=n},562:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[n("div",{staticClass:"scroll-content"},[n("div",{ref:"listWrapper"},[t._t("default")],2),t._v(" "),t.$scopedSlots.pullup?t._t("pullup",null,{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad}):t._e(),t._v(" "),t.pullUpLoad&&!t.$scopedSlots.pullup?n("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?n("div",{staticClass:"after-trigger"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",{staticClass:"before-trigger"},[n("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],2),t._v(" "),t.$scopedSlots.pulldown?t._t("pulldown",null,{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY}):t._e(),t._v(" "),t.pullDownRefresh&&!t.$scopedSlots.pulldown?n("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?n("div",{staticClass:"before-trigger"},[n("bubble",{attrs:{y:t.bubbleY}})],1):n("div",{staticClass:"after-trigger"},[t.isPullingDown?n("div",{staticClass:"loading"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):n("div",[n("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];r._withStripped=!0},6:function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},62:function(t,e,n){var r=n(8),i=n(6),o=n(34);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,l=0;a>l;)r.f(t,n=s[l++],e[n]);return t}},66:function(t,e,n){"use strict";var r=n(67)(!0);n(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},67:function(t,e,n){var r=n(20),i=n(19);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),l=r(n),u=a.length;return l<0||l>=u?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},68:function(t,e,n){"use strict";var r=n(55),i=n(29),o=n(35),s={};n(4)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},69:function(t,e,n){var r=n(5),i=n(39),o=n(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,e,n){n(71);for(var r=n(0),i=n(4),o=n(18),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var u=a[l],c=r[u],f=c&&c.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},71:function(t,e,n){"use strict";var r=n(72),i=n(73),o=n(18),s=n(11);t.exports=n(48)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},78:function(t,e,n){var r=n(26),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},8:function(t,e,n){var r=n(6),i=n(47),o=n(40),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},83:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(37);t.exports.f=function(t){return new r(t)}},9:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var c;if(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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}e.a=r},94:function(t,e){},95:function(t,e,n){var r=n(78),i=n(1)("iterator"),o=n(18);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/dom.js","@xysfe/actui/es/Pdfjs/index.js"],e):"object"==typeof exports?exports["assets/common/scrollZoom/index.js"]=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):t["assets/common/scrollZoom/index.js"]=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/dom.js"],t["@xysfe/actui/es/Pdfjs/index.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,i,o){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=946)}({0:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},1:function(t,e,r){var n=r(31)("wks"),i=r(27),o=r(0).Symbol,s="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=n},105:function(t,e,r){var n=r(6),i=r(37),o=r(1)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[o])?e:i(r)}},106:function(t,e,r){var n,i,o,s=r(36),l=r(168),c=r(50),a=r(33),u=r(0),f=u.process,h=u.setImmediate,d=u.clearImmediate,p=u.MessageChannel,v=u.Dispatch,m=0,y={},b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){b.call(t.data)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++m]=function(){l("function"==typeof t?t:Function(t),e)},n(m),m},d=function(t){delete y[t]},"process"==r(26)(f)?n=function(t){f.nextTick(s(b,t,1))}:v&&v.now?n=function(t){v.now(s(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=x,n=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",x,!1)):n="onreadystatechange"in a("script")?function(t){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:h,clear:d}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,r){var n=r(6),i=r(7),o=r(83);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},11:function(t,e,r){var n=r(45),i=r(19);t.exports=function(t){return n(i(t))}},120:function(t,e,r){"use strict";e.a={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,r=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,r,0,Math.PI,!0);var n=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-n,y:i.y},s={x:o.x,y:o.y-this.distance/2};t.quadraticCurveTo(s.x,s.y,o.x,o.y),t.arc(i.x,i.y,n,Math.PI,0,!0);var l={x:this.headCenter.x+r,y:this.headCenter.y},c={x:i.x+n,y:l.y+this.distance/2};t.quadraticCurveTo(c.x,c.y,l.x,l.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,r=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,r-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,r,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-r-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-r+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-r+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},161:function(t,e,r){t.exports={default:r(162),__esModule:!0}},162:function(t,e,r){r(94),r(66),r(70),r(163),r(174),r(175),t.exports=r(2).Promise},163:function(t,e,r){"use strict";var n,i,o,s,l=r(21),c=r(0),a=r(36),u=r(78),f=r(23),h=r(7),d=r(37),p=r(164),v=r(165),m=r(105),y=r(106).set,b=r(169)(),x=r(83),g=r(107),w=r(170),T=r(108),S=c.TypeError,_=c.process,P=_&&_.versions,j=P&&P.v8||"",D=c.Promise,C="process"==u(_),E=function(){},L=i=x.f,R=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(E,E)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==j.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),O=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;b(function(){for(var n=t._v,i=1==t._s,o=0;r.length>o;)!function(e){var r,o,s,l=i?e.ok:e.fail,c=e.resolve,a=e.reject,u=e.domain;try{l?(i||(2==t._h&&U(t),t._h=1),!0===l?r=n:(u&&u.enter(),r=l(n),u&&(u.exit(),s=!0)),r===e.promise?a(S("Promise-chain cycle")):(o=O(r))?o.call(r,c,a):c(r)):a(n)}catch(t){u&&!s&&u.exit(),a(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){y.call(c,function(){var e,r,n,i=t._v,o=k(t);if(o&&(e=g(function(){C?_.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),t._h=C||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},U=function(t){y.call(c,function(){var e;C?_.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},$=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(e=O(t))?b(function(){var n={_w:r,_d:!1};try{e.call(t,a($,n,1),a(N,n,1))}catch(t){N.call(n,t)}}):(r._v=t,r._s=1,M(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};R||(D=function(t){p(this,D,"Promise","_h"),d(t),n.call(this);try{t(a($,this,1),a(N,this,1))}catch(t){N.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(171)(D.prototype,{then:function(t,e){var r=L(m(this,D));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=C?_.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=a($,t,1),this.reject=a(N,t,1)},x.f=L=function(t){return t===D||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!R,{Promise:D}),r(35)(D,"Promise"),r(172)("Promise"),s=r(2).Promise,f(f.S+f.F*!R,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(l||!R),"Promise",{resolve:function(t){return T(l&&this===s?D:this,t)}}),f(f.S+f.F*!(R&&r(173)(function(t){D.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=L(e),n=r.resolve,i=r.reject,o=g(function(){var r=[],o=0,s=1;v(t,!1,function(t){var l=o++,c=!1;r.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,r[l]=t,--s||n(r))},i)}),--s||n(r)});return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=L(e),n=r.reject,i=g(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},164:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},165:function(t,e,r){var n=r(36),i=r(166),o=r(167),s=r(6),l=r(46),c=r(95),a={},u={},e=t.exports=function(t,e,r,f,h){var d,p,v,m,y=h?function(){return t}:c(t),b=n(r,f,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=l(t.length);d>x;x++)if((m=e?b(s(p=t[x])[0],p[1]):b(t[x]))===a||m===u)return m}else for(v=y.call(t);!(p=v.next()).done;)if((m=i(v,b,p.value,e))===a||m===u)return m};e.BREAK=a,e.RETURN=u},166:function(t,e,r){var n=r(6);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},167:function(t,e,r){var n=r(18),i=r(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},168:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},169:function(t,e,r){var n=r(0),i=r(106).set,o=n.MutationObserver||n.WebKitMutationObserver,s=n.process,l=n.Promise,c="process"==r(26)(s);t.exports=function(){var t,e,r,a=function(){var n,i;for(c&&(n=s.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){s.nextTick(a)};else if(!o||n.navigator&&n.navigator.standalone)if(l&&l.resolve){var u=l.resolve(void 0);r=function(){u.then(a)}}else r=function(){i.call(n,a)};else{var f=!0,h=document.createTextNode("");new o(a).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},170:function(t,e,r){var n=r(0),i=n.navigator;t.exports=i&&i.userAgent||""},171:function(t,e,r){var n=r(4);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},172:function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(8),s=r(3),l=r(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];s&&e&&!e[l]&&o.f(e,l,{configurable:!0,get:function(){return this}})}},173:function(t,e,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},t(o)}catch(t){}return r}},174:function(t,e,r){"use strict";var n=r(23),i=r(2),o=r(0),s=r(105),l=r(108);n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return l(e,t()).then(function(){return r})}:t,r?function(r){return l(e,t()).then(function(){throw r})}:t)}})},175:function(t,e,r){"use strict";var n=r(23),i=r(83),o=r(107);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},18:function(t,e){t.exports={}},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},192:function(t,r){t.exports=e},193:function(t,e){t.exports=r},194:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(120),i=r(195),o=r(9),s=Object(o.a)(n.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.default=s.exports},195:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},i=[];n._withStripped=!0},196:function(t,e,r){"use strict";var n=r(161),i=r.n(n),o=r(192),s=r.n(o),l=r(561),c=(r.n(l),r(194)),a=r(193);r.n(a);e.a={name:"scroll",props:{probeType:{type:Number,default:2},click:{type:Boolean,default:!0},listenScrollInit:{type:Boolean,default:!1},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},listenScrollEnd:{type:Boolean,default:!1},listenZoomEnd:{type:Boolean,default:!1},observeDOM:{type:Boolean,default:!0},direction:{type:String,default:"vertical"},scrollbar:{type:null,default:!1},pullDownRefresh:{type:null,default:!1},pullUpLoad:{type:null,default:!1},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:!1},mouseWheel:{type:Boolean,default:!1},bounce:{type:[Boolean,Object],default:!0},zoom:{type:[Boolean,Object],default:!1}},data:function(){return{beforePullDown:!0,isRebounding:!1,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function(){var t=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多",e=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?t:e},refreshTxt:function(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function(){this.pullDownInitTop=-50},mounted:function(){var t=this;setTimeout(function(){t.initScroll()},20)},destroyed:function(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)&&(this.$refs.listWrapper.style.minHeight=Object(l.getRect)(this.$refs.wrapper).height+1+"px");var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:a.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new s.a(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenScrollEnd&&this.scroll.on("scrollEnd",function(e){t.$emit("scroll-end",e)}),this.listenBeforeScroll&&(this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScrollStart")}),this.scroll.on("scrollStart",function(){t.$emit("scroll-start")})),this.listenZoomEnd&&this.scroll.on("zoomEnd",function(){t.$emit("zoomEnd",t.scroll)}),this.pullDownRefresh&&this._initPullDownRefresh(),this.pullUpLoad&&this._initPullUpLoad(),this.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll)}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t,e){this.$emit("click",e)},destroy:function(){this.scroll.destroy()},forceUpdate:function(t){var e=this;this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){e._afterPullDown()})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=t,this.refresh()):this.refresh()},handleTouchStart:function(t){this.isDouble&&(this.fingers=t.touches.length,this.tapTarget=this.getTouches(t)[0],this.startXd=this.tapTarget.x,this.startYd=this.tapTarget.y)},handleTouchMove:function(t){this.isDouble&&(this.endXd=this.getTouches(t)[0].x,this.endYd=this.getTouches(t)[0].y)},handleTouchEnd:function(t){if(this.isDouble){this.endXd=0===this.endXd?this.startXd:this.endXd,this.endYd=0===this.endYd?this.startYd:this.endYd;var e=this.endXd-this.startXd,r=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(r)<10&&this.detectDoubleTap(t),this.startXd=this.startYd=this.endXd=this.endYd=0}},cancelEvent:function(t){t.stopPropagation(),t.preventDefault()},getTouches:function(t){return Array.prototype.slice.call(t.touches).map(function(t){return{x:t.pageX,y:t.pageY}})},detectDoubleTap:function(){var t=(new Date).getTime();if(this.fingers>1&&(this.lastTouchStart=null),t-this.lastTouchStart<300){this.cancelEvent(event);var e=this.scroll.scale>1?1:2;this.scroll.zoomTo(e,this.tapTarget.x,this.tapTarget.y)}1===this.fingers&&(this.lastTouchStart=t)},_initPullDownRefresh:function(){var t=this;this.scroll.on("pullingDown",function(){t.beforePullDown=!1,t.isPullingDown=!0,t.$emit("pullingDown")}),this.scroll.on("scroll",function(e){t.pullDownRefresh&&(t.beforePullDown?(t.bubbleY=Math.max(0,e.y+t.pullDownInitTop),t.pullDownStyle="top:"+Math.min(e.y+t.pullDownInitTop,10)+"px"):t.bubbleY=0,t.isRebounding&&(t.pullDownStyle="top:"+(10-(t.pullDownRefresh.stop-e.y))+"px"))})},_initPullUpLoad:function(){var t=this;this.scroll.on("pullingUp",function(){t.isPullUpLoad=!0,t.$emit("pullingUp")})},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,r=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},r)})},_afterPullDown:function(){var t=this;setTimeout(function(){t.pullDownStyle="top:"+t.pullDownInitTop+"px",t.beforePullDown=!0,t.isRebounding=!1,t.refresh()},this.scroll.options.bounceTime)}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)}},components:{Bubble:c.default}}},2:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},20:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,r){var n=r(31)("keys"),i=r(27);t.exports=function(t){return n[t]||(n[t]=i(t))}},23:function(t,e,r){var n=r(0),i=r(2),o=r(36),s=r(4),l=r(5),c=function(t,e,r){var a,u,f,h=t&c.F,d=t&c.G,p=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,b=d?i:i[e]||(i[e]={}),x=b.prototype,g=d?n:p?n[e]:(n[e]||{}).prototype;d&&(r=e);for(a in r)(u=!h&&g&&void 0!==g[a])&&l(b,a)||(f=u?g[a]:r[a],b[a]=d&&"function"!=typeof g[a]?r[a]:m&&u?o(f,n):y&&g[a]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[a]=f,t&c.R&&x&&!x[a]&&s(x,a,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},24:function(t,e){function r(t,e){var r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=n(i);return[r].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[r].join("\n")}function n(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=r(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),e.push(s))}},e}},25:function(t,e,r){"use strict";function n(t,e,r,n){v=r,y=n||{};var o=Object(a.a)(t,e);return i(o),function(e){for(var r=[],n=0;n<o.length;n++){var s=o[n],l=f[s.id];l.refs--,r.push(l)}e?(o=Object(a.a)(t,e),i(o)):o=[];for(var n=0;n<r.length;n++){var l=r[n];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}}function i(t){for(var e=0;e<t.length;e++){var r=t[e],n=f[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(s(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{for(var o=[],i=0;i<r.parts.length;i++)o.push(s(r.parts[i]));f[r.id]={id:r.id,refs:1,parts:o}}}}function o(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,r,n=document.querySelector("style["+b+'~="'+t.id+'"]');if(n){if(v)return m;n.parentNode.removeChild(n)}if(x){var i=p++;n=d||(d=o()),e=l.bind(null,n,i,!1),r=l.bind(null,n,i,!0)}else n=o(),e=c.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}function l(t,e,r,n){var i=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=g(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function c(t,e){var r=e.css,n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),y.ssrId&&t.setAttribute(b,e.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var a=r(28),u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},h=u&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,v=!1,m=function(){},y=null,b="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},26:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},27:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},276:function(t,e){t.exports=n},28:function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],s=o[0],l=o[1],c=o[2],a=o[3],u={id:t+":"+i,css:l,media:c,sourceMap:a};n[s]?n[s].parts.push(u):r.push(n[s]={id:s,parts:[u]})}return r}e.a=n},29:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3:function(t,e,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,r){var n=r(2),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,r){var n=r(7),i=r(0).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},34:function(t,e,r){var n=r(44),i=r(32);t.exports=Object.keys||function(t){return n(t,i)}},35:function(t,e,r){var n=r(8).f,i=r(5),o=r(1)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},36:function(t,e,r){var n=r(37);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},37:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},38:function(e,r){e.exports=t},39:function(t,e,r){var n=r(19);t.exports=function(t){return Object(n(t))}},4:function(t,e,r){var n=r(8),i=r(29);t.exports=r(3)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},40:function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},44:function(t,e,r){var n=r(5),i=r(11),o=r(52)(!1),s=r(22)("IE_PROTO");t.exports=function(t,e){var r,l=i(t),c=0,a=[];for(r in l)r!=s&&n(l,r)&&a.push(r);for(;e.length>c;)n(l,r=e[c++])&&(~o(a,r)||a.push(r));return a}},45:function(t,e,r){var n=r(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},46:function(t,e,r){var n=r(20),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},47:function(t,e,r){t.exports=!r(3)&&!r(15)(function(){return 7!=Object.defineProperty(r(33)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,r){"use strict";var n=r(21),i=r(23),o=r(54),s=r(4),l=r(18),c=r(68),a=r(35),u=r(69),f=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,v,m,y){c(r,e,p);var b,x,g,w=function(t){if(!h&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},T=e+" Iterator",S="values"==v,_=!1,P=t.prototype,j=P[f]||P["@@iterator"]||v&&P[v],D=j||w(v),C=v?S?w("entries"):D:void 0,E="Array"==e?P.entries||j:j;if(E&&(g=u(E.call(new t)))!==Object.prototype&&g.next&&(a(g,T,!0),n||"function"==typeof g[f]||s(g,f,d)),S&&j&&"values"!==j.name&&(_=!0,D=function(){return j.call(this)}),n&&!y||!h&&!_&&P[f]||s(P,f,D),l[e]=D,l[T]=d,v)if(b={values:S?D:w("values"),keys:m?D:w("keys"),entries:C},y)for(x in b)x in P||o(P,x,b[x]);else i(i.P+i.F*(h||_),e,b);return b}},5:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},50:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},52:function(t,e,r){var n=r(11),i=r(46),o=r(53);t.exports=function(t){return function(e,r,s){var l,c=n(e),a=i(c.length),u=o(s,a);if(t&&r!=r){for(;a>u;)if((l=c[u++])!=l)return!0}else for(;a>u;u++)if((t||u in c)&&c[u]===r)return t||u||0;return!t&&-1}}},53:function(t,e,r){var n=r(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},54:function(t,e,r){t.exports=r(4)},55:function(t,e,r){var n=r(6),i=r(62),o=r(32),s=r(22)("IE_PROTO"),l=function(){},c=function(){var t,e=r(33)("iframe"),n=o.length;for(e.style.display="none",r(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c.prototype[o[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=n(t),r=new l,l.prototype=null,r[s]=t):r=c(),void 0===e?r:i(r,e)}},558:function(t,e,r){"use strict";function n(t){l||r(559)}Object.defineProperty(e,"__esModule",{value:!0});var i=r(196),o=r(562),s=r(9),l=!1,c=n,a=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-3d7beb70",null);a.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.default=a.exports},559:function(t,e,r){var n=r(560);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r(25).default;i("45fa5a74",n,!1,{})},560:function(t,e,r){e=t.exports=r(24)(!1),e.push([t.i,"\n.scroll-wrapper[data-v-3d7beb70]{position:relative;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:5px !important\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-indicator{background:rgba(0,0,0,0.2) !important\n}\n.scroll-wrapper .scroll-list[data-v-3d7beb70]{background-color:#525659\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]{position:relative;background-color:#fff;margin-top:1rem\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]:first-child{margin-top:0\n}\n.scroll-wrapper .scroll-list>li>img[data-v-3d7beb70]{width:100%\n}\n.scroll-wrapper .scroll-text[data-v-3d7beb70]{padding:0 1.4rem\n}\n.scroll-wrapper .scroll-content[data-v-3d7beb70]{position:relative;z-index:1;display:inline-block;width:100%\n}\n.scroll-wrapper .pulldown-wrapper[data-v-3d7beb70]{position:absolute;width:100%;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:all;transition:all\n}\n.scroll-wrapper .pulldown-wrapper>.after-trigger[data-v-3d7beb70]{margin-top:10px\n}\n.scroll-wrapper .pullup-wrapper[data-v-3d7beb70]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:16px 0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70]{width:200%;height:200%;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:scale(0.5);transform:scale(0.5);padding:0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:10px !important\n}\n",""])},561:function(t,e){t.exports=i},562:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[r("div",{staticClass:"scroll-content"},[r("div",{ref:"listWrapper"},[t._t("default")],2),t._v(" "),t.$scopedSlots.pullup?t._t("pullup",null,{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad}):t._e(),t._v(" "),t.pullUpLoad&&!t.$scopedSlots.pullup?r("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?r("div",{staticClass:"after-trigger"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",{staticClass:"before-trigger"},[r("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],2),t._v(" "),t.$scopedSlots.pulldown?t._t("pulldown",null,{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY}):t._e(),t._v(" "),t.pullDownRefresh&&!t.$scopedSlots.pulldown?r("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?r("div",{staticClass:"before-trigger"},[r("bubble",{attrs:{y:t.bubbleY}})],1):r("div",{staticClass:"after-trigger"},[t.isPullingDown?r("div",{staticClass:"loading"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",[r("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];n._withStripped=!0},6:function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},62:function(t,e,r){var n=r(8),i=r(6),o=r(34);t.exports=r(3)?Object.defineProperties:function(t,e){i(t);for(var r,s=o(e),l=s.length,c=0;l>c;)n.f(t,r=s[c++],e[r]);return t}},66:function(t,e,r){"use strict";var n=r(67)(!0);r(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},67:function(t,e,r){var n=r(20),i=r(19);t.exports=function(t){return function(e,r){var o,s,l=String(i(e)),c=n(r),a=l.length;return c<0||c>=a?t?"":void 0:(o=l.charCodeAt(c),o<55296||o>56319||c+1===a||(s=l.charCodeAt(c+1))<56320||s>57343?t?l.charAt(c):o:t?l.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},68:function(t,e,r){"use strict";var n=r(55),i=r(29),o=r(35),s={};r(4)(s,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(s,{next:i(1,r)}),o(t,e+" Iterator")}},688:function(t,e,r){"use strict";var n=r(558),i=r(276),o=(r.n(i),r(949)),s=r.n(o),l=r(38);r.n(l);e.a={name:"ScrollZoom",data:function(){return{pdf:null,throttlePdfScrollEvent:Object(l.throttle)(this.pdfScrollEvent,200)}},computed:{currentTerm:function(){return this.termsInfo[this.docIndex]||null},liTagInfo:function(){var t=[];if(this.currentTerm&&this.currentTerm.liTag&&this.currentTerm.myScroll)for(var e=0;e<this.currentTerm.liTag.length;e++){var r=this.currentTerm.liTag[e];t.push({tag:r,top:r.offsetTop*this.currentTerm.currentScale,left:r.offsetLeft*this.currentTerm.currentScale,width:r.offsetWidth*this.currentTerm.currentScale,height:r.offsetHeight*this.currentTerm.currentScale})}return t},isPurePdfType:function(){return 4===this.currentTerm.type}},methods:{initWord:function(t){var e=this;t instanceof Array?Object(i.get)(t[0]).then(function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),e.currentTerm.wordHtml=t,e.currentTerm.classObject["scroll-word"]=!0,e.currentTerm.init=!0}).catch(function(t){console.log(t)}):console.log("数据格式错误")},initPDF:function(t){if(t instanceof Array){var e=this,r=new Image;r.src=t[0],r.onload=function(){var t=window.innerWidth/r.width,n=2*(t*r.height).toFixed(2);e.currentTerm.styleImg.height=n+"px",e.currentTerm.classObject["scroll-pdf"]=!0,e.currentTerm.listenScrollEnd=!0,e.currentTerm.listenZoomEnd=!0,e.currentTerm.listenScroll=!0,e.currentTerm.init=!0}}else console.log("数据格式错误")},initHtml:function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),this.currentTerm.wordHtml=t,this.currentTerm.classObject["scroll-word"]=!0,this.currentTerm.init=!0},initPurePDF:function(t){this.currentTerm.listenScroll=!0,this.currentTerm.listenZoomEnd=!0,this.currentTerm.listenScrollEnd=!0,this.currentTerm.observeDOM=!1,this.currentTerm.init=!0},pdfScrollEvent:function(){var t=Math.abs(this.currentTerm.myScroll.y),e=this.currentTerm.myScroll.scale*this.pdf.pageHeight,r=Math.floor(t/e),n=r+1;this.pdf.render(r,n)},scroll:function(t){if(this.isPurePdfType)return void this.throttlePdfScrollEvent();this.lazyLoad(t)},scrollEnd:function(t){this.isPurePdfType?this.pdfScrollEvent():this.lazyLoad(t),this.forceRead&&t.y===this.currentTerm.myScroll.maxScrollY&&this.$emit("canINext",!0),t.y===this.currentTerm.myScroll.maxScrollY&&this.$emit("scrolledEnd",!0)},scrollInit:function(t){var e=this;if(this.currentTerm.myScroll=t,this.forceRead&&this.currentTerm.myScroll&&0==+this.currentTerm.myScroll.maxScrollY&&!this.isPurePdfType&&this.$emit("canINext",!0),1===this.currentTerm.type&&this.$refs["wordHtml"+this.docIndex]&&this.$refs["wordHtml"+this.docIndex][0]){var r=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("table");this.refreshTable(r);var n=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("img");this.refreshImg(n)}else 2===this.currentTerm.type&&this.$refs["scrollList"+this.docIndex]&&this.$refs["scrollList"+this.docIndex][0]?(this.currentTerm.cWidth=this.currentTerm.myScroll.wrapperHeight,this.currentTerm.cHeight=this.currentTerm.myScroll.wrapperWidth,this.currentTerm.liTag=this.$refs["scrollList"+this.docIndex][0].querySelectorAll("li"),this.lazyLoad({x:this.currentTerm.myScroll.x,y:this.currentTerm.myScroll.y})):99===this.currentTerm.type?this.currentTerm.myScroll.refresh():4===this.currentTerm.type&&(this.pdf||(this.pdf=new s.a),this.pdf.init({url:this.currentTerm.urls[0],container:this.$refs.pdfContainer[0],brandColor:this.brandColor}).then(function(){e.currentTerm.myScroll.refresh(),e.forceRead&&e.currentTerm.myScroll&&0==+e.currentTerm.myScroll.maxScrollY&&e.$emit("canINext",!0)}).catch(function(t){console.log(t)}))},zoomEnd:function(){this.currentTerm.currentScale=this.currentTerm.myScroll.scale},lazyLoad:function(t){this.currentTerm.scrollY=Math.abs(t.y);for(var e=0;e<this.liTagInfo.length;e++){var r=this.liTagInfo[e],n=r.tag.childNodes[0];if("lazy"===n.className&&r.top<2*this.currentTerm.cHeight+this.currentTerm.scrollY+200){for(var i=r.tag.firstElementChild;i;){if("act-loading"===i.className){r.tag.removeChild(i);break}i=i.nextElementSibling}n.src=n.getAttribute("data-src"),n.className=""}}},refreshTable:function(t){if(t.length>0)for(var e=0,r=t.length;e<r;e++)t[e].style.width="100%",t[e].style.marginLeft="0";this.currentTerm.myScroll.refresh()},refreshImg:function(t){var e=this;t&&t.length&&function(){for(var r=void 0,n=0;n<t.length;n++)t[n].onload=function(){r&&window.clearTimeout(r),r=setTimeout(function(){e.currentTerm.myScroll.refresh()},200)}}()},getTermHideState:function(t){return t!==this.docIndex},showDoc:function(t){this.docIndex=t,this.currentTerm.init||(1===Number(this.currentTerm.type)?this.initWord(this.currentTerm.urls):2===Number(this.currentTerm.type)?this.initPDF(this.currentTerm.urls):3===Number(this.currentTerm.type)?this.initHtml(this.currentTerm.innerHTML):4===Number(this.currentTerm.type)?this.initPurePDF(this.currentTerm.urls):99===Number(this.currentTerm.type)&&(this.currentTerm.init=!0))}},beforeDestroy:function(){this.pdf&&(this.pdf.destroy(),this.pdf=null)},components:{scroll:n.default},props:{termsInfo:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},docIndex:{type:Number,default:0},forceRead:{type:Boolean,default:!1}}}},69:function(t,e,r){var n=r(5),i=r(39),o=r(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,e,r){r(71);for(var n=r(0),i=r(4),o=r(18),s=r(1)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<l.length;c++){var a=l[c],u=n[a],f=u&&u.prototype;f&&!f[s]&&i(f,s,a),o[a]=o.Array}},71:function(t,e,r){"use strict";var n=r(72),i=r(73),o=r(18),s=r(11);t.exports=r(48)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,r):"values"==e?i(0,t[r]):i(0,[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},78:function(t,e,r){var n=r(26),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),i))?r:o?n(e):"Object"==(l=n(e))&&"function"==typeof e.callee?"Arguments":l}},8:function(t,e,r){var n=r(6),i=r(47),o=r(40),s=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},83:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=i(e),this.reject=i(r)}var i=r(37);t.exports.f=function(t){return new n(t)}},9:function(t,e,r){"use strict";function n(t,e,r,n,i,o,s,l){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),o&&(a._scopeId=o);var u;if(s?(u=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):i&&(u=l?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(a.functional){a._injectStyles=u;var f=a.render;a.render=function(t,e){return u.call(e),f(t,e)}}else{var h=a.beforeCreate;a.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:a}}e.a=n},94:function(t,e){},946:function(t,e,r){"use strict";function n(t){l||r(947)}Object.defineProperty(e,"__esModule",{value:!0});var i=r(688),o=r(950),s=r(9),l=!1,c=n,a=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-388e54c7",null);a.options.__file="src\\components\\common\\scrollZoom\\index.vue",e.default=a.exports},947:function(t,e,r){var n=r(948);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r(25).default;i("ce97365c",n,!1,{})},948:function(t,e,r){e=t.exports=r(24)(!1),e.push([t.i,"\n.act-doc-box[data-v-388e54c7]{height:100%\n}\n.act-loading[data-v-388e54c7]{position:absolute;width:100%;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)\n}\n.act-scroll-text[data-v-388e54c7]{padding:0 14px\n}\n.act-scroll-list li[data-v-388e54c7]{position:relative\n}\n.act-scroll-list li img[data-v-388e54c7]{width:100%\n}\n",""])},949:function(t,e){t.exports=o},95:function(t,e,r){var n=r(78),i=r(1)("iterator"),o=r(18);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},950:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-doc-content"},t._l(t.termsInfo,function(e,n){return r("div",{key:n,staticClass:"act-doc-box",class:{hide:t.getTermHideState(n)}},[e.init&&n===t.docIndex?r("scroll",{class:e.classObject,attrs:{freeScroll:e.freeScroll,scrollbar:e.scrollbar,mouseWheel:e.mouseWheel,bounce:e.bounce,zoom:e.zoom,observeDOM:e.observeDOM,listenScroll:e.listenScroll,listenScrollEnd:e.listenScrollEnd,listenScrollInit:e.listenScrollInit,listenZoomEnd:e.listenZoomEnd},on:{scroll:t.scroll,"scroll-end":t.scrollEnd,scrollSuc:t.scrollInit,zoomEnd:t.zoomEnd}},[99==e.type?t._t("content"):1==e.type||3==e.type?r("div",{ref:"wordHtml"+n,refInFor:!0,staticClass:"act-scroll-text",class:"wordHtml"+n,attrs:{"data-index":n},domProps:{innerHTML:t._s(e.wordHtml)}},[t._v("\n >"+t._s(e.wordHtml)+"\n ")]):4===e.type?r("div",{ref:"pdfContainer",refInFor:!0}):r("ul",{ref:"scrollList"+n,refInFor:!0,staticClass:"act-scroll-list"},t._l(e.urls,function(n,i){return r("li",{key:i,style:e.styleImg},[r("img",{staticClass:"lazy",attrs:{alt:"","data-src":n}}),t._v(" "),r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1)}),0)],2):r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1)}),0)},i=[];n._withStripped=!0}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/assets/utils/BScroll/constants.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/dom.js","@xysfe/actui/es/Pdfjs/index.js"],e):"object"==typeof exports?exports["assets/common/scrollZoom/index.js"]=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/assets/utils/BScroll/constants.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/dom.js"),require("@xysfe/actui/es/Pdfjs/index.js")):t["assets/common/scrollZoom/index.js"]=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/assets/utils/BScroll/constants.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/dom.js"],t["@xysfe/actui/es/Pdfjs/index.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,i,o){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=946)}({0:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},1:function(t,e,r){var n=r(31)("wks"),i=r(27),o=r(0).Symbol,s="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=n},105:function(t,e,r){var n=r(6),i=r(37),o=r(1)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||void 0==(r=n(s)[o])?e:i(r)}},106:function(t,e,r){var n,i,o,s=r(36),l=r(168),c=r(50),a=r(33),u=r(0),f=u.process,h=u.setImmediate,d=u.clearImmediate,p=u.MessageChannel,v=u.Dispatch,m=0,y={},b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){b.call(t.data)};h&&d||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++m]=function(){l("function"==typeof t?t:Function(t),e)},n(m),m},d=function(t){delete y[t]},"process"==r(26)(f)?n=function(t){f.nextTick(s(b,t,1))}:v&&v.now?n=function(t){v.now(s(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=x,n=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(n=function(t){u.postMessage(t+"","*")},u.addEventListener("message",x,!1)):n="onreadystatechange"in a("script")?function(t){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(s(b,t,1),0)}),t.exports={set:h,clear:d}},107:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},108:function(t,e,r){var n=r(6),i=r(7),o=r(83);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},11:function(t,e,r){var n=r(45),i=r(19);t.exports=function(t){return n(i(t))}},120:function(t,e,r){"use strict";e.a={props:{y:{type:Number,default:0}},data:function(){return{width:50,height:80}},computed:{distance:function(){return Math.max(0,Math.min(this.y*this.ratio,this.maxDistance))},style:function(){return"width:"+this.width/this.ratio+"px;height:"+this.height/this.ratio+"px"}},created:function(){this.ratio=window.devicePixelRatio,this.width*=this.ratio,this.height*=this.ratio,this.initRadius=18*this.ratio,this.minHeadRadius=12*this.ratio,this.minTailRadius=5*this.ratio,this.initArrowRadius=10*this.ratio,this.minArrowRadius=6*this.ratio,this.arrowWidth=3*this.ratio,this.maxDistance=40*this.ratio,this.initCenterX=25*this.ratio,this.initCenterY=25*this.ratio,this.headCenter={x:this.initCenterX,y:this.initCenterY}},mounted:function(){this._draw()},methods:{_draw:function(){var t=this.$refs.bubble,e=t.getContext("2d");e.clearRect(0,0,t.width,t.height),this._drawBubble(e),this._drawArrow(e)},_drawBubble:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,r=this.initRadius-(this.initRadius-this.minHeadRadius)*e;this.headCenter.y=this.initCenterY-(this.initRadius-this.minHeadRadius)*e,t.arc(this.headCenter.x,this.headCenter.y,r,0,Math.PI,!0);var n=this.initRadius-(this.initRadius-this.minTailRadius)*e,i={x:this.headCenter.x,y:this.headCenter.y+this.distance},o={x:i.x-n,y:i.y},s={x:o.x,y:o.y-this.distance/2};t.quadraticCurveTo(s.x,s.y,o.x,o.y),t.arc(i.x,i.y,n,Math.PI,0,!0);var l={x:this.headCenter.x+r,y:this.headCenter.y},c={x:i.x+n,y:l.y+this.distance/2};t.quadraticCurveTo(c.x,c.y,l.x,l.y),t.fillStyle="rgb(170,170,170)",t.fill(),t.strokeStyle="rgb(153,153,153)",t.stroke(),t.restore()},_drawArrow:function(t){t.save(),t.beginPath();var e=this.distance/this.maxDistance,r=this.initArrowRadius-(this.initArrowRadius-this.minArrowRadius)*e;t.arc(this.headCenter.x,this.headCenter.y,r-(this.arrowWidth-e),-Math.PI/2,0,!0),t.arc(this.headCenter.x,this.headCenter.y,r,0,3*Math.PI/2,!1),t.lineTo(this.headCenter.x,this.headCenter.y-r-this.arrowWidth/2+e),t.lineTo(this.headCenter.x+2*this.arrowWidth-2*e,this.headCenter.y-r+this.arrowWidth/2),t.lineTo(this.headCenter.x,this.headCenter.y-r+3*this.arrowWidth/2-e),t.fillStyle="rgb(255,255,255)",t.fill(),t.strokeStyle="rgb(170,170,170)",t.stroke(),t.restore()}},watch:{y:function(){this._draw()}}}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},161:function(t,e,r){t.exports={default:r(162),__esModule:!0}},162:function(t,e,r){r(94),r(66),r(70),r(163),r(174),r(175),t.exports=r(2).Promise},163:function(t,e,r){"use strict";var n,i,o,s,l=r(21),c=r(0),a=r(36),u=r(78),f=r(23),h=r(7),d=r(37),p=r(164),v=r(165),m=r(105),y=r(106).set,b=r(169)(),x=r(83),g=r(107),w=r(170),T=r(108),S=c.TypeError,_=c.process,P=_&&_.versions,j=P&&P.v8||"",D=c.Promise,C="process"==u(_),E=function(){},L=i=x.f,R=!!function(){try{var t=D.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(E,E)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==j.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),O=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;b(function(){for(var n=t._v,i=1==t._s,o=0;r.length>o;)!function(e){var r,o,s,l=i?e.ok:e.fail,c=e.resolve,a=e.reject,u=e.domain;try{l?(i||(2==t._h&&U(t),t._h=1),!0===l?r=n:(u&&u.enter(),r=l(n),u&&(u.exit(),s=!0)),r===e.promise?a(S("Promise-chain cycle")):(o=O(r))?o.call(r,c,a):c(r)):a(n)}catch(t){u&&!s&&u.exit(),a(t)}}(r[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){y.call(c,function(){var e,r,n,i=t._v,o=k(t);if(o&&(e=g(function(){C?_.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",i)}),t._h=C||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},U=function(t){y.call(c,function(){var e;C?_.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},$=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(e=O(t))?b(function(){var n={_w:r,_d:!1};try{e.call(t,a($,n,1),a(N,n,1))}catch(t){N.call(n,t)}}):(r._v=t,r._s=1,M(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};R||(D=function(t){p(this,D,"Promise","_h"),d(t),n.call(this);try{t(a($,this,1),a(N,this,1))}catch(t){N.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(171)(D.prototype,{then:function(t,e){var r=L(m(this,D));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=C?_.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n;this.promise=t,this.resolve=a($,t,1),this.reject=a(N,t,1)},x.f=L=function(t){return t===D||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!R,{Promise:D}),r(35)(D,"Promise"),r(172)("Promise"),s=r(2).Promise,f(f.S+f.F*!R,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(l||!R),"Promise",{resolve:function(t){return T(l&&this===s?D:this,t)}}),f(f.S+f.F*!(R&&r(173)(function(t){D.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=L(e),n=r.resolve,i=r.reject,o=g(function(){var r=[],o=0,s=1;v(t,!1,function(t){var l=o++,c=!1;r.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,r[l]=t,--s||n(r))},i)}),--s||n(r)});return o.e&&i(o.v),r.promise},race:function(t){var e=this,r=L(e),n=r.reject,i=g(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return i.e&&n(i.v),r.promise}})},164:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},165:function(t,e,r){var n=r(36),i=r(166),o=r(167),s=r(6),l=r(46),c=r(95),a={},u={},e=t.exports=function(t,e,r,f,h){var d,p,v,m,y=h?function(){return t}:c(t),b=n(r,f,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=l(t.length);d>x;x++)if((m=e?b(s(p=t[x])[0],p[1]):b(t[x]))===a||m===u)return m}else for(v=y.call(t);!(p=v.next()).done;)if((m=i(v,b,p.value,e))===a||m===u)return m};e.BREAK=a,e.RETURN=u},166:function(t,e,r){var n=r(6);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},167:function(t,e,r){var n=r(18),i=r(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},168:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},169:function(t,e,r){var n=r(0),i=r(106).set,o=n.MutationObserver||n.WebKitMutationObserver,s=n.process,l=n.Promise,c="process"==r(26)(s);t.exports=function(){var t,e,r,a=function(){var n,i;for(c&&(n=s.domain)&&n.exit();t;){i=t.fn,t=t.next;try{i()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){s.nextTick(a)};else if(!o||n.navigator&&n.navigator.standalone)if(l&&l.resolve){var u=l.resolve(void 0);r=function(){u.then(a)}}else r=function(){i.call(n,a)};else{var f=!0,h=document.createTextNode("");new o(a).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var i={fn:n,next:void 0};e&&(e.next=i),t||(t=i,r()),e=i}}},170:function(t,e,r){var n=r(0),i=n.navigator;t.exports=i&&i.userAgent||""},171:function(t,e,r){var n=r(4);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},172:function(t,e,r){"use strict";var n=r(0),i=r(2),o=r(8),s=r(3),l=r(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];s&&e&&!e[l]&&o.f(e,l,{configurable:!0,get:function(){return this}})}},173:function(t,e,r){var n=r(1)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],s=o[n]();s.next=function(){return{done:r=!0}},o[n]=function(){return s},t(o)}catch(t){}return r}},174:function(t,e,r){"use strict";var n=r(23),i=r(2),o=r(0),s=r(105),l=r(108);n(n.P+n.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return l(e,t()).then(function(){return r})}:t,r?function(r){return l(e,t()).then(function(){throw r})}:t)}})},175:function(t,e,r){"use strict";var n=r(23),i=r(83),o=r(107);n(n.S,"Promise",{try:function(t){var e=i.f(this),r=o(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},18:function(t,e){t.exports={}},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},192:function(t,r){t.exports=e},193:function(t,e){t.exports=r},194:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(120),i=r(195),o=r(9),s=Object(o.a)(n.a,i.a,i.b,!1,null,null,null);s.options.__file="src\\components\\common\\scrollZoom\\components\\bubble.vue",e.default=s.exports},195:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"bubble",style:t.style,attrs:{width:t.width,height:t.height}})},i=[];n._withStripped=!0},196:function(t,e,r){"use strict";var n=r(161),i=r.n(n),o=r(192),s=r.n(o),l=r(561),c=(r.n(l),r(194)),a=r(193);r.n(a);e.a={name:"scroll",props:{probeType:{type:Number,default:2},click:{type:Boolean,default:!0},listenScrollInit:{type:Boolean,default:!1},listenScroll:{type:Boolean,default:!1},listenBeforeScroll:{type:Boolean,default:!1},listenScrollEnd:{type:Boolean,default:!1},listenZoomEnd:{type:Boolean,default:!1},observeDOM:{type:Boolean,default:!0},direction:{type:String,default:"vertical"},scrollbar:{type:null,default:!1},pullDownRefresh:{type:null,default:!1},pullUpLoad:{type:null,default:!1},startY:{type:Number,default:0},refreshDelay:{type:Number,default:20},freeScroll:{type:Boolean,default:!1},mouseWheel:{type:Boolean,default:!1},bounce:{type:[Boolean,Object],default:!0},zoom:{type:[Boolean,Object],default:!1}},data:function(){return{beforePullDown:!0,isRebounding:!1,isPullingDown:!1,isPullUpLoad:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},computed:{pullUpTxt:function(){var t=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.more||"加载更多",e=this.pullUpLoad&&this.pullUpLoad.txt&&this.pullUpLoad.txt.noMore||"没有更多数据了";return this.pullUpDirty?t:e},refreshTxt:function(){return this.pullDownRefresh&&this.pullDownRefresh.txt||"刷新成功"}},created:function(){this.pullDownInitTop=-50},mounted:function(){var t=this;setTimeout(function(){t.initScroll()},20)},destroyed:function(){this.$refs.scroll&&this.$refs.scroll.destroy()},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){this.$refs.listWrapper&&(this.pullDownRefresh||this.pullUpLoad)&&(this.$refs.listWrapper.style.minHeight=Object(l.getRect)(this.$refs.wrapper).height+1+"px");var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,pullDownRefresh:this.pullDownRefresh,pullUpLoad:this.pullUpLoad,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:a.USE_TRANSITION,observeDOM:this.observeDOM};this.scroll=new s.a(this.$refs.wrapper,e),this.listenScroll&&this.scroll.on("scroll",function(e){t.$emit("scroll",e)}),this.listenScrollEnd&&this.scroll.on("scrollEnd",function(e){t.$emit("scroll-end",e)}),this.listenBeforeScroll&&(this.scroll.on("beforeScrollStart",function(){t.$emit("beforeScrollStart")}),this.scroll.on("scrollStart",function(){t.$emit("scroll-start")})),this.listenZoomEnd&&this.scroll.on("zoomEnd",function(){t.$emit("zoomEnd",t.scroll)}),this.pullDownRefresh&&this._initPullDownRefresh(),this.pullUpLoad&&this._initPullUpLoad(),this.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll)}},disable:function(){this.scroll&&this.scroll.disable()},enable:function(){this.scroll&&this.scroll.enable()},refresh:function(){this.scroll&&this.scroll.refresh()},scrollTo:function(){this.scroll&&this.scroll.scrollTo.apply(this.scroll,arguments)},scrollToElement:function(){this.scroll&&this.scroll.scrollToElement.apply(this.scroll,arguments)},clickItem:function(t,e){this.$emit("click",e)},destroy:function(){this.scroll.destroy()},forceUpdate:function(t){var e=this;this.pullDownRefresh&&this.isPullingDown?(this.isPullingDown=!1,this._reboundPullDown().then(function(){e._afterPullDown()})):this.pullUpLoad&&this.isPullUpLoad?(this.isPullUpLoad=!1,this.scroll.finishPullUp(),this.pullUpDirty=t,this.refresh()):this.refresh()},handleTouchStart:function(t){this.isDouble&&(this.fingers=t.touches.length,this.tapTarget=this.getTouches(t)[0],this.startXd=this.tapTarget.x,this.startYd=this.tapTarget.y)},handleTouchMove:function(t){this.isDouble&&(this.endXd=this.getTouches(t)[0].x,this.endYd=this.getTouches(t)[0].y)},handleTouchEnd:function(t){if(this.isDouble){this.endXd=0===this.endXd?this.startXd:this.endXd,this.endYd=0===this.endYd?this.startYd:this.endYd;var e=this.endXd-this.startXd,r=this.endYd-this.startYd;Math.abs(e)<10&&Math.abs(r)<10&&this.detectDoubleTap(t),this.startXd=this.startYd=this.endXd=this.endYd=0}},cancelEvent:function(t){t.stopPropagation(),t.preventDefault()},getTouches:function(t){return Array.prototype.slice.call(t.touches).map(function(t){return{x:t.pageX,y:t.pageY}})},detectDoubleTap:function(){var t=(new Date).getTime();if(this.fingers>1&&(this.lastTouchStart=null),t-this.lastTouchStart<300){this.cancelEvent(event);var e=this.scroll.scale>1?1:2;this.scroll.zoomTo(e,this.tapTarget.x,this.tapTarget.y)}1===this.fingers&&(this.lastTouchStart=t)},_initPullDownRefresh:function(){var t=this;this.scroll.on("pullingDown",function(){t.beforePullDown=!1,t.isPullingDown=!0,t.$emit("pullingDown")}),this.scroll.on("scroll",function(e){t.pullDownRefresh&&(t.beforePullDown?(t.bubbleY=Math.max(0,e.y+t.pullDownInitTop),t.pullDownStyle="top:"+Math.min(e.y+t.pullDownInitTop,10)+"px"):t.bubbleY=0,t.isRebounding&&(t.pullDownStyle="top:"+(10-(t.pullDownRefresh.stop-e.y))+"px"))})},_initPullUpLoad:function(){var t=this;this.scroll.on("pullingUp",function(){t.isPullUpLoad=!0,t.$emit("pullingUp")})},_reboundPullDown:function(){var t=this,e=this.pullDownRefresh.stopTime,r=void 0===e?600:e;return new i.a(function(e){setTimeout(function(){t.isRebounding=!0,t.scroll.finishPullDown(),e()},r)})},_afterPullDown:function(){var t=this;setTimeout(function(){t.pullDownStyle="top:"+t.pullDownInitTop+"px",t.beforePullDown=!0,t.isRebounding=!1,t.refresh()},this.scroll.options.bounceTime)}},watch:{data:function(){var t=this;setTimeout(function(){t.forceUpdate(!0)},this.refreshDelay)}},components:{Bubble:c.default}}},2:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},20:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,r){var n=r(31)("keys"),i=r(27);t.exports=function(t){return n[t]||(n[t]=i(t))}},23:function(t,e,r){var n=r(0),i=r(2),o=r(36),s=r(4),l=r(5),c=function(t,e,r){var a,u,f,h=t&c.F,d=t&c.G,p=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,b=d?i:i[e]||(i[e]={}),x=b.prototype,g=d?n:p?n[e]:(n[e]||{}).prototype;d&&(r=e);for(a in r)(u=!h&&g&&void 0!==g[a])&&l(b,a)||(f=u?g[a]:r[a],b[a]=d&&"function"!=typeof g[a]?r[a]:m&&u?o(f,n):y&&g[a]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((b.virtual||(b.virtual={}))[a]=f,t&c.R&&x&&!x[a]&&s(x,a,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},24:function(t,e){function r(t,e){var r=t[1]||"",i=t[3];if(!i)return r;if(e&&"function"==typeof btoa){var o=n(i);return[r].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[r].join("\n")}function n(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=r(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,r){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&n[s[0]]||(r&&!s[2]?s[2]=r:r&&(s[2]="("+s[2]+") and ("+r+")"),e.push(s))}},e}},25:function(t,e,r){"use strict";function n(t,e,r,n){v=r,y=n||{};var o=Object(a.a)(t,e);return i(o),function(e){for(var r=[],n=0;n<o.length;n++){var s=o[n],l=f[s.id];l.refs--,r.push(l)}e?(o=Object(a.a)(t,e),i(o)):o=[];for(var n=0;n<r.length;n++){var l=r[n];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}}function i(t){for(var e=0;e<t.length;e++){var r=t[e],n=f[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(s(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{for(var o=[],i=0;i<r.parts.length;i++)o.push(s(r.parts[i]));f[r.id]={id:r.id,refs:1,parts:o}}}}function o(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function s(t){var e,r,n=document.querySelector("style["+b+'~="'+t.id+'"]');if(n){if(v)return m;n.parentNode.removeChild(n)}if(x){var i=p++;n=d||(d=o()),e=l.bind(null,n,i,!1),r=l.bind(null,n,i,!0)}else n=o(),e=c.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}function l(t,e,r,n){var i=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=g(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function c(t,e){var r=e.css,n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),y.ssrId&&t.setAttribute(b,e.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var a=r(28),u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},h=u&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,v=!1,m=function(){},y=null,b="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},26:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},27:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},276:function(t,e){t.exports=n},28:function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],s=o[0],l=o[1],c=o[2],a=o[3],u={id:t+":"+i,css:l,media:c,sourceMap:a};n[s]?n[s].parts.push(u):r.push(n[s]={id:s,parts:[u]})}return r}e.a=n},29:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3:function(t,e,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,r){var n=r(2),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,r){var n=r(7),i=r(0).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},34:function(t,e,r){var n=r(44),i=r(32);t.exports=Object.keys||function(t){return n(t,i)}},35:function(t,e,r){var n=r(8).f,i=r(5),o=r(1)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},36:function(t,e,r){var n=r(37);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},37:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},38:function(e,r){e.exports=t},39:function(t,e,r){var n=r(19);t.exports=function(t){return Object(n(t))}},4:function(t,e,r){var n=r(8),i=r(29);t.exports=r(3)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},40:function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},44:function(t,e,r){var n=r(5),i=r(11),o=r(52)(!1),s=r(22)("IE_PROTO");t.exports=function(t,e){var r,l=i(t),c=0,a=[];for(r in l)r!=s&&n(l,r)&&a.push(r);for(;e.length>c;)n(l,r=e[c++])&&(~o(a,r)||a.push(r));return a}},45:function(t,e,r){var n=r(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},46:function(t,e,r){var n=r(20),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},47:function(t,e,r){t.exports=!r(3)&&!r(15)(function(){return 7!=Object.defineProperty(r(33)("div"),"a",{get:function(){return 7}}).a})},48:function(t,e,r){"use strict";var n=r(21),i=r(23),o=r(54),s=r(4),l=r(18),c=r(68),a=r(35),u=r(69),f=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,p,v,m,y){c(r,e,p);var b,x,g,w=function(t){if(!h&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},T=e+" Iterator",S="values"==v,_=!1,P=t.prototype,j=P[f]||P["@@iterator"]||v&&P[v],D=j||w(v),C=v?S?w("entries"):D:void 0,E="Array"==e?P.entries||j:j;if(E&&(g=u(E.call(new t)))!==Object.prototype&&g.next&&(a(g,T,!0),n||"function"==typeof g[f]||s(g,f,d)),S&&j&&"values"!==j.name&&(_=!0,D=function(){return j.call(this)}),n&&!y||!h&&!_&&P[f]||s(P,f,D),l[e]=D,l[T]=d,v)if(b={values:S?D:w("values"),keys:m?D:w("keys"),entries:C},y)for(x in b)x in P||o(P,x,b[x]);else i(i.P+i.F*(h||_),e,b);return b}},5:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},50:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},52:function(t,e,r){var n=r(11),i=r(46),o=r(53);t.exports=function(t){return function(e,r,s){var l,c=n(e),a=i(c.length),u=o(s,a);if(t&&r!=r){for(;a>u;)if((l=c[u++])!=l)return!0}else for(;a>u;u++)if((t||u in c)&&c[u]===r)return t||u||0;return!t&&-1}}},53:function(t,e,r){var n=r(20),i=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},54:function(t,e,r){t.exports=r(4)},55:function(t,e,r){var n=r(6),i=r(62),o=r(32),s=r(22)("IE_PROTO"),l=function(){},c=function(){var t,e=r(33)("iframe"),n=o.length;for(e.style.display="none",r(50).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c.prototype[o[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(l.prototype=n(t),r=new l,l.prototype=null,r[s]=t):r=c(),void 0===e?r:i(r,e)}},558:function(t,e,r){"use strict";function n(t){l||r(559)}Object.defineProperty(e,"__esModule",{value:!0});var i=r(196),o=r(562),s=r(9),l=!1,c=n,a=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-3d7beb70",null);a.options.__file="src\\components\\common\\scrollZoom\\components\\scroll.vue",e.default=a.exports},559:function(t,e,r){var n=r(560);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r(25).default;i("cb524114",n,!1,{})},560:function(t,e,r){e=t.exports=r(24)(!1),e.push([t.i,"\n.scroll-wrapper[data-v-3d7beb70]{position:relative;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:5px !important\n}\n.scroll-wrapper[data-v-3d7beb70] .bscroll-indicator{background:rgba(0,0,0,0.2) !important\n}\n.scroll-wrapper .scroll-list[data-v-3d7beb70]{background-color:#525659\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]{position:relative;background-color:#fff;margin-top:1rem\n}\n.scroll-wrapper .scroll-list>li[data-v-3d7beb70]:first-child{margin-top:0\n}\n.scroll-wrapper .scroll-list>li>img[data-v-3d7beb70]{width:100%\n}\n.scroll-wrapper .scroll-text[data-v-3d7beb70]{padding:0 1.4rem\n}\n.scroll-wrapper .scroll-content[data-v-3d7beb70]{position:relative;z-index:1;display:inline-block;width:100%\n}\n.scroll-wrapper .pulldown-wrapper[data-v-3d7beb70]{position:absolute;width:100%;left:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-transition:all;transition:all\n}\n.scroll-wrapper .pulldown-wrapper>.after-trigger[data-v-3d7beb70]{margin-top:10px\n}\n.scroll-wrapper .pullup-wrapper[data-v-3d7beb70]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:16px 0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70]{width:200%;height:200%;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transform:scale(0.5);transform:scale(0.5);padding:0\n}\n.scroll-wrapper.scroll-pdf[data-v-3d7beb70] .bscroll-vertical-scrollbar{width:10px !important\n}\n",""])},561:function(t,e){t.exports=i},562:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"wrapper",staticClass:"scroll-wrapper",on:{touchstart:t.handleTouchStart,touchmove:t.handleTouchMove,touchend:t.handleTouchEnd}},[r("div",{staticClass:"scroll-content"},[r("div",{ref:"listWrapper"},[t._t("default")],2),t._v(" "),t.$scopedSlots.pullup?t._t("pullup",null,{pullUpLoad:t.pullUpLoad,isPullUpLoad:t.isPullUpLoad}):t._e(),t._v(" "),t.pullUpLoad&&!t.$scopedSlots.pullup?r("div",{staticClass:"pullup-wrapper"},[t.isPullUpLoad?r("div",{staticClass:"after-trigger"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",{staticClass:"before-trigger"},[r("span",[t._v(t._s(t.pullUpTxt))])])]):t._e()],2),t._v(" "),t.$scopedSlots.pulldown?t._t("pulldown",null,{pullDownRefresh:t.pullDownRefresh,pullDownStyle:t.pullDownStyle,beforePullDown:t.beforePullDown,isPullingDown:t.isPullingDown,bubbleY:t.bubbleY}):t._e(),t._v(" "),t.pullDownRefresh&&!t.$scopedSlots.pulldown?r("div",{ref:"pulldown",staticClass:"pulldown-wrapper",style:t.pullDownStyle},[t.beforePullDown?r("div",{staticClass:"before-trigger"},[r("bubble",{attrs:{y:t.bubbleY}})],1):r("div",{staticClass:"after-trigger"},[t.isPullingDown?r("div",{staticClass:"loading"},[r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1):r("div",[r("span",[t._v(t._s(t.refreshTxt))])])])]):t._e()],2)},i=[];n._withStripped=!0},6:function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},62:function(t,e,r){var n=r(8),i=r(6),o=r(34);t.exports=r(3)?Object.defineProperties:function(t,e){i(t);for(var r,s=o(e),l=s.length,c=0;l>c;)n.f(t,r=s[c++],e[r]);return t}},66:function(t,e,r){"use strict";var n=r(67)(!0);r(48)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},67:function(t,e,r){var n=r(20),i=r(19);t.exports=function(t){return function(e,r){var o,s,l=String(i(e)),c=n(r),a=l.length;return c<0||c>=a?t?"":void 0:(o=l.charCodeAt(c),o<55296||o>56319||c+1===a||(s=l.charCodeAt(c+1))<56320||s>57343?t?l.charAt(c):o:t?l.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},68:function(t,e,r){"use strict";var n=r(55),i=r(29),o=r(35),s={};r(4)(s,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(s,{next:i(1,r)}),o(t,e+" Iterator")}},688:function(t,e,r){"use strict";var n=r(558),i=r(276),o=(r.n(i),r(949)),s=r.n(o),l=r(38);r.n(l);e.a={name:"ScrollZoom",data:function(){return{pdf:null,throttlePdfScrollEvent:Object(l.throttle)(this.pdfScrollEvent,200)}},computed:{currentTerm:function(){return this.termsInfo[this.docIndex]||null},liTagInfo:function(){var t=[];if(this.currentTerm&&this.currentTerm.liTag&&this.currentTerm.myScroll)for(var e=0;e<this.currentTerm.liTag.length;e++){var r=this.currentTerm.liTag[e];t.push({tag:r,top:r.offsetTop*this.currentTerm.currentScale,left:r.offsetLeft*this.currentTerm.currentScale,width:r.offsetWidth*this.currentTerm.currentScale,height:r.offsetHeight*this.currentTerm.currentScale})}return t},isPurePdfType:function(){return 4===this.currentTerm.type}},methods:{initWord:function(t){var e=this;t instanceof Array?Object(i.get)(t[0]).then(function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),e.currentTerm.wordHtml=t,e.currentTerm.classObject["scroll-word"]=!0,e.currentTerm.init=!0}).catch(function(t){console.log(t)}):console.log("数据格式错误")},initPDF:function(t){if(t instanceof Array){var e=this,r=new Image;r.src=t[0],r.onload=function(){var t=window.innerWidth/r.width,n=2*(t*r.height).toFixed(2);e.currentTerm.styleImg.height=n+"px",e.currentTerm.classObject["scroll-pdf"]=!0,e.currentTerm.listenScrollEnd=!0,e.currentTerm.listenZoomEnd=!0,e.currentTerm.listenScroll=!0,e.currentTerm.init=!0}}else console.log("数据格式错误")},initHtml:function(t){t=t.replace(/<span[^>]*?>[\s| ]*<\/span>/g,""),t=t.replace(/<span[^>]*?>[\s| ]*<em>\s*<\/em>\s*<\/span>/g,""),this.currentTerm.wordHtml=t,this.currentTerm.classObject["scroll-word"]=!0,this.currentTerm.init=!0},initPurePDF:function(t){this.currentTerm.listenScroll=!0,this.currentTerm.listenZoomEnd=!0,this.currentTerm.listenScrollEnd=!0,this.currentTerm.observeDOM=!1,this.currentTerm.init=!0},pdfScrollEvent:function(){var t=Math.abs(this.currentTerm.myScroll.y),e=this.currentTerm.myScroll.scale*this.pdf.pageHeight,r=Math.floor(t/e),n=r+1;this.pdf.render(r,n)},scroll:function(t){if(this.isPurePdfType)return void this.throttlePdfScrollEvent();this.lazyLoad(t)},scrollEnd:function(t){this.isPurePdfType?this.pdfScrollEvent():this.lazyLoad(t),this.forceRead&&t.y===this.currentTerm.myScroll.maxScrollY&&this.$emit("canINext",!0),t.y===this.currentTerm.myScroll.maxScrollY&&this.$emit("scrolledEnd",!0)},scrollInit:function(t){var e=this;if(this.currentTerm.myScroll=t,this.forceRead&&this.currentTerm.myScroll&&0==+this.currentTerm.myScroll.maxScrollY&&!this.isPurePdfType&&this.$emit("canINext",!0),1===this.currentTerm.type&&this.$refs["wordHtml"+this.docIndex]&&this.$refs["wordHtml"+this.docIndex][0]){var r=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("table");this.refreshTable(r);var n=this.$refs["wordHtml"+this.docIndex][0].querySelectorAll("img");this.refreshImg(n)}else 2===this.currentTerm.type&&this.$refs["scrollList"+this.docIndex]&&this.$refs["scrollList"+this.docIndex][0]?(this.currentTerm.cWidth=this.currentTerm.myScroll.wrapperHeight,this.currentTerm.cHeight=this.currentTerm.myScroll.wrapperWidth,this.currentTerm.liTag=this.$refs["scrollList"+this.docIndex][0].querySelectorAll("li"),this.lazyLoad({x:this.currentTerm.myScroll.x,y:this.currentTerm.myScroll.y})):99===this.currentTerm.type?this.currentTerm.myScroll.refresh():4===this.currentTerm.type&&(this.pdf||(this.pdf=new s.a),this.pdf.init({url:this.currentTerm.urls[0],container:this.$refs.pdfContainer[0],brandColor:this.brandColor}).then(function(){e.currentTerm.myScroll.refresh(),e.forceRead&&e.currentTerm.myScroll&&0==+e.currentTerm.myScroll.maxScrollY&&e.$emit("canINext",!0)}).catch(function(t){console.log(t)}))},zoomEnd:function(){this.currentTerm.currentScale=this.currentTerm.myScroll.scale},lazyLoad:function(t){this.currentTerm.scrollY=Math.abs(t.y);for(var e=0;e<this.liTagInfo.length;e++){var r=this.liTagInfo[e],n=r.tag.childNodes[0];if("lazy"===n.className&&r.top<2*this.currentTerm.cHeight+this.currentTerm.scrollY+200){for(var i=r.tag.firstElementChild;i;){if("act-loading"===i.className){r.tag.removeChild(i);break}i=i.nextElementSibling}n.src=n.getAttribute("data-src"),n.className=""}}},refreshTable:function(t){if(t.length>0)for(var e=0,r=t.length;e<r;e++)t[e].style.width="100%",t[e].style.marginLeft="0";this.currentTerm.myScroll.refresh()},refreshImg:function(t){var e=this;t&&t.length&&function(){for(var r=void 0,n=0;n<t.length;n++)t[n].onload=function(){r&&window.clearTimeout(r),r=setTimeout(function(){e.currentTerm.myScroll.refresh()},200)}}()},getTermHideState:function(t){return t!==this.docIndex},showDoc:function(t){this.docIndex=t,this.currentTerm.init||(1===Number(this.currentTerm.type)?this.initWord(this.currentTerm.urls):2===Number(this.currentTerm.type)?this.initPDF(this.currentTerm.urls):3===Number(this.currentTerm.type)?this.initHtml(this.currentTerm.innerHTML):4===Number(this.currentTerm.type)?this.initPurePDF(this.currentTerm.urls):99===Number(this.currentTerm.type)&&(this.currentTerm.init=!0))}},beforeDestroy:function(){this.pdf&&(this.pdf.destroy(),this.pdf=null)},components:{scroll:n.default},props:{termsInfo:{type:Array,default:function(){return[]}},brandColor:{type:String,default:"#8c7fee"},docIndex:{type:Number,default:0},forceRead:{type:Boolean,default:!1}}}},69:function(t,e,r){var n=r(5),i=r(39),o=r(22)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},70:function(t,e,r){r(71);for(var n=r(0),i=r(4),o=r(18),s=r(1)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<l.length;c++){var a=l[c],u=n[a],f=u&&u.prototype;f&&!f[s]&&i(f,s,a),o[a]=o.Array}},71:function(t,e,r){"use strict";var n=r(72),i=r(73),o=r(18),s=r(11);t.exports=r(48)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,r):"values"==e?i(0,t[r]):i(0,[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},78:function(t,e,r){var n=r(26),i=r(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,l;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),i))?r:o?n(e):"Object"==(l=n(e))&&"function"==typeof e.callee?"Arguments":l}},8:function(t,e,r){var n=r(6),i=r(47),o=r(40),s=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},83:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=i(e),this.reject=i(r)}var i=r(37);t.exports.f=function(t){return new n(t)}},9:function(t,e,r){"use strict";function n(t,e,r,n,i,o,s,l){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var a="function"==typeof t?t.options:t;e&&(a.render=e,a.staticRenderFns=r,a._compiled=!0),n&&(a.functional=!0),o&&(a._scopeId=o);var u;if(s?(u=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):i&&(u=l?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(a.functional){a._injectStyles=u;var f=a.render;a.render=function(t,e){return u.call(e),f(t,e)}}else{var h=a.beforeCreate;a.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:a}}e.a=n},94:function(t,e){},946:function(t,e,r){"use strict";function n(t){l||r(947)}Object.defineProperty(e,"__esModule",{value:!0});var i=r(688),o=r(950),s=r(9),l=!1,c=n,a=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-388e54c7",null);a.options.__file="src\\components\\common\\scrollZoom\\index.vue",e.default=a.exports},947:function(t,e,r){var n=r(948);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r(25).default;i("52045260",n,!1,{})},948:function(t,e,r){e=t.exports=r(24)(!1),e.push([t.i,"\n.act-doc-box[data-v-388e54c7]{height:100%\n}\n.act-loading[data-v-388e54c7]{position:absolute;width:100%;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)\n}\n.act-scroll-text[data-v-388e54c7]{padding:0 14px\n}\n.act-scroll-list li[data-v-388e54c7]{position:relative\n}\n.act-scroll-list li img[data-v-388e54c7]{width:100%\n}\n",""])},949:function(t,e){t.exports=o},95:function(t,e,r){var n=r(78),i=r(1)("iterator"),o=r(18);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},950:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return i});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-doc-content"},t._l(t.termsInfo,function(e,n){return r("div",{key:n,staticClass:"act-doc-box",class:{hide:t.getTermHideState(n)}},[e.init&&n===t.docIndex?r("scroll",{class:e.classObject,attrs:{freeScroll:e.freeScroll,scrollbar:e.scrollbar,mouseWheel:e.mouseWheel,bounce:e.bounce,zoom:e.zoom,observeDOM:e.observeDOM,listenScroll:e.listenScroll,listenScrollEnd:e.listenScrollEnd,listenScrollInit:e.listenScrollInit,listenZoomEnd:e.listenZoomEnd},on:{scroll:t.scroll,"scroll-end":t.scrollEnd,scrollSuc:t.scrollInit,zoomEnd:t.zoomEnd}},[99==e.type?t._t("content"):1==e.type||3==e.type?r("div",{ref:"wordHtml"+n,refInFor:!0,staticClass:"act-scroll-text",class:"wordHtml"+n,attrs:{"data-index":n},domProps:{innerHTML:t._s(e.wordHtml)}},[t._v("\n >"+t._s(e.wordHtml)+"\n ")]):4===e.type?r("div",{ref:"pdfContainer",refInFor:!0}):r("ul",{ref:"scrollList"+n,refInFor:!0,staticClass:"act-scroll-list"},t._l(e.urls,function(n,i){return r("li",{key:i,style:e.styleImg},[r("img",{staticClass:"lazy",attrs:{alt:"","data-src":n}}),t._v(" "),r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1)}),0)],2):r("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir4",color:t.brandColor,size:20}})],1)}),0)},i=[];n._withStripped=!0}})});
|