antelope-ui
Version:
A Component Library for Vue.js.
1 lines • 187 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.antelope=e():t.antelope=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=170)}([function(t,e,r){"use strict";function n(t,e,r,n,i,o,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}r.d(e,"a",(function(){return n}))},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){"use strict";e.a={props:{disabled:{type:Boolean,default:!1}}}},function(t,e,r){"use strict";var n=r(11),i=r.n(n),o=r(1),s=r.n(o),a=r(20),c=r.n(a),u=r(6),l=r(7),h=r(9),f=r(17);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){t.mBoxBackgroundImage.loadPromiseReject&&(t.mBoxBackgroundImage.loadPromiseReject(),t.mBoxBackgroundImage.loadPromiseReject=null);var e=function(t,e){return{name:e,file:c()(t,"$route.meta.".concat(Object(u.a)("assetsProperty")),{})[e]||e}}(t,Object(l.a)(t,"backgroundImage")).file,r=Promise.resolve({src:"",width:0,height:0});e&&(__BACKGROUND_LOAD_PROMISE.has(e)||__BACKGROUND_LOAD_PROMISE.set(e,new Promise((function(t){var r=new Image;r.src=e,r.onload=function(){return t(r)}}))),r=__BACKGROUND_LOAD_PROMISE.get(e)),new Promise((function(e,n){t.mBoxBackgroundImage.loadPromiseReject=n,r.then(e)})).then((function(e){t.mBoxBackgroundImage.src!==e.src&&Object.assign(t.mBoxBackgroundImage,{src:e.src,width:e.width,height:e.height})})).catch((function(){}))}function y(){var t=Object(l.a)(this,["width","height","widthHeight","backgroundColor","backgroundImage","backgroundSize"]);if(void 0!==t.widthHeight){var e=String(t.widthHeight).trim().split(" "),r=i()(e,2),n=r[0],o=r[1],s=void 0===o?n:o;t.width=n||0,t.height=s||0,Reflect.deleteProperty(t,"widthHeight")}return t.width=Object(h.a)(t.width),t.height=Object(h.a)(t.height),t}function v(){var t=Object(l.a)(this,["font","fontSize","fontColor","fontWeight","lineHeight"]);if(void 0!==t.font){var e=t.font.trim().split(" "),r=i()(e,3),n=r[0],o=void 0===n?t.fontSize:n,s=r[1],a=void 0===s?t.fontColor:s,c=r[2],u=void 0===c?t.fontWeight:c;t.fontSize=Object(h.a)(o),t.fontColor=a,t.fontWeight=u,Reflect.deleteProperty(t,"font")}return void 0!==t.fontSize&&(t.fontSize=Object(h.a)(t.fontSize)),void 0!==t.lineHeight&&(t.lineHeight=Object(h.a)(t.lineHeight)),void 0!==t.fontColor&&(t.color=t.fontColor,Reflect.deleteProperty(t,"fontColor")),t}window.__BACKGROUND_LOAD_PROMISE=new Map,e.a={props:Object(f.a)({width:{type:[String,Number]},height:{type:[String,Number]},widthHeight:{type:[String,Number]},font:{type:String},fontSize:{type:[String,Number]},fontColor:{type:String},fontWeight:{type:[String,Number]},backgroundColor:{type:[String,Number]},backgroundImage:{type:[String,Number]},backgroundSize:{type:[String,Number]},lineHeight:{type:[String,Number]}}),data:function(){return{mBoxBackgroundImage:{loadPromiseReject:null,src:"",width:0,height:0}}},computed:{mBoxStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){s()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({position:"relative"},y.call(this),{},v.call(this));if(this.mBoxBackgroundImage.src&&(t.backgroundImage="url(".concat(this.mBoxBackgroundImage.src,")"),t.backgroundSize=t.backgroundSize||"cover",t.backgroundPosition="center",Object(u.a)("imageSizeAutoLoader"))){var e=Object(u.a)(),r=e.imageTimes,n=e.imageSizeUnit,i=this.mBoxBackgroundImage,o=i.width,a=i.height;t.width||(t.width=(o*r).toFixed(2)+n),t.height||(t.height=(a*r).toFixed(2)+n)}return t}},watch:{backgroundImage:function(){d(this)},bgI:function(){d(this)}},mounted:function(){d(this)}}},function(t,e,r){"use strict";var n=r(11),i=r.n(n),o=r(1),s=r.n(o),a=r(7),c=r(9),u=r(17);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){s()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}e.a={props:Object(u.a)({position:{type:String},zIndex:{type:[String,Number]},positionSet:{type:[String,Number]},top:{type:[String,Number]},bottom:{type:[String,Number]},left:{type:[String,Number]},right:{type:[String,Number]},center:{type:String}}),computed:{mPositionStyle:function(){var t=h({},this.mBoxStyle,{},Object(a.a)(this,["zIndex"])),e=Object(a.a)(this,"position"),r=Object(a.a)(this,["positionSet","top","bottom","left","right","center"]);if(void 0!==e||"{}"!==JSON.stringify(r)){if(r.positionSet){var n=r.positionSet.trim().split(" "),o=i()(n,4),s=o[0],u=o[1],l=void 0===u?s:u,f=o[2],p=void 0===f?s:f,d=o[3],y=void 0===d?l:d;r.top=s||0,r.right=l||0,r.bottom=p||0,r.left=y||0}["top","right","bottom","left"].forEach((function(t){r[t]&&(r[t]=Object(c.a)(r[t]))})),void 0!==(t=h({},t,{position:e||"absolute"},r)).top&&void 0!==t.bottom&&delete t.height,void 0!==t.left&&void 0!==t.right&&delete t.width,void 0!==t.center&&("x"===t.center?(t.left=t.left||"50%",t.transform="translateX(-50%)"):"y"===t.center?(t.top=t.top||"50%",t.transform="translateY(-50%)"):(t.left=t.left||"50%",t.top=t.top||"50%",t.transform="translate(-50%, -50%)"),delete t.center)}return t}}}},function(t,e,r){"use strict";var n=r(7),i=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i),o=i?"touchstart":"mousedown",s=i?"touchmove":"mousemove",a=i?"touchend":"mouseup";e.a={data:function(){return{mEventTouchstart:function(){},mEventTouchmove:function(){},mEventTouchend:function(){},mEventIsTouch:!1,mEventIsTap:!1}},mounted:function(){var t=this;this.mEventTouchstart=function(){t.mEventIsTouch=t.mEventIsTap=!0,t.$el.classList.add("on-touch"),t.$emit("a-touchstart")},this.mEventTouchmove=function(){t.mEventIsTap=!1},this.mEventTouchend=function(){t.mEventIsTap&&!Object(n.a)(t,"disabled")&&t.$emit("a-tap"),t.mEventIsTouch=t.mEventIsTap=!1,t.$el.classList.remove("on-touch"),t.$emit("a-touchend")},this.$el.addEventListener(o,this.mEventTouchstart),this.$el.addEventListener(s,this.mEventTouchmove),this.$el.addEventListener(a,this.mEventTouchend)},destroyed:function(){this.$el.removeEventListener(o,this.mEventTouchstart),this.$el.removeEventListener(s,this.mEventTouchmove),this.$el.removeEventListener(a,this.mEventTouchend)}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n={componentPrefix:"A",imageSizeAutoLoader:!1,imageTimes:1,imageSizeUnit:"px",boxUnit:"rem",assetsProperty:"assets",dialogProperty:"$dialogs",buttonImgSpace:-1,avatarOnTap:function(){}};function i(t){return Object.keys(t).forEach((function(e){n.hasOwnProperty(e)&&(n[e]=t[e])})),n}function o(t){return t?n.hasOwnProperty(t)?n[t]:null:n}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(17);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[].concat(e).reduce((function(e,r){var i=n.b[r]||"";return void 0!==t[i]?e[r]=t[i]:void 0!==t[r]&&(e[r]=t[r]),e}),{});return"string"==typeof e?r[e]:r}},function(t,e,r){var n=r(46),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(6);function i(t){return Number.isNaN(Number(t))||(t+=Object(n.a)("boxUnit")),t}},function(t,e,r){var n=r(83),i=r(86);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},function(t,e,r){var n=r(105),i=r(106),o=r(51),s=r(107);t.exports=function(t,e){return n(t)||i(t,e)||o(t,e)||s()}},function(t,e,r){t.exports=r(70)},function(t,e){var r=Array.isArray;t.exports=r},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var i=(s=n,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),o=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(o).concat([i]).join("\n")}var s,a,c;return[r].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);n&&i[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),e.push(c))}},e}},function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[s]?n[s].parts.push(a):r.push(n[s]={id:s,parts:[a]})}return r}r.r(e),r.d(e,"default",(function(){return p}));var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,u=!1,l=function(){},h=null,f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,r,i){u=r,h=i||{};var s=n(t,e);return d(s),function(e){for(var r=[],i=0;i<s.length;i++){var a=s[i];(c=o[a.id]).refs--,r.push(c)}e?d(s=n(t,e)):s=[];for(i=0;i<r.length;i++){var c;if(0===(c=r[i]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function d(t){for(var e=0;e<t.length;e++){var r=t[e],n=o[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(v(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var s=[];for(i=0;i<r.parts.length;i++)s.push(v(r.parts[i]));o[r.id]={id:r.id,refs:1,parts:s}}}}function y(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function v(t){var e,r,n=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(f){var i=c++;n=a||(a=y()),e=g.bind(null,n,i,!1),r=g.bind(null,n,i,!0)}else n=y(),e=w.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var m,b=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function g(t,e,r,n){var i=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function w(t,e){var r=e.css,n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),h.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return u}));var n=r(1),i=r.n(n),o=r(68),s=r.n(o);function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},{width:"w",height:"h",widthHeight:"wh",font:"f",fontSize:"fs",fontColor:"fc",fontWeight:"fw",backgroundColor:"bgC",backgroundImage:"bgI",backgroundSize:"bgS",lineHeight:"lh"},{},{position:"p",zIndex:"pz",positionSet:"ps",top:"pt",bottom:"pb",left:"pl",right:"pr",center:"pc"});function u(t){return Object.keys(t).forEach((function(e){c[e]&&(t[c[e]]=s()(t[e]))})),t}},function(t,e,r){var n=r(21),i=r(75),o=r(76),s=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?i(t):o(t)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(71);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){var n=r(8).Symbol;t.exports=n},function(t,e,r){var n=r(10)(Object,"create");t.exports=n},function(t,e,r){var n=r(91),i=r(92),o=r(93),s=r(94),a=r(95);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e,r){var n=r(50);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(97);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(53),i=r(54);t.exports=function(t,e,r,o){var s=!r;r||(r={});for(var a=-1,c=e.length;++a<c;){var u=e[a],l=o?o(r[u],t[u],u,r,t):void 0;void 0===l&&(l=t[u]),s?i(r,u,l):n(r,u,l)}return r}},function(t,e,r){var n=r(155);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("b03abb9a",n,!1,{})},function(t,e,r){var n=r(157);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("0d87946f",n,!1,{})},function(t,e,r){var n=r(159);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("212acac9",n,!1,{})},function(t,e,r){var n=r(161);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("180a7948",n,!1,{})},function(t,e,r){var n=r(166);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("9cf0da8c",n,!1,{})},function(t,e,r){var n=r(168);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);(0,r(16).default)("c2fcf1b2",n,!1,{})},function(t,e,r){var n=r(162),i=r(163),o=r(51),s=r(164);t.exports=function(t){return n(t)||i(t)||o(t)||s()}},function(t,e){function r(t,e,r,n,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,i)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var s=t.apply(e,n);function a(t){r(s,i,o,a,c,"next",t)}function c(t){r(s,i,o,a,c,"throw",t)}a(void 0)}))}}},function(t,e,r){var n=r(18),i=r(14);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},function(t,e,r){var n=r(10)(r(8),"Map");t.exports=n},function(t,e,r){var n=r(55),i=r(125),o=r(59);t.exports=function(t){return o(t)?n(t):i(t)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){(function(t){var n=r(46),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&n.process,a=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a}).call(this,r(38)(t))},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(133),i=r(61),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),n(s(t),(function(e){return o.call(t,e)})))}:i;t.exports=a},function(t,e,r){var n=r(137),i=r(36),o=r(138),s=r(139),a=r(140),c=r(18),u=r(49),l=u(n),h=u(i),f=u(o),p=u(s),d=u(a),y=c;(n&&"[object DataView]"!=y(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=y(new i)||o&&"[object Promise]"!=y(o.resolve())||s&&"[object Set]"!=y(new s)||a&&"[object WeakMap]"!=y(new a))&&(y=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case h:return"[object Map]";case f:return"[object Promise]";case p:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=y},function(t,e,r){var n=r(143);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},function(t,e,r){"use strict";r.r(e),r.d(e,"Section",(function(){return h})),r.d(e,"Sections",(function(){return y})),r.d(e,"Position",(function(){return g})),r.d(e,"List",(function(){return j})),r.d(e,"Fps9",(function(){return B})),r.d(e,"Sprite",(function(){return F})),r.d(e,"Button",(function(){return Y})),r.d(e,"Avatar",(function(){return J})),r.d(e,"Popup",(function(){return et})),r.d(e,"Dialog",(function(){return at})),r.d(e,"Bullet",(function(){return bt})),r.d(e,"Timer",(function(){return xt})),r.d(e,"Roulette",(function(){return Tt})),r.d(e,"Tabs",(function(){return Bt})),r.d(e,"Slider",(function(){return Nt})),r.d(e,"Popover",(function(){return $t}));var n=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};n._withStripped=!0;var i=r(2),o=r(3),s=r(4),a=r(5),c={mixins:[i.a,o.a,s.a,a.a]},u=r(0),l=Object(u.a)(c,n,[],!1,null,null,null);l.options.__file="src/components/basic/Section.vue";var h=l.exports,f=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-sections",style:this.mPositionStyle},[this._t("default")],2)};f._withStripped=!0;var p={mixins:[i.a,o.a,s.a,a.a]},d=(r(154),Object(u.a)(p,f,[],!1,null,null,null));d.options.__file="src/components/basic/Sections.vue";var y=d.exports,v=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};v._withStripped=!0;var m={mixins:[i.a,o.a,s.a,a.a],props:{position:{type:String,default:"absolute"}}},b=Object(u.a)(m,v,[],!1,null,null,null);b.options.__file="src/components/basic/Position.vue";var g=b.exports,w=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"a-list",style:this.listStyle},[e("div",{ref:"scroll",staticClass:"content",style:this.contentStyle},[this._t("default")],2)])};w._withStripped=!0;var O=r(1),x=r.n(O);function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var S={mixins:[i.a,o.a,s.a,a.a],props:{direction:{type:String,default:"y"},nested:{type:Boolean,default:!1}},data:function(){return{preventDefault:!0,lastPosition:{x:0,y:0}}},computed:{listStyle:function(){return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({overflow:"hidden"},this.mPositionStyle)},contentStyle:function(){var t;return t={width:"100%",height:"100%",boxSizing:"content-box"},x()(t,"x"===this.direction?"overflowX":"overflowY","auto"),x()(t,"padding-".concat("y"===this.direction?"right":"bottom"),"20px"),t},$scroll:function(){return this.$refs.scroll}},mounted:function(){this.nested&&this.initScroll()},destroyed:function(){this.nested&&this.removeScroll()},methods:{initScroll:function(){this.$scroll.addEventListener("scroll",this.onScroll),this.$scroll.addEventListener("touchstart",this.onTouchstart),this.$scroll.addEventListener("touchmove",this.onTouchmove)},removeScroll:function(){this.$scroll.removeEventListener("scroll",this.onScroll),this.$scroll.removeEventListener("touchstart",this.onTouchstart),this.$scroll.removeEventListener("touchmove",this.onTouchmove)},onScroll:function(t){if("x"===this.direction){var e=t.target,r=e.scrollLeft,n=e.scrollWidth,i=e.offsetWidth;(r<1||r+i===n)&&(this.preventDefault=!1)}else{var o=t.target,s=o.scrollTop,a=o.scrollHeight,c=o.offsetHeight;(s<1||s+c===a)&&(this.preventDefault=!1)}},onTouchstart:function(t){this.lastPosition.x=t.touches[0].clientX,this.lastPosition.y=t.touches[0].clientY,this.preventDefault||this.$scroll.addEventListener("touchmove",this.onOnceTouchmove,{once:!0})},onTouchmove:function(t){if(this.preventDefault){t.preventDefault();var e,r={x:t.touches[0].clientX,y:t.touches[0].clientY};e="x"===this.direction?r.x-this.lastPosition.x:r.y-this.lastPosition.y,this.$scroll.scrollTop-=e,this.lastPosition.x=r.x,this.lastPosition.y=r.y}},onOnceTouchmove:function(t){var e=this,r=t.touches[0].clientX,n=t.touches[0].clientY;("x"===this.direction?this.lastPosition.x>r:this.lastPosition.y>n)&&this.$scroll.addEventListener("touchend",(function(){e.preventDefault=!0}),{once:!0})}}},_=Object(u.a)(S,w,[],!1,null,null,null);_.options.__file="src/components/basic/List.vue";var j=_.exports,P=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-fps9",style:this.fps9Style})};P._withStripped=!0;var T=r(6);function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var A={mixins:[i.a,o.a,s.a,a.a],computed:{fps9Style:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){if(!t.width&&!t.height){var e=Object(T.a)(),r=e.imageTimes,n=e.imageSizeUnit,i=function(t){return(t*r).toFixed(2)+n};t.width=i(this.mBoxBackgroundImage.width/3),t.height=i(this.mBoxBackgroundImage.height/3)}t.backgroundSize="300% 300%"}return t}}},D=(r(156),Object(u.a)(A,P,[],!1,null,"52d76b61",null));D.options.__file="src/components/basic/Fps9.vue";var B=D.exports,I=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.spriteStyle},[this._t("default")],2)};I._withStripped=!0;var C=r(7);function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var N={mixins:[i.a,o.a,s.a,a.a],props:{x:{type:String,default:""},y:{type:String,default:""}},computed:{spriteStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){var e=Object(T.a)(),r=e.imageTimes,n=e.imageSizeUnit,i=this.mBoxBackgroundImage,o=i.width,s=i.height;t.backgroundSize=[(o*r).toFixed(2)+n,(s*r).toFixed(2)+n].join(" ");var a=Object(C.a)(this,["x","y"]),c=a.x,u=a.y;c&&(t.backgroundPositionX=c),u&&(t.backgroundPositionY=u)}return t}}},L=Object(u.a)(N,I,[],!1,null,null,null);L.options.__file="src/components/basic/Sprite.vue";var F=L.exports,R=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.buttonStyle},[this._t("default")],2)};function z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}R._withStripped=!0;var $={mixins:[i.a,o.a,s.a,a.a],props:{moveX:{type:String},moveY:{type:String},direction:{type:String,default:"x"},space:{type:[String,Number],default:6}},computed:{buttonStyle:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?z(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.mPositionStyle);if(delete t.backgroundPosition,t.backgroundImage){var e=Object(C.a)(this,["moveX","moveY","direction","space","disabled"]),r=e.moveX,n=e.moveY,i=e.direction,o=e.space,s=e.disabled,a=this.mEventIsTouch&&!s;if(r||n)r?t.backgroundSize="auto "+t.height:n&&(t.backgroundSize=t.width+" auto"),a&&(r?t.backgroundPositionX=r:t.backgroundPositionY=n);else{var c=Object(T.a)(),u=c.buttonImgSpace,l=c.imageTimes,h=c.imageSizeUnit,f=this.mBoxBackgroundImage,p=f.width,d=f.height;o=Number(-1===u?o:u);var y=function(t){return(t*l).toFixed(2)+h},v=function(t){return s?t:(t-o)/2};"x"===i?(t.width=y(v(p)),t.height=y(d),t.backgroundSize="auto "+t.height):(t.width=y(p),t.height=y(v(d)),t.backgroundSize=t.width+" auto"),a&&("x"===i?t.backgroundPositionX="-"+y(v(p)+o):t.backgroundPositionY="-"+y(v(d)+o))}}return t}}},X=Object(u.a)($,R,[],!1,null,null,null);X.options.__file="src/components/basic/Button.vue";var Y=X.exports,U=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("a-section",t._b({staticStyle:{"border-radius":"50%"},on:{"a-tap":function(e){return t.tapAvatar()}}},"a-section",t.$attrs,!1),[t.avatarFrame?r(t.aFrameComponent.is,t._b({tag:"component"},"component",t.aFrameComponent.attrs,!1)):t._e(),t._v(" "),t._t("default")],2)};function V(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function W(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?V(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}U._withStripped=!0;var H={components:{ASection:h},props:{frame:{type:String,default:""},frameAttrs:{type:Object,default:function(){return{}}}},computed:{avatarFrame:function(){return this.frame.replace(/^http*.\:\/\//g,"//")},aFrameComponent:function(){var t=this.avatarFrame,e=t.indexOf(".svga")>-1;return{is:e?"a-svga":"a-position",attrs:W(x()({pc:"",pz:"10",w:"135%",h:"135%"},e?"url":"bgI",t),this.frameAttrs)}}},methods:{tapAvatar:function(){var t=Object(T.a)().avatarOnTap,e=this.$listeners["a-tap"]||this.$listeners.aTap;e?e(this.$attrs,t):t(this.$attrs)}}},K=Object(u.a)(H,U,[],!1,null,null,null);K.options.__file="src/components/basic/Avatar.vue";var J=K.exports,q=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("a-position",{staticClass:"popup",class:{active:t.active,visible:t.visible},attrs:{position:"fixed","z-index":"1000",top:"0",bottom:"0",left:"0",right:"0"}},t._l(t.iSlots,(function(e){return r("a-position",{key:"popup-item-"+e.name,staticClass:"popup-item",class:{active:e.active},attrs:{"z-index":e.activeIndex,top:"0",bottom:"0",left:"0",right:"0"}},[r("a-position",{attrs:{"z-index":"1",top:"0",bottom:"0",left:"0",right:"0","background-color":"rgba(0,0,0,0.7)"},on:{"a-tap":function(r){e.options.bgClose&&t.close(e.name)}}}),t._v(" "),r("a-position",t._b({attrs:{"z-index":"2"}},"a-position",e.position,!1),[t._t(e.name,null,{active:e.active,data:e.data})],2)],1)})),1)};function G(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Z(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?G(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}q._withStripped=!0;var Q={components:{APosition:g},props:{items:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}}},data:function(){return{active:!1,visible:!1,defaultOptions:{bgClose:!1,zIndex:1,top:"50%",left:"50%",center:"x+y"},activeSlots:[]}},computed:{iSlots:function(){var t=this;return this.items.reduce((function(e,r){var n=t.activeSlots.findIndex((function(t){return t.name===r})),i=t.activeSlots[n],o=Z({},t.defaultOptions,{},i?i.options:{});return e.push({activeIndex:n,active:!!i&&i.active,name:r,options:o,position:Z({top:"0",left:"150%"},i?Object(C.a)(o,["top","left","center"]):{}),data:i?i.data:void 0}),e}),[])}},mounted:function(){Object.assign(this.defaultOptions,Object(C.a)(this,"options"))},methods:{open:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"string"==typeof e&&(e={name:e});var r=e,n=r.name,i=r.options,o=void 0===i?{}:i,s=r.data,a=r.onclose;if(!(-1===this.items.indexOf(n)||this.activeSlots.findIndex((function(t){return t.name===n}))>-1))return new Promise((function(e){t.active=t.visible=!0,t.activeSlots.push({active:!0,name:n,options:o,data:s,onclose:a}),setTimeout((function(){e()}),300)}))},close:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(e=[].concat(e).filter((function(e){return t.items.indexOf(e)>-1&&t.activeSlots.findIndex((function(t){return t.name===e}))>-1}))).length||(e=this.activeSlots.map((function(t){return t.name}))),new Promise((function(r){t.activeSlots.length===e.length?(t.active=!1,setTimeout((function(){t.visible=!1;var e=t.activeSlots.map((function(t){return t.onclose}));t.$set(t,"activeSlots",[]),r(e)}),300)):(e.forEach((function(e){var r=t.activeSlots.findIndex((function(t){return t.name===e}));r>-1&&(t.activeSlots[r].active=!1)})),setTimeout((function(){var n=[];t.$set(t,"activeSlots",t.activeSlots.filter((function(t){var r=t.name,i=t.onclose,o=e.find((function(t){return t!==r}));return o||n.push(i),o}))),r(n)}),300))})).then((function(t){return t.filter(Boolean).reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}))}}},tt=(r(158),Object(u.a)(Q,q,[],!1,null,"fcb087fa",null));tt.options.__file="src/components/interact/Popup.vue";var et=tt.exports,rt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("a-position",{staticClass:"dialog",class:{active:t.active,visible:t.visible},attrs:{position:"fixed","z-index":t.zIndex,"position-set":"0"}},[r("a-position",{attrs:{"z-index":"1","position-set":"0","background-color":"rgba(0,0,0,0.7)",disabled:!t.options.bgClose},on:{"a-tap":function(e){return t.close()}}}),t._v(" "),r("a-position",t._b({attrs:{"z-index":"2"}},"a-position",Object.assign({},{center:"x+y"},t.$attrs,t.attrs),!1),[t._t("default",null,{data:t.data})],2)],1)};function nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function it(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}rt._withStripped=!0;var ot={components:{APosition:g},props:{name:{type:String,default:""},cache:{type:Boolean,default:!1}},data:function(){return{active:!1,visible:!1,zIndex:0,data:null,attrs:{},options:{bgClose:!1},onclose:function(){}}},created:function(){this[Object(T.a)().dialogProperty][this.name]=this},methods:{open:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.data,n=void 0===r?{}:r,i=e.attrs,o=void 0===i?{}:i,s=e.options,a=void 0===s?{}:s,c=e.onclose,u=void 0===c?function(){}:c,l=Object(T.a)(),h=l.dialogProperty;return this.zIndex=Object.keys(this[h]).reduce((function(e,r){return t[h][r].active&&(e+=100),e}),5e3),this.$set(this,"data",n),this.$set(this,"attrs",o),this.$set(this,"options",it({bgClose:!1},a)),this.$set(this,"onclose",u),new Promise((function(e){t.active=t.visible=!0,0==t[h].$active++&&(document.body.style.overflow="hidden"),setTimeout((function(){e()}),300)}))},close:function(t){var e=this,r=Object(T.a)().dialogProperty;if(t){var n=t.all,i=void 0!==n&&n,o=t.other,s=void 0===o?[]:o;(i?Object.keys(this[r]).filter((function(t){return e[r][t].active})):[].concat(s)).forEach((function(t){return e[r][t].close()}))}var a=this.onclose,c=this.data;return new Promise((function(t){e.active=!1,setTimeout((function(){e.visible=!1,1==e[r].$active--&&(document.body.style.overflow=null),e.cache||e.$set(e,"data",null),e.$set(e,"attrs",{}),e.$set(e,"options",{bgClose:!1}),e.$set(e,"onclose",(function(){})),t()}),300)})).then((function(){return a({name:e.name,data:c})}))},update:function(t){this.$set(this,"data",t)}}},st=(r(160),Object(u.a)(ot,rt,[],!1,null,"557055fe",null));st.options.__file="src/components/interact/Dialog.vue";var at=st.exports,ct=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{style:t.bulletStyle},t._l(t.bullets,(function(e,n){return r("div",{key:n,ref:"bullet",refInFor:!0,staticClass:"bullet",class:t.direction,style:{animationDuration:t.duration+"s",animationPlayState:t.paused?"paused":"running"}},["text"===t.mode?r("div",{staticClass:"bullet-item",domProps:{innerHTML:t._s(e)}}):"slot"===t.mode?r("div",{staticClass:"bullet-item"},[t._t("default",null,{index:n,data:e})],2):t._e()])})),0)};ct._withStripped=!0;var ut=r(11),lt=r.n(ut),ht=r(33),ft=r.n(ht),pt=setTimeout,dt=clearTimeout;function yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var vt={mixins:[i.a,o.a,s.a,a.a],props:{direction:{type:String,default:"rtl"},items:{type:Array,default:function(){return[]}},mode:{validator:function(t){return-1!==["text","slot"].indexOf(t)},default:"text"},duration:{type:[Number,String],default:"20"},between:{type:[Number,String],default:"50"}},computed:{bulletStyle:function(){return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({overflow:"hidden"},this.mPositionStyle)}},data:function(){return{bullets:[].concat(this.items),paused:!1,beginPaused:0,lastBeginIndex:0,lastBeginTime:0,nextBeginIndex:0,nextBeginTimer:0,moveTimer:{},beginDelayTimer:0}},watch:{items:function(t,e){var r=this;t.length&&!e.length?(this.bullets=[].concat(t),this.$nextTick((function(){r.beginAnimation()}))):t.length&&e.length?this.bullets.splice.apply(this.bullets,[this.nextBeginIndex,this.bullets.length-this.nextBeginIndex].concat(ft()(t))):this.endAnimation()}},mounted:function(){this.bullets.length&&this.beginAnimation()},destroyed:function(){this.endAnimation()},methods:{beginAnimation:function(){var t=this,e=1e3*Number(this.duration),r=this.nextBeginIndex,n=this.$refs.bullet[r],i=this.lastBeginIndex,o=this.$refs.bullet[i],s=0;if(o&&new Set(o.classList).has("move")){var a=this.moveTimer[i].residue;if(a!==e){var c=this.getBulletMoveTime(o),u=e-a;u<c&&(s=c-u)}}this.beginDelayTimer=pt((function(){var i=Date.now(),o=t.getBulletMoveTime(n);t.lastBeginIndex=r,t.lastBeginTime=i,n.classList.add("move"),t.moveTimer[r]={ref:n,residue:e,begin:i,timer:pt((function(){n.classList.remove("move"),delete t.moveTimer[r]}),e)};var s=r;t.nextBeginIndex=t.bullets.length-1===s?0:s+1,t.nextBeginTimer=pt(t.beginAnimation,o)}),s)},endAnimation:function(){dt(this.nextBeginTimer),this.nextBeginTimer=0},playAnimation:function(){var t=this;this.paused=!1,Object.keys(this.moveTimer).forEach((function(e){var r=t.moveTimer[e],n=r.ref,i=r.residue;t.moveTimer[e].begin=Date.now(),t.moveTimer[e].timer=pt((function(){n.classList.remove("move"),delete t.moveTimer[e]}),i)})),this.beginAnimation()},pauseAnimation:function(){var t=this;this.paused=!0,this.beginPaused=Date.now(),this.endAnimation(),Object.keys(this.moveTimer).forEach((function(e){var r=t.moveTimer[e],n=r.residue,i=r.begin,o=r.timer;dt(o),t.moveTimer[e].residue=n-(t.beginPaused-i)})),this.beginDelayTimer&&(dt(this.beginDelayTimer),this.beginDelayTimer=0)},getBulletMoveTime:function(t){var e=2.5*t.offsetWidth/Number(this.duration),r=t.firstChild.offsetWidth,n=this.between.split("-").map((function(t){return Number(t)})),i=lt()(n,2),o=i[0],s=i[1];return o&&(r+=o),s&&(r+=(s-o)*Math.random()),Math.floor(r/e*1e3)}}},mt=(r(165),Object(u.a)(vt,ct,[],!1,null,"463dcfbb",null));mt.options.__file="src/components/interact/Bullet.vue";var bt=mt.exports,gt=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this.timer.sec>0?this._t("wait",null,{data:this.timeData}):this._t("arrival")],2)};gt._withStripped=!0;var wt={mixins:[i.a,o.a,s.a,a.a],props:{start:{type:[String,Number,Date],default:""},end:{type:[String,Number,Date],default:""},sec:{type:[String,Number],default:""},manual:{type:[Boolean,Number,String]}},data:function(){return{timer:{id:0,sec:0,over:!1}}},computed:{timeData:function(){var t=this.timer.sec/1e3,e=Math.floor(t/3600),r=e>23?Math.floor(e/24):0,n=e>23?e%24:e,i=Math.floor(t/60)-60*e,o=Math.ceil(t-3600*e-60*i);return{all:String(t),dd:r<10?"0".concat(r):String(r),HH:e<10?"0".concat(e):String(e),hh:n<10?"0".concat(n):String(n),mm:i<10?"0".concat(i):String(i),ss:o<10?"0".concat(o):String(o),d:String(r),H:String(e),h:String(n),m:String(i),s:String(o)}}},watch:{start:function(){this.initTimer()},end:function(){this.initTimer()},sec:function(){this.initTimer()}},mounted:function(){this.initTimer()},methods:{initTimer:function(){if(this.start&&this.end){var t=new Date(this.start).getTime(),e=new Date(this.end).getTime();this.timer.sec=e-t}else{if(!this.sec)return;this.timer.sec=Number(this.sec)}this.timer.sec>0?(this.timer.id&&clearInterval(this.timer.id),this.timer.id=0,this.timer.over=!1,this.manual||this.countdownStart()):(this.timer.over||this.$emit("countdown-over"),this.timer.over=!0)},countdownStart:function(){var t=this;this.timer.sec>0&&(this.timer.sec-=1e3),this.timer.id=setInterval((function(){t.timer.sec-=1e3,t.$emit("timer-reduce",t.timer.sec),t.timer.sec<=0&&(t.timer.id&&clearInterval(t.timer.id),t.timer.id=0,t.$emit("countdown-over"))}),1e3)}}},Ot=Object(u.a)(wt,gt,[],!1,null,null,null);Ot.options.__file="src/components/interact/Timer.vue";var xt=Ot.exports,kt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{style:t.mPositionStyle},t._l(t.iItems,(function(e,n){return r("a-position",t._b({key:n},"a-position",e.style,!1),[t._t("default",null,{index:e.index,active:e.active,data:e.data})],2)})),1)};function St(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _t(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?St(Object(r),!0).forEach((function(e){x()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):St(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}kt._withStripped=!0;var jt={components:{APosition:g},mixins:[i.a,o.a,s.a,a.a],props:{items:{type:Array,default:function(){return[]}},options:{type:Object,default:function(){return{}}}},computed:{iItems:function(){var t=this;return this.items.map((function(e,r){return{index:r,active:r===t.activeIndex,style:_t({},t.options,{},e.position),data:e.data||{}}}))},iOptions:function(){var t=_t({},this.defaultOptions,{},this.activeOptions),e=t.maxSpeed,r=t.minSpeed,n=t.toMaxStep;return t.acceleration=(r-e)/n,t}},data:function(){return{activeIndex:-1,defaultOptions:{func:"ease-in-out",maxSpeed:30,minSpeed:960,toMaxStep:4},activeOptions:{}}},methods:{run:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=void 0===e?this.items.length:e,n=t.result,i=void 0===n?-1:n,o=t.options,s=void 0===o?{}:o;return this.$set(this,"activeOptions",Object(C.a)(s,["func","maxSpeed","minSpeed","toMaxStep"])),this.jumpMain(this.getTotalSteps({steps:r,result:i}))},init:function(){this.activeIndex=-1,this.$set(this,"activeOptions",{})},jumpMain:function(t){var e=this;return ft()(Array(t)).reduce((function(r,n,i){return r.then((function(){return new Promise((function(r){setTimeout((function(){e.activeIndex=e.getNextActive({index:i,total:t}),r()}),i?e.getSpeed({index:i,total:t}):0)}))}))}),Promise.resolve())},getTotalSteps:function(t){var e=t.steps,r=t.result;if(-1!==r){var n=(e-(r+1))%this.items.length;this.activeIndex=this.items.length-n-1}return e},getSpeed:function(t){var e=t.index,r=t.total,n=this.iOptions,i=n.func,o=n.maxSpeed,s=n.minSpeed,a=n.toMaxStep,c=n.acceleration;return e>a&&e<r-a-1?o:e<=a?"ease-out"===i?o:s-c*(e-1):e>=r-a-1?"ease-in"===i?o:o+(e-(r-a-2))*c:void 0},getNextActive:function(){var t=this.activeIndex+1;return t===this.items.length?0:t}}},Pt=Object(u.a)(jt,kt,[],!1,null,null,null);Pt.options.__file="src/components/interact/Roulette.vue";var Tt=Pt.exports,Et=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{style:t.mPositionStyle},t._l(t.items,(function(e){return r("a-section",t._b({key:e},"a-section",t.active===e?{}:t.positionParams,!1),[t._t(e)],2)})),1)};Et._withStripped=!0;var At={components:{ASection:h},mixins:[i.a,o.a,s.a,a.a],props:{active:{type:String,default:""},items:{type:Array,default:function(){return[]}}},data:function(){return{positionParams:{position:"",top:"0",left:"150%",zIndex:"1",style:{pointerEvents:"none",opacity:"0"}}}}},Dt=Object(u.a)(At,Et,[],!1,null,null,null);Dt.options.__file="src/components/interact/Tabs.vue";var Bt=Dt.exports,It=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"a-slider",style:t.mPositionStyle},["text"===t.mode?t._l(2,(function(e){return r("div",{key:e,staticClass:"slider-item",class:{"slider-in":t.values[e-1],"slider-out":t.values[e-1]&&t.animation&&t.current===e-1},style:{"animation-duration":t.duration/1e3+"s"}},[t._v(t._s(t.values[e-1]))])})):"slot"===t.mode?t._l(t.items,(function(e,n){return r("div",{key:n,staticClass:"slider-item",class:{"slider-in":t.isIn(e),"slider-out":t.isOut(e)},style:{"animation-duration":t.duration/1e3+"s"}},[t._t(e)],2)})):t._e()],2)};It._withStripped=!0;var Ct={mixins:[i.a,o.a,s.a,a.a],props:{value:{type:[String,Number],default:""},duration:{type:Number,default:500},items:{type:Array,default:function(){return[]}},mode:{validator:function(t){return-1!==["text","slot"].indexOf(t)},default:"text"}},data:function(){return{timer:0,current:-1,values:{0:void 0,1:void 0}}},computed:{animation:function(){return void 0!==this.values[0]&&void 0!==this.values[1]}},watch:{value:function(t){this.next(t)}},mounted:function(){this.next(this.value)},methods:{next:function(t){var e=this;dt(this.timer),0===this.current?this.values[1]=t:this.values[0]=t,this.timer=pt((function(){0===e.current?(e.current=1,e.values[0]=void 0):(e.current=0,e.values[1]=void 0)}),this.duration)},isIn:function(t){var e=-1;return this.values[0]===t?e=0:this.values[1]===t&&(e=1),e>-1},isOut:function(t){var e=-1;return this.values[0]===t?e=0:this.values[1]===t&&(e=1),-1!==e&&(this.animation&&this.current===e)}}},Mt=(r(167),Object(u.a)(Ct,It,[],!1,null,"69c4dc1a",null));Mt.options.__file="src/components/interact/Slider.vue";var Nt=Mt.exports,Lt=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{style:t.mPositionStyle},[r("a-section",t._b({on:{"a-tap":t.togglePopoverVisible}},"a-section",t.contentAttr,!1),[t._t("content")],2),t._v(" "),r("a-section",t._b({directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}]},"a-section",t.popoverAttr,!1),[t._t("popover")],2)],1)};Lt._withStripped=!0;var Ft=navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)?"touchstart":"mousedown",Rt={mixins:[i.a,o.a,s.a,a.a],props:{contentAttr:{type:Object,default:function(){return{}}},popoverAttr:{type:Object,default:function(){return{}}}},data:function(){return{visible:!1}},mounted:function(){var t=this;this.$el.addEventListener(Ft,(function(e){return t.visible&&e.stopPropagation()}))},methods:{togglePopoverVisible:function(){var t=this;this.disabled||(this.visible?this.visible=!1:(this.visible=!0,window.addEventListener(Ft,(function(){t.visible=!1}),{once:!0})))}}},zt=Object(u.a)(Rt,Lt,[],!1,null,null,null);zt.options.__file="src/components/interact/Popover.vue";var $t=zt.exports;e.default={}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(74))},function(t,e,r){var n=r(80),i=r(96),o=r(98),s=r(99),a=r(100);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e,r){var n=r(18),i=r(19);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(52);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){var n=r(54),i=r(50),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];o.call(t,e)&&i(s,r)&&(void 0!==r||e in t)||n(t,e,r)}},function(t,e,r){var n=r(116);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(118),i=r(119),o=r(13),s=r(56),a=r(122),c=r(123),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),l=!r&&i(t),h=!r&&!l&&s(t),f=!r&&!l&&!h&&c(t),p=r||l||h||f,d=p?n(t.length,String):[],y=d.length;for(var v in t)!e&&!u.call(t,v)||p&&("length"==v||h&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,y))||d.push(v);return d}},function(t