(function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},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=0)})({0:function(t,e,n){t.exports=n("56d7")},"1a23":function(t,e,n){"use strict";n.r(e),n.d(e,"CountUp",(function(){return o}));var i=function(){return i=Object.assign||function(t){for(var e,n=1,i=arguments.length;no.endVal;o.frameVal=n?o.endVal:o.frameVal,o.frameVal=Number(o.frameVal.toFixed(o.options.decimalPlaces)),o.printValue(o.frameVal),e1?o.options.decimal+s[1]:"",o.options.useGrouping){r="";for(var c=3,l=0,u=0,d=n.length;uwindow.scrollY&&t.paused?(t.paused=!1,setTimeout((function(){return t.start()}),t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>o||i>e)&&!t.paused&&t.reset()}},t.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var e=t-this.startVal;if(Math.abs(e)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var n=this.countDown?1:-1;this.endVal=t+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var e;if(this.el){var n=this.formattingFn(t);(null===(e=this.options.plugin)||void 0===e?void 0:e.render)?this.options.plugin.render(this.el,n):"INPUT"===this.el.tagName?this.el.value=n:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=n:this.el.innerHTML=n}},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var e=Number(t);return this.ensureNumber(e)?e:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}()},"2b0e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Yi})); /*! * Vue.js v2.7.16 * (c) 2014-2023 Evan You * Released under the MIT License. */ var i=Object.freeze({}),o=Array.isArray;function r(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function l(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function u(t){return"function"===typeof t}function d(t){return null!==t&&"object"===typeof t}var h=Object.prototype.toString;function f(t){return"[object Object]"===h.call(t)}function p(t){return"[object RegExp]"===h.call(t)}function g(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function v(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===h?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var n=Object.create(null),i=t.split(","),o=0;o-1)return t.splice(i,1)}}var C=Object.prototype.hasOwnProperty;function $(t,e){return C.call(t,e)}function k(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var S=/-(\w)/g,O=k((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),E=k((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,T=k((function(t){return t.replace(A,"-$1").toLowerCase()}));function j(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function I(t,e){return t.bind(e)}var P=Function.prototype.bind?I:j;function V(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function M(t,e){for(var n in e)t[n]=e[n];return t}function D(t){for(var e={},n=0;n0,ot=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var rt=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),ct={}.watch,lt=!1;if(tt)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){lt=!0}}),window.addEventListener("test-passive",null,ut)}catch(Qa){}var dt=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),at},ht=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,gt="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);pt="undefined"!==typeof Set&&ft(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var vt=null;function mt(t){void 0===t&&(t=null),t||vt&&vt._scope.off(),vt=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,i,o,r,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=o,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),bt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function _t(t){return new yt(void 0,void 0,void 0,String(t))}function wt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var xt=0,Ct=[],$t=function(){for(var t=0;t0&&(i=le(i,"".concat(e||"","_").concat(n)),ce(i[0])&&ce(u)&&(d[c]=_t(u.text+i[0].text),i.shift()),d.push.apply(d,i)):l(i)?ce(u)?d[c]=_t(u.text+i):""!==i&&d.push(_t(i)):ce(i)&&ce(u)?d[c]=_t(u.text+i.text):(s(t._isVList)&&a(i.tag)&&r(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),d.push(i)));return d}function ue(t,e){var n,i,r,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,i=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==i&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=Ae(t,n,l,e[l]))}else r={};for(var u in n)u in r||(r[u]=Te(n,u));return e&&Object.isExtensible(e)&&(e._normalized=r),K(r,"$stable",s),K(r,"$key",c),K(r,"$hasNormal",a),r}function Ae(t,e,n,i){var r=function(){var e=vt;mt(t);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!o(n)?[n]:se(n);var r=n&&n[0];return mt(e),n&&(!r||1===n.length&&r.isComment&&!Oe(r))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:r,enumerable:!0,configurable:!0}),r}function Te(t,e){return function(){return t[e]}}function je(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=Ie(t);mt(t),Ot();var o=Xe(n,null,[t._props||Ht({}),i],t,"setup");if(Et(),mt(),u(o))e.render=o;else if(d(o))if(t._setupState=o,o.__sfc){var r=t._setupProxy={};for(var a in o)"__sfc"!==a&&qt(r,o,a)}else for(var a in o)J(a)||qt(t,o,a);else 0}}function Ie(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};K(e,"_v_attr_proxy",!0),Pe(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Pe(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Me(t)},emit:P(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return qt(t,e,n)}))}}}function Pe(t,e,n,i,o){var r=!1;for(var a in e)a in t?e[a]!==n[a]&&(r=!0):(r=!0,Ve(t,a,i,o));for(var a in t)a in e||(r=!0,delete t[a]);return r}function Ve(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Me(t){return t._slotsProxy||De(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function De(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Le(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ke(e._renderChildren,o),t.$scopedSlots=n?Ee(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,o){return We(t,e,n,i,o,!1)},t.$createElement=function(e,n,i,o){return We(t,e,n,i,o,!0)};var r=n&&n.data;Rt(t,"$attrs",r&&r.attrs||i,null,!0),Rt(t,"$listeners",e._parentListeners||i,null,!0)}var Ne=null;function Re(t){$e(t.prototype),t.prototype.$nextTick=function(t){return un(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e._parentVnode;i&&t._isMounted&&(t.$scopedSlots=Ee(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&De(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var r,a=vt,s=Ne;try{mt(t),Ne=t,r=n.call(t._renderProxy,t.$createElement)}catch(Qa){Ke(Qa,t,"render"),r=t._vnode}finally{Ne=s,mt(a)}return o(r)&&1===r.length&&(r=r[0]),r instanceof yt||(r=bt()),r.parent=i,r}}function Ue(t,e){return(t.__esModule||gt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),d(t)?e.extend(t):t}function Fe(t,e,n,i,o){var r=bt();return r.asyncFactory=t,r.asyncMeta={data:e,context:n,children:i,tag:o},r}function ze(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Ne;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],o=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return x(i,n)}));var u=function(t){for(var e=0,n=i.length;e1?V(n):n;for(var i=V(arguments,1),o='event handler for "'.concat(t,'"'),r=0,a=n.length;rdocument.createEvent("Event").timeStamp&&(Gn=function(){return Bn.now()})}var Wn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function qn(){var t,e;for(Hn=Gn(),Un=!0,Dn.sort(Wn),Fn=0;FnFn&&Dn[n].id>t.id)n--;Dn.splice(n+1,0,t)}else Dn.push(t);Rn||(Rn=!0,un(qn))}}function Yn(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!d(n))return;for(var i=Qt(t),o=gt?Reflect.ownKeys(n):Object.keys(n),r=0;r-1)if(r&&!$(o,"default"))a=!1;else if(""===a||a===T(t)){var c=ji(String,o.type);(c<0||s-1)return this;var n=V(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}function to(t){t.mixin=function(t){return this.options=$i(this.options,t),this}}function eo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,o=t._Ctor||(t._Ctor={});if(o[i])return o[i];var r=ri(t)||ri(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=$i(n.options,t),a["super"]=n,a.options.props&&no(a),a.options.computed&&io(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(t){a[t]=n[t]})),r&&(a.options.components[r]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=M({},a.options),o[i]=a,a}}function no(t){var e=t.options.props;for(var n in e)Pi(t.prototype,"_props",n)}function io(t){var e=t.options.computed;for(var n in e)Ui(t.prototype,n,e[n])}function oo(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ro(t){return t&&(ri(t.Ctor.options)||t.tag)}function ao(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function so(t,e){var n=t.cache,i=t.keys,o=t._vnode,r=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&co(n,a,i,o)}}r.componentOptions.children=void 0}function co(t,e,n,i){var o=t[e];!o||i&&o.tag===i.tag||o.componentInstance.$destroy(),t[e]=null,x(n,e)}Zi(Yi),Wi(Yi),kn(Yi),An(Yi),Re(Yi);var lo=[String,RegExp,Array],uo={name:"keep-alive",abstract:!0,props:{include:lo,exclude:lo,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,o=t.keyToCache;if(i){var r=i.tag,a=i.componentInstance,s=i.componentOptions;e[o]={name:ro(s),tag:r,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&co(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)co(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){so(t,(function(t){return ao(e,t)}))})),this.$watch("exclude",(function(e){so(t,(function(t){return!ao(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=He(t),n=e&&e.componentOptions;if(n){var i=ro(n),o=this,r=o.include,a=o.exclude;if(r&&(!i||!ao(r,i))||a&&i&&ao(a,i))return e;var s=this,c=s.cache,l=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,x(l,u),l.push(u)):(this.vnodeToCache=e,this.keyToCache=u),e.data.keepAlive=!0}return e||t&&t[0]}},ho={KeepAlive:uo};function fo(t){var e={get:function(){return q}};Object.defineProperty(t,"config",e),t.util={warn:fi,extend:M,mergeOptions:$i,defineReactive:Rt},t.set=Ut,t.delete=Ft,t.nextTick=un,t.observable=function(t){return Nt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,M(t.options.components,ho),Qi(t),to(t),eo(t),oo(t)}fo(Yi),Object.defineProperty(Yi.prototype,"$isServer",{get:dt}),Object.defineProperty(Yi.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Yi,"FunctionalRenderContext",{value:ei}),Yi.version=fn;var po=_("style,class"),go=_("input,textarea,option,select,progress"),vo=function(t,e,n){return"value"===n&&go(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},mo=_("contenteditable,draggable,spellcheck"),yo=_("events,caret,typing,plaintext-only"),bo=function(t,e){return $o(e)||"false"===e?"false":"contenteditable"===t&&yo(e)?e:"true"},_o=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),wo="http://www.w3.org/1999/xlink",xo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Co=function(t){return xo(t)?t.slice(6,t.length):""},$o=function(t){return null==t||!1===t};function ko(t){var e=t.data,n=t,i=t;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=So(i.data,e));while(a(n=n.parent))n&&n.data&&(e=So(e,n.data));return Oo(e.staticClass,e.class)}function So(t,e){return{staticClass:Eo(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Oo(t,e){return a(t)||a(e)?Eo(t,Ao(e)):""}function Eo(t,e){return t?e?t+" "+e:t:e||""}function Ao(t){return Array.isArray(t)?To(t):d(t)?jo(t):"string"===typeof t?t:""}function To(t){for(var e,n="",i=0,o=t.length;i-1?Lo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Lo[t]=/HTMLUnknownElement/.test(e.toString())}var Ro=_("text,number,password,search,email,tel,url");function Uo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Fo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function zo(t,e){return document.createElementNS(Io[t],e)}function Ho(t){return document.createTextNode(t)}function Go(t){return document.createComment(t)}function Bo(t,e,n){t.insertBefore(e,n)}function Wo(t,e){t.removeChild(e)}function qo(t,e){t.appendChild(e)}function Zo(t){return t.parentNode}function Jo(t){return t.nextSibling}function Ko(t){return t.tagName}function Xo(t,e){t.textContent=e}function Yo(t,e){t.setAttribute(e,"")}var Qo=Object.freeze({__proto__:null,createElement:Fo,createElementNS:zo,createTextNode:Ho,createComment:Go,insertBefore:Bo,removeChild:Wo,appendChild:qo,parentNode:Zo,nextSibling:Jo,tagName:Ko,setTextContent:Xo,setStyleScope:Yo}),tr={create:function(t,e){er(e)},update:function(t,e){t.data.ref!==e.data.ref&&(er(t,!0),er(e))},destroy:function(t){er(t,!0)}};function er(t,e){var n=t.data.ref;if(a(n)){var i=t.context,r=t.componentInstance||t.elm,s=e?null:r,c=e?void 0:r;if(u(n))Xe(n,i,[s],i,"template ref function");else{var l=t.data.refInFor,d="string"===typeof n||"number"===typeof n,h=Wt(n),f=i.$refs;if(d||h)if(l){var p=d?f[n]:n.value;e?o(p)&&x(p,r):o(p)?p.includes(r)||p.push(r):d?(f[n]=[r],nr(i,n,f[n])):n.value=[r]}else if(d){if(e&&f[n]!==r)return;f[n]=c,nr(i,n,s)}else if(h){if(e&&n.value!==r)return;n.value=s}else 0}}}function nr(t,e,n){var i=t._setupState;i&&$(i,e)&&(Wt(i[e])?i[e].value=n:i[e]=n)}var ir=new yt("",{},[]),or=["create","activate","update","remove","destroy"];function rr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ar(t,e)||s(t.isAsyncPlaceholder)&&r(e.asyncFactory.error))}function ar(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===o||Ro(i)&&Ro(o)}function sr(t,e,n){var i,o,r={};for(i=e;i<=n;++i)o=t[i].key,a(o)&&(r[o]=i);return r}function cr(t){var e,n,i={},c=t.modules,u=t.nodeOps;for(e=0;eg?(d=r(n[y+1])?null:n[y+1].elm,$(t,d,n,f,y,i)):f>y&&S(e,h,g)}function A(t,e,n,i){for(var o=n;o-1?br(t,e,n):_o(e)?$o(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):mo(e)?t.setAttribute(e,bo(e,n)):xo(e)?$o(n)?t.removeAttributeNS(wo,Co(e)):t.setAttributeNS(wo,e,n):br(t,e,n)}function br(t,e,n){if($o(n))t.removeAttribute(e);else{if(nt&&!it&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var _r={create:mr,update:mr};function wr(t,e){var n=e.elm,i=e.data,o=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=ko(e),c=n._transitionClasses;a(c)&&(s=Eo(s,Ao(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var xr,Cr={create:wr,update:wr},$r="__r",kr="__c";function Sr(t){if(a(t[$r])){var e=nt?"change":"input";t[e]=[].concat(t[$r],t[e]||[]),delete t[$r]}a(t[kr])&&(t.change=[].concat(t[kr],t.change||[]),delete t[kr])}function Or(t,e,n){var i=xr;return function o(){var r=e.apply(null,arguments);null!==r&&Tr(t,o,n,i)}}var Er=en&&!(st&&Number(st[1])<=53);function Ar(t,e,n,i){if(Er){var o=Hn,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}xr.addEventListener(t,e,lt?{capture:n,passive:i}:n)}function Tr(t,e,n,i){(i||xr).removeEventListener(t,e._wrapper||e,n)}function jr(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};xr=e.elm||t.elm,Sr(n),ne(n,i,Ar,Tr,Or,e.context),xr=void 0}}var Ir,Pr={create:jr,update:jr,destroy:function(t){return jr(t,ir)}};function Vr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,o=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.domProps=M({},l)),c)n in l||(o[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=i;var u=r(i)?"":String(i);Mr(o,u)&&(o.value=u)}else if("innerHTML"===n&&Vo(o.tagName)&&r(o.innerHTML)){Ir=Ir||document.createElement("div"),Ir.innerHTML="".concat(i,"");var d=Ir.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(d.firstChild)o.appendChild(d.firstChild)}else if(i!==c[n])try{o[n]=i}catch(Qa){}}}}function Mr(t,e){return!t.composing&&("OPTION"===t.tagName||Dr(t,e)||Lr(t,e))}function Dr(t,e){var n=!0;try{n=document.activeElement!==t}catch(Qa){}return n&&t.value!==e}function Lr(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return b(n)!==b(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var Nr={create:Vr,update:Vr},Rr=k((function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ur(t){var e=Fr(t.style);return t.staticStyle?M(t.staticStyle,e):e}function Fr(t){return Array.isArray(t)?D(t):"string"===typeof t?Rr(t):t}function zr(t,e){var n,i={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ur(o.data))&&M(i,n)}(n=Ur(t.data))&&M(i,n);var r=t;while(r=r.parent)r.data&&(n=Ur(r.data))&&M(i,n);return i}var Hr,Gr=/^--/,Br=/\s*!important$/,Wr=function(t,e,n){if(Gr.test(e))t.style.setProperty(e,n);else if(Br.test(n))t.style.setProperty(T(e),n.replace(Br,""),"important");else{var i=Zr(e);if(Array.isArray(n))for(var o=0,r=n.length;o-1?e.split(Xr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Qr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Xr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ta(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&M(e,ea(t.name||"v")),M(e,t),e}return"string"===typeof t?ea(t):void 0}}var ea=k((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),na=tt&&!it,ia="transition",oa="animation",ra="transition",aa="transitionend",sa="animation",ca="animationend";na&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ra="WebkitTransition",aa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(sa="WebkitAnimation",ca="webkitAnimationEnd"));var la=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ua(t){la((function(){la(t)}))}function da(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Yr(t,e))}function ha(t,e){t._transitionClasses&&x(t._transitionClasses,e),Qr(t,e)}function fa(t,e,n){var i=ga(t,e),o=i.type,r=i.timeout,a=i.propCount;if(!o)return n();var s=o===ia?aa:ca,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout((function(){c0&&(n=ia,u=a,d=r.length):e===oa?l>0&&(n=oa,u=l,d=c.length):(u=Math.max(a,l),n=u>0?a>l?ia:oa:null,d=n?n===ia?r.length:c.length:0);var h=n===ia&&pa.test(i[ra+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function va(t,e){while(t.length1}function xa(t,e){!0!==e.data.show&&ya(e)}var Ca=tt?{create:xa,activate:xa,remove:function(t,e){!0!==t.data.show?ba(t,e):e()}}:{},$a=[_r,Cr,Pr,Nr,Kr,Ca],ka=$a.concat(vr),Sa=cr({nodeOps:Qo,modules:ka});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Va(t,"input")}));var Oa={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?ie(n,"postpatch",(function(){Oa.componentUpdated(t,e,n)})):Ea(t,e,n.context),t._vOptions=[].map.call(t.options,ja)):("textarea"===n.tag||Ro(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ia),t.addEventListener("compositionend",Pa),t.addEventListener("change",Pa),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ea(t,e,n.context);var i=t._vOptions,o=t._vOptions=[].map.call(t.options,ja);if(o.some((function(t,e){return!U(t,i[e])}))){var r=t.multiple?e.value.some((function(t){return Ta(t,o)})):e.value!==e.oldValue&&Ta(e.value,o);r&&Va(t,"change")}}}};function Ea(t,e,n){Aa(t,e,n),(nt||ot)&&setTimeout((function(){Aa(t,e,n)}),0)}function Aa(t,e,n){var i=e.value,o=t.multiple;if(!o||Array.isArray(i)){for(var r,a,s=0,c=t.options.length;s-1,a.selected!==r&&(a.selected=r);else if(U(ja(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ta(t,e){return e.every((function(e){return!U(e,t)}))}function ja(t){return"_value"in t?t._value:t.value}function Ia(t){t.target.composing=!0}function Pa(t){t.target.composing&&(t.target.composing=!1,Va(t.target,"input"))}function Va(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ma(t){return!t.componentInstance||t.data&&t.data.transition?t:Ma(t.componentInstance._vnode)}var Da={bind:function(t,e,n){var i=e.value;n=Ma(n);var o=n.data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&o?(n.data.show=!0,ya(n,(function(){t.style.display=r}))):t.style.display=i?r:"none"},update:function(t,e,n){var i=e.value,o=e.oldValue;if(!i!==!o){n=Ma(n);var r=n.data&&n.data.transition;r?(n.data.show=!0,i?ya(n,(function(){t.style.display=t.__vOriginalDisplay})):ba(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,o){o||(t.style.display=t.__vOriginalDisplay)}},La={model:Oa,show:Da},Na={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ra(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ra(He(e.children)):t}function Ua(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var o=n._parentListeners;for(var i in o)e[O(i)]=o[i];return e}function Fa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function za(t){while(t=t.parent)if(t.data.transition)return!0}function Ha(t,e){return e.key===t.key&&e.tag===t.tag}var Ga=function(t){return t.tag||Oe(t)},Ba=function(t){return"show"===t.name},Wa={name:"transition",props:Na,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ga),n.length)){0;var i=this.mode;0;var o=n[0];if(za(this.$vnode))return o;var r=Ra(o);if(!r)return o;if(this._leaving)return Fa(t,o);var a="__transition-".concat(this._uid,"-");r.key=null==r.key?r.isComment?a+"comment":a+r.tag:l(r.key)?0===String(r.key).indexOf(a)?r.key:a+r.key:r.key;var s=(r.data||(r.data={})).transition=Ua(this),c=this._vnode,u=Ra(c);if(r.data.directives&&r.data.directives.some(Ba)&&(r.data.show=!0),u&&u.data&&!Ha(r,u)&&!Oe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=M({},s);if("out-in"===i)return this._leaving=!0,ie(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Fa(t,o);if("in-out"===i){if(Oe(r))return c;var h,f=function(){h()};ie(s,"afterEnter",f),ie(s,"enterCancelled",f),ie(d,"delayLeave",(function(t){h=t}))}}return o}}},qa=M({tag:String,moveClass:String},Na);delete qa.mode;var Za={props:qa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var o=On(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,o=this.$slots.default||[],r=this.children=[],a=Ua(this),s=0;s=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var i="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function a(t,e){return t.filter(e)[0]}function s(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=a(e,(function(e){return e.original===t}));if(n)return n.copy;var i=Array.isArray(t)?[]:{};return e.push({original:t,copy:i}),Object.keys(t).forEach((function(n){i[n]=s(t[n],e)})),i}function c(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function u(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.hasChild=function(t){return t in this._children},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){c(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,f);var p=function(t){this.register([],t,!1)};function g(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;g(t.concat(i),e.getChild(i),n.modules[i])}}p.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},p.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},p.prototype.update=function(t){g([],this.root,t)},p.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new h(e,n);if(0===t.length)this.root=o;else{var r=this.get(t.slice(0,-1));r.addChild(t[t.length-1],o)}e.modules&&c(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},p.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},p.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var v;var m=function(t){var e=this;void 0===t&&(t={}),!v&&"undefined"!==typeof window&&window.Vue&&j(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var o=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;x(this,l,[],this._modules.root),w(this,l),n.forEach((function(t){return t(e)}));var u=void 0!==t.devtools?t.devtools:v.config.devtools;u&&r(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;x(t,n,[],t._modules.root,!0),w(t,n,e)}function w(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};c(o,(function(e,n){r[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,t._vm=new v({data:{$$state:e},computed:r}),v.config.silent=a,t.strict&&E(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),v.nextTick((function(){return i.$destroy()})))}function x(t,e,n,i,o){var r=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!r&&!o){var s=A(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){v.set(s,c,i.state)}))}var l=i.context=C(t,a,n);i.forEachMutation((function(e,n){var i=a+n;k(t,i,e,l)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,o=e.handler||e;S(t,i,o,l)})),i.forEachGetter((function(e,n){var i=a+n;O(t,i,e,l)})),i.forEachChild((function(i,r){x(t,e,n.concat(r),i,o)}))}function C(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var r=T(n,i,o),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:i?t.commit:function(n,i,o){var r=T(n,i,o),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return $(t,e)}},state:{get:function(){return A(t.state,n)}}}),o}function $(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var r=o.slice(i);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function k(t,e,n,i){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,i.state,e)}))}function S(t,e,n,i){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return u(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function O(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function E(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function T(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function j(t){v&&t===v||(v=t,n(v))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},m.prototype.commit=function(t,e,n){var i=this,o=T(t,e,n),r=o.type,a=o.payload,s=(o.options,{type:r,payload:a}),c=this._mutations[r];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},m.prototype.dispatch=function(t,e){var n=this,i=T(t,e),o=i.type,r=i.payload,a={type:o,payload:r},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(l){0}var c=s.length>1?Promise.all(s.map((function(t){return t(r)}))):s[0](r);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(l){0}e(t)}))}))}},m.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},m.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),n.preserveState),w(this,this.state)},m.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));v.delete(n,t[t.length-1])})),_(this)},m.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},m.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,y);var I=R((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=U(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[i].vuex=!0})),n})),P=R((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var r=U(this.$store,"mapMutations",t);if(!r)return;i=r.context.commit}return"function"===typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),V=R((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,o=e.val;o=t+o,n[i]=function(){if(!t||U(this.$store,"mapGetters",t))return this.$store.getters[o]},n[i].vuex=!0})),n})),M=R((function(t,e){var n={};return L(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var r=U(this.$store,"mapActions",t);if(!r)return;i=r.context.dispatch}return"function"===typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),D=function(t){return{mapState:I.bind(null,t),mapGetters:V.bind(null,t),mapMutations:P.bind(null,t),mapActions:M.bind(null,t)}};function L(t){return N(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function N(t){return Array.isArray(t)||l(t)}function R(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function U(t,e,n){var i=t._modulesNamespaceMap[n];return i}function F(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var r=t.actionFilter;void 0===r&&(r=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=s(t.state);"undefined"!==typeof u&&(c&&t.subscribe((function(t,r){var a=s(r);if(n(t,d,a)){var c=G(),l=o(t),h="mutation "+t.type+c;z(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),H(u)}d=a})),l&&t.subscribeAction((function(t,n){if(r(t,n)){var i=G(),o=a(t),s="action "+t.type+i;z(u,s,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),H(u)}})))}}function z(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(o){t.log(e)}}function H(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function G(){var t=new Date;return" @ "+W(t.getHours(),2)+":"+W(t.getMinutes(),2)+":"+W(t.getSeconds(),2)+"."+W(t.getMilliseconds(),3)}function B(t,e){return new Array(e+1).join(t)}function W(t,e){return B("0",e-t.toString().length)+t}var q={Store:m,install:j,version:"3.6.2",mapState:I,mapMutations:P,mapGetters:V,mapActions:M,createNamespacedHelpers:D,createLogger:F};e["a"]=q}).call(this,n("c8ba"))},"36ae":function(t,e,n){"use strict";n("e71c")},"56d7":function(t,e,n){"use strict";n.r(e);var i=n("2b0e"),o=function(){var t=this,e=t._self._c;return t.show?e("div",{style:t.style.container},[e("div",{style:t.style.gamePayload,on:{click:function(e){return t.launching()}}}),e("div",{directives:[{name:"draggable",rawName:"v-draggable",value:1*this.fixed==1?{stopDragging:!0}:this.draggableValue,expression:"this.fixed * 1 == 1 ? { stopDragging: true } : this.draggableValue"}],style:t.iconStyle,on:{click:function(e){return t.handleClick()}}},[t.icon?e("div",[e("img",{attrs:{src:t.icon,alt:""}})]):e("Logo")],1),e("div",{ref:"gameBox",staticClass:"gamebox",style:{...t.style.gameBox,display:t.opened?"block":"none"}},[e("div",{style:t.style.launcherWrapper},[e("div",{style:t.style.launcherMain},[e("img",{style:t.style.launcherBorder,attrs:{src:t.$config.assetUrl+"images/mn_lnch/v2/bg_new.png"}}),e("div",{style:t.style.launcherContent},[e("div",{style:t.style.gameList},t._l(t.games,(function(n,i){return e("div",{key:i,staticClass:"c2-mn-hover",style:t.style.gameIcon},[e("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.launching(),t.gameOpen(n)}}},[e("img",{staticStyle:{width:"100%"},attrs:{src:t.$config.assetUrl+"images/mn_lnch/"+t.$config.games[n].logo}})]),t.$config.games[n].lcws&&t.jps?e("span",{style:t.style.gameJp},[e("ICountUp",{attrs:{delay:10,endVal:t.jps[t.$config.games[n].lcws]||0}})],1):t._e()])})),0)])])])]),e("div",t._l(t.pixiGames,(function(t,n){return e("Pixi",{key:n,attrs:{game:t}})})),1),e("div",t._l(t.unityGames,(function(t,n){return e("Unity",{key:n,attrs:{game:t}})})),1),e("div",t._l(t.htmlGames,(function(t,n){return e("Html",{key:n,attrs:{game:t}})})),1)]):t._e()},r=[],a=n("87f4"),s=n.n(a),c=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"draggable",rawName:"v-draggable",value:t.draggableValue,expression:"draggableValue"}],class:{"game-active":t.isGameActive},style:{...t.style.container,display:this.isShow?"block":"none",zIndex:this.zIndex},domProps:{innerHTML:t._s(t.tag)}})},l=[];const u={Start:1,End:2,Move:3};function d(t,e,n,i,o){const r={left:n,top:i},{height:a,width:s}=t,c=i,l=i+a,u=n,d=n+s,h=o?o.top:0,f=o?o.bottom:0,p=o?o.left:0,g=o?o.right:0,v=e.top+h,m=e.bottom-f,y=e.left+p,b=e.right-g;return cm&&(r.top=m-a),ub&&(r.left=b-s),r}const h={bind(t,e,n,i){h.update(t,e,n,i)},update(t,e,n,i){if(e.value&&e.value.stopDragging)return;const o=e.value&&e.value.handle&&extractHandle(e.value.handle)||t;function r(n){n.preventDefault();const i=e.value&&e.value.stopDragging;if(i)return;let o=y();o.startDragPosition&&o.initialMousePos||(g(n),o=y());const r=f(n);let s=r.left-o.initialMousePos.left,l=r.top-o.initialMousePos.top,u={left:o.startDragPosition.left+s,top:o.startDragPosition.top+l};const h=a(),p=t.getBoundingClientRect();h&&p&&(u=d(p,h,u.left,u.top,e.value.boundingRectMargin)),v({currentDragPosition:u}),c(),m(n)}function a(){if(e.value)return e.value.boundingRect||e.value.boundingElement&&e.value.boundingElement.getBoundingClientRect()}function s(){return e.value&&(e.value.exceptRect||e.value.exceptElement)||[]}function c(){const e=y();e.currentDragPosition&&(t.style.touchAction="none",t.style.position="fixed",t.style.left=e.currentDragPosition.left+"px",t.style.top=e.currentDragPosition.top+"px")}function l(t){t.preventDefault(),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",l),document.removeEventListener("touchmove",r),document.removeEventListener("touchend",l);const e=p();v({initialMousePos:void 0,startDragPosition:e,currentDragPosition:e}),m(t,u.End)}function h(t){t.preventDefault(),v({initialMousePos:f(t)});const e=y();if(e.currentDragPosition){const n=s();for(let i=0;ia&&lr&&u",this.url=`${this.$config.assetUrl}js/${this.config.js}`;let t=this.getGameCookie(this.game),e=this.config.size.height/this.config.size.width,n=(this.$config.scale,this.$config.orig,this.config.size.width);this.$config.vWidth>1e3&&this.config.size.width>360&&(n=360),this.$config.isMobile&&(n=300),this.$config.isTablet&&(n=380),this.width=n,this.height=n*e,this.height>this.$config.vHeight&&(this.height=this.$config.vHeight,this.width=n=this.height/e);this.config.size.width;this.draggableValue.boundingRect.left=-(this.width-50),this.draggableValue.boundingRect.top=-(this.height-50),this.draggableValue.boundingRect.right=window.innerWidth+(this.width-50),this.draggableValue.boundingRect.bottom=window.innerHeight+(this.height-150),(t.leftthis.draggableValue.boundingRect.right)&&(t.left=window.innerWidth/2-this.width/2),(t.topthis.draggableValue.boundingRect.bottom)&&(t.top=window.innerHeight/2-this.height/2),this.setGameCookie(this.game,t),this.style.container={position:"fixed",left:t.left+"px",top:t.top+"px",width:this.width+"px",height:this.height+"px"},document.addEventListener("visibilitychange",this.handleVisibilityChange),this.isShow&&this.checkAndAddScript(this.url),this.setupLoginListener()},methods:{disableDrag(){null==this.draggableValue.exceptRect&&(this.draggableValue.exceptRect=[{}]);const t=this.width/this.config.size.width;for(let e=0;e{console.log(this.game+" closing"),this.gameClose(this.game)}),document.addEventListener(this.game+"DisableDragDrop",()=>{this.disableDrag()}),document.addEventListener(this.game+"EnableDragDrop",()=>{this.enableDrag()})},checkAndAddScript(t){this.init=!0;const e=document.getElementsByTagName("script");let n=!1;for(let i=0;i{console.log("Script has been loaded successfully")},e.onerror=()=>{console.error("Error loading the script")}}},activeZid(){2147483647!=this.zIndex&&this.changeActive(this.game)},onPosChanged:function(t,e,n){this.activeZid(),e&&(clearTimeout(this.positionT),this.positionT=setTimeout(()=>{let t=this.getGameCookie(this.game);t.left=e.left,t.top=e.top,this.setGameCookie(this.game,t)},400),this.style.container.left=e.left+"px",this.style.container.top=e.top+"px")}},watch:{isShow:function(t){t&&!this.init&&this.checkAndAddScript(this.url)}},computed:{isShow(){return this.$store.getters[`get${this.game}Opened`]},zIndex(){return this.$store.getters[`get${this.game}Zidx`]},isGameActive(){return 2147483647===this.zIndex},token(){return this.$store.getters.getToken}}},p=f;function g(t,e,n,i,o,r,a,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}var v=g(p,c,l,!1,null,null,null),m=v.exports,y=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{position:"relative",cursor:"pointer"}},[e("img",{style:t.style.logoDefault,attrs:{src:t.$config.assetUrl+"/images/mn_lnch/amin/bg.png"}}),e("img",{staticClass:"btn-close-mini",attrs:{src:t.$config.assetUrl+"images/mn_lnch/amin/close.png"},on:{click:t.handleClose,touchstart:t.handleClose}}),[e("img",{staticClass:"mini ping",attrs:{src:t.$config.assetUrl+"images/mn_lnch/amin/mini.png"}}),e("img",{staticClass:"game-text-mini ping",staticStyle:{"animation-delay":"800ms"},attrs:{src:t.$config.assetUrl+"images/mn_lnch/amin/game.png"}})]],2)},b=[],_={gamePayload:{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",zIndex:"2147483648",display:"none",background:"transparent"},gameBox:{position:"fixed",cursor:"inherit",top:"70px",width:"400px",justifyContent:"center",alignItems:"start",transition:"opacity 0.2s, ease-out 0.5s, transform 0.7s",boxSizing:"border-box",borderRadius:"0px",opacity:1,overflow:"visible",backgroundRepeat:"no-repeat",zIndex:2147483650},gameList:{width:"100%",height:"100%",display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gridTemplateRows:"1fr 1fr 1fr",gridGap:"25px",padding:"25px",background:"#2f21465c",borderRadius:"10px"},gameIcon:{display:"flex",justifyContent:"center",alignItems:"end",transition:"transform 0.5s ease",position:"relative"},gameJp:{position:"absolute",width:"100%",bottom:"2px",lineHeight:"1",color:"#ffee5e",fontSize:"11px",fontWeight:"bold"},primaryIconFixed:{position:"fixed",width:"90px",right:"0",zIndex:"2147483646"},primaryIconFixedMB:{position:"fixed",width:"70px",right:"0",zIndex:"2147483646"},logoDefault:{width:"100%",height:"100%"},effectStyle:{width:"80%",left:"10%",top:"12%",animation:"0.5s ease-in-out 0.5s infinite alternate none running jackpot",color:"rgb(242, 196, 49)",textShadow:"rgb(189, 11, 28) 1px 1px 1px",position:"absolute",height:"100%",fontSize:"clamp(14px, 1vw, 32px)"},"top-2p5":{top:"2.5%"},launcherWrapper:{display:"flex",justifyContent:"start",position:"relative",width:"100%",height:"100%"},launcherMain:{position:"relative",display:"flex",flexWrap:"wrap",zIndex:2,width:"100%",padding:"1%"},launcherContent:{position:"relative",textAlign:"center",display:"block",width:"100%",height:"100%"},bgCoin:{width:"100%",position:"absolute",top:"0",left:"0",zIndex:1},bgStar:{width:"80%",left:"10%",zIndex:1,position:"absolute",top:"0"},bgTop:{width:"80%",left:"10%",top:"calc(500 * 0.008)",position:"absolute",zIndex:0},launcherBorder:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",width:"100%",height:"100%"}},w={data(){return{style:_}},methods:{handleClose(){this.$store.commit("setShow",!1),this.$parent.onAllGamesClosed&&"function"===typeof window[this.$parent.onAllGamesClosed]&&window[this.$parent.onAllGamesClosed]("launcher_closed")}}},x=w,C=(n("36ae"),g(x,y,b,!1,null,"032f1fbe",null)),$=C.exports,k=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"draggable",rawName:"v-draggable",value:t.draggableValue,expression:"draggableValue"}],class:2147483647==t.zIndex?"game-active":"",style:{display:"block",zIndex:t.zIndex,zIndex:t.zIndex,display:t.isShow?"block":"none",...t.style.container},on:{click:function(e){return t.activeZid()}}},[e("canvas",{ref:"renderCanvas",style:{cursor:"default",background:"transparent"},attrs:{id:t.gameId,width:t.width},on:{click:function(e){return t.activeZid()}}}),e("Loading",{attrs:{logo:t.$config.assetUrl+"images/mn_lnch/"+t.config.logo,progress:t.process}})],1)},S=[],O=function(){var t=this,e=t._self._c;return t.progress<100?e("div",{staticStyle:{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",inset:"0px",display:"flex","justify-content":"center","align-items":"center",background:"rgba(0, 0, 0, 0.6)","border-radius":"5px"}},[e("div",{staticStyle:{"text-align":"center"}},[e("img",{staticStyle:{width:"100px"},attrs:{src:t.logo}}),e("div",{staticStyle:{width:"120px",margin:"10px auto","border-radius":"20px",border:"2px solid #7325f2","text-align":"left",overflow:"hidden","box-shadow":"0 0 3px 1px #7c7373"}},[e("div",{staticStyle:{"background-color":"rgb(192 79 246)",height:"10px",transition:"width 0.2s ease-in-out"},style:{width:t.progress+"px"}})])])]):t._e()},E=[],A={props:["logo","progress"]},T=A,j=g(T,O,E,!1,null,null,null),I=j.exports;var P={props:["game"],components:{Loading:I},directives:{Draggable:h},data(){return{gameId:"",init:!1,process:0,width:0,height:0,config:{size:{},except:[]},draggableValue:{onPositionChange:this.onPosChanged,boundingRect:this.$config.games[this.game].bounding,exceptRect:this.$config.games[this.game].except},style:{},positionT:null,unityContext:null}},mounted(){this.config=this.$config.games[this.game],this.draggableValue.exceptRect=this.config.except,this.gameId="canvas"+this.game;let t=this.getGameCookie(this.game),e=this.config.size.height/this.config.size.width,n=(this.$config.scale,this.$config.orig,this.config.size.width);this.$config.vWidth>1e3&&this.config.size.width>360&&(n=360),this.$config.isMobile&&(n=380),this.width=n,this.height=n*e,this.height>this.$config.vHeight&&(this.height=this.$config.vHeight,this.width=n=this.height/e);const i=n/this.config.size.width;for(let o=0;othis.draggableValue.boundingRect.right)&&(t.left=window.innerWidth/2-this.width/2),(t.topthis.draggableValue.boundingRect.bottom)&&(t.top=window.innerHeight/2-this.height/2),this.setGameCookie(this.game,t),this.style.container={position:"fixed",left:t.left+"px",top:t.top+"px",width:this.width+"px",height:this.height+"px"},document.addEventListener("visibilitychange",this.handleVisibilityChange),this.isShow&&this.initPixi()},beforeDestroy(){document.removeEventListener("visibilitychange",this.handleVisibilityChange)},methods:{initPixi(){if(this.init)return window[this.gameId].start();let t=setInterval(()=>{let e=.5;this.process>5&&this.process<20&&(e=3),this.process>20&&this.process<50&&(e=5),this.process+=e,this.process>=100&&clearInterval(t)},150);this.init=!0;const e=this;return new Promise((t,n)=>{const i=`${e.$config.assetUrl}js/${e.config.pixi}.js`;if(document.querySelector(`script[src="${i}"]`))return void e.loadGame();const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i,o.onload=async()=>{await e.loadGame(),t(!0)},o.onerror=()=>{console.error("Error loading script"),n(!1)},document.head.appendChild(o)})},async checkCanvas(){return!!document.getElementById(this.gameId)||(await new Promise(t=>setTimeout(t,100)),this.checkCanvas())},async loadGame(){await this.checkCanvas();const t="https://assets.vgjt.info/images/"+this.config.assets;return window.loaded||(window.loaded={}),window.loaded[this.gameId]||(window.loaded[this.gameId]=window.initPixi),await window.loaded[this.gameId]({bridge:this.gameId,token:this.token,assetUrl:t}).then(async()=>{const t=await(async()=>new Promise(t=>{let e=setInterval(()=>{if(window[this.gameId])return clearInterval(e),t(window[this.gameId])},100)}))();t.on("close",()=>{this.gameClose(this.game)}),t.on("copy",this.copyText),t.start()}),this.process<99&&(this.process=99),!0},activeZid(){2147483647!=this.zIndex&&this.changeActive(this.game)},onPosChanged:function(t,e,n){this.activeZid(),e&&(clearTimeout(this.positionT),this.positionT=setTimeout(()=>{let t=this.getGameCookie(this.game);t.left=e.left,t.top=e.top,this.setGameCookie(this.game,t)},400),this.style.container.left=e.left+"px",this.style.container.top=e.top+"px")},handleVisibilityChange(){this.isTabActive=!document.hidden}},watch:{isShow:function(t){t&&!this.init&&this.initPixi()},process:function(t){console.log(t)}},computed:{isShow(){return this.$store.getters[`get${this.game}Opened`]},zIndex(){return this.$store.getters[`get${this.game}Zidx`]},token(){return this.$store.getters.getToken}}},V=P,M=g(V,k,S,!1,null,null,null),D=M.exports,L=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"draggable",rawName:"v-draggable",value:t.draggableValue,expression:"draggableValue"}],class:2147483647==t.zIndex?"game-active":"",style:{display:"block",zIndex:t.zIndex,zIndex:t.zIndex,display:t.isShow?"block":"none",...t.style.container},on:{click:function(e){return t.activeZid()}}},[e("canvas",{ref:"renderCanvas",style:{width:t.width+"px",height:t.height+"px",cursor:"default",background:"transparent"},attrs:{id:t.gameId},on:{click:function(e){return t.activeZid()}}}),e("Loading",{attrs:{logo:t.$config.assetUrl+"images/mn_lnch/"+t.config.logo,progress:t.process}})],1)},N=[]; /*! * unity-webgl.js v3.5.6 * (c) 2024 Mervin * Released under the MIT License. */ const R="undefined"!==typeof window&&"undefined"!==typeof window.document,U=t=>"[object Object]"===Object.prototype.toString.call(t),F="[UnityWebgl]: ",z=t=>{console.log(F,t)};function H(t){return t instanceof HTMLCanvasElement?t:"string"===typeof t?document.querySelector(t):(z.warn("CanvasElement not found."),null)}z.warn=t=>console.warn(F,t),z.error=t=>console.error(F,t);class G{constructor(t={}){this._eventMap=t}on(t,e){if("function"!==typeof e)throw new TypeError(F+"The argument handler must be function");return this._eventMap[t]=e,this}off(t){return delete this._eventMap[t],this}once(t,e){const n=this;function i(...i){"function"===typeof e&&(n.off(t),e.apply(n,i))}return this.on(t,i)}emit(t,...e){const n=this._eventMap[t];n&&n.apply(this,e)}clear(){for(const t in this._eventMap)delete this._eventMap[t]}}function B(t,{resolve:e,reject:n}){if(!R)return;if(!t)return void(n&&n(new Error(F+" loaderUrl not found.")));function i(i){"ready"===i?e&&e():n&&n(new Error(`${F} ${t} loading failure.`))}let o=window.document.querySelector(`script[src="${t}"]`);if(null===o){o=window.document.createElement("script"),o.type="text/javascript",o.src=t,o.async=!0,o.setAttribute("data-status","loading"),window.document.body.appendChild(o);const e=function(t){const e="load"===t.type?"ready":"error";null===o||void 0===o||o.setAttribute("data-status",e)};o.addEventListener("load",e),o.addEventListener("error",e)}else i(o.getAttribute("data-status"));const r=function(t){i("load"===t.type?"ready":"error")};return o.addEventListener("load",r),o.addEventListener("error",r),function(){o&&(o.removeEventListener("load",r),o.removeEventListener("error",r),window.document.body.removeChild(o))}}let W="__UnityLib__";const q={streamingAssetsUrl:"StreamingAssets",companyName:"Unity",productName:"Unity"};function Z(t){const e=Object.assign({},t.unityConfig);return e.print=function(e){t.emit("debug",e)},e.printError=function(e){t.emit("error",e)},e}class J extends G{constructor(t,e,n){let i;if(i=globalThis||i,n=null!==n&&void 0!==n?n:W,U(t)&&"string"===typeof e&&(n=e||n),n in i&&z.error(F+`window.${n} already exists.`),W=n,super(i[n]={}),this.canvasElement=null,this.unityLoader=null,this.unityInstance=null,U(t))this.unityConfig=Object.assign({},q,t);else{this.unityConfig=Object.assign({},q,e);const n=H(t);n&&this.create(n)}}get bridge(){return W}set bridge(t){ //!window window[t]=window[W],delete window[W],W=t}create(t){if(!R)return;if(this.unityInstance&&this.canvasElement&&this.unityLoader)return void z.warn("Unity Instance already exists!");const e=H(t);if(!e)return void z.warn("CanvasElement not found.");this.canvasElement=e;const n=this,i=Z(this);this.emit("beforeMount",this),this.unityLoader=B(this.unityConfig.loaderUrl,{resolve(){try{window.createUnityInstance(e,i,t=>n.emit("progress",t)).then(t=>{n.unityInstance=t,n.emit("created",t),n.emit("mounted",n)}).catch(t=>{throw t})}catch(t){n.unityInstance=null,n.emit("error",t)}},reject(t){z.error(t.message),n.emit("error",t)}})}reload(t){var e,n;const i=this.canvasElement||(null===(n=null===(e=this.unityInstance)||void 0===e?void 0:e.Module)||void 0===n?void 0:n.canvas);this.unityInstance&&i&&this.unityInstance.Quit().then(()=>{this.unityLoader=null,this.unityConfig=Object.assign({},this.unityConfig,t),this.emit("reload",this),this.create(i)}).catch(t=>{this.emit("error",t)})}send(t,e,n){if(this.unityInstance)if(void 0===n||null===n)this.unityInstance.SendMessage(t,e);else{const i="object"===typeof n?JSON.stringify(n):n;this.unityInstance.SendMessage(t,e,i)}else z.warn("Unable to Send Message while Unity is not Instantiated.");return this}requestPointerLock(){var t,e;const n=this.canvasElement||(null===(e=null===(t=this.unityInstance)||void 0===t?void 0:t.Module)||void 0===e?void 0:e.canvas);n&&n.requestPointerLock()}takeScreenshot(t="image/jpeg",e){var n,i,o;const r=this.canvasElement||(null===(i=null===(n=this.unityInstance)||void 0===n?void 0:n.Module)||void 0===i?void 0:i.canvas);if(r)return!0!==(null===(o=this.unityConfig.webglContextAttributes)||void 0===o?void 0:o.preserveDrawingBuffer)&&z.warn('Taking a screenshot requires "preserveDrawingBuffer".'),r.toDataURL(t,e);z.warn("Unable to Take Screenshot while Unity is not Instantiated or Canvas is not available.")}setFullscreen(t){this.unityInstance?this.unityInstance.SetFullscreen(t?1:0):z.warn("Unable to Set Fullscreen while Unity is not Instantiated.")}unload(){return this.unityInstance?(this.emit("beforeUnmount",this),"function"===typeof this.unityLoader&&(this.unityLoader(),this.unityLoader=null),this.unityInstance.Quit().then(()=>{this.unityInstance=null,this.canvasElement=null,delete window[W],this.emit("unmounted"),this.emit("destroyed")}).catch(t=>{throw z.error("Unable to Unload Unity"),this.emit("error",t),t})):(z.warn("Unable to Quit Unity while Unity is not Instantiated."),Promise.reject(new Error("Unity is not Instantiated.")))}_unsafe_unload(){try{if(null===this.unityInstance||!this.unityInstance.Module.canvas)return z.warn("No Unity Instance found."),Promise.reject();const t=this.unityInstance.Module.canvas;return document.body.appendChild(t),t.style.display="none",this.unload().then(()=>{t.remove()})}catch(t){return z.error(t.message),Promise.reject(t)}}}const K=1,X=0,Y="UnityListener",Q="SetGameId",tt="SetToken",et="ToggleCamera";var nt={props:["game"],components:{Loading:I},directives:{Draggable:h},data(){return{gameId:"",init:!1,process:0,width:0,height:0,config:{size:{},except:[]},draggableValue:{onPositionChange:this.onPosChanged,boundingRect:this.$config.games[this.game].bounding,exceptRect:this.$config.games[this.game].except},style:{},positionT:null,unityContext:null}},mounted(){this.config=this.$config.games[this.game],this.draggableValue.exceptRect=this.config.except,this.gameId="canvas"+this.game;let t=this.getGameCookie(this.game),e=this.config.size.height/this.config.size.width,n=(this.$config.scale,this.$config.orig,this.config.size.width);this.$config.vWidth>1e3&&this.config.size.width>360&&(n=360),this.$config.isMobile&&(n=300),this.$config.isTablet&&(n=380),this.width=n,this.height=n*e,this.height>this.$config.vHeight&&(this.height=this.$config.vHeight,this.width=n=this.height/e);const i=n/this.config.size.width;for(let o=0;othis.draggableValue.boundingRect.right)&&(t.left=window.innerWidth/2-this.width/2),(t.topthis.draggableValue.boundingRect.bottom)&&(t.top=window.innerHeight/2-this.height/2),this.setGameCookie(this.game,t),this.style.container={position:"fixed",left:t.left+"px",top:t.top+"px",width:this.width+"px",height:this.height+"px"},document.addEventListener("visibilitychange",this.handleVisibilityChange),this.isShow&&this.initUnity()},beforeDestroy(){document.removeEventListener("visibilitychange",this.handleVisibilityChange)},methods:{initUnity(){if(!this.init){this.init=!0;try{this.unityContext=new J({loaderUrl:`${this.$config.assetUrl}u/${this.config.unity}.loader.js`,dataUrl:`${this.$config.assetUrl}u/${this.config.unity}.data.unityweb`,frameworkUrl:`${this.$config.assetUrl}u/${this.config.unity}.framework.js.unityweb`,codeUrl:`${this.$config.assetUrl}u/${this.config.unity}.wasm.unityweb`},this.gameId)}catch(t){alert("game not ready")}this.unityContext.on("beforeMount",t=>{}).on("mounted",t=>{this.unityContext.send(Y,Q,this.gameId),this.unityContext.send(Y,tt,this.token||"")}).on("beforeUnmount",t=>{}).on("progress",t=>{this.process=100*t}).on("clickClose",t=>{this.gameClose(this.game)}).on("copyText",this.copyText).on("error",t=>{alert("game not ready")}),this.$refs.renderCanvas&&this.unityContext.create(this.$refs.renderCanvas)}},activeZid(){2147483647!=this.zIndex&&this.changeActive(this.game)},onPosChanged:function(t,e,n){this.activeZid(),e&&(clearTimeout(this.positionT),this.positionT=setTimeout(()=>{let t=this.getGameCookie(this.game);t.left=e.left,t.top=e.top,this.setGameCookie(this.game,t)},400),this.style.container.left=e.left+"px",this.style.container.top=e.top+"px")},handleVisibilityChange(){this.isTabActive=!document.hidden,this.unityContext&&this.unityContext.send(Y,et,this.isTabActive?K:X)}},watch:{isShow:function(t){t&&!this.init&&this.initUnity(),this.unityContext&&this.unityContext.send(Y,et,t?K:X)}},computed:{isShow(){return this.$store.getters[`get${this.game}Opened`]},zIndex(){return this.$store.getters[`get${this.game}Zidx`]},token(){return this.$store.getters.getToken}}},it=nt,ot=g(it,L,N,!1,null,null,null),rt=ot.exports,at={components:{Unity:rt,Html:m,Pixi:D,ICountUp:s.a,Logo:$},props:["pos","token","partner","logo","icon","public","order","fixed","onAllGamesClosed"],data(){return{style:_,games:[],draggableValue:{onPositionChange:this.onPosChanged,boundingRect:{top:-30,left:-80,bottom:this.$config.vHeight+30,right:this.$config.vWidth+80},exceptRect:[],onDragEnd:this.onDragEnd,onDragStart:this.onDragStart},unityGames:[],htmlGames:[],pixiGames:[],position:{top:"80px",left:"auto",right:"20px",bottom:"auto"},opened:!1,startAt:null,cts:{width:0,height:0},jps:{}}},directives:{Draggable:h},mounted(){if(this.$store.commit("setToken",this.token),this.pos){let t=this.pos.split(" ");4==t.length&&(this.position={top:t[0],right:t[1],bottom:t[2],left:t[3]})}this.games=this.order?this.order.split(","):[];let t=Object.keys(this.$config.games);t.forEach(t=>{this.games.includes(t)||this.games.push(t)}),this.games=this.games.filter(e=>t.includes(e)),this.games.forEach(t=>{"string"==typeof this.$config.games[t].unity?this.unityGames.push(t):"string"==typeof this.$config.games[t].pixi?this.pixiGames.push(t):this.htmlGames.push(t);const e=this.getGameCookie(t);e.opened&&this.gameOpen(t)}),this.games=this.games.filter(t=>"minichat"!==t);let e=this.$config.width>this.$config.vWidth?this.$config.vWidth:this.$config.width;this.style.gameBox.width=e+"px",this.style.gameBox.left=(this.$config.vWidth-e)/2+"px",this.$config.isMobile&&this.$config.isHorizontal&&(this.style.gameBox.top="10px",this.style.gameList.gridTemplateRows="1fr 1fr",this.style.gameList.gridTemplateColumns="1fr 1fr 1fr 1fr"),(this.$config.isMobile||this.$config.isTablet)&&(this.style.primaryIconFixed.width="80px"),this.style.bgTop.top=.008*e+"px",this.cts.width=this.$refs.gameBox.offsetWidth,this.cts.height=this.$refs.gameBox.offsetHeight;const n=new WebSocket("wss://api.vgjt.info/lcws/stream");n.onmessage=t=>{if(t.data){const e=JSON.parse(t.data);e.data.forEach(t=>{if("object"==typeof t.jps){const e=Math.max(...Object.values(t.jps));this.jps[t.id]=e}else this.jps[t.id]=t.jp}),console.log(this.jps)}}},methods:{isMobile(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},handleClick(){1*this.fixed==1&&this.launching()},launching(){!this.cts.width&&this.opened&&(this.cts.width=this.$refs.gameBox.offsetWidth,this.cts.height=this.$refs.gameBox.offsetHeight),this.changeActive("app");let t="",e="auto"!=this.position.left?this.getNum(this.position.left):this.$config.vWidth-this.getNum(this.position.right),n="auto"!=this.position.top?this.getNum(this.position.top):this.$config.vHeight-this.getNum(this.position.bottom),i=e+50-(this.getNum(this.style.gameBox.left)+this.cts.width/2),o=n+20-(this.getNum(this.style.gameBox.top)+this.cts.height/2);this.opened?(t=`translate(${i}px, ${o}px) scale(0)`,setTimeout(()=>this.opened=!1,700),this.style.gamePayload.display="none"):(t=`translate(${i}px, ${o}px) scale(0)`,this.style.gamePayload.display="block",this.opened=!0,setTimeout(()=>{t="",this.style.gameBox={...this.style.gameBox,transform:t}},100)),this.style.gameBox={...this.style.gameBox,transform:t}},onPosChanged:function(t,e,n){e&&(this.position.top=e.top+"px",this.position.left=e.left+"px",this.position.right="auto",this.position.bottom="auto")},onDragStart(t,e,n){this.startAt=(new Date).getTime()},onDragEnd(t,e,n){(new Date).getTime()-this.startAt<150&&this.launching()},getNum(t){return t?t.endsWith("px")?parseInt(t.replace("px","")):t.endsWith("%")?parseInt(t.replace("%",""))*this.$config.vWidth/100:parseInt(t):0}},computed:{show(){return this.$store.getters.getShow},iconStyle(){return this.isMobile()?{...this.style.primaryIconFixedMB,...this.position}:{...this.style.primaryIconFixed,...this.position}},hasOpenGames(){return this.games.some(t=>this.$store.getters[`get${t}Opened`])}},watch:{show(t){!t&&this.onAllGamesClosed&&"function"===typeof window[this.onAllGamesClosed]&&window[this.onAllGamesClosed]("launcher_closed")},hasOpenGames(t,e){e&&!t&&this.onAllGamesClosed&&"function"===typeof window[this.onAllGamesClosed]&&window[this.onAllGamesClosed]("all_games_closed")}}},st=at,ct=g(st,o,r,!1,null,null,null),lt=ct.exports;function ut(t,e){return t.__proto__=e,t} /** * vue-custom-element v3.3.0 * (c) 2021 Karol Fabjańczuk * @license MIT */ Object.setPrototypeOf=Object.setPrototypeOf||ut;ut.bind(Object);function dt(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var ht=dt(),ft=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(ht){var n=function(t){function n(t){var e;pt(this,n);var i=gt(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),r=t?HTMLElement.call(t):i;return o.call(r),e=r,gt(i,e)}return vt(n,t),ft(n,null,[{key:"observedAttributes",get:function(){return e.observedAttributes||[]}}]),n}(mt);return n.prototype.connectedCallback=r,n.prototype.disconnectedCallback=a,n.prototype.attributeChangedCallback=s,c(t,n),n}var i=function(t){var e=t?HTMLElement.call(t):this;return o.call(e),e};return i.observedAttributes=e.observedAttributes||[],i.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:i}}),i.prototype.connectedCallback=r,i.prototype.disconnectedCallback=a,i.prototype.attributeChangedCallback=s,c(t,i),i}function o(){!0===e.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof e.constructorCallback&&e.constructorCallback.call(this)}function r(){"function"===typeof e.connectedCallback&&e.connectedCallback.call(this)}function a(){"function"===typeof e.disconnectedCallback&&e.disconnectedCallback.call(this)}function s(t,n,i){"function"===typeof e.attributeChangedCallback&&e.attributeChangedCallback.call(this,t,n,i)}function c(t,e){var n=customElements.get(t);return"undefined"!==typeof n?n:customElements.define(t,e)}}Object.setPrototypeOf(mt.prototype,HTMLElement.prototype),Object.setPrototypeOf(mt,HTMLElement);var bt=/-(\w)/g,_t=function(t){return t.replace(bt,(function(t,e){return e?e.toUpperCase():""}))},wt=/([^-])([A-Z])/g,xt=function(t){return t.replace(wt,"$1-$2").replace(wt,"$1-$2").toLowerCase()};function Ct(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}var $t="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function kt(t,e){if(null===t||void 0===t)return e!==Boolean&&void 0;var n=t,i=["true","false"].indexOf(t)>-1,o=parseFloat(n,10),r=!isNaN(o)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return e&&e!==Boolean&&("undefined"===typeof n?"undefined":$t(n))!==e?n=e(t):i||e===Boolean?n=""===n||("true"===n||!0===n):r&&(n=o),n}function St(t,e){if(t&&t.length)t.forEach((function(t){var n=_t(t);-1===e.camelCase.indexOf(n)&&e.camelCase.push(n)}));else if(t&&"object"===("undefined"===typeof t?"undefined":$t(t)))for(var n in t){var i=_t(n);-1===e.camelCase.indexOf(i)&&e.camelCase.push(i),t[i]&&t[i].type&&(e.types[n]=[].concat(t[i].type)[0])}}function Ot(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={camelCase:[],hyphenate:[],types:{}};if(t.mixins&&t.mixins.forEach((function(t){St(t.props,e)})),t.extends&&t.extends.props){var n=t.extends.props;St(n,e)}return St(t.props,e),e.camelCase.forEach((function(t){e.hyphenate.push(xt(t))})),e}function Et(t,e){e.camelCase.forEach((function(n,i){Object.defineProperty(t,n,{get:function(){return this.__vue_custom_element__[n]},set:function(t){if("object"!==("undefined"===typeof t?"undefined":$t(t))&&"function"!==typeof t||!this.__vue_custom_element__){var n=e.types[e.camelCase[i]];this.setAttribute(e.hyphenate[i],kt(t,n))}else{var o=e.camelCase[i];this.__vue_custom_element__[o]=t}}})}))}function At(t,e,n){var i=e.propsData||{};return n.hyphenate.forEach((function(e,o){var r=n.camelCase[o],a=t.attributes[e]||t[r],s=null;n.types[r]&&(s=n.types[r]),a instanceof Attr?i[r]=kt(a.value,s):"undefined"!==typeof a&&(i[r]=a)})),i}function Tt(t){var e={};return Ct(t.attributes).forEach((function(t){e["vue-slot"===t.nodeName?"slot":t.nodeName]=t.nodeValue})),e}function jt(t){if(t.childNodes.length)return t.childNodes;if(t.content&&t.content.childNodes&&t.content.childNodes.length)return t.content.childNodes;var e=document.createElement("div");return e.innerHTML=t.innerHTML,e.childNodes}function It(t,e,n){var i=jt(e),o=Ct(i).map((function(e){return"#text"===e.nodeName?e.nodeValue:t(e.tagName,{attrs:Tt(e),domProps:{innerHTML:e.innerHTML}})}));return n.slot=e.id,t("template",n,o)}function Pt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1],n=[];return Ct(t).forEach((function(t){if("#text"===t.nodeName)t.nodeValue.trim()&&n.push(e("span",t.nodeValue));else if("#comment"!==t.nodeName){var i=Tt(t),o={attrs:i,domProps:{innerHTML:""===t.innerHTML?t.innerText:t.innerHTML}};i.slot&&(o.slot=i.slot,i.slot=void 0);var r="TEMPLATE"===t.tagName?It(e,t,o):e(t.tagName,o);n.push(r)}})),n}function Vt(t,e){var n={bubbles:!1,cancelable:!1,detail:e},i=void 0;return"function"===typeof window.CustomEvent?i=new CustomEvent(t,n):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail)),i}function Mt(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o=2){var h=t.cloneNode(!0).childNodes;d={propsData:a,props:i.camelCase,computed:{reactiveProps:function(){var t=this,e={};return i.camelCase.forEach((function(n){"undefined"!==typeof t[n]&&(e[n]=t[n])})),e}},render:function(t){var e={props:this.reactiveProps};return t(r,e,Pt(h,t))}}}else if(1===s)d=r,d.propsData=a;else{d=r;var f={};Object.keys(a).forEach((function(t){f[t]={default:a[t]}})),d.props=f}var p=s>=2?"
":("
"+t.innerHTML+"
").replace(/vue-slot=/g,"slot=");if(o.shadow&&t.shadowRoot?(t.shadowRoot.innerHTML=p,d.el=t.shadowRoot.children[0]):(t.innerHTML=p,d.el=t.children[0]),o.shadow&&o.shadowCss&&t.shadowRoot){var g=document.createElement("style");g.type="text/css",g.appendChild(document.createTextNode(o.shadowCss)),t.shadowRoot.appendChild(g)}return Et(t,i),"function"===typeof o.beforeCreateVueInstance&&(d=o.beforeCreateVueInstance(d)||d),Promise.resolve(d).then((function(n){return t.__vue_custom_element__=new e(n),t.__vue_custom_element_props__=i,t.getVueInstance=function(){var e=t.__vue_custom_element__;return e.$children.length?e.$children[0]:e},t.removeAttribute("vce-cloak"),t.setAttribute("vce-ready",""),Mt(t,"vce-ready"),t}))}function Lt(t){t.customElement=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"===typeof n,r=o&&{props:i.props||[]},a=Ot(o?r:n),s=yt(e,{constructorCallback:function(){"function"===typeof i.constructorCallback&&i.constructorCallback.call(this)},connectedCallback:function(){var r=this,s=o&&n(),c=s&&s.then&&"function"===typeof s.then;if("function"===typeof i.connectedCallback&&i.connectedCallback.call(this),o&&!c)throw new Error("Async component "+e+" do not returns Promise");this.__detached__||(c?s.then((function(e){var n=Ot(e);Dt(r,t,e,n,i).then((function(){"function"===typeof i.vueInstanceCreatedCallback&&i.vueInstanceCreatedCallback.call(r)}))})):Dt(this,t,n,a,i).then((function(){"function"===typeof i.vueInstanceCreatedCallback&&i.vueInstanceCreatedCallback.call(r)}))),this.__detached__=!1},disconnectedCallback:function(){var t=this;this.__detached__=!0,"function"===typeof i.disconnectedCallback&&i.disconnectedCallback.call(this),null!==i.destroyTimeout&&setTimeout((function(){t.__detached__&&t.__vue_custom_element__&&(t.__detached__=!1,t.__vue_custom_element__.$destroy(!0),delete t.__vue_custom_element__,delete t.__vue_custom_element_props__)}),i.destroyTimeout||3e3)},attributeChangedCallback:function(t,e,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var o=_t(t);"function"===typeof i.attributeChangedCallback&&i.attributeChangedCallback.call(this,t,e,n);var r=this.__vue_custom_element_props__.types[o];this.__vue_custom_element__[o]=kt(n,r)}},observedAttributes:a.hyphenate,shadow:!!i.shadow&&!!HTMLElement.prototype.attachShadow});return s}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(Lt),Lt.installed&&(Lt.installed=!1));var Nt=Lt,Rt={assetUrl:"https://assets.vgjt.info/",isMobile:!1,scale:1,width:400,height:366,origin:500,games:{taixiu:{assets:"tx",pixi:"pixi-tx",logo:"tx.png",lcws:"mntx",size:{width:360,height:355},bounding:{top:-300,left:-300,right:window.innerWidth+50,bottom:window.innerHeight+50},except:[]},roulette:{pixi:"pixi-roulette",assets:"roulette",logo:"roulette.png",size:{width:360,height:540},bounding:{top:-350,left:-300,right:window.innerWidth+300,bottom:window.innerHeight+350},except:[]},xocdia:{pixi:"pixi-xocdia",assets:"xocdia",logo:"xocdia.png",lcws:"mnxd",size:{width:360,height:440},bounding:{top:-350,left:-400,right:window.innerWidth+300,bottom:window.innerHeight+400},except:[]},mrbean:{pixi:"pixi-aviator",assets:"aviator",logo:"mrbean.png",size:{width:400,height:445},bounding:{top:-350,left:-250,right:window.innerWidth+300,bottom:window.innerHeight-200},except:[{top:0,left:0,width:440,height:50},{top:140,left:390,width:70,height:300}]},tomjerry:{pixi:"pixi-tomjerry",assets:"tomjerry",logo:"tnj.png",size:{width:308,height:436},bounding:{top:-350,left:-300,right:window.innerWidth+300,bottom:window.innerHeight+350},except:[]},vscao:{js:"vscao.js",logo:"vsc.png",tag:"c2-mn-vscao",color:"red",size:{width:300,height:500},bounding:{top:-350,left:-300,right:window.innerWidth+300,bottom:window.innerHeight+350},except:[{top:70,left:50,width:220,height:360}]},poker:{pixi:"pixi-poker",assets:"poker",logo:"mn_poker.png",lcws:"mnpk",size:{width:360,height:400},bounding:{top:-350,left:-300,right:window.innerWidth+300,bottom:window.innerHeight+350},except:[]},hilo:{pixi:"pixi-hilo",assets:"hilo",logo:"hilow.png",lcws:"mnhl",size:{width:360,height:432},bounding:{top:-350,left:-300,right:window.innerWidth+300,bottom:window.innerHeight+350},except:[]},mnwheel:{pixi:"pixi-wheel",assets:"wheel",logo:"superwheel.png",size:{width:360,height:450},bounding:{top:-350,left:-400,right:window.innerWidth+300,bottom:window.innerHeight+400},except:[]}}},Ut=n("2f62");const Ft=!1;i["a"].use(Ut["a"]);const zt={state:{token:"",show:!0},getters:{getToken:t=>t.token,getShow:t=>t.show},mutations:{setToken:(t,e)=>t.token=e,setShow:(t,e)=>t.show=e}},Ht={state:{zid:0,show:!1,isRun:!1,opened:!1},getters:{},mutations:{},actions:{}},Gt={global:zt},Bt=Object.keys(Rt.games);for(let Kt=0;Ktt.zid,t.getters[`get${Bt[Kt]}IsRun`]=t=>t.isRun,t.getters[`get${Bt[Kt]}Opened`]=t=>t.opened,t.mutations[`change${Bt[Kt]}Active`]=(t,e)=>{t.zid=e?2147483647:2147483646},t.mutations[`change${Bt[Kt]}IsRun`]=(t,e)=>{t.isRun=e},t.mutations[`change${Bt[Kt]}Opened`]=(t,e)=>{t.opened=e},Gt[Bt[Kt]]=t}var Wt=new Ut["a"].Store({modules:Gt,strict:Ft}),qt=n("2b27"),Zt=n.n(qt);i["a"].prototype.$config=Rt,i["a"].use(Zt.a),i["a"].use(Nt),i["a"].config.productionTip=!1,i["a"].config.devtools=!1,console.log=function(){};const Jt=Object.keys(Rt.games);i["a"].prototype.$config.vWidth=window.innerWidth,i["a"].prototype.$config.vHeight=window.innerHeight,/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(i["a"].prototype.$config.isMobile=!0,i["a"].prototype.$config.isHorizontal=window.innerWidth>window.innerHeight),/ (ipad|tablet| (android (?!.*mobile))| (windows (?!.*phone) (.*touch))|kindle|playbook|silk| (puffin (?!.* (IP|AP|WP))))/.test(navigator.userAgent)&&(i["a"].prototype.$config.isTablet=!0),i["a"].mixin({methods:{changeActive:function(t){for(let e=0;ethis.$store.getters[`get${t}Opened`]);n||this.triggerAllGamesClosedCallback()},triggerAllGamesClosedCallback:function(){const t=document.querySelector("c2-minigame");if(t&&t.__vue__){const e=t.__vue__,n=e.onAllGamesClosed;n&&"function"===typeof window[n]&&window[n]("all_games_closed")}},gameOpen:function(t){if(this.public&&"false"!=this.public&&!this.token)return alert("Please login first");this.$store.commit(`change${t}Opened`,!0);let e=this.getGameCookie(t);if(e.opened=!0,this.setGameCookie(t,e),"taixiu"===t){function n(){window.C5Chat&&window.C5Chat.open?window.C5Chat.open():setTimeout(n,50)}n()}},getGameCookie:function(t){let e=JSON.parse(localStorage.getItem("mini-opened"))||{};return e[t]||(e[t]={}),e[t].opened||(e[t].opened=!1),e[t].left||(e[t].left=0),e[t].top||(e[t].top=0),e[t]||{}},setGameCookie:function(t,e){let n=JSON.parse(localStorage.getItem("mini-opened"))||{};n[t]=e,localStorage.setItem("mini-opened",JSON.stringify(n))},copyText:function(t){console.log("copy",t);let e=document.createElement("input");e.value=t,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}}}),lt.store=Wt,i["a"].customElement("c2-minigame",lt),window.MiniLauncherStore=Wt,function(){let t=!1;for(var e=document.getElementsByTagName("meta"),n=0;n