@xysfe/actui 1.7.38 → 1.7.39
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GoldInsureDescDialog=e():t.GoldInsureDescDialog=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(o){if(i[o])return i[o].exports;var n=i[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=2138)}({0:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},1:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},102:function(t,e,i){"use strict";var o=i(25),n=i(73);e.a={name:"ActPopup",mixins:[o.a,n.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},104:function(t,e,i){"use strict";function o(t){a||i(129)}var n=i(102),s=i(130),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,null,null);c.options.__file="src\\components\\common\\popup.vue",e.a=c.exports},11:function(t,e,i){var o=i(47),n=i(29);t.exports=function(t){return o(n(t))}},116:function(t,e,i){"use strict";function o(t){t.preventDefault()}var n={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",o,{passive:!1}):document.body.removeEventListener("touchmove",o,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",o,{passive:!1})}};e.a=n},118:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(151);e.default=o.a},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},129:function(t,e){},13:function(t,e,i){var o=i(1),n=i(0),s=i(39),r=i(7),a=i(6),l=function(t,e,i){var c,h,u,p=t&l.F,f=t&l.G,d=t&l.S,m=t&l.P,v=t&l.B,g=t&l.W,y=f?n:n[e]||(n[e]={}),b=y.prototype,w=f?o:d?o[e]:(o[e]||{}).prototype;f&&(i=e);for(c in i)(h=!p&&w&&void 0!==w[c])&&a(y,c)||(u=h?w[c]:i[c],y[c]=f&&"function"!=typeof w[c]?i[c]:v&&h?s(u,o):g&&w[c]==u?function(t){var e=function(e,i,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):m&&"function"==typeof u?s(Function.call,u):u,m&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&r(b,c,u)))};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},130:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),i("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?i("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):i("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},n=[];o._withStripped=!0},136:function(t,e,i){"use strict";function o(t){a||i(180)}var n=i(148),s=i(181),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-3349a91e",null);c.options.__file="src\\components\\common\\scroll.vue",e.a=c.exports},14:function(t,e,i){var o=i(50),n=i(33);t.exports=Object.keys||function(t){return o(t,n)}},148:function(t,e,i){"use strict";var o=i(118),n=i(150);e.a={name:"ActScroll",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},listenPullingUp:{type:Boolean,default:!1},direction:{type:String,default:"vertical"},scrollbar:{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,default:!1},useTransition:{type:Boolean,default:!0}},data:function(){return{beforePullDown:!0,isRebounding:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},mounted:function(){var t=this;this.$nextTick(function(){t.initScroll()})},destroyed:function(){this.scroll&&this.scroll.destroy(),this.$emit("destroyed",this.scroll)},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:n.a&&this.useTransition,pullUpLoad:{threshold:50}};this.scroll=new o.default(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.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll),this.listenPullingUp&&this.scroll.on("pullingUp",function(){t.$emit("pullingUp")})}},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){this.refresh()}}}},149:function(t,e,i){"use strict";function o(t){a||i(197)}var n=i(152),s=i(198),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-f3b563a0",null);c.options.__file="src\\components\\common\\goldlayer.vue",e.a=c.exports},15:function(t,e,i){"use strict";function o(t,e){return function(i,o){var r=this,a=Object(n.a)(i),l=Object(s.a)(e,t,a,o),c=l.$parent,h=l.remove,u=l.show,p=l.hide;return l.remove=function(){l.$removed=!0,h&&h.call(this),c.destroy()},l.show=function(){return u&&u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),this},l.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},r&&r._isVue&&r.$once("hook:beforeDestroy",function(){l.$removed||l.remove()}),l}}e.a=o;var n=i(97),s=i(99)},150:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var o=i(4),n=function(){var t=!0;if(o.F.isIOS){var e=Object(o.k)(navigator.userAgent.toLowerCase());if(!e)return t;Number(""+e.major+e.minor)>=133&&(t=!1)}return t}()},151:function(t,e,i){"use strict";function o(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function n(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];for(var n=0;n<i.length;n++){var s=i[n];for(var r in s)t[r]=s[r]}return t}function s(t){return void 0===t||null===t}function r(t,e){return Math.sqrt(t*t+e*e)}function a(t){return!1!==z&&("standard"===z?"transitionEnd"===t?"transitionend":t:z+t.charAt(0).toUpperCase()+t.substr(1))}function l(t,e,i,o){t.addEventListener(e,i,{passive:!1,capture:!!o})}function c(t,e,i,o){t.removeEventListener(e,i,{passive:!1,capture:!!o})}function h(t){for(var e=0,i=0;t;)e-=t.offsetLeft,i-=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}function u(t){var e=t.getBoundingClientRect();return{left:-(e.left+window.pageXOffset),top:-(e.top+window.pageYOffset)}}function p(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1}function d(t,e){var i=document.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)}function m(t){function e(){r=document.createEvent("Event"),r.initEvent(i,a,l),n(r,s)}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",o=void 0;"mouseup"===t.type||"mousecancel"===t.type?o=t:"touchend"!==t.type&&"touchcancel"!==t.type||(o=t.changedTouches[0]);var s={};o&&(s.screenX=o.screenX||0,s.screenY=o.screenY||0,s.clientX=o.clientX||0,s.clientY=o.clientY||0);var r=void 0,a=!0,l=!0;if("undefined"!=typeof MouseEvent)try{r=new MouseEvent(i,n({bubbles:a,cancelable:l},s))}catch(t){e()}else e();r.forwardedTouchEvent=!0,r._constructed=!0,t.target.dispatchEvent(r)}function v(t){m(t,"dblclick")}function g(t,e){e.firstChild?y(t,e.firstChild):e.appendChild(t)}function y(t,e){e.parentNode.insertBefore(t,e)}function b(t,e){t.removeChild(e)}function w(t,e,i,o,n,s,r){var a=t-e,l=Math.abs(a)/i,c=r.deceleration,h=r.itemHeight,u=r.swipeBounceTime,p=r.wheel,f=r.swipeTime,d=f,m=p?4:15,v=t+l/c*(a<0?-1:1);return p&&h&&(v=Math.round(v/h)*h),v<o?(v=s?Math.max(o-s/4,o-s/m*l):o,d=u):v>n&&(v=s?Math.min(n+s/4,n+s/m*l):n,d=u),{destination:Math.round(v),duration:d}}function x(){}function S(t){console.error("[BScroll warn]: "+t)}function _(t,e){if(!t)throw new Error("[BScroll] "+e)}function T(t){var e=document.createElement("div"),i=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",i.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",i.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(i),e}function M(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function P(t){if(t&&t.classList)return t.classList.contains("tombstone")}function E(t,e){var i=this;this.options=e,_("function"==typeof this.options.createTombstone,"Infinite scroll need createTombstone Function to create tombstone"),_("function"==typeof this.options.fetch,"Infinite scroll need fetch Function to fetch new data."),_("function"==typeof this.options.render,"Infinite scroll need render Function to render each item."),this.firstAttachedItem=0,this.lastAttachedItem=0,this.anchorScrollTop=0,this.anchorItem={index:0,offset:0},this.tombstoneHeight=0,this.tombstoneWidth=0,this.tombstones=[],this.items=[],this.loadedItems=0,this.requestInProgress=!1,this.hasMore=!0,this.scroller=t,this.wrapperEl=this.scroller.wrapper,this.scrollerEl=this.scroller.scroller,this.scroller.on("scroll",function(){i.onScroll()}),this.scroller.on("resize",function(){i.onResize()}),this.onResize()}function Y(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||S("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||S("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(t,e)}var X=function(){function t(t,e){var i=[],o=!0,n=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(o=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){n=!0,s=t}finally{try{!o&&a.return&&a.return()}finally{if(n)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)},O="undefined"!=typeof window,k=O&&navigator.userAgent.toLowerCase(),D=k&&/wechatdevtools/.test(k),A=k&&k.indexOf("android")>0,I=O&&document.createElement("div").style,z=function(){if(!O)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==I[t[e]])return e;return!1}(),j=a("transform"),L=O&&a("perspective")in I,B=O&&("ontouchstart"in window||D),N=!1!==j,W=O&&a("transition")in I,H={transform:j,transitionTimingFunction:a("transitionTimingFunction"),transitionDuration:a("transitionDuration"),transitionDelay:a("transitionDelay"),transformOrigin:a("transformOrigin"),transitionEnd:a("transitionEnd")},R=1,F={touchstart:R,touchmove:R,touchend:R,mousedown:2,mousemove:2,mouseup:2},U={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:B,disableTouch:!B,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},V={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},$=function(){return O?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:x}(),q=function(){return O?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:x}(),K=1,G=-1,J=1,Z=-1,Q=1,tt=3;M.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},M.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},M.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var o=t?250:500;t=t?"1":"0",this.wrapperStyle[H.transitionDuration]=o+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},M.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[H.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var o=Math.round(this.sizeRatioX*this.scroller.x);if(o<0){this.transitionTime(500);var n=Math.max(this.indicatorWidth+3*o,8);this.indicatorStyle.width=n+"px",o=0}else if(o>this.maxPosX){this.transitionTime(500);var s=Math.max(this.indicatorWidth-3*(o-this.maxPosX),8);this.indicatorStyle.width=s+"px",o=this.maxPosX+this.indicatorWidth-s}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=o,this.scroller.options.useTransform?this.indicatorStyle[H.transform]="translateX("+o+"px)"+this.scroller.translateZ:this.indicatorStyle.left=o+"px"}},M.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[H.transitionDuration]=t+"ms"},M.prototype.transitionTimingFunction=function(t){this.indicatorStyle[H.transitionTimingFunction]=t},M.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},M.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=o(),this._handleMoveEvents(l),this.scroller.trigger("beforeScrollStart")},M.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var o=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var n=this.x+i,s=this.y+o;this._pos(n,s)},M.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(c);var e=this.scroller.options.snap;if(e){var i=e.speed,o=e.easing,n=void 0===o?V.bounce:o,s=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-s.x),1e3),Math.min(Math.abs(this.scroller.y-s.y),1e3)),300);this.scroller.x===s.x&&this.scroller.y===s.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=s,this.scroller.scrollTo(s.x,s.y,r,n))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},M.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},M.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},M.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},M.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},M.prototype._removeDOMEvents=function(){var t=c;this._handleDOMEvents(t),this._handleMoveEvents(t)},M.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},M.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var et=2e3;E.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.wrapperEl.offsetHeight),o=this.anchorItem.index,n=i.index;e<0?(o-=30,n+=10):(o-=10,n+=30),this.fill(o,n),this.maybeRequestContent()},E.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;e<this.items.length;e++)this.items[e].height=this.items[e].width=0;this.onScroll()},E.prototype.fill=function(t,e){this.firstAttachedItem=Math.max(0,t),this.hasMore||(e=Math.min(e,this.items.length)),this.lastAttachedItem=e,this.attachContent()},E.prototype.maybeRequestContent=function(){var t=this;if(!this.requestInProgress&&this.hasMore){var e=this.lastAttachedItem-this.loadedItems;e<=0||(this.requestInProgress=!0,this.options.fetch(e).then(function(e){if(t.requestInProgress=!1,e)t.addContent(e);else{t.hasMore=!1;var i=t._removeTombstones(),o=0;t.anchorItem.index<=t.items.length?(o=t._fixScrollPosition(),t._setupAnimations({},o),t.scroller.resetPosition(t.scroller.options.bounceTime)):(t.anchorItem.index-=i,o=t._fixScrollPosition(),t._setupAnimations({},o),t.scroller.stop(),t.scroller.resetPosition(),t.onScroll())}}))}},E.prototype.addContent=function(t){for(var e=0;e<t.length;e++)this.items.length<=this.loadedItems&&this._addItem(),this.items[this.loadedItems++].data=t[e];this.attachContent(),this.maybeRequestContent()},E.prototype.attachContent=function(){var t=this._collectUnusedNodes(),e=this._createDOMNodes(t);this._cleanupUnusedNodes(t),this._cacheNodeSize();var i=this._fixScrollPosition();this._setupAnimations(e,i)},E.prototype.resetMore=function(){this.hasMore=!0},E.prototype._removeTombstones=function(){for(var t=void 0,e=0,i=this.items.length,o=0;o<i;o++){var n=this.items[o].node,s=this.items[o].data;n&&!P(n)||s||(t||(t=o),n&&this.scrollerEl.removeChild(n))}return e=i-t,this.items.splice(t),this.lastAttachedItem=Math.min(this.lastAttachedItem,this.items.length),e},E.prototype._collectUnusedNodes=function(){for(var t=[],e=0;e<this.items.length;e++)if(e!==this.firstAttachedItem){var i=this.items[e].node;i&&(P(i)?(this.tombstones.push(i),this.tombstones[this.tombstones.length-1].style.display="none"):t.push(i)),this.items[e].node=null}else e=this.lastAttachedItem-1;return t},E.prototype._createDOMNodes=function(t){for(var e={},i=this.firstAttachedItem;i<this.lastAttachedItem;i++){for(;this.items.length<=i;)this._addItem();var o=this.items[i].node,n=this.items[i].data;if(o){if(!P(o)||!n)continue;o.style.zIndex=1,e[i]=[o,this.items[i].top-this.anchorScrollTop],this.items[i].node=null}var s=n?this.options.render(n,t.pop()):this._getTombStone();s.style.position="absolute",this.items[i].top=-1,this.scrollerEl.appendChild(s),this.items[i].node=s}return e},E.prototype._cleanupUnusedNodes=function(t){for(;t.length;)this.scrollerEl.removeChild(t.pop())},E.prototype._cacheNodeSize=function(){for(var t=this.firstAttachedItem;t<this.lastAttachedItem;t++)this.items[t].data&&!this.items[t].height&&(this.items[t].height=this.items[t].node.offsetHeight,this.items[t].width=this.items[t].node.offsetWidth)},E.prototype._fixScrollPosition=function(){this.anchorScrollTop=0;for(var t=0;t<this.anchorItem.index;t++)this.anchorScrollTop+=this.items[t].height||this.tombstoneHeight;this.anchorScrollTop+=this.anchorItem.offset;for(var e=this.anchorScrollTop-this.anchorItem.offset,i=this.anchorItem.index;i>this.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},E.prototype._setupAnimations=function(t,e){var i=this;for(var o in t){var n=t[o];this.items[o].node.style.transform="translateY("+(this.anchorScrollTop+n[1])+"px) scale("+this.tombstoneWidth/this.items[o].width+", "+this.tombstoneHeight/this.items[o].height+")",this.items[o].node.offsetTop,n[0].offsetTop,this.items[o].node.style.transition="transform 200ms"}for(var s=this.firstAttachedItem;s<this.lastAttachedItem;s++){var r=t[s];if(r){var a=r[0];a.style.transition="transform 200ms, opacity 200ms",a.style.transform="translateY("+e+"px) scale("+this.items[s].width/this.tombstoneWidth+", "+this.items[s].height/this.tombstoneHeight+")",a.style.opacity=0}e!==this.items[s].top&&(r||(this.items[s].node.style.transition=""),this.items[s].node.style.transform="translateY("+e+"px)"),this.items[s].top=e,e+=this.items[s].height||this.tombstoneHeight}this.scroller.maxScrollY=-(e-this.wrapperEl.offsetHeight+(this.hasMore?et:0)),setTimeout(function(){for(var e in t){var o=t[e];o[0].style.display="none",i.tombstones.push(o[0])}},200)},E.prototype._getTombStone=function(){var t=this.tombstones.pop();return t?(t.style.display="",t.style.opacity=1,t.style.transform="",t.style.transition="",t):this.options.createTombstone()},E.prototype._addItem=function(){this.items.push({data:null,node:null,height:0,width:0,top:0})},E.prototype._calculateAnchoredItem=function(t,e){if(0===e)return t;var i=t.index,o=0;if((e+=t.offset)<0){for(;e<0&&i>0&&this.items[i-1].height;)e+=this.items[i-1].height,i--;o=Math.max(-i,Math.ceil(Math.min(e,0)/this.tombstoneHeight))}else{for(;e>0&&i<this.items.length&&this.items[i].height&&this.items[i].height<e;)e-=this.items[i].height,i++;(i>=this.items.length||!this.items[i].height)&&(o=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return i+=o,e-=o*this.tombstoneHeight,{index:i,offset:e}},function(t){t.prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype.setScale=function(t){this.lastScale=s(this.scale)?t:this.scale,this.scale=t},t.prototype._handleOptions=function(t){this.options=n({},U,t),this.translateZ=this.options.HWCompositing&&L?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&W,this.options.useTransform=this.options.useTransform&&N,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=c;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),B&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,H.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var o=t.scroller.children.length?t.scroller.children:[t.scroller],n=e&&!t.pulling?"none":"auto",s=0;s<o.length;s++)o[s].style.pointerEvents=n}})}},t.prototype._handleAutoBlur=function(){this.on("scrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var e=void 0,i=new MutationObserver(function(i){if(!t._shouldNotRefresh()){for(var o=!1,n=!1,s=0;s<i.length;s++){var r=i[s];if("attributes"!==r.type){o=!0;break}if(r.target!==t.scroller){n=!0;break}}o?t.refresh():n&&(clearTimeout(e),e=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),o={attributes:!0,childList:!0,subtree:!0};i.observe(this.scroller,o),this.on("destroy",function(){i.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>this.minScrollX||this.x<this.maxScrollX||this.y>this.minScrollY||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){i=p(this.scroller);var t=i.width,s=i.height;o===t&&n===s||this.refresh(),o=t,n=s,e.call(this)}}function e(){var e=this;setTimeout(function(){t.call(e)},1e3)}var i=p(this.scroller),o=i.width,n=i.height;e.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t),this.options.zoom&&t.touches&&t.touches.length>1&&this._zoomStart(t);break;case"touchmove":case"mousemove":this.options.zoom&&t.touches&&t.touches.length>1?this._zoom(t):this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this.scaled?this._zoomEnd(t):this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(f(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t="static"===window.getComputedStyle(this.wrapper,null).position,e=p(this.wrapper);this.wrapperWidth=e.width,this.wrapperHeight=e.height;var i=p(this.scroller);this.scrollerWidth=Math.round(i.width*this.scale),this.scrollerHeight=Math.round(i.height*this.scale),this.relativeX=i.left,this.relativeY=i.top,t&&(this.relativeX-=e.left,this.relativeY-=e.top),this.minScrollX=0,this.minScrollY=0;var o=this.options.wheel;o?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=o.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.options.infinity||(this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.maxScrollX<0?(this.maxScrollX-=this.relativeX,this.minScrollX=-this.relativeX):this.scale>1&&(this.maxScrollX=this.maxScrollX/2-this.relativeX,this.minScrollX=this.maxScrollX),this.maxScrollY<0?(this.maxScrollY-=this.relativeY,this.minScrollY=-this.relativeY):this.scale>1&&(this.maxScrollY=this.maxScrollY/2-this.relativeY,this.minScrollY=this.maxScrollY)),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<this.minScrollX,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<this.minScrollY,this.hasHorizontalScroll||(this.maxScrollX=this.minScrollX,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=this.minScrollY,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=h(this.wrapper),this.trigger("refresh"),!this.scaled&&this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(Y),function(t){t.prototype._start=function(t){var e=F[t.type];if((e===R||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==e)){this.initiated=e,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=o(),this.options.wheel&&(this.target=t.target),this.stop();var i=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches?t.touches[0]:t,i=e.pageX-this.pointX,n=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=n;var s=Math.abs(this.distX),r=Math.abs(this.distY),a=o();if(!(a-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&s<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(s>r+this.options.directionLockThreshold?this.directionLocked="h":r>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);n=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,n=this.hasVerticalScroll?n:0,this.movingDirectionX=i>0?Z:i<0?J:0,this.movingDirectionY=n>0?G:n<0?K:0;var l=this.x+i,c=this.y+n,h=!1,u=!1,p=!1,f=!1,d=this.options.bounce;!1!==d&&(h=void 0===d.top||d.top,u=void 0===d.bottom||d.bottom,p=void 0===d.left||d.left,f=void 0===d.right||d.right),(l>this.minScrollX||l<this.maxScrollX)&&(l=l>this.minScrollX&&p||l<this.maxScrollX&&f?this.x+i/3:l>this.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||c<this.maxScrollY)&&(c=c>this.minScrollY&&h||c<this.maxScrollY&&u?this.y+n/3:c>this.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,c),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,this.options.probeType===Q&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>Q&&this.trigger("scroll",{x:this.x,y:this.y});var m=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,v=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,g=this.pointX-m,y=this.pointY-v;(g>document.documentElement.clientWidth-this.options.momentumLimitDistance||g<this.options.momentumLimitDistance||y<this.options.momentumLimitDistance||y>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),n=e-this.absStartX,s=i-this.absStartY;if(this.directionX=n>0?Z:n<0?J:0,this.directionY=s>0?G:s<0?K:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,V.bounce)){this._translate(e,i),this.endTime=o();var r=this.endTime-this.startTime,a=Math.abs(e-this.startX),l=Math.abs(i-this.startY);if(this._events.flick&&r<this.options.flickLimitTime&&a<this.options.flickLimitDistance&&l<this.options.flickLimitDistance)return void this.trigger("flick");var c=0;if(this.options.momentum&&r<this.options.momentumLimitTime&&(l>this.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var h=!1,u=!1,p=!1,d=!1,m=this.options.bounce;!1!==m&&(h=void 0===m.top||m.top,u=void 0===m.bottom||m.bottom,p=void 0===m.left||m.left,d=void 0===m.right||m.right);var v=this.directionX===Z&&p||this.directionX===J&&d?this.wrapperWidth:0,g=this.directionY===G&&h||this.directionY===K&&u?this.wrapperHeight:0,y=this.hasHorizontalScroll?w(this.x,this.startX,r,this.maxScrollX,this.minScrollX,v,this.options):{destination:e,duration:0},b=this.hasVerticalScroll?w(this.y,this.startY,r,this.maxScrollY,this.minScrollY,g,this.options):{destination:i,duration:0};e=y.destination,i=b.destination,c=Math.max(y.duration,b.duration),this.isInTransition=!0}else this.options.wheel&&(i=Math.round(i/this.itemHeight)*this.itemHeight,c=this.options.wheel.adjustTime||400);var x=V.swipe;if(this.options.snap){var S=this._nearestSnap(e,i);this.currentPage=S,c=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-S.x),1e3),Math.min(Math.abs(i-S.y),1e3)),300),e=S.x,i=S.y,this.directionX=0,this.directionY=0,x=this.options.snap.easing||V.bounce}if(e!==this.x||i!==this.y)return(e>this.minScrollX||e<this.maxScrollX||i>this.minScrollY||i<this.maxScrollY)&&(x=V.swipeBounce),void this.scrollTo(e,i,c,x);this.options.wheel&&(this.selectedIndex=Math.round(Math.abs(this.y/this.itemHeight))),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var e=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.classList.contains(this.options.wheel.wheelWrapperClass)){var i=Math.abs(Math.round(this.y/this.itemHeight)),n=Math.round((this.pointY+u(this.wrapper).top-this.wrapperHeight/2)/this.itemHeight);this.target=this.items[i+n]}return this.scrollToElement(this.target,this.options.wheel.adjustTime||400,!0,!0,V.swipe),!0}if(!e){var s=this.options.dblclick,r=!1;if(s&&this.lastClickTime){var a=s.delay,l=void 0===a?300:a;o()-this.lastClickTime<l&&(r=!0,v(t))}return this.options.tap&&d(t,this.options.tap),this.options.click&&!f(t.target,this.options.preventDefaultException)&&m(t),this.lastClickTime=r?null:o(),!0}return!1}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(A&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var i=e.getComputedPosition();if(e.trigger("scroll",i),!e.isInTransition)return void e.trigger("scrollEnd",i);e.probeTimer=$(t)}q(this.probeTimer),this.probeTimer=$(t);var e=this},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[H.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[H.transitionDuration]=t+"ms";if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[H.transitionTimingFunction]=t,this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[H.transitionTimingFunction]=t;if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),(!this.pulling||this.movingDirectionY===K)&&!this.resetPosition(this.options.bounceTime,V.bounce)&&(this.isInTransition=!1,this.options.probeType!==tt&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,e,i){if(_(!s(t)&&!s(e),"Translate x or y is null or undefined."),s(i)&&(i=this.scale),this.options.useTransform?this.scrollerStyle[H.transform]="translate("+t+"px,"+e+"px) scale("+i+")"+this.translateZ:(t=Math.round(t),e=Math.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.options.wheel)for(var o=this.options.wheel.rotate,n=void 0===o?25:o,r=0;r<this.items.length;r++){var a=n*(e/this.itemHeight+r);this.items[r].style[H.transform]="rotateX("+a+"deg)"}if(this.x=t,this.y=e,this.setScale(i),this.indicators)for(var l=0;l<this.indicators.length;l++)this.indicators[l].updatePosition()},t.prototype._animate=function(t,e,i,n){function s(){var f=o();if(f>=p)return r.isAnimating=!1,r._translate(t,e,h),r.trigger("scroll",{x:r.x,y:r.y}),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));f=(f-u)/i;var d=n(f),m=(t-a)*d+a,v=(e-l)*d+l,g=(h-c)*d+c;r._translate(m,v,g),r.isAnimating&&(r.animateTimer=$(s)),r.options.probeType===tt&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,l=this.y,c=this.lastScale,h=this.scale,u=o(),p=u+i;this.isAnimating=!0,q(this.animateTimer),s()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,o)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;this.isInTransition=this.options.useTransition&&i>0&&(t!==this.x||e!==this.y),!i||this.options.useTransition?(this._transitionTimingFunction(o.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===tt&&this._startProbe(),i||t===this.x&&e===this.y||(this.trigger("scroll",{x:t,y:e}),this._reflow=document.body.offsetHeight,this.resetPosition(this.options.bounceTime,V.bounce)||this.trigger("scrollEnd",{x:t,y:e})),this.options.wheel&&(e>this.minScrollY?this.selectedIndex=0:e<this.maxScrollY?this.selectedIndex=this.items.length-1:this.selectedIndex=Math.round(Math.abs(e/this.itemHeight)))):this._animate(t,e,i,o.fn)},t.prototype.scrollToElement=function(t,e,i,o,n){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.classList.contains(this.options.wheel.wheelItemClass))){var s=h(t);s.left-=this.wrapperOffset.left,s.top-=this.wrapperOffset.top,!0===i&&(i=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===o&&(o=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),s.left-=i||0,s.top-=o||0,s.left=s.left>this.minScrollX?this.minScrollX:s.left<this.maxScrollX?this.maxScrollX:s.left,s.top=s.top>this.minScrollY?this.minScrollY:s.top<this.maxScrollY?this.maxScrollY:s.top,this.options.wheel&&(s.top=Math.round(s.top/this.itemHeight)*this.itemHeight),this.scrollTo(s.left,s.top,e,n)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.bounce,i=this.x,o=Math.round(i);!this.hasHorizontalScroll||o>this.minScrollX?i=this.minScrollX:o<this.maxScrollX&&(i=this.maxScrollX);var n=this.y,s=Math.round(n);return!this.hasVerticalScroll||s>this.minScrollY?n=this.minScrollY:s<this.maxScrollY&&(n=this.maxScrollY),(i!==this.x||n!==this.y)&&(this.scrollTo(i,n,t,e),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),e=void 0,i=void 0;return this.options.useTransform?(t=t[H.transform].split(")")[0].split(", "),e=+(t[12]||t[4]),i=+(t[13]||t[5])):(e=+t.left.replace(/[^-\d.]/g,""),i=+t.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1,q(this.probeTimer);var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[Math.round(-t.y/this.itemHeight)]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,q(this.animateTimer),this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),q(this.options.useTransition?this.probeTimer:this.animateTimer),this._removeDOMEvents(),this._events={}}}(Y),function(t){t.prototype.on=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(o,arguments)}var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var o=i.length;o--;)(i[o][0]===e||i[o][0]&&i[o][0].fn===e)&&(i[o][0]=void 0)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,o=[].concat(C(e)),n=0;n<i;n++){var s=o[n],r=X(s,2),a=r[0],l=r[1];a&&a.apply(l,[].slice.call(arguments,1))}}}(Y),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var e=this.options.snap;if(e.loop){var i=this.scroller.children;i.length>1?(g(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var o=e.el;"string"==typeof o&&(o=this.scroller.querySelectorAll(o)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,n=e.stepY||t.wrapperHeight,s=0,r=void 0,a=void 0,l=void 0,c=0,h=void 0,u=0,f=void 0,d=void 0;if(o)for(h=o.length,f=-1;c<h;c++)d=p(o[c]),(0===c||d.left<=p(o[c-1]).left)&&(u=0,f++),t.pages[u]||(t.pages[u]=[]),s=Math.max(-d.left,t.maxScrollX),r=Math.max(-d.top,t.maxScrollY),a=s-Math.round(d.width/2),l=r-Math.round(d.height/2),t.pages[u][f]={x:s,y:r,width:d.width,height:d.height,cx:a,cy:l},s>t.maxScrollX&&u++;else for(a=Math.round(i/2),l=Math.round(n/2);s>-t.scrollerWidth;){for(t.pages[c]=[],h=0,r=0;r>-t.scrollerHeight;)t.pages[c][h]={x:Math.max(s,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:i,height:n,cx:s-a,cy:r-l},r-=n,h++;s-=i,c++}t._checkSnapLoop();var m=e._loopX?1:0,v=e._loopY?1:0;t._goToPage(t.currentPage.pageX||m,t.currentPage.pageY||v,0);var g=e.threshold;g%1==0?(t.snapThresholdX=g,t.snapThresholdY=g):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*g),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*g))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(b(t.scroller,i[i.length-1]),b(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&this.pages.length&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&S("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>this.minScrollX?t=this.minScrollX:t<this.maxScrollX&&(t=this.maxScrollX),e>this.minScrollY?e=this.minScrollY:e<this.maxScrollY&&(e=this.maxScrollY);for(var o=this.pages.length;i<o;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}o=this.pages[i].length;for(var n=0;n<o;n++)if(e>=this.pages[0][n].cy){e=this.pages[0][n].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),n===this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),e=this.pages[0][n].y),{x:t,y:e,pageX:i,pageY:n}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments[3],n=this.options.snap;if(n&&this.pages&&this.pages.length&&(o=o||n.easing||V.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;i=void 0===i?n.speed||Math.max(Math.max(Math.min(Math.abs(s-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):i,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,i,o)}},t.prototype.goToPage=function(t,e,i,o){var n=this.options.snap;if(n&&this.pages&&this.pages.length){if(n.loop){var s=void 0;n._loopX?(s=this.pages.length-2,t>=s?t=s-1:t<0&&(t=0),t+=1):(s=this.pages[0].length-2,e>=s?e=s-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,o)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,o=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,o++),this._goToPage(i,o,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,o=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,o--),this._goToPage(i,o,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?n({},this.currentPage,{pageX:this.currentPage.pageX-1}):n({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(Y),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,S("wheel option selectedIndex is required!"))}}(Y),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,o=void 0===i||i,n=e.interactive,s=void 0!==n&&n;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:T("horizontal"),direction:"horizontal",fade:o,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.options.scrollY&&(r={el:T("vertical"),direction:"vertical",fade:o,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.on("refresh",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].refresh()}),o&&(this.on("scrollEnd",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollCancel",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0)}),this.on("beforeScrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(Y),function(t){t.prototype._initPullDown=function(){this.options.probeType=tt},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,o=t.stop,n=void 0===o?40:o;return!(this.directionY!==G||this.y<i)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,n,this.options.bounceTime,V.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,V.bounce)},t.prototype.openPullDown=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1}}(Y),function(t){t.prototype._initPullUp=function(){this.options.probeType=tt,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,o=void 0===i?0:i;this.movingDirectionY===K&&t.y<=this.maxScrollY+o&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(Y),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(l),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),clearTimeout(t.mouseWheelEndTimer),t._handleMouseWheelEvent(c)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1;var i=this.options.mouseWheel,o=i.speed,n=void 0===o?20:o,s=i.invert,r=void 0!==s&&s,a=i.easeTime,l=void 0===a?300:a;clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||l||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var c=void 0,h=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(c=-t.deltaX*n,h=-t.deltaY*n):(c=-t.deltaX,h=-t.deltaY);break;case"wheelDeltaX"in t:c=t.wheelDeltaX/120*n,h=t.wheelDeltaY/120*n;break;case"wheelDelta"in t:c=h=t.wheelDelta/120*n;break;case"detail"in t:c=h=-t.detail/3*n;break;default:return}var u=r?-1:1;c*=u,h*=u,this.hasVerticalScroll||(c=h,h=0);var p=void 0,f=void 0;if(this.options.snap)return p=this.currentPage.pageX,f=this.currentPage.pageY,c>0?p--:c<0&&p++,h>0?f--:h<0&&f++,void this._goToPage(p,f);p=this.x+Math.round(this.hasHorizontalScroll?c:0),f=this.y+Math.round(this.hasVerticalScroll?h:0),this.movingDirectionX=this.directionX=c>0?-1:c<0?1:0,this.movingDirectionY=this.directionY=h>0?-1:h<0?1:0,p>this.minScrollX?p=this.minScrollX:p<this.maxScrollX&&(p=this.maxScrollX),f>this.minScrollY?f=this.minScrollY:f<this.maxScrollY&&(f=this.maxScrollY);var d=this.y===f;this.scrollTo(p,f,l,V.swipe),this.trigger("scroll",{x:this.x,y:this.y}),clearTimeout(this.mouseWheelEndTimer),d&&(this.mouseWheelEndTimer=setTimeout(function(){e.trigger("scrollEnd",{x:e.x,y:e.y})},l))}}}(Y),function(t){t.prototype._initZoom=function(){var t=this.options.zoom,e=t.start,i=void 0===e?1:e,o=t.min,n=void 0===o?1:o,s=t.max,r=void 0===s?4:s;this.scale=Math.min(Math.max(i,n),r),this.setScale(this.scale),this.scrollerStyle[H.transformOrigin]="0 0"},t.prototype._zoomTo=function(t,e,i,o){this.scaled=!0;var n=t/(o||this.scale);this.setScale(t),this.refresh();var s=Math.round(this.startX-(e-this.relativeX)*(n-1)),r=Math.round(this.startY-(i-this.relativeY)*(n-1));s>this.minScrollX?s=this.minScrollX:s<this.maxScrollX&&(s=this.maxScrollX),r>this.minScrollY?r=this.minScrollY:r<this.maxScrollY&&(r=this.maxScrollY),this.x===s&&this.y===r||this.scrollTo(s,r,this.options.bounceTime),this.scaled=!1},t.prototype.zoomTo=function(t,e,i){var o=u(this.wrapper),n=o.left,s=o.top,r=e+n-this.x,a=i+s-this.y;this._zoomTo(t,r,a)},t.prototype._zoomStart=function(t){var e=t.touches[0],i=t.touches[1],o=Math.abs(e.pageX-i.pageX),n=Math.abs(e.pageY-i.pageY);this.startDistance=r(o,n),this.startScale=this.scale;var s=u(this.wrapper),a=s.left,l=s.top;this.originX=Math.abs(e.pageX+i.pageX)/2+a-this.x,this.originY=Math.abs(e.pageY+i.pageY)/2+l-this.y,this.trigger("zoomStart")},t.prototype._zoom=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches[0],i=t.touches[1],o=Math.abs(e.pageX-i.pageX),n=Math.abs(e.pageY-i.pageY),s=r(o,n),a=s/this.startDistance*this.startScale;this.scaled=!0;var l=this.options.zoom,c=l.min,h=void 0===c?1:c,u=l.max,p=void 0===u?4:u;a<h?a=.5*h*Math.pow(2,a/h):a>p&&(a=2*p*Math.pow(.5,p/a));var f=a/this.startScale,d=this.startX-(this.originX-this.relativeX)*(f-1),m=this.startY-(this.originY-this.relativeY)*(f-1);this.setScale(a),this.scrollTo(d,m,0)}},t.prototype._zoomEnd=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.isInTransition=!1,this.isAnimating=!1,this.initiated=0;var e=this.options.zoom,i=e.min,o=void 0===i?1:i,n=e.max,s=void 0===n?4:n,r=this.scale>s?s:this.scale<o?o:this.scale;this._zoomTo(r,this.originX,this.originY,this.startScale),this.trigger("zoomEnd")}}}(Y),function(t){t.prototype._initInfinite=function(){this.options.probeType=3,this.maxScrollY=-et,this.infiniteScroller=new E(this,this.options.infinity)}}(Y),Y.Version="1.12.6",e.a=Y},152:function(t,e,i){"use strict";var o=i(104),n=i(73),s=i(25),r=i(116);e.a={name:"ActGoldLayer",mixins:[n.a,s.a,r.a],components:{ActPopup:o.a},props:{title:{type:String,default:""},mask:{type:Boolean,default:!0},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},closable:{type:Boolean,default:!0},brandColor:{type:String,default:""}},methods:{close:function(){this.$emit("close")}}}},1523:function(t,e,i){"use strict";var o=i(149),n=i(136),s=i(25),r={forward:"可转发",applicant:"投保人",insured:"被保险人",beneficiary:"受益人",agent:"代理人",guarder:"监护人"},a=function(t){return{applicant:t+"_tbrxx_zhankai",insureds:t+"_bbrxx_zhankai",renewalBank:t+"_xfyhzh_zhankai",beneficiaries:t+"_syrxx_zhankai",upcerts:t+"_zjsc_zhankai",recording:t+"_slsm_zhankai",payfee:t+"_zfxesm_zhankai",receipt:t+"_hz_zhankai",recontact:t+"_hf_zhankai",finishRecord:t+"_slwch_zhankai"}},l={buy:"填写信息",confirmBuy:"完成投保单",pay:"支付保费",finish:"投保完成"},c=["renewalBank","recording","payfee"];e.a={name:"ActGoldInsureDescDialog",mixins:[s.a],components:{ActGoldLayer:o.a,scroll:n.a},props:{title:{type:String,default:"投保流程说明"},processData:{type:Array,default:function(){return[]}},currentStep:{type:Number,default:0},themeColor:{type:String,default:"#8c7fee"},scene:{type:Number,default:1}},data:function(){return{tableData:{},tagMap:r,step:l,detailBtnEnum:c}},methods:{close:function(){this.isVisible=!1},show:function(){var t=this;this.isVisible=!0,this.$nextTick(function(){t.calculateShowFold(),t.$refs.scroll&&t.$refs.scroll.refresh()})},initTableData:function(){var t=this,e={};this.processData.forEach(function(i,o){var n={flowName:i.flowName,part:o+1,flowKey:i.flowKey,tags:1==~~i.canShare?["forward"]:[],content:[]};(i.todoList||[]).forEach(function(e){var i={todoKey:e.todoKey,todoName:e.todoName,sureFire:e.sureFire,tags:t.getTags(e.canDoRole),text:e.todoContent,hasPayRule:e.hasPayRule,unfold:!1,showBtn:!0};if(e.todoTips&&(i.todoTips=e.todoTips),e.subTodoList&&e.subTodoList.length){var o=[];e.subTodoList.forEach(function(e){o.push({todoKey:e.todoKey,todoName:e.todoName,sureFire:e.sureFire,tags:t.getTags(e.canDoRole)})}),i.subTitle=o}n.content.push(i)}),e[i.flowKey]=n}),this.tableData=e},getTags:function(t){return(t||[]).map(function(t){switch(~~t){case 1:return"applicant";case 2:return"insured";case 3:return"beneficiary";case 4:return"agent";case 5:return"guarder"}})},calculateShowFold:function(){var t=this,e=[];for(var i in this.$refs)if(i.startsWith("foldBox-")){var o=i.split("-"),n=o[1],s=o[2];e.push({part:n,index:s,el:Array.isArray(this.$refs[i])?this.$refs[i][0]:this.$refs[i]})}e.forEach(function(e){var i=e.el,o=e.part,n=e.index,s=t.tableData[o].content[n],r=i.querySelector(".fold-btn"),a=r.clientHeight,l=i.scrollHeight,h=i.clientHeight;l>h?(s.showBtn=!0,s.unfoldHeight="calc("+l+"px - "+a+"px)",s.foldHeight="calc("+h+"px - "+a+"px)"):(s.showBtn=!1,s.unfoldHeight="0",s.foldHeight="0"),s.todoTips&&c.includes(s.todoKey)&&(s.showBtn=!1)})},isShowBtn:function(t,e){var i=e.unfold,o=e.showBtn,n=e.todoTips,s=e.text;if("/"===s||"\\"===s)return!1;switch(t){case"float":return!i&&o;case"span":return i&&o||this.isShowDetailBtn(e)&&!n}},isShowDetailBtn:function(t){var e=t.todoKey,i=t.hasPayRule;if(c.includes(e))switch(e){case"renewalBank":case"payfee":return i;case"recording":return!0}return!1},operateFold:function(t){var e=t.todoKey;if(c.includes(e)){var i=void 0;switch(e){case"renewalBank":i=2,this.$emit("showPayDialog",i);break;case"payfee":i=1,this.$emit("showPayDialog",i);break;case"recording":t.unfold||(t.unfold=!0),this.$emit("showRecordDialog")}}else t.unfold=!t.unfold;var o=1===Number(this.scene)?"sx":"jdt",n=a(o);n[e]&&(t.unfold||c.includes(e))&&this.trackEvent(n[e])},trackEvent:function(t){window._xystj&&window._xystj.trackEvent(t)}},computed:{grayColor:function(){return{color:"#999999"}}},watch:{isVisible:function(t){if(!1===t)for(var e in this.tableData){var i=this.tableData[e];i.content.forEach(function(t){t.unfold=!1})}}},created:function(){this.initTableData()}}},16:function(t,e){t.exports=!0},180:function(t,e){},181:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"wrapper",staticClass:"scroll-wrapper"},[i("div",{staticClass:"scroll-content"},[t._t("default")],2)])},n=[];o._withStripped=!0},197:function(t,e){},198:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"act-gold-popup-fade"}},[i("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{mask:t.mask,center:t.center,opacity:t.opacity,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.close}},[i("transition",{attrs:{name:"act-gold-popup-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-gold-popup-container",on:{click:function(t){t.stopPropagation()}}},[t.$slots.header?i("div",{staticClass:"act-gold-popup-hd"},[t._t("header")],2):i("div",{staticClass:"act-gold-popup-hd"},[i("h3",[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.$slots.headerLeft?t._t("headerLeft"):t._e(),t._v(" "),t.$slots.headerRight?t._t("headerRight"):t.closable?i("i",{staticClass:"act-gold-popup-icon-close",on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}}):t._e()],2),t._v(" "),t._t("default")],2)])],1)],1)},n=[];o._withStripped=!0},2:function(t,e,i){"use strict";function o(t,e,i,o,n,s,r,a){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),o&&(c.functional=!0),s&&(c._scopeId=s);var h;if(r?(h=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=h):n&&(h=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),h)if(c.functional){c._injectStyles=h;var u=c.render;c.render=function(t,e){return h.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,h):[h]}return{exports:t,options:c}}e.a=o},20:function(t,e){t.exports={}},21:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2138:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(15),n=i(2139);n.a.install=function(t){t.component(n.a.name,n.a),t.prototype.$createGoldInsureDescDialog=Object(o.a)(n.a,t)},e.default=n.a},2139:function(t,e,i){"use strict";function o(t){a||i(2140)}var n=i(1523),s=i(2141),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-4fc1cde1",null);c.options.__file="src\\components\\GoldInsureDescDialog\\src\\index.vue",e.a=c.exports},2140:function(t,e){},2141:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("act-gold-layer",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{title:t.title,visible:t.isVisible,center:!1,zIndex:99},on:{close:t.close}},[o("div",{staticClass:"gradual-color"}),t._v(" "),o("article",{staticClass:"dialog-body"},[o("div",{staticClass:"tips"},[o("p",{staticClass:"tip-title"},[t._v("\n 特别说明:\n ")]),t._v(" "),o("div",{staticClass:"tip-content"},[o("div",{staticClass:"gold-tag gold-tag-forward"},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap.forward)+"\n ")])]),t._v(" "),o("span",{staticStyle:{"margin-right":"1.1rem"}},[t._v("\n 为代理人可转发的步骤\n ")]),t._v(" "),o("img",{staticClass:"required",attrs:{src:i(2142)}}),t._v(" "),o("span",[t._v("\n 为一定会产生的投保单任务\n ")])])]),t._v(" "),o("div",{staticClass:"scroll-content"},[o("scroll",{ref:"scroll",attrs:{bounce:!1}},[o("div",{staticClass:"act-gold-desc-header"},[o("div",{staticClass:"header-item"},[t._v("\n 步骤\n ")]),t._v(" "),o("div",{staticClass:"header-item"},[t._v("\n 内容\n ")]),t._v(" "),o("div",{staticClass:"header-item"},[t._v("\n 说明\n ")])]),t._v(" "),o("div",{staticClass:"table-body"},t._l(t.tableData,function(e,i){return o("div",{key:e.flowKey,staticClass:"table-body-item"},[o("div",{staticClass:"table-header"},[o("span",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(e.part+"."+t.step[i])+"\n ")]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(e.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)]),t._v(" "),o("div",{staticClass:"table-content"},t._l(e.content,function(i,n){return o("div",{key:i.todoKey+n,staticClass:"table-item"},[o("div",{staticClass:"row-item",class:{"center-cell":"/"===i.todoName||"\\"===i.todoName}},[i.subTitle&&i.subTitle.length?[o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n ")]),t._v(" "),o("ul",t._l(i.subTitle,function(i,n){return o("li",{key:i.todoKey+n},[o("div",{staticClass:"li-wrapper"},[o("div",{staticClass:"li-content"},[o("div",{staticClass:"li-bar"}),t._v(" "),o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n "),i.sureFire?o("span",{staticClass:"item-required"}):t._e()])]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(i.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)])])}),0)]:[o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n "),i.sureFire?o("span",{staticClass:"item-required"}):t._e()]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(i.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)]],2),t._v(" "),o("div",{staticClass:"row-item row-item-cell3",class:{"center-cell":"/"===i.text||"\\"===i.text}},[o("div",{ref:"foldBox-"+e.flowKey+"-"+n,refInFor:!0,staticClass:"webkit-box",class:{unfold:i.unfold,"deatil-type":t.detailBtnEnum.includes(i.todoKey)}},[o("div",{staticClass:"cell3-content"},[o("div",{staticClass:"float-box",style:{height:i.unfold?i.unfoldHeight:i.foldHeight}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn("float",i),expression:"isShowBtn('float', row)"}],staticClass:"fold-btn",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n 展开\n ")]),t._v(" "),o("div",{staticClass:"inline-block",style:e.part<t.currentStep?t.grayColor:{},domProps:{innerHTML:t._s(i.text.trim())}}),t._v(" "),i.todoTips?[o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowDetailBtn(i),expression:"isShowDetailBtn(row)"}],staticClass:"inline-block",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n 详情>\n ")]),t._v(" "),o("br"),t._v(" "),o("div",{staticClass:"inline-block todo-tip",class:{"long-todo-tip":i.showBtn&&!t.detailBtnEnum.includes(i.todoKey)}},[t._v("\n "+t._s(i.todoTips)+"\n ")])]:t._e(),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn("span",i),expression:"isShowBtn('span', row)"}],staticClass:"inline-block",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n "+t._s(t.isShowDetailBtn(i)?"详情>":"收起")+"\n ")])],2)])])])}),0)])}),0),t._v(" "),o("div",{staticClass:"margin-box"})])],1)])])],1)},n=[];o._withStripped=!0},2142:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAwCAYAAAB0WahSAAAAAXNSR0IArs4c6QAAA4JJREFUWEftlV+IVGUYxn/vmdFtzbA1yaCoLqQNDCwM2lQoo4uuCiwJZ2Z1M9vw354dNy26aSiC0JydM0qhmNR2zlRSXixI0JWwrRJdRBeGikaEKLLi9meTzTN73phN150zM3vOjEN0cebyfO/3fL95vud7X6FJP02a+1F9pUIuHm+XgezpoGMkqCDsuibMd0HfrKyfM18K740G6TQTJA2aLT9Qiji52SKi/yFIbyd4Az6Qi1Kw7gqCKK03z5FU+hm8ia99ICekYD3UVBDdYC7knrYRyWS8asLamX6UiYnvy9ZEjopjrawFMl0ztCOa6BkEWYzwAdp60B9ATfTdB+4v5SB8KU5+tR9Ek9s60OIWkNUYxtNi9w+FAtH1O25jfHwEaJkUFa6gFDDie8XO/lj6pJ2v3crE1THf1XwoBWvT5HpX5hbcyy+ibAWWTtWJ5MWxzHAgqd41eF6hqsXCEBLby6J5hzk9+gdo64064x1i3gE82YiyAXRBhYZwDtu6NxxI0vwK1VUBoTsP3DHl2qRz8iuqdwOxGffGjWWBIP9a7o6U/9Mw76COGpHdwSDdfQsYczcDK4AOYG4dR8xcKnIGZBhlMBBkupIeOhRj8NgSlOXgrQBZfs36YDbBRfkBQ4bx5Fvm6LAcsC5e31gXSNX+0dV7P66+geqrNWjGiMkLtLYNyf7MlVrENw+SMtvx9DjQVtMWEVscq3Mm224KRF9Oz2fc+w7VRYF3I/KWONbbTXdEu/fN4q+fvkH1SZ/4eZD3KycxYBgJsXOfVYNp2BFN9nyEsr5CNMYaBqwvSPUeR/Ux3/rfGPGnxM4e8+9rCERT5nY83VnZJW8MOV277RGKxdIQ9DezEYh1SKH/5+n76wbRRPo5xDuMquGbK0VmGQ/LJ/0nrn/XhLkHdEuVqzjJbONx+Tj3W0PPVzdl5vL76FlU76winpVCvq+s73S/Po+x8VOgC6vMmD3i5HsaAilt0q6+B3Hdz1GWTImLXKClpV0O7vzTf6AmzRSqn5Z/NyweuH2HZDJXGwaZhNmab+HymV3XRnrpNaTEzjm1nqYmeo4CT4BcwpAusXNHmhLWqQykzGdR1oljPT9TH9F16cW43m4MeUns3IWmPt/ABlZnQd2vpk790OURSFPDGtr3EIXR1URXExSTKCNRRqKMBDkQZSTIoaiPRBmJMhLkwP82I/8AP+sqtAP6voYAAAAASUVORK5CYII="},22:function(t,e){var i=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+o).toString(36))}},23:function(t,e,i){var o=i(29);t.exports=function(t){return Object(o(t))}},24:function(t,e){e.f={}.propertyIsEnumerable},25:function(t,e,i){"use strict";var o={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,i){e?t.show():i&&t.hide()},{immediate:!0})},methods:{show:function(){return this.isVisible=!0,this},hide:function(){return this.isVisible=!1,this}}};e.a=o},26:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},27:function(t,e,i){var o=i(8).f,n=i(6),s=i(3)("toStringTag");t.exports=function(t,e,i){t&&!n(t=i?t:t.prototype,s)&&o(t,s,{configurable:!0,value:e})}},28:function(t,e,i){t.exports={default:i(79),__esModule:!0}},29:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,e,i){var o=i(32)("wks"),n=i(22),s=i(1).Symbol,r="function"==typeof s;(t.exports=function(t){return o[t]||(o[t]=r&&s[t]||(r?s:n)("Symbol."+t))}).store=o},30:function(t,e){var i=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:i)(t)}},31:function(t,e,i){var o=i(32)("keys"),n=i(22);t.exports=function(t){return o[t]||(o[t]=n(t))}},32:function(t,e,i){var o=i(0),n=i(1),s=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:o.version,mode:i(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,i){var o=i(10);t.exports=function(t,e){if(!o(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!o(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,i){e.f=i(3)},37:function(t,e,i){var o=i(1),n=i(0),s=i(16),r=i(36),a=i(8).f;t.exports=function(t){var e=n.Symbol||(n.Symbol=s?{}:o.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},39:function(t,e,i){var o=i(40);t.exports=function(t,e,i){if(o(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,o){return t.call(e,i,o)};case 3:return function(i,o,n){return t.call(e,i,o,n)}}return function(){return t.apply(e,arguments)}}},4:function(t,e,i){"use strict";function o(t,e){if(t.findIndex)return t.findIndex(e);var i=-1;return t.some(function(t,o,n){var s=e.call(this,t,o,n);if(s)return i=o,s}),i}function n(t){return t?JSON.parse(B()(t)):t}function s(t,e){for(var i in e)t[i]&&"object"===j()(t[i])?s(t[i],e[i]):t[i]=e[i]}function r(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function l(t){return"[object Number]"===Object.prototype.toString.call(t)}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function h(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function u(t){return null===t}function p(t){return void 0!==t&&null!==t}function f(t){return void 0===t}function d(t){return"[object Error]"===Object.prototype.toString.call(t)}function m(t){return"function"==typeof t}function v(t,e,i){function o(e){var i=v,o=g;return v=g=void 0,S=e,b=t.apply(o,i)}function n(t,e){return P?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function s(t){if(P)return window.cancelAnimationFrame(t);clearTimeout(t)}function r(t){return S=t,w=n(h,e),_?o(t):b}function a(t){var i=t-x,o=t-S,n=e-i;return T?Math.min(n,y-o):n}function l(t){var i=t-x,o=t-S;return void 0===x||i>=e||i<0||T&&o>=y}function h(){var t=Date.now();if(l(t))return u(t);w=n(h,a(t))}function u(t){return w=void 0,M&&v?o(t):(v=g=void 0,b)}function p(){void 0!==w&&s(w),S=0,v=x=g=w=void 0}function f(){return void 0===w?b:u(Date.now())}function d(){return void 0!==w}function m(){for(var t=Date.now(),i=l(t),s=arguments.length,a=Array(s),c=0;c<s;c++)a[c]=arguments[c];if(v=a,g=this,x=t,i){if(void 0===w)return r(x);if(T)return w=n(h,e),o(x)}return void 0===w&&(w=n(h,e)),b}var v=void 0,g=void 0,y=void 0,b=void 0,w=void 0,x=void 0,S=0,_=!1,T=!1,M=!0,P=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,c(i)&&(_=!!i.leading,T="maxWait"in i,y=T?Math.max(+i.maxWait||0,e):y,M="trailing"in i?!!i.trailing:M),m.cancel=p,m.flush=f,m.pending=d,m}function g(t,e,i){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return c(i)&&(o="leading"in i?!!i.leading:o,n="trailing"in i?!!i.trailing:n),v(t,e,{leading:o,trailing:n,maxWait:e})}function y(t){return!!/^1\d{10}$/.test(t)}function b(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,i){return e+" "+i.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function x(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function S(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("  "):3===e?t.split("").join(" "):t}function _(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.offsetHeight;if(e){var o=t.currentStyle||getComputedStyle(t);i+=parseInt(o.marginTop||0)+parseInt(o.marginBottom||0)}return i}function T(t,e){var i=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),o=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),n=null;return i?n={r:parseInt(i[1]+i[1],16),g:parseInt(i[2]+i[2],16),b:parseInt(i[3]+i[3],16)}:o&&(n={r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}),n?void 0!==e?"rgba("+n.r+", "+n.g+", "+n.b+", "+e+")":"rgb("+n.r+", "+n.g+", "+n.b+")":""}function M(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",i=e.length,o="";t=t||32;for(var n=0;n<t;n++)o+=e.charAt(Math.floor(Math.random()*i));return o}function P(t,e){var i=e||location.href,o=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),n=i.match(o);return n&&n[2]}function E(t){var e=window.getComputedStyle(t),i="none"===e.display,o=null===t.offsetParent&&"fixed"!==e.position;return i||o}function Y(t,e,i){return Math.min(Math.max(t,e),i)}function X(t){var e=/os (\d\d?_\d(_\d)?)/,i=e.exec(t);if(!i)return null;var o=i[1].split("_").map(function(t){return parseInt(t,10)});return{major:o[0],minor:o[1],patch:o[2]||0}}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var i=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),o=e.match(i);return decodeURIComponent(o?o[2]:"")}function O(t){return t?d(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function k(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),o=0;o<t.length;o++){var n=t[o];if(!i.test(n))return;e.push(n.split("?")[0])}return e}function D(t){var e=JSON.parse(B()(t)),i=e.attrModules,o=void 0===i?{}:i,n=e.plan,s=o.applicant,a=o.insureds,l=o.hcpics,c=o.hctext,h=o.makeup,u=o.apphctext,p=o.apphcpics,f={},d=function(t){var e=null,i=null,o=null,n=null,s={},a={},l={};for(var c in t){var h=t[c].defaultValue,u=t[c].required,p=t[c].display;if(r(h)){var f=k(h);f&&(h=f)}1!==Number(u)&&1!==Number(p)||("idType"===c||"id"===c||"idValidType"===c||"idValidEndTime"===c||"idValidStartTime"===c?(e=e||{},e[c]=h):"socialInsAddr"===c||"socialInsDetail"===c||"socialInsPost"===c||"socialInsTel"===c?(i=i||{},i[c]=h):"residentAddr"===c||"residentDetail"===c||"residentPost"===c||"residentTel"===c?(o=o||{},o[c]=h):"officeAddr"===c||"officeDetail"===c||"officePost"===c||"officeTel"===c?(n=n||{},n[c]=h):"companyIdType"===c||"companyId"===c?(a=a||{},a[c]=h):"detail"===c?(l=l||{},l[c]=h):s[c]=h)}return e&&(s.certificate=e),i&&(s.socialIns=i),o&&(s.resident=o),n&&(s.office=n),a&&(s.companyCertificate=a),l&&(s.companyAddress=l),s};if(o.plan&&(n=d(o.plan)),s&&(f.applicant={},s&&(f.applicant=d(s))),a||n){f.insureds=[];for(var m=a||[""],v=0;v<m.length;v++){var g=m[v],y=null,b={};g&&(y=d(g)),y&&(b.insured=y),n&&(b.plan=n),f.insureds.push(b)}}if(c&&(f.hctext=d(c)),u&&(f.apphctext=d(u)),l&&(f.hcpics=d(l)),p&&(f.apphcpics=d(p)),h){f.makeup={};for(var w=h||[""],x=0;x<w.length;x++){var S=w[x],_=null;S&&(_=d(S)),_&&(f.makeup=I()(f.makeup,_))}}return f}i.d(e,"F",function(){return et}),i.d(e,"v",function(){return it}),e.d=o,e.c=n,e.b=s,e.o=r,e.z=a,e.x=l,e.y=c,e.p=h,e.w=u,e.q=p,e.A=f,e.r=d,e.s=m,e.a=v,e.E=g,e.u=y,e.g=b,e.e=w,e.f=x,e.h=S,e.B=_,e.n=T,e.C=M,e.l=P,e.t=E,e.D=Y,e.k=X,e.m=C,e.j=O,e.i=D;var A=i(28),I=i.n(A),z=i(76),j=i.n(z),L=i(57),B=i.n(L),N="undefined"!=typeof window,W=N&&window.navigator.userAgent.toLowerCase(),H=W&&/msie|trident/.test(W),R=W&&W.indexOf("msie 9.0")>0,F=W&&W.indexOf("edge/")>0,U=W&&W.indexOf("android")>0,V=W&&/iphone|ipad|ipod|ios/.test(W),$=W&&/chrome\/\d+/.test(W)&&!F,q=W&&/MicroMessenger/i.test(W),K=W&&/wxwork/i.test(W),G=W&&/mucxiaoyusan/i.test(W),J=W&&/muckacabao/i.test(W),Z=W&&/mucyanxuan/i.test(W),Q=G||J,tt=W&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(W),et={isIE:H,isMobile:tt,isIE9:R,isEdge:F,isAndroid:U,isIOS:V,isChrome:$,isWx:q,isWxWork:K,isApp:Q,isXysApp:G,isKcbApp:J,isYxApp:Z},it=/MucWebAutoTester/.test(window.navigator.userAgent)},40:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},41:function(t,e,i){var o=i(10),n=i(1).document,s=o(n)&&o(n.createElement);t.exports=function(t){return s?n.createElement(t):{}}},45:function(t,e,i){"use strict";var o=i(16),n=i(13),s=i(49),r=i(7),a=i(20),l=i(66),c=i(27),h=i(70),u=i(3)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,i,d,m,v,g){l(i,e,d);var y,b,w,x=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},S=e+" Iterator",_="values"==m,T=!1,M=t.prototype,P=M[u]||M["@@iterator"]||m&&M[m],E=P||x(m),Y=m?_?x("entries"):E:void 0,X="Array"==e?M.entries||P:P;if(X&&(w=h(X.call(new t)))!==Object.prototype&&w.next&&(c(w,S,!0),o||"function"==typeof w[u]||r(w,u,f)),_&&P&&"values"!==P.name&&(T=!0,E=function(){return P.call(this)}),o&&!g||!p&&!T&&M[u]||r(M,u,E),a[e]=E,a[S]=f,m)if(y={values:_?E:x("values"),keys:v?E:x("keys"),entries:Y},g)for(b in y)b in M||s(M,b,y[b]);else n(n.P+n.F*(p||T),e,y);return y}},46:function(t,e,i){var o=i(9),n=i(67),s=i(33),r=i(31)("IE_PROTO"),a=function(){},l=function(){var t,e=i(41)("iframe"),o=s.length;for(e.style.display="none",i(60).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;o--;)delete l.prototype[s[o]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(a.prototype=o(t),i=new a,a.prototype=null,i[r]=t):i=l(),void 0===e?i:n(i,e)}},47:function(t,e,i){var o=i(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},48:function(t,e,i){t.exports=!i(5)&&!i(12)(function(){return 7!=Object.defineProperty(i(41)("div"),"a",{get:function(){return 7}}).a})},49:function(t,e,i){t.exports=i(7)},5:function(t,e,i){t.exports=!i(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,e,i){var o=i(6),n=i(11),s=i(68)(!1),r=i(31)("IE_PROTO");t.exports=function(t,e){var i,a=n(t),l=0,c=[];for(i in a)i!=r&&o(a,i)&&c.push(i);for(;e.length>l;)o(a,i=e[l++])&&(~s(c,i)||c.push(i));return c}},51:function(t,e,i){var o=i(50),n=i(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,n)}},52:function(t,e,i){"use strict";var o=i(65)(!0);i(45)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=o(e,i),this._i+=t.length,{value:t,done:!1})})},53:function(t,e,i){var o=i(11),n=i(51).f,s={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return n(t)}catch(t){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==s.call(t)?a(t):n(o(t))}},54:function(t,e,i){"use strict";var o=i(1),n=i(6),s=i(5),r=i(13),a=i(49),l=i(75).KEY,c=i(12),h=i(32),u=i(27),p=i(22),f=i(3),d=i(36),m=i(37),v=i(82),g=i(77),y=i(9),b=i(10),w=i(23),x=i(11),S=i(34),_=i(21),T=i(46),M=i(53),P=i(83),E=i(35),Y=i(8),X=i(14),C=P.f,O=Y.f,k=M.f,D=o.Symbol,A=o.JSON,I=A&&A.stringify,z=f("_hidden"),j=f("toPrimitive"),L={}.propertyIsEnumerable,B=h("symbol-registry"),N=h("symbols"),W=h("op-symbols"),H=Object.prototype,R="function"==typeof D&&!!E.f,F=o.QObject,U=!F||!F.prototype||!F.prototype.findChild,V=s&&c(function(){return 7!=T(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(t,e,i){var o=C(H,e);o&&delete H[e],O(t,e,i),o&&t!==H&&O(H,e,o)}:O,$=function(t){var e=N[t]=T(D.prototype);return e._k=t,e},q=R&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},K=function(t,e,i){return t===H&&K(W,e,i),y(t),e=S(e,!0),y(i),n(N,e)?(i.enumerable?(n(t,z)&&t[z][e]&&(t[z][e]=!1),i=T(i,{enumerable:_(0,!1)})):(n(t,z)||O(t,z,_(1,{})),t[z][e]=!0),V(t,e,i)):O(t,e,i)},G=function(t,e){y(t);for(var i,o=v(e=x(e)),n=0,s=o.length;s>n;)K(t,i=o[n++],e[i]);return t},J=function(t,e){return void 0===e?T(t):G(T(t),e)},Z=function(t){var e=L.call(this,t=S(t,!0));return!(this===H&&n(N,t)&&!n(W,t))&&(!(e||!n(this,t)||!n(N,t)||n(this,z)&&this[z][t])||e)},Q=function(t,e){if(t=x(t),e=S(e,!0),t!==H||!n(N,e)||n(W,e)){var i=C(t,e);return!i||!n(N,e)||n(t,z)&&t[z][e]||(i.enumerable=!0),i}},tt=function(t){for(var e,i=k(x(t)),o=[],s=0;i.length>s;)n(N,e=i[s++])||e==z||e==l||o.push(e);return o},et=function(t){for(var e,i=t===H,o=k(i?W:x(t)),s=[],r=0;o.length>r;)!n(N,e=o[r++])||i&&!n(H,e)||s.push(N[e]);return s};R||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===H&&e.call(W,i),n(this,z)&&n(this[z],t)&&(this[z][t]=!1),V(this,t,_(1,i))};return s&&U&&V(H,t,{configurable:!0,set:e}),$(t)},a(D.prototype,"toString",function(){return this._k}),P.f=Q,Y.f=K,i(51).f=M.f=tt,i(24).f=Z,E.f=et,s&&!i(16)&&a(H,"propertyIsEnumerable",Z,!0),d.f=function(t){return $(f(t))}),r(r.G+r.W+r.F*!R,{Symbol:D});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;it.length>ot;)f(it[ot++]);for(var nt=X(f.store),st=0;nt.length>st;)m(nt[st++]);r(r.S+r.F*!R,"Symbol",{for:function(t){return n(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),r(r.S+r.F*!R,"Object",{create:J,defineProperty:K,defineProperties:G,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var rt=c(function(){E.f(1)});r(r.S+r.F*rt,"Object",{getOwnPropertySymbols:function(t){return E.f(w(t))}}),A&&r(r.S+r.F*(!R||c(function(){var t=D();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,i,o=[t],n=1;arguments.length>n;)o.push(arguments[n++]);if(i=e=o[1],(b(e)||void 0!==t)&&!q(t))return g(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!q(e))return e}),o[1]=e,I.apply(A,o)}}),D.prototype[j]||i(7)(D.prototype,j,D.prototype.valueOf),u(D,"Symbol"),u(Math,"Math",!0),u(o.JSON,"JSON",!0)},55:function(t,e,i){i(71);for(var o=i(1),n=i(7),s=i(20),r=i(3)("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 c=a[l],h=o[c],u=h&&h.prototype;u&&!u[r]&&n(u,r,c),s[c]=s.Array}},56:function(t,e,i){var o=i(13),n=i(0),s=i(12);t.exports=function(t,e){var i=(n.Object||{})[t]||Object[t],r={};r[t]=e(i),o(o.S+o.F*s(function(){i(1)}),"Object",r)}},57:function(t,e,i){t.exports={default:i(78),__esModule:!0}},59:function(t,e,i){var o=i(30),n=Math.min;t.exports=function(t){return t>0?n(o(t),9007199254740991):0}},6:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},60:function(t,e,i){var o=i(1).document;t.exports=o&&o.documentElement},61:function(t,e){},62:function(t,e,i){"use strict";function o(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var n=i(74),s=i.n(n),r=i(92),a=i.n(r),l=i(28),c=i.n(l),h=i(95),u=i.n(h),p=u.a,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,m=function(){try{if(!c.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==a()(e).map(function(t){return e[t]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===s()(c()({},o)).join("")}catch(t){return!1}}()?c.a:function(t,e){for(var i,n,s=o(t),r=1;r<arguments.length;r++){i=Object(arguments[r]);for(var a in i)f.call(i,a)&&(s[a]=i[a]);if(p){n=p(i);for(var l=0;l<n.length;l++)d.call(i,n[l])&&(s[n[l]]=i[n[l]])}}return s};e.a=m},64:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},65:function(t,e,i){var o=i(30),n=i(29);t.exports=function(t){return function(e,i){var s,r,a=String(n(e)),l=o(i),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(r=a.charCodeAt(l+1))<56320||r>57343?t?a.charAt(l):s:t?a.slice(l,l+2):r-56320+(s-55296<<10)+65536)}}},66:function(t,e,i){"use strict";var o=i(46),n=i(21),s=i(27),r={};i(7)(r,i(3)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=o(r,{next:n(1,i)}),s(t,e+" Iterator")}},67:function(t,e,i){var o=i(8),n=i(9),s=i(14);t.exports=i(5)?Object.defineProperties:function(t,e){n(t);for(var i,r=s(e),a=r.length,l=0;a>l;)o.f(t,i=r[l++],e[i]);return t}},68:function(t,e,i){var o=i(11),n=i(59),s=i(69);t.exports=function(t){return function(e,i,r){var a,l=o(e),c=n(l.length),h=s(r,c);if(t&&i!=i){for(;c>h;)if((a=l[h++])!=a)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}}},69:function(t,e,i){var o=i(30),n=Math.max,s=Math.min;t.exports=function(t,e){return t=o(t),t<0?n(t+e,0):s(t,e)}},7:function(t,e,i){var o=i(8),n=i(21);t.exports=i(5)?function(t,e,i){return o.f(t,e,n(1,i))}:function(t,e,i){return t[e]=i,t}},70:function(t,e,i){var o=i(6),n=i(23),s=i(31)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=n(t),o(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},71:function(t,e,i){"use strict";var o=i(72),n=i(64),s=i(20),r=i(11);t.exports=i(45)(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,n(1)):"keys"==e?n(0,i):"values"==e?n(0,t[i]):n(0,[i,t[i]])},"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e,i){"use strict";e.a={props:{zIndex:{type:Number,default:100},maskClosable:{type:Boolean,default:!1}}}},74:function(t,e,i){t.exports={default:i(90),__esModule:!0}},75:function(t,e,i){var o=i(22)("meta"),n=i(10),s=i(6),r=i(8).f,a=0,l=Object.isExtensible||function(){return!0},c=!i(12)(function(){return l(Object.preventExtensions({}))}),h=function(t){r(t,o,{value:{i:"O"+ ++a,w:{}}})},u=function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,o)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[o].i},p=function(t,e){if(!s(t,o)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[o].w},f=function(t){return c&&d.NEED&&l(t)&&!s(t,o)&&h(t),t},d=t.exports={KEY:o,NEED:!1,fastKey:u,getWeak:p,onFreeze:f}},76:function(t,e,i){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var n=i(84),s=o(n),r=i(86),a=o(r),l="function"==typeof a.default&&"symbol"==typeof s.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(s.default)?function(t){return void 0===t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":l(t)}},77:function(t,e,i){var o=i(26);t.exports=Array.isArray||function(t){return"Array"==o(t)}},78:function(t,e,i){var o=i(0),n=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},79:function(t,e,i){i(80),t.exports=i(0).Object.assign},8:function(t,e,i){var o=i(9),n=i(48),s=i(34),r=Object.defineProperty;e.f=i(5)?Object.defineProperty:function(t,e,i){if(o(t),e=s(e,!0),o(i),n)try{return r(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},80:function(t,e,i){var o=i(13);o(o.S+o.F,"Object",{assign:i(81)})},81:function(t,e,i){"use strict";var o=i(5),n=i(14),s=i(35),r=i(24),a=i(23),l=i(47),c=Object.assign;t.exports=!c||i(12)(function(){var t={},e={},i=Symbol(),o="abcdefghijklmnopqrst";return t[i]=7,o.split("").forEach(function(t){e[t]=t}),7!=c({},t)[i]||Object.keys(c({},e)).join("")!=o})?function(t,e){for(var i=a(t),c=arguments.length,h=1,u=s.f,p=r.f;c>h;)for(var f,d=l(arguments[h++]),m=u?n(d).concat(u(d)):n(d),v=m.length,g=0;v>g;)f=m[g++],o&&!p.call(d,f)||(i[f]=d[f]);return i}:c},82:function(t,e,i){var o=i(14),n=i(35),s=i(24);t.exports=function(t){var e=o(t),i=n.f;if(i)for(var r,a=i(t),l=s.f,c=0;a.length>c;)l.call(t,r=a[c++])&&e.push(r);return e}},83:function(t,e,i){var o=i(24),n=i(21),s=i(11),r=i(34),a=i(6),l=i(48),c=Object.getOwnPropertyDescriptor;e.f=i(5)?c:function(t,e){if(t=s(t),e=r(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return n(!o.f.call(t,e),t[e])}},84:function(t,e,i){t.exports={default:i(85),__esModule:!0}},85:function(t,e,i){i(52),i(55),t.exports=i(36).f("iterator")},86:function(t,e,i){t.exports={default:i(87),__esModule:!0}},87:function(t,e,i){i(54),i(61),i(88),i(89),t.exports=i(0).Symbol},88:function(t,e,i){i(37)("asyncIterator")},89:function(t,e,i){i(37)("observable")},9:function(t,e,i){var o=i(10);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},90:function(t,e,i){i(91),t.exports=i(0).Object.keys},91:function(t,e,i){var o=i(23),n=i(14);i(56)("keys",function(){return function(t){return n(o(t))}})},92:function(t,e,i){t.exports={default:i(93),__esModule:!0}},93:function(t,e,i){i(94);var o=i(0).Object;t.exports=function(t){return o.getOwnPropertyNames(t)}},94:function(t,e,i){i(56)("getOwnPropertyNames",function(){return i(53).f})},95:function(t,e,i){t.exports={default:i(96),__esModule:!0}},96:function(t,e,i){i(54),t.exports=i(0).Object.getOwnPropertySymbols},97:function(t,e,i){"use strict";function o(t){var e={},i={},o={};for(var l in t)if(t.hasOwnProperty(l))if(-1!==a.indexOf(l))e[l]=t[l];else if(r.test(l)){var c=r.exec(l)[1];c=Object(s.a)(c),o[c]=t[l]}else i[l]=t[l];return e.on=Object(n.a)(o,e.on),e.props=Object(n.a)(i,e.props),e}e.a=o;var n=i(62),s=i(98),r=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},98:function(t,e,i){"use strict";function o(t,e){var i=l(t,e);return i.charAt(0).toLowerCase()+i.slice(1)}e.a=o;var n=i(28),s=i.n(n),r=i(4),a=function(t){for(var e=!1,i=!1,o=!1,n=0;n<t.length;n++){var s=t[n];e&&/[a-zA-Z]/.test(s)&&s.toUpperCase()===s?(t=t.slice(0,n)+"-"+t.slice(n),e=!1,o=i,i=!0,n++):i&&o&&/[a-zA-Z]/.test(s)&&s.toLowerCase()===s?(t=t.slice(0,n-1)+"-"+t.slice(n-1),o=i,i=!1,e=!0):(e=s.toLowerCase()===s&&s.toUpperCase()!==s,o=i,i=s.toUpperCase()===s&&s.toLowerCase()!==s)}return t},l=function(t,e){if("string"!=typeof t&&!Object(r.o)(t))throw new TypeError("Expected the input to be `string | string[]`");e=s()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},99:function(t,e,i){"use strict";function o(t,e,i,o){var s=void 0,r=void 0,a=new t({render:function(t){var i=r&&r(t);return i&&!Object(n.o)(i)&&(i=[i]),t(e,s,i||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){s=t,r=e},a.updateRenderData(i,o),a.$mount(),a.init(),a.$children[0]}e.a=o;var n=i(4)}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.GoldInsureDescDialog=e():t.GoldInsureDescDialog=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(o){if(i[o])return i[o].exports;var n=i[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=2138)}({0:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},1:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},102:function(t,e,i){"use strict";var o=i(25),n=i(73);e.a={name:"ActPopup",mixins:[o.a,n.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},104:function(t,e,i){"use strict";function o(t){a||i(129)}var n=i(102),s=i(130),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,null,null);c.options.__file="src\\components\\common\\popup.vue",e.a=c.exports},11:function(t,e,i){var o=i(47),n=i(29);t.exports=function(t){return o(n(t))}},116:function(t,e,i){"use strict";function o(t){t.preventDefault()}var n={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",o,{passive:!1}):document.body.removeEventListener("touchmove",o,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",o,{passive:!1})}};e.a=n},118:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(151);e.default=o.a},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},129:function(t,e){},13:function(t,e,i){var o=i(1),n=i(0),s=i(39),r=i(7),a=i(6),l=function(t,e,i){var c,h,u,p=t&l.F,f=t&l.G,d=t&l.S,m=t&l.P,v=t&l.B,g=t&l.W,y=f?n:n[e]||(n[e]={}),b=y.prototype,w=f?o:d?o[e]:(o[e]||{}).prototype;f&&(i=e);for(c in i)(h=!p&&w&&void 0!==w[c])&&a(y,c)||(u=h?w[c]:i[c],y[c]=f&&"function"!=typeof w[c]?i[c]:v&&h?s(u,o):g&&w[c]==u?function(t){var e=function(e,i,o){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,o)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):m&&"function"==typeof u?s(Function.call,u):u,m&&((y.virtual||(y.virtual={}))[c]=u,t&l.R&&b&&!b[c]&&r(b,c,u)))};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},130:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),i("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?i("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):i("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},n=[];o._withStripped=!0},136:function(t,e,i){"use strict";function o(t){a||i(180)}var n=i(148),s=i(181),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-3349a91e",null);c.options.__file="src\\components\\common\\scroll.vue",e.a=c.exports},14:function(t,e,i){var o=i(50),n=i(33);t.exports=Object.keys||function(t){return o(t,n)}},148:function(t,e,i){"use strict";var o=i(118),n=i(150);e.a={name:"ActScroll",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},listenPullingUp:{type:Boolean,default:!1},direction:{type:String,default:"vertical"},scrollbar:{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,default:!1},useTransition:{type:Boolean,default:!0}},data:function(){return{beforePullDown:!0,isRebounding:!1,pullUpDirty:!0,pullDownStyle:"",bubbleY:0,lastTouchStart:null,fingers:0,tapTarget:null,isDouble:!1,startXd:0,startYd:0,endXd:0,endYd:0}},mounted:function(){var t=this;this.$nextTick(function(){t.initScroll()})},destroyed:function(){this.scroll&&this.scroll.destroy(),this.$emit("destroyed",this.scroll)},methods:{initScroll:function(){var t=this;if(this.$refs.wrapper){var e={probeType:this.probeType,click:this.click,scrollY:this.freeScroll||"vertical"===this.direction,scrollX:this.freeScroll||"horizontal"===this.direction,scrollbar:this.scrollbar,startY:this.startY,freeScroll:this.freeScroll,mouseWheel:this.mouseWheel,bounce:this.bounce,zoom:this.zoom,bounceTime:300,useTransition:n.a&&this.useTransition,pullUpLoad:{threshold:50}};this.scroll=new o.default(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.zoom&&(this.isDouble=!0),this.listenScrollInit&&this.$emit("scrollSuc",this.scroll),this.listenPullingUp&&this.scroll.on("pullingUp",function(){t.$emit("pullingUp")})}},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){this.refresh()}}}},149:function(t,e,i){"use strict";function o(t){a||i(197)}var n=i(152),s=i(198),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-f3b563a0",null);c.options.__file="src\\components\\common\\goldlayer.vue",e.a=c.exports},15:function(t,e,i){"use strict";function o(t,e){return function(i,o){var r=this,a=Object(n.a)(i),l=Object(s.a)(e,t,a,o),c=l.$parent,h=l.remove,u=l.show,p=l.hide;return l.remove=function(){l.$removed=!0,h&&h.call(this),c.destroy()},l.show=function(){return u&&u.call.apply(u,[this].concat(Array.prototype.slice.call(arguments))),this},l.hide=function(){return p&&p.call.apply(p,[this].concat(Array.prototype.slice.call(arguments))),this},r&&r._isVue&&r.$once("hook:beforeDestroy",function(){l.$removed||l.remove()}),l}}e.a=o;var n=i(97),s=i(99)},150:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var o=i(4),n=function(){var t=!0;if(o.F.isIOS){var e=Object(o.k)(navigator.userAgent.toLowerCase());if(!e)return t;Number(""+e.major+e.minor)>=133&&(t=!1)}return t}()},151:function(t,e,i){"use strict";function o(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function n(t){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];for(var n=0;n<i.length;n++){var s=i[n];for(var r in s)t[r]=s[r]}return t}function s(t){return void 0===t||null===t}function r(t,e){return Math.sqrt(t*t+e*e)}function a(t){return!1!==z&&("standard"===z?"transitionEnd"===t?"transitionend":t:z+t.charAt(0).toUpperCase()+t.substr(1))}function l(t,e,i,o){t.addEventListener(e,i,{passive:!1,capture:!!o})}function c(t,e,i,o){t.removeEventListener(e,i,{passive:!1,capture:!!o})}function h(t){for(var e=0,i=0;t;)e-=t.offsetLeft,i-=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}function u(t){var e=t.getBoundingClientRect();return{left:-(e.left+window.pageXOffset),top:-(e.top+window.pageYOffset)}}function p(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1}function d(t,e){var i=document.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)}function m(t){function e(){r=document.createEvent("Event"),r.initEvent(i,a,l),n(r,s)}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",o=void 0;"mouseup"===t.type||"mousecancel"===t.type?o=t:"touchend"!==t.type&&"touchcancel"!==t.type||(o=t.changedTouches[0]);var s={};o&&(s.screenX=o.screenX||0,s.screenY=o.screenY||0,s.clientX=o.clientX||0,s.clientY=o.clientY||0);var r=void 0,a=!0,l=!0;if("undefined"!=typeof MouseEvent)try{r=new MouseEvent(i,n({bubbles:a,cancelable:l},s))}catch(t){e()}else e();r.forwardedTouchEvent=!0,r._constructed=!0,t.target.dispatchEvent(r)}function v(t){m(t,"dblclick")}function g(t,e){e.firstChild?y(t,e.firstChild):e.appendChild(t)}function y(t,e){e.parentNode.insertBefore(t,e)}function b(t,e){t.removeChild(e)}function w(t,e,i,o,n,s,r){var a=t-e,l=Math.abs(a)/i,c=r.deceleration,h=r.itemHeight,u=r.swipeBounceTime,p=r.wheel,f=r.swipeTime,d=f,m=p?4:15,v=t+l/c*(a<0?-1:1);return p&&h&&(v=Math.round(v/h)*h),v<o?(v=s?Math.max(o-s/4,o-s/m*l):o,d=u):v>n&&(v=s?Math.min(n+s/4,n+s/m*l):n,d=u),{destination:Math.round(v),duration:d}}function x(){}function S(t){console.error("[BScroll warn]: "+t)}function _(t,e){if(!t)throw new Error("[BScroll] "+e)}function T(t){var e=document.createElement("div"),i=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",i.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",i.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(i),e}function M(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function P(t){if(t&&t.classList)return t.classList.contains("tombstone")}function E(t,e){var i=this;this.options=e,_("function"==typeof this.options.createTombstone,"Infinite scroll need createTombstone Function to create tombstone"),_("function"==typeof this.options.fetch,"Infinite scroll need fetch Function to fetch new data."),_("function"==typeof this.options.render,"Infinite scroll need render Function to render each item."),this.firstAttachedItem=0,this.lastAttachedItem=0,this.anchorScrollTop=0,this.anchorItem={index:0,offset:0},this.tombstoneHeight=0,this.tombstoneWidth=0,this.tombstones=[],this.items=[],this.loadedItems=0,this.requestInProgress=!1,this.hasMore=!0,this.scroller=t,this.wrapperEl=this.scroller.wrapper,this.scrollerEl=this.scroller.scroller,this.scroller.on("scroll",function(){i.onScroll()}),this.scroller.on("resize",function(){i.onResize()}),this.onResize()}function Y(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||S("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||S("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(t,e)}var X=function(){function t(t,e){var i=[],o=!0,n=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(o=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);o=!0);}catch(t){n=!0,s=t}finally{try{!o&&a.return&&a.return()}finally{if(n)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)},O="undefined"!=typeof window,k=O&&navigator.userAgent.toLowerCase(),D=k&&/wechatdevtools/.test(k),A=k&&k.indexOf("android")>0,I=O&&document.createElement("div").style,z=function(){if(!O)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==I[t[e]])return e;return!1}(),j=a("transform"),L=O&&a("perspective")in I,B=O&&("ontouchstart"in window||D),N=!1!==j,W=O&&a("transition")in I,H={transform:j,transitionTimingFunction:a("transitionTimingFunction"),transitionDuration:a("transitionDuration"),transitionDelay:a("transitionDelay"),transformOrigin:a("transformOrigin"),transitionEnd:a("transitionEnd")},R=1,F={touchstart:R,touchmove:R,touchend:R,mousedown:2,mousemove:2,mouseup:2},U={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:B,disableTouch:!B,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},V={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},$=function(){return O?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:x}(),q=function(){return O?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:x}(),K=1,G=-1,J=1,Z=-1,Q=1,tt=3;M.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},M.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},M.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var o=t?250:500;t=t?"1":"0",this.wrapperStyle[H.transitionDuration]=o+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},M.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[H.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var o=Math.round(this.sizeRatioX*this.scroller.x);if(o<0){this.transitionTime(500);var n=Math.max(this.indicatorWidth+3*o,8);this.indicatorStyle.width=n+"px",o=0}else if(o>this.maxPosX){this.transitionTime(500);var s=Math.max(this.indicatorWidth-3*(o-this.maxPosX),8);this.indicatorStyle.width=s+"px",o=this.maxPosX+this.indicatorWidth-s}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=o,this.scroller.options.useTransform?this.indicatorStyle[H.transform]="translateX("+o+"px)"+this.scroller.translateZ:this.indicatorStyle.left=o+"px"}},M.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[H.transitionDuration]=t+"ms"},M.prototype.transitionTimingFunction=function(t){this.indicatorStyle[H.transitionTimingFunction]=t},M.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},M.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=o(),this._handleMoveEvents(l),this.scroller.trigger("beforeScrollStart")},M.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var o=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var n=this.x+i,s=this.y+o;this._pos(n,s)},M.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(c);var e=this.scroller.options.snap;if(e){var i=e.speed,o=e.easing,n=void 0===o?V.bounce:o,s=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-s.x),1e3),Math.min(Math.abs(this.scroller.y-s.y),1e3)),300);this.scroller.x===s.x&&this.scroller.y===s.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=s,this.scroller.scrollTo(s.x,s.y,r,n))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},M.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},M.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},M.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},M.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},M.prototype._removeDOMEvents=function(){var t=c;this._handleDOMEvents(t),this._handleMoveEvents(t)},M.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},M.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var et=2e3;E.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.wrapperEl.offsetHeight),o=this.anchorItem.index,n=i.index;e<0?(o-=30,n+=10):(o-=10,n+=30),this.fill(o,n),this.maybeRequestContent()},E.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;e<this.items.length;e++)this.items[e].height=this.items[e].width=0;this.onScroll()},E.prototype.fill=function(t,e){this.firstAttachedItem=Math.max(0,t),this.hasMore||(e=Math.min(e,this.items.length)),this.lastAttachedItem=e,this.attachContent()},E.prototype.maybeRequestContent=function(){var t=this;if(!this.requestInProgress&&this.hasMore){var e=this.lastAttachedItem-this.loadedItems;e<=0||(this.requestInProgress=!0,this.options.fetch(e).then(function(e){if(t.requestInProgress=!1,e)t.addContent(e);else{t.hasMore=!1;var i=t._removeTombstones(),o=0;t.anchorItem.index<=t.items.length?(o=t._fixScrollPosition(),t._setupAnimations({},o),t.scroller.resetPosition(t.scroller.options.bounceTime)):(t.anchorItem.index-=i,o=t._fixScrollPosition(),t._setupAnimations({},o),t.scroller.stop(),t.scroller.resetPosition(),t.onScroll())}}))}},E.prototype.addContent=function(t){for(var e=0;e<t.length;e++)this.items.length<=this.loadedItems&&this._addItem(),this.items[this.loadedItems++].data=t[e];this.attachContent(),this.maybeRequestContent()},E.prototype.attachContent=function(){var t=this._collectUnusedNodes(),e=this._createDOMNodes(t);this._cleanupUnusedNodes(t),this._cacheNodeSize();var i=this._fixScrollPosition();this._setupAnimations(e,i)},E.prototype.resetMore=function(){this.hasMore=!0},E.prototype._removeTombstones=function(){for(var t=void 0,e=0,i=this.items.length,o=0;o<i;o++){var n=this.items[o].node,s=this.items[o].data;n&&!P(n)||s||(t||(t=o),n&&this.scrollerEl.removeChild(n))}return e=i-t,this.items.splice(t),this.lastAttachedItem=Math.min(this.lastAttachedItem,this.items.length),e},E.prototype._collectUnusedNodes=function(){for(var t=[],e=0;e<this.items.length;e++)if(e!==this.firstAttachedItem){var i=this.items[e].node;i&&(P(i)?(this.tombstones.push(i),this.tombstones[this.tombstones.length-1].style.display="none"):t.push(i)),this.items[e].node=null}else e=this.lastAttachedItem-1;return t},E.prototype._createDOMNodes=function(t){for(var e={},i=this.firstAttachedItem;i<this.lastAttachedItem;i++){for(;this.items.length<=i;)this._addItem();var o=this.items[i].node,n=this.items[i].data;if(o){if(!P(o)||!n)continue;o.style.zIndex=1,e[i]=[o,this.items[i].top-this.anchorScrollTop],this.items[i].node=null}var s=n?this.options.render(n,t.pop()):this._getTombStone();s.style.position="absolute",this.items[i].top=-1,this.scrollerEl.appendChild(s),this.items[i].node=s}return e},E.prototype._cleanupUnusedNodes=function(t){for(;t.length;)this.scrollerEl.removeChild(t.pop())},E.prototype._cacheNodeSize=function(){for(var t=this.firstAttachedItem;t<this.lastAttachedItem;t++)this.items[t].data&&!this.items[t].height&&(this.items[t].height=this.items[t].node.offsetHeight,this.items[t].width=this.items[t].node.offsetWidth)},E.prototype._fixScrollPosition=function(){this.anchorScrollTop=0;for(var t=0;t<this.anchorItem.index;t++)this.anchorScrollTop+=this.items[t].height||this.tombstoneHeight;this.anchorScrollTop+=this.anchorItem.offset;for(var e=this.anchorScrollTop-this.anchorItem.offset,i=this.anchorItem.index;i>this.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},E.prototype._setupAnimations=function(t,e){var i=this;for(var o in t){var n=t[o];this.items[o].node.style.transform="translateY("+(this.anchorScrollTop+n[1])+"px) scale("+this.tombstoneWidth/this.items[o].width+", "+this.tombstoneHeight/this.items[o].height+")",this.items[o].node.offsetTop,n[0].offsetTop,this.items[o].node.style.transition="transform 200ms"}for(var s=this.firstAttachedItem;s<this.lastAttachedItem;s++){var r=t[s];if(r){var a=r[0];a.style.transition="transform 200ms, opacity 200ms",a.style.transform="translateY("+e+"px) scale("+this.items[s].width/this.tombstoneWidth+", "+this.items[s].height/this.tombstoneHeight+")",a.style.opacity=0}e!==this.items[s].top&&(r||(this.items[s].node.style.transition=""),this.items[s].node.style.transform="translateY("+e+"px)"),this.items[s].top=e,e+=this.items[s].height||this.tombstoneHeight}this.scroller.maxScrollY=-(e-this.wrapperEl.offsetHeight+(this.hasMore?et:0)),setTimeout(function(){for(var e in t){var o=t[e];o[0].style.display="none",i.tombstones.push(o[0])}},200)},E.prototype._getTombStone=function(){var t=this.tombstones.pop();return t?(t.style.display="",t.style.opacity=1,t.style.transform="",t.style.transition="",t):this.options.createTombstone()},E.prototype._addItem=function(){this.items.push({data:null,node:null,height:0,width:0,top:0})},E.prototype._calculateAnchoredItem=function(t,e){if(0===e)return t;var i=t.index,o=0;if((e+=t.offset)<0){for(;e<0&&i>0&&this.items[i-1].height;)e+=this.items[i-1].height,i--;o=Math.max(-i,Math.ceil(Math.min(e,0)/this.tombstoneHeight))}else{for(;e>0&&i<this.items.length&&this.items[i].height&&this.items[i].height<e;)e-=this.items[i].height,i++;(i>=this.items.length||!this.items[i].height)&&(o=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return i+=o,e-=o*this.tombstoneHeight,{index:i,offset:e}},function(t){t.prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype.setScale=function(t){this.lastScale=s(this.scale)?t:this.scale,this.scale=t},t.prototype._handleOptions=function(t){this.options=n({},U,t),this.translateZ=this.options.HWCompositing&&L?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&W,this.options.useTransform=this.options.useTransform&&N,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=c;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),B&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,H.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var o=t.scroller.children.length?t.scroller.children:[t.scroller],n=e&&!t.pulling?"none":"auto",s=0;s<o.length;s++)o[s].style.pointerEvents=n}})}},t.prototype._handleAutoBlur=function(){this.on("scrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var e=void 0,i=new MutationObserver(function(i){if(!t._shouldNotRefresh()){for(var o=!1,n=!1,s=0;s<i.length;s++){var r=i[s];if("attributes"!==r.type){o=!0;break}if(r.target!==t.scroller){n=!0;break}}o?t.refresh():n&&(clearTimeout(e),e=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),o={attributes:!0,childList:!0,subtree:!0};i.observe(this.scroller,o),this.on("destroy",function(){i.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>this.minScrollX||this.x<this.maxScrollX||this.y>this.minScrollY||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){i=p(this.scroller);var t=i.width,s=i.height;o===t&&n===s||this.refresh(),o=t,n=s,e.call(this)}}function e(){var e=this;setTimeout(function(){t.call(e)},1e3)}var i=p(this.scroller),o=i.width,n=i.height;e.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t),this.options.zoom&&t.touches&&t.touches.length>1&&this._zoomStart(t);break;case"touchmove":case"mousemove":this.options.zoom&&t.touches&&t.touches.length>1?this._zoom(t):this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this.scaled?this._zoomEnd(t):this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(f(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t="static"===window.getComputedStyle(this.wrapper,null).position,e=p(this.wrapper);this.wrapperWidth=e.width,this.wrapperHeight=e.height;var i=p(this.scroller);this.scrollerWidth=Math.round(i.width*this.scale),this.scrollerHeight=Math.round(i.height*this.scale),this.relativeX=i.left,this.relativeY=i.top,t&&(this.relativeX-=e.left,this.relativeY-=e.top),this.minScrollX=0,this.minScrollY=0;var o=this.options.wheel;o?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=o.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.options.infinity||(this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.maxScrollX<0?(this.maxScrollX-=this.relativeX,this.minScrollX=-this.relativeX):this.scale>1&&(this.maxScrollX=this.maxScrollX/2-this.relativeX,this.minScrollX=this.maxScrollX),this.maxScrollY<0?(this.maxScrollY-=this.relativeY,this.minScrollY=-this.relativeY):this.scale>1&&(this.maxScrollY=this.maxScrollY/2-this.relativeY,this.minScrollY=this.maxScrollY)),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<this.minScrollX,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<this.minScrollY,this.hasHorizontalScroll||(this.maxScrollX=this.minScrollX,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=this.minScrollY,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=h(this.wrapper),this.trigger("refresh"),!this.scaled&&this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(Y),function(t){t.prototype._start=function(t){var e=F[t.type];if((e===R||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==e)){this.initiated=e,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=o(),this.options.wheel&&(this.target=t.target),this.stop();var i=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches?t.touches[0]:t,i=e.pageX-this.pointX,n=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=n;var s=Math.abs(this.distX),r=Math.abs(this.distY),a=o();if(!(a-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&s<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(s>r+this.options.directionLockThreshold?this.directionLocked="h":r>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);n=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,n=this.hasVerticalScroll?n:0,this.movingDirectionX=i>0?Z:i<0?J:0,this.movingDirectionY=n>0?G:n<0?K:0;var l=this.x+i,c=this.y+n,h=!1,u=!1,p=!1,f=!1,d=this.options.bounce;!1!==d&&(h=void 0===d.top||d.top,u=void 0===d.bottom||d.bottom,p=void 0===d.left||d.left,f=void 0===d.right||d.right),(l>this.minScrollX||l<this.maxScrollX)&&(l=l>this.minScrollX&&p||l<this.maxScrollX&&f?this.x+i/3:l>this.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||c<this.maxScrollY)&&(c=c>this.minScrollY&&h||c<this.maxScrollY&&u?this.y+n/3:c>this.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,c),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,this.options.probeType===Q&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>Q&&this.trigger("scroll",{x:this.x,y:this.y});var m=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,v=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,g=this.pointX-m,y=this.pointY-v;(g>document.documentElement.clientWidth-this.options.momentumLimitDistance||g<this.options.momentumLimitDistance||y<this.options.momentumLimitDistance||y>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),n=e-this.absStartX,s=i-this.absStartY;if(this.directionX=n>0?Z:n<0?J:0,this.directionY=s>0?G:s<0?K:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,V.bounce)){this._translate(e,i),this.endTime=o();var r=this.endTime-this.startTime,a=Math.abs(e-this.startX),l=Math.abs(i-this.startY);if(this._events.flick&&r<this.options.flickLimitTime&&a<this.options.flickLimitDistance&&l<this.options.flickLimitDistance)return void this.trigger("flick");var c=0;if(this.options.momentum&&r<this.options.momentumLimitTime&&(l>this.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var h=!1,u=!1,p=!1,d=!1,m=this.options.bounce;!1!==m&&(h=void 0===m.top||m.top,u=void 0===m.bottom||m.bottom,p=void 0===m.left||m.left,d=void 0===m.right||m.right);var v=this.directionX===Z&&p||this.directionX===J&&d?this.wrapperWidth:0,g=this.directionY===G&&h||this.directionY===K&&u?this.wrapperHeight:0,y=this.hasHorizontalScroll?w(this.x,this.startX,r,this.maxScrollX,this.minScrollX,v,this.options):{destination:e,duration:0},b=this.hasVerticalScroll?w(this.y,this.startY,r,this.maxScrollY,this.minScrollY,g,this.options):{destination:i,duration:0};e=y.destination,i=b.destination,c=Math.max(y.duration,b.duration),this.isInTransition=!0}else this.options.wheel&&(i=Math.round(i/this.itemHeight)*this.itemHeight,c=this.options.wheel.adjustTime||400);var x=V.swipe;if(this.options.snap){var S=this._nearestSnap(e,i);this.currentPage=S,c=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-S.x),1e3),Math.min(Math.abs(i-S.y),1e3)),300),e=S.x,i=S.y,this.directionX=0,this.directionY=0,x=this.options.snap.easing||V.bounce}if(e!==this.x||i!==this.y)return(e>this.minScrollX||e<this.maxScrollX||i>this.minScrollY||i<this.maxScrollY)&&(x=V.swipeBounce),void this.scrollTo(e,i,c,x);this.options.wheel&&(this.selectedIndex=Math.round(Math.abs(this.y/this.itemHeight))),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var e=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.classList.contains(this.options.wheel.wheelWrapperClass)){var i=Math.abs(Math.round(this.y/this.itemHeight)),n=Math.round((this.pointY+u(this.wrapper).top-this.wrapperHeight/2)/this.itemHeight);this.target=this.items[i+n]}return this.scrollToElement(this.target,this.options.wheel.adjustTime||400,!0,!0,V.swipe),!0}if(!e){var s=this.options.dblclick,r=!1;if(s&&this.lastClickTime){var a=s.delay,l=void 0===a?300:a;o()-this.lastClickTime<l&&(r=!0,v(t))}return this.options.tap&&d(t,this.options.tap),this.options.click&&!f(t.target,this.options.preventDefaultException)&&m(t),this.lastClickTime=r?null:o(),!0}return!1}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(A&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var i=e.getComputedPosition();if(e.trigger("scroll",i),!e.isInTransition)return void e.trigger("scrollEnd",i);e.probeTimer=$(t)}q(this.probeTimer),this.probeTimer=$(t);var e=this},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[H.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[H.transitionDuration]=t+"ms";if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[H.transitionTimingFunction]=t,this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[H.transitionTimingFunction]=t;if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),(!this.pulling||this.movingDirectionY===K)&&!this.resetPosition(this.options.bounceTime,V.bounce)&&(this.isInTransition=!1,this.options.probeType!==tt&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,e,i){if(_(!s(t)&&!s(e),"Translate x or y is null or undefined."),s(i)&&(i=this.scale),this.options.useTransform?this.scrollerStyle[H.transform]="translate("+t+"px,"+e+"px) scale("+i+")"+this.translateZ:(t=Math.round(t),e=Math.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.options.wheel)for(var o=this.options.wheel.rotate,n=void 0===o?25:o,r=0;r<this.items.length;r++){var a=n*(e/this.itemHeight+r);this.items[r].style[H.transform]="rotateX("+a+"deg)"}if(this.x=t,this.y=e,this.setScale(i),this.indicators)for(var l=0;l<this.indicators.length;l++)this.indicators[l].updatePosition()},t.prototype._animate=function(t,e,i,n){function s(){var f=o();if(f>=p)return r.isAnimating=!1,r._translate(t,e,h),r.trigger("scroll",{x:r.x,y:r.y}),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));f=(f-u)/i;var d=n(f),m=(t-a)*d+a,v=(e-l)*d+l,g=(h-c)*d+c;r._translate(m,v,g),r.isAnimating&&(r.animateTimer=$(s)),r.options.probeType===tt&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,l=this.y,c=this.lastScale,h=this.scale,u=o(),p=u+i;this.isAnimating=!0,q(this.animateTimer),s()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,o)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;this.isInTransition=this.options.useTransition&&i>0&&(t!==this.x||e!==this.y),!i||this.options.useTransition?(this._transitionTimingFunction(o.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===tt&&this._startProbe(),i||t===this.x&&e===this.y||(this.trigger("scroll",{x:t,y:e}),this._reflow=document.body.offsetHeight,this.resetPosition(this.options.bounceTime,V.bounce)||this.trigger("scrollEnd",{x:t,y:e})),this.options.wheel&&(e>this.minScrollY?this.selectedIndex=0:e<this.maxScrollY?this.selectedIndex=this.items.length-1:this.selectedIndex=Math.round(Math.abs(e/this.itemHeight)))):this._animate(t,e,i,o.fn)},t.prototype.scrollToElement=function(t,e,i,o,n){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.classList.contains(this.options.wheel.wheelItemClass))){var s=h(t);s.left-=this.wrapperOffset.left,s.top-=this.wrapperOffset.top,!0===i&&(i=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===o&&(o=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),s.left-=i||0,s.top-=o||0,s.left=s.left>this.minScrollX?this.minScrollX:s.left<this.maxScrollX?this.maxScrollX:s.left,s.top=s.top>this.minScrollY?this.minScrollY:s.top<this.maxScrollY?this.maxScrollY:s.top,this.options.wheel&&(s.top=Math.round(s.top/this.itemHeight)*this.itemHeight),this.scrollTo(s.left,s.top,e,n)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.bounce,i=this.x,o=Math.round(i);!this.hasHorizontalScroll||o>this.minScrollX?i=this.minScrollX:o<this.maxScrollX&&(i=this.maxScrollX);var n=this.y,s=Math.round(n);return!this.hasVerticalScroll||s>this.minScrollY?n=this.minScrollY:s<this.maxScrollY&&(n=this.maxScrollY),(i!==this.x||n!==this.y)&&(this.scrollTo(i,n,t,e),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),e=void 0,i=void 0;return this.options.useTransform?(t=t[H.transform].split(")")[0].split(", "),e=+(t[12]||t[4]),i=+(t[13]||t[5])):(e=+t.left.replace(/[^-\d.]/g,""),i=+t.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1,q(this.probeTimer);var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[Math.round(-t.y/this.itemHeight)]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,q(this.animateTimer),this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),q(this.options.useTransition?this.probeTimer:this.animateTimer),this._removeDOMEvents(),this._events={}}}(Y),function(t){t.prototype.on=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(o,arguments)}var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var o=i.length;o--;)(i[o][0]===e||i[o][0]&&i[o][0].fn===e)&&(i[o][0]=void 0)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,o=[].concat(C(e)),n=0;n<i;n++){var s=o[n],r=X(s,2),a=r[0],l=r[1];a&&a.apply(l,[].slice.call(arguments,1))}}}(Y),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var e=this.options.snap;if(e.loop){var i=this.scroller.children;i.length>1?(g(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var o=e.el;"string"==typeof o&&(o=this.scroller.querySelectorAll(o)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,n=e.stepY||t.wrapperHeight,s=0,r=void 0,a=void 0,l=void 0,c=0,h=void 0,u=0,f=void 0,d=void 0;if(o)for(h=o.length,f=-1;c<h;c++)d=p(o[c]),(0===c||d.left<=p(o[c-1]).left)&&(u=0,f++),t.pages[u]||(t.pages[u]=[]),s=Math.max(-d.left,t.maxScrollX),r=Math.max(-d.top,t.maxScrollY),a=s-Math.round(d.width/2),l=r-Math.round(d.height/2),t.pages[u][f]={x:s,y:r,width:d.width,height:d.height,cx:a,cy:l},s>t.maxScrollX&&u++;else for(a=Math.round(i/2),l=Math.round(n/2);s>-t.scrollerWidth;){for(t.pages[c]=[],h=0,r=0;r>-t.scrollerHeight;)t.pages[c][h]={x:Math.max(s,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:i,height:n,cx:s-a,cy:r-l},r-=n,h++;s-=i,c++}t._checkSnapLoop();var m=e._loopX?1:0,v=e._loopY?1:0;t._goToPage(t.currentPage.pageX||m,t.currentPage.pageY||v,0);var g=e.threshold;g%1==0?(t.snapThresholdX=g,t.snapThresholdY=g):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*g),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*g))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(b(t.scroller,i[i.length-1]),b(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&this.pages.length&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&S("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>this.minScrollX?t=this.minScrollX:t<this.maxScrollX&&(t=this.maxScrollX),e>this.minScrollY?e=this.minScrollY:e<this.maxScrollY&&(e=this.maxScrollY);for(var o=this.pages.length;i<o;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}o=this.pages[i].length;for(var n=0;n<o;n++)if(e>=this.pages[0][n].cy){e=this.pages[0][n].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),n===this.currentPage.pageY&&(n+=this.directionY,n<0?n=0:n>=this.pages[0].length&&(n=this.pages[0].length-1),e=this.pages[0][n].y),{x:t,y:e,pageX:i,pageY:n}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],o=arguments[3],n=this.options.snap;if(n&&this.pages&&this.pages.length&&(o=o||n.easing||V.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;i=void 0===i?n.speed||Math.max(Math.max(Math.min(Math.abs(s-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):i,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,i,o)}},t.prototype.goToPage=function(t,e,i,o){var n=this.options.snap;if(n&&this.pages&&this.pages.length){if(n.loop){var s=void 0;n._loopX?(s=this.pages.length-2,t>=s?t=s-1:t<0&&(t=0),t+=1):(s=this.pages[0].length-2,e>=s?e=s-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,o)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,o=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,o++),this._goToPage(i,o,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,o=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,o--),this._goToPage(i,o,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?n({},this.currentPage,{pageX:this.currentPage.pageX-1}):n({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(Y),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,S("wheel option selectedIndex is required!"))}}(Y),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,o=void 0===i||i,n=e.interactive,s=void 0!==n&&n;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:T("horizontal"),direction:"horizontal",fade:o,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.options.scrollY&&(r={el:T("vertical"),direction:"vertical",fade:o,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.on("refresh",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].refresh()}),o&&(this.on("scrollEnd",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollCancel",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0)}),this.on("beforeScrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(Y),function(t){t.prototype._initPullDown=function(){this.options.probeType=tt},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,o=t.stop,n=void 0===o?40:o;return!(this.directionY!==G||this.y<i)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,n,this.options.bounceTime,V.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,V.bounce)},t.prototype.openPullDown=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1}}(Y),function(t){t.prototype._initPullUp=function(){this.options.probeType=tt,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,o=void 0===i?0:i;this.movingDirectionY===K&&t.y<=this.maxScrollY+o&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(Y),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(l),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),clearTimeout(t.mouseWheelEndTimer),t._handleMouseWheelEvent(c)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1;var i=this.options.mouseWheel,o=i.speed,n=void 0===o?20:o,s=i.invert,r=void 0!==s&&s,a=i.easeTime,l=void 0===a?300:a;clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||l||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var c=void 0,h=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(c=-t.deltaX*n,h=-t.deltaY*n):(c=-t.deltaX,h=-t.deltaY);break;case"wheelDeltaX"in t:c=t.wheelDeltaX/120*n,h=t.wheelDeltaY/120*n;break;case"wheelDelta"in t:c=h=t.wheelDelta/120*n;break;case"detail"in t:c=h=-t.detail/3*n;break;default:return}var u=r?-1:1;c*=u,h*=u,this.hasVerticalScroll||(c=h,h=0);var p=void 0,f=void 0;if(this.options.snap)return p=this.currentPage.pageX,f=this.currentPage.pageY,c>0?p--:c<0&&p++,h>0?f--:h<0&&f++,void this._goToPage(p,f);p=this.x+Math.round(this.hasHorizontalScroll?c:0),f=this.y+Math.round(this.hasVerticalScroll?h:0),this.movingDirectionX=this.directionX=c>0?-1:c<0?1:0,this.movingDirectionY=this.directionY=h>0?-1:h<0?1:0,p>this.minScrollX?p=this.minScrollX:p<this.maxScrollX&&(p=this.maxScrollX),f>this.minScrollY?f=this.minScrollY:f<this.maxScrollY&&(f=this.maxScrollY);var d=this.y===f;this.scrollTo(p,f,l,V.swipe),this.trigger("scroll",{x:this.x,y:this.y}),clearTimeout(this.mouseWheelEndTimer),d&&(this.mouseWheelEndTimer=setTimeout(function(){e.trigger("scrollEnd",{x:e.x,y:e.y})},l))}}}(Y),function(t){t.prototype._initZoom=function(){var t=this.options.zoom,e=t.start,i=void 0===e?1:e,o=t.min,n=void 0===o?1:o,s=t.max,r=void 0===s?4:s;this.scale=Math.min(Math.max(i,n),r),this.setScale(this.scale),this.scrollerStyle[H.transformOrigin]="0 0"},t.prototype._zoomTo=function(t,e,i,o){this.scaled=!0;var n=t/(o||this.scale);this.setScale(t),this.refresh();var s=Math.round(this.startX-(e-this.relativeX)*(n-1)),r=Math.round(this.startY-(i-this.relativeY)*(n-1));s>this.minScrollX?s=this.minScrollX:s<this.maxScrollX&&(s=this.maxScrollX),r>this.minScrollY?r=this.minScrollY:r<this.maxScrollY&&(r=this.maxScrollY),this.x===s&&this.y===r||this.scrollTo(s,r,this.options.bounceTime),this.scaled=!1},t.prototype.zoomTo=function(t,e,i){var o=u(this.wrapper),n=o.left,s=o.top,r=e+n-this.x,a=i+s-this.y;this._zoomTo(t,r,a)},t.prototype._zoomStart=function(t){var e=t.touches[0],i=t.touches[1],o=Math.abs(e.pageX-i.pageX),n=Math.abs(e.pageY-i.pageY);this.startDistance=r(o,n),this.startScale=this.scale;var s=u(this.wrapper),a=s.left,l=s.top;this.originX=Math.abs(e.pageX+i.pageX)/2+a-this.x,this.originY=Math.abs(e.pageY+i.pageY)/2+l-this.y,this.trigger("zoomStart")},t.prototype._zoom=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches[0],i=t.touches[1],o=Math.abs(e.pageX-i.pageX),n=Math.abs(e.pageY-i.pageY),s=r(o,n),a=s/this.startDistance*this.startScale;this.scaled=!0;var l=this.options.zoom,c=l.min,h=void 0===c?1:c,u=l.max,p=void 0===u?4:u;a<h?a=.5*h*Math.pow(2,a/h):a>p&&(a=2*p*Math.pow(.5,p/a));var f=a/this.startScale,d=this.startX-(this.originX-this.relativeX)*(f-1),m=this.startY-(this.originY-this.relativeY)*(f-1);this.setScale(a),this.scrollTo(d,m,0)}},t.prototype._zoomEnd=function(t){if(this.enabled&&!this.destroyed&&F[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.isInTransition=!1,this.isAnimating=!1,this.initiated=0;var e=this.options.zoom,i=e.min,o=void 0===i?1:i,n=e.max,s=void 0===n?4:n,r=this.scale>s?s:this.scale<o?o:this.scale;this._zoomTo(r,this.originX,this.originY,this.startScale),this.trigger("zoomEnd")}}}(Y),function(t){t.prototype._initInfinite=function(){this.options.probeType=3,this.maxScrollY=-et,this.infiniteScroller=new E(this,this.options.infinity)}}(Y),Y.Version="1.12.6",e.a=Y},152:function(t,e,i){"use strict";var o=i(104),n=i(73),s=i(25),r=i(116);e.a={name:"ActGoldLayer",mixins:[n.a,s.a,r.a],components:{ActPopup:o.a},props:{title:{type:String,default:""},mask:{type:Boolean,default:!0},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},closable:{type:Boolean,default:!0},brandColor:{type:String,default:""}},methods:{close:function(){this.$emit("close")}}}},1523:function(t,e,i){"use strict";var o=i(149),n=i(136),s=i(25),r={forward:"可转发",applicant:"投保人",insured:"被保险人",beneficiary:"受益人",agent:"代理人",guarder:"监护人"},a=function(t){return{applicant:t+"_tbrxx_zhankai",insureds:t+"_bbrxx_zhankai",renewalBank:t+"_xfyhzh_zhankai",beneficiaries:t+"_syrxx_zhankai",upcerts:t+"_zjsc_zhankai",recording:t+"_slsm_zhankai",payfee:t+"_zfxesm_zhankai",receipt:t+"_hz_zhankai",recontact:t+"_hf_zhankai",finishRecord:t+"_slwch_zhankai"}},l={buy:"填写信息",confirmBuy:"完成投保单",pay:"支付保费",finish:"投保完成"},c=["renewalBank","recording","payfee"];e.a={name:"ActGoldInsureDescDialog",mixins:[s.a],components:{ActGoldLayer:o.a,scroll:n.a},props:{title:{type:String,default:"投保流程说明"},processData:{type:Array,default:function(){return[]}},currentStep:{type:Number,default:0},themeColor:{type:String,default:"#8c7fee"},scene:{type:Number,default:1},currentRole:{type:Number,default:1}},data:function(){return{tableData:{},tagMap:r,step:l,detailBtnEnum:c}},methods:{close:function(){this.isVisible=!1},show:function(){var t=this;this.isVisible=!0,this.$nextTick(function(){t.calculateShowFold(),t.$refs.scroll&&t.$refs.scroll.refresh()})},initTableData:function(){var t=this,e={};this.processData.forEach(function(i,o){var n={flowName:i.flowName,part:o+1,flowKey:i.flowKey,tags:1==~~i.canShare?["forward"]:[],content:[]};(i.todoList||[]).forEach(function(e){var i={todoKey:e.todoKey,todoName:e.todoName,sureFire:e.sureFire,tags:t.getTags(e.canDoRole),text:e.todoContent,hasPayRule:e.hasPayRule,unfold:!1,showBtn:!0};if(e.todoTips&&(i.todoTips=e.todoTips),e.subTodoList&&e.subTodoList.length){var o=[];e.subTodoList.forEach(function(e){o.push({todoKey:e.todoKey,todoName:e.todoName,sureFire:e.sureFire,tags:t.getTags(e.canDoRole)})}),i.subTitle=o}n.content.push(i)}),e[i.flowKey]=n}),this.tableData=e},getTags:function(t){return(t||[]).map(function(t){switch(~~t){case 1:return"applicant";case 2:return"insured";case 3:return"beneficiary";case 4:return"agent";case 5:return"guarder"}})},calculateShowFold:function(){var t=this,e=[];for(var i in this.$refs)if(i.startsWith("foldBox-")){var o=i.split("-"),n=o[1],s=o[2];e.push({part:n,index:s,el:Array.isArray(this.$refs[i])?this.$refs[i][0]:this.$refs[i]})}e.forEach(function(e){var i=e.el,o=e.part,n=e.index,s=t.tableData[o].content[n],r=i.querySelector(".fold-btn"),a=r.clientHeight,l=i.scrollHeight,h=i.clientHeight;l>h?(s.showBtn=!0,s.unfoldHeight="calc("+l+"px - "+a+"px)",s.foldHeight="calc("+h+"px - "+a+"px)"):(s.showBtn=!1,s.unfoldHeight="0",s.foldHeight="0"),s.todoTips&&c.includes(s.todoKey)&&(s.showBtn=!1)})},isShowBtn:function(t,e){var i=e.unfold,o=e.showBtn,n=e.todoTips,s=e.text;if("/"===s||"\\"===s)return!1;switch(t){case"float":return!i&&o;case"span":return i&&o||this.isShowDetailBtn(e)&&!n}},isShowDetailBtn:function(t){var e=t.todoKey,i=t.hasPayRule;if(c.includes(e))switch(e){case"renewalBank":case"payfee":return i;case"recording":return!0}return!1},operateFold:function(t){var e=t.todoKey;if(c.includes(e)){var i=void 0;switch(e){case"renewalBank":i=2,this.$emit("showPayDialog",i);break;case"payfee":i=1,this.$emit("showPayDialog",i);break;case"recording":t.unfold||(t.unfold=!0),this.$emit("showRecordDialog")}}else t.unfold=!t.unfold;var o=1===Number(this.scene)?"sx":"jdt",n=a(o);n[e]&&(t.unfold||c.includes(e))&&this.trackEvent(n[e])},trackEvent:function(t){window._xystj&&window._xystj.trackEvent(t)}},computed:{grayColor:function(){return{color:"#999999"}}},watch:{isVisible:function(t){if(!1===t)for(var e in this.tableData){var i=this.tableData[e];i.content.forEach(function(t){t.unfold=!1})}}},created:function(){this.initTableData()}}},16:function(t,e){t.exports=!0},180:function(t,e){},181:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"wrapper",staticClass:"scroll-wrapper"},[i("div",{staticClass:"scroll-content"},[t._t("default")],2)])},n=[];o._withStripped=!0},197:function(t,e){},198:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"act-gold-popup-fade"}},[i("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{mask:t.mask,center:t.center,opacity:t.opacity,zIndex:t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.close}},[i("transition",{attrs:{name:"act-gold-popup-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-gold-popup-container",on:{click:function(t){t.stopPropagation()}}},[t.$slots.header?i("div",{staticClass:"act-gold-popup-hd"},[t._t("header")],2):i("div",{staticClass:"act-gold-popup-hd"},[i("h3",[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.$slots.headerLeft?t._t("headerLeft"):t._e(),t._v(" "),t.$slots.headerRight?t._t("headerRight"):t.closable?i("i",{staticClass:"act-gold-popup-icon-close",on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}}):t._e()],2),t._v(" "),t._t("default")],2)])],1)],1)},n=[];o._withStripped=!0},2:function(t,e,i){"use strict";function o(t,e,i,o,n,s,r,a){t=t||{};var l=typeof t.default;"object"!==l&&"function"!==l||(t=t.default);var c="function"==typeof t?t.options:t;e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),o&&(c.functional=!0),s&&(c._scopeId=s);var h;if(r?(h=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},c._ssrRegister=h):n&&(h=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),h)if(c.functional){c._injectStyles=h;var u=c.render;c.render=function(t,e){return h.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,h):[h]}return{exports:t,options:c}}e.a=o},20:function(t,e){t.exports={}},21:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2138:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(15),n=i(2139);n.a.install=function(t){t.component(n.a.name,n.a),t.prototype.$createGoldInsureDescDialog=Object(o.a)(n.a,t)},e.default=n.a},2139:function(t,e,i){"use strict";function o(t){a||i(2140)}var n=i(1523),s=i(2141),r=i(2),a=!1,l=o,c=Object(r.a)(n.a,s.a,s.b,!1,l,"data-v-4fc1cde1",null);c.options.__file="src\\components\\GoldInsureDescDialog\\src\\index.vue",e.a=c.exports},2140:function(t,e){},2141:function(t,e,i){"use strict";i.d(e,"a",function(){return o}),i.d(e,"b",function(){return n});var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("act-gold-layer",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{title:t.title,visible:t.isVisible,center:!1,zIndex:99},on:{close:t.close}},[o("div",{staticClass:"gradual-color"}),t._v(" "),o("article",{staticClass:"dialog-body"},[o("div",{staticClass:"tips"},[o("p",{staticClass:"tip-title"},[t._v("\n 特别说明:\n ")]),t._v(" "),o("div",{staticClass:"tip-content"},[4===t.currentRole?o("div",{staticClass:"gold-tag gold-tag-forward"},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap.forward)+"\n ")])]):t._e(),t._v(" "),o("span",{staticStyle:{"margin-right":"1.1rem"}},[t._v("\n 为代理人可转发的步骤\n ")]),t._v(" "),o("img",{staticClass:"required",attrs:{src:i(2142)}}),t._v(" "),o("span",[t._v("\n 为一定会产生的投保单任务\n ")])])]),t._v(" "),o("div",{staticClass:"scroll-content"},[o("scroll",{ref:"scroll",attrs:{bounce:!1}},[o("div",{staticClass:"act-gold-desc-header"},[o("div",{staticClass:"header-item"},[t._v("\n 步骤\n ")]),t._v(" "),o("div",{staticClass:"header-item"},[t._v("\n 内容\n ")]),t._v(" "),o("div",{staticClass:"header-item"},[t._v("\n 说明\n ")])]),t._v(" "),o("div",{staticClass:"table-body"},t._l(t.tableData,function(e,i){return o("div",{key:e.flowKey,staticClass:"table-body-item"},[o("div",{staticClass:"table-header"},[o("span",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(e.part+"."+t.step[i])+"\n ")]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(e.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)]),t._v(" "),o("div",{staticClass:"table-content"},t._l(e.content,function(i,n){return o("div",{key:i.todoKey+n,staticClass:"table-item"},[o("div",{staticClass:"row-item",class:{"center-cell":"/"===i.todoName||"\\"===i.todoName}},[i.subTitle&&i.subTitle.length?[o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n ")]),t._v(" "),o("ul",t._l(i.subTitle,function(i,n){return o("li",{key:i.todoKey+n},[o("div",{staticClass:"li-wrapper"},[o("div",{staticClass:"li-content"},[o("div",{staticClass:"li-bar"}),t._v(" "),o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n "),i.sureFire?o("span",{staticClass:"item-required"}):t._e()])]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(i.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)])])}),0)]:[o("p",{style:e.part<t.currentStep?t.grayColor:{}},[t._v("\n "+t._s(i.todoName)+"\n "),i.sureFire?o("span",{staticClass:"item-required"}):t._e()]),t._v(" "),o("div",{staticClass:"tags tags-supply"},t._l(i.tags,function(e,i){return o("div",{key:i+"tag",staticClass:"gold-tag",class:"gold-tag-"+e},[o("span",{staticClass:"reduce-tag"},[t._v("\n "+t._s(t.tagMap[e])+"\n ")])])}),0)]],2),t._v(" "),o("div",{staticClass:"row-item row-item-cell3",class:{"center-cell":"/"===i.text||"\\"===i.text}},[o("div",{ref:"foldBox-"+e.flowKey+"-"+n,refInFor:!0,staticClass:"webkit-box",class:{unfold:i.unfold,"deatil-type":t.detailBtnEnum.includes(i.todoKey)}},[o("div",{staticClass:"cell3-content"},[o("div",{staticClass:"float-box",style:{height:i.unfold?i.unfoldHeight:i.foldHeight}}),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn("float",i),expression:"isShowBtn('float', row)"}],staticClass:"fold-btn",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n 展开\n ")]),t._v(" "),o("div",{staticClass:"inline-block",style:e.part<t.currentStep?t.grayColor:{},domProps:{innerHTML:t._s(i.text.trim())}}),t._v(" "),i.todoTips?[o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowDetailBtn(i),expression:"isShowDetailBtn(row)"}],staticClass:"inline-block",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n 详情>\n ")]),t._v(" "),o("br"),t._v(" "),o("div",{staticClass:"inline-block todo-tip",class:{"long-todo-tip":i.showBtn&&!t.detailBtnEnum.includes(i.todoKey)}},[t._v("\n "+t._s(i.todoTips)+"\n ")])]:t._e(),t._v(" "),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowBtn("span",i),expression:"isShowBtn('span', row)"}],staticClass:"inline-block",style:{color:t.themeColor},on:{click:function(e){return t.operateFold(i)}}},[t._v("\n "+t._s(t.isShowDetailBtn(i)?"详情>":"收起")+"\n ")])],2)])])])}),0)])}),0),t._v(" "),o("div",{staticClass:"margin-box"})])],1)])])],1)},n=[];o._withStripped=!0},2142:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAwCAYAAAB0WahSAAAAAXNSR0IArs4c6QAAA4JJREFUWEftlV+IVGUYxn/vmdFtzbA1yaCoLqQNDCwM2lQoo4uuCiwJZ2Z1M9vw354dNy26aSiC0JydM0qhmNR2zlRSXixI0JWwrRJdRBeGikaEKLLi9meTzTN73phN150zM3vOjEN0cebyfO/3fL95vud7X6FJP02a+1F9pUIuHm+XgezpoGMkqCDsuibMd0HfrKyfM18K740G6TQTJA2aLT9Qiji52SKi/yFIbyd4Az6Qi1Kw7gqCKK03z5FU+hm8ia99ICekYD3UVBDdYC7knrYRyWS8asLamX6UiYnvy9ZEjopjrawFMl0ztCOa6BkEWYzwAdp60B9ATfTdB+4v5SB8KU5+tR9Ek9s60OIWkNUYxtNi9w+FAtH1O25jfHwEaJkUFa6gFDDie8XO/lj6pJ2v3crE1THf1XwoBWvT5HpX5hbcyy+ibAWWTtWJ5MWxzHAgqd41eF6hqsXCEBLby6J5hzk9+gdo64064x1i3gE82YiyAXRBhYZwDtu6NxxI0vwK1VUBoTsP3DHl2qRz8iuqdwOxGffGjWWBIP9a7o6U/9Mw76COGpHdwSDdfQsYczcDK4AOYG4dR8xcKnIGZBhlMBBkupIeOhRj8NgSlOXgrQBZfs36YDbBRfkBQ4bx5Fvm6LAcsC5e31gXSNX+0dV7P66+geqrNWjGiMkLtLYNyf7MlVrENw+SMtvx9DjQVtMWEVscq3Mm224KRF9Oz2fc+w7VRYF3I/KWONbbTXdEu/fN4q+fvkH1SZ/4eZD3KycxYBgJsXOfVYNp2BFN9nyEsr5CNMYaBqwvSPUeR/Ux3/rfGPGnxM4e8+9rCERT5nY83VnZJW8MOV277RGKxdIQ9DezEYh1SKH/5+n76wbRRPo5xDuMquGbK0VmGQ/LJ/0nrn/XhLkHdEuVqzjJbONx+Tj3W0PPVzdl5vL76FlU76winpVCvq+s73S/Po+x8VOgC6vMmD3i5HsaAilt0q6+B3Hdz1GWTImLXKClpV0O7vzTf6AmzRSqn5Z/NyweuH2HZDJXGwaZhNmab+HymV3XRnrpNaTEzjm1nqYmeo4CT4BcwpAusXNHmhLWqQykzGdR1oljPT9TH9F16cW43m4MeUns3IWmPt/ABlZnQd2vpk790OURSFPDGtr3EIXR1URXExSTKCNRRqKMBDkQZSTIoaiPRBmJMhLkwP82I/8AP+sqtAP6voYAAAAASUVORK5CYII="},22:function(t,e){var i=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+o).toString(36))}},23:function(t,e,i){var o=i(29);t.exports=function(t){return Object(o(t))}},24:function(t,e){e.f={}.propertyIsEnumerable},25:function(t,e,i){"use strict";var o={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,i){e?t.show():i&&t.hide()},{immediate:!0})},methods:{show:function(){return this.isVisible=!0,this},hide:function(){return this.isVisible=!1,this}}};e.a=o},26:function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},27:function(t,e,i){var o=i(8).f,n=i(6),s=i(3)("toStringTag");t.exports=function(t,e,i){t&&!n(t=i?t:t.prototype,s)&&o(t,s,{configurable:!0,value:e})}},28:function(t,e,i){t.exports={default:i(79),__esModule:!0}},29:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,e,i){var o=i(32)("wks"),n=i(22),s=i(1).Symbol,r="function"==typeof s;(t.exports=function(t){return o[t]||(o[t]=r&&s[t]||(r?s:n)("Symbol."+t))}).store=o},30:function(t,e){var i=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:i)(t)}},31:function(t,e,i){var o=i(32)("keys"),n=i(22);t.exports=function(t){return o[t]||(o[t]=n(t))}},32:function(t,e,i){var o=i(0),n=i(1),s=n["__core-js_shared__"]||(n["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:o.version,mode:i(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,i){var o=i(10);t.exports=function(t,e){if(!o(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!o(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!o(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,i){e.f=i(3)},37:function(t,e,i){var o=i(1),n=i(0),s=i(16),r=i(36),a=i(8).f;t.exports=function(t){var e=n.Symbol||(n.Symbol=s?{}:o.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},39:function(t,e,i){var o=i(40);t.exports=function(t,e,i){if(o(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,o){return t.call(e,i,o)};case 3:return function(i,o,n){return t.call(e,i,o,n)}}return function(){return t.apply(e,arguments)}}},4:function(t,e,i){"use strict";function o(t,e){if(t.findIndex)return t.findIndex(e);var i=-1;return t.some(function(t,o,n){var s=e.call(this,t,o,n);if(s)return i=o,s}),i}function n(t){return t?JSON.parse(B()(t)):t}function s(t,e){for(var i in e)t[i]&&"object"===j()(t[i])?s(t[i],e[i]):t[i]=e[i]}function r(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function l(t){return"[object Number]"===Object.prototype.toString.call(t)}function c(t){return"[object Object]"===Object.prototype.toString.call(t)}function h(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function u(t){return null===t}function p(t){return void 0!==t&&null!==t}function f(t){return void 0===t}function d(t){return"[object Error]"===Object.prototype.toString.call(t)}function m(t){return"function"==typeof t}function v(t,e,i){function o(e){var i=v,o=g;return v=g=void 0,S=e,b=t.apply(o,i)}function n(t,e){return P?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function s(t){if(P)return window.cancelAnimationFrame(t);clearTimeout(t)}function r(t){return S=t,w=n(h,e),_?o(t):b}function a(t){var i=t-x,o=t-S,n=e-i;return T?Math.min(n,y-o):n}function l(t){var i=t-x,o=t-S;return void 0===x||i>=e||i<0||T&&o>=y}function h(){var t=Date.now();if(l(t))return u(t);w=n(h,a(t))}function u(t){return w=void 0,M&&v?o(t):(v=g=void 0,b)}function p(){void 0!==w&&s(w),S=0,v=x=g=w=void 0}function f(){return void 0===w?b:u(Date.now())}function d(){return void 0!==w}function m(){for(var t=Date.now(),i=l(t),s=arguments.length,a=Array(s),c=0;c<s;c++)a[c]=arguments[c];if(v=a,g=this,x=t,i){if(void 0===w)return r(x);if(T)return w=n(h,e),o(x)}return void 0===w&&(w=n(h,e)),b}var v=void 0,g=void 0,y=void 0,b=void 0,w=void 0,x=void 0,S=0,_=!1,T=!1,M=!0,P=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,c(i)&&(_=!!i.leading,T="maxWait"in i,y=T?Math.max(+i.maxWait||0,e):y,M="trailing"in i?!!i.trailing:M),m.cancel=p,m.flush=f,m.pending=d,m}function g(t,e,i){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return c(i)&&(o="leading"in i?!!i.leading:o,n="trailing"in i?!!i.trailing:n),v(t,e,{leading:o,trailing:n,maxWait:e})}function y(t){return!!/^1\d{10}$/.test(t)}function b(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,i){return e+" "+i.replace(/(.{4})(?=.)/g,"$1 ")})),t}function w(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function x(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function S(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("  "):3===e?t.split("").join(" "):t}function _(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.offsetHeight;if(e){var o=t.currentStyle||getComputedStyle(t);i+=parseInt(o.marginTop||0)+parseInt(o.marginBottom||0)}return i}function T(t,e){var i=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),o=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),n=null;return i?n={r:parseInt(i[1]+i[1],16),g:parseInt(i[2]+i[2],16),b:parseInt(i[3]+i[3],16)}:o&&(n={r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}),n?void 0!==e?"rgba("+n.r+", "+n.g+", "+n.b+", "+e+")":"rgb("+n.r+", "+n.g+", "+n.b+")":""}function M(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",i=e.length,o="";t=t||32;for(var n=0;n<t;n++)o+=e.charAt(Math.floor(Math.random()*i));return o}function P(t,e){var i=e||location.href,o=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),n=i.match(o);return n&&n[2]}function E(t){var e=window.getComputedStyle(t),i="none"===e.display,o=null===t.offsetParent&&"fixed"!==e.position;return i||o}function Y(t,e,i){return Math.min(Math.max(t,e),i)}function X(t){var e=/os (\d\d?_\d(_\d)?)/,i=e.exec(t);if(!i)return null;var o=i[1].split("_").map(function(t){return parseInt(t,10)});return{major:o[0],minor:o[1],patch:o[2]||0}}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var i=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),o=e.match(i);return decodeURIComponent(o?o[2]:"")}function O(t){return t?d(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function k(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),o=0;o<t.length;o++){var n=t[o];if(!i.test(n))return;e.push(n.split("?")[0])}return e}function D(t){var e=JSON.parse(B()(t)),i=e.attrModules,o=void 0===i?{}:i,n=e.plan,s=o.applicant,a=o.insureds,l=o.hcpics,c=o.hctext,h=o.makeup,u=o.apphctext,p=o.apphcpics,f={},d=function(t){var e=null,i=null,o=null,n=null,s={},a={},l={};for(var c in t){var h=t[c].defaultValue,u=t[c].required,p=t[c].display;if(r(h)){var f=k(h);f&&(h=f)}1!==Number(u)&&1!==Number(p)||("idType"===c||"id"===c||"idValidType"===c||"idValidEndTime"===c||"idValidStartTime"===c?(e=e||{},e[c]=h):"socialInsAddr"===c||"socialInsDetail"===c||"socialInsPost"===c||"socialInsTel"===c?(i=i||{},i[c]=h):"residentAddr"===c||"residentDetail"===c||"residentPost"===c||"residentTel"===c?(o=o||{},o[c]=h):"officeAddr"===c||"officeDetail"===c||"officePost"===c||"officeTel"===c?(n=n||{},n[c]=h):"companyIdType"===c||"companyId"===c?(a=a||{},a[c]=h):"detail"===c?(l=l||{},l[c]=h):s[c]=h)}return e&&(s.certificate=e),i&&(s.socialIns=i),o&&(s.resident=o),n&&(s.office=n),a&&(s.companyCertificate=a),l&&(s.companyAddress=l),s};if(o.plan&&(n=d(o.plan)),s&&(f.applicant={},s&&(f.applicant=d(s))),a||n){f.insureds=[];for(var m=a||[""],v=0;v<m.length;v++){var g=m[v],y=null,b={};g&&(y=d(g)),y&&(b.insured=y),n&&(b.plan=n),f.insureds.push(b)}}if(c&&(f.hctext=d(c)),u&&(f.apphctext=d(u)),l&&(f.hcpics=d(l)),p&&(f.apphcpics=d(p)),h){f.makeup={};for(var w=h||[""],x=0;x<w.length;x++){var S=w[x],_=null;S&&(_=d(S)),_&&(f.makeup=I()(f.makeup,_))}}return f}i.d(e,"F",function(){return et}),i.d(e,"v",function(){return it}),e.d=o,e.c=n,e.b=s,e.o=r,e.z=a,e.x=l,e.y=c,e.p=h,e.w=u,e.q=p,e.A=f,e.r=d,e.s=m,e.a=v,e.E=g,e.u=y,e.g=b,e.e=w,e.f=x,e.h=S,e.B=_,e.n=T,e.C=M,e.l=P,e.t=E,e.D=Y,e.k=X,e.m=C,e.j=O,e.i=D;var A=i(28),I=i.n(A),z=i(76),j=i.n(z),L=i(57),B=i.n(L),N="undefined"!=typeof window,W=N&&window.navigator.userAgent.toLowerCase(),H=W&&/msie|trident/.test(W),R=W&&W.indexOf("msie 9.0")>0,F=W&&W.indexOf("edge/")>0,U=W&&W.indexOf("android")>0,V=W&&/iphone|ipad|ipod|ios/.test(W),$=W&&/chrome\/\d+/.test(W)&&!F,q=W&&/MicroMessenger/i.test(W),K=W&&/wxwork/i.test(W),G=W&&/mucxiaoyusan/i.test(W),J=W&&/muckacabao/i.test(W),Z=W&&/mucyanxuan/i.test(W),Q=G||J,tt=W&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(W),et={isIE:H,isMobile:tt,isIE9:R,isEdge:F,isAndroid:U,isIOS:V,isChrome:$,isWx:q,isWxWork:K,isApp:Q,isXysApp:G,isKcbApp:J,isYxApp:Z},it=/MucWebAutoTester/.test(window.navigator.userAgent)},40:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},41:function(t,e,i){var o=i(10),n=i(1).document,s=o(n)&&o(n.createElement);t.exports=function(t){return s?n.createElement(t):{}}},45:function(t,e,i){"use strict";var o=i(16),n=i(13),s=i(49),r=i(7),a=i(20),l=i(66),c=i(27),h=i(70),u=i(3)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,i,d,m,v,g){l(i,e,d);var y,b,w,x=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},S=e+" Iterator",_="values"==m,T=!1,M=t.prototype,P=M[u]||M["@@iterator"]||m&&M[m],E=P||x(m),Y=m?_?x("entries"):E:void 0,X="Array"==e?M.entries||P:P;if(X&&(w=h(X.call(new t)))!==Object.prototype&&w.next&&(c(w,S,!0),o||"function"==typeof w[u]||r(w,u,f)),_&&P&&"values"!==P.name&&(T=!0,E=function(){return P.call(this)}),o&&!g||!p&&!T&&M[u]||r(M,u,E),a[e]=E,a[S]=f,m)if(y={values:_?E:x("values"),keys:v?E:x("keys"),entries:Y},g)for(b in y)b in M||s(M,b,y[b]);else n(n.P+n.F*(p||T),e,y);return y}},46:function(t,e,i){var o=i(9),n=i(67),s=i(33),r=i(31)("IE_PROTO"),a=function(){},l=function(){var t,e=i(41)("iframe"),o=s.length;for(e.style.display="none",i(60).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;o--;)delete l.prototype[s[o]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(a.prototype=o(t),i=new a,a.prototype=null,i[r]=t):i=l(),void 0===e?i:n(i,e)}},47:function(t,e,i){var o=i(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==o(t)?t.split(""):Object(t)}},48:function(t,e,i){t.exports=!i(5)&&!i(12)(function(){return 7!=Object.defineProperty(i(41)("div"),"a",{get:function(){return 7}}).a})},49:function(t,e,i){t.exports=i(7)},5:function(t,e,i){t.exports=!i(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},50:function(t,e,i){var o=i(6),n=i(11),s=i(68)(!1),r=i(31)("IE_PROTO");t.exports=function(t,e){var i,a=n(t),l=0,c=[];for(i in a)i!=r&&o(a,i)&&c.push(i);for(;e.length>l;)o(a,i=e[l++])&&(~s(c,i)||c.push(i));return c}},51:function(t,e,i){var o=i(50),n=i(33).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,n)}},52:function(t,e,i){"use strict";var o=i(65)(!0);i(45)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=o(e,i),this._i+=t.length,{value:t,done:!1})})},53:function(t,e,i){var o=i(11),n=i(51).f,s={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return n(t)}catch(t){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==s.call(t)?a(t):n(o(t))}},54:function(t,e,i){"use strict";var o=i(1),n=i(6),s=i(5),r=i(13),a=i(49),l=i(75).KEY,c=i(12),h=i(32),u=i(27),p=i(22),f=i(3),d=i(36),m=i(37),v=i(82),g=i(77),y=i(9),b=i(10),w=i(23),x=i(11),S=i(34),_=i(21),T=i(46),M=i(53),P=i(83),E=i(35),Y=i(8),X=i(14),C=P.f,O=Y.f,k=M.f,D=o.Symbol,A=o.JSON,I=A&&A.stringify,z=f("_hidden"),j=f("toPrimitive"),L={}.propertyIsEnumerable,B=h("symbol-registry"),N=h("symbols"),W=h("op-symbols"),H=Object.prototype,R="function"==typeof D&&!!E.f,F=o.QObject,U=!F||!F.prototype||!F.prototype.findChild,V=s&&c(function(){return 7!=T(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(t,e,i){var o=C(H,e);o&&delete H[e],O(t,e,i),o&&t!==H&&O(H,e,o)}:O,$=function(t){var e=N[t]=T(D.prototype);return e._k=t,e},q=R&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},K=function(t,e,i){return t===H&&K(W,e,i),y(t),e=S(e,!0),y(i),n(N,e)?(i.enumerable?(n(t,z)&&t[z][e]&&(t[z][e]=!1),i=T(i,{enumerable:_(0,!1)})):(n(t,z)||O(t,z,_(1,{})),t[z][e]=!0),V(t,e,i)):O(t,e,i)},G=function(t,e){y(t);for(var i,o=v(e=x(e)),n=0,s=o.length;s>n;)K(t,i=o[n++],e[i]);return t},J=function(t,e){return void 0===e?T(t):G(T(t),e)},Z=function(t){var e=L.call(this,t=S(t,!0));return!(this===H&&n(N,t)&&!n(W,t))&&(!(e||!n(this,t)||!n(N,t)||n(this,z)&&this[z][t])||e)},Q=function(t,e){if(t=x(t),e=S(e,!0),t!==H||!n(N,e)||n(W,e)){var i=C(t,e);return!i||!n(N,e)||n(t,z)&&t[z][e]||(i.enumerable=!0),i}},tt=function(t){for(var e,i=k(x(t)),o=[],s=0;i.length>s;)n(N,e=i[s++])||e==z||e==l||o.push(e);return o},et=function(t){for(var e,i=t===H,o=k(i?W:x(t)),s=[],r=0;o.length>r;)!n(N,e=o[r++])||i&&!n(H,e)||s.push(N[e]);return s};R||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===H&&e.call(W,i),n(this,z)&&n(this[z],t)&&(this[z][t]=!1),V(this,t,_(1,i))};return s&&U&&V(H,t,{configurable:!0,set:e}),$(t)},a(D.prototype,"toString",function(){return this._k}),P.f=Q,Y.f=K,i(51).f=M.f=tt,i(24).f=Z,E.f=et,s&&!i(16)&&a(H,"propertyIsEnumerable",Z,!0),d.f=function(t){return $(f(t))}),r(r.G+r.W+r.F*!R,{Symbol:D});for(var it="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;it.length>ot;)f(it[ot++]);for(var nt=X(f.store),st=0;nt.length>st;)m(nt[st++]);r(r.S+r.F*!R,"Symbol",{for:function(t){return n(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),r(r.S+r.F*!R,"Object",{create:J,defineProperty:K,defineProperties:G,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var rt=c(function(){E.f(1)});r(r.S+r.F*rt,"Object",{getOwnPropertySymbols:function(t){return E.f(w(t))}}),A&&r(r.S+r.F*(!R||c(function(){var t=D();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,i,o=[t],n=1;arguments.length>n;)o.push(arguments[n++]);if(i=e=o[1],(b(e)||void 0!==t)&&!q(t))return g(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!q(e))return e}),o[1]=e,I.apply(A,o)}}),D.prototype[j]||i(7)(D.prototype,j,D.prototype.valueOf),u(D,"Symbol"),u(Math,"Math",!0),u(o.JSON,"JSON",!0)},55:function(t,e,i){i(71);for(var o=i(1),n=i(7),s=i(20),r=i(3)("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 c=a[l],h=o[c],u=h&&h.prototype;u&&!u[r]&&n(u,r,c),s[c]=s.Array}},56:function(t,e,i){var o=i(13),n=i(0),s=i(12);t.exports=function(t,e){var i=(n.Object||{})[t]||Object[t],r={};r[t]=e(i),o(o.S+o.F*s(function(){i(1)}),"Object",r)}},57:function(t,e,i){t.exports={default:i(78),__esModule:!0}},59:function(t,e,i){var o=i(30),n=Math.min;t.exports=function(t){return t>0?n(o(t),9007199254740991):0}},6:function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},60:function(t,e,i){var o=i(1).document;t.exports=o&&o.documentElement},61:function(t,e){},62:function(t,e,i){"use strict";function o(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var n=i(74),s=i.n(n),r=i(92),a=i.n(r),l=i(28),c=i.n(l),h=i(95),u=i.n(h),p=u.a,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,m=function(){try{if(!c.a)return!1;var t=new String("abc");if(t[5]="de","5"===a()(t)[0])return!1;for(var e={},i=0;i<10;i++)e["_"+String.fromCharCode(i)]=i;if("0123456789"!==a()(e).map(function(t){return e[t]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===s()(c()({},o)).join("")}catch(t){return!1}}()?c.a:function(t,e){for(var i,n,s=o(t),r=1;r<arguments.length;r++){i=Object(arguments[r]);for(var a in i)f.call(i,a)&&(s[a]=i[a]);if(p){n=p(i);for(var l=0;l<n.length;l++)d.call(i,n[l])&&(s[n[l]]=i[n[l]])}}return s};e.a=m},64:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},65:function(t,e,i){var o=i(30),n=i(29);t.exports=function(t){return function(e,i){var s,r,a=String(n(e)),l=o(i),c=a.length;return l<0||l>=c?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===c||(r=a.charCodeAt(l+1))<56320||r>57343?t?a.charAt(l):s:t?a.slice(l,l+2):r-56320+(s-55296<<10)+65536)}}},66:function(t,e,i){"use strict";var o=i(46),n=i(21),s=i(27),r={};i(7)(r,i(3)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=o(r,{next:n(1,i)}),s(t,e+" Iterator")}},67:function(t,e,i){var o=i(8),n=i(9),s=i(14);t.exports=i(5)?Object.defineProperties:function(t,e){n(t);for(var i,r=s(e),a=r.length,l=0;a>l;)o.f(t,i=r[l++],e[i]);return t}},68:function(t,e,i){var o=i(11),n=i(59),s=i(69);t.exports=function(t){return function(e,i,r){var a,l=o(e),c=n(l.length),h=s(r,c);if(t&&i!=i){for(;c>h;)if((a=l[h++])!=a)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}}},69:function(t,e,i){var o=i(30),n=Math.max,s=Math.min;t.exports=function(t,e){return t=o(t),t<0?n(t+e,0):s(t,e)}},7:function(t,e,i){var o=i(8),n=i(21);t.exports=i(5)?function(t,e,i){return o.f(t,e,n(1,i))}:function(t,e,i){return t[e]=i,t}},70:function(t,e,i){var o=i(6),n=i(23),s=i(31)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=n(t),o(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},71:function(t,e,i){"use strict";var o=i(72),n=i(64),s=i(20),r=i(11);t.exports=i(45)(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,n(1)):"keys"==e?n(0,i):"values"==e?n(0,t[i]):n(0,[i,t[i]])},"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},72:function(t,e){t.exports=function(){}},73:function(t,e,i){"use strict";e.a={props:{zIndex:{type:Number,default:100},maskClosable:{type:Boolean,default:!1}}}},74:function(t,e,i){t.exports={default:i(90),__esModule:!0}},75:function(t,e,i){var o=i(22)("meta"),n=i(10),s=i(6),r=i(8).f,a=0,l=Object.isExtensible||function(){return!0},c=!i(12)(function(){return l(Object.preventExtensions({}))}),h=function(t){r(t,o,{value:{i:"O"+ ++a,w:{}}})},u=function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,o)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[o].i},p=function(t,e){if(!s(t,o)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[o].w},f=function(t){return c&&d.NEED&&l(t)&&!s(t,o)&&h(t),t},d=t.exports={KEY:o,NEED:!1,fastKey:u,getWeak:p,onFreeze:f}},76:function(t,e,i){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var n=i(84),s=o(n),r=i(86),a=o(r),l="function"==typeof a.default&&"symbol"==typeof s.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(s.default)?function(t){return void 0===t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":l(t)}},77:function(t,e,i){var o=i(26);t.exports=Array.isArray||function(t){return"Array"==o(t)}},78:function(t,e,i){var o=i(0),n=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},79:function(t,e,i){i(80),t.exports=i(0).Object.assign},8:function(t,e,i){var o=i(9),n=i(48),s=i(34),r=Object.defineProperty;e.f=i(5)?Object.defineProperty:function(t,e,i){if(o(t),e=s(e,!0),o(i),n)try{return r(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},80:function(t,e,i){var o=i(13);o(o.S+o.F,"Object",{assign:i(81)})},81:function(t,e,i){"use strict";var o=i(5),n=i(14),s=i(35),r=i(24),a=i(23),l=i(47),c=Object.assign;t.exports=!c||i(12)(function(){var t={},e={},i=Symbol(),o="abcdefghijklmnopqrst";return t[i]=7,o.split("").forEach(function(t){e[t]=t}),7!=c({},t)[i]||Object.keys(c({},e)).join("")!=o})?function(t,e){for(var i=a(t),c=arguments.length,h=1,u=s.f,p=r.f;c>h;)for(var f,d=l(arguments[h++]),m=u?n(d).concat(u(d)):n(d),v=m.length,g=0;v>g;)f=m[g++],o&&!p.call(d,f)||(i[f]=d[f]);return i}:c},82:function(t,e,i){var o=i(14),n=i(35),s=i(24);t.exports=function(t){var e=o(t),i=n.f;if(i)for(var r,a=i(t),l=s.f,c=0;a.length>c;)l.call(t,r=a[c++])&&e.push(r);return e}},83:function(t,e,i){var o=i(24),n=i(21),s=i(11),r=i(34),a=i(6),l=i(48),c=Object.getOwnPropertyDescriptor;e.f=i(5)?c:function(t,e){if(t=s(t),e=r(e,!0),l)try{return c(t,e)}catch(t){}if(a(t,e))return n(!o.f.call(t,e),t[e])}},84:function(t,e,i){t.exports={default:i(85),__esModule:!0}},85:function(t,e,i){i(52),i(55),t.exports=i(36).f("iterator")},86:function(t,e,i){t.exports={default:i(87),__esModule:!0}},87:function(t,e,i){i(54),i(61),i(88),i(89),t.exports=i(0).Symbol},88:function(t,e,i){i(37)("asyncIterator")},89:function(t,e,i){i(37)("observable")},9:function(t,e,i){var o=i(10);t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},90:function(t,e,i){i(91),t.exports=i(0).Object.keys},91:function(t,e,i){var o=i(23),n=i(14);i(56)("keys",function(){return function(t){return n(o(t))}})},92:function(t,e,i){t.exports={default:i(93),__esModule:!0}},93:function(t,e,i){i(94);var o=i(0).Object;t.exports=function(t){return o.getOwnPropertyNames(t)}},94:function(t,e,i){i(56)("getOwnPropertyNames",function(){return i(53).f})},95:function(t,e,i){t.exports={default:i(96),__esModule:!0}},96:function(t,e,i){i(54),t.exports=i(0).Object.getOwnPropertySymbols},97:function(t,e,i){"use strict";function o(t){var e={},i={},o={};for(var l in t)if(t.hasOwnProperty(l))if(-1!==a.indexOf(l))e[l]=t[l];else if(r.test(l)){var c=r.exec(l)[1];c=Object(s.a)(c),o[c]=t[l]}else i[l]=t[l];return e.on=Object(n.a)(o,e.on),e.props=Object(n.a)(i,e.props),e}e.a=o;var n=i(62),s=i(98),r=new RegExp(/^on(.+)/),a=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},98:function(t,e,i){"use strict";function o(t,e){var i=l(t,e);return i.charAt(0).toLowerCase()+i.slice(1)}e.a=o;var n=i(28),s=i.n(n),r=i(4),a=function(t){for(var e=!1,i=!1,o=!1,n=0;n<t.length;n++){var s=t[n];e&&/[a-zA-Z]/.test(s)&&s.toUpperCase()===s?(t=t.slice(0,n)+"-"+t.slice(n),e=!1,o=i,i=!0,n++):i&&o&&/[a-zA-Z]/.test(s)&&s.toLowerCase()===s?(t=t.slice(0,n-1)+"-"+t.slice(n-1),o=i,i=!1,e=!0):(e=s.toLowerCase()===s&&s.toUpperCase()!==s,o=i,i=s.toUpperCase()===s&&s.toLowerCase()!==s)}return t},l=function(t,e){if("string"!=typeof t&&!Object(r.o)(t))throw new TypeError("Expected the input to be `string | string[]`");e=s()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=a(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},99:function(t,e,i){"use strict";function o(t,e,i,o){var s=void 0,r=void 0,a=new t({render:function(t){var i=r&&r(t);return i&&!Object(n.o)(i)&&(i=[i]),t(e,s,i||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return a.updateRenderData=function(t,e){s=t,r=e},a.updateRenderData(i,o),a.$mount(),a.init(),a.$children[0]}e.a=o;var n=i(4)}})});
|