@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 29.7 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/mixins/gold-visible.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/Loading/index.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.Jigsaw=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/Loading/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.Jigsaw=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/Loading/index.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,i,o){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=1623)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(31)("wks"),i=n(24),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(4),i=n(41),o=n(38),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},100:function(t,e,n){"use strict";var r=n(9),i=n(2),o=n(0),s=n(64),c=n(67);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return c(e,t()).then(function(){return n})}:t,n?function(n){return c(e,t()).then(function(){throw n})}:t)}})},101:function(t,e,n){"use strict";var r=n(9),i=n(44),o=n(66);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},105:function(t,e){t.exports=n},106:function(t,e){t.exports=r},11:function(t,e){t.exports={}},111:function(t,e,n){t.exports={default:n(117),__esModule:!0}},1114:function(t,e,n){"use strict";var r=n(111),i=n.n(r),o=n(71),s=n.n(o),c=n(106),a=n.n(c),u=n(39),f=(n.n(u),n(828)),l=n.n(f),p=n(261),h=n.n(p),v=n(105),d=n.n(v),m=l.a.enc.Utf8.parse("8cde79aa8651f8e4"),y=null;e.a={name:"ActJigsaw",mixins:[d.a],data:function(){return{status:"loading",pieceX:"",pieceY:0,trackX:0,pieceWidth:0,frontImgUrl:"",bgImgUrl:"",shake:!1,smooth:!1,randomClientId:Object(u.randomString)(32)}},props:{brandColor:{type:String,default:""},initUrl:{type:String,default:"/user/unionVerifyInit"},verifyUrl:{type:String,default:"/user/unionVerifyCheck"},keyword:{type:String,default:""},platform:{type:Number,default:0}},computed:{clientId:function(){return this.keyword||this.randomClientId}},methods:{clear:function(){this.pieceX=0,this.trackX=0,this.status="loading",this.allowTouch=!1,this.scaleRate=0,this.count=0,this.straceArr=[],this.startX=0},_initJigsaw:function(){var t=this.$refs.jigsawImg;this.picWidth=t.clientWidth,this.picHeight=t.clientHeight,this.trackWidth=this.$refs.trackWrap.clientWidth,this.clear(),this.offsetX=0,this.offsetY=0,this.getJigsaw()},getJigsaw:function(){var t=this;a()(this.initUrl,{clienttype:2,clientid:this.clientId,ua:navigator.userAgent,iscps:this.platform,picWidth:this.picWidth,picHeight:this.picHeight}).then(function(e){var n=e.data,r=void 0===n?{}:n;if(0===r.ret){y=r.data.iv;var i=JSON.parse(Object(f.decrypt)(r.data.d,l.a.enc.Utf8.parse(y),m)),o=i.holeCheck,c=t.picWidth/o.width,a=o.length,u=a*c,p=new s.a(function(t,e){var n=new Image;n.onload=t,n.onerror=e,n.src=o.back}),h=new s.a(function(t,e){var n=new Image;n.onload=t,n.onerror=e,n.src=o.front});s.a.all([p,h]).then(function(){t.token=i.token,t.scaleRate=c,t.originPieceWidth=a,t.initPieceX=parseFloat((o.initx-a/2)*c),t.pieceY=parseFloat((-o.inity-a/2)*c),t.initTrackX=parseFloat((u-t.trackWidth)/2+t.pieceX),t.pieceX=t.initPieceX,t.trackX=t.initTrackX,t.pieceWidth=u,t.bgImgUrl=o.back,t.frontImgUrl=o.front,t.status="picture",t.allowTouch=!0}).catch(function(){t.status="error"})}else t.$emit("error",{ret:1004,errmsg:r.errmsg})}).catch(function(e){t.$emit("error",{ret:1004,errmsg:"系统繁忙,请刷新页面重试"})})},reset:function(t,e){var n=this;if(!e)return this.status="loading",void this.getJigsaw();this.shake=!0;var r=setTimeout(function(){n.pieceX=n.initPieceX,n.trackX=n.initTrackX,n.shake=!1,n.smooth=!0,clearTimeout(r);var e=setTimeout(function(){n.smooth=!1,clearTimeout(e),t||(n.allowTouch=!0)},300);t&&(n.status="loading",n.getJigsaw())},150)},touchstart:function(t){if(t.preventDefault(),this.allowTouch){var e=this.$refs.jigsawImg;this.offsetX=e.getBoundingClientRect().left,this.offsetY=e.getBoundingClientRect().top;var n=t.clientX||t.touches[0].clientX;this.startX=n,this.straceArr=[],this.pushPoint(t),"https:"===location.protocol&&window.DeviceOrientationEvent&&window.addEventListener("deviceorientation",function(t){t&&null!==t.alpha&&void 0!==t.alpha&&(this.alpha=parseFloat(t.alpha.toFixed(4)),this.beta=parseFloat(t.beta.toFixed(4)),this.gamma=parseFloat(t.gamma.toFixed(4)))},!1)}},touchmove:function(t){if(t.preventDefault(),this.allowTouch){var e=t.clientX||t.touches[0].clientX,n=e-this.startX;this.pushPoint(t),n<0?n=0:n>this.picWidth-this.pieceWidth&&(n=this.picWidth-this.pieceWidth),this.pieceX=parseFloat(this.initPieceX+n),this.trackX=parseFloat(this.initTrackX+n)}},touchend:function(t,e){t.preventDefault(),this.allowTouch&&(this.allowTouch=!1,this.pushPoint(t),this.verify(e))},mousedown:function(t,e){var n=this;this.touchstart(t),t.preventDefault();var r=Object(u.throttle)(this.touchmove,10),i=function t(i){n.touchend(i,e),document.removeEventListener("mouseup",t),document.removeEventListener("mousemove",r),i.preventDefault()};document.addEventListener&&document.addEventListener("mousemove",r,!1),document.addEventListener&&document.addEventListener("mouseup",i,!1)},pushPoint:function(t){var e=+new Date;if(t.touches){var n=t.touches[0]||t.changedTouches[0],r=n.clientX-this.offsetX,i=n.clientY-this.offsetY,o=void 0===n.force?0:n.force;this.straceArr.push({x:parseFloat(r.toFixed(2)),y:parseFloat(-i.toFixed(2)),alpha:this.alpha,beta:this.beta,gamma:this.gamma,press:parseFloat(o.toFixed(4)),t:e})}else{var s=t.clientX-this.offsetX,c=t.clientY-this.offsetY;this.straceArr.push({x:parseFloat(s.toFixed(2)),y:parseFloat(-c.toFixed(2)),t:e})}},verify:function(t){var e=this;a()(this.verifyUrl,{r:Object(f.encrypt)(i()({checktype:1,clienttype:2,ua:navigator.userAgent,token:this.token,holeCheck:{strace:this.straceArr,moveType:t,screenWidth:parseFloat(this.picWidth.toFixed(2)),screenHeight:parseFloat(this.picHeight.toFixed(2))}}),l.a.enc.Utf8.parse(y),m),iv:y}).then(function(t){var n=t.data,r=void 0===n?{}:n;0===r.ret?(e.$emit("success",{keyword:e.clientId,token:e.token}),e.status="loading",window._xystj&&window._xystj.trackEvent("jigsaw_success")):1001===r.ret?(e.$emit("error",{ret:1001,errmsg:"验证失败,请重新滑动",data:{count:++e.count}}),e.reset(!1,!0),window._xystj&&window._xystj.trackEvent("jigsaw_fail")):1002===r.ret||1003===r.ret?(e.$emit("error",{ret:1002,errmsg:"验证失败,刷新拼图",data:{count:++e.count}}),e.reset(!0,!0),window._xystj&&window._xystj.trackEvent("jigsaw_fail")):(e.$emit("error",{ret:1003,errmsg:r.errmsg,data:{count:++e.count}}),e.reset(!0,!0),window._xystj&&window._xystj.trackEvent("jigsaw_error"))}).catch(function(t){e.$emit("error",{ret:1004,errmsg:"系统繁忙,请稍后重试",data:{count:++e.count}}),window._xystj&&window._xystj.trackEvent("jigsaw_error")})}},mounted:function(){var t=this;this.isVisible&&this.$nextTick(function(){t._initJigsaw()})},watch:{isVisible:function(t){var e=this;t&&this.$nextTick(function(){e._initJigsaw()})}},components:{ActLoading:h.a}}},117:function(t,e,n){var r=n(2),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,e,n){var r=n(34),i=n(15);t.exports=function(t){return r(i(t))}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},1623:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(26),i=n.n(r),o=n(1624);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createJigsaw=i()(o.a,t)},e.default=o.a},1624:function(t,e,n){"use strict";function r(t){c||n(1625)}var i=n(1114),o=n(1626),s=n(7),c=!1,a=r,u=Object(s.a)(i.a,o.a,o.b,!1,a,"data-v-6ac6a5a2",null);u.options.__file="src\\components\\Jigsaw\\src\\index.vue",e.a=u.exports},1625:function(t,e){},1626:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-jigsaw"},[n("div",{ref:"jigsawImg",staticClass:"act-jigsaw-img"},[n("div",{staticClass:"img-bg"},["picture"===t.status?n("img",{staticClass:"slider-img",attrs:{src:t.bgImgUrl}}):t._e(),t._v(" "),"picture"===t.status?n("div",{staticClass:"slider-piece",class:{smooth:t.smooth},style:{width:t.pieceWidth+"px",top:t.pieceY+"px",transform:"translateX("+t.pieceX+"px)"}},[n("img",{class:{shake:t.shake},attrs:{src:t.frontImgUrl},on:{mousedown:function(e){return t.mousedown(e,1)},touchstart:t.touchstart,touchmove:t.touchmove,touchend:function(e){return t.touchend(e,1)}}})]):t._e(),t._v(" "),"loading"===t.status?n("div",{staticClass:"img-loading"},[n("act-loading",{directives:[{name:"show",rawName:"v-show",value:!0,expression:"true"}],attrs:{type:"cir3",color:"#999"}})],1):t._e(),t._v(" "),"error"===t.status?n("div",{staticClass:"img-error",on:{click:function(e){return t.reset(!0)}}},[n("p",[t._v("图片加载失败,请点击刷新")]),t._v(" "),n("img",{staticClass:"icon-refresh",attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAflBMVEUAAACzs7Ozs7Ozs7O0tLSzs7O0tLS0tLSzs7Ozs7O0tLSzs7Ozs7Ozs7Ozs7Ozs7O0tLSzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0tLS1tbWvr6+0tLSzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0tLS0tLSzs7O0tLS0tLSysrKysrKzs7OviM2hAAAAKXRSTlMA7fqzBvMjA8+poGGTT+fAZeHKmoRxa1Y9GhMM2NPEjVxDM3geHKR8RX/2SbEAAAFsSURBVDjLjZTpcoIwEIATIOUIILccgojnvv8Ldneg1GKY7vdDQ+Zzr3ERf3Drp91LJdNDrhuxy1co4Y2DdozaPYAtqXbXIKuXKCCkXVRjcs2zJeoiPO1Fcx50bQX1GqJNPLpSEZWewyJ2B7oMNvVHJ/qxFp2Noed4AyWNxBbnTGZJZQyCoDa8mzAwWjCT0ZMmrxVGjovZ47nB6cV3YSZSs3jCc47flx2v+kmd4ijxHOx42Mwq0oNlTuz4sCKFG+8GvASZ+hUn/KzFLrdXmR8kJhVXtF3xD22dCKzDFhx6gIIlYv6EJeIUjyxRochNrVmix2yGP54SB+5wxGn+kzFIAXyWWABYXxyxsbghQ6wy4ohtjI2zkh9pyxpu8pMxZuT53fsW2TuvFIqQiK0J/ibopYePhXJDurMer3V9unGgKzV+dCSBUPa50roMBwsIbzJMKbRggywd8w4X8bvmVZ3Yw52uvhcrGWdBtensGxQBNRSqRdcZAAAAAElFTkSuQmCC",alt:""}})]):t._e()])]),t._v(" "),n("div",{staticClass:"act-jigsaw-track"},[n("div",{staticClass:"bar"}),t._v(" "),n("div",{ref:"trackWrap",staticClass:"track-wrap",class:{smooth:t.smooth},style:{transform:"translateX("+t.trackX+"px)"}},[n("div",{staticClass:"slider-track",class:{shake:t.shake},style:{backgroundColor:t.brandColor},on:{mousedown:function(e){return t.mousedown(e,2)},touchstart:t.touchstart,touchmove:t.touchmove,touchend:function(e){return t.touchend(e,2)}}},[t._m(0)])])])])},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"track"},[n("i",{staticClass:"line"}),t._v(" "),n("i",{staticClass:"line"}),t._v(" "),n("i",{staticClass:"line"})])}];r._withStripped=!0},17:function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var r=n(31)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},22:function(t,e,n){var r=n(6),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},26:function(e,n){e.exports=t},261:function(t,e){t.exports=i},27:function(t,e,n){var r=n(10).f,i=n(8),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},28:function(t,e,n){var r=n(42),i=n(32);t.exports=Object.keys||function(t){return r(t,i)}},3:function(t,e,n){t.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},34:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},35:function(t,e,n){var r=n(16),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},36:function(t,e,n){"use strict";var r=n(18),i=n(9),o=n(54),s=n(5),c=n(11),a=n(60),u=n(27),f=n(62),l=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,m,y){a(n,e,v);var x,g,_,w=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",b="values"==d,O=!1,S=t.prototype,k=S[l]||S["@@iterator"]||d&&S[d],A=k||w(d),T=d?b?w("entries"):A:void 0,C="Array"==e?S.entries||k:k;if(C&&(_=f(C.call(new t)))!==Object.prototype&&_.next&&(u(_,j,!0),r||"function"==typeof _[l]||s(_,l,h)),b&&k&&"values"!==k.name&&(O=!0,A=function(){return k.call(this)}),r&&!y||!p&&!O&&S[l]||s(S,l,A),c[e]=A,c[j]=h,d)if(x={values:b?A:w("values"),keys:m?A:w("keys"),entries:T},y)for(g in x)g in S||o(S,g,x[g]);else i(i.P+i.F*(p||O),e,x);return x}},38:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},39:function(t,n){t.exports=e},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},41:function(t,e,n){t.exports=!n(3)&&!n(12)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,e,n){var r=n(8),i=n(13),o=n(46)(!1),s=n(20)("IE_PROTO");t.exports=function(t,e){var n,c=i(t),a=0,u=[];for(n in c)n!=s&&r(c,n)&&u.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~o(u,n)||u.push(n));return u}},43:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},44:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(19);t.exports.f=function(t){return new r(t)}},45:function(t,e,n){var r=n(14),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},46:function(t,e,n){var r=n(13),i=n(35),o=n(47);t.exports=function(t){return function(e,n,s){var c,a=r(e),u=i(a.length),f=o(s,u);if(t&&n!=n){for(;u>f;)if((c=a[f++])!=c)return!0}else for(;u>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},47:function(t,e,n){var r=n(16),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},48:function(t,e,n){"use strict";var r=n(59)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},5:function(t,e,n){var r=n(10),i=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){n(68);for(var r=n(0),i=n(5),o=n(11),s=n(1)("toStringTag"),c="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(","),a=0;a<c.length;a++){var u=c[a],f=r[u],l=f&&f.prototype;l&&!l[s]&&i(l,s,u),o[u]=o.Array}},52:function(t,e,n){var r=n(4),i=n(61),o=n(32),s=n(20)("IE_PROTO"),c=function(){},a=function(){var t,e=n(22)("iframe"),r=o.length;for(e.style.display="none",n(43).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[o[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[s]=t):n=a(),void 0===e?n:i(n,e)}},54:function(t,e,n){t.exports=n(5)},56:function(t,e,n){var r=n(45),i=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},59:function(t,e,n){var r=n(16),i=n(15);t.exports=function(t){return function(e,n){var o,s,c=String(i(e)),a=r(n),u=c.length;return a<0||a>=u?t?"":void 0:(o=c.charCodeAt(a),o<55296||o>56319||a+1===u||(s=c.charCodeAt(a+1))<56320||s>57343?t?c.charAt(a):o:t?c.slice(a,a+2):s-56320+(o-55296<<10)+65536)}}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){"use strict";var r=n(52),i=n(23),o=n(27),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},61:function(t,e,n){var r=n(10),i=n(4),o=n(28);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),c=s.length,a=0;c>a;)r.f(t,n=s[a++],e[n]);return t}},62:function(t,e,n){var r=n(8),i=n(33),o=n(20)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,n){var r=n(4),i=n(19),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},65:function(t,e,n){var r,i,o,s=n(17),c=n(97),a=n(43),u=n(22),f=n(0),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,m=0,y={},x=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},g=function(t){x.call(t.data)};p&&h||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){c("function"==typeof t?t:Function(t),e)},r(m),m},h=function(t){delete y[t]},"process"==n(14)(l)?r=function(t){l.nextTick(s(x,t,1))}:d&&d.now?r=function(t){d.now(s(x,t,1))}:v?(i=new v,o=i.port2,i.port1.onmessage=g,r=s(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in u("script")?function(t){a.appendChild(u("script")).onreadystatechange=function(){a.removeChild(this),x.call(t)}}:function(t){setTimeout(s(x,t,1),0)}),t.exports={set:p,clear:h}},66:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},67:function(t,e,n){var r=n(4),i=n(6),o=n(44);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},68:function(t,e,n){"use strict";var r=n(69),i=n(63),o=n(11),s=n(13);t.exports=n(36)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},69:function(t,e){t.exports=function(){}},7:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,c){t=t||{};var a=typeof t.default;"object"!==a&&"function"!==a||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):i&&(f=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,e){return f.call(e),l(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:u}}e.a=r},71:function(t,e,n){t.exports={default:n(95),__esModule:!0}},73:function(t,e){},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},82:function(t,e,n){var r=n(17),i=n(83),o=n(84),s=n(4),c=n(35),a=n(56),u={},f={},e=t.exports=function(t,e,n,l,p){var h,v,d,m,y=p?function(){return t}:a(t),x=r(n,l,e?2:1),g=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(h=c(t.length);h>g;g++)if((m=e?x(s(v=t[g])[0],v[1]):x(t[g]))===u||m===f)return m}else for(d=y.call(t);!(v=d.next()).done;)if((m=i(d,x,v.value,e))===u||m===f)return m};e.BREAK=u,e.RETURN=f},828:function(t,e){t.exports=o},83:function(t,e,n){var r=n(4);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},84:function(t,e,n){var r=n(11),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},85:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},86:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},87:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},9:function(t,e,n){var r=n(0),i=n(2),o=n(17),s=n(5),c=n(8),a=function(t,e,n){var u,f,l,p=t&a.F,h=t&a.G,v=t&a.S,d=t&a.P,m=t&a.B,y=t&a.W,x=h?i:i[e]||(i[e]={}),g=x.prototype,_=h?r:v?r[e]:(r[e]||{}).prototype;h&&(n=e);for(u in n)(f=!p&&_&&void 0!==_[u])&&c(x,u)||(l=f?_[u]:n[u],x[u]=h&&"function"!=typeof _[u]?n[u]:m&&f?o(l,r):y&&_[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((x.virtual||(x.virtual={}))[u]=l,t&a.R&&g&&!g[u]&&s(g,u,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},91:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(10),s=n(3),c=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[c]&&o.f(e,c,{configurable:!0,get:function(){return this}})}},95:function(t,e,n){n(73),n(48),n(50),n(96),n(100),n(101),t.exports=n(2).Promise},96:function(t,e,n){"use strict";var r,i,o,s,c=n(18),a=n(0),u=n(17),f=n(45),l=n(9),p=n(6),h=n(19),v=n(85),d=n(82),m=n(64),y=n(65).set,x=n(98)(),g=n(44),_=n(66),w=n(99),j=n(67),b=a.TypeError,O=a.process,S=O&&O.versions,k=S&&S.v8||"",A=a.Promise,T="process"==f(O),C=function(){},P=i=g.f,L=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(C,C)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e){if(!t._n){t._n=!0;var n=t._c;x(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,c=i?e.ok:e.fail,a=e.resolve,u=e.reject,f=e.domain;try{c?(i||(2==t._h&&I(t),t._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),s=!0)),n===e.promise?u(b("Promise-chain cycle")):(o=E(n))?o.call(n,a,u):a(n)):u(r)}catch(t){f&&!s&&f.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){y.call(a,function(){var e,n,r,i=t._v,o=M(t);if(o&&(e=_(function(){T?O.emit("unhandledRejection",i,t):(n=a.onunhandledrejection)?n({promise:t,reason:i}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=T||M(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){y.call(a,function(){var e;T?O.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},z=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),X(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw b("Promise can't be resolved itself");(e=E(t))?x(function(){var r={_w:n,_d:!1};try{e.call(t,u(R,r,1),u(z,r,1))}catch(t){z.call(r,t)}}):(n._v=t,n._s=1,X(n,!1))}catch(t){z.call({_w:n,_d:!1},t)}}};L||(A=function(t){v(this,A,"Promise","_h"),h(t),r.call(this);try{t(u(R,this,1),u(z,this,1))}catch(t){z.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(86)(A.prototype,{then:function(t,e){var n=P(m(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&X(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(R,t,1),this.reject=u(z,t,1)},g.f=P=function(t){return t===A||t===s?new o(t):i(t)}),l(l.G+l.W+l.F*!L,{Promise:A}),n(27)(A,"Promise"),n(91)("Promise"),s=n(2).Promise,l(l.S+l.F*!L,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(c||!L),"Promise",{resolve:function(t){return j(c&&this===s?A:this,t)}}),l(l.S+l.F*!(L&&n(87)(function(t){A.all(t).catch(C)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=_(function(){var n=[],o=0,s=1;d(t,!1,function(t){var c=o++,a=!1;n.push(void 0),s++,e.resolve(t).then(function(t){a||(a=!0,n[c]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=_(function(){d(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},97:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},98:function(t,e,n){var r=n(0),i=n(65).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,c=r.Promise,a="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(a&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(a)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(u)}}else n=function(){i.call(r,u)};else{var l=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},99:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""}})});