antelope-ui
Version:
A Component Library for Vue.js.
1 lines • 240 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 n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=166)}([function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(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 f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";e.a={props:{disabled:{type:Boolean,default:!1}}}},function(t,e,n){"use strict";var r=n(1),i=n.n(r),o=n(14),s=n.n(o),a=n(18),c=n.n(a),u=n(7),l=n(6),f=n(19),h=n(15);function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){t.mBoxBackgroundImage.loadPromiseReject&&(t.mBoxBackgroundImage.loadPromiseReject(),t.mBoxBackgroundImage.loadPromiseReject=null);var e=function(t,e){var n=c()(t,"$route.meta.".concat(Object(u.a)("assetsProperty")),{}),r=Object(l.a)(t,"imageSuffix");if(r){var i=e.split(".");i.splice(i.length-1,0,String(r)),e=i.join(".")}return{name:e,file:n[e]||e}}(t,Object(l.a)(t,"backgroundImage")).file,n=Promise.resolve({src:"",width:0,height:0});e&&(__BACKGROUND_LOAD_PROMISE.has(e)||__BACKGROUND_LOAD_PROMISE.set(e,new Promise((function(t){var n=new Image;n.src=e,n.onload=function(){return t(n)}}))),n=__BACKGROUND_LOAD_PROMISE.get(e)),new Promise((function(e,r){t.mBoxBackgroundImage.loadPromiseReject=r,n.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(){}))}window.__BACKGROUND_LOAD_PROMISE=new Map,e.a={props:Object(h.a)({width:{type:[String,Number]},height:{type:[String,Number]},widthHeight:{type:[String,Number]},backgroundColor:{type:[String,Number]},backgroundImage:{type:[String,Number]},imageSuffix:{type:[String,Number]}}),data:function(){return{mBoxBackgroundImage:{loadPromiseReject:null,src:"",width:0,height:0}}},computed:{mBoxStyle:function(){var t=Object(l.a)(this,["width","height","widthHeight","backgroundColor","backgroundImage"]);if(void 0!==t.widthHeight){var e=String(t.widthHeight).trim().split(" "),n=s()(e,2),r=n[0],o=n[1],a=void 0===o?r:o;t.width=r||0,t.height=a||0,Reflect.deleteProperty(t,"widthHeight")}t.width=Object(f.a)(t.width),t.height=Object(f.a)(t.height);var c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){i()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"relative"},t);if(this.mBoxBackgroundImage.src&&(c.backgroundImage="url(".concat(this.mBoxBackgroundImage.src,")"),c.backgroundSize="100% 100%",Object(u.a)("imageSizeAutoLoader"))){var h=Object(u.a)(),d=h.imageTimes,y=h.imageSizeUnit,m=this.mBoxBackgroundImage,v=m.width,b=m.height;c.width||(c.width=(v*d).toFixed(2)+y),c.height||(c.height=(b*d).toFixed(2)+y)}return c}},watch:{backgroundImage:function(){d(this)},bgI:function(){d(this)},imageSuffix:function(){d(this)},iS:function(){d(this)}},mounted:function(){d(this)}}},function(t,e,n){"use strict";var r=n(14),i=n.n(r),o=n(1),s=n.n(o),a=n(6),c=n(19),u=n(15);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){s()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,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=f({},this.mBoxStyle,{},Object(a.a)(this,["zIndex"])),e=Object(a.a)(this,"position"),n=Object(a.a)(this,["positionSet","top","bottom","left","right","center"]);if(void 0!==e||"{}"!==JSON.stringify(n)){if(n.positionSet){var r=n.positionSet.trim().split(" "),o=i()(r,4),s=o[0],u=o[1],l=void 0===u?s:u,h=o[2],p=void 0===h?s:h,d=o[3],y=void 0===d?l:d;n.top=s||0,n.right=l||0,n.bottom=p||0,n.left=y||0}["top","right","bottom","left"].forEach((function(t){n[t]&&(n[t]=Object(c.a)(n[t]))})),void 0!==(t=f({},t,{position:e||"absolute"},n)).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,n){"use strict";var r=n(6),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(r.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,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(15);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[].concat(e).reduce((function(e,n){var i=r.b[n]||"";return void 0!==t[i]?e[n]=t[i]:void 0!==t[n]&&(e[n]=t[n]),e}),{});return"string"==typeof e?n[e]:n}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r={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){r.hasOwnProperty(e)&&(r[e]=t[e])})),r}function o(t){return t?r.hasOwnProperty(t)?r[t]:null:r}},function(t,e,n){var r=n(44),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){var r=n(78),i=n(81);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(s=r,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([i]).join("\n")}var s,a,c;return[n].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)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]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}n.r(e),n.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(){},f=null,h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){u=n,f=i||{};var s=r(t,e);return d(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i];(c=o[a.id]).refs--,n.push(c)}e?d(s=r(t,e)):s=[];for(i=0;i<n.length;i++){var c;if(0===(c=n[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 n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(m(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(m(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function y(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function m(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(h){var i=c++;r=a||(a=y()),e=g.bind(null,r,i,!1),n=g.bind(null,r,i,!0)}else r=y(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var v,b=(v=[],function(t,e){return v[t]=e,v.filter(Boolean).join("\n")});function g(t,e,n,r){var i=n?"":r.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 n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),f.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},function(t,e,n){var r=n(100),i=n(101),o=n(49),s=n(102);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||s()}},function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var r=n(1),i=n.n(r),o=n(65),s=n.n(o);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){i()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},{width:"w",height:"h",widthHeight:"wh",backgroundColor:"bgC",backgroundImage:"bgI",imageSuffix:"iS"},{},{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,n){var r=n(20),i=n(70),o=n(71),s=r?r.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,n){var r=n(66);t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(7);function i(t){return Number.isNaN(Number(t))||(t+=Object(r.a)("boxUnit")),t}},function(t,e,n){var r=n(8).Symbol;t.exports=r},function(t,e,n){var r=n(9)(Object,"create");t.exports=r},function(t,e,n){var r=n(86),i=n(87),o=n(88),s=n(89),a=n(90);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e,n){var r=n(48);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(92);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(51),i=n(52);t.exports=function(t,e,n,o){var s=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var u=e[a],l=o?o(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),s?i(n,u,l):r(n,u,l)}return n}},function(t,e,n){var r=n(150);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("b03abb9a",r,!1,{})},function(t,e,n){var r=n(152);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("0d87946f",r,!1,{})},function(t,e,n){var r=n(154);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("212acac9",r,!1,{})},function(t,e,n){var r=n(156);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("180a7948",r,!1,{})},function(t,e,n){var r=n(161);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("9cf0da8c",r,!1,{})},function(t,e,n){var r=n(163);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(13).default)("c2fcf1b2",r,!1,{})},function(t,e,n){var r=n(157),i=n(158),o=n(49),s=n(159);t.exports=function(t){return r(t)||i(t)||o(t)||s()}},function(t,e,n){var r=n(16),i=n(11);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},function(t,e,n){var r=n(9)(n(8),"Map");t.exports=r},function(t,e,n){var r=n(53),i=n(120),o=n(57);t.exports=function(t){return o(t)?r(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,n){(function(t){var r=n(44),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i&&r.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,n(36)(t))},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(128),i=n(59),o=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(t){return null==t?[]:(t=Object(t),r(s(t),(function(e){return o.call(t,e)})))}:i;t.exports=a},function(t,e,n){var r=n(132),i=n(34),o=n(133),s=n(134),a=n(135),c=n(16),u=n(47),l=u(r),f=u(i),h=u(o),p=u(s),d=u(a),y=c;(r&&"[object DataView]"!=y(new r(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),n="[object Object]"==e?t.constructor:void 0,r=n?u(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case p:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=y},function(t,e,n){var r=n(138);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},function(t,e,n){"use strict";n.r(e),n.d(e,"Section",(function(){return f})),n.d(e,"Sections",(function(){return y})),n.d(e,"Position",(function(){return g})),n.d(e,"List",(function(){return j})),n.d(e,"Fps9",(function(){return C})),n.d(e,"Sprite",(function(){return R})),n.d(e,"Button",(function(){return X})),n.d(e,"Avatar",(function(){return Z})),n.d(e,"Popup",(function(){return et})),n.d(e,"Dialog",(function(){return at})),n.d(e,"Bullet",(function(){return bt})),n.d(e,"Timer",(function(){return kt})),n.d(e,"Roulette",(function(){return Pt})),n.d(e,"Tabs",(function(){return Ct})),n.d(e,"Slider",(function(){return Ft})),n.d(e,"Popover",(function(){return $t}));var r=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};r._withStripped=!0;var i=n(2),o=n(3),s=n(4),a=n(5),c={mixins:[i.a,o.a,s.a,a.a]},u=n(0),l=Object(u.a)(c,r,[],!1,null,null,null);l.options.__file="src/components/basic/Section.vue";var f=l.exports,h=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-sections",style:this.mPositionStyle},[this._t("default")],2)};h._withStripped=!0;var p={mixins:[i.a,o.a,s.a,a.a]},d=(n(149),Object(u.a)(p,h,[],!1,null,null,null));d.options.__file="src/components/basic/Sections.vue";var y=d.exports,m=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.mPositionStyle},[this._t("default")],2)};m._withStripped=!0;var v={mixins:[i.a,o.a,s.a,a.a],props:{position:{type:String,default:"absolute"}}},b=Object(u.a)(v,m,[],!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 _=n(1),k=n.n(_);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var O={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 n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({overflow:"hidden"},this.mPositionStyle)},contentStyle:function(){var t;return t={width:"100%",height:"100%",boxSizing:"content-box"},k()(t,"x"===this.direction?"overflowX":"overflowY","auto"),k()(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,n=e.scrollLeft,r=e.scrollWidth,i=e.offsetWidth;(n<1||n+i===r)&&(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,n={x:t.touches[0].clientX,y:t.touches[0].clientY};e="x"===this.direction?n.x-this.lastPosition.x:n.y-this.lastPosition.y,this.$scroll.scrollTop-=e,this.lastPosition.x=n.x,this.lastPosition.y=n.y}},onOnceTouchmove:function(t){var e=this,n=t.touches[0].clientX,r=t.touches[0].clientY;("x"===this.direction?this.lastPosition.x>n:this.lastPosition.y>r)&&this.$scroll.addEventListener("touchend",(function(){e.preventDefault=!0}),{once:!0})}}},S=Object(u.a)(O,w,[],!1,null,null,null);S.options.__file="src/components/basic/List.vue";var j=S.exports,T=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"a-fps9",style:this.fps9Style})};T._withStripped=!0;var P=n(7);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var E={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 n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(t.backgroundImage){if(!t.width&&!t.height){var e=Object(P.a)(),n=e.imageTimes,r=e.imageSizeUnit,i=function(t){return(t*n).toFixed(2)+r};t.width=i(this.mBoxBackgroundImage.width/3),t.height=i(this.mBoxBackgroundImage.height/3)}t.backgroundSize="300% 300%"}return t}}},B=(n(151),Object(u.a)(E,T,[],!1,null,"52d76b61",null));B.options.__file="src/components/basic/Fps9.vue";var C=B.exports,I=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.spriteStyle},[this._t("default")],2)};I._withStripped=!0;var D=n(6);function N(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var F={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 n=null!=arguments[e]?arguments[e]:{};e%2?N(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(t.backgroundImage){var e=Object(P.a)(),n=e.imageTimes,r=e.imageSizeUnit,i=this.mBoxBackgroundImage,o=i.width,s=i.height;t.backgroundSize=[(o*n).toFixed(2)+r,(s*n).toFixed(2)+r].join(" ");var a=Object(D.a)(this,["x","y"]),c=a.x,u=a.y;c&&(t.backgroundPositionX=c),u&&(t.backgroundPositionY=u)}return t}}},M=Object(u.a)(F,I,[],!1,null,null,null);M.options.__file="src/components/basic/Sprite.vue";var R=M.exports,L=function(){var t=this.$createElement;return(this._self._c||t)("div",{style:this.buttonStyle},[this._t("default")],2)};function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}L._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 n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.mPositionStyle);if(t.backgroundImage){var e=Object(D.a)(this,["moveX","moveY","direction","space","disabled"]),n=e.moveX,r=e.moveY,i=e.direction,o=e.space,s=e.disabled,a=this.mEventIsTouch&&!s;if(n||r)n?t.backgroundSize="auto "+t.height:r&&(t.backgroundSize=t.width+" auto"),a&&(n?t.backgroundPositionX=n:t.backgroundPositionY=r);else{var c=Object(P.a)(),u=c.buttonImgSpace,l=c.imageTimes,f=c.imageSizeUnit,h=this.mBoxBackgroundImage,p=h.width,d=h.height;o=Number(-1===u?o:u);var y=function(t){return(t*l).toFixed(2)+f},m=function(t){return s?t:(t-o)/2};"x"===i?(t.width=y(m(p)),t.height=y(d),t.backgroundSize="auto "+t.height):(t.width=y(p),t.height=y(m(d)),t.backgroundSize=t.width+" auto"),a&&("x"===i?t.backgroundPositionX="-"+y(m(p)+o):t.backgroundPositionY="-"+y(m(d)+o))}}return t}}},Y=Object(u.a)($,L,[],!1,null,null,null);Y.options.__file="src/components/basic/Button.vue";var X=Y.exports,U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-section",t._b({staticStyle:{"border-radius":"50%"},on:{"a-tap":function(e){return t.tapAvatar()}}},"a-section",t.$attrs,!1),[t.avatarFrame?n(t.aFrameComponent.is,t._b({tag:"component"},"component",t.aFrameComponent.attrs,!1)):t._e(),t._v(" "),t._t("default")],2)};function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}U._withStripped=!0;var V={components:{ASection:f},props:{frame:{type:String,default:""},frameAttrs:{type:Object,default:function(){return{}}},frameParams:{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:H(k()({pc:"",pz:"10",w:"135%",h:"135%"},e?"url":"bgI",t),this.frameAttrs,{},this.frameParams)}}},methods:{tapAvatar:function(){var t=Object(P.a)().avatarOnTap,e=this.$listeners["a-tap"]||this.$listeners.aTap;e?e(this.$attrs,t):t(this.$attrs)}}},J=Object(u.a)(V,U,[],!1,null,null,null);J.options.__file="src/components/basic/Avatar.vue";var Z=J.exports,q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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 n("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"}},[n("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(n){e.options.bgClose&&t.close(e.name)}}}),t._v(" "),n("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 W(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?W(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,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,n){var r=t.activeSlots.findIndex((function(t){return t.name===n})),i=t.activeSlots[r],o=G({},t.defaultOptions,{},i?i.options:{});return e.push({activeIndex:r,active:!!i&&i.active,name:n,options:o,position:G({top:"0",left:"150%"},i?Object(D.a)(o,["top","left","center"]):{}),data:i?i.data:void 0}),e}),[])}},mounted:function(){Object.assign(this.defaultOptions,Object(D.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 n=e,r=n.name,i=n.options,o=void 0===i?{}:i,s=n.data,a=n.onclose;if(!(-1===this.items.indexOf(r)||this.activeSlots.findIndex((function(t){return t.name===r}))>-1))return new Promise((function(e){t.active=t.visible=!0,t.activeSlots.push({active:!0,name:r,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(n){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",[]),n(e)}),300)):(e.forEach((function(e){var n=t.activeSlots.findIndex((function(t){return t.name===e}));n>-1&&(t.activeSlots[n].active=!1)})),setTimeout((function(){var r=[];t.$set(t,"activeSlots",t.activeSlots.filter((function(t){var n=t.name,i=t.onclose,o=e.find((function(t){return t!==n}));return o||r.push(i),o}))),n(r)}),300))})).then((function(t){return t.filter(Boolean).reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}))}}},tt=(n(153),Object(u.a)(Q,q,[],!1,null,"fcb087fa",null));tt.options.__file="src/components/interact/Popup.vue";var et=tt.exports,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a-position",{staticClass:"dialog",class:{active:t.active,visible:t.visible},attrs:{position:"fixed","z-index":t.zIndex,"position-set":"0"}},[n("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(" "),n("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 rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function it(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}nt._withStripped=!0;var ot={components:{APosition:g},props:{name:{type:String,default:""}},data:function(){return{active:!1,visible:!1,zIndex:0,data:null,attrs:{},options:{bgClose:!1},onclose:function(){}}},created:function(){this.$dialogs[this.name]||(this.$dialogs[this.name]=this)},methods:{open:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.data,r=void 0===n?{}:n,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;return this.zIndex=Object.keys(this.$dialogs).reduce((function(e,n){return t.$dialogs[n].active&&(e+=100),e}),5e3),this.$set(this,"data",r),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,document.body.style.overflow="hidden",setTimeout((function(){e()}),300)}))},close:function(t){var e=this;if(t){var n=t.all,r=void 0!==n&&n,i=t.other,o=void 0===i?[]:i;(r?Object.keys(this.$dialogs).filter((function(t){return e.$dialogs[t].active})):[].concat(o)).forEach((function(t){return e.$dialogs[t].close()}))}var s=this.onclose,a=this.data;return new Promise((function(t){e.active=!1,setTimeout((function(){e.visible=!1,document.body.style.overflow=null,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 s({name:e.name,data:a})}))}}},st=(n(155),Object(u.a)(ot,nt,[],!1,null,"557055fe",null));st.options.__file="src/components/interact/Dialog.vue";var at=st.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.bulletStyle},t._l(t.bullets,(function(e,r){return n("div",{key:r,ref:"bullet",refInFor:!0,staticClass:"bullet",style:{animationDuration:t.duration+"s",animationPlayState:t.paused?"paused":"running"}},["text"===t.mode?n("div",{staticClass:"bullet-item",domProps:{innerHTML:t._s(e)}}):"slot"===t.mode?n("div",{staticClass:"bullet-item"},[t._t("default",null,{index:r,data:e})],2):t._e()])})),0)};ct._withStripped=!0;var ut=n(14),lt=n.n(ut),ft=n(32),ht=n.n(ft);function pt(t,e){var n=0,r=0;return function i(){r=window.requestAnimationFrame((function(){(n+=17)>e?t():i()}))}(),function(){return r}}function dt(t){window.cancelAnimationFrame("function"==typeof t?t():t)}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var mt={mixins:[i.a,o.a,s.a,a.a],props:{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 n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,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 n=this;t.length&&!e.length?(this.bullets=[].concat(t),this.$nextTick((function(){n.beginAnimation()}))):t.length&&e.length?this.bullets.splice.apply(this.bullets,[this.nextBeginIndex,this.bullets.length-this.nextBeginIndex].concat(ht()(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),n=this.nextBeginIndex,r=this.$refs.bullet[n],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(r);t.lastBeginIndex=n,t.lastBeginTime=i,r.classList.add("move"),t.moveTimer[n]={ref:r,residue:e,begin:i,timer:pt((function(){r.classList.remove("move"),delete t.moveTimer[n]}),e)};var s=n;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 n=t.moveTimer[e],r=n.ref,i=n.residue;t.moveTimer[e].begin=Date.now(),t.moveTimer[e].timer=pt((function(){r.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 n=t.moveTimer[e],r=n.residue,i=n.begin;dt(n.timer),t.moveTimer[e].residue=r-(t.beginPaused-i)})),this.beginDelayTimer&&(dt(this.beginDelayTimer),this.beginDelayTimer=0)},getBulletMoveTime:function(t){var e=2.5*t.offsetWidth/Number(this.duration),n=t.firstChild.offsetWidth,r=this.between.split("-").map((function(t){return Number(t)})),i=lt()(r,2),o=i[0],s=i[1];return o&&(n+=o),s&&(n+=(s-o)*Math.random()),Math.floor(n/e*1e3)}}},vt=(n(160),Object(u.a)(mt,ct,[],!1,null,"463dcfbb",null));vt.options.__file="src/components/interact/Bullet.vue";var bt=vt.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}}},computed:{timeData:function(){var t=this.timer.sec/1e3,e=Math.floor(t/3600),n=e>23?Math.floor(e/24):0,r=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:n<10?"0".concat(n):String(n),HH:e<10?"0".concat(e):String(e),hh:r<10?"0".concat(r):String(r),mm:i<10?"0".concat(i):String(i),ss:o<10?"0".concat(o):String(o),d:String(n),H:String(e),h:String(r),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.manual||this.countdownStart()):this.$emit("countdown-over")},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)}}},_t=Object(u.a)(wt,gt,[],!1,null,null,null);_t.options.__file="src/components/interact/Timer.vue";var kt=_t.exports,xt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},t._l(t.iItems,(function(e,r){return n("a-position",t._b({key:r},"a-position",e.style,!1),[t._t("default",null,{index:e.index,active:e.active,data:e.data})],2)})),1)};function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function St(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){k()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}xt._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,n){return{index:n,active:n===t.activeIndex,style:St({},t.options,{},e.position),data:e.data||{}}}))},iOptions:function(){var t=St({},this.defaultOptions,{},this.activeOptions),e=t.maxSpeed,n=t.minSpeed,r=t.toMaxStep;return t.acceleration=(n-e)/r,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,n=void 0===e?this.items.length:e,r=t.result,i=void 0===r?-1:r,o=t.options,s=void 0===o?{}:o;return this.$set(this,"activeOptions",Object(D.a)(s,["func","maxSpeed","minSpeed","toMaxStep"])),this.jumpMain(this.getTotalSteps({steps:n,result:i}))},init:function(){this.activeIndex=-1,this.$set(this,"activeOptions",{})},jumpMain:function(t){var e=this;return ht()(Array(t)).reduce((function(n,r,i){return n.then((function(){return new Promise((function(n){setTimeout((function(){e.activeIndex=e.getNextActive({index:i,total:t}),n()}),i?e.getSpeed({index:i,total:t}):0)}))}))}),Promise.resolve())},getTotalSteps:function(t){var e=t.steps,n=t.result;if(-1!==n){var r=(e-(n+1))%this.items.length;this.activeIndex=this.items.length-r-1}return e},getSpeed:function(t){var e=t.index,n=t.total,r=this.iOptions,i=r.func,o=r.maxSpeed,s=r.minSpeed,a=r.toMaxStep,c=r.acceleration;return e>a&&e<n-a-1?o:e<=a?"ease-out"===i?o:s-c*(e-1):e>=n-a-1?"ease-in"===i?o:o+(e-(n-a-2))*c:void 0},getNextActive:function(){var t=this.activeIndex+1;return t===this.items.length?0:t}}},Tt=Object(u.a)(jt,xt,[],!1,null,null,null);Tt.options.__file="src/components/interact/Roulette.vue";var Pt=Tt.exports,At=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},t._l(t.items,(function(e){return n("a-section",t._b({key:e},"a-section",t.active===e?{}:t.positionParams,!1),[t._t(e)],2)})),1)};At._withStripped=!0;var Et={components:{ASection:f},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"}}}}},Bt=Object(u.a)(Et,At,[],!1,null,null,null);Bt.options.__file="src/components/interact/Tabs.vue";var Ct=Bt.exports,It=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"a-slider",style:t.mPositionStyle},["text"===t.mode?t._l(2,(function(e){return n("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,r){return n("div",{key:r,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 Dt={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)}}},Nt=(n(162),Object(u.a)(Dt,It,[],!1,null,"69c4dc1a",null));Nt.options.__file="src/components/interact/Slider.vue";var Ft=Nt.exports,Mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:t.mPositionStyle},[n("a-section",t._b({on:{"a-tap":t.togglePopoverVisible}},"a-section",t.contentAttr,!1),[t._t("content")],2),t._v(" "),n("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)};Mt._withStripped=!0;var Rt=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",Lt={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(Rt,(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(Rt,(function(){t.visible=!1}),{once:!0})))}}},zt=Object(u.a)(Lt,Mt,[],!1,null,null,null);zt.options.__file="src/components/interact/Popover.vue";var $t=zt.exports;e.default={}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(69))},function(t,e,n){var r=n(75),i=n(91),o=n(93),s=n(94),a=n(95);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=s,c.prototype.set=a,t.exports=c},function(t,e,n){var r=n(16),i=n(17);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.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,n){var r=n(50);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){var r=n(52),i=n(48),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var s=t[e];o.call(t,e)&&i(s,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(111);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(113),i=n(114),o=n(10),s=n(54),a=n(117),c=n(118),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&i(t),f=!n&&!l&&s(t),h=!n&&!l&&!f&&c(t),p=n||l||f||h,d=p?r(t.length,String):[],y=d.length;for(var m in t)!e&&!u.call(t,m)||p&&("length"==m||f&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,y))||d.push(m);return d}},function(t,e,n){(function(t){var r=n(8),i=n(116),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||i;t.exports=c}).call(this,n(36)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var r=n(46),i=n(55);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},function(t,e,n){var r=n(53),i=n(123),o=n(57);t.exports=function(t){return o(t)?r(t,!0):i(t)}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(61),i=n(62),o=n(40),s=n(59),a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:s;t.exports=a},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},function(t,e,n){var r=n(56)(Object.getPrototypeOf,Object);t.exports=r},function(t,e,n){var r=n(61),i=n(10);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(1),i=n.n(r),o=n(18),s=n.n(o),a=n(7);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){v