50p82u21t54k 0.0.52 → 0.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/50p82u21t54k.cjs.js +1 -1
- package/dist/50p82u21t54k.es.js +375 -4
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/api/agentRegister/agentRegisterApi.d.ts +3 -0
- package/dist/api/agentRegister/agentRegisterApi.d.ts.map +1 -0
- package/dist/api/agentRegister/index.d.ts +3 -0
- package/dist/api/agentRegister/index.d.ts.map +1 -0
- package/dist/api/agentRegister/type.d.ts +23 -0
- package/dist/api/agentRegister/type.d.ts.map +1 -0
- package/dist/api/eventList/eventListApi.d.ts +3 -0
- package/dist/api/eventList/eventListApi.d.ts.map +1 -0
- package/dist/api/eventList/index.d.ts +3 -0
- package/dist/api/eventList/index.d.ts.map +1 -0
- package/dist/api/eventList/type.d.ts +18 -0
- package/dist/api/eventList/type.d.ts.map +1 -0
- package/dist/api/fishGames/fishGamesApi.d.ts +3 -0
- package/dist/api/fishGames/fishGamesApi.d.ts.map +1 -0
- package/dist/api/fishGames/index.d.ts +3 -0
- package/dist/api/fishGames/index.d.ts.map +1 -0
- package/dist/api/fishGames/type.d.ts +10 -0
- package/dist/api/fishGames/type.d.ts.map +1 -0
- package/dist/api/hotGames/hotGamesApi.d.ts +3 -0
- package/dist/api/hotGames/hotGamesApi.d.ts.map +1 -0
- package/dist/api/hotGames/index.d.ts +3 -0
- package/dist/api/hotGames/index.d.ts.map +1 -0
- package/dist/api/hotGames/type.d.ts +9 -0
- package/dist/api/hotGames/type.d.ts.map +1 -0
- package/dist/api/logout/index.d.ts +3 -0
- package/dist/api/logout/index.d.ts.map +1 -0
- package/dist/api/logout/logoutApi.d.ts +3 -0
- package/dist/api/logout/logoutApi.d.ts.map +1 -0
- package/dist/api/logout/type.d.ts +8 -0
- package/dist/api/logout/type.d.ts.map +1 -0
- package/dist/api/mSignUp/index.d.ts +3 -0
- package/dist/api/mSignUp/index.d.ts.map +1 -0
- package/dist/api/mSignUp/mSignUpApi.d.ts +3 -0
- package/dist/api/mSignUp/mSignUpApi.d.ts.map +1 -0
- package/dist/api/mSignUp/type.d.ts +28 -0
- package/dist/api/mSignUp/type.d.ts.map +1 -0
- package/dist/api/promotion/index.d.ts +3 -0
- package/dist/api/promotion/index.d.ts.map +1 -0
- package/dist/api/promotion/promotionApi.d.ts +3 -0
- package/dist/api/promotion/promotionApi.d.ts.map +1 -0
- package/dist/api/promotion/type.d.ts +23 -0
- package/dist/api/promotion/type.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/util/type.d.ts +15 -0
- package/dist/util/type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/50p82u21t54k.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=Object.defineProperty,t=Object.defineProperties,s=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,o=(t,s,n)=>s in t?e(t,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[s]=n,l=(e,t)=>{for(var s in t||(t={}))r.call(t,s)&&o(e,s,t[s]);if(n)for(var s of n(t))a.call(t,s)&&o(e,s,t[s]);return e},u=(e,t,s)=>new Promise((n,r)=>{var a=e=>{try{l(s.next(e))}catch(t){r(t)}},o=e=>{try{l(s.throw(e))}catch(t){r(t)}},l=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,o);l((s=s.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("crypto-js");var i="undefined"!=typeof document?document.currentScript:null;function d(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}const p="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const f=()=>{},m=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),g=Object.assign,h=Object.prototype.hasOwnProperty,_=(e,t)=>h.call(e,t),v=Array.isArray,y=e=>"[object Map]"===S(e),b=e=>"function"==typeof e,E=e=>"string"==typeof e,N=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,O=Object.prototype.toString,S=e=>O.call(e),k=e=>S(e).slice(8,-1),x=e=>E(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=(()=>{const e=Object.create(null);return t=>e[t]||(e[t]=(e=>e.charAt(0).toUpperCase()+e.slice(1))(t))})(),j=(e,t)=>!Object.is(e,t);let V;const R=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function T(e){if(v(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=E(n)?L(n):T(n);if(r)for(const e in r)t[e]=r[e]}return t}if(E(e)||w(e))return e}const I=/;(?![^(]*\))/g,D=/:([^]+)/,A=/\/\*[^]*?\*\//g;function L(e){const t={};return e.replace(A,"").split(I).forEach(e=>{if(e){const s=e.split(D);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function P(e){let t="";if(E(e))t=e;else if(v(e))for(let s=0;s<e.length;s++){const n=P(e[s]);n&&(t+=n+" ")}else if(w(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}let M,$=0;function F(){$++}function H(){if(--$>0)return;let e;for(;M;){let s=M;for(M=void 0;s;){const n=s.next;if(s.next=void 0,s.flags&=-9,1&s.flags)try{s.trigger()}catch(t){e||(e=t)}s=n}}if(e)throw e}class B{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){}trigger(e){this.version++,this.notify(e)}notify(e){F();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(g({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{H()}}}const U=new WeakMap,W=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),q=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),J=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function z(e,t,s,n,r,a){const o=U.get(e);if(!o)return;const l=o=>{o&&("production"!==process.env.NODE_ENV?o.trigger({target:e,type:t,key:s,newValue:n,oldValue:r,oldTarget:a}):o.trigger())};if(F(),"clear"===t)o.forEach(l);else{const r=v(e),a=r&&x(s);if(r&&"length"===s){const e=Number(n);o.forEach((t,s)=>{("length"===s||s===J||!N(s)&&s>=e)&&l(t)})}else switch((void 0!==s||o.has(void 0))&&l(o.get(s)),a&&l(o.get(J)),t){case"add":r?a&&l(o.get("length")):(l(o.get(W)),y(e)&&l(o.get(q)));break;case"delete":r||(l(o.get(W)),y(e)&&l(o.get(q)));break;case"set":y(e)&&l(o.get(W))}}H()}function K(e){const t=je(e);return t===e||xe(e)?t:t.map(Ve)}function G(e){return je(e)}const X={__proto__:null,[Symbol.iterator](){return Q(this,Symbol.iterator,Ve)},concat(...e){return K(this).concat(...e.map(e=>v(e)?K(e):e))},entries(){return Q(this,"entries",e=>(e[1]=Ve(e[1]),e))},every(e,t){return Z(this,"every",e,t,void 0,arguments)},filter(e,t){return Z(this,"filter",e,t,e=>e.map(Ve),arguments)},find(e,t){return Z(this,"find",e,t,Ve,arguments)},findIndex(e,t){return Z(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Z(this,"findLast",e,t,Ve,arguments)},findLastIndex(e,t){return Z(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Z(this,"forEach",e,t,void 0,arguments)},includes(...e){return te(this,"includes",e)},indexOf(...e){return te(this,"indexOf",e)},join(e){return K(this).join(e)},lastIndexOf(...e){return te(this,"lastIndexOf",e)},map(e,t){return Z(this,"map",e,t,void 0,arguments)},pop(){return se(this,"pop")},push(...e){return se(this,"push",e)},reduce(e,...t){return ee(this,"reduce",e,t)},reduceRight(e,...t){return ee(this,"reduceRight",e,t)},shift(){return se(this,"shift")},some(e,t){return Z(this,"some",e,t,void 0,arguments)},splice(...e){return se(this,"splice",e)},toReversed(){return K(this).toReversed()},toSorted(e){return K(this).toSorted(e)},toSpliced(...e){return K(this).toSpliced(...e)},unshift(...e){return se(this,"unshift",e)},values(){return Q(this,"values",Ve)}};function Q(e,t,s){const n=G(e),r=n[t]();return n===e||xe(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.done||(e.value=s(e.value)),e}),r}const Y=Array.prototype;function Z(e,t,s,n,r,a){const o=G(e),l=o!==e&&!xe(e),u=o[t];if(u!==Y[t]){const t=u.apply(e,a);return l?Ve(t):t}let c=s;o!==e&&(l?c=function(t,n){return s.call(this,Ve(t),n,e)}:s.length>2&&(c=function(t,n){return s.call(this,t,n,e)}));const i=u.call(o,c,n);return l&&r?r(i):i}function ee(e,t,s,n){const r=G(e);let a=s;return r!==e&&(xe(e)?s.length>3&&(a=function(t,n,r){return s.call(this,t,n,r,e)}):a=function(t,n,r){return s.call(this,t,Ve(n),r,e)}),r[t](a,...n)}function te(e,t,s){const n=je(e),r=n[t](...s);return-1!==r&&!1!==r||!Ce(s[0])?r:(s[0]=je(s[0]),n[t](...s))}function se(e,t,s=[]){F();const n=je(e)[t].apply(e,s);return H(),n}const ne=d("__proto__,__v_isRef,__isVue"),re=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(N));function ae(e){return N(e)||(e=String(e)),je(this).hasOwnProperty(e)}class oe{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,s){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return r;if("__v_raw"===t)return s===(n?r?Ee:be:r?ye:ve).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const a=v(e);if(!n){let e;if(a&&(e=X[t]))return e;if("hasOwnProperty"===t)return ae}const o=Reflect.get(e,t,Te(e)?e:s);if(N(t)?re.has(t):ne(t))return o;if(r)return o;if(Te(o)){const e=a&&x(t)?o:o.value;return n&&w(e)?we(e):e}return w(o)?n?we(o):Ne(o):o}}class le extends oe{constructor(e=!1){super(!1,e)}set(e,t,s,n){let r=e[t];if(!this._isShallow){const n=ke(r);if(xe(s)||ke(s)||(r=je(r),s=je(s)),!v(e)&&Te(r)&&!Te(s))return n?("production"!==process.env.NODE_ENV&&(String(t),e[t]),!0):(r.value=s,!0)}const a=v(e)&&x(t)?Number(t)<e.length:_(e,t),o=Reflect.set(e,t,s,Te(e)?e:n);return e===je(n)&&(a?j(s,r)&&z(e,"set",t,s,r):z(e,"add",t,s)),o}deleteProperty(e,t){const s=_(e,t),n=e[t],r=Reflect.deleteProperty(e,t);return r&&s&&z(e,"delete",t,void 0,n),r}has(e,t){const s=Reflect.has(e,t);return!N(t)||re.has(t),s}ownKeys(e){return Reflect.ownKeys(e)}}class ue extends oe{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}}const ce=new le,ie=new ue,de=e=>e,pe=e=>Reflect.getPrototypeOf(e);function fe(e){return function(...t){return"production"!==process.env.NODE_ENV&&(t[0]&&t[0],C(e),je(this)),"delete"!==e&&("clear"===e?void 0:this)}}function me(e,t){const s=function(e,t){const s={get(s){const n=this.__v_raw,r=je(n),a=je(s),{has:o}=pe(r),l=t?de:e?Re:Ve;return o.call(r,s)?l(n.get(s)):o.call(r,a)?l(n.get(a)):void(n!==r&&n.get(s))},get size(){const t=this.__v_raw;return!e&&je(t),t.size},has(e){const t=this.__v_raw;je(t);const s=je(e);return e===s?t.has(e):t.has(e)||t.has(s)},forEach(s,n){const r=this,a=r.__v_raw;je(a);const o=t?de:e?Re:Ve;return a.forEach((e,t)=>s.call(n,o(e),o(t),r))}};return g(s,e?{add:fe("add"),set:fe("set"),delete:fe("delete"),clear:fe("clear")}:{add(e){t||xe(e)||ke(e)||(e=je(e));const s=je(this);return pe(s).has.call(s,e)||(s.add(e),z(s,"add",e,e)),this},set(e,s){t||xe(s)||ke(s)||(s=je(s));const n=je(this),{has:r,get:a}=pe(n);let o=r.call(n,e);o?"production"!==process.env.NODE_ENV&&_e(n,r,e):(e=je(e),o=r.call(n,e));const l=a.call(n,e);return n.set(e,s),o?j(s,l)&&z(n,"set",e,s,l):z(n,"add",e,s),this},delete(e){const t=je(this),{has:s,get:n}=pe(t);let r=s.call(t,e);r?"production"!==process.env.NODE_ENV&&_e(t,s,e):(e=je(e),r=s.call(t,e));const a=n?n.call(t,e):void 0,o=t.delete(e);return r&&z(t,"delete",e,void 0,a),o},clear(){const e=je(this),t=0!==e.size,s="production"!==process.env.NODE_ENV?y(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&z(e,"clear",void 0,void 0,s),n}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=function(e,t,s){return function(...n){const r=this.__v_raw,a=je(r),o=y(a),l="entries"===e||e===Symbol.iterator&&o,u=r[e](...n),c=s?de:t?Re:Ve;return{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),s}(e,t);return(t,n,r)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(_(s,n)&&n in t?s:t,n,r)}const ge={get:me(!1,!1)},he={get:me(!0,!1)};function _e(e,t,s){const n=je(s);n!==s&&t.call(e,n)&&k(e)}const ve=new WeakMap,ye=new WeakMap,be=new WeakMap,Ee=new WeakMap;function Ne(e){return ke(e)?e:Oe(e,!1,ce,ge,ve)}function we(e){return Oe(e,!0,ie,he,be)}function Oe(e,t,s,n,r){if(!w(e))return"production"!==process.env.NODE_ENV&&String(e),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(k(o));var o;if(0===a)return e;const l=r.get(e);if(l)return l;const u=new Proxy(e,2===a?n:s);return r.set(e,u),u}function Se(e){return ke(e)?Se(e.__v_raw):!(!e||!e.__v_isReactive)}function ke(e){return!(!e||!e.__v_isReadonly)}function xe(e){return!(!e||!e.__v_isShallow)}function Ce(e){return!!e&&!!e.__v_raw}function je(e){const t=e&&e.__v_raw;return t?je(t):e}const Ve=e=>w(e)?Ne(e):e,Re=e=>w(e)?we(e):e;function Te(e){return!!e&&!0===e.__v_isRef}function Ie(e){return Te(t=e)?t:new De(t,!1);var t}class De{constructor(e,t){this.dep=new B,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:je(e),this._value=t?e:Ve(e),this.__v_isShallow=t}get value(){return"production"!==process.env.NODE_ENV?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const t=this._rawValue,s=this.__v_isShallow||xe(e)||ke(e);e=s?e:je(e),j(e,t)&&(this._rawValue=e,this._value=s?e:Ve(e),"production"!==process.env.NODE_ENV?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}):this.dep.trigger())}}const Ae=[];let Le=!1;function Pe(e,...t){if(Le)return;Le=!0;const s=Ae.length?Ae[Ae.length-1].component:null,n=s&&s.appContext.config.warnHandler,r=function(){let e=Ae[Ae.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)He(n,s,11,[e+t.map(e=>{var t,s;return null!=(s=null==(t=e.toString)?void 0:t.call(e))?s:JSON.stringify(e)}).join(""),s&&s.proxy,r.map(({vnode:e})=>`at <${St(s,e.type)}>`).join("\n"),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push("\n",...function(e){const t=[];return e.forEach((e,s)=>{t.push(...0===s?[]:["\n"],...function({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,r=` at <${St(e.component,e.type,n)}`,a=">"+s;return e.props?[r,...Me(e.props),a]:[r+a]}(e))}),t}(r))}Le=!1}function Me(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(s=>{t.push(...$e(s,e[s]))}),s.length>3&&t.push(" ..."),t}function $e(e,t,s){return E(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?s?t:[`${e}=${t}`]:Te(t)?(t=$e(e,je(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):b(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=je(t),s?t:[`${e}=`,t])}const Fe={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function He(e,t,s,n){try{return n?e(...n):e()}catch(r){Be(r,t,s)}}function Be(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||p;if(t){let n=t.parent;const r=t.proxy,o="production"!==process.env.NODE_ENV?Fe[s]:`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let s=0;s<t.length;s++)if(!1===t[s](e,r,o))return;n=n.parent}if(a)return void He(a,null,10,[e,r,o])}!function(e,t,s,n=!0,r=!1){if("production"!==process.env.NODE_ENV){const r=Fe[t];if(s&&(a=s,Ae.push(a)),Pe("Unhandled error"+(r?` during execution of ${r}`:"")),s&&Ae.pop(),n)throw e}else if(r)throw e;var a}(e,s,r,n,o)}const Ue=[];let We=-1;const qe=[];let Je=null,ze=0;const Ke=Promise.resolve();let Ge=null;function Xe(e){if(!(1&e.flags)){const t=Ye(e),s=Ue[Ue.length-1];!s||!(2&e.flags)&&t>=Ye(s)?Ue.push(e):Ue.splice(function(e){let t=We+1,s=Ue.length;for(;t<s;){const n=t+s>>>1,r=Ue[n],a=Ye(r);a<e||a===e&&2&r.flags?t=n+1:s=n}return t}(t),0,e),e.flags|=1,Qe()}}function Qe(){Ge||(Ge=Ke.then(Ze))}const Ye=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Ze(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>et(e,t):f;try{for(We=0;We<Ue.length;We++){const e=Ue[We];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),He(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;We<Ue.length;We++){const e=Ue[We];e&&(e.flags&=-2)}We=-1,Ue.length=0,function(e){if(qe.length){const t=[...new Set(qe)].sort((e,t)=>Ye(e)-Ye(t));if(qe.length=0,Je)return void Je.push(...t);for(Je=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),ze=0;ze<Je.length;ze++){const t=Je[ze];"production"!==process.env.NODE_ENV&&et(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}Je=null,ze=0}}(e),Ge=null,(Ue.length||qe.length)&&Ze(e)}}function et(e,t){const s=e.get(t)||0;if(s>100){const e=t.i,s=e&&Ot(e.type);return Be(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,s+1),!1}const tt=new Map;"production"!==process.env.NODE_ENV&&(R().__VUE_HMR_RUNTIME__={createRecord:at(function(e,t){return!st.has(e)&&(st.set(e,{initialDef:nt(t),instances:new Set}),!0)}),rerender:at(function(e,t){const s=st.get(e);s&&(s.initialDef.render=t,[...s.instances].forEach(e=>{t&&(e.render=t,nt(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()}))}),reload:at(function(e,t){const s=st.get(e);if(!s)return;t=nt(t),rt(s.initialDef,t);const n=[...s.instances];for(let a=0;a<n.length;a++){const e=n[a],r=nt(e.type);let o=tt.get(r);o||(r!==s.initialDef&&rt(r,t),tt.set(r,o=new Set)),o.add(e),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(o.add(e),e.ceReload(t.styles),o.delete(e)):e.parent?Xe(()=>{8&e.job.flags||(e.parent.update(),o.delete(e))}):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window&&window.location.reload(),e.root.ce&&e!==e.root&&e.root.ce._removeChildStyle(r)}var r;v(r=()=>{tt.clear()})?qe.push(...r):Je&&-1===r.id?Je.splice(ze+1,0,r):1&r.flags||(qe.push(r),r.flags|=1),Qe()})});const st=new Map;function nt(e){return kt(e)?e.__vccOpts:e}function rt(e,t){g(e,t);for(const s in e)"__file"===s||s in t||delete e[s]}function at(e){return(t,s)=>{try{return e(t,s)}catch(n){}}}let ot=null;function lt(e,t){6&e.shapeFlag&&e.component?(e.transition=t,lt(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}R().requestIdleCallback,R().cancelIdleCallback;const ut=Symbol.for("v-ndc");process.env.NODE_ENV;const ct={},it=e=>Object.getPrototypeOf(e)===ct,dt=Symbol.for("v-fgt"),pt=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),mt=({key:e})=>null!=e?e:null,gt=({ref:e,ref_key:t,ref_for:s})=>("number"==typeof e&&(e=""+e),null!=e?E(e)||Te(e)||b(e)?{i:ot,r:e,k:t,f:!!s}:e:null),ht="production"!==process.env.NODE_ENV?(...e)=>_t(...e):_t;function _t(e,t=null,s=null,n=0,r=null,a=!1){if(e&&e!==ut||("production"===process.env.NODE_ENV||e||Pe(`Invalid vnode type when creating vnode: ${e}.`),e=ft),(o=e)&&!0===o.__v_isVNode){const n=vt(e,t,!0);return s&&Et(n,s),n.patchFlag=-2,n}var o;if(kt(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ce(e)||it(e)?g({},e):e:null}(t);let{class:e,style:s}=t;e&&!E(e)&&(t.class=P(e)),w(s)&&(Ce(s)&&!v(s)&&(s=g({},s)),t.style=T(s))}const l=E(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:b(e)?2:0;return"production"!==process.env.NODE_ENV&&4&l&&Ce(e)&&Pe("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=je(e)),function(e,t=null,s=null,n=0,r=null,a=(e===dt?0:1),o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mt(t),ref:t&>(t),scopeId:null,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ot};return l?(Et(u,s),128&a&&e.normalize(u)):s&&(u.shapeFlag|=E(s)?8:16),"production"!==process.env.NODE_ENV&&u.key!=u.key&&Pe("VNode created with invalid key (NaN). VNode type:",u.type),u}(e,t,s,n,r,l,a,!0)}function vt(e,t,s=!1,n=!1){const{props:r,ref:a,patchFlag:o,children:l,transition:u}=e,c=t?function(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=P([t.class,n.class]));else if("style"===e)t.style=T([t.style,n.style]);else if(m(e)){const s=t[e],r=n[e];!r||s===r||v(s)&&s.includes(r)||(t[e]=s?[].concat(s,r):r)}else""!==e&&(t[e]=n[e])}return t}(r||{},t):r,i={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&mt(c),ref:t&&t.ref?s&&a?v(a)?a.concat(gt(t)):[a,gt(t)]:gt(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===o&&v(l)?l.map(yt):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dt?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&<(i,u.clone(i)),i}function yt(e){const t=vt(e);return v(e.children)&&(t.children=e.children.map(yt)),t}function bt(e=" ",t=0){return ht(pt,null,e,t)}function Et(e,t){let s=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(v(t))s=16;else if("object"==typeof t){if(65&n){const s=t.default;return void(s&&(s._c&&(s._d=!1),Et(e,s()),s._c&&(s._d=!0)))}s=32,t._||it(t)||(t._ctx=ot)}else b(t)?(t={default:t,_ctx:ot},s=32):(t=String(t),64&n?(s=16,t=[bt(t)]):s=8);e.children=t,e.shapeFlag|=s}{const e=R(),t=(t,s)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(s),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}process.env.NODE_ENV;const Nt=/(?:^|[-_])\w/g,wt=e=>e.replace(Nt,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ot(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}function St(e,t,s=!1){let n=Ot(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const s=e=>{for(const s in e)if(e[s]===t)return s};n=s(e.components||e.parent.type.components)||s(e.appContext.components)}return n?wt(n):s?"App":"Anonymous"}function kt(e){return b(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,"production"!==process.env.NODE_ENV&&function(){if("production"===process.env.NODE_ENV||"undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},s={style:"color:#f5222d"},n={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(t){if(!w(t))return null;if(t.__isVue)return["div",e,"VueInstance"];if(Te(t)){const n=t.value;return["div",{},["span",e,(s=t,xe(s)?"ShallowRef":s.effect?"ComputedRef":"Ref")],"<",l(n),">"]}var s;return Se(t)?["div",{},["span",e,xe(t)?"ShallowReactive":"Reactive"],"<",l(t),">"+(ke(t)?" (readonly)":"")]:ke(t)?["div",{},["span",e,xe(t)?"ShallowReadonly":"Readonly"],"<",l(t),">"]:null},hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...a(e.$)]}};function a(e){const t=[];e.type.props&&e.props&&t.push(o("props",je(e.props))),e.setupState!==p&&t.push(o("setup",e.setupState)),e.data!==p&&t.push(o("data",je(e.data)));const s=u(e,"computed");s&&t.push(o("computed",s));const r=u(e,"inject");return r&&t.push(o("injected",r)),t.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function o(e,t){return t=g({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map(e=>["div",{},["span",n,e+": "],l(t[e],!1)])]]:["span",{}]}function l(e,r=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",s,JSON.stringify(e)]:"boolean"==typeof e?["span",n,e]:w(e)?["object",{object:r?je(e):e}]:["span",s,String(e)]}function u(e,t){const s=e.type;if(b(s))return;const n={};for(const r in e.ctx)c(s,r,t)&&(n[r]=e.ctx[r]);return n}function c(e,t,s){const n=e[s];return!!(v(n)&&n.includes(t)||w(n)&&t in n)||!(!e.extends||!c(e.extends,t,s))||!(!e.mixins||!e.mixins.some(e=>c(e,t,s)))||void 0}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}();const xt=Ie("");Ie("");const Ct=e=>{try{const t=JSON.parse(c.AES.decrypt(e,xt.value,{format:{stringify:e=>{const t={ct:e.ciphertext.toString(c.enc.Base64)};return e.iv&&(t.iv=e.iv.toString()),e.salt&&(t.s=e.salt.toString()),JSON.stringify(t)},parse:e=>{const t=JSON.parse(e),s=c.lib.CipherParams.create({ciphertext:c.enc.Base64.parse(t.ct)});return t.iv&&(s.iv=c.enc.Hex.parse(t.iv)),t.s&&(s.salt=c.enc.Hex.parse(t.s)),s}}}).toString(c.enc.Utf8));return""!==t?JSON.parse(t):t}catch(t){return""}},jt=e=>new URLSearchParams(Object.entries(e).map(([e,t])=>[e,String(t)]));function Vt(){return""===xt.value?0:1}const Rt=()=>{var e;return It(null!=(e=localStorage.getItem("access_token"))?e:"")},Tt=()=>{localStorage.removeItem("access_token")},It=e=>{if(""==e)return"";const t=atob(e),s=new Uint8Array([...t].map(e=>e.charCodeAt(0)));return(new TextDecoder).decode(s)},Dt=(e,t=null)=>u(null,null,function*(){let s=e;t&&(s=`${s}?${jt(t)}`),"undefined"==typeof document?require("url").pathToFileURL(__filename).href:i&&"SCRIPT"===i.tagName.toUpperCase()&&i.src||new URL("50p82u21t54k.cjs.js",document.baseURI).href;const n=yield Lt(s,{method:"GET",headers:Pt(),credentials:"include"});if(!n.ok){const e=yield Ft(n);return Promise.reject(e)}const r=yield Vt()?Ct(n):$t(n);return 401==n.status&&Tt(),{data:r,status:n.status,msg:n.statusText,headers:n.headers,ok:n.ok}}),At=(e,t,s=null)=>u(null,null,function*(){let n=e;s&&(n=`${n}?${jt(s)}`);const r=yield Lt(n,{method:"POST",headers:Pt(),body:JSON.stringify(t),credentials:"include"});if(401==r.status&&Tt(),!r.ok){const e=yield Ft(r);return Promise.reject(e)}const a=yield Vt()?Ct(r):$t(r);if(!a)return{data:{},status:r.status,msg:r.statusText,headers:r.headers,ok:r.ok};const o=(Array.isArray(null==a?void 0:a.responses)?a.responses.filter(e=>null==e?void 0:e.attributes):[])[0];return{data:o?JSON.parse((e=>{try{return atob(e)}catch(t){return""}})(o.attributes)):a,status:r.status,msg:r.statusText,headers:r.headers,ok:r.ok}}),Lt=(e,n,r=29e3)=>u(null,null,function*(){const a=new AbortController,o=setTimeout(()=>a.abort(),r);try{return yield fetch(e,(u=l({},n),c={signal:a.signal},t(u,s(c))))}finally{clearTimeout(o)}var u,c}),Pt=()=>{const e=localStorage.getItem("token"),t=Mt("XSRF-TOKEN");return l({"Content-Type":"application/json","X-XSRF-TOKEN":t},e?{Authorization:`Bearer ${e}`}:{})},Mt=e=>{const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?decodeURIComponent(t[2]):""},$t=e=>u(null,null,function*(){try{return 204===e.status||"0"===e.headers.get("content-length")?null:yield e.json()}catch(t){return null}}),Ft=e=>u(null,null,function*(){const t=yield $t(e),s={status:e.status,message:(null==t?void 0:t.message)||e.statusText||"An error occurred"};return 401===e.status||404===e.status||e.status,s}),Ht=Object.freeze(Object.defineProperty({__proto__:null,get:Dt,post:At},Symbol.toStringTag,{value:"Module"})),Bt={data:{status:!1,message:"",localeList:[]}},Ut={data:{status:!1,message:"",mobileBanner:[]}},Wt={data:{status:!1,message:"",loginInfo:{username:"",walletBalance:"",key:"",ip:""}}},qt={data:{status:!1,message:"",winnerList:[]}},Jt={data:{status:!1,message:"",announcementList:[]}},zt={data:0},Kt={data:{status:!1,message:"",messageList:[]}},Gt={data:{status:!1,message:"",messageContent:{id:0,status:!1,subject:"",content:"",date:""}}},Xt={data:{comList:[],comCategory:[],comRequestList:[],comRequestMList:[],comRequestCList:[]}},Qt=(e,t,s,n,r)=>{var a;return null!=(a=t[r].map(t=>{var r,a;const o=e[t]||t,l=null!=(a=s[t]?s[t]:null==(r=n[t])?void 0:r.n)?a:t,u=n[o];return{com:t,name:l,isTransferBefore:1===(null==u?void 0:u.c),isMaintenance:1===(null==u?void 0:u.m)}}))?a:[]},Yt=(e,t="")=>{const s=[];let n=[];return e.map((r,a)=>{(""==t?r.isTransferBefore&&!r.isMaintenance:"m"==t?r.isMaintenance:r.isTransferBefore)&&(5==n.length?(s.push({list:n}),n=[],n.push(r.com)):n.push(r.com)),a==e.length-1&&(s.push({list:n}),n=[])}),null!=s?s:[]},Zt={data:0},es={data:{com:"",amount:"0"}},ts={data:{status:!1,message:""}},ss={data:{status:!1,message:"",mobileBanner:[]}},ns={data:{status:!1,message:"",footerInfo:[]}},rs={data:{status:!1,message:"",profile:{id:0,address:"",city:"",country:"",dob:"",email:"",fax:"",fullName:"",gender:"",phone:"",qq:""}}},as={data:{status:!1,message:"",platformList:[]}},os={data:{status:!1,message:"",settings:{}}};var ls=(e=>(e.liveChat="livechat",e.mobileColorTheme="MOBILE_COLOR_THEME",e.mDevice="M_DEVICE",e.festiveEvent="FESTIVE_EVENT",e.popAdNoShow="POP_AD_NO_SHOW",e.cmsNoShow="CMS_NO_SHOW",e.annPopup="annPopup",e))(ls||{});exports.SettingCategory=ls,exports.announcementApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},Jt);try{const n=(yield Dt("/apis/announcements",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",announcementList:n.results.data.map(e=>({alert:"1"==e.announcement_alert,show:"1"==e.announcement_show,status:"1"==e.announcement_status,announcementId:e.announcement_index,content:e.announcement_content,dateCreated:e.announcement_datecreated}))}}}catch(n){s=l({status:n.status||500,message:n.message},Jt)}return s}),exports.api=Ht,exports.cashWalletGetApi=()=>u(null,null,function*(){var e,t,s,n,r;let a=l({status:200,message:""},Xt);try{const l={};l.access_token=Rt();const d=(yield At("/Cashwallet/get",l,{render:Vt(),json:1})).data,p=null!=(o=d.basecom,u=d.com_kind,c=d.comname,i=d.data,e=d.kind.flatMap(e=>{const t=e[0];return Qt(o,u,c,i,t)}))?e:[],f=null!=(t=((e,t,s,n,r)=>r.map(r=>{var a;const o=r[0];return{id:r[0],label:null!=(a=r[1])?a:"",comList:Qt(e,t,s,n,o)}}))(d.basecom,d.com_kind,d.comname,d.data,d.kind))?t:[];a.data={comList:p,comCategory:f,comRequestList:null!=(s=Yt(p))?s:[],comRequestMList:null!=(n=Yt(p,"m"))?n:[],comRequestCList:null!=(r=Yt(p,"c"))?r:[]}}catch(d){a=l({status:d.status||500,message:d.message},Xt)}var o,u,c,i;return a}),exports.cashWalletGetLastApi=()=>u(null,null,function*(){let e=l({status:200,message:""},Zt);try{const t={};t.access_token=Rt();const s=(yield At("/Cashwallet/get/last",t,{render:Vt(),json:1})).data;e.data=s.status?s.last:0}catch(t){e=l({status:t.status||500,message:t.message},Zt)}return e}),exports.cashWalletGetWalletApi=e=>u(null,null,function*(){let t=l({status:200,message:""},es);try{const s={};s.access_token=Rt();const n=(yield At(`/Cashwallet/get/${e}`,s,{render:Vt(),json:1})).data;t.data={com:e,amount:n.status?n.com_wallet:"0"}}catch(s){t=l({status:s.status||500,message:s.message},es)}return t}),exports.cashWalletTransferApi=(...e)=>u(null,[...e],function*(e={}){var t;let s=l({status:200,message:""},ts);try{e.access_token=Rt();const n=(yield At("/Cashwallet/wallet/transfer",e,{render:Vt(),json:1})).data;s.data={status:"error"!=n.status,message:null!=(t=n.msg)?t:""}}catch(n){s=l({status:n.status||500,message:n.message},ts)}return s}),exports.cmsListApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},Ut);try{const n=(yield Dt("/apis/cmsList",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},Ut)}return s}),exports.footerInfoApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ns);try{const n=(yield Dt("/apis/footerInfo",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",footerInfo:n.results.footerInfo.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},ns)}return s}),exports.getJackpotTotalApi=()=>u(null,null,function*(){var e;let t=l({status:200,message:""},zt);try{const s=(yield Dt("/getJackpotTotal",{render:Vt(),json:1})).data;t.data=null!=(e=s.total)?e:0}catch(s){t=l({status:s.status||500,message:s.message},zt)}return t}),exports.getLocaleApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},Bt);try{const r=(yield Dt("/apis/getLocale",{render:Vt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",localeList:null!=(s=r.results.map(e=>({code:e.code,label:e.label})))?s:[]}}}catch(r){n=l({status:r.status||500,message:r.message},Bt)}return n}),exports.getMessageApi=e=>u(null,null,function*(){var t,s,n,r,a,o,u,c,i,d,p;let f=l({status:200,message:""},Gt);try{const l=(yield Dt(`/apis/msg/${e}`,{render:Vt(),json:1})).data;f={status:l.code,message:null!=(t=l.message)?t:"",data:{status:l.status,message:null!=(s=l.message)?s:"",messageContent:{id:null!=(r=null==(n=l.results)?void 0:n.msgindex)?r:0,status:"1"==(null==(a=l.results)?void 0:a.status),subject:null!=(u=null==(o=l.results)?void 0:o.subject)?u:"",content:null!=(i=null==(c=l.results)?void 0:c.content)?i:"",date:null!=(p=null==(d=l.results)?void 0:d.cdate)?p:""}}}}catch(m){f=l({status:m.status||500,message:m.message},Gt)}return f}),exports.getSettingApi=e=>u(null,null,function*(){var t,s,n,r,a,o,u,c,i,d,p;let f=l({status:200,message:""},os);try{const l=(yield Dt(`/apis/getSetting/${e}`,{render:Vt(),json:1})).data;if(f.status=l.code,f.message=null!=(t=l.message)?t:"",f.data.status=l.status,f.data.message=null!=(s=l.message)?s:"",l.results.data.LIVECHAT_LINK)return f.data.settings.liveChat={title:null!=(r=null==(n=l.results.data.LIVECHAT_LINK)?void 0:n.label)?r:"",imgUrl:null!=(o=null==(a=l.results.data.LIVECHAT_LINK)?void 0:a.img)?o:"",linkUrl:null!=(c=null==(u=l.results.data.LIVECHAT_LINK)?void 0:u.value)?c:""},f;if(l.results.data.MOBILE_COLOR_THEME)return f.data.settings.colorTheme=null!=(i=l.results.data.MOBILE_COLOR_THEME)?i:"",f;if(l.results.data.M_DEVICE)return f.data.settings.template=null!=(d=l.results.data.M_DEVICE)?d:"",f;if(l.results.data.FESTIVE_EVENT)return f.data.settings.festiveEvent=null!=(p=l.results.data.FESTIVE_EVENT)?p:"",f;if(l.results.data.POP_AD_NO_SHOW)return f.data.settings.doNotShowPopAd="1"==l.results.data.POP_AD_NO_SHOW,f;if(l.results.data.CMS_NO_SHOW)return f.data.settings.doNotShowCMS="1"==l.results.data.CMS_NO_SHOW,f}catch(m){f=l({status:m.status||500,message:m.message},os)}return f}),exports.getWinnerListApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},qt);try{const r=(yield Dt("/apis/getWinnerList",{render:Vt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",winnerList:null!=(s=r.results.notifications)?s:[]}}}catch(r){n=l({status:r.status||500,message:r.message},qt)}return n}),exports.loginApi=(...e)=>u(null,[...e],function*(e={}){var t,s,n,r,a,o,u,c,i,d,p,f;let m=l({status:200,message:""},Wt);try{const l=(yield At("/apis/login",e,{render:Vt(),json:1})).data;m={status:l.code,message:null!=(t=l.message)?t:"",data:{status:l.status,message:null!=(s=l.message)?s:"",loginInfo:{username:null!=(r=null==(n=l.results)?void 0:n.accountcode)?r:"",walletBalance:null!=(o=null==(a=l.results)?void 0:a.balance)?o:"",key:null!=(c=null==(u=l.results)?void 0:u.access_key)?c:"",ip:null!=(d=null==(i=l.results)?void 0:i.user_ip)?d:""}}},(null==(p=l.results)?void 0:p.access_key)&&(g=null==(f=l.results)?void 0:f.access_key,localStorage.setItem("access_token",(e=>{const t=(new TextEncoder).encode(e);return btoa(String.fromCharCode(...t))})(g)))}catch(h){m=l({status:h.status||500,message:h.message},Wt)}var g;return m}),exports.messageApi=()=>u(null,null,function*(){var e,t,s,n;let r=l({status:200,message:""},Kt);try{const a=(yield Dt("/apis/msg",{render:Vt(),json:1})).data;r={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",messageList:null!=(n=null==(s=a.results)?void 0:s.map(e=>({id:e.msgindex,status:"1"==e.status,subject:e.subject,date:e.cdate})))?n:[]}}}catch(a){r=l({status:a.status||500,message:a.message},Kt)}return r}),exports.mobileBannerApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ss);try{const n=(yield Dt("/apis/mobileBanner",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},ss)}return s}),exports.platformsApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},as);try{const r=(yield Dt("/apis/platforms",{render:Vt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",platformList:null!=(s=r.results.map(e=>({productMasterId:e.id_ProductMaster,name:e.name,com:e.com})))?s:[]}}}catch(r){n=l({status:r.status||500,message:r.message},as)}return n}),exports.profileApi=()=>u(null,null,function*(){var e,t,s,n,r,a,o,u,c,i,d,p,f,m;let g=l({status:200,message:""},rs);try{const l=(yield Dt("/apis/profile",{render:Vt(),json:1})).data;g={status:l.code,message:null!=(e=l.message)?e:"",data:{status:l.status,message:null!=(t=l.message)?t:"",profile:{id:null!=(s=l.results.accountid)?s:0,address:null!=(n=l.results.address)?n:"",city:null!=(r=l.results.city)?r:"",country:null!=(a=l.results.country)?a:"",dob:null!=(o=l.results.dob)?o:"",email:null!=(u=l.results.email)?u:"",fax:null!=(c=l.results.faxno)?c:"",fullName:`${null!=(i=l.results.firstname)?i:""} ${null!=(d=l.results.lastname)?d:""}`.trim(),gender:null!=(p=l.results.gender)?p:"",phone:null!=(f=l.results.mobileno)?f:"",qq:null!=(m=l.results.qq)?m:""}}}}catch(h){g=l({status:h.status||500,message:h.message},rs)}return g});
|
|
1
|
+
"use strict";var e=Object.defineProperty,t=Object.defineProperties,s=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,o=(t,s,n)=>s in t?e(t,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[s]=n,l=(e,t)=>{for(var s in t||(t={}))a.call(t,s)&&o(e,s,t[s]);if(n)for(var s of n(t))r.call(t,s)&&o(e,s,t[s]);return e},u=(e,t,s)=>new Promise((n,a)=>{var r=e=>{try{l(s.next(e))}catch(t){a(t)}},o=e=>{try{l(s.throw(e))}catch(t){a(t)}},l=e=>e.done?n(e.value):Promise.resolve(e.value).then(r,o);l((s=s.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("crypto-js");var c="undefined"!=typeof document?document.currentScript:null;function d(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}const p="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const m=()=>{},g=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),f=Object.assign,h=Object.prototype.hasOwnProperty,_=(e,t)=>h.call(e,t),v=Array.isArray,y=e=>"[object Map]"===S(e),b=e=>"function"==typeof e,E=e=>"string"==typeof e,N=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,O=Object.prototype.toString,S=e=>O.call(e),x=e=>S(e).slice(8,-1),k=e=>E(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=(()=>{const e=Object.create(null);return t=>e[t]||(e[t]=(e=>e.charAt(0).toUpperCase()+e.slice(1))(t))})(),j=(e,t)=>!Object.is(e,t);let V;const L=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function I(e){if(v(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],a=E(n)?T(n):I(n);if(a)for(const e in a)t[e]=a[e]}return t}if(E(e)||w(e))return e}const R=/;(?![^(]*\))/g,A=/:([^]+)/,P=/\/\*[^]*?\*\//g;function T(e){const t={};return e.replace(P,"").split(R).forEach(e=>{if(e){const s=e.split(A);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function D(e){let t="";if(E(e))t=e;else if(v(e))for(let s=0;s<e.length;s++){const n=D(e[s]);n&&(t+=n+" ")}else if(w(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}let M,$=0;function F(){$++}function U(){if(--$>0)return;let e;for(;M;){let s=M;for(M=void 0;s;){const n=s.next;if(s.next=void 0,s.flags&=-9,1&s.flags)try{s.trigger()}catch(t){e||(e=t)}s=n}}if(e)throw e}class H{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){}trigger(e){this.version++,this.notify(e)}notify(e){F();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(f({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{U()}}}const B=new WeakMap,W=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),q=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),J=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function z(e,t,s,n,a,r){const o=B.get(e);if(!o)return;const l=o=>{o&&("production"!==process.env.NODE_ENV?o.trigger({target:e,type:t,key:s,newValue:n,oldValue:a,oldTarget:r}):o.trigger())};if(F(),"clear"===t)o.forEach(l);else{const a=v(e),r=a&&k(s);if(a&&"length"===s){const e=Number(n);o.forEach((t,s)=>{("length"===s||s===J||!N(s)&&s>=e)&&l(t)})}else switch((void 0!==s||o.has(void 0))&&l(o.get(s)),r&&l(o.get(J)),t){case"add":a?r&&l(o.get("length")):(l(o.get(W)),y(e)&&l(o.get(q)));break;case"delete":a||(l(o.get(W)),y(e)&&l(o.get(q)));break;case"set":y(e)&&l(o.get(W))}}U()}function K(e){const t=je(e);return t===e||ke(e)?t:t.map(Ve)}function G(e){return je(e)}const X={__proto__:null,[Symbol.iterator](){return Q(this,Symbol.iterator,Ve)},concat(...e){return K(this).concat(...e.map(e=>v(e)?K(e):e))},entries(){return Q(this,"entries",e=>(e[1]=Ve(e[1]),e))},every(e,t){return Z(this,"every",e,t,void 0,arguments)},filter(e,t){return Z(this,"filter",e,t,e=>e.map(Ve),arguments)},find(e,t){return Z(this,"find",e,t,Ve,arguments)},findIndex(e,t){return Z(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Z(this,"findLast",e,t,Ve,arguments)},findLastIndex(e,t){return Z(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Z(this,"forEach",e,t,void 0,arguments)},includes(...e){return te(this,"includes",e)},indexOf(...e){return te(this,"indexOf",e)},join(e){return K(this).join(e)},lastIndexOf(...e){return te(this,"lastIndexOf",e)},map(e,t){return Z(this,"map",e,t,void 0,arguments)},pop(){return se(this,"pop")},push(...e){return se(this,"push",e)},reduce(e,...t){return ee(this,"reduce",e,t)},reduceRight(e,...t){return ee(this,"reduceRight",e,t)},shift(){return se(this,"shift")},some(e,t){return Z(this,"some",e,t,void 0,arguments)},splice(...e){return se(this,"splice",e)},toReversed(){return K(this).toReversed()},toSorted(e){return K(this).toSorted(e)},toSpliced(...e){return K(this).toSpliced(...e)},unshift(...e){return se(this,"unshift",e)},values(){return Q(this,"values",Ve)}};function Q(e,t,s){const n=G(e),a=n[t]();return n===e||ke(e)||(a._next=a.next,a.next=()=>{const e=a._next();return e.done||(e.value=s(e.value)),e}),a}const Y=Array.prototype;function Z(e,t,s,n,a,r){const o=G(e),l=o!==e&&!ke(e),u=o[t];if(u!==Y[t]){const t=u.apply(e,r);return l?Ve(t):t}let i=s;o!==e&&(l?i=function(t,n){return s.call(this,Ve(t),n,e)}:s.length>2&&(i=function(t,n){return s.call(this,t,n,e)}));const c=u.call(o,i,n);return l&&a?a(c):c}function ee(e,t,s,n){const a=G(e);let r=s;return a!==e&&(ke(e)?s.length>3&&(r=function(t,n,a){return s.call(this,t,n,a,e)}):r=function(t,n,a){return s.call(this,t,Ve(n),a,e)}),a[t](r,...n)}function te(e,t,s){const n=je(e),a=n[t](...s);return-1!==a&&!1!==a||!Ce(s[0])?a:(s[0]=je(s[0]),n[t](...s))}function se(e,t,s=[]){F();const n=je(e)[t].apply(e,s);return U(),n}const ne=d("__proto__,__v_isRef,__isVue"),ae=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(N));function re(e){return N(e)||(e=String(e)),je(this).hasOwnProperty(e)}class oe{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,s){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return a;if("__v_raw"===t)return s===(n?a?Ee:be:a?ye:ve).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const r=v(e);if(!n){let e;if(r&&(e=X[t]))return e;if("hasOwnProperty"===t)return re}const o=Reflect.get(e,t,Ie(e)?e:s);if(N(t)?ae.has(t):ne(t))return o;if(a)return o;if(Ie(o)){const e=r&&k(t)?o:o.value;return n&&w(e)?we(e):e}return w(o)?n?we(o):Ne(o):o}}class le extends oe{constructor(e=!1){super(!1,e)}set(e,t,s,n){let a=e[t];if(!this._isShallow){const n=xe(a);if(ke(s)||xe(s)||(a=je(a),s=je(s)),!v(e)&&Ie(a)&&!Ie(s))return n?("production"!==process.env.NODE_ENV&&(String(t),e[t]),!0):(a.value=s,!0)}const r=v(e)&&k(t)?Number(t)<e.length:_(e,t),o=Reflect.set(e,t,s,Ie(e)?e:n);return e===je(n)&&(r?j(s,a)&&z(e,"set",t,s,a):z(e,"add",t,s)),o}deleteProperty(e,t){const s=_(e,t),n=e[t],a=Reflect.deleteProperty(e,t);return a&&s&&z(e,"delete",t,void 0,n),a}has(e,t){const s=Reflect.has(e,t);return!N(t)||ae.has(t),s}ownKeys(e){return Reflect.ownKeys(e)}}class ue extends oe{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}}const ie=new le,ce=new ue,de=e=>e,pe=e=>Reflect.getPrototypeOf(e);function me(e){return function(...t){return"production"!==process.env.NODE_ENV&&(t[0]&&t[0],C(e),je(this)),"delete"!==e&&("clear"===e?void 0:this)}}function ge(e,t){const s=function(e,t){const s={get(s){const n=this.__v_raw,a=je(n),r=je(s),{has:o}=pe(a),l=t?de:e?Le:Ve;return o.call(a,s)?l(n.get(s)):o.call(a,r)?l(n.get(r)):void(n!==a&&n.get(s))},get size(){const t=this.__v_raw;return!e&&je(t),t.size},has(e){const t=this.__v_raw;je(t);const s=je(e);return e===s?t.has(e):t.has(e)||t.has(s)},forEach(s,n){const a=this,r=a.__v_raw;je(r);const o=t?de:e?Le:Ve;return r.forEach((e,t)=>s.call(n,o(e),o(t),a))}};return f(s,e?{add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear")}:{add(e){t||ke(e)||xe(e)||(e=je(e));const s=je(this);return pe(s).has.call(s,e)||(s.add(e),z(s,"add",e,e)),this},set(e,s){t||ke(s)||xe(s)||(s=je(s));const n=je(this),{has:a,get:r}=pe(n);let o=a.call(n,e);o?"production"!==process.env.NODE_ENV&&_e(n,a,e):(e=je(e),o=a.call(n,e));const l=r.call(n,e);return n.set(e,s),o?j(s,l)&&z(n,"set",e,s,l):z(n,"add",e,s),this},delete(e){const t=je(this),{has:s,get:n}=pe(t);let a=s.call(t,e);a?"production"!==process.env.NODE_ENV&&_e(t,s,e):(e=je(e),a=s.call(t,e));const r=n?n.call(t,e):void 0,o=t.delete(e);return a&&z(t,"delete",e,void 0,r),o},clear(){const e=je(this),t=0!==e.size,s="production"!==process.env.NODE_ENV?y(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&z(e,"clear",void 0,void 0,s),n}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=function(e,t,s){return function(...n){const a=this.__v_raw,r=je(a),o=y(r),l="entries"===e||e===Symbol.iterator&&o,u=a[e](...n),i=s?de:t?Le:Ve;return{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[i(e[0]),i(e[1])]:i(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),s}(e,t);return(t,n,a)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(_(s,n)&&n in t?s:t,n,a)}const fe={get:ge(!1,!1)},he={get:ge(!0,!1)};function _e(e,t,s){const n=je(s);n!==s&&t.call(e,n)&&x(e)}const ve=new WeakMap,ye=new WeakMap,be=new WeakMap,Ee=new WeakMap;function Ne(e){return xe(e)?e:Oe(e,!1,ie,fe,ve)}function we(e){return Oe(e,!0,ce,he,be)}function Oe(e,t,s,n,a){if(!w(e))return"production"!==process.env.NODE_ENV&&String(e),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(x(o));var o;if(0===r)return e;const l=a.get(e);if(l)return l;const u=new Proxy(e,2===r?n:s);return a.set(e,u),u}function Se(e){return xe(e)?Se(e.__v_raw):!(!e||!e.__v_isReactive)}function xe(e){return!(!e||!e.__v_isReadonly)}function ke(e){return!(!e||!e.__v_isShallow)}function Ce(e){return!!e&&!!e.__v_raw}function je(e){const t=e&&e.__v_raw;return t?je(t):e}const Ve=e=>w(e)?Ne(e):e,Le=e=>w(e)?we(e):e;function Ie(e){return!!e&&!0===e.__v_isRef}function Re(e){return Ie(t=e)?t:new Ae(t,!1);var t}class Ae{constructor(e,t){this.dep=new H,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:je(e),this._value=t?e:Ve(e),this.__v_isShallow=t}get value(){return"production"!==process.env.NODE_ENV?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const t=this._rawValue,s=this.__v_isShallow||ke(e)||xe(e);e=s?e:je(e),j(e,t)&&(this._rawValue=e,this._value=s?e:Ve(e),"production"!==process.env.NODE_ENV?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}):this.dep.trigger())}}const Pe=[];let Te=!1;function De(e,...t){if(Te)return;Te=!0;const s=Pe.length?Pe[Pe.length-1].component:null,n=s&&s.appContext.config.warnHandler,a=function(){let e=Pe[Pe.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)Ue(n,s,11,[e+t.map(e=>{var t,s;return null!=(s=null==(t=e.toString)?void 0:t.call(e))?s:JSON.stringify(e)}).join(""),s&&s.proxy,a.map(({vnode:e})=>`at <${St(s,e.type)}>`).join("\n"),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push("\n",...function(e){const t=[];return e.forEach((e,s)=>{t.push(...0===s?[]:["\n"],...function({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,a=` at <${St(e.component,e.type,n)}`,r=">"+s;return e.props?[a,...Me(e.props),r]:[a+r]}(e))}),t}(a))}Te=!1}function Me(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(s=>{t.push(...$e(s,e[s]))}),s.length>3&&t.push(" ..."),t}function $e(e,t,s){return E(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?s?t:[`${e}=${t}`]:Ie(t)?(t=$e(e,je(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):b(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=je(t),s?t:[`${e}=`,t])}const Fe={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Ue(e,t,s,n){try{return n?e(...n):e()}catch(a){He(a,t,s)}}function He(e,t,s,n=!0){const a=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||p;if(t){let n=t.parent;const a=t.proxy,o="production"!==process.env.NODE_ENV?Fe[s]:`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let s=0;s<t.length;s++)if(!1===t[s](e,a,o))return;n=n.parent}if(r)return void Ue(r,null,10,[e,a,o])}!function(e,t,s,n=!0,a=!1){if("production"!==process.env.NODE_ENV){const a=Fe[t];if(s&&(r=s,Pe.push(r)),De("Unhandled error"+(a?` during execution of ${a}`:"")),s&&Pe.pop(),n)throw e}else if(a)throw e;var r}(e,s,a,n,o)}const Be=[];let We=-1;const qe=[];let Je=null,ze=0;const Ke=Promise.resolve();let Ge=null;function Xe(e){if(!(1&e.flags)){const t=Ye(e),s=Be[Be.length-1];!s||!(2&e.flags)&&t>=Ye(s)?Be.push(e):Be.splice(function(e){let t=We+1,s=Be.length;for(;t<s;){const n=t+s>>>1,a=Be[n],r=Ye(a);r<e||r===e&&2&a.flags?t=n+1:s=n}return t}(t),0,e),e.flags|=1,Qe()}}function Qe(){Ge||(Ge=Ke.then(Ze))}const Ye=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Ze(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>et(e,t):m;try{for(We=0;We<Be.length;We++){const e=Be[We];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),Ue(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;We<Be.length;We++){const e=Be[We];e&&(e.flags&=-2)}We=-1,Be.length=0,function(e){if(qe.length){const t=[...new Set(qe)].sort((e,t)=>Ye(e)-Ye(t));if(qe.length=0,Je)return void Je.push(...t);for(Je=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),ze=0;ze<Je.length;ze++){const t=Je[ze];"production"!==process.env.NODE_ENV&&et(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}Je=null,ze=0}}(e),Ge=null,(Be.length||qe.length)&&Ze(e)}}function et(e,t){const s=e.get(t)||0;if(s>100){const e=t.i,s=e&&Ot(e.type);return He(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,s+1),!1}const tt=new Map;"production"!==process.env.NODE_ENV&&(L().__VUE_HMR_RUNTIME__={createRecord:rt(function(e,t){return!st.has(e)&&(st.set(e,{initialDef:nt(t),instances:new Set}),!0)}),rerender:rt(function(e,t){const s=st.get(e);s&&(s.initialDef.render=t,[...s.instances].forEach(e=>{t&&(e.render=t,nt(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()}))}),reload:rt(function(e,t){const s=st.get(e);if(!s)return;t=nt(t),at(s.initialDef,t);const n=[...s.instances];for(let r=0;r<n.length;r++){const e=n[r],a=nt(e.type);let o=tt.get(a);o||(a!==s.initialDef&&at(a,t),tt.set(a,o=new Set)),o.add(e),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(o.add(e),e.ceReload(t.styles),o.delete(e)):e.parent?Xe(()=>{8&e.job.flags||(e.parent.update(),o.delete(e))}):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window&&window.location.reload(),e.root.ce&&e!==e.root&&e.root.ce._removeChildStyle(a)}var a;v(a=()=>{tt.clear()})?qe.push(...a):Je&&-1===a.id?Je.splice(ze+1,0,a):1&a.flags||(qe.push(a),a.flags|=1),Qe()})});const st=new Map;function nt(e){return xt(e)?e.__vccOpts:e}function at(e,t){f(e,t);for(const s in e)"__file"===s||s in t||delete e[s]}function rt(e){return(t,s)=>{try{return e(t,s)}catch(n){}}}let ot=null;function lt(e,t){6&e.shapeFlag&&e.component?(e.transition=t,lt(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}L().requestIdleCallback,L().cancelIdleCallback;const ut=Symbol.for("v-ndc");process.env.NODE_ENV;const it={},ct=e=>Object.getPrototypeOf(e)===it,dt=Symbol.for("v-fgt"),pt=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),gt=({key:e})=>null!=e?e:null,ft=({ref:e,ref_key:t,ref_for:s})=>("number"==typeof e&&(e=""+e),null!=e?E(e)||Ie(e)||b(e)?{i:ot,r:e,k:t,f:!!s}:e:null),ht="production"!==process.env.NODE_ENV?(...e)=>_t(...e):_t;function _t(e,t=null,s=null,n=0,a=null,r=!1){if(e&&e!==ut||("production"===process.env.NODE_ENV||e||De(`Invalid vnode type when creating vnode: ${e}.`),e=mt),(o=e)&&!0===o.__v_isVNode){const n=vt(e,t,!0);return s&&Et(n,s),n.patchFlag=-2,n}var o;if(xt(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ce(e)||ct(e)?f({},e):e:null}(t);let{class:e,style:s}=t;e&&!E(e)&&(t.class=D(e)),w(s)&&(Ce(s)&&!v(s)&&(s=f({},s)),t.style=I(s))}const l=E(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:b(e)?2:0;return"production"!==process.env.NODE_ENV&&4&l&&Ce(e)&&De("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=je(e)),function(e,t=null,s=null,n=0,a=null,r=(e===dt?0:1),o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&>(t),ref:t&&ft(t),scopeId:null,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ot};return l?(Et(u,s),128&r&&e.normalize(u)):s&&(u.shapeFlag|=E(s)?8:16),"production"!==process.env.NODE_ENV&&u.key!=u.key&&De("VNode created with invalid key (NaN). VNode type:",u.type),u}(e,t,s,n,a,l,r,!0)}function vt(e,t,s=!1,n=!1){const{props:a,ref:r,patchFlag:o,children:l,transition:u}=e,i=t?function(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=D([t.class,n.class]));else if("style"===e)t.style=I([t.style,n.style]);else if(g(e)){const s=t[e],a=n[e];!a||s===a||v(s)&&s.includes(a)||(t[e]=s?[].concat(s,a):a)}else""!==e&&(t[e]=n[e])}return t}(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&>(i),ref:t&&t.ref?s&&r?v(r)?r.concat(ft(t)):[r,ft(t)]:ft(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===o&&v(l)?l.map(yt):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dt?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&<(c,u.clone(c)),c}function yt(e){const t=vt(e);return v(e.children)&&(t.children=e.children.map(yt)),t}function bt(e=" ",t=0){return ht(pt,null,e,t)}function Et(e,t){let s=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(v(t))s=16;else if("object"==typeof t){if(65&n){const s=t.default;return void(s&&(s._c&&(s._d=!1),Et(e,s()),s._c&&(s._d=!0)))}s=32,t._||ct(t)||(t._ctx=ot)}else b(t)?(t={default:t,_ctx:ot},s=32):(t=String(t),64&n?(s=16,t=[bt(t)]):s=8);e.children=t,e.shapeFlag|=s}{const e=L(),t=(t,s)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(s),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}process.env.NODE_ENV;const Nt=/(?:^|[-_])\w/g,wt=e=>e.replace(Nt,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ot(e,t=!0){return b(e)?e.displayName||e.name:e.name||t&&e.__name}function St(e,t,s=!1){let n=Ot(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const s=e=>{for(const s in e)if(e[s]===t)return s};n=s(e.components||e.parent.type.components)||s(e.appContext.components)}return n?wt(n):s?"App":"Anonymous"}function xt(e){return b(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,"production"!==process.env.NODE_ENV&&function(){if("production"===process.env.NODE_ENV||"undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},s={style:"color:#f5222d"},n={style:"color:#eb2f96"},a={__vue_custom_formatter:!0,header(t){if(!w(t))return null;if(t.__isVue)return["div",e,"VueInstance"];if(Ie(t)){const n=t.value;return["div",{},["span",e,(s=t,ke(s)?"ShallowRef":s.effect?"ComputedRef":"Ref")],"<",l(n),">"]}var s;return Se(t)?["div",{},["span",e,ke(t)?"ShallowReactive":"Reactive"],"<",l(t),">"+(xe(t)?" (readonly)":"")]:xe(t)?["div",{},["span",e,ke(t)?"ShallowReadonly":"Readonly"],"<",l(t),">"]:null},hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...r(e.$)]}};function r(e){const t=[];e.type.props&&e.props&&t.push(o("props",je(e.props))),e.setupState!==p&&t.push(o("setup",e.setupState)),e.data!==p&&t.push(o("data",je(e.data)));const s=u(e,"computed");s&&t.push(o("computed",s));const a=u(e,"inject");return a&&t.push(o("injected",a)),t.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function o(e,t){return t=f({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map(e=>["div",{},["span",n,e+": "],l(t[e],!1)])]]:["span",{}]}function l(e,a=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",s,JSON.stringify(e)]:"boolean"==typeof e?["span",n,e]:w(e)?["object",{object:a?je(e):e}]:["span",s,String(e)]}function u(e,t){const s=e.type;if(b(s))return;const n={};for(const a in e.ctx)i(s,a,t)&&(n[a]=e.ctx[a]);return n}function i(e,t,s){const n=e[s];return!!(v(n)&&n.includes(t)||w(n)&&t in n)||!(!e.extends||!i(e.extends,t,s))||!(!e.mixins||!e.mixins.some(e=>i(e,t,s)))||void 0}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}();const kt=Re("");Re("");const Ct=e=>{try{const t=JSON.parse(i.AES.decrypt(e,kt.value,{format:{stringify:e=>{const t={ct:e.ciphertext.toString(i.enc.Base64)};return e.iv&&(t.iv=e.iv.toString()),e.salt&&(t.s=e.salt.toString()),JSON.stringify(t)},parse:e=>{const t=JSON.parse(e),s=i.lib.CipherParams.create({ciphertext:i.enc.Base64.parse(t.ct)});return t.iv&&(s.iv=i.enc.Hex.parse(t.iv)),t.s&&(s.salt=i.enc.Hex.parse(t.s)),s}}}).toString(i.enc.Utf8));return""!==t?JSON.parse(t):t}catch(t){return""}},jt=e=>new URLSearchParams(Object.entries(e).map(([e,t])=>[e,String(t)]));function Vt(){return""===kt.value?0:1}const Lt=()=>{var e;return Rt(null!=(e=localStorage.getItem("access_token"))?e:"")},It=()=>{localStorage.removeItem("access_token")},Rt=e=>{if(""==e)return"";const t=atob(e),s=new Uint8Array([...t].map(e=>e.charCodeAt(0)));return(new TextDecoder).decode(s)},At=(e,t=null)=>u(null,null,function*(){let s=e;t&&(s=`${s}?${jt(t)}`),"undefined"==typeof document?require("url").pathToFileURL(__filename).href:c&&"SCRIPT"===c.tagName.toUpperCase()&&c.src||new URL("50p82u21t54k.cjs.js",document.baseURI).href;const n=yield Tt(s,{method:"GET",headers:Dt(),credentials:"include"});if(!n.ok){const e=yield Ft(n);return Promise.reject(e)}const a=yield Vt()?Ct(n):$t(n);return 401==n.status&&It(),{data:a,status:n.status,msg:n.statusText,headers:n.headers,ok:n.ok}}),Pt=(e,t,s=null)=>u(null,null,function*(){let n=e;s&&(n=`${n}?${jt(s)}`);const a=yield Tt(n,{method:"POST",headers:Dt(),body:JSON.stringify(t),credentials:"include"});if(401==a.status&&It(),!a.ok){const e=yield Ft(a);return Promise.reject(e)}const r=yield Vt()?Ct(a):$t(a);if(!r)return{data:{},status:a.status,msg:a.statusText,headers:a.headers,ok:a.ok};const o=(Array.isArray(null==r?void 0:r.responses)?r.responses.filter(e=>null==e?void 0:e.attributes):[])[0];return{data:o?JSON.parse((e=>{try{return atob(e)}catch(t){return""}})(o.attributes)):r,status:a.status,msg:a.statusText,headers:a.headers,ok:a.ok}}),Tt=(e,n,a=29e3)=>u(null,null,function*(){const r=new AbortController,o=setTimeout(()=>r.abort(),a);try{return yield fetch(e,(u=l({},n),i={signal:r.signal},t(u,s(i))))}finally{clearTimeout(o)}var u,i}),Dt=()=>{const e=localStorage.getItem("token"),t=Mt("XSRF-TOKEN");return l({"Content-Type":"application/json","X-XSRF-TOKEN":t},e?{Authorization:`Bearer ${e}`}:{})},Mt=e=>{const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?decodeURIComponent(t[2]):""},$t=e=>u(null,null,function*(){try{return 204===e.status||"0"===e.headers.get("content-length")?null:yield e.json()}catch(t){return null}}),Ft=e=>u(null,null,function*(){const t=yield $t(e),s={status:e.status,message:(null==t?void 0:t.message)||e.statusText||"An error occurred"};return 401===e.status||404===e.status||e.status,s}),Ut=Object.freeze(Object.defineProperty({__proto__:null,get:At,post:Pt},Symbol.toStringTag,{value:"Module"})),Ht={data:{status:!1,message:"",localeList:[]}},Bt={data:{status:!1,message:"",mobileBanner:[]}},Wt={data:{status:!1,message:"",loginInfo:{username:"",walletBalance:"",key:"",ip:""}}},qt={data:{status:!1,message:"",winnerList:[]}},Jt={data:{status:!1,message:"",announcementList:[]}},zt={data:0},Kt={data:{status:!1,message:"",messageList:[]}},Gt={data:{status:!1,message:"",messageContent:{id:0,status:!1,subject:"",content:"",date:""}}},Xt={data:{comList:[],comCategory:[],comRequestList:[],comRequestMList:[],comRequestCList:[]}},Qt=(e,t,s,n,a)=>{var r;return null!=(r=t[a].map(t=>{var a,r;const o=e[t]||t,l=null!=(r=s[t]?s[t]:null==(a=n[t])?void 0:a.n)?r:t,u=n[o];return{com:t,name:l,isTransferBefore:1===(null==u?void 0:u.c),isMaintenance:1===(null==u?void 0:u.m)}}))?r:[]},Yt=(e,t="")=>{const s=[];let n=[];return e.map((a,r)=>{(""==t?a.isTransferBefore&&!a.isMaintenance:"m"==t?a.isMaintenance:a.isTransferBefore)&&(5==n.length?(s.push({list:n}),n=[],n.push(a.com)):n.push(a.com)),r==e.length-1&&(s.push({list:n}),n=[])}),null!=s?s:[]},Zt={data:0},es={data:{com:"",amount:"0"}},ts={data:{status:!1,message:""}},ss={data:{status:!1,message:"",mobileBanner:[]}},ns={data:{status:!1,message:"",footerInfo:[]}},as={data:{status:!1,message:"",profile:{id:0,address:"",city:"",country:"",dob:"",email:"",fax:"",fullName:"",gender:"",phone:"",qq:""}}},rs={data:{status:!1,message:"",platformList:[]}},os={data:{status:!1,message:"",settings:{}}};var ls=(e=>(e.liveChat="livechat",e.mobileColorTheme="MOBILE_COLOR_THEME",e.mDevice="M_DEVICE",e.festiveEvent="FESTIVE_EVENT",e.popAdNoShow="POP_AD_NO_SHOW",e.cmsNoShow="CMS_NO_SHOW",e.annPopup="annPopup",e))(ls||{});const us={data:{status:!1,message:"",eventList:[]}},is={data:{upline:"",enableCaptcha:!1,isMobileVerify:!1,inputFields:[]}},cs={data:{status:!1,message:"",gameList:{currentPage:1,lastPage:1,data:[]}}},ds={data:{status:!1,message:"",gameList:{currentPage:1,lastPage:1,data:[]},hotList:{currentPage:1,lastPage:1,data:[]}}},ps={data:{status:!1,message:"",category:[],list:[]}},ms={data:{upline:"",enabled:!1,captcha:!1,form:[],bankList:[]}},gs={data:{status:!1,message:""}};exports.SettingCategory=ls,exports.agentRegisterApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ms);try{const n=(yield At("/apis/agent-register",{render:Vt(),json:1})).data;s.data={upline:n.upline,enabled:n.agReg_enable,captcha:n.captcha,form:null!=(e=n.objlists.fields.map(e=>{var t;return{fieldName:e.showname,required:1===e.required,regex:e.regex,maxLength:e.maxlength,inputHelper:null!=(t=e.help)?t:""}}))?e:[],bankList:null!=(t=n.banklist.map(e=>({bankId:e.bankindex,bankName:e.bankname,bankCode:e.swiftcode})))?t:[]}}catch(n){s=l({status:n.status||500,message:n.message},ms)}return s}),exports.announcementApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},Jt);try{const n=(yield At("/apis/announcements",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",announcementList:n.results.data.map(e=>({alert:"1"==e.announcement_alert,show:"1"==e.announcement_show,status:"1"==e.announcement_status,announcementId:e.announcement_index,content:e.announcement_content,dateCreated:e.announcement_datecreated}))}}}catch(n){s=l({status:n.status||500,message:n.message},Jt)}return s}),exports.api=Ut,exports.cashWalletGetApi=()=>u(null,null,function*(){var e,t,s,n,a;let r=l({status:200,message:""},Xt);try{const l={};l.access_token=Lt();const d=(yield Pt("/Cashwallet/get",l,{render:Vt(),json:1})).data,p=null!=(o=d.basecom,u=d.com_kind,i=d.comname,c=d.data,e=d.kind.flatMap(e=>{const t=e[0];return Qt(o,u,i,c,t)}))?e:[],m=null!=(t=((e,t,s,n,a)=>a.map(a=>{var r;const o=a[0];return{id:a[0],label:null!=(r=a[1])?r:"",comList:Qt(e,t,s,n,o)}}))(d.basecom,d.com_kind,d.comname,d.data,d.kind))?t:[];r.data={comList:p,comCategory:m,comRequestList:null!=(s=Yt(p))?s:[],comRequestMList:null!=(n=Yt(p,"m"))?n:[],comRequestCList:null!=(a=Yt(p,"c"))?a:[]}}catch(d){r=l({status:d.status||500,message:d.message},Xt)}var o,u,i,c;return r}),exports.cashWalletGetLastApi=()=>u(null,null,function*(){let e=l({status:200,message:""},Zt);try{const t={};t.access_token=Lt();const s=(yield Pt("/Cashwallet/get/last",t,{render:Vt(),json:1})).data;e.data=s.status?s.last:0}catch(t){e=l({status:t.status||500,message:t.message},Zt)}return e}),exports.cashWalletGetWalletApi=e=>u(null,null,function*(){let t=l({status:200,message:""},es);try{const s={};s.access_token=Lt();const n=(yield Pt(`/Cashwallet/get/${e}`,s,{render:Vt(),json:1})).data;t.data={com:e,amount:n.status?n.com_wallet:"0"}}catch(s){t=l({status:s.status||500,message:s.message},es)}return t}),exports.cashWalletTransferApi=(...e)=>u(null,[...e],function*(e={}){var t;let s=l({status:200,message:""},ts);try{e.access_token=Lt();const n=(yield Pt("/Cashwallet/wallet/transfer",e,{render:Vt(),json:1})).data;s.data={status:"error"!=n.status,message:null!=(t=n.msg)?t:""}}catch(n){s=l({status:n.status||500,message:n.message},ts)}return s}),exports.cmsListApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},Bt);try{const n=(yield At("/apis/cmsList",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},Bt)}return s}),exports.eventListApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},us);try{const n=(yield At("/apis/eventlist",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",eventList:n.results.all_event.map(e=>({date:e.date,imgUrl:e.img,linkUrl:e.link,title:e.title,content:e.content,isGameActive:e.gameActive,gameUrl:e.url}))}}}catch(n){s=l({status:n.status||500,message:n.message},us)}return s}),exports.fishGamesApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ds);try{const n=(yield At("/apis/fishgames",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",gameList:{currentPage:1,lastPage:1,data:n.results.data.map(e=>({gameId:e.game_id,platformId:e.pp_id,platformCode:e.platform_code,platformName:e.pp_name,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))},hotList:{currentPage:1,lastPage:1,data:n.results.hotfish.map(e=>({gameId:e.game_id,platformId:e.pp_id,platformCode:e.platform_code,platformName:e.pp_name,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))}}}}catch(n){s=l({status:n.status||500,message:n.message},ds)}return s}),exports.footerInfoApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ns);try{const n=(yield At("/apis/footerInfo",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",footerInfo:n.results.footerInfo.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},ns)}return s}),exports.getJackpotTotalApi=()=>u(null,null,function*(){var e;let t=l({status:200,message:""},zt);try{const s=(yield At("/getJackpotTotal",{render:Vt(),json:1})).data;t.data=null!=(e=s.total)?e:0}catch(s){t=l({status:s.status||500,message:s.message},zt)}return t}),exports.getLocaleApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},Ht);try{const a=(yield At("/apis/getLocale",{render:Vt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",localeList:null!=(s=a.results.map(e=>({code:e.code,label:e.label})))?s:[]}}}catch(a){n=l({status:a.status||500,message:a.message},Ht)}return n}),exports.getMessageApi=e=>u(null,null,function*(){var t,s,n,a,r,o,u,i,c,d,p;let m=l({status:200,message:""},Gt);try{const l=(yield At(`/apis/msg/${e}`,{render:Vt(),json:1})).data;m={status:l.code,message:null!=(t=l.message)?t:"",data:{status:l.status,message:null!=(s=l.message)?s:"",messageContent:{id:null!=(a=null==(n=l.results)?void 0:n.msgindex)?a:0,status:"1"==(null==(r=l.results)?void 0:r.status),subject:null!=(u=null==(o=l.results)?void 0:o.subject)?u:"",content:null!=(c=null==(i=l.results)?void 0:i.content)?c:"",date:null!=(p=null==(d=l.results)?void 0:d.cdate)?p:""}}}}catch(g){m=l({status:g.status||500,message:g.message},Gt)}return m}),exports.getSettingApi=e=>u(null,null,function*(){var t,s,n,a,r,o,u,i,c,d,p;let m=l({status:200,message:""},os);try{const l=(yield At(`/apis/getSetting/${e}`,{render:Vt(),json:1})).data;if(m.status=l.code,m.message=null!=(t=l.message)?t:"",m.data.status=l.status,m.data.message=null!=(s=l.message)?s:"",l.results.data.LIVECHAT_LINK)return m.data.settings.liveChat={title:null!=(a=null==(n=l.results.data.LIVECHAT_LINK)?void 0:n.label)?a:"",imgUrl:null!=(o=null==(r=l.results.data.LIVECHAT_LINK)?void 0:r.img)?o:"",linkUrl:null!=(i=null==(u=l.results.data.LIVECHAT_LINK)?void 0:u.value)?i:""},m;if(l.results.data.MOBILE_COLOR_THEME)return m.data.settings.colorTheme=null!=(c=l.results.data.MOBILE_COLOR_THEME)?c:"",m;if(l.results.data.M_DEVICE)return m.data.settings.template=null!=(d=l.results.data.M_DEVICE)?d:"",m;if(l.results.data.FESTIVE_EVENT)return m.data.settings.festiveEvent=null!=(p=l.results.data.FESTIVE_EVENT)?p:"",m;if(l.results.data.POP_AD_NO_SHOW)return m.data.settings.doNotShowPopAd="1"==l.results.data.POP_AD_NO_SHOW,m;if(l.results.data.CMS_NO_SHOW)return m.data.settings.doNotShowCMS="1"==l.results.data.CMS_NO_SHOW,m}catch(g){m=l({status:g.status||500,message:g.message},os)}return m}),exports.getWinnerListApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},qt);try{const a=(yield At("/apis/getWinnerList",{render:Vt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",winnerList:null!=(s=a.results.notifications)?s:[]}}}catch(a){n=l({status:a.status||500,message:a.message},qt)}return n}),exports.hotGamesApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},cs);try{const n=(yield At("/apis/hotgames",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",gameList:{currentPage:n.results.current_page,lastPage:n.results.last_page,data:n.results.data.map(e=>({gameId:e.game_id,platformId:e.ppid,platformCode:e.code,platformName:e.ppname,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))}}}}catch(n){s=l({status:n.status||500,message:n.message},cs)}return s}),exports.loginApi=(...e)=>u(null,[...e],function*(e={}){var t,s,n,a,r,o,u,i,c,d,p,m;let g=l({status:200,message:""},Wt);try{const l=(yield Pt("/apis/login",e,{render:Vt(),json:1})).data;g={status:l.code,message:null!=(t=l.message)?t:"",data:{status:l.status,message:null!=(s=l.message)?s:"",loginInfo:{username:null!=(a=null==(n=l.results)?void 0:n.accountcode)?a:"",walletBalance:null!=(o=null==(r=l.results)?void 0:r.balance)?o:"",key:null!=(i=null==(u=l.results)?void 0:u.access_token)?i:"",ip:null!=(d=null==(c=l.results)?void 0:c.user_ip)?d:""}}},(null==(p=l.results)?void 0:p.access_token)&&(f=null==(m=l.results)?void 0:m.access_token,localStorage.setItem("access_token",(e=>{const t=(new TextEncoder).encode(e);return btoa(String.fromCharCode(...t))})(f)))}catch(h){g=l({status:h.status||500,message:h.message},Wt)}var f;return g}),exports.logoutApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},gs);try{const n=(yield At("/apis/logout",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.results)?t:""}},It()}catch(n){s=l({status:n.status||500,message:n.message},gs)}return s}),exports.mSignUpApi=()=>u(null,null,function*(){let e=l({status:200,message:""},is);try{const t=(yield At("/apis/msignup",{render:Vt(),json:1})).data;e.data={upline:t.upline,enableCaptcha:t.captcha,isMobileVerify:1===t.mobile_verify,inputFields:t.objlists.fields.map(e=>{const t={fieldName:e.showname,required:1===e.required,regex:e.regex,minLength:e.minlen?e.minlen:`${e.maxlength}`,maxLength:`${e.maxlength}`,inputHelper:e.help,inputType:e.type};return e.country&&(t.countryMobile=e.country.map(e=>({countryId:e.countryindex,code:`+${e.isd}`,regex:e.mobile_regex,value:`${e.isd}`,minLength:parseInt(e.min,10),maxLength:parseInt(e.max,10)}))[0]),t})}}catch(t){e=l({status:t.status||500,message:t.message},is)}return e}),exports.messageApi=()=>u(null,null,function*(){var e,t,s,n;let a=l({status:200,message:""},Kt);try{const r=(yield At("/apis/msg",{render:Vt(),json:1})).data;a={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",messageList:null!=(n=null==(s=r.results)?void 0:s.map(e=>({id:e.msgindex,status:"1"==e.status,subject:e.subject,date:e.cdate})))?n:[]}}}catch(r){a=l({status:r.status||500,message:r.message},Kt)}return a}),exports.mobileBannerApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ss);try{const n=(yield At("/apis/mobileBanner",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=l({status:n.status||500,message:n.message},ss)}return s}),exports.platformsApi=()=>u(null,null,function*(){var e,t,s;let n=l({status:200,message:""},rs);try{const a=(yield At("/apis/platforms",{render:Vt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",platformList:null!=(s=a.results.map(e=>({productMasterId:e.id_ProductMaster,name:e.name,com:e.com})))?s:[]}}}catch(a){n=l({status:a.status||500,message:a.message},rs)}return n}),exports.profileApi=()=>u(null,null,function*(){var e,t,s,n,a,r,o,u,i,c,d,p,m,g;let f=l({status:200,message:""},as);try{const l=(yield At("/apis/profile",{render:Vt(),json:1})).data;f={status:l.code,message:null!=(e=l.message)?e:"",data:{status:l.status,message:null!=(t=l.message)?t:"",profile:{id:null!=(s=l.results.accountid)?s:0,address:null!=(n=l.results.address)?n:"",city:null!=(a=l.results.city)?a:"",country:null!=(r=l.results.country)?r:"",dob:null!=(o=l.results.dob)?o:"",email:null!=(u=l.results.email)?u:"",fax:null!=(i=l.results.faxno)?i:"",fullName:`${null!=(c=l.results.firstname)?c:""} ${null!=(d=l.results.lastname)?d:""}`.trim(),gender:null!=(p=l.results.gender)?p:"",phone:null!=(m=l.results.mobileno)?m:"",qq:null!=(g=l.results.qq)?g:""}}}}catch(h){f=l({status:h.status||500,message:h.message},as)}return f}),exports.promotionApi=()=>u(null,null,function*(){var e,t;let s=l({status:200,message:""},ps);try{const n=(yield At("/apis/promotion",{render:Vt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",category:n.results.promoCat.map(e=>({id:e.catid,name:e.name})),list:n.results.objList.map(e=>{var t,s,n,a,r;return{promoId:e.promoindex,categoryId:e.catid,imgUrl:null!=(t=e.image)?t:"",content:null!=(s=e.content)?s:"",time:null!=(n=e.display_time)?n:"",name:null!=(a=e.title)?a:"",isLink:null!=(r=e.isLink)&&r}})}}}catch(n){s=l({status:n.status||500,message:n.message},ps)}return s});
|
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -2295,13 +2295,13 @@ const loginApi = (..._0) => __async(null, [..._0], function* (dataObject = {}) {
|
|
|
2295
2295
|
loginInfo: {
|
|
2296
2296
|
username: (_d = (_c = data.results) == null ? void 0 : _c.accountcode) != null ? _d : "",
|
|
2297
2297
|
walletBalance: (_f = (_e = data.results) == null ? void 0 : _e.balance) != null ? _f : "",
|
|
2298
|
-
key: (_h = (_g = data.results) == null ? void 0 : _g.
|
|
2298
|
+
key: (_h = (_g = data.results) == null ? void 0 : _g.access_token) != null ? _h : "",
|
|
2299
2299
|
ip: (_j = (_i = data.results) == null ? void 0 : _i.user_ip) != null ? _j : ""
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
2302
2302
|
};
|
|
2303
|
-
if ((_k = data.results) == null ? void 0 : _k.
|
|
2304
|
-
setLoginKey((_l = data.results) == null ? void 0 : _l.
|
|
2303
|
+
if ((_k = data.results) == null ? void 0 : _k.access_token) {
|
|
2304
|
+
setLoginKey((_l = data.results) == null ? void 0 : _l.access_token);
|
|
2305
2305
|
}
|
|
2306
2306
|
} catch (error) {
|
|
2307
2307
|
const extendedError = error;
|
|
@@ -2962,8 +2962,373 @@ var SettingCategory = /* @__PURE__ */ ((SettingCategory2) => {
|
|
|
2962
2962
|
SettingCategory2["annPopup"] = "annPopup";
|
|
2963
2963
|
return SettingCategory2;
|
|
2964
2964
|
})(SettingCategory || {});
|
|
2965
|
+
const DefaultEventListData = {
|
|
2966
|
+
data: {
|
|
2967
|
+
status: false,
|
|
2968
|
+
message: "",
|
|
2969
|
+
eventList: []
|
|
2970
|
+
}
|
|
2971
|
+
};
|
|
2972
|
+
const eventListApi = () => __async(null, null, function* () {
|
|
2973
|
+
var _a, _b;
|
|
2974
|
+
let result = __spreadValues({
|
|
2975
|
+
status: 200,
|
|
2976
|
+
message: ""
|
|
2977
|
+
}, DefaultEventListData);
|
|
2978
|
+
try {
|
|
2979
|
+
const response = yield get(`/apis/eventlist`, {
|
|
2980
|
+
render: getRender(),
|
|
2981
|
+
json: 1
|
|
2982
|
+
});
|
|
2983
|
+
const data = response.data;
|
|
2984
|
+
result = {
|
|
2985
|
+
status: data.code,
|
|
2986
|
+
message: (_a = data.message) != null ? _a : "",
|
|
2987
|
+
data: {
|
|
2988
|
+
status: data.status,
|
|
2989
|
+
message: (_b = data.message) != null ? _b : "",
|
|
2990
|
+
eventList: data.results.all_event.map((item) => {
|
|
2991
|
+
return {
|
|
2992
|
+
date: item.date,
|
|
2993
|
+
imgUrl: item.img,
|
|
2994
|
+
linkUrl: item.link,
|
|
2995
|
+
title: item.title,
|
|
2996
|
+
content: item.content,
|
|
2997
|
+
isGameActive: item.gameActive,
|
|
2998
|
+
gameUrl: item.url
|
|
2999
|
+
};
|
|
3000
|
+
})
|
|
3001
|
+
}
|
|
3002
|
+
};
|
|
3003
|
+
} catch (error) {
|
|
3004
|
+
const extendedError = error;
|
|
3005
|
+
result = __spreadValues({
|
|
3006
|
+
status: extendedError.status || 500,
|
|
3007
|
+
message: error.message
|
|
3008
|
+
}, DefaultEventListData);
|
|
3009
|
+
}
|
|
3010
|
+
return result;
|
|
3011
|
+
});
|
|
3012
|
+
const DefaultMSignUpData = {
|
|
3013
|
+
data: {
|
|
3014
|
+
upline: "",
|
|
3015
|
+
enableCaptcha: false,
|
|
3016
|
+
isMobileVerify: false,
|
|
3017
|
+
inputFields: []
|
|
3018
|
+
}
|
|
3019
|
+
};
|
|
3020
|
+
const mSignUpApi = () => __async(null, null, function* () {
|
|
3021
|
+
let result = __spreadValues({
|
|
3022
|
+
status: 200,
|
|
3023
|
+
message: ""
|
|
3024
|
+
}, DefaultMSignUpData);
|
|
3025
|
+
try {
|
|
3026
|
+
const response = yield get(`/apis/msignup`, {
|
|
3027
|
+
render: getRender(),
|
|
3028
|
+
json: 1
|
|
3029
|
+
});
|
|
3030
|
+
const data = response.data;
|
|
3031
|
+
result.data = {
|
|
3032
|
+
upline: data.upline,
|
|
3033
|
+
enableCaptcha: data.captcha,
|
|
3034
|
+
isMobileVerify: data.mobile_verify === 1,
|
|
3035
|
+
inputFields: data.objlists.fields.map((field) => {
|
|
3036
|
+
const tempData = {
|
|
3037
|
+
fieldName: field.showname,
|
|
3038
|
+
required: field.required === 1,
|
|
3039
|
+
regex: field.regex,
|
|
3040
|
+
minLength: field.minlen ? field.minlen : `${field.maxlength}`,
|
|
3041
|
+
maxLength: `${field.maxlength}`,
|
|
3042
|
+
inputHelper: field.help,
|
|
3043
|
+
inputType: field.type
|
|
3044
|
+
};
|
|
3045
|
+
if (field.country) {
|
|
3046
|
+
tempData.countryMobile = field.country.map((country) => ({
|
|
3047
|
+
countryId: country.countryindex,
|
|
3048
|
+
code: `+${country.isd}`,
|
|
3049
|
+
regex: country.mobile_regex,
|
|
3050
|
+
value: `${country.isd}`,
|
|
3051
|
+
minLength: parseInt(country.min, 10),
|
|
3052
|
+
maxLength: parseInt(country.max, 10)
|
|
3053
|
+
}))[0];
|
|
3054
|
+
}
|
|
3055
|
+
return tempData;
|
|
3056
|
+
})
|
|
3057
|
+
};
|
|
3058
|
+
} catch (error) {
|
|
3059
|
+
const extendedError = error;
|
|
3060
|
+
result = __spreadValues({
|
|
3061
|
+
status: extendedError.status || 500,
|
|
3062
|
+
message: error.message
|
|
3063
|
+
}, DefaultMSignUpData);
|
|
3064
|
+
}
|
|
3065
|
+
return result;
|
|
3066
|
+
});
|
|
3067
|
+
const DefaultHotGamesData = {
|
|
3068
|
+
data: {
|
|
3069
|
+
status: false,
|
|
3070
|
+
message: "",
|
|
3071
|
+
gameList: { currentPage: 1, lastPage: 1, data: [] }
|
|
3072
|
+
}
|
|
3073
|
+
};
|
|
3074
|
+
const hotGamesApi = () => __async(null, null, function* () {
|
|
3075
|
+
var _a, _b;
|
|
3076
|
+
let result = __spreadValues({
|
|
3077
|
+
status: 200,
|
|
3078
|
+
message: ""
|
|
3079
|
+
}, DefaultHotGamesData);
|
|
3080
|
+
try {
|
|
3081
|
+
const response = yield get(`/apis/hotgames`, {
|
|
3082
|
+
render: getRender(),
|
|
3083
|
+
json: 1
|
|
3084
|
+
});
|
|
3085
|
+
const data = response.data;
|
|
3086
|
+
result = {
|
|
3087
|
+
status: data.code,
|
|
3088
|
+
message: (_a = data.message) != null ? _a : "",
|
|
3089
|
+
data: {
|
|
3090
|
+
status: data.status,
|
|
3091
|
+
message: (_b = data.message) != null ? _b : "",
|
|
3092
|
+
gameList: {
|
|
3093
|
+
currentPage: data.results.current_page,
|
|
3094
|
+
lastPage: data.results.last_page,
|
|
3095
|
+
data: data.results.data.map(
|
|
3096
|
+
(game) => ({
|
|
3097
|
+
gameId: game.game_id,
|
|
3098
|
+
platformId: game.ppid,
|
|
3099
|
+
platformCode: game.code,
|
|
3100
|
+
platformName: game.ppname,
|
|
3101
|
+
name: game.name,
|
|
3102
|
+
imageUrl: game.img,
|
|
3103
|
+
logoUrl: game.imgPf,
|
|
3104
|
+
isFavourite: game.favourite_flag === 1
|
|
3105
|
+
})
|
|
3106
|
+
)
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
3109
|
+
};
|
|
3110
|
+
} catch (error) {
|
|
3111
|
+
const extendedError = error;
|
|
3112
|
+
result = __spreadValues({
|
|
3113
|
+
status: extendedError.status || 500,
|
|
3114
|
+
message: error.message
|
|
3115
|
+
}, DefaultHotGamesData);
|
|
3116
|
+
}
|
|
3117
|
+
return result;
|
|
3118
|
+
});
|
|
3119
|
+
const DefaultFishGamesData = {
|
|
3120
|
+
data: {
|
|
3121
|
+
status: false,
|
|
3122
|
+
message: "",
|
|
3123
|
+
gameList: { currentPage: 1, lastPage: 1, data: [] },
|
|
3124
|
+
hotList: { currentPage: 1, lastPage: 1, data: [] }
|
|
3125
|
+
}
|
|
3126
|
+
};
|
|
3127
|
+
const fishGamesApi = () => __async(null, null, function* () {
|
|
3128
|
+
var _a, _b;
|
|
3129
|
+
let result = __spreadValues({
|
|
3130
|
+
status: 200,
|
|
3131
|
+
message: ""
|
|
3132
|
+
}, DefaultFishGamesData);
|
|
3133
|
+
try {
|
|
3134
|
+
const response = yield get(`/apis/fishgames`, {
|
|
3135
|
+
render: getRender(),
|
|
3136
|
+
json: 1
|
|
3137
|
+
});
|
|
3138
|
+
const data = response.data;
|
|
3139
|
+
result = {
|
|
3140
|
+
status: data.code,
|
|
3141
|
+
message: (_a = data.message) != null ? _a : "",
|
|
3142
|
+
data: {
|
|
3143
|
+
status: data.status,
|
|
3144
|
+
message: (_b = data.message) != null ? _b : "",
|
|
3145
|
+
gameList: {
|
|
3146
|
+
currentPage: 1,
|
|
3147
|
+
lastPage: 1,
|
|
3148
|
+
data: data.results.data.map(
|
|
3149
|
+
(game) => ({
|
|
3150
|
+
gameId: game.game_id,
|
|
3151
|
+
platformId: game.pp_id,
|
|
3152
|
+
platformCode: game.platform_code,
|
|
3153
|
+
platformName: game.pp_name,
|
|
3154
|
+
name: game.name,
|
|
3155
|
+
imageUrl: game.img,
|
|
3156
|
+
logoUrl: game.imgPf,
|
|
3157
|
+
isFavourite: game.favourite_flag === 1
|
|
3158
|
+
})
|
|
3159
|
+
)
|
|
3160
|
+
},
|
|
3161
|
+
hotList: {
|
|
3162
|
+
currentPage: 1,
|
|
3163
|
+
lastPage: 1,
|
|
3164
|
+
data: data.results.hotfish.map(
|
|
3165
|
+
(game) => ({
|
|
3166
|
+
gameId: game.game_id,
|
|
3167
|
+
platformId: game.pp_id,
|
|
3168
|
+
platformCode: game.platform_code,
|
|
3169
|
+
platformName: game.pp_name,
|
|
3170
|
+
name: game.name,
|
|
3171
|
+
imageUrl: game.img,
|
|
3172
|
+
logoUrl: game.imgPf,
|
|
3173
|
+
isFavourite: game.favourite_flag === 1
|
|
3174
|
+
})
|
|
3175
|
+
)
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
};
|
|
3179
|
+
} catch (error) {
|
|
3180
|
+
const extendedError = error;
|
|
3181
|
+
result = __spreadValues({
|
|
3182
|
+
status: extendedError.status || 500,
|
|
3183
|
+
message: error.message
|
|
3184
|
+
}, DefaultFishGamesData);
|
|
3185
|
+
}
|
|
3186
|
+
return result;
|
|
3187
|
+
});
|
|
3188
|
+
const DefaultPromotionData = {
|
|
3189
|
+
data: {
|
|
3190
|
+
status: false,
|
|
3191
|
+
message: "",
|
|
3192
|
+
category: [],
|
|
3193
|
+
list: []
|
|
3194
|
+
}
|
|
3195
|
+
};
|
|
3196
|
+
const promotionApi = () => __async(null, null, function* () {
|
|
3197
|
+
var _a, _b;
|
|
3198
|
+
let result = __spreadValues({
|
|
3199
|
+
status: 200,
|
|
3200
|
+
message: ""
|
|
3201
|
+
}, DefaultPromotionData);
|
|
3202
|
+
try {
|
|
3203
|
+
const response = yield get(`/apis/promotion`, {
|
|
3204
|
+
render: getRender(),
|
|
3205
|
+
json: 1
|
|
3206
|
+
});
|
|
3207
|
+
const data = response.data;
|
|
3208
|
+
result = {
|
|
3209
|
+
status: data.code,
|
|
3210
|
+
message: (_a = data.message) != null ? _a : "",
|
|
3211
|
+
data: {
|
|
3212
|
+
status: data.status,
|
|
3213
|
+
message: (_b = data.message) != null ? _b : "",
|
|
3214
|
+
category: data.results.promoCat.map((cat) => ({
|
|
3215
|
+
id: cat.catid,
|
|
3216
|
+
name: cat.name
|
|
3217
|
+
})),
|
|
3218
|
+
list: data.results.objList.map((promo) => {
|
|
3219
|
+
var _a2, _b2, _c, _d, _e;
|
|
3220
|
+
return {
|
|
3221
|
+
promoId: promo.promoindex,
|
|
3222
|
+
categoryId: promo.catid,
|
|
3223
|
+
imgUrl: (_a2 = promo.image) != null ? _a2 : "",
|
|
3224
|
+
content: (_b2 = promo.content) != null ? _b2 : "",
|
|
3225
|
+
time: (_c = promo.display_time) != null ? _c : "",
|
|
3226
|
+
name: (_d = promo.title) != null ? _d : "",
|
|
3227
|
+
isLink: (_e = promo.isLink) != null ? _e : false
|
|
3228
|
+
};
|
|
3229
|
+
})
|
|
3230
|
+
}
|
|
3231
|
+
};
|
|
3232
|
+
} catch (error) {
|
|
3233
|
+
const extendedError = error;
|
|
3234
|
+
result = __spreadValues({
|
|
3235
|
+
status: extendedError.status || 500,
|
|
3236
|
+
message: error.message
|
|
3237
|
+
}, DefaultPromotionData);
|
|
3238
|
+
}
|
|
3239
|
+
return result;
|
|
3240
|
+
});
|
|
3241
|
+
const DefaultAgentRegisterData = {
|
|
3242
|
+
data: {
|
|
3243
|
+
upline: "",
|
|
3244
|
+
enabled: false,
|
|
3245
|
+
captcha: false,
|
|
3246
|
+
form: [],
|
|
3247
|
+
bankList: []
|
|
3248
|
+
}
|
|
3249
|
+
};
|
|
3250
|
+
const agentRegisterApi = () => __async(null, null, function* () {
|
|
3251
|
+
var _a, _b;
|
|
3252
|
+
let result = __spreadValues({
|
|
3253
|
+
status: 200,
|
|
3254
|
+
message: ""
|
|
3255
|
+
}, DefaultAgentRegisterData);
|
|
3256
|
+
try {
|
|
3257
|
+
const response = yield get(`/apis/agent-register`, {
|
|
3258
|
+
render: getRender(),
|
|
3259
|
+
json: 1
|
|
3260
|
+
});
|
|
3261
|
+
const data = response.data;
|
|
3262
|
+
result.data = {
|
|
3263
|
+
upline: data.upline,
|
|
3264
|
+
enabled: data.agReg_enable,
|
|
3265
|
+
captcha: data.captcha,
|
|
3266
|
+
form: (_a = data.objlists.fields.map((field) => {
|
|
3267
|
+
var _a2;
|
|
3268
|
+
return {
|
|
3269
|
+
fieldName: field.showname,
|
|
3270
|
+
required: field.required === 1,
|
|
3271
|
+
regex: field.regex,
|
|
3272
|
+
maxLength: field.maxlength,
|
|
3273
|
+
inputHelper: (_a2 = field.help) != null ? _a2 : ""
|
|
3274
|
+
};
|
|
3275
|
+
})) != null ? _a : [],
|
|
3276
|
+
bankList: (_b = data.banklist.map((bank) => {
|
|
3277
|
+
return {
|
|
3278
|
+
bankId: bank.bankindex,
|
|
3279
|
+
bankName: bank.bankname,
|
|
3280
|
+
bankCode: bank.swiftcode
|
|
3281
|
+
};
|
|
3282
|
+
})) != null ? _b : []
|
|
3283
|
+
};
|
|
3284
|
+
} catch (error) {
|
|
3285
|
+
const extendedError = error;
|
|
3286
|
+
result = __spreadValues({
|
|
3287
|
+
status: extendedError.status || 500,
|
|
3288
|
+
message: error.message
|
|
3289
|
+
}, DefaultAgentRegisterData);
|
|
3290
|
+
}
|
|
3291
|
+
return result;
|
|
3292
|
+
});
|
|
3293
|
+
const DefaultLogoutData = {
|
|
3294
|
+
data: {
|
|
3295
|
+
status: false,
|
|
3296
|
+
message: ""
|
|
3297
|
+
}
|
|
3298
|
+
};
|
|
3299
|
+
const logoutApi = () => __async(null, null, function* () {
|
|
3300
|
+
var _a, _b;
|
|
3301
|
+
let result = __spreadValues({
|
|
3302
|
+
status: 200,
|
|
3303
|
+
message: ""
|
|
3304
|
+
}, DefaultLogoutData);
|
|
3305
|
+
try {
|
|
3306
|
+
const response = yield get(`/apis/logout`, {
|
|
3307
|
+
render: getRender(),
|
|
3308
|
+
json: 1
|
|
3309
|
+
});
|
|
3310
|
+
const data = response.data;
|
|
3311
|
+
result = {
|
|
3312
|
+
status: data.code,
|
|
3313
|
+
message: (_a = data.message) != null ? _a : "",
|
|
3314
|
+
data: {
|
|
3315
|
+
status: data.status,
|
|
3316
|
+
message: (_b = data.results) != null ? _b : ""
|
|
3317
|
+
}
|
|
3318
|
+
};
|
|
3319
|
+
removeLoginKey();
|
|
3320
|
+
} catch (error) {
|
|
3321
|
+
const extendedError = error;
|
|
3322
|
+
result = __spreadValues({
|
|
3323
|
+
status: extendedError.status || 500,
|
|
3324
|
+
message: error.message
|
|
3325
|
+
}, DefaultLogoutData);
|
|
3326
|
+
}
|
|
3327
|
+
return result;
|
|
3328
|
+
});
|
|
2965
3329
|
export {
|
|
2966
3330
|
SettingCategory,
|
|
3331
|
+
agentRegisterApi,
|
|
2967
3332
|
announcementApi,
|
|
2968
3333
|
api,
|
|
2969
3334
|
cashWalletGetApi,
|
|
@@ -2971,15 +3336,21 @@ export {
|
|
|
2971
3336
|
cashWalletGetWalletApi,
|
|
2972
3337
|
cashWalletTransferApi,
|
|
2973
3338
|
cmsListApi,
|
|
3339
|
+
eventListApi,
|
|
3340
|
+
fishGamesApi,
|
|
2974
3341
|
footerInfoApi,
|
|
2975
3342
|
getJackpotTotalApi,
|
|
2976
3343
|
getLocaleApi,
|
|
2977
3344
|
getMessageApi,
|
|
2978
3345
|
getSettingApi,
|
|
2979
3346
|
getWinnerListApi,
|
|
3347
|
+
hotGamesApi,
|
|
2980
3348
|
loginApi,
|
|
3349
|
+
logoutApi,
|
|
3350
|
+
mSignUpApi,
|
|
2981
3351
|
messageApi,
|
|
2982
3352
|
mobileBannerApi,
|
|
2983
3353
|
platformsApi,
|
|
2984
|
-
profileApi
|
|
3354
|
+
profileApi,
|
|
3355
|
+
promotionApi
|
|
2985
3356
|
};
|
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("crypto-js")):"function"==typeof define&&define.amd?define(["exports","crypto-js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["50p82u21t54k"]={},e.CryptoJS)}(this,function(e,t){"use strict";var s=Object.defineProperty,n=Object.defineProperties,r=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var s in t||(t={}))o.call(t,s)&&u(e,s,t[s]);if(a)for(var s of a(t))l.call(t,s)&&u(e,s,t[s]);return e},i=(e,t,s)=>new Promise((n,r)=>{var a=e=>{try{l(s.next(e))}catch(t){r(t)}},o=e=>{try{l(s.throw(e))}catch(t){r(t)}},l=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,o);l((s=s.apply(e,t)).next())}),d="undefined"!=typeof document?document.currentScript:null;function p(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}const f="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const m=()=>{},g=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),h=Object.assign,_=Object.prototype.hasOwnProperty,v=(e,t)=>_.call(e,t),y=Array.isArray,b=e=>"[object Map]"===k(e),E=e=>"function"==typeof e,N=e=>"string"==typeof e,w=e=>"symbol"==typeof e,O=e=>null!==e&&"object"==typeof e,S=Object.prototype.toString,k=e=>S.call(e),C=e=>k(e).slice(8,-1),j=e=>N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,V=(()=>{const e=Object.create(null);return t=>e[t]||(e[t]=(e=>e.charAt(0).toUpperCase()+e.slice(1))(t))})(),x=(e,t)=>!Object.is(e,t);let R;const T=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function I(e){if(y(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=N(n)?P(n):I(n);if(r)for(const e in r)t[e]=r[e]}return t}if(N(e)||O(e))return e}const D=/;(?![^(]*\))/g,A=/:([^]+)/,L=/\/\*[^]*?\*\//g;function P(e){const t={};return e.replace(L,"").split(D).forEach(e=>{if(e){const s=e.split(A);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function M(e){let t="";if(N(e))t=e;else if(y(e))for(let s=0;s<e.length;s++){const n=M(e[s]);n&&(t+=n+" ")}else if(O(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}let $,F=0;function H(){F++}function B(){if(--F>0)return;let e;for(;$;){let s=$;for($=void 0;s;){const n=s.next;if(s.next=void 0,s.flags&=-9,1&s.flags)try{s.trigger()}catch(t){e||(e=t)}s=n}}if(e)throw e}class U{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){}trigger(e){this.version++,this.notify(e)}notify(e){H();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(h({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{B()}}}const W=new WeakMap,q=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),J=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),z=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function K(e,t,s,n,r,a){const o=W.get(e);if(!o)return;const l=o=>{o&&("production"!==process.env.NODE_ENV?o.trigger({target:e,type:t,key:s,newValue:n,oldValue:r,oldTarget:a}):o.trigger())};if(H(),"clear"===t)o.forEach(l);else{const r=y(e),a=r&&j(s);if(r&&"length"===s){const e=Number(n);o.forEach((t,s)=>{("length"===s||s===z||!w(s)&&s>=e)&&l(t)})}else switch((void 0!==s||o.has(void 0))&&l(o.get(s)),a&&l(o.get(z)),t){case"add":r?a&&l(o.get("length")):(l(o.get(q)),b(e)&&l(o.get(J)));break;case"delete":r||(l(o.get(q)),b(e)&&l(o.get(J)));break;case"set":b(e)&&l(o.get(q))}}B()}function G(e){const t=xe(e);return t===e||je(e)?t:t.map(Re)}function X(e){return xe(e)}const Q={__proto__:null,[Symbol.iterator](){return Y(this,Symbol.iterator,Re)},concat(...e){return G(this).concat(...e.map(e=>y(e)?G(e):e))},entries(){return Y(this,"entries",e=>(e[1]=Re(e[1]),e))},every(e,t){return ee(this,"every",e,t,void 0,arguments)},filter(e,t){return ee(this,"filter",e,t,e=>e.map(Re),arguments)},find(e,t){return ee(this,"find",e,t,Re,arguments)},findIndex(e,t){return ee(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ee(this,"findLast",e,t,Re,arguments)},findLastIndex(e,t){return ee(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ee(this,"forEach",e,t,void 0,arguments)},includes(...e){return se(this,"includes",e)},indexOf(...e){return se(this,"indexOf",e)},join(e){return G(this).join(e)},lastIndexOf(...e){return se(this,"lastIndexOf",e)},map(e,t){return ee(this,"map",e,t,void 0,arguments)},pop(){return ne(this,"pop")},push(...e){return ne(this,"push",e)},reduce(e,...t){return te(this,"reduce",e,t)},reduceRight(e,...t){return te(this,"reduceRight",e,t)},shift(){return ne(this,"shift")},some(e,t){return ee(this,"some",e,t,void 0,arguments)},splice(...e){return ne(this,"splice",e)},toReversed(){return G(this).toReversed()},toSorted(e){return G(this).toSorted(e)},toSpliced(...e){return G(this).toSpliced(...e)},unshift(...e){return ne(this,"unshift",e)},values(){return Y(this,"values",Re)}};function Y(e,t,s){const n=X(e),r=n[t]();return n===e||je(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.done||(e.value=s(e.value)),e}),r}const Z=Array.prototype;function ee(e,t,s,n,r,a){const o=X(e),l=o!==e&&!je(e),u=o[t];if(u!==Z[t]){const t=u.apply(e,a);return l?Re(t):t}let c=s;o!==e&&(l?c=function(t,n){return s.call(this,Re(t),n,e)}:s.length>2&&(c=function(t,n){return s.call(this,t,n,e)}));const i=u.call(o,c,n);return l&&r?r(i):i}function te(e,t,s,n){const r=X(e);let a=s;return r!==e&&(je(e)?s.length>3&&(a=function(t,n,r){return s.call(this,t,n,r,e)}):a=function(t,n,r){return s.call(this,t,Re(n),r,e)}),r[t](a,...n)}function se(e,t,s){const n=xe(e),r=n[t](...s);return-1!==r&&!1!==r||!Ve(s[0])?r:(s[0]=xe(s[0]),n[t](...s))}function ne(e,t,s=[]){H();const n=xe(e)[t].apply(e,s);return B(),n}const re=p("__proto__,__v_isRef,__isVue"),ae=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(w));function oe(e){return w(e)||(e=String(e)),xe(this).hasOwnProperty(e)}class le{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,s){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return r;if("__v_raw"===t)return s===(n?r?Ne:Ee:r?be:ye).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const a=y(e);if(!n){let e;if(a&&(e=Q[t]))return e;if("hasOwnProperty"===t)return oe}const o=Reflect.get(e,t,Ie(e)?e:s);if(w(t)?ae.has(t):re(t))return o;if(r)return o;if(Ie(o)){const e=a&&j(t)?o:o.value;return n&&O(e)?Oe(e):e}return O(o)?n?Oe(o):we(o):o}}class ue extends le{constructor(e=!1){super(!1,e)}set(e,t,s,n){let r=e[t];if(!this._isShallow){const n=Ce(r);if(je(s)||Ce(s)||(r=xe(r),s=xe(s)),!y(e)&&Ie(r)&&!Ie(s))return n?("production"!==process.env.NODE_ENV&&(String(t),e[t]),!0):(r.value=s,!0)}const a=y(e)&&j(t)?Number(t)<e.length:v(e,t),o=Reflect.set(e,t,s,Ie(e)?e:n);return e===xe(n)&&(a?x(s,r)&&K(e,"set",t,s,r):K(e,"add",t,s)),o}deleteProperty(e,t){const s=v(e,t),n=e[t],r=Reflect.deleteProperty(e,t);return r&&s&&K(e,"delete",t,void 0,n),r}has(e,t){const s=Reflect.has(e,t);return!w(t)||ae.has(t),s}ownKeys(e){return Reflect.ownKeys(e)}}class ce extends le{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}}const ie=new ue,de=new ce,pe=e=>e,fe=e=>Reflect.getPrototypeOf(e);function me(e){return function(...t){return"production"!==process.env.NODE_ENV&&(t[0]&&t[0],V(e),xe(this)),"delete"!==e&&("clear"===e?void 0:this)}}function ge(e,t){const s=function(e,t){const s={get(s){const n=this.__v_raw,r=xe(n),a=xe(s),{has:o}=fe(r),l=t?pe:e?Te:Re;return o.call(r,s)?l(n.get(s)):o.call(r,a)?l(n.get(a)):void(n!==r&&n.get(s))},get size(){const t=this.__v_raw;return!e&&xe(t),t.size},has(e){const t=this.__v_raw;xe(t);const s=xe(e);return e===s?t.has(e):t.has(e)||t.has(s)},forEach(s,n){const r=this,a=r.__v_raw;xe(a);const o=t?pe:e?Te:Re;return a.forEach((e,t)=>s.call(n,o(e),o(t),r))}};return h(s,e?{add:me("add"),set:me("set"),delete:me("delete"),clear:me("clear")}:{add(e){t||je(e)||Ce(e)||(e=xe(e));const s=xe(this);return fe(s).has.call(s,e)||(s.add(e),K(s,"add",e,e)),this},set(e,s){t||je(s)||Ce(s)||(s=xe(s));const n=xe(this),{has:r,get:a}=fe(n);let o=r.call(n,e);o?"production"!==process.env.NODE_ENV&&ve(n,r,e):(e=xe(e),o=r.call(n,e));const l=a.call(n,e);return n.set(e,s),o?x(s,l)&&K(n,"set",e,s,l):K(n,"add",e,s),this},delete(e){const t=xe(this),{has:s,get:n}=fe(t);let r=s.call(t,e);r?"production"!==process.env.NODE_ENV&&ve(t,s,e):(e=xe(e),r=s.call(t,e));const a=n?n.call(t,e):void 0,o=t.delete(e);return r&&K(t,"delete",e,void 0,a),o},clear(){const e=xe(this),t=0!==e.size,s="production"!==process.env.NODE_ENV?b(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&K(e,"clear",void 0,void 0,s),n}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=function(e,t,s){return function(...n){const r=this.__v_raw,a=xe(r),o=b(a),l="entries"===e||e===Symbol.iterator&&o,u=r[e](...n),c=s?pe:t?Te:Re;return{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),s}(e,t);return(t,n,r)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(v(s,n)&&n in t?s:t,n,r)}const he={get:ge(!1,!1)},_e={get:ge(!0,!1)};function ve(e,t,s){const n=xe(s);n!==s&&t.call(e,n)&&C(e)}const ye=new WeakMap,be=new WeakMap,Ee=new WeakMap,Ne=new WeakMap;function we(e){return Ce(e)?e:Se(e,!1,ie,he,ye)}function Oe(e){return Se(e,!0,de,_e,Ee)}function Se(e,t,s,n,r){if(!O(e))return"production"!==process.env.NODE_ENV&&String(e),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(o));var o;if(0===a)return e;const l=r.get(e);if(l)return l;const u=new Proxy(e,2===a?n:s);return r.set(e,u),u}function ke(e){return Ce(e)?ke(e.__v_raw):!(!e||!e.__v_isReactive)}function Ce(e){return!(!e||!e.__v_isReadonly)}function je(e){return!(!e||!e.__v_isShallow)}function Ve(e){return!!e&&!!e.__v_raw}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}const Re=e=>O(e)?we(e):e,Te=e=>O(e)?Oe(e):e;function Ie(e){return!!e&&!0===e.__v_isRef}function De(e){return Ie(t=e)?t:new Ae(t,!1);var t}class Ae{constructor(e,t){this.dep=new U,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:xe(e),this._value=t?e:Re(e),this.__v_isShallow=t}get value(){return"production"!==process.env.NODE_ENV?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const t=this._rawValue,s=this.__v_isShallow||je(e)||Ce(e);e=s?e:xe(e),x(e,t)&&(this._rawValue=e,this._value=s?e:Re(e),"production"!==process.env.NODE_ENV?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}):this.dep.trigger())}}const Le=[];let Pe=!1;function Me(e,...t){if(Pe)return;Pe=!0;const s=Le.length?Le[Le.length-1].component:null,n=s&&s.appContext.config.warnHandler,r=function(){let e=Le[Le.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)Be(n,s,11,[e+t.map(e=>{var t,s;return null!=(s=null==(t=e.toString)?void 0:t.call(e))?s:JSON.stringify(e)}).join(""),s&&s.proxy,r.map(({vnode:e})=>`at <${kt(s,e.type)}>`).join("\n"),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push("\n",...function(e){const t=[];return e.forEach((e,s)=>{t.push(...0===s?[]:["\n"],...function({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,r=` at <${kt(e.component,e.type,n)}`,a=">"+s;return e.props?[r,...$e(e.props),a]:[r+a]}(e))}),t}(r))}Pe=!1}function $e(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(s=>{t.push(...Fe(s,e[s]))}),s.length>3&&t.push(" ..."),t}function Fe(e,t,s){return N(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?s?t:[`${e}=${t}`]:Ie(t)?(t=Fe(e,xe(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=xe(t),s?t:[`${e}=`,t])}const He={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Be(e,t,s,n){try{return n?e(...n):e()}catch(r){Ue(r,t,s)}}function Ue(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||f;if(t){let n=t.parent;const r=t.proxy,o="production"!==process.env.NODE_ENV?He[s]:`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let s=0;s<t.length;s++)if(!1===t[s](e,r,o))return;n=n.parent}if(a)return void Be(a,null,10,[e,r,o])}!function(e,t,s,n=!0,r=!1){if("production"!==process.env.NODE_ENV){const r=He[t];if(s&&(a=s,Le.push(a)),Me("Unhandled error"+(r?` during execution of ${r}`:"")),s&&Le.pop(),n)throw e}else if(r)throw e;var a}(e,s,r,n,o)}const We=[];let qe=-1;const Je=[];let ze=null,Ke=0;const Ge=Promise.resolve();let Xe=null;function Qe(e){if(!(1&e.flags)){const t=Ze(e),s=We[We.length-1];!s||!(2&e.flags)&&t>=Ze(s)?We.push(e):We.splice(function(e){let t=qe+1,s=We.length;for(;t<s;){const n=t+s>>>1,r=We[n],a=Ze(r);a<e||a===e&&2&r.flags?t=n+1:s=n}return t}(t),0,e),e.flags|=1,Ye()}}function Ye(){Xe||(Xe=Ge.then(et))}const Ze=e=>null==e.id?2&e.flags?-1:1/0:e.id;function et(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>tt(e,t):m;try{for(qe=0;qe<We.length;qe++){const e=We[qe];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),Be(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;qe<We.length;qe++){const e=We[qe];e&&(e.flags&=-2)}qe=-1,We.length=0,function(e){if(Je.length){const t=[...new Set(Je)].sort((e,t)=>Ze(e)-Ze(t));if(Je.length=0,ze)return void ze.push(...t);for(ze=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Ke=0;Ke<ze.length;Ke++){const t=ze[Ke];"production"!==process.env.NODE_ENV&&tt(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}ze=null,Ke=0}}(e),Xe=null,(We.length||Je.length)&&et(e)}}function tt(e,t){const s=e.get(t)||0;if(s>100){const e=t.i,s=e&&St(e.type);return Ue(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,s+1),!1}const st=new Map;"production"!==process.env.NODE_ENV&&(T().__VUE_HMR_RUNTIME__={createRecord:ot(function(e,t){return!nt.has(e)&&(nt.set(e,{initialDef:rt(t),instances:new Set}),!0)}),rerender:ot(function(e,t){const s=nt.get(e);s&&(s.initialDef.render=t,[...s.instances].forEach(e=>{t&&(e.render=t,rt(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()}))}),reload:ot(function(e,t){const s=nt.get(e);if(!s)return;t=rt(t),at(s.initialDef,t);const n=[...s.instances];for(let a=0;a<n.length;a++){const e=n[a],r=rt(e.type);let o=st.get(r);o||(r!==s.initialDef&&at(r,t),st.set(r,o=new Set)),o.add(e),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(o.add(e),e.ceReload(t.styles),o.delete(e)):e.parent?Qe(()=>{8&e.job.flags||(e.parent.update(),o.delete(e))}):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window&&window.location.reload(),e.root.ce&&e!==e.root&&e.root.ce._removeChildStyle(r)}var r;y(r=()=>{st.clear()})?Je.push(...r):ze&&-1===r.id?ze.splice(Ke+1,0,r):1&r.flags||(Je.push(r),r.flags|=1),Ye()})});const nt=new Map;function rt(e){return Ct(e)?e.__vccOpts:e}function at(e,t){h(e,t);for(const s in e)"__file"===s||s in t||delete e[s]}function ot(e){return(t,s)=>{try{return e(t,s)}catch(n){}}}let lt=null;function ut(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ut(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}T().requestIdleCallback,T().cancelIdleCallback;const ct=Symbol.for("v-ndc");process.env.NODE_ENV;const it={},dt=e=>Object.getPrototypeOf(e)===it,pt=Symbol.for("v-fgt"),ft=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),gt=({key:e})=>null!=e?e:null,ht=({ref:e,ref_key:t,ref_for:s})=>("number"==typeof e&&(e=""+e),null!=e?N(e)||Ie(e)||E(e)?{i:lt,r:e,k:t,f:!!s}:e:null),_t="production"!==process.env.NODE_ENV?(...e)=>vt(...e):vt;function vt(e,t=null,s=null,n=0,r=null,a=!1){if(e&&e!==ct||("production"===process.env.NODE_ENV||e||Me(`Invalid vnode type when creating vnode: ${e}.`),e=mt),(o=e)&&!0===o.__v_isVNode){const n=yt(e,t,!0);return s&&Nt(n,s),n.patchFlag=-2,n}var o;if(Ct(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ve(e)||dt(e)?h({},e):e:null}(t);let{class:e,style:s}=t;e&&!N(e)&&(t.class=M(e)),O(s)&&(Ve(s)&&!y(s)&&(s=h({},s)),t.style=I(s))}const l=N(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:O(e)?4:E(e)?2:0;return"production"!==process.env.NODE_ENV&&4&l&&Ve(e)&&Me("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=xe(e)),function(e,t=null,s=null,n=0,r=null,a=(e===pt?0:1),o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&>(t),ref:t&&ht(t),scopeId:null,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:lt};return l?(Nt(u,s),128&a&&e.normalize(u)):s&&(u.shapeFlag|=N(s)?8:16),"production"!==process.env.NODE_ENV&&u.key!=u.key&&Me("VNode created with invalid key (NaN). VNode type:",u.type),u}(e,t,s,n,r,l,a,!0)}function yt(e,t,s=!1,n=!1){const{props:r,ref:a,patchFlag:o,children:l,transition:u}=e,c=t?function(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=M([t.class,n.class]));else if("style"===e)t.style=I([t.style,n.style]);else if(g(e)){const s=t[e],r=n[e];!r||s===r||y(s)&&s.includes(r)||(t[e]=s?[].concat(s,r):r)}else""!==e&&(t[e]=n[e])}return t}(r||{},t):r,i={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&>(c),ref:t&&t.ref?s&&a?y(a)?a.concat(ht(t)):[a,ht(t)]:ht(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===o&&y(l)?l.map(bt):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pt?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&ut(i,u.clone(i)),i}function bt(e){const t=yt(e);return y(e.children)&&(t.children=e.children.map(bt)),t}function Et(e=" ",t=0){return _t(ft,null,e,t)}function Nt(e,t){let s=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(y(t))s=16;else if("object"==typeof t){if(65&n){const s=t.default;return void(s&&(s._c&&(s._d=!1),Nt(e,s()),s._c&&(s._d=!0)))}s=32,t._||dt(t)||(t._ctx=lt)}else E(t)?(t={default:t,_ctx:lt},s=32):(t=String(t),64&n?(s=16,t=[Et(t)]):s=8);e.children=t,e.shapeFlag|=s}{const e=T(),t=(t,s)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(s),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}process.env.NODE_ENV;const wt=/(?:^|[-_])\w/g,Ot=e=>e.replace(wt,e=>e.toUpperCase()).replace(/[-_]/g,"");function St(e,t=!0){return E(e)?e.displayName||e.name:e.name||t&&e.__name}function kt(e,t,s=!1){let n=St(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const s=e=>{for(const s in e)if(e[s]===t)return s};n=s(e.components||e.parent.type.components)||s(e.appContext.components)}return n?Ot(n):s?"App":"Anonymous"}function Ct(e){return E(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,"production"!==process.env.NODE_ENV&&function(){if("production"===process.env.NODE_ENV||"undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},s={style:"color:#f5222d"},n={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(t){if(!O(t))return null;if(t.__isVue)return["div",e,"VueInstance"];if(Ie(t)){const n=t.value;return["div",{},["span",e,(s=t,je(s)?"ShallowRef":s.effect?"ComputedRef":"Ref")],"<",l(n),">"]}var s;return ke(t)?["div",{},["span",e,je(t)?"ShallowReactive":"Reactive"],"<",l(t),">"+(Ce(t)?" (readonly)":"")]:Ce(t)?["div",{},["span",e,je(t)?"ShallowReadonly":"Readonly"],"<",l(t),">"]:null},hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...a(e.$)]}};function a(e){const t=[];e.type.props&&e.props&&t.push(o("props",xe(e.props))),e.setupState!==f&&t.push(o("setup",e.setupState)),e.data!==f&&t.push(o("data",xe(e.data)));const s=u(e,"computed");s&&t.push(o("computed",s));const r=u(e,"inject");return r&&t.push(o("injected",r)),t.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function o(e,t){return t=h({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map(e=>["div",{},["span",n,e+": "],l(t[e],!1)])]]:["span",{}]}function l(e,r=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",s,JSON.stringify(e)]:"boolean"==typeof e?["span",n,e]:O(e)?["object",{object:r?xe(e):e}]:["span",s,String(e)]}function u(e,t){const s=e.type;if(E(s))return;const n={};for(const r in e.ctx)c(s,r,t)&&(n[r]=e.ctx[r]);return n}function c(e,t,s){const n=e[s];return!!(y(n)&&n.includes(t)||O(n)&&t in n)||!(!e.extends||!c(e.extends,t,s))||!(!e.mixins||!e.mixins.some(e=>c(e,t,s)))||void 0}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}();const jt=De("");De("");const Vt=e=>{try{const s=JSON.parse(t.AES.decrypt(e,jt.value,{format:{stringify:e=>{const s={ct:e.ciphertext.toString(t.enc.Base64)};return e.iv&&(s.iv=e.iv.toString()),e.salt&&(s.s=e.salt.toString()),JSON.stringify(s)},parse:e=>{const s=JSON.parse(e),n=t.lib.CipherParams.create({ciphertext:t.enc.Base64.parse(s.ct)});return s.iv&&(n.iv=t.enc.Hex.parse(s.iv)),s.s&&(n.salt=t.enc.Hex.parse(s.s)),n}}}).toString(t.enc.Utf8));return""!==s?JSON.parse(s):s}catch(s){return""}},xt=e=>new URLSearchParams(Object.entries(e).map(([e,t])=>[e,String(t)]));function Rt(){return""===jt.value?0:1}const Tt=()=>{var e;return Dt(null!=(e=localStorage.getItem("access_token"))?e:"")},It=()=>{localStorage.removeItem("access_token")},Dt=e=>{if(""==e)return"";const t=atob(e),s=new Uint8Array([...t].map(e=>e.charCodeAt(0)));return(new TextDecoder).decode(s)},At=(e,t=null)=>i(null,null,function*(){let s=e;t&&(s=`${s}?${xt(t)}`),"undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:d&&"SCRIPT"===d.tagName.toUpperCase()&&d.src||new URL("50p82u21t54k.umd.js",document.baseURI).href;const n=yield Pt(s,{method:"GET",headers:Mt(),credentials:"include"});if(!n.ok){const e=yield Ht(n);return Promise.reject(e)}const r=yield Rt()?Vt(n):Ft(n);return 401==n.status&&It(),{data:r,status:n.status,msg:n.statusText,headers:n.headers,ok:n.ok}}),Lt=(e,t,s=null)=>i(null,null,function*(){let n=e;s&&(n=`${n}?${xt(s)}`);const r=yield Pt(n,{method:"POST",headers:Mt(),body:JSON.stringify(t),credentials:"include"});if(401==r.status&&It(),!r.ok){const e=yield Ht(r);return Promise.reject(e)}const a=yield Rt()?Vt(r):Ft(r);if(!a)return{data:{},status:r.status,msg:r.statusText,headers:r.headers,ok:r.ok};const o=(Array.isArray(null==a?void 0:a.responses)?a.responses.filter(e=>null==e?void 0:e.attributes):[])[0];return{data:o?JSON.parse((e=>{try{return atob(e)}catch(t){return""}})(o.attributes)):a,status:r.status,msg:r.statusText,headers:r.headers,ok:r.ok}}),Pt=(e,t,s=29e3)=>i(null,null,function*(){const a=new AbortController,o=setTimeout(()=>a.abort(),s);try{return yield fetch(e,(l=c({},t),u={signal:a.signal},n(l,r(u))))}finally{clearTimeout(o)}var l,u}),Mt=()=>{const e=localStorage.getItem("token"),t=$t("XSRF-TOKEN");return c({"Content-Type":"application/json","X-XSRF-TOKEN":t},e?{Authorization:`Bearer ${e}`}:{})},$t=e=>{const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?decodeURIComponent(t[2]):""},Ft=e=>i(null,null,function*(){try{return 204===e.status||"0"===e.headers.get("content-length")?null:yield e.json()}catch(t){return null}}),Ht=e=>i(null,null,function*(){const t=yield Ft(e),s={status:e.status,message:(null==t?void 0:t.message)||e.statusText||"An error occurred"};return 401===e.status||404===e.status||e.status,s}),Bt=Object.freeze(Object.defineProperty({__proto__:null,get:At,post:Lt},Symbol.toStringTag,{value:"Module"})),Ut={data:{status:!1,message:"",localeList:[]}},Wt={data:{status:!1,message:"",mobileBanner:[]}},qt={data:{status:!1,message:"",loginInfo:{username:"",walletBalance:"",key:"",ip:""}}},Jt={data:{status:!1,message:"",winnerList:[]}},zt={data:{status:!1,message:"",announcementList:[]}},Kt={data:0},Gt={data:{status:!1,message:"",messageList:[]}},Xt={data:{status:!1,message:"",messageContent:{id:0,status:!1,subject:"",content:"",date:""}}},Qt={data:{comList:[],comCategory:[],comRequestList:[],comRequestMList:[],comRequestCList:[]}},Yt=(e,t,s,n,r)=>{var a;return null!=(a=t[r].map(t=>{var r,a;const o=e[t]||t,l=null!=(a=s[t]?s[t]:null==(r=n[t])?void 0:r.n)?a:t,u=n[o];return{com:t,name:l,isTransferBefore:1===(null==u?void 0:u.c),isMaintenance:1===(null==u?void 0:u.m)}}))?a:[]},Zt=(e,t="")=>{const s=[];let n=[];return e.map((r,a)=>{(""==t?r.isTransferBefore&&!r.isMaintenance:"m"==t?r.isMaintenance:r.isTransferBefore)&&(5==n.length?(s.push({list:n}),n=[],n.push(r.com)):n.push(r.com)),a==e.length-1&&(s.push({list:n}),n=[])}),null!=s?s:[]},es={data:0},ts={data:{com:"",amount:"0"}},ss={data:{status:!1,message:""}},ns={data:{status:!1,message:"",mobileBanner:[]}},rs={data:{status:!1,message:"",footerInfo:[]}},as={data:{status:!1,message:"",profile:{id:0,address:"",city:"",country:"",dob:"",email:"",fax:"",fullName:"",gender:"",phone:"",qq:""}}},os={data:{status:!1,message:"",platformList:[]}},ls={data:{status:!1,message:"",settings:{}}};var us=(e=>(e.liveChat="livechat",e.mobileColorTheme="MOBILE_COLOR_THEME",e.mDevice="M_DEVICE",e.festiveEvent="FESTIVE_EVENT",e.popAdNoShow="POP_AD_NO_SHOW",e.cmsNoShow="CMS_NO_SHOW",e.annPopup="annPopup",e))(us||{});e.SettingCategory=us,e.announcementApi=()=>i(null,null,function*(){var e,t;let s=c({status:200,message:""},zt);try{const n=(yield At("/apis/announcements",{render:Rt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",announcementList:n.results.data.map(e=>({alert:"1"==e.announcement_alert,show:"1"==e.announcement_show,status:"1"==e.announcement_status,announcementId:e.announcement_index,content:e.announcement_content,dateCreated:e.announcement_datecreated}))}}}catch(n){s=c({status:n.status||500,message:n.message},zt)}return s}),e.api=Bt,e.cashWalletGetApi=()=>i(null,null,function*(){var e,t,s,n,r;let a=c({status:200,message:""},Qt);try{const c={};c.access_token=Tt();const d=(yield Lt("/Cashwallet/get",c,{render:Rt(),json:1})).data,p=null!=(o=d.basecom,l=d.com_kind,u=d.comname,i=d.data,e=d.kind.flatMap(e=>{const t=e[0];return Yt(o,l,u,i,t)}))?e:[],f=null!=(t=((e,t,s,n,r)=>r.map(r=>{var a;const o=r[0];return{id:r[0],label:null!=(a=r[1])?a:"",comList:Yt(e,t,s,n,o)}}))(d.basecom,d.com_kind,d.comname,d.data,d.kind))?t:[];a.data={comList:p,comCategory:f,comRequestList:null!=(s=Zt(p))?s:[],comRequestMList:null!=(n=Zt(p,"m"))?n:[],comRequestCList:null!=(r=Zt(p,"c"))?r:[]}}catch(d){a=c({status:d.status||500,message:d.message},Qt)}var o,l,u,i;return a}),e.cashWalletGetLastApi=()=>i(null,null,function*(){let e=c({status:200,message:""},es);try{const t={};t.access_token=Tt();const s=(yield Lt("/Cashwallet/get/last",t,{render:Rt(),json:1})).data;e.data=s.status?s.last:0}catch(t){e=c({status:t.status||500,message:t.message},es)}return e}),e.cashWalletGetWalletApi=e=>i(null,null,function*(){let t=c({status:200,message:""},ts);try{const s={};s.access_token=Tt();const n=(yield Lt(`/Cashwallet/get/${e}`,s,{render:Rt(),json:1})).data;t.data={com:e,amount:n.status?n.com_wallet:"0"}}catch(s){t=c({status:s.status||500,message:s.message},ts)}return t}),e.cashWalletTransferApi=(...e)=>i(null,[...e],function*(e={}){var t;let s=c({status:200,message:""},ss);try{e.access_token=Tt();const n=(yield Lt("/Cashwallet/wallet/transfer",e,{render:Rt(),json:1})).data;s.data={status:"error"!=n.status,message:null!=(t=n.msg)?t:""}}catch(n){s=c({status:n.status||500,message:n.message},ss)}return s}),e.cmsListApi=()=>i(null,null,function*(){var e,t;let s=c({status:200,message:""},Wt);try{const n=(yield At("/apis/cmsList",{render:Rt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=c({status:n.status||500,message:n.message},Wt)}return s}),e.footerInfoApi=()=>i(null,null,function*(){var e,t;let s=c({status:200,message:""},rs);try{const n=(yield At("/apis/footerInfo",{render:Rt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",footerInfo:n.results.footerInfo.map(e=>e.content)}}}catch(n){s=c({status:n.status||500,message:n.message},rs)}return s}),e.getJackpotTotalApi=()=>i(null,null,function*(){var e;let t=c({status:200,message:""},Kt);try{const s=(yield At("/getJackpotTotal",{render:Rt(),json:1})).data;t.data=null!=(e=s.total)?e:0}catch(s){t=c({status:s.status||500,message:s.message},Kt)}return t}),e.getLocaleApi=()=>i(null,null,function*(){var e,t,s;let n=c({status:200,message:""},Ut);try{const r=(yield At("/apis/getLocale",{render:Rt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",localeList:null!=(s=r.results.map(e=>({code:e.code,label:e.label})))?s:[]}}}catch(r){n=c({status:r.status||500,message:r.message},Ut)}return n}),e.getMessageApi=e=>i(null,null,function*(){var t,s,n,r,a,o,l,u,i,d,p;let f=c({status:200,message:""},Xt);try{const c=(yield At(`/apis/msg/${e}`,{render:Rt(),json:1})).data;f={status:c.code,message:null!=(t=c.message)?t:"",data:{status:c.status,message:null!=(s=c.message)?s:"",messageContent:{id:null!=(r=null==(n=c.results)?void 0:n.msgindex)?r:0,status:"1"==(null==(a=c.results)?void 0:a.status),subject:null!=(l=null==(o=c.results)?void 0:o.subject)?l:"",content:null!=(i=null==(u=c.results)?void 0:u.content)?i:"",date:null!=(p=null==(d=c.results)?void 0:d.cdate)?p:""}}}}catch(m){f=c({status:m.status||500,message:m.message},Xt)}return f}),e.getSettingApi=e=>i(null,null,function*(){var t,s,n,r,a,o,l,u,i,d,p;let f=c({status:200,message:""},ls);try{const c=(yield At(`/apis/getSetting/${e}`,{render:Rt(),json:1})).data;if(f.status=c.code,f.message=null!=(t=c.message)?t:"",f.data.status=c.status,f.data.message=null!=(s=c.message)?s:"",c.results.data.LIVECHAT_LINK)return f.data.settings.liveChat={title:null!=(r=null==(n=c.results.data.LIVECHAT_LINK)?void 0:n.label)?r:"",imgUrl:null!=(o=null==(a=c.results.data.LIVECHAT_LINK)?void 0:a.img)?o:"",linkUrl:null!=(u=null==(l=c.results.data.LIVECHAT_LINK)?void 0:l.value)?u:""},f;if(c.results.data.MOBILE_COLOR_THEME)return f.data.settings.colorTheme=null!=(i=c.results.data.MOBILE_COLOR_THEME)?i:"",f;if(c.results.data.M_DEVICE)return f.data.settings.template=null!=(d=c.results.data.M_DEVICE)?d:"",f;if(c.results.data.FESTIVE_EVENT)return f.data.settings.festiveEvent=null!=(p=c.results.data.FESTIVE_EVENT)?p:"",f;if(c.results.data.POP_AD_NO_SHOW)return f.data.settings.doNotShowPopAd="1"==c.results.data.POP_AD_NO_SHOW,f;if(c.results.data.CMS_NO_SHOW)return f.data.settings.doNotShowCMS="1"==c.results.data.CMS_NO_SHOW,f}catch(m){f=c({status:m.status||500,message:m.message},ls)}return f}),e.getWinnerListApi=()=>i(null,null,function*(){var e,t,s;let n=c({status:200,message:""},Jt);try{const r=(yield At("/apis/getWinnerList",{render:Rt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",winnerList:null!=(s=r.results.notifications)?s:[]}}}catch(r){n=c({status:r.status||500,message:r.message},Jt)}return n}),e.loginApi=(...e)=>i(null,[...e],function*(e={}){var t,s,n,r,a,o,l,u,i,d,p,f;let m=c({status:200,message:""},qt);try{const c=(yield Lt("/apis/login",e,{render:Rt(),json:1})).data;m={status:c.code,message:null!=(t=c.message)?t:"",data:{status:c.status,message:null!=(s=c.message)?s:"",loginInfo:{username:null!=(r=null==(n=c.results)?void 0:n.accountcode)?r:"",walletBalance:null!=(o=null==(a=c.results)?void 0:a.balance)?o:"",key:null!=(u=null==(l=c.results)?void 0:l.access_key)?u:"",ip:null!=(d=null==(i=c.results)?void 0:i.user_ip)?d:""}}},(null==(p=c.results)?void 0:p.access_key)&&(g=null==(f=c.results)?void 0:f.access_key,localStorage.setItem("access_token",(e=>{const t=(new TextEncoder).encode(e);return btoa(String.fromCharCode(...t))})(g)))}catch(h){m=c({status:h.status||500,message:h.message},qt)}var g;return m}),e.messageApi=()=>i(null,null,function*(){var e,t,s,n;let r=c({status:200,message:""},Gt);try{const a=(yield At("/apis/msg",{render:Rt(),json:1})).data;r={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",messageList:null!=(n=null==(s=a.results)?void 0:s.map(e=>({id:e.msgindex,status:"1"==e.status,subject:e.subject,date:e.cdate})))?n:[]}}}catch(a){r=c({status:a.status||500,message:a.message},Gt)}return r}),e.mobileBannerApi=()=>i(null,null,function*(){var e,t;let s=c({status:200,message:""},ns);try{const n=(yield At("/apis/mobileBanner",{render:Rt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=c({status:n.status||500,message:n.message},ns)}return s}),e.platformsApi=()=>i(null,null,function*(){var e,t,s;let n=c({status:200,message:""},os);try{const r=(yield At("/apis/platforms",{render:Rt(),json:1})).data;n={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",platformList:null!=(s=r.results.map(e=>({productMasterId:e.id_ProductMaster,name:e.name,com:e.com})))?s:[]}}}catch(r){n=c({status:r.status||500,message:r.message},os)}return n}),e.profileApi=()=>i(null,null,function*(){var e,t,s,n,r,a,o,l,u,i,d,p,f,m;let g=c({status:200,message:""},as);try{const c=(yield At("/apis/profile",{render:Rt(),json:1})).data;g={status:c.code,message:null!=(e=c.message)?e:"",data:{status:c.status,message:null!=(t=c.message)?t:"",profile:{id:null!=(s=c.results.accountid)?s:0,address:null!=(n=c.results.address)?n:"",city:null!=(r=c.results.city)?r:"",country:null!=(a=c.results.country)?a:"",dob:null!=(o=c.results.dob)?o:"",email:null!=(l=c.results.email)?l:"",fax:null!=(u=c.results.faxno)?u:"",fullName:`${null!=(i=c.results.firstname)?i:""} ${null!=(d=c.results.lastname)?d:""}`.trim(),gender:null!=(p=c.results.gender)?p:"",phone:null!=(f=c.results.mobileno)?f:"",qq:null!=(m=c.results.qq)?m:""}}}}catch(h){g=c({status:h.status||500,message:h.message},as)}return g}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("crypto-js")):"function"==typeof define&&define.amd?define(["exports","crypto-js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["50p82u21t54k"]={},e.CryptoJS)}(this,function(e,t){"use strict";var s=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t)=>{for(var s in t||(t={}))o.call(t,s)&&u(e,s,t[s]);if(r)for(var s of r(t))l.call(t,s)&&u(e,s,t[s]);return e},c=(e,t,s)=>new Promise((n,a)=>{var r=e=>{try{l(s.next(e))}catch(t){a(t)}},o=e=>{try{l(s.throw(e))}catch(t){a(t)}},l=e=>e.done?n(e.value):Promise.resolve(e.value).then(r,o);l((s=s.apply(e,t)).next())}),d="undefined"!=typeof document?document.currentScript:null;function p(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}const m="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const f=()=>{},g=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),h=Object.assign,_=Object.prototype.hasOwnProperty,v=(e,t)=>_.call(e,t),y=Array.isArray,b=e=>"[object Map]"===k(e),E=e=>"function"==typeof e,N=e=>"string"==typeof e,w=e=>"symbol"==typeof e,O=e=>null!==e&&"object"==typeof e,S=Object.prototype.toString,k=e=>S.call(e),C=e=>k(e).slice(8,-1),x=e=>N(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,j=(()=>{const e=Object.create(null);return t=>e[t]||(e[t]=(e=>e.charAt(0).toUpperCase()+e.slice(1))(t))})(),V=(e,t)=>!Object.is(e,t);let L;const I=()=>L||(L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function R(e){if(y(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],a=N(n)?D(n):R(n);if(a)for(const e in a)t[e]=a[e]}return t}if(N(e)||O(e))return e}const A=/;(?![^(]*\))/g,P=/:([^]+)/,T=/\/\*[^]*?\*\//g;function D(e){const t={};return e.replace(T,"").split(A).forEach(e=>{if(e){const s=e.split(P);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function M(e){let t="";if(N(e))t=e;else if(y(e))for(let s=0;s<e.length;s++){const n=M(e[s]);n&&(t+=n+" ")}else if(O(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}let $,F=0;function U(){F++}function H(){if(--F>0)return;let e;for(;$;){let s=$;for($=void 0;s;){const n=s.next;if(s.next=void 0,s.flags&=-9,1&s.flags)try{s.trigger()}catch(t){e||(e=t)}s=n}}if(e)throw e}class B{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){}trigger(e){this.version++,this.notify(e)}notify(e){U();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(h({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{H()}}}const W=new WeakMap,q=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),J=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),z=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function K(e,t,s,n,a,r){const o=W.get(e);if(!o)return;const l=o=>{o&&("production"!==process.env.NODE_ENV?o.trigger({target:e,type:t,key:s,newValue:n,oldValue:a,oldTarget:r}):o.trigger())};if(U(),"clear"===t)o.forEach(l);else{const a=y(e),r=a&&x(s);if(a&&"length"===s){const e=Number(n);o.forEach((t,s)=>{("length"===s||s===z||!w(s)&&s>=e)&&l(t)})}else switch((void 0!==s||o.has(void 0))&&l(o.get(s)),r&&l(o.get(z)),t){case"add":a?r&&l(o.get("length")):(l(o.get(q)),b(e)&&l(o.get(J)));break;case"delete":a||(l(o.get(q)),b(e)&&l(o.get(J)));break;case"set":b(e)&&l(o.get(q))}}H()}function G(e){const t=Ve(e);return t===e||xe(e)?t:t.map(Le)}function X(e){return Ve(e)}const Q={__proto__:null,[Symbol.iterator](){return Y(this,Symbol.iterator,Le)},concat(...e){return G(this).concat(...e.map(e=>y(e)?G(e):e))},entries(){return Y(this,"entries",e=>(e[1]=Le(e[1]),e))},every(e,t){return ee(this,"every",e,t,void 0,arguments)},filter(e,t){return ee(this,"filter",e,t,e=>e.map(Le),arguments)},find(e,t){return ee(this,"find",e,t,Le,arguments)},findIndex(e,t){return ee(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ee(this,"findLast",e,t,Le,arguments)},findLastIndex(e,t){return ee(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ee(this,"forEach",e,t,void 0,arguments)},includes(...e){return se(this,"includes",e)},indexOf(...e){return se(this,"indexOf",e)},join(e){return G(this).join(e)},lastIndexOf(...e){return se(this,"lastIndexOf",e)},map(e,t){return ee(this,"map",e,t,void 0,arguments)},pop(){return ne(this,"pop")},push(...e){return ne(this,"push",e)},reduce(e,...t){return te(this,"reduce",e,t)},reduceRight(e,...t){return te(this,"reduceRight",e,t)},shift(){return ne(this,"shift")},some(e,t){return ee(this,"some",e,t,void 0,arguments)},splice(...e){return ne(this,"splice",e)},toReversed(){return G(this).toReversed()},toSorted(e){return G(this).toSorted(e)},toSpliced(...e){return G(this).toSpliced(...e)},unshift(...e){return ne(this,"unshift",e)},values(){return Y(this,"values",Le)}};function Y(e,t,s){const n=X(e),a=n[t]();return n===e||xe(e)||(a._next=a.next,a.next=()=>{const e=a._next();return e.done||(e.value=s(e.value)),e}),a}const Z=Array.prototype;function ee(e,t,s,n,a,r){const o=X(e),l=o!==e&&!xe(e),u=o[t];if(u!==Z[t]){const t=u.apply(e,r);return l?Le(t):t}let i=s;o!==e&&(l?i=function(t,n){return s.call(this,Le(t),n,e)}:s.length>2&&(i=function(t,n){return s.call(this,t,n,e)}));const c=u.call(o,i,n);return l&&a?a(c):c}function te(e,t,s,n){const a=X(e);let r=s;return a!==e&&(xe(e)?s.length>3&&(r=function(t,n,a){return s.call(this,t,n,a,e)}):r=function(t,n,a){return s.call(this,t,Le(n),a,e)}),a[t](r,...n)}function se(e,t,s){const n=Ve(e),a=n[t](...s);return-1!==a&&!1!==a||!je(s[0])?a:(s[0]=Ve(s[0]),n[t](...s))}function ne(e,t,s=[]){U();const n=Ve(e)[t].apply(e,s);return H(),n}const ae=p("__proto__,__v_isRef,__isVue"),re=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(w));function oe(e){return w(e)||(e=String(e)),Ve(this).hasOwnProperty(e)}class le{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,s){if("__v_skip"===t)return e.__v_skip;const n=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return a;if("__v_raw"===t)return s===(n?a?Ne:Ee:a?be:ye).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const r=y(e);if(!n){let e;if(r&&(e=Q[t]))return e;if("hasOwnProperty"===t)return oe}const o=Reflect.get(e,t,Re(e)?e:s);if(w(t)?re.has(t):ae(t))return o;if(a)return o;if(Re(o)){const e=r&&x(t)?o:o.value;return n&&O(e)?Oe(e):e}return O(o)?n?Oe(o):we(o):o}}class ue extends le{constructor(e=!1){super(!1,e)}set(e,t,s,n){let a=e[t];if(!this._isShallow){const n=Ce(a);if(xe(s)||Ce(s)||(a=Ve(a),s=Ve(s)),!y(e)&&Re(a)&&!Re(s))return n?("production"!==process.env.NODE_ENV&&(String(t),e[t]),!0):(a.value=s,!0)}const r=y(e)&&x(t)?Number(t)<e.length:v(e,t),o=Reflect.set(e,t,s,Re(e)?e:n);return e===Ve(n)&&(r?V(s,a)&&K(e,"set",t,s,a):K(e,"add",t,s)),o}deleteProperty(e,t){const s=v(e,t),n=e[t],a=Reflect.deleteProperty(e,t);return a&&s&&K(e,"delete",t,void 0,n),a}has(e,t){const s=Reflect.has(e,t);return!w(t)||re.has(t),s}ownKeys(e){return Reflect.ownKeys(e)}}class ie extends le{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&String(t),!0}}const ce=new ue,de=new ie,pe=e=>e,me=e=>Reflect.getPrototypeOf(e);function fe(e){return function(...t){return"production"!==process.env.NODE_ENV&&(t[0]&&t[0],j(e),Ve(this)),"delete"!==e&&("clear"===e?void 0:this)}}function ge(e,t){const s=function(e,t){const s={get(s){const n=this.__v_raw,a=Ve(n),r=Ve(s),{has:o}=me(a),l=t?pe:e?Ie:Le;return o.call(a,s)?l(n.get(s)):o.call(a,r)?l(n.get(r)):void(n!==a&&n.get(s))},get size(){const t=this.__v_raw;return!e&&Ve(t),t.size},has(e){const t=this.__v_raw;Ve(t);const s=Ve(e);return e===s?t.has(e):t.has(e)||t.has(s)},forEach(s,n){const a=this,r=a.__v_raw;Ve(r);const o=t?pe:e?Ie:Le;return r.forEach((e,t)=>s.call(n,o(e),o(t),a))}};return h(s,e?{add:fe("add"),set:fe("set"),delete:fe("delete"),clear:fe("clear")}:{add(e){t||xe(e)||Ce(e)||(e=Ve(e));const s=Ve(this);return me(s).has.call(s,e)||(s.add(e),K(s,"add",e,e)),this},set(e,s){t||xe(s)||Ce(s)||(s=Ve(s));const n=Ve(this),{has:a,get:r}=me(n);let o=a.call(n,e);o?"production"!==process.env.NODE_ENV&&ve(n,a,e):(e=Ve(e),o=a.call(n,e));const l=r.call(n,e);return n.set(e,s),o?V(s,l)&&K(n,"set",e,s,l):K(n,"add",e,s),this},delete(e){const t=Ve(this),{has:s,get:n}=me(t);let a=s.call(t,e);a?"production"!==process.env.NODE_ENV&&ve(t,s,e):(e=Ve(e),a=s.call(t,e));const r=n?n.call(t,e):void 0,o=t.delete(e);return a&&K(t,"delete",e,void 0,r),o},clear(){const e=Ve(this),t=0!==e.size,s="production"!==process.env.NODE_ENV?b(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&K(e,"clear",void 0,void 0,s),n}}),["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=function(e,t,s){return function(...n){const a=this.__v_raw,r=Ve(a),o=b(r),l="entries"===e||e===Symbol.iterator&&o,u=a[e](...n),i=s?pe:t?Ie:Le;return{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[i(e[0]),i(e[1])]:i(e),done:t}},[Symbol.iterator](){return this}}}}(n,e,t)}),s}(e,t);return(t,n,a)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(v(s,n)&&n in t?s:t,n,a)}const he={get:ge(!1,!1)},_e={get:ge(!0,!1)};function ve(e,t,s){const n=Ve(s);n!==s&&t.call(e,n)&&C(e)}const ye=new WeakMap,be=new WeakMap,Ee=new WeakMap,Ne=new WeakMap;function we(e){return Ce(e)?e:Se(e,!1,ce,he,ye)}function Oe(e){return Se(e,!0,de,_e,Ee)}function Se(e,t,s,n,a){if(!O(e))return"production"!==process.env.NODE_ENV&&String(e),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=(o=e).__v_skip||!Object.isExtensible(o)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(o));var o;if(0===r)return e;const l=a.get(e);if(l)return l;const u=new Proxy(e,2===r?n:s);return a.set(e,u),u}function ke(e){return Ce(e)?ke(e.__v_raw):!(!e||!e.__v_isReactive)}function Ce(e){return!(!e||!e.__v_isReadonly)}function xe(e){return!(!e||!e.__v_isShallow)}function je(e){return!!e&&!!e.__v_raw}function Ve(e){const t=e&&e.__v_raw;return t?Ve(t):e}const Le=e=>O(e)?we(e):e,Ie=e=>O(e)?Oe(e):e;function Re(e){return!!e&&!0===e.__v_isRef}function Ae(e){return Re(t=e)?t:new Pe(t,!1);var t}class Pe{constructor(e,t){this.dep=new B,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ve(e),this._value=t?e:Le(e),this.__v_isShallow=t}get value(){return"production"!==process.env.NODE_ENV?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const t=this._rawValue,s=this.__v_isShallow||xe(e)||Ce(e);e=s?e:Ve(e),V(e,t)&&(this._rawValue=e,this._value=s?e:Le(e),"production"!==process.env.NODE_ENV?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t}):this.dep.trigger())}}const Te=[];let De=!1;function Me(e,...t){if(De)return;De=!0;const s=Te.length?Te[Te.length-1].component:null,n=s&&s.appContext.config.warnHandler,a=function(){let e=Te[Te.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}();if(n)He(n,s,11,[e+t.map(e=>{var t,s;return null!=(s=null==(t=e.toString)?void 0:t.call(e))?s:JSON.stringify(e)}).join(""),s&&s.proxy,a.map(({vnode:e})=>`at <${kt(s,e.type)}>`).join("\n"),a]);else{const s=[`[Vue warn]: ${e}`,...t];a.length&&s.push("\n",...function(e){const t=[];return e.forEach((e,s)=>{t.push(...0===s?[]:["\n"],...function({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=!!e.component&&null==e.component.parent,a=` at <${kt(e.component,e.type,n)}`,r=">"+s;return e.props?[a,...$e(e.props),r]:[a+r]}(e))}),t}(a))}De=!1}function $e(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(s=>{t.push(...Fe(s,e[s]))}),s.length>3&&t.push(" ..."),t}function Fe(e,t,s){return N(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?s?t:[`${e}=${t}`]:Re(t)?(t=Fe(e,Ve(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ve(t),s?t:[`${e}=`,t])}const Ue={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function He(e,t,s,n){try{return n?e(...n):e()}catch(a){Be(a,t,s)}}function Be(e,t,s,n=!0){const a=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||m;if(t){let n=t.parent;const a=t.proxy,o="production"!==process.env.NODE_ENV?Ue[s]:`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let s=0;s<t.length;s++)if(!1===t[s](e,a,o))return;n=n.parent}if(r)return void He(r,null,10,[e,a,o])}!function(e,t,s,n=!0,a=!1){if("production"!==process.env.NODE_ENV){const a=Ue[t];if(s&&(r=s,Te.push(r)),Me("Unhandled error"+(a?` during execution of ${a}`:"")),s&&Te.pop(),n)throw e}else if(a)throw e;var r}(e,s,a,n,o)}const We=[];let qe=-1;const Je=[];let ze=null,Ke=0;const Ge=Promise.resolve();let Xe=null;function Qe(e){if(!(1&e.flags)){const t=Ze(e),s=We[We.length-1];!s||!(2&e.flags)&&t>=Ze(s)?We.push(e):We.splice(function(e){let t=qe+1,s=We.length;for(;t<s;){const n=t+s>>>1,a=We[n],r=Ze(a);r<e||r===e&&2&a.flags?t=n+1:s=n}return t}(t),0,e),e.flags|=1,Ye()}}function Ye(){Xe||(Xe=Ge.then(et))}const Ze=e=>null==e.id?2&e.flags?-1:1/0:e.id;function et(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>tt(e,t):f;try{for(qe=0;qe<We.length;qe++){const e=We[qe];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),He(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;qe<We.length;qe++){const e=We[qe];e&&(e.flags&=-2)}qe=-1,We.length=0,function(e){if(Je.length){const t=[...new Set(Je)].sort((e,t)=>Ze(e)-Ze(t));if(Je.length=0,ze)return void ze.push(...t);for(ze=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Ke=0;Ke<ze.length;Ke++){const t=ze[Ke];"production"!==process.env.NODE_ENV&&tt(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}ze=null,Ke=0}}(e),Xe=null,(We.length||Je.length)&&et(e)}}function tt(e,t){const s=e.get(t)||0;if(s>100){const e=t.i,s=e&&St(e.type);return Be(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,s+1),!1}const st=new Map;"production"!==process.env.NODE_ENV&&(I().__VUE_HMR_RUNTIME__={createRecord:ot(function(e,t){return!nt.has(e)&&(nt.set(e,{initialDef:at(t),instances:new Set}),!0)}),rerender:ot(function(e,t){const s=nt.get(e);s&&(s.initialDef.render=t,[...s.instances].forEach(e=>{t&&(e.render=t,at(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()}))}),reload:ot(function(e,t){const s=nt.get(e);if(!s)return;t=at(t),rt(s.initialDef,t);const n=[...s.instances];for(let r=0;r<n.length;r++){const e=n[r],a=at(e.type);let o=st.get(a);o||(a!==s.initialDef&&rt(a,t),st.set(a,o=new Set)),o.add(e),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(o.add(e),e.ceReload(t.styles),o.delete(e)):e.parent?Qe(()=>{8&e.job.flags||(e.parent.update(),o.delete(e))}):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window&&window.location.reload(),e.root.ce&&e!==e.root&&e.root.ce._removeChildStyle(a)}var a;y(a=()=>{st.clear()})?Je.push(...a):ze&&-1===a.id?ze.splice(Ke+1,0,a):1&a.flags||(Je.push(a),a.flags|=1),Ye()})});const nt=new Map;function at(e){return Ct(e)?e.__vccOpts:e}function rt(e,t){h(e,t);for(const s in e)"__file"===s||s in t||delete e[s]}function ot(e){return(t,s)=>{try{return e(t,s)}catch(n){}}}let lt=null;function ut(e,t){6&e.shapeFlag&&e.component?(e.transition=t,ut(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}I().requestIdleCallback,I().cancelIdleCallback;const it=Symbol.for("v-ndc");process.env.NODE_ENV;const ct={},dt=e=>Object.getPrototypeOf(e)===ct,pt=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),gt=({key:e})=>null!=e?e:null,ht=({ref:e,ref_key:t,ref_for:s})=>("number"==typeof e&&(e=""+e),null!=e?N(e)||Re(e)||E(e)?{i:lt,r:e,k:t,f:!!s}:e:null),_t="production"!==process.env.NODE_ENV?(...e)=>vt(...e):vt;function vt(e,t=null,s=null,n=0,a=null,r=!1){if(e&&e!==it||("production"===process.env.NODE_ENV||e||Me(`Invalid vnode type when creating vnode: ${e}.`),e=ft),(o=e)&&!0===o.__v_isVNode){const n=yt(e,t,!0);return s&&Nt(n,s),n.patchFlag=-2,n}var o;if(Ct(e)&&(e=e.__vccOpts),t){t=function(e){return e?je(e)||dt(e)?h({},e):e:null}(t);let{class:e,style:s}=t;e&&!N(e)&&(t.class=M(e)),O(s)&&(je(s)&&!y(s)&&(s=h({},s)),t.style=R(s))}const l=N(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:O(e)?4:E(e)?2:0;return"production"!==process.env.NODE_ENV&&4&l&&je(e)&&Me("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=Ve(e)),function(e,t=null,s=null,n=0,a=null,r=(e===pt?0:1),o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&>(t),ref:t&&ht(t),scopeId:null,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:lt};return l?(Nt(u,s),128&r&&e.normalize(u)):s&&(u.shapeFlag|=N(s)?8:16),"production"!==process.env.NODE_ENV&&u.key!=u.key&&Me("VNode created with invalid key (NaN). VNode type:",u.type),u}(e,t,s,n,a,l,r,!0)}function yt(e,t,s=!1,n=!1){const{props:a,ref:r,patchFlag:o,children:l,transition:u}=e,i=t?function(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=M([t.class,n.class]));else if("style"===e)t.style=R([t.style,n.style]);else if(g(e)){const s=t[e],a=n[e];!a||s===a||y(s)&&s.includes(a)||(t[e]=s?[].concat(s,a):a)}else""!==e&&(t[e]=n[e])}return t}(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&>(i),ref:t&&t.ref?s&&r?y(r)?r.concat(ht(t)):[r,ht(t)]:ht(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===o&&y(l)?l.map(bt):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pt?-1===o?16:16|o:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&ut(c,u.clone(c)),c}function bt(e){const t=yt(e);return y(e.children)&&(t.children=e.children.map(bt)),t}function Et(e=" ",t=0){return _t(mt,null,e,t)}function Nt(e,t){let s=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(y(t))s=16;else if("object"==typeof t){if(65&n){const s=t.default;return void(s&&(s._c&&(s._d=!1),Nt(e,s()),s._c&&(s._d=!0)))}s=32,t._||dt(t)||(t._ctx=lt)}else E(t)?(t={default:t,_ctx:lt},s=32):(t=String(t),64&n?(s=16,t=[Et(t)]):s=8);e.children=t,e.shapeFlag|=s}{const e=I(),t=(t,s)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(s),e=>{n.length>1?n.forEach(t=>t(e)):n[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}process.env.NODE_ENV;const wt=/(?:^|[-_])\w/g,Ot=e=>e.replace(wt,e=>e.toUpperCase()).replace(/[-_]/g,"");function St(e,t=!0){return E(e)?e.displayName||e.name:e.name||t&&e.__name}function kt(e,t,s=!1){let n=St(t);if(!n&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(n=e[1])}if(!n&&e&&e.parent){const s=e=>{for(const s in e)if(e[s]===t)return s};n=s(e.components||e.parent.type.components)||s(e.appContext.components)}return n?Ot(n):s?"App":"Anonymous"}function Ct(e){return E(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV,"production"!==process.env.NODE_ENV&&function(){if("production"===process.env.NODE_ENV||"undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},s={style:"color:#f5222d"},n={style:"color:#eb2f96"},a={__vue_custom_formatter:!0,header(t){if(!O(t))return null;if(t.__isVue)return["div",e,"VueInstance"];if(Re(t)){const n=t.value;return["div",{},["span",e,(s=t,xe(s)?"ShallowRef":s.effect?"ComputedRef":"Ref")],"<",l(n),">"]}var s;return ke(t)?["div",{},["span",e,xe(t)?"ShallowReactive":"Reactive"],"<",l(t),">"+(Ce(t)?" (readonly)":"")]:Ce(t)?["div",{},["span",e,xe(t)?"ShallowReadonly":"Readonly"],"<",l(t),">"]:null},hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...r(e.$)]}};function r(e){const t=[];e.type.props&&e.props&&t.push(o("props",Ve(e.props))),e.setupState!==m&&t.push(o("setup",e.setupState)),e.data!==m&&t.push(o("data",Ve(e.data)));const s=u(e,"computed");s&&t.push(o("computed",s));const a=u(e,"inject");return a&&t.push(o("injected",a)),t.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function o(e,t){return t=h({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map(e=>["div",{},["span",n,e+": "],l(t[e],!1)])]]:["span",{}]}function l(e,a=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",s,JSON.stringify(e)]:"boolean"==typeof e?["span",n,e]:O(e)?["object",{object:a?Ve(e):e}]:["span",s,String(e)]}function u(e,t){const s=e.type;if(E(s))return;const n={};for(const a in e.ctx)i(s,a,t)&&(n[a]=e.ctx[a]);return n}function i(e,t,s){const n=e[s];return!!(y(n)&&n.includes(t)||O(n)&&t in n)||!(!e.extends||!i(e.extends,t,s))||!(!e.mixins||!e.mixins.some(e=>i(e,t,s)))||void 0}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}();const xt=Ae("");Ae("");const jt=e=>{try{const s=JSON.parse(t.AES.decrypt(e,xt.value,{format:{stringify:e=>{const s={ct:e.ciphertext.toString(t.enc.Base64)};return e.iv&&(s.iv=e.iv.toString()),e.salt&&(s.s=e.salt.toString()),JSON.stringify(s)},parse:e=>{const s=JSON.parse(e),n=t.lib.CipherParams.create({ciphertext:t.enc.Base64.parse(s.ct)});return s.iv&&(n.iv=t.enc.Hex.parse(s.iv)),s.s&&(n.salt=t.enc.Hex.parse(s.s)),n}}}).toString(t.enc.Utf8));return""!==s?JSON.parse(s):s}catch(s){return""}},Vt=e=>new URLSearchParams(Object.entries(e).map(([e,t])=>[e,String(t)]));function Lt(){return""===xt.value?0:1}const It=()=>{var e;return At(null!=(e=localStorage.getItem("access_token"))?e:"")},Rt=()=>{localStorage.removeItem("access_token")},At=e=>{if(""==e)return"";const t=atob(e),s=new Uint8Array([...t].map(e=>e.charCodeAt(0)));return(new TextDecoder).decode(s)},Pt=(e,t=null)=>c(null,null,function*(){let s=e;t&&(s=`${s}?${Vt(t)}`),"undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:d&&"SCRIPT"===d.tagName.toUpperCase()&&d.src||new URL("50p82u21t54k.umd.js",document.baseURI).href;const n=yield Dt(s,{method:"GET",headers:Mt(),credentials:"include"});if(!n.ok){const e=yield Ut(n);return Promise.reject(e)}const a=yield Lt()?jt(n):Ft(n);return 401==n.status&&Rt(),{data:a,status:n.status,msg:n.statusText,headers:n.headers,ok:n.ok}}),Tt=(e,t,s=null)=>c(null,null,function*(){let n=e;s&&(n=`${n}?${Vt(s)}`);const a=yield Dt(n,{method:"POST",headers:Mt(),body:JSON.stringify(t),credentials:"include"});if(401==a.status&&Rt(),!a.ok){const e=yield Ut(a);return Promise.reject(e)}const r=yield Lt()?jt(a):Ft(a);if(!r)return{data:{},status:a.status,msg:a.statusText,headers:a.headers,ok:a.ok};const o=(Array.isArray(null==r?void 0:r.responses)?r.responses.filter(e=>null==e?void 0:e.attributes):[])[0];return{data:o?JSON.parse((e=>{try{return atob(e)}catch(t){return""}})(o.attributes)):r,status:a.status,msg:a.statusText,headers:a.headers,ok:a.ok}}),Dt=(e,t,s=29e3)=>c(null,null,function*(){const r=new AbortController,o=setTimeout(()=>r.abort(),s);try{return yield fetch(e,(l=i({},t),u={signal:r.signal},n(l,a(u))))}finally{clearTimeout(o)}var l,u}),Mt=()=>{const e=localStorage.getItem("token"),t=$t("XSRF-TOKEN");return i({"Content-Type":"application/json","X-XSRF-TOKEN":t},e?{Authorization:`Bearer ${e}`}:{})},$t=e=>{const t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?decodeURIComponent(t[2]):""},Ft=e=>c(null,null,function*(){try{return 204===e.status||"0"===e.headers.get("content-length")?null:yield e.json()}catch(t){return null}}),Ut=e=>c(null,null,function*(){const t=yield Ft(e),s={status:e.status,message:(null==t?void 0:t.message)||e.statusText||"An error occurred"};return 401===e.status||404===e.status||e.status,s}),Ht=Object.freeze(Object.defineProperty({__proto__:null,get:Pt,post:Tt},Symbol.toStringTag,{value:"Module"})),Bt={data:{status:!1,message:"",localeList:[]}},Wt={data:{status:!1,message:"",mobileBanner:[]}},qt={data:{status:!1,message:"",loginInfo:{username:"",walletBalance:"",key:"",ip:""}}},Jt={data:{status:!1,message:"",winnerList:[]}},zt={data:{status:!1,message:"",announcementList:[]}},Kt={data:0},Gt={data:{status:!1,message:"",messageList:[]}},Xt={data:{status:!1,message:"",messageContent:{id:0,status:!1,subject:"",content:"",date:""}}},Qt={data:{comList:[],comCategory:[],comRequestList:[],comRequestMList:[],comRequestCList:[]}},Yt=(e,t,s,n,a)=>{var r;return null!=(r=t[a].map(t=>{var a,r;const o=e[t]||t,l=null!=(r=s[t]?s[t]:null==(a=n[t])?void 0:a.n)?r:t,u=n[o];return{com:t,name:l,isTransferBefore:1===(null==u?void 0:u.c),isMaintenance:1===(null==u?void 0:u.m)}}))?r:[]},Zt=(e,t="")=>{const s=[];let n=[];return e.map((a,r)=>{(""==t?a.isTransferBefore&&!a.isMaintenance:"m"==t?a.isMaintenance:a.isTransferBefore)&&(5==n.length?(s.push({list:n}),n=[],n.push(a.com)):n.push(a.com)),r==e.length-1&&(s.push({list:n}),n=[])}),null!=s?s:[]},es={data:0},ts={data:{com:"",amount:"0"}},ss={data:{status:!1,message:""}},ns={data:{status:!1,message:"",mobileBanner:[]}},as={data:{status:!1,message:"",footerInfo:[]}},rs={data:{status:!1,message:"",profile:{id:0,address:"",city:"",country:"",dob:"",email:"",fax:"",fullName:"",gender:"",phone:"",qq:""}}},os={data:{status:!1,message:"",platformList:[]}},ls={data:{status:!1,message:"",settings:{}}};var us=(e=>(e.liveChat="livechat",e.mobileColorTheme="MOBILE_COLOR_THEME",e.mDevice="M_DEVICE",e.festiveEvent="FESTIVE_EVENT",e.popAdNoShow="POP_AD_NO_SHOW",e.cmsNoShow="CMS_NO_SHOW",e.annPopup="annPopup",e))(us||{});const is={data:{status:!1,message:"",eventList:[]}},cs={data:{upline:"",enableCaptcha:!1,isMobileVerify:!1,inputFields:[]}},ds={data:{status:!1,message:"",gameList:{currentPage:1,lastPage:1,data:[]}}},ps={data:{status:!1,message:"",gameList:{currentPage:1,lastPage:1,data:[]},hotList:{currentPage:1,lastPage:1,data:[]}}},ms={data:{status:!1,message:"",category:[],list:[]}},fs={data:{upline:"",enabled:!1,captcha:!1,form:[],bankList:[]}},gs={data:{status:!1,message:""}};e.SettingCategory=us,e.agentRegisterApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},fs);try{const n=(yield Pt("/apis/agent-register",{render:Lt(),json:1})).data;s.data={upline:n.upline,enabled:n.agReg_enable,captcha:n.captcha,form:null!=(e=n.objlists.fields.map(e=>{var t;return{fieldName:e.showname,required:1===e.required,regex:e.regex,maxLength:e.maxlength,inputHelper:null!=(t=e.help)?t:""}}))?e:[],bankList:null!=(t=n.banklist.map(e=>({bankId:e.bankindex,bankName:e.bankname,bankCode:e.swiftcode})))?t:[]}}catch(n){s=i({status:n.status||500,message:n.message},fs)}return s}),e.announcementApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},zt);try{const n=(yield Pt("/apis/announcements",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",announcementList:n.results.data.map(e=>({alert:"1"==e.announcement_alert,show:"1"==e.announcement_show,status:"1"==e.announcement_status,announcementId:e.announcement_index,content:e.announcement_content,dateCreated:e.announcement_datecreated}))}}}catch(n){s=i({status:n.status||500,message:n.message},zt)}return s}),e.api=Ht,e.cashWalletGetApi=()=>c(null,null,function*(){var e,t,s,n,a;let r=i({status:200,message:""},Qt);try{const i={};i.access_token=It();const d=(yield Tt("/Cashwallet/get",i,{render:Lt(),json:1})).data,p=null!=(o=d.basecom,l=d.com_kind,u=d.comname,c=d.data,e=d.kind.flatMap(e=>{const t=e[0];return Yt(o,l,u,c,t)}))?e:[],m=null!=(t=((e,t,s,n,a)=>a.map(a=>{var r;const o=a[0];return{id:a[0],label:null!=(r=a[1])?r:"",comList:Yt(e,t,s,n,o)}}))(d.basecom,d.com_kind,d.comname,d.data,d.kind))?t:[];r.data={comList:p,comCategory:m,comRequestList:null!=(s=Zt(p))?s:[],comRequestMList:null!=(n=Zt(p,"m"))?n:[],comRequestCList:null!=(a=Zt(p,"c"))?a:[]}}catch(d){r=i({status:d.status||500,message:d.message},Qt)}var o,l,u,c;return r}),e.cashWalletGetLastApi=()=>c(null,null,function*(){let e=i({status:200,message:""},es);try{const t={};t.access_token=It();const s=(yield Tt("/Cashwallet/get/last",t,{render:Lt(),json:1})).data;e.data=s.status?s.last:0}catch(t){e=i({status:t.status||500,message:t.message},es)}return e}),e.cashWalletGetWalletApi=e=>c(null,null,function*(){let t=i({status:200,message:""},ts);try{const s={};s.access_token=It();const n=(yield Tt(`/Cashwallet/get/${e}`,s,{render:Lt(),json:1})).data;t.data={com:e,amount:n.status?n.com_wallet:"0"}}catch(s){t=i({status:s.status||500,message:s.message},ts)}return t}),e.cashWalletTransferApi=(...e)=>c(null,[...e],function*(e={}){var t;let s=i({status:200,message:""},ss);try{e.access_token=It();const n=(yield Tt("/Cashwallet/wallet/transfer",e,{render:Lt(),json:1})).data;s.data={status:"error"!=n.status,message:null!=(t=n.msg)?t:""}}catch(n){s=i({status:n.status||500,message:n.message},ss)}return s}),e.cmsListApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},Wt);try{const n=(yield Pt("/apis/cmsList",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=i({status:n.status||500,message:n.message},Wt)}return s}),e.eventListApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},is);try{const n=(yield Pt("/apis/eventlist",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",eventList:n.results.all_event.map(e=>({date:e.date,imgUrl:e.img,linkUrl:e.link,title:e.title,content:e.content,isGameActive:e.gameActive,gameUrl:e.url}))}}}catch(n){s=i({status:n.status||500,message:n.message},is)}return s}),e.fishGamesApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},ps);try{const n=(yield Pt("/apis/fishgames",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",gameList:{currentPage:1,lastPage:1,data:n.results.data.map(e=>({gameId:e.game_id,platformId:e.pp_id,platformCode:e.platform_code,platformName:e.pp_name,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))},hotList:{currentPage:1,lastPage:1,data:n.results.hotfish.map(e=>({gameId:e.game_id,platformId:e.pp_id,platformCode:e.platform_code,platformName:e.pp_name,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))}}}}catch(n){s=i({status:n.status||500,message:n.message},ps)}return s}),e.footerInfoApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},as);try{const n=(yield Pt("/apis/footerInfo",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",footerInfo:n.results.footerInfo.map(e=>e.content)}}}catch(n){s=i({status:n.status||500,message:n.message},as)}return s}),e.getJackpotTotalApi=()=>c(null,null,function*(){var e;let t=i({status:200,message:""},Kt);try{const s=(yield Pt("/getJackpotTotal",{render:Lt(),json:1})).data;t.data=null!=(e=s.total)?e:0}catch(s){t=i({status:s.status||500,message:s.message},Kt)}return t}),e.getLocaleApi=()=>c(null,null,function*(){var e,t,s;let n=i({status:200,message:""},Bt);try{const a=(yield Pt("/apis/getLocale",{render:Lt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",localeList:null!=(s=a.results.map(e=>({code:e.code,label:e.label})))?s:[]}}}catch(a){n=i({status:a.status||500,message:a.message},Bt)}return n}),e.getMessageApi=e=>c(null,null,function*(){var t,s,n,a,r,o,l,u,c,d,p;let m=i({status:200,message:""},Xt);try{const i=(yield Pt(`/apis/msg/${e}`,{render:Lt(),json:1})).data;m={status:i.code,message:null!=(t=i.message)?t:"",data:{status:i.status,message:null!=(s=i.message)?s:"",messageContent:{id:null!=(a=null==(n=i.results)?void 0:n.msgindex)?a:0,status:"1"==(null==(r=i.results)?void 0:r.status),subject:null!=(l=null==(o=i.results)?void 0:o.subject)?l:"",content:null!=(c=null==(u=i.results)?void 0:u.content)?c:"",date:null!=(p=null==(d=i.results)?void 0:d.cdate)?p:""}}}}catch(f){m=i({status:f.status||500,message:f.message},Xt)}return m}),e.getSettingApi=e=>c(null,null,function*(){var t,s,n,a,r,o,l,u,c,d,p;let m=i({status:200,message:""},ls);try{const i=(yield Pt(`/apis/getSetting/${e}`,{render:Lt(),json:1})).data;if(m.status=i.code,m.message=null!=(t=i.message)?t:"",m.data.status=i.status,m.data.message=null!=(s=i.message)?s:"",i.results.data.LIVECHAT_LINK)return m.data.settings.liveChat={title:null!=(a=null==(n=i.results.data.LIVECHAT_LINK)?void 0:n.label)?a:"",imgUrl:null!=(o=null==(r=i.results.data.LIVECHAT_LINK)?void 0:r.img)?o:"",linkUrl:null!=(u=null==(l=i.results.data.LIVECHAT_LINK)?void 0:l.value)?u:""},m;if(i.results.data.MOBILE_COLOR_THEME)return m.data.settings.colorTheme=null!=(c=i.results.data.MOBILE_COLOR_THEME)?c:"",m;if(i.results.data.M_DEVICE)return m.data.settings.template=null!=(d=i.results.data.M_DEVICE)?d:"",m;if(i.results.data.FESTIVE_EVENT)return m.data.settings.festiveEvent=null!=(p=i.results.data.FESTIVE_EVENT)?p:"",m;if(i.results.data.POP_AD_NO_SHOW)return m.data.settings.doNotShowPopAd="1"==i.results.data.POP_AD_NO_SHOW,m;if(i.results.data.CMS_NO_SHOW)return m.data.settings.doNotShowCMS="1"==i.results.data.CMS_NO_SHOW,m}catch(f){m=i({status:f.status||500,message:f.message},ls)}return m}),e.getWinnerListApi=()=>c(null,null,function*(){var e,t,s;let n=i({status:200,message:""},Jt);try{const a=(yield Pt("/apis/getWinnerList",{render:Lt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",winnerList:null!=(s=a.results.notifications)?s:[]}}}catch(a){n=i({status:a.status||500,message:a.message},Jt)}return n}),e.hotGamesApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},ds);try{const n=(yield Pt("/apis/hotgames",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",gameList:{currentPage:n.results.current_page,lastPage:n.results.last_page,data:n.results.data.map(e=>({gameId:e.game_id,platformId:e.ppid,platformCode:e.code,platformName:e.ppname,name:e.name,imageUrl:e.img,logoUrl:e.imgPf,isFavourite:1===e.favourite_flag}))}}}}catch(n){s=i({status:n.status||500,message:n.message},ds)}return s}),e.loginApi=(...e)=>c(null,[...e],function*(e={}){var t,s,n,a,r,o,l,u,c,d,p,m;let f=i({status:200,message:""},qt);try{const i=(yield Tt("/apis/login",e,{render:Lt(),json:1})).data;f={status:i.code,message:null!=(t=i.message)?t:"",data:{status:i.status,message:null!=(s=i.message)?s:"",loginInfo:{username:null!=(a=null==(n=i.results)?void 0:n.accountcode)?a:"",walletBalance:null!=(o=null==(r=i.results)?void 0:r.balance)?o:"",key:null!=(u=null==(l=i.results)?void 0:l.access_token)?u:"",ip:null!=(d=null==(c=i.results)?void 0:c.user_ip)?d:""}}},(null==(p=i.results)?void 0:p.access_token)&&(g=null==(m=i.results)?void 0:m.access_token,localStorage.setItem("access_token",(e=>{const t=(new TextEncoder).encode(e);return btoa(String.fromCharCode(...t))})(g)))}catch(h){f=i({status:h.status||500,message:h.message},qt)}var g;return f}),e.logoutApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},gs);try{const n=(yield Pt("/apis/logout",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.results)?t:""}},Rt()}catch(n){s=i({status:n.status||500,message:n.message},gs)}return s}),e.mSignUpApi=()=>c(null,null,function*(){let e=i({status:200,message:""},cs);try{const t=(yield Pt("/apis/msignup",{render:Lt(),json:1})).data;e.data={upline:t.upline,enableCaptcha:t.captcha,isMobileVerify:1===t.mobile_verify,inputFields:t.objlists.fields.map(e=>{const t={fieldName:e.showname,required:1===e.required,regex:e.regex,minLength:e.minlen?e.minlen:`${e.maxlength}`,maxLength:`${e.maxlength}`,inputHelper:e.help,inputType:e.type};return e.country&&(t.countryMobile=e.country.map(e=>({countryId:e.countryindex,code:`+${e.isd}`,regex:e.mobile_regex,value:`${e.isd}`,minLength:parseInt(e.min,10),maxLength:parseInt(e.max,10)}))[0]),t})}}catch(t){e=i({status:t.status||500,message:t.message},cs)}return e}),e.messageApi=()=>c(null,null,function*(){var e,t,s,n;let a=i({status:200,message:""},Gt);try{const r=(yield Pt("/apis/msg",{render:Lt(),json:1})).data;a={status:r.code,message:null!=(e=r.message)?e:"",data:{status:r.status,message:null!=(t=r.message)?t:"",messageList:null!=(n=null==(s=r.results)?void 0:s.map(e=>({id:e.msgindex,status:"1"==e.status,subject:e.subject,date:e.cdate})))?n:[]}}}catch(r){a=i({status:r.status||500,message:r.message},Gt)}return a}),e.mobileBannerApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},ns);try{const n=(yield Pt("/apis/mobileBanner",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",mobileBanner:n.results.mobileBanner.map(e=>e.content)}}}catch(n){s=i({status:n.status||500,message:n.message},ns)}return s}),e.platformsApi=()=>c(null,null,function*(){var e,t,s;let n=i({status:200,message:""},os);try{const a=(yield Pt("/apis/platforms",{render:Lt(),json:1})).data;n={status:a.code,message:null!=(e=a.message)?e:"",data:{status:a.status,message:null!=(t=a.message)?t:"",platformList:null!=(s=a.results.map(e=>({productMasterId:e.id_ProductMaster,name:e.name,com:e.com})))?s:[]}}}catch(a){n=i({status:a.status||500,message:a.message},os)}return n}),e.profileApi=()=>c(null,null,function*(){var e,t,s,n,a,r,o,l,u,c,d,p,m,f;let g=i({status:200,message:""},rs);try{const i=(yield Pt("/apis/profile",{render:Lt(),json:1})).data;g={status:i.code,message:null!=(e=i.message)?e:"",data:{status:i.status,message:null!=(t=i.message)?t:"",profile:{id:null!=(s=i.results.accountid)?s:0,address:null!=(n=i.results.address)?n:"",city:null!=(a=i.results.city)?a:"",country:null!=(r=i.results.country)?r:"",dob:null!=(o=i.results.dob)?o:"",email:null!=(l=i.results.email)?l:"",fax:null!=(u=i.results.faxno)?u:"",fullName:`${null!=(c=i.results.firstname)?c:""} ${null!=(d=i.results.lastname)?d:""}`.trim(),gender:null!=(p=i.results.gender)?p:"",phone:null!=(m=i.results.mobileno)?m:"",qq:null!=(f=i.results.qq)?f:""}}}}catch(h){g=i({status:h.status||500,message:h.message},rs)}return g}),e.promotionApi=()=>c(null,null,function*(){var e,t;let s=i({status:200,message:""},ms);try{const n=(yield Pt("/apis/promotion",{render:Lt(),json:1})).data;s={status:n.code,message:null!=(e=n.message)?e:"",data:{status:n.status,message:null!=(t=n.message)?t:"",category:n.results.promoCat.map(e=>({id:e.catid,name:e.name})),list:n.results.objList.map(e=>{var t,s,n,a,r;return{promoId:e.promoindex,categoryId:e.catid,imgUrl:null!=(t=e.image)?t:"",content:null!=(s=e.content)?s:"",time:null!=(n=e.display_time)?n:"",name:null!=(a=e.title)?a:"",isLink:null!=(r=e.isLink)&&r}})}}}catch(n){s=i({status:n.status||500,message:n.message},ms)}return s}),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentRegisterApi.d.ts","sourceRoot":"","sources":["../../../src/api/agentRegister/agentRegisterApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyC,qBAAqB,EAAE,MAAM,QAAQ,CAAA;AAiBrF,eAAO,MAAM,gBAAgB,QAAa,OAAO,CAAC,qBAAqB,CAiDtE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/agentRegister/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseType } from '../../util/type';
|
|
2
|
+
export type AgentRegisterResponse = BaseType & {
|
|
3
|
+
data: {
|
|
4
|
+
upline: string;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
captcha: boolean;
|
|
7
|
+
form: AgentRegisterInput[];
|
|
8
|
+
bankList: AgentRegisterBank[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type AgentRegisterInput = {
|
|
12
|
+
fieldName: string;
|
|
13
|
+
required: boolean;
|
|
14
|
+
regex: string;
|
|
15
|
+
maxLength: number;
|
|
16
|
+
inputHelper: string;
|
|
17
|
+
};
|
|
18
|
+
export type AgentRegisterBank = {
|
|
19
|
+
bankId: number;
|
|
20
|
+
bankName: string;
|
|
21
|
+
bankCode: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/agentRegister/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG;IAC7C,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;QAChB,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,kBAAkB,EAAE,CAAA;QAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAA;KAC9B,CAAA;CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventListApi.d.ts","sourceRoot":"","sources":["../../../src/api/eventList/eventListApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,QAAQ,CAAA;AAerD,eAAO,MAAM,YAAY,QAAa,OAAO,CAAC,iBAAiB,CA6C9D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/eventList/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseType } from '../../util/type';
|
|
2
|
+
export type EventListResponse = BaseType & {
|
|
3
|
+
data: {
|
|
4
|
+
status: boolean;
|
|
5
|
+
message: string;
|
|
6
|
+
eventList: EventItem[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type EventItem = {
|
|
10
|
+
date: string;
|
|
11
|
+
imgUrl: string;
|
|
12
|
+
linkUrl: string;
|
|
13
|
+
title: string;
|
|
14
|
+
content: string;
|
|
15
|
+
isGameActive: boolean;
|
|
16
|
+
gameUrl: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/eventList/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,SAAS,EAAE,SAAS,EAAE,CAAA;KACvB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,OAAO,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fishGamesApi.d.ts","sourceRoot":"","sources":["../../../src/api/fishGames/fishGamesApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAiB1C,eAAO,MAAM,YAAY,QAAa,OAAO,CAAC,iBAAiB,CAkE9D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/fishGames/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/fishGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,QAAQ,CAAA;QAClB,OAAO,EAAE,QAAQ,CAAA;KAClB,CAAA;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotGamesApi.d.ts","sourceRoot":"","sources":["../../../src/api/hotGames/hotGamesApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAgBzC,eAAO,MAAM,WAAW,QAAa,OAAO,CAAC,gBAAgB,CAkD5D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/hotGames/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/hotGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,QAAQ,CAAA;KACnB,CAAA;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/logout/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logoutApi.d.ts","sourceRoot":"","sources":["../../../src/api/logout/logoutApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAcvC,eAAO,MAAM,SAAS,QAAa,OAAO,CAAC,cAAc,CAoCxD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/logout/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG;IACtC,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/mSignUp/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mSignUpApi.d.ts","sourceRoot":"","sources":["../../../src/api/mSignUp/mSignUpApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,QAAQ,CAAA;AAgBpD,eAAO,MAAM,UAAU,QAAa,OAAO,CAAC,eAAe,CAuD1D,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseType } from '../../util/type';
|
|
2
|
+
export type MSignUpResponse = BaseType & {
|
|
3
|
+
data: {
|
|
4
|
+
upline: string;
|
|
5
|
+
enableCaptcha: boolean;
|
|
6
|
+
isMobileVerify: boolean;
|
|
7
|
+
inputFields: InputField[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type InputField = {
|
|
11
|
+
countryMobile?: InputCountryMobile;
|
|
12
|
+
fieldName: string;
|
|
13
|
+
required: boolean;
|
|
14
|
+
regex: string;
|
|
15
|
+
minLength: string;
|
|
16
|
+
maxLength: string;
|
|
17
|
+
inputHelper: string;
|
|
18
|
+
inputType: string;
|
|
19
|
+
};
|
|
20
|
+
export type InputCountryMobile = {
|
|
21
|
+
countryId: number;
|
|
22
|
+
code: string;
|
|
23
|
+
regex: string;
|
|
24
|
+
value: string;
|
|
25
|
+
minLength: number;
|
|
26
|
+
maxLength: number;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/mSignUp/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,CAAA;QACd,aAAa,EAAE,OAAO,CAAA;QACtB,cAAc,EAAE,OAAO,CAAA;QACvB,WAAW,EAAE,UAAU,EAAE,CAAA;KAC1B,CAAA;CACF,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promotionApi.d.ts","sourceRoot":"","sources":["../../../src/api/promotion/promotionApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAgB/D,eAAO,MAAM,YAAY,QAAa,OAAO,CAAC,iBAAiB,CA+C9D,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseType } from '../../util/type';
|
|
2
|
+
export type PromotionResponse = BaseType & {
|
|
3
|
+
data: {
|
|
4
|
+
status: boolean;
|
|
5
|
+
message: string;
|
|
6
|
+
category: Category[];
|
|
7
|
+
list: Promotion[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type Category = {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
export type Promotion = {
|
|
15
|
+
promoId: number;
|
|
16
|
+
categoryId: number;
|
|
17
|
+
imgUrl: string;
|
|
18
|
+
content: string;
|
|
19
|
+
time: string;
|
|
20
|
+
name: string;
|
|
21
|
+
isLink: boolean;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/api/promotion/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,QAAQ,EAAE,CAAA;QACpB,IAAI,EAAE,SAAS,EAAE,CAAA;KAClB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,13 @@ export * from './api/footerInfo';
|
|
|
12
12
|
export * from './api/profile';
|
|
13
13
|
export * from './api/platforms';
|
|
14
14
|
export * from './api/getSetting';
|
|
15
|
+
export * from './api/eventList';
|
|
16
|
+
export * from './api/mSignUp';
|
|
17
|
+
export * from './api/hotGames';
|
|
18
|
+
export * from './api/fishGames';
|
|
19
|
+
export * from './api/promotion';
|
|
20
|
+
export * from './api/agentRegister';
|
|
21
|
+
export * from './api/logout';
|
|
15
22
|
import * as api from './api/general/api';
|
|
16
23
|
export { api };
|
|
17
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,cAAc,CAAA;AAG5B,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAA;AAGxC,OAAO,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/util/type.d.ts
CHANGED
|
@@ -12,4 +12,19 @@ export type PlatformStatusParam = {
|
|
|
12
12
|
fit: boolean;
|
|
13
13
|
fs: boolean;
|
|
14
14
|
};
|
|
15
|
+
export type GamePage = {
|
|
16
|
+
currentPage: number;
|
|
17
|
+
lastPage: number;
|
|
18
|
+
data: Game[];
|
|
19
|
+
};
|
|
20
|
+
export type Game = {
|
|
21
|
+
gameId: number;
|
|
22
|
+
platformId: number;
|
|
23
|
+
platformCode: string;
|
|
24
|
+
platformName: string;
|
|
25
|
+
name: string;
|
|
26
|
+
imageUrl: string;
|
|
27
|
+
logoUrl: string;
|
|
28
|
+
isFavourite: boolean;
|
|
29
|
+
};
|
|
15
30
|
//# sourceMappingURL=type.d.ts.map
|
package/dist/util/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/util/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/util/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,IAAI,EAAE,CAAA;CACb,CAAA;AAED,MAAM,MAAM,IAAI,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;CACrB,CAAA"}
|