50p82u21t54k 0.0.36 → 0.0.38

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.
Files changed (224) hide show
  1. package/dist/50p82u21t54k.cjs.js +1 -0
  2. package/dist/50p82u21t54k.es.js +6348 -2381
  3. package/dist/50p82u21t54k.umd.js +1 -26
  4. package/dist/api/announcement/announcementApi.d.ts +3 -0
  5. package/dist/api/announcement/announcementApi.d.ts.map +1 -0
  6. package/dist/api/announcement/index.d.ts +3 -0
  7. package/dist/api/announcement/index.d.ts.map +1 -0
  8. package/dist/api/announcement/type.d.ts +13 -0
  9. package/dist/api/announcement/type.d.ts.map +1 -0
  10. package/dist/api/cmsList/cmsListApi.d.ts +3 -0
  11. package/dist/api/cmsList/cmsListApi.d.ts.map +1 -0
  12. package/dist/api/cmsList/index.d.ts +3 -0
  13. package/dist/api/cmsList/index.d.ts.map +1 -0
  14. package/dist/api/cmsList/type.d.ts +8 -0
  15. package/dist/api/cmsList/type.d.ts.map +1 -0
  16. package/dist/api/csLink/csLinkApi.d.ts +3 -0
  17. package/dist/api/csLink/csLinkApi.d.ts.map +1 -0
  18. package/dist/api/csLink/index.d.ts +3 -0
  19. package/dist/api/csLink/index.d.ts.map +1 -0
  20. package/dist/{csLink → api/csLink}/type.d.ts +1 -2
  21. package/dist/api/csLink/type.d.ts.map +1 -0
  22. package/dist/api/currentLang/currentLangApi.d.ts +3 -0
  23. package/dist/api/currentLang/currentLangApi.d.ts.map +1 -0
  24. package/dist/api/currentLang/index.d.ts +3 -0
  25. package/dist/api/currentLang/index.d.ts.map +1 -0
  26. package/dist/api/currentLang/type.d.ts +7 -0
  27. package/dist/api/currentLang/type.d.ts.map +1 -0
  28. package/dist/api/eGame/eGameApi.d.ts +3 -0
  29. package/dist/api/eGame/eGameApi.d.ts.map +1 -0
  30. package/dist/api/eGame/index.d.ts +3 -0
  31. package/dist/api/eGame/index.d.ts.map +1 -0
  32. package/dist/{eGame → api/eGame}/type.d.ts +4 -8
  33. package/dist/api/eGame/type.d.ts.map +1 -0
  34. package/dist/api/fishGames/fishGamesApi.d.ts +3 -0
  35. package/dist/api/fishGames/fishGamesApi.d.ts.map +1 -0
  36. package/dist/api/fishGames/index.d.ts +3 -0
  37. package/dist/api/fishGames/index.d.ts.map +1 -0
  38. package/dist/{fishGames → api/fishGames}/type.d.ts +4 -10
  39. package/dist/api/fishGames/type.d.ts.map +1 -0
  40. package/dist/api/general/api.d.ts +4 -0
  41. package/dist/api/general/api.d.ts.map +1 -0
  42. package/dist/api/general/type.d.ts +15 -0
  43. package/dist/api/general/type.d.ts.map +1 -0
  44. package/dist/api/getLocale/getLocaleApi.d.ts +3 -0
  45. package/dist/api/getLocale/getLocaleApi.d.ts.map +1 -0
  46. package/dist/api/getLocale/index.d.ts +3 -0
  47. package/dist/api/getLocale/index.d.ts.map +1 -0
  48. package/dist/{getLocale → api/getLocale}/type.d.ts +1 -2
  49. package/dist/api/getLocale/type.d.ts.map +1 -0
  50. package/dist/api/getLoginKey/getLoginKeyApi.d.ts +3 -0
  51. package/dist/api/getLoginKey/getLoginKeyApi.d.ts.map +1 -0
  52. package/dist/api/getLoginKey/index.d.ts +3 -0
  53. package/dist/api/getLoginKey/index.d.ts.map +1 -0
  54. package/dist/{getLoginKey → api/getLoginKey}/type.d.ts +1 -2
  55. package/dist/api/getLoginKey/type.d.ts.map +1 -0
  56. package/dist/api/getSetting/getSettingApi.d.ts +3 -0
  57. package/dist/api/getSetting/getSettingApi.d.ts.map +1 -0
  58. package/dist/api/getSetting/index.d.ts +3 -0
  59. package/dist/api/getSetting/index.d.ts.map +1 -0
  60. package/dist/{getSetting → api/getSetting}/type.d.ts +1 -2
  61. package/dist/api/getSetting/type.d.ts.map +1 -0
  62. package/dist/api/getWinnerList/getWinnerListApi.d.ts +3 -0
  63. package/dist/api/getWinnerList/getWinnerListApi.d.ts.map +1 -0
  64. package/dist/api/getWinnerList/index.d.ts +3 -0
  65. package/dist/api/getWinnerList/index.d.ts.map +1 -0
  66. package/dist/api/getWinnerList/type.d.ts +15 -0
  67. package/dist/api/getWinnerList/type.d.ts.map +1 -0
  68. package/dist/api/home/homeApi.d.ts +3 -0
  69. package/dist/api/home/homeApi.d.ts.map +1 -0
  70. package/dist/api/home/index.d.ts +3 -0
  71. package/dist/api/home/index.d.ts.map +1 -0
  72. package/dist/{home → api/home}/type.d.ts +2 -25
  73. package/dist/api/home/type.d.ts.map +1 -0
  74. package/dist/api/hotGames/hotGamesApi.d.ts +3 -0
  75. package/dist/api/hotGames/hotGamesApi.d.ts.map +1 -0
  76. package/dist/api/hotGames/index.d.ts +3 -0
  77. package/dist/api/hotGames/index.d.ts.map +1 -0
  78. package/dist/{hotGames → api/hotGames}/type.d.ts +3 -9
  79. package/dist/api/hotGames/type.d.ts.map +1 -0
  80. package/dist/api/login/index.d.ts +3 -0
  81. package/dist/api/login/index.d.ts.map +1 -0
  82. package/dist/api/login/loginApi.d.ts +3 -0
  83. package/dist/api/login/loginApi.d.ts.map +1 -0
  84. package/dist/{login → api/login}/type.d.ts +1 -2
  85. package/dist/api/login/type.d.ts.map +1 -0
  86. package/dist/api/message/index.d.ts +3 -0
  87. package/dist/api/message/index.d.ts.map +1 -0
  88. package/dist/api/message/messageApi.d.ts +3 -0
  89. package/dist/api/message/messageApi.d.ts.map +1 -0
  90. package/dist/api/message/type.d.ts +13 -0
  91. package/dist/api/message/type.d.ts.map +1 -0
  92. package/dist/api/promotion/index.d.ts +3 -0
  93. package/dist/api/promotion/index.d.ts.map +1 -0
  94. package/dist/api/promotion/promotionApi.d.ts +3 -0
  95. package/dist/api/promotion/promotionApi.d.ts.map +1 -0
  96. package/dist/{promotion → api/promotion}/type.d.ts +3 -4
  97. package/dist/api/promotion/type.d.ts.map +1 -0
  98. package/dist/api/trialGames/index.d.ts +3 -0
  99. package/dist/api/trialGames/index.d.ts.map +1 -0
  100. package/dist/api/trialGames/trialGamesApi.d.ts +3 -0
  101. package/dist/api/trialGames/trialGamesApi.d.ts.map +1 -0
  102. package/dist/{trialGames → api/trialGames}/type.d.ts +3 -9
  103. package/dist/api/trialGames/type.d.ts.map +1 -0
  104. package/dist/index.d.ts +16 -30
  105. package/dist/index.d.ts.map +1 -1
  106. package/dist/typings.d.ts +7 -0
  107. package/dist/util/tool.d.ts +5 -0
  108. package/dist/util/tool.d.ts.map +1 -1
  109. package/dist/util/type.d.ts +5 -0
  110. package/dist/util/type.d.ts.map +1 -1
  111. package/package.json +19 -15
  112. package/dist/cmsList/index.d.ts +0 -3
  113. package/dist/cmsList/index.d.ts.map +0 -1
  114. package/dist/cmsList/method.d.ts +0 -39
  115. package/dist/cmsList/method.d.ts.map +0 -1
  116. package/dist/cmsList/type.d.ts +0 -19
  117. package/dist/cmsList/type.d.ts.map +0 -1
  118. package/dist/csLink/index.d.ts +0 -3
  119. package/dist/csLink/index.d.ts.map +0 -1
  120. package/dist/csLink/method.d.ts +0 -11
  121. package/dist/csLink/method.d.ts.map +0 -1
  122. package/dist/csLink/type.d.ts.map +0 -1
  123. package/dist/currentLang/index.d.ts +0 -3
  124. package/dist/currentLang/index.d.ts.map +0 -1
  125. package/dist/currentLang/method.d.ts +0 -9
  126. package/dist/currentLang/method.d.ts.map +0 -1
  127. package/dist/currentLang/type.d.ts +0 -6
  128. package/dist/currentLang/type.d.ts.map +0 -1
  129. package/dist/eGame/index.d.ts +0 -3
  130. package/dist/eGame/index.d.ts.map +0 -1
  131. package/dist/eGame/method.d.ts +0 -9
  132. package/dist/eGame/method.d.ts.map +0 -1
  133. package/dist/eGame/type.d.ts.map +0 -1
  134. package/dist/fishGames/index.d.ts +0 -3
  135. package/dist/fishGames/index.d.ts.map +0 -1
  136. package/dist/fishGames/method.d.ts +0 -12
  137. package/dist/fishGames/method.d.ts.map +0 -1
  138. package/dist/fishGames/type.d.ts.map +0 -1
  139. package/dist/getLocale/index.d.ts +0 -3
  140. package/dist/getLocale/index.d.ts.map +0 -1
  141. package/dist/getLocale/method.d.ts +0 -9
  142. package/dist/getLocale/method.d.ts.map +0 -1
  143. package/dist/getLocale/type.d.ts.map +0 -1
  144. package/dist/getLoginKey/index.d.ts +0 -3
  145. package/dist/getLoginKey/index.d.ts.map +0 -1
  146. package/dist/getLoginKey/method.d.ts +0 -11
  147. package/dist/getLoginKey/method.d.ts.map +0 -1
  148. package/dist/getLoginKey/type.d.ts.map +0 -1
  149. package/dist/getSetting/index.d.ts +0 -3
  150. package/dist/getSetting/index.d.ts.map +0 -1
  151. package/dist/getSetting/method.d.ts +0 -15
  152. package/dist/getSetting/method.d.ts.map +0 -1
  153. package/dist/getSetting/type.d.ts.map +0 -1
  154. package/dist/historyGames (incomplete)/index.d.ts +0 -1
  155. package/dist/historyGames (incomplete)/index.d.ts.map +0 -1
  156. package/dist/historyGames (incomplete)/method.d.ts +0 -1
  157. package/dist/historyGames (incomplete)/method.d.ts.map +0 -1
  158. package/dist/historyGames (incomplete)/type.d.ts +0 -1
  159. package/dist/historyGames (incomplete)/type.d.ts.map +0 -1
  160. package/dist/home/index.d.ts +0 -3
  161. package/dist/home/index.d.ts.map +0 -1
  162. package/dist/home/method.d.ts +0 -68
  163. package/dist/home/method.d.ts.map +0 -1
  164. package/dist/home/type.d.ts.map +0 -1
  165. package/dist/hotGames/index.d.ts +0 -3
  166. package/dist/hotGames/index.d.ts.map +0 -1
  167. package/dist/hotGames/method.d.ts +0 -20
  168. package/dist/hotGames/method.d.ts.map +0 -1
  169. package/dist/hotGames/type.d.ts.map +0 -1
  170. package/dist/legacy/announcement/index.d.ts +0 -3
  171. package/dist/legacy/announcement/index.d.ts.map +0 -1
  172. package/dist/legacy/announcement/method.d.ts +0 -4
  173. package/dist/legacy/announcement/method.d.ts.map +0 -1
  174. package/dist/legacy/announcement/type.d.ts +0 -11
  175. package/dist/legacy/announcement/type.d.ts.map +0 -1
  176. package/dist/legacy/gKey/index.d.ts +0 -3
  177. package/dist/legacy/gKey/index.d.ts.map +0 -1
  178. package/dist/legacy/gKey/method.d.ts +0 -5
  179. package/dist/legacy/gKey/method.d.ts.map +0 -1
  180. package/dist/legacy/gKey/type.d.ts +0 -6
  181. package/dist/legacy/gKey/type.d.ts.map +0 -1
  182. package/dist/legacy/language/index.d.ts +0 -3
  183. package/dist/legacy/language/index.d.ts.map +0 -1
  184. package/dist/legacy/language/method.d.ts +0 -4
  185. package/dist/legacy/language/method.d.ts.map +0 -1
  186. package/dist/legacy/language/type.d.ts +0 -12
  187. package/dist/legacy/language/type.d.ts.map +0 -1
  188. package/dist/legacy/platforms/index.d.ts +0 -3
  189. package/dist/legacy/platforms/index.d.ts.map +0 -1
  190. package/dist/legacy/platforms/method.d.ts +0 -4
  191. package/dist/legacy/platforms/method.d.ts.map +0 -1
  192. package/dist/legacy/platforms/type.d.ts +0 -9
  193. package/dist/legacy/platforms/type.d.ts.map +0 -1
  194. package/dist/legacy/products/index.d.ts +0 -3
  195. package/dist/legacy/products/index.d.ts.map +0 -1
  196. package/dist/legacy/products/method.d.ts +0 -4
  197. package/dist/legacy/products/method.d.ts.map +0 -1
  198. package/dist/legacy/products/type.d.ts +0 -24
  199. package/dist/legacy/products/type.d.ts.map +0 -1
  200. package/dist/legacy/promotions/index.d.ts +0 -3
  201. package/dist/legacy/promotions/index.d.ts.map +0 -1
  202. package/dist/legacy/promotions/method.d.ts +0 -4
  203. package/dist/legacy/promotions/method.d.ts.map +0 -1
  204. package/dist/legacy/promotions/type.d.ts +0 -18
  205. package/dist/legacy/promotions/type.d.ts.map +0 -1
  206. package/dist/login/index.d.ts +0 -3
  207. package/dist/login/index.d.ts.map +0 -1
  208. package/dist/login/method.d.ts +0 -23
  209. package/dist/login/method.d.ts.map +0 -1
  210. package/dist/login/type.d.ts.map +0 -1
  211. package/dist/plugin.d.ts +0 -25
  212. package/dist/plugin.d.ts.map +0 -1
  213. package/dist/promotion/index.d.ts +0 -3
  214. package/dist/promotion/index.d.ts.map +0 -1
  215. package/dist/promotion/method.d.ts +0 -13
  216. package/dist/promotion/method.d.ts.map +0 -1
  217. package/dist/promotion/type.d.ts.map +0 -1
  218. package/dist/trialGames/index.d.ts +0 -3
  219. package/dist/trialGames/index.d.ts.map +0 -1
  220. package/dist/trialGames/method.d.ts +0 -9
  221. package/dist/trialGames/method.d.ts.map +0 -1
  222. package/dist/trialGames/type.d.ts.map +0 -1
  223. package/dist/util/axiosConfig.d.ts +0 -3
  224. package/dist/util/axiosConfig.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var t=Object.defineProperty,e=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,o=(e,n,r)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,a=(t,e)=>{for(var n in e||(e={}))s.call(e,n)&&o(t,n,e[n]);if(r)for(var n of r(e))i.call(e,n)&&o(t,n,e[n]);return t},u=(t,e,n)=>new Promise((r,s)=>{var i=t=>{try{a(n.next(t))}catch(e){s(e)}},o=t=>{try{a(n.throw(t))}catch(e){s(e)}},a=t=>t.done?r(t.value):Promise.resolve(t.value).then(i,o);a((n=n.apply(t,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("crypto-js");function c(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}const h="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const f=()=>{},p=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),d=Object.assign,g=Object.prototype.hasOwnProperty,m=(t,e)=>g.call(t,e),v=Array.isArray,y=t=>"[object Map]"===w(t),b=t=>"function"==typeof t,S=t=>"string"==typeof t,_=t=>"symbol"==typeof t,E=t=>null!==t&&"object"==typeof t,T=Object.prototype.toString,w=t=>T.call(t),D=t=>w(t).slice(8,-1),O=t=>S(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,x=(()=>{const t=Object.create(null);return e=>t[e]||(t[e]=(t=>t.charAt(0).toUpperCase()+t.slice(1))(e))})(),N=(t,e)=>!Object.is(t,e);let V;const R=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function A(t){if(v(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],s=S(r)?C(r):A(r);if(s)for(const t in s)e[t]=s[t]}return e}if(S(t)||E(t))return t}const B=/;(?![^(]*\))/g,P=/:([^]+)/,I=/\/\*[^]*?\*\//g;function C(t){const e={};return t.replace(I,"").split(B).forEach(t=>{if(t){const n=t.split(P);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function j(t){let e="";if(S(t))e=t;else if(v(t))for(let n=0;n<t.length;n++){const r=j(t[n]);r&&(e+=r+" ")}else if(E(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}let k,M=0;function L(){M++}function F(){if(--M>0)return;let t;for(;k;){let n=k;for(k=void 0;n;){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(e){t||(t=e)}n=r}}if(t)throw t}class q{constructor(t){this.computed=t,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(t){}trigger(t){this.version++,this.notify(t)}notify(t){L();try{if("production"!==process.env.NODE_ENV)for(let e=this.subsHead;e;e=e.nextSub)!e.sub.onTrigger||8&e.sub.flags||e.sub.onTrigger(d({effect:e.sub},t));for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{F()}}}const H=new WeakMap,U=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),K=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),$=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function z(t,e,n,r,s,i){const o=H.get(t);if(!o)return;const a=o=>{o&&("production"!==process.env.NODE_ENV?o.trigger({target:t,type:e,key:n,newValue:r,oldValue:s,oldTarget:i}):o.trigger())};if(L(),"clear"===e)o.forEach(a);else{const s=v(t),i=s&&O(n);if(s&&"length"===n){const t=Number(r);o.forEach((e,n)=>{("length"===n||n===$||!_(n)&&n>=t)&&a(e)})}else switch((void 0!==n||o.has(void 0))&&a(o.get(n)),i&&a(o.get($)),e){case"add":s?i&&a(o.get("length")):(a(o.get(U)),y(t)&&a(o.get(K)));break;case"delete":s||(a(o.get(U)),y(t)&&a(o.get(K)));break;case"set":y(t)&&a(o.get(U))}}F()}function G(t){const e=Nt(t);return e===t||Ot(t)?e:e.map(Vt)}function Z(t){return Nt(t)}const J={__proto__:null,[Symbol.iterator](){return W(this,Symbol.iterator,Vt)},concat(...t){return G(this).concat(...t.map(t=>v(t)?G(t):t))},entries(){return W(this,"entries",t=>(t[1]=Vt(t[1]),t))},every(t,e){return X(this,"every",t,e,void 0,arguments)},filter(t,e){return X(this,"filter",t,e,t=>t.map(Vt),arguments)},find(t,e){return X(this,"find",t,e,Vt,arguments)},findIndex(t,e){return X(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return X(this,"findLast",t,e,Vt,arguments)},findLastIndex(t,e){return X(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return X(this,"forEach",t,e,void 0,arguments)},includes(...t){return tt(this,"includes",t)},indexOf(...t){return tt(this,"indexOf",t)},join(t){return G(this).join(t)},lastIndexOf(...t){return tt(this,"lastIndexOf",t)},map(t,e){return X(this,"map",t,e,void 0,arguments)},pop(){return et(this,"pop")},push(...t){return et(this,"push",t)},reduce(t,...e){return Q(this,"reduce",t,e)},reduceRight(t,...e){return Q(this,"reduceRight",t,e)},shift(){return et(this,"shift")},some(t,e){return X(this,"some",t,e,void 0,arguments)},splice(...t){return et(this,"splice",t)},toReversed(){return G(this).toReversed()},toSorted(t){return G(this).toSorted(t)},toSpliced(...t){return G(this).toSpliced(...t)},unshift(...t){return et(this,"unshift",t)},values(){return W(this,"values",Vt)}};function W(t,e,n){const r=Z(t),s=r[e]();return r===t||Ot(t)||(s._next=s.next,s.next=()=>{const t=s._next();return t.done||(t.value=n(t.value)),t}),s}const Y=Array.prototype;function X(t,e,n,r,s,i){const o=Z(t),a=o!==t&&!Ot(t),u=o[e];if(u!==Y[e]){const e=u.apply(t,i);return a?Vt(e):e}let l=n;o!==t&&(a?l=function(e,r){return n.call(this,Vt(e),r,t)}:n.length>2&&(l=function(e,r){return n.call(this,e,r,t)}));const c=u.call(o,l,r);return a&&s?s(c):c}function Q(t,e,n,r){const s=Z(t);let i=n;return s!==t&&(Ot(t)?n.length>3&&(i=function(e,r,s){return n.call(this,e,r,s,t)}):i=function(e,r,s){return n.call(this,e,Vt(r),s,t)}),s[e](i,...r)}function tt(t,e,n){const r=Nt(t),s=r[e](...n);return-1!==s&&!1!==s||!xt(n[0])?s:(n[0]=Nt(n[0]),r[e](...n))}function et(t,e,n=[]){L();const r=Nt(t)[e].apply(t,n);return F(),r}const nt=c("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>"arguments"!==t&&"caller"!==t).map(t=>Symbol[t]).filter(_));function st(t){return _(t)||(t=String(t)),Nt(this).hasOwnProperty(t)}class it{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t.__v_skip;const r=this._isReadonly,s=this._isShallow;if("__v_isReactive"===e)return!r;if("__v_isReadonly"===e)return r;if("__v_isShallow"===e)return s;if("__v_raw"===e)return n===(r?s?St:bt:s?yt:vt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=v(t);if(!r){let t;if(i&&(t=J[e]))return t;if("hasOwnProperty"===e)return st}const o=Reflect.get(t,e,At(t)?t:n);if(_(e)?rt.has(e):nt(e))return o;if(s)return o;if(At(o)){const t=i&&O(e)?o:o.value;return r&&E(t)?Et(t):t}return E(o)?r?Et(o):_t(o):o}}class ot extends it{constructor(t=!1){super(!1,t)}set(t,e,n,r){let s=t[e];if(!this._isShallow){const r=Dt(s);if(Ot(n)||Dt(n)||(s=Nt(s),n=Nt(n)),!v(t)&&At(s)&&!At(n))return r?("production"!==process.env.NODE_ENV&&(String(e),t[e]),!0):(s.value=n,!0)}const i=v(t)&&O(e)?Number(e)<t.length:m(t,e),o=Reflect.set(t,e,n,At(t)?t:r);return t===Nt(r)&&(i?N(n,s)&&z(t,"set",e,n,s):z(t,"add",e,n)),o}deleteProperty(t,e){const n=m(t,e),r=t[e],s=Reflect.deleteProperty(t,e);return s&&n&&z(t,"delete",e,void 0,r),s}has(t,e){const n=Reflect.has(t,e);return!_(e)||rt.has(e),n}ownKeys(t){return Reflect.ownKeys(t)}}class at extends it{constructor(t=!1){super(!0,t)}set(t,e){return"production"!==process.env.NODE_ENV&&String(e),!0}deleteProperty(t,e){return"production"!==process.env.NODE_ENV&&String(e),!0}}const ut=new ot,lt=new at,ct=t=>t,ht=t=>Reflect.getPrototypeOf(t);function ft(t){return function(...e){return"production"!==process.env.NODE_ENV&&(e[0]&&e[0],x(t),Nt(this)),"delete"!==t&&("clear"===t?void 0:this)}}function pt(t,e){const n=function(t,e){const n={get(n){const r=this.__v_raw,s=Nt(r),i=Nt(n),{has:o}=ht(s),a=e?ct:t?Rt:Vt;return o.call(s,n)?a(r.get(n)):o.call(s,i)?a(r.get(i)):void(r!==s&&r.get(n))},get size(){const e=this.__v_raw;return!t&&Nt(e),e.size},has(t){const e=this.__v_raw;Nt(e);const n=Nt(t);return t===n?e.has(t):e.has(t)||e.has(n)},forEach(n,r){const s=this,i=s.__v_raw;Nt(i);const o=e?ct:t?Rt:Vt;return i.forEach((t,e)=>n.call(r,o(t),o(e),s))}};return d(n,t?{add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear")}:{add(t){e||Ot(t)||Dt(t)||(t=Nt(t));const n=Nt(this);return ht(n).has.call(n,t)||(n.add(t),z(n,"add",t,t)),this},set(t,n){e||Ot(n)||Dt(n)||(n=Nt(n));const r=Nt(this),{has:s,get:i}=ht(r);let o=s.call(r,t);o?"production"!==process.env.NODE_ENV&&mt(r,s,t):(t=Nt(t),o=s.call(r,t));const a=i.call(r,t);return r.set(t,n),o?N(n,a)&&z(r,"set",t,n,a):z(r,"add",t,n),this},delete(t){const e=Nt(this),{has:n,get:r}=ht(e);let s=n.call(e,t);s?"production"!==process.env.NODE_ENV&&mt(e,n,t):(t=Nt(t),s=n.call(e,t));const i=r?r.call(e,t):void 0,o=e.delete(t);return s&&z(e,"delete",t,void 0,i),o},clear(){const t=Nt(this),e=0!==t.size,n="production"!==process.env.NODE_ENV?y(t)?new Map(t):new Set(t):void 0,r=t.clear();return e&&z(t,"clear",void 0,void 0,n),r}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=function(t,e,n){return function(...r){const s=this.__v_raw,i=Nt(s),o=y(i),a="entries"===t||t===Symbol.iterator&&o,u=s[t](...r),l=n?ct:e?Rt:Vt;return{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:a?[l(t[0]),l(t[1])]:l(t),done:e}},[Symbol.iterator](){return this}}}}(r,t,e)}),n}(t,e);return(e,r,s)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(m(n,r)&&r in e?n:e,r,s)}const dt={get:pt(!1,!1)},gt={get:pt(!0,!1)};function mt(t,e,n){const r=Nt(n);r!==n&&e.call(t,r)&&D(t)}const vt=new WeakMap,yt=new WeakMap,bt=new WeakMap,St=new WeakMap;function _t(t){return Dt(t)?t:Tt(t,!1,ut,dt,vt)}function Et(t){return Tt(t,!0,lt,gt,bt)}function Tt(t,e,n,r,s){if(!E(t))return"production"!==process.env.NODE_ENV&&String(t),t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const i=(o=t).__v_skip||!Object.isExtensible(o)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(D(o));var o;if(0===i)return t;const a=s.get(t);if(a)return a;const u=new Proxy(t,2===i?r:n);return s.set(t,u),u}function wt(t){return Dt(t)?wt(t.__v_raw):!(!t||!t.__v_isReactive)}function Dt(t){return!(!t||!t.__v_isReadonly)}function Ot(t){return!(!t||!t.__v_isShallow)}function xt(t){return!!t&&!!t.__v_raw}function Nt(t){const e=t&&t.__v_raw;return e?Nt(e):t}const Vt=t=>E(t)?_t(t):t,Rt=t=>E(t)?Et(t):t;function At(t){return!!t&&!0===t.__v_isRef}const Bt=[];let Pt=!1;function It(t,...e){if(Pt)return;Pt=!0;const n=Bt.length?Bt[Bt.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=function(){let t=Bt[Bt.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}();if(r)Mt(r,n,11,[t+e.map(t=>{var e,n;return null!=(n=null==(e=t.toString)?void 0:e.call(t))?n:JSON.stringify(t)}).join(""),n&&n.proxy,s.map(({vnode:t})=>`at <${Ee(n,t.type)}>`).join("\n"),s]);else{const n=[`[Vue warn]: ${t}`,...e];s.length&&n.push("\n",...function(t){const e=[];return t.forEach((t,n)=>{e.push(...0===n?[]:["\n"],...function({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=!!t.component&&null==t.component.parent,s=` at <${Ee(t.component,t.type,r)}`,i=">"+n;return t.props?[s,...Ct(t.props),i]:[s+i]}(t))}),e}(s))}Pt=!1}function Ct(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(n=>{e.push(...jt(n,t[n]))}),n.length>3&&e.push(" ..."),e}function jt(t,e,n){return S(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):"number"==typeof e||"boolean"==typeof e||null==e?n?e:[`${t}=${e}`]:At(e)?(e=jt(t,Nt(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):b(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Nt(e),n?e:[`${t}=`,e])}const kt={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 Mt(t,e,n,r){try{return r?t(...r):t()}catch(s){Lt(s,e,n)}}function Lt(t,e,n,r=!0){const s=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||h;if(e){let r=e.parent;const s=e.proxy,o="production"!==process.env.NODE_ENV?kt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,s,o))return;r=r.parent}if(i)return void Mt(i,null,10,[t,s,o])}!function(t,e,n,r=!0,s=!1){if("production"!==process.env.NODE_ENV){const s=kt[e];if(n&&(i=n,Bt.push(i)),It("Unhandled error"+(s?` during execution of ${s}`:"")),n&&Bt.pop(),r)throw t}else if(s)throw t;var i}(t,n,s,r,o)}const Ft=[];let qt=-1;const Ht=[];let Ut=null,Kt=0;const $t=Promise.resolve();let zt=null;function Gt(t){if(!(1&t.flags)){const e=Jt(t),n=Ft[Ft.length-1];!n||!(2&t.flags)&&e>=Jt(n)?Ft.push(t):Ft.splice(function(t){let e=qt+1,n=Ft.length;for(;e<n;){const r=e+n>>>1,s=Ft[r],i=Jt(s);i<t||i===t&&2&s.flags?e=r+1:n=r}return e}(e),0,t),t.flags|=1,Zt()}}function Zt(){zt||(zt=$t.then(Wt))}const Jt=t=>null==t.id?2&t.flags?-1:1/0:t.id;function Wt(t){"production"!==process.env.NODE_ENV&&(t=t||new Map);const e="production"!==process.env.NODE_ENV?e=>Yt(t,e):f;try{for(qt=0;qt<Ft.length;qt++){const t=Ft[qt];if(t&&!(8&t.flags)){if("production"!==process.env.NODE_ENV&&e(t))continue;4&t.flags&&(t.flags&=-2),Mt(t,t.i,t.i?15:14),4&t.flags||(t.flags&=-2)}}}finally{for(;qt<Ft.length;qt++){const t=Ft[qt];t&&(t.flags&=-2)}qt=-1,Ft.length=0,function(t){if(Ht.length){const e=[...new Set(Ht)].sort((t,e)=>Jt(t)-Jt(e));if(Ht.length=0,Ut)return void Ut.push(...e);for(Ut=e,"production"!==process.env.NODE_ENV&&(t=t||new Map),Kt=0;Kt<Ut.length;Kt++){const e=Ut[Kt];"production"!==process.env.NODE_ENV&&Yt(t,e)||(4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2)}Ut=null,Kt=0}}(t),zt=null,(Ft.length||Ht.length)&&Wt(t)}}function Yt(t,e){const n=t.get(e)||0;if(n>100){const t=e.i,n=t&&_e(t.type);return Lt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. 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 t.set(e,n+1),!1}const Xt=new Map;"production"!==process.env.NODE_ENV&&(R().__VUE_HMR_RUNTIME__={createRecord:ne(function(t,e){return!Qt.has(t)&&(Qt.set(t,{initialDef:te(e),instances:new Set}),!0)}),rerender:ne(function(t,e){const n=Qt.get(t);n&&(n.initialDef.render=e,[...n.instances].forEach(t=>{e&&(t.render=e,te(t.type).render=e),t.renderCache=[],8&t.job.flags||t.update()}))}),reload:ne(function(t,e){const n=Qt.get(t);if(!n)return;e=te(e),ee(n.initialDef,e);const r=[...n.instances];for(let i=0;i<r.length;i++){const t=r[i],s=te(t.type);let o=Xt.get(s);o||(s!==n.initialDef&&ee(s,e),Xt.set(s,o=new Set)),o.add(t),t.appContext.propsCache.delete(t.type),t.appContext.emitsCache.delete(t.type),t.appContext.optionsCache.delete(t.type),t.ceReload?(o.add(t),t.ceReload(e.styles),o.delete(t)):t.parent?Gt(()=>{8&t.job.flags||(t.parent.update(),o.delete(t))}):t.appContext.reload?t.appContext.reload():"undefined"!=typeof window&&window.location.reload(),t.root.ce&&t!==t.root&&t.root.ce._removeChildStyle(s)}var s;v(s=()=>{Xt.clear()})?Ht.push(...s):Ut&&-1===s.id?Ut.splice(Kt+1,0,s):1&s.flags||(Ht.push(s),s.flags|=1),Zt()})});const Qt=new Map;function te(t){return Te(t)?t.__vccOpts:t}function ee(t,e){d(t,e);for(const n in t)"__file"===n||n in e||delete t[n]}function ne(t){return(e,n)=>{try{return t(e,n)}catch(r){}}}let re=null;function se(t,e){6&t.shapeFlag&&t.component?(t.transition=e,se(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}R().requestIdleCallback,R().cancelIdleCallback;const ie=Symbol.for("v-ndc");process.env.NODE_ENV;const oe={},ae=t=>Object.getPrototypeOf(t)===oe,ue=Symbol.for("v-fgt"),le=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),he=({key:t})=>null!=t?t:null,fe=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?S(t)||At(t)||b(t)?{i:re,r:t,k:e,f:!!n}:t:null),pe="production"!==process.env.NODE_ENV?(...t)=>de(...t):de;function de(t,e=null,n=null,r=0,s=null,i=!1){if(t&&t!==ie||("production"===process.env.NODE_ENV||t||It(`Invalid vnode type when creating vnode: ${t}.`),t=ce),(o=t)&&!0===o.__v_isVNode){const r=ge(t,e,!0);return n&&ye(r,n),r.patchFlag=-2,r}var o;if(Te(t)&&(t=t.__vccOpts),e){e=function(t){return t?xt(t)||ae(t)?d({},t):t:null}(e);let{class:t,style:n}=e;t&&!S(t)&&(e.class=j(t)),E(n)&&(xt(n)&&!v(n)&&(n=d({},n)),e.style=A(n))}const a=S(t)?1:(t=>t.__isSuspense)(t)?128:(t=>t.__isTeleport)(t)?64:E(t)?4:b(t)?2:0;return"production"!==process.env.NODE_ENV&&4&a&&xt(t)&&It("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: ",t=Nt(t)),function(t,e=null,n=null,r=0,s=null,i=(t===ue?0:1),o=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&he(e),ref:e&&fe(e),scopeId:null,slotScopeIds:null,children:n,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:re};return a?(ye(u,n),128&i&&t.normalize(u)):n&&(u.shapeFlag|=S(n)?8:16),"production"!==process.env.NODE_ENV&&u.key!=u.key&&It("VNode created with invalid key (NaN). VNode type:",u.type),u}(t,e,n,r,s,a,i,!0)}function ge(t,e,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:a,transition:u}=t,l=e?function(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if("class"===t)e.class!==r.class&&(e.class=j([e.class,r.class]));else if("style"===t)e.style=A([e.style,r.style]);else if(p(t)){const n=e[t],s=r[t];!s||n===s||v(n)&&n.includes(s)||(e[t]=n?[].concat(n,s):s)}else""!==t&&(e[t]=r[t])}return e}(s||{},e):s,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&he(l),ref:e&&e.ref?n&&i?v(i)?i.concat(fe(e)):[i,fe(e)]:fe(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===o&&v(a)?a.map(me):a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ue?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ge(t.ssContent),ssFallback:t.ssFallback&&ge(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&r&&se(c,u.clone(c)),c}function me(t){const e=ge(t);return v(t.children)&&(e.children=t.children.map(me)),e}function ve(t=" ",e=0){return pe(le,null,t,e)}function ye(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if(v(e))n=16;else if("object"==typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),ye(t,n()),n._c&&(n._d=!0)))}n=32,e._||ae(e)||(e._ctx=re)}else b(e)?(e={default:e,_ctx:re},n=32):(e=String(e),64&r?(n=16,e=[ve(e)]):n=8);t.children=e,t.shapeFlag|=n}{const t=R(),e=(e,n)=>{let r;return(r=t[e])||(r=t[e]=[]),r.push(n),t=>{r.length>1?r.forEach(e=>e(t)):r[0](t)}};e("__VUE_INSTANCE_SETTERS__",t=>t),e("__VUE_SSR_SETTERS__",t=>t)}process.env.NODE_ENV;const be=/(?:^|[-_])\w/g,Se=t=>t.replace(be,t=>t.toUpperCase()).replace(/[-_]/g,"");function _e(t,e=!0){return b(t)?t.displayName||t.name:t.name||e&&t.__name}function Ee(t,e,n=!1){let r=_e(e);if(!r&&e.__file){const t=e.__file.match(/([^/\\]+)\.\w+$/);t&&(r=t[1])}if(!r&&t&&t.parent){const n=t=>{for(const n in t)if(t[n]===e)return n};r=n(t.components||t.parent.type.components)||n(t.appContext.components)}return r?Se(r):n?"App":"Anonymous"}function Te(t){return b(t)&&"__vccOpts"in t}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 t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},s={__vue_custom_formatter:!0,header(e){if(!E(e))return null;if(e.__isVue)return["div",t,"VueInstance"];if(At(e)){const r=e.value;return["div",{},["span",t,(n=e,Ot(n)?"ShallowRef":n.effect?"ComputedRef":"Ref")],"<",a(r),">"]}var n;return wt(e)?["div",{},["span",t,Ot(e)?"ShallowReactive":"Reactive"],"<",a(e),">"+(Dt(e)?" (readonly)":"")]:Dt(e)?["div",{},["span",t,Ot(e)?"ShallowReadonly":"Readonly"],"<",a(e),">"]:null},hasBody:t=>t&&t.__isVue,body(t){if(t&&t.__isVue)return["div",{},...i(t.$)]}};function i(t){const e=[];t.type.props&&t.props&&e.push(o("props",Nt(t.props))),t.setupState!==h&&e.push(o("setup",t.setupState)),t.data!==h&&e.push(o("data",Nt(t.data)));const n=u(t,"computed");n&&e.push(o("computed",n));const s=u(t,"inject");return s&&e.push(o("injected",s)),e.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:t}]]),e}function o(t,e){return e=d({},e),Object.keys(e).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},t],["div",{style:"padding-left:1.25em"},...Object.keys(e).map(t=>["div",{},["span",r,t+": "],a(e[t],!1)])]]:["span",{}]}function a(t,s=!0){return"number"==typeof t?["span",e,t]:"string"==typeof t?["span",n,JSON.stringify(t)]:"boolean"==typeof t?["span",r,t]:E(t)?["object",{object:s?Nt(t):t}]:["span",n,String(t)]}function u(t,e){const n=t.type;if(b(n))return;const r={};for(const s in t.ctx)l(n,s,e)&&(r[s]=t.ctx[s]);return r}function l(t,e,n){const r=t[n];return!!(v(r)&&r.includes(e)||E(r)&&e in r)||!(!t.extends||!l(t.extends,e,n))||!(!t.mixins||!t.mixins.some(t=>l(t,e,n)))||void 0}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}();const we=At("")?"":new class{constructor(t,e){this.dep=new q,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Nt(t),this._value=e?t:Vt(t),this.__v_isShallow=e}get value(){return"production"!==process.env.NODE_ENV?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this.__v_isShallow||Ot(t)||Dt(t);t=n?t:Nt(t),N(t,e)&&(this._rawValue=t,this._value=n?t:Vt(t),"production"!==process.env.NODE_ENV?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}("",!1),De=t=>{try{const e=JSON.parse(l.AES.decrypt(t,we.value,{format:{stringify:t=>{const e={ct:t.ciphertext.toString(l.enc.Base64)};return t.iv&&(e.iv=t.iv.toString()),t.salt&&(e.s=t.salt.toString()),JSON.stringify(e)},parse:t=>{const e=JSON.parse(t),n=l.lib.CipherParams.create({ciphertext:l.enc.Base64.parse(e.ct)});return e.iv&&(n.iv=l.enc.Hex.parse(e.iv)),e.s&&(n.salt=l.enc.Hex.parse(e.s)),n}}}).toString(l.enc.Utf8));return""!==e?JSON.parse(e):e}catch(e){return""}},Oe=t=>new URLSearchParams(Object.entries(t).map(([t,e])=>[t,String(e)]));function xe(){return""===we.value?0:1}const Ne=(t,e=null)=>u(null,null,function*(){let n=t;e&&(n=`${n}?${Oe(e)}`);const r=yield Re(n,{method:"GET",headers:Ae(),credentials:"include"});if(!r.ok){const t=yield Ie(r);return Promise.reject(t)}return{data:yield xe()?De(r):Pe(r),status:r.status,msg:r.statusText,headers:r.headers,ok:r.ok}}),Ve=(t,e,n=null)=>u(null,null,function*(){let r=t;n&&(r=`${r}?${Oe(n)}`);const s=yield Re(r,{method:"POST",headers:Ae(),body:JSON.stringify(e),credentials:"include"});if(!s.ok){const t=yield Ie(s);return Promise.reject(t)}const i=yield xe()?De(s):Pe(s);if(!i)return{data:{},status:s.status,msg:s.statusText,headers:s.headers,ok:s.ok};const o=(Array.isArray(null==i?void 0:i.responses)?i.responses.filter(t=>null==t?void 0:t.attributes):[])[0];return{data:o?JSON.parse((t=>{try{return atob(t)}catch(e){return""}})(o.attributes)):i,status:s.status,msg:s.statusText,headers:s.headers,ok:s.ok}}),Re=(t,r,s=29e3)=>u(null,null,function*(){const i=new AbortController,o=setTimeout(()=>i.abort(),s);try{return yield fetch(t,(u=a({},r),l={signal:i.signal},e(u,n(l))))}finally{clearTimeout(o)}var u,l}),Ae=()=>{const t=localStorage.getItem("token"),e=Be("XSRF-TOKEN");return a({"Content-Type":"application/json","X-XSRF-TOKEN":e},t?{Authorization:`Bearer ${t}`}:{})},Be=t=>{const e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return e?decodeURIComponent(e[2]):""},Pe=t=>u(null,null,function*(){try{return 204===t.status||"0"===t.headers.get("content-length")?null:yield t.json()}catch(e){return null}}),Ie=t=>u(null,null,function*(){const e=yield Pe(t),n={status:t.status,message:(null==e?void 0:e.message)||t.statusText||"An error occurred"};return 401===t.status||404===t.status||t.status,n}),Ce=Object.freeze(Object.defineProperty({__proto__:null,get:Ne,post:Ve},Symbol.toStringTag,{value:"Module"})),je={data:{game:{},mobileBanner:[],announcement:[],alertAnnouncement:[]}};var ke=(t=>(t.SPORT="SPORT",t.SPECIAL="SPECIAL",t.PVP="PVP",t.LIVE="LIVE",t.EVENT="EVENT",t.ESPORT="ESPORT",t.EGAME="EGAME",t.BINGO="BINGO",t))(ke||{});const Me={data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}},Le={data:{hotfish:[],data:[]}},Fe=t=>{var e,n,r,s,i,o,a,u,l,c,h,f,p,d,g,m,v;return{id:null!=(e=t.id)?e:0,name:null!=(n=t.name)?n:"",ppid:null!=(r=t.pp_id)?r:"",img:null!=(s=t.img)?s:"",desc:null!=(i=t.desc)?i:"",ppname:null!=(o=t.pp_name)?o:"",platformCode:null!=(a=t.platform_code)?a:"",code:null!=(u=t.code)?u:"",flag:null!=(l=t.flag)?l:0,gameId:null!=(c=t.game_id)?c:0,imgSrc:null!=(h=t.imgSrc)?h:"",imgPf:null!=(f=t.imgPf)?f:"",favouriteFlag:1===t.favourite_flag,platformStatusFflag:null!=(p=t.platform_status_Fflag)?p:"",platformFlagName:null!=(d=t.platform_flag_name)?d:"",platformStatusParams:{eb:null!=(g=t.platform_status_params.eb)&&g,fit:null!=(m=t.platform_status_params.fit)&&m,fs:null!=(v=t.platform_status_params.fs)&&v}}},qe={data:[]},He={data:{lang:""}},Ue={data:{objList:[],promoCat:[],resize:0}},Ke={data:[]},$e={data:{liveChat:""}},ze={data:{eGameList:[]}},Ge={data:{mobileBanner:[]}},Ze={data:{csrf:"",getCaptcha:"",verificationBeforeLogin:!1,publicKey:"",concantenatedKey:""}};function Je(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function We(t,e){return t&e}function Ye(t,e){return t|e}function Xe(t,e){return t^e}function Qe(t,e){return t&~e}function tn(t){if(0==t)return-1;var e=0;return 65535&t||(t>>=16,e+=16),255&t||(t>>=8,e+=8),15&t||(t>>=4,e+=4),3&t||(t>>=2,e+=2),1&t||++e,e}function en(t){for(var e=0;0!=t;)t&=t-1,++e;return e}var nn,rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function sn(t){var e,n,r="";for(e=0;e+3<=t.length;e+=3)n=parseInt(t.substring(e,e+3),16),r+=rn.charAt(n>>6)+rn.charAt(63&n);for(e+1==t.length?(n=parseInt(t.substring(e,e+1),16),r+=rn.charAt(n<<2)):e+2==t.length&&(n=parseInt(t.substring(e,e+2),16),r+=rn.charAt(n>>2)+rn.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function on(t){var e,n="",r=0,s=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var i=rn.indexOf(t.charAt(e));i<0||(0==r?(n+=Je(i>>2),s=3&i,r=1):1==r?(n+=Je(s<<2|i>>4),s=15&i,r=2):2==r?(n+=Je(s),n+=Je(i>>2),s=3&i,r=3):(n+=Je(s<<2|i>>4),n+=Je(15&i),r=0))}return 1==r&&(n+=Je(s<<2)),n}var an,un={decode:function(t){var e;if(void 0===an){for(an=Object.create(null),e=0;e<64;++e)an["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(e)]=e;for(an["-"]=62,an._=63,e=0;e<9;++e)an["= \f\n\r\t \u2028\u2029".charAt(e)]=-1}var n=[],r=0,s=0;for(e=0;e<t.length;++e){var i=t.charAt(e);if("="==i)break;if(-1!=(i=an[i])){if(void 0===i)throw new Error("Illegal character at offset "+e);r|=i,++s>=4?(n[n.length]=r>>16,n[n.length]=r>>8&255,n[n.length]=255&r,r=0,s=0):r<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:n[n.length]=r>>10;break;case 3:n[n.length]=r>>16,n[n.length]=r>>8&255}return n},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=un.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return un.decode(t)}},ln=1e13,cn=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,r,s=this.buf,i=s.length;for(n=0;n<i;++n)(r=s[n]*t+e)<ln?e=0:r-=(e=0|r/ln)*ln,s[n]=r;e>0&&(s[n]=e)},t.prototype.sub=function(t){var e,n,r=this.buf,s=r.length;for(e=0;e<s;++e)(n=r[e]-t)<0?(n+=ln,t=1):t=0,r[e]=n;for(;0===r[r.length-1];)r.pop()},t.prototype.toString=function(t){if(10!=(t||10))throw new Error("only base 10 is supported");for(var e=this.buf,n=e[e.length-1].toString(),r=e.length-2;r>=0;--r)n+=(ln+e[r]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*ln+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}(),hn=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,fn=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function pn(t,e){return t.length>e&&(t=t.substring(0,e)+"…"),t}var dn,gn=function(){function t(e,n){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=n)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return"string"==typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,n){for(var r="",s=t;s<e;++s)if(r+=this.hexByte(this.get(s)),!0!==n)switch(15&s){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},t.prototype.isASCII=function(t,e){for(var n=t;n<e;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var n="",r=t;r<e;++r)n+=String.fromCharCode(this.get(r));return n},t.prototype.parseStringUTF=function(t,e){for(var n="",r=t;r<e;){var s=this.get(r++);n+=s<128?String.fromCharCode(s):s>191&&s<224?String.fromCharCode((31&s)<<6|63&this.get(r++)):String.fromCharCode((15&s)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},t.prototype.parseStringBMP=function(t,e){for(var n,r,s="",i=t;i<e;)n=this.get(i++),r=this.get(i++),s+=String.fromCharCode(n<<8|r);return s},t.prototype.parseTime=function(t,e,n){var r=this.parseStringISO(t,e),s=(n?hn:fn).exec(r);return s?(n&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),r=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(r+=":"+s[5],s[6]&&(r+=":"+s[6],s[7]&&(r+="."+s[7]))),s[8]&&(r+=" UTC","Z"!=s[8]&&(r+=s[8],s[9]&&(r+=":"+s[9]))),r):"Unrecognized time: "+r},t.prototype.parseInteger=function(t,e){for(var n,r=this.get(t),s=r>127,i=s?255:0,o="";r==i&&++t<e;)r=this.get(t);if(0===(n=e-t))return s?-1:0;if(n>4){for(o=r,n<<=3;!(128&(+o^i));)o=+o<<1,--n;o="("+n+" bit)\n"}s&&(r-=256);for(var a=new cn(r),u=t+1;u<e;++u)a.mulAdd(256,this.get(u));return o+a.toString()},t.prototype.parseBitString=function(t,e,n){for(var r=this.get(t),s="("+((e-t-1<<3)-r)+" bit)\n",i="",o=t+1;o<e;++o){for(var a=this.get(o),u=o==e-1?r:0,l=7;l>=u;--l)i+=a>>l&1?"1":"0";if(i.length>n)return s+pn(i,n)}return s+i},t.prototype.parseOctetString=function(t,e,n){if(this.isASCII(t,e))return pn(this.parseStringISO(t,e),n);var r=e-t,s="("+r+" byte)\n";r>(n/=2)&&(e=t+n);for(var i=t;i<e;++i)s+=this.hexByte(this.get(i));return r>n&&(s+="…"),s},t.prototype.parseOID=function(t,e,n){for(var r="",s=new cn,i=0,o=t;o<e;++o){var a=this.get(o);if(s.mulAdd(128,127&a),i+=7,!(128&a)){if(""===r)if((s=s.simplify())instanceof cn)s.sub(80),r="2."+s.toString();else{var u=s<80?s<40?0:1:2;r=u+"."+(s-40*u)}else r+="."+s.toString();if(r.length>n)return pn(r,n);s=new cn,i=0}}return i>0&&(r+=".incomplete"),r},t}(),mn=function(){function t(t,e,n,r,s){if(!(r instanceof vn))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=n,this.tag=r,this.sub=s}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+n,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+n,t);case 6:return this.stream.parseOID(e,e+n,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return pn(this.stream.parseStringUTF(e,e+n),t);case 18:case 19:case 20:case 21:case 22:case 26:return pn(this.stream.parseStringISO(e,e+n),t);case 30:return pn(this.stream.parseStringBMP(e,e+n),t);case 23:case 24:return this.stream.parseTime(e,e+n,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var n=0,r=this.sub.length;n<r;++n)e+=this.sub[n].toPrettyString(t)}return e},t.prototype.posStart=function(){return this.stream.pos},t.prototype.posContent=function(){return this.stream.pos+this.header},t.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},t.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},t.decodeLength=function(t){var e=t.get(),n=127&e;if(n==e)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===n)return null;e=0;for(var r=0;r<n;++r)e=256*e+t.get();return e},t.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,n=2*this.length;return t.substring(e,e+n)},t.decode=function(e){var n;n=e instanceof gn?e:new gn(e,0);var r=new gn(n),s=new vn(n),i=t.decodeLength(n),o=n.pos,a=o-r.pos,u=null,l=function(){var e=[];if(null!==i){for(var r=o+i;n.pos<r;)e[e.length]=t.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+o)}else try{for(;;){var s=t.decode(n);if(s.tag.isEOC())break;e[e.length]=s}i=o-n.pos}catch(a){throw new Error("Exception while decoding undefined length content: "+a)}return e};if(s.tagConstructed)u=l();else if(s.isUniversal()&&(3==s.tagNumber||4==s.tagNumber))try{if(3==s.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");u=l();for(var c=0;c<u.length;++c)if(u[c].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(h){u=null}if(null===u){if(null===i)throw new Error("We can't skip over an invalid tag with undefined length at offset "+o);n.pos=o+Math.abs(i)}return new t(r,a,i,s,u)},t}(),vn=function(){function t(t){var e=t.get();if(this.tagClass=e>>6,this.tagConstructed=!!(32&e),this.tagNumber=31&e,31==this.tagNumber){var n=new cn;do{e=t.get(),n.mulAdd(128,127&e)}while(128&e);this.tagNumber=n.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}(),yn=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],bn=(1<<26)/yn[yn.length-1],Sn=function(){function t(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}return t.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<<e)-1,s=!1,i="",o=this.t,a=this.DB-o*this.DB%e;if(o-- >0)for(a<this.DB&&(n=this[o]>>a)>0&&(s=!0,i=Je(n));o>=0;)a<e?(n=(this[o]&(1<<a)-1)<<e-a,n|=this[--o]>>(a+=this.DB-e)):(n=this[o]>>(a-=e)&r,a<=0&&(a+=this.DB,--o)),n>0&&(s=!0),s&&(i+=Je(n));return s?i:"0"},t.prototype.negate=function(){var e=Dn();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Pn(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var n=Dn();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(t.ZERO)>0&&e.subTo(n,n),n},t.prototype.modPowInt=function(t,e){var n;return n=t<256||e.isEven()?new En(e):new Tn(e),this.exp(t,n)},t.prototype.clone=function(){var t=Dn();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},t.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var n,r=this.DB-t*this.DB%8,s=0;if(t-- >0)for(r<this.DB&&(n=this[t]>>r)!=(this.s&this.DM)>>r&&(e[s++]=n|this.s<<this.DB-r);t>=0;)r<8?(n=(this[t]&(1<<r)-1)<<8-r,n|=this[--t]>>(r+=this.DB-8)):(n=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),128&n&&(n|=-256),0==s&&(128&this.s)!=(128&n)&&++s,(s>0||n!=this.s)&&(e[s++]=n);return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=Dn();return this.bitwiseTo(t,We,e),e},t.prototype.or=function(t){var e=Dn();return this.bitwiseTo(t,Ye,e),e},t.prototype.xor=function(t){var e=Dn();return this.bitwiseTo(t,Xe,e),e},t.prototype.andNot=function(t){var e=Dn();return this.bitwiseTo(t,Qe,e),e},t.prototype.not=function(){for(var t=Dn(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},t.prototype.shiftLeft=function(t){var e=Dn();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},t.prototype.shiftRight=function(t){var e=Dn();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},t.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+tn(this[t]);return this.s<0?this.t*this.DB:-1},t.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,n=0;n<this.t;++n)t+=en(this[n]^e);return t},t.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:!!(this[e]&1<<t%this.DB)},t.prototype.setBit=function(t){return this.changeBit(t,Ye)},t.prototype.clearBit=function(t){return this.changeBit(t,Qe)},t.prototype.flipBit=function(t){return this.changeBit(t,Xe)},t.prototype.add=function(t){var e=Dn();return this.addTo(t,e),e},t.prototype.subtract=function(t){var e=Dn();return this.subTo(t,e),e},t.prototype.multiply=function(t){var e=Dn();return this.multiplyTo(t,e),e},t.prototype.divide=function(t){var e=Dn();return this.divRemTo(t,e,null),e},t.prototype.remainder=function(t){var e=Dn();return this.divRemTo(t,null,e),e},t.prototype.divideAndRemainder=function(t){var e=Dn(),n=Dn();return this.divRemTo(t,e,n),[e,n]},t.prototype.modPow=function(t,e){var n,r,s=t.bitLength(),i=Bn(1);if(s<=0)return i;n=s<18?1:s<48?3:s<144?4:s<768?5:6,r=s<8?new En(e):e.isEven()?new wn(e):new Tn(e);var o=[],a=3,u=n-1,l=(1<<n)-1;if(o[1]=r.convert(this),n>1){var c=Dn();for(r.sqrTo(o[1],c);a<=l;)o[a]=Dn(),r.mulTo(c,o[a-2],o[a]),a+=2}var h,f,p=t.t-1,d=!0,g=Dn();for(s=Pn(t[p])-1;p>=0;){for(s>=u?h=t[p]>>s-u&l:(h=(t[p]&(1<<s+1)-1)<<u-s,p>0&&(h|=t[p-1]>>this.DB+s-u)),a=n;!(1&h);)h>>=1,--a;if((s-=a)<0&&(s+=this.DB,--p),d)o[h].copyTo(i),d=!1;else{for(;a>1;)r.sqrTo(i,g),r.sqrTo(g,i),a-=2;a>0?r.sqrTo(i,g):(f=i,i=g,g=f),r.mulTo(g,o[h],i)}for(;p>=0&&!(t[p]&1<<s);)r.sqrTo(i,g),f=i,i=g,g=f,--s<0&&(s=this.DB-1,--p)}return r.revert(i)},t.prototype.modInverse=function(e){var n=e.isEven();if(this.isEven()&&n||0==e.signum())return t.ZERO;for(var r=e.clone(),s=this.clone(),i=Bn(1),o=Bn(0),a=Bn(0),u=Bn(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(e,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;s.isEven();)s.rShiftTo(1,s),n?(a.isEven()&&u.isEven()||(a.addTo(this,a),u.subTo(e,u)),a.rShiftTo(1,a)):u.isEven()||u.subTo(e,u),u.rShiftTo(1,u);r.compareTo(s)>=0?(r.subTo(s,r),n&&i.subTo(a,i),o.subTo(u,o)):(s.subTo(r,s),n&&a.subTo(i,a),u.subTo(o,u))}return 0!=s.compareTo(t.ONE)?t.ZERO:u.compareTo(e)>=0?u.subtract(e):u.signum()<0?(u.addTo(e,u),u.signum()<0?u.add(e):u):u},t.prototype.pow=function(t){return this.exp(t,new _n)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(e.compareTo(n)<0){var r=e;e=n,n=r}var s=e.getLowestSetBit(),i=n.getLowestSetBit();if(i<0)return e;for(s<i&&(i=s),i>0&&(e.rShiftTo(i,e),n.rShiftTo(i,n));e.signum()>0;)(s=e.getLowestSetBit())>0&&e.rShiftTo(s,e),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return i>0&&n.lShiftTo(i,n),n},t.prototype.isProbablePrime=function(t){var e,n=this.abs();if(1==n.t&&n[0]<=yn[yn.length-1]){for(e=0;e<yn.length;++e)if(n[0]==yn[e])return!0;return!1}if(n.isEven())return!1;for(e=1;e<yn.length;){for(var r=yn[e],s=e+1;s<yn.length&&r<bn;)r*=yn[s++];for(r=n.modInt(r);e<s;)if(r%yn[e++]==0)return!1}return n.millerRabin(t)},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(e,n);r=2}this.t=0,this.s=0;for(var s=e.length,i=!1,o=0;--s>=0;){var a=8==r?255&+e[s]:An(e,s);a<0?"-"==e.charAt(s)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+r>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,(o+=r)>=this.DB&&(o-=this.DB))}8==r&&128&+e[0]&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&t.ZERO.subTo(this,this)},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.dlShiftTo=function(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var n=t;n<this.t;++n)e[n-t]=this[n];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.lShiftTo=function(t,e){for(var n=t%this.DB,r=this.DB-n,s=(1<<r)-1,i=Math.floor(t/this.DB),o=this.s<<n&this.DM,a=this.t-1;a>=0;--a)e[a+i+1]=this[a]>>r|o,o=(this[a]&s)<<n;for(a=i-1;a>=0;--a)e[a]=0;e[i]=o,e.t=this.t+i+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)e.t=0;else{var r=t%this.DB,s=this.DB-r,i=(1<<r)-1;e[0]=this[n]>>r;for(var o=n+1;o<this.t;++o)e[o-n-1]|=(this[o]&i)<<s,e[o-n]=this[o]>>r;r>0&&(e[this.t-n-1]|=(this.s&i)<<s),e.t=this.t-n,e.clamp()}},t.prototype.subTo=function(t,e){for(var n=0,r=0,s=Math.min(t.t,this.t);n<s;)r+=this[n]-t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r-=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r-=t[n],e[n++]=r&this.DM,r>>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()},t.prototype.multiplyTo=function(e,n){var r=this.abs(),s=e.abs(),i=r.t;for(n.t=i+s.t;--i>=0;)n[i]=0;for(i=0;i<s.t;++i)n[i+r.t]=r.am(0,s[i],n,i,0,r.t);n.s=0,n.clamp(),this.s!=e.s&&t.ZERO.subTo(n,n)},t.prototype.squareTo=function(t){for(var e=this.abs(),n=t.t=2*e.t;--n>=0;)t[n]=0;for(n=0;n<e.t-1;++n){var r=e.am(n,e[n],t,2*n,0,1);(t[n+e.t]+=e.am(n+1,2*e[n],t,2*n+1,r,e.t-n-1))>=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,n,r){var s=e.abs();if(!(s.t<=0)){var i=this.abs();if(i.t<s.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=Dn());var o=Dn(),a=this.s,u=e.s,l=this.DB-Pn(s[s.t-1]);l>0?(s.lShiftTo(l,o),i.lShiftTo(l,r)):(s.copyTo(o),i.copyTo(r));var c=o.t,h=o[c-1];if(0!=h){var f=h*(1<<this.F1)+(c>1?o[c-2]>>this.F2:0),p=this.FV/f,d=(1<<this.F1)/f,g=1<<this.F2,m=r.t,v=m-c,y=null==n?Dn():n;for(o.dlShiftTo(v,y),r.compareTo(y)>=0&&(r[r.t++]=1,r.subTo(y,r)),t.ONE.dlShiftTo(c,y),y.subTo(o,o);o.t<c;)o[o.t++]=0;for(;--v>=0;){var b=r[--m]==h?this.DM:Math.floor(r[m]*p+(r[m-1]+g)*d);if((r[m]+=o.am(0,b,r,v,0,c))<b)for(o.dlShiftTo(v,y),r.subTo(y,r);r[m]<--b;)r.subTo(y,r)}null!=n&&(r.drShiftTo(c,n),a!=u&&t.ZERO.subTo(n,n)),r.t=c,r.clamp(),l>0&&r.rShiftTo(l,r),a<0&&t.ZERO.subTo(r,r)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,n){if(e>4294967295||e<1)return t.ONE;var r=Dn(),s=Dn(),i=n.convert(this),o=Pn(e)-1;for(i.copyTo(r);--o>=0;)if(n.sqrTo(r,s),(e&1<<o)>0)n.mulTo(s,i,r);else{var a=r;r=s,s=a}return n.revert(r)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),r=Bn(n),s=Dn(),i=Dn(),o="";for(this.divRemTo(r,s,i);s.signum()>0;)o=(n+i.intValue()).toString(t).substring(1)+o,s.divRemTo(r,s,i);return i.intValue().toString(t)+o},t.prototype.fromRadix=function(e,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),s=Math.pow(n,r),i=!1,o=0,a=0,u=0;u<e.length;++u){var l=An(e,u);l<0?"-"==e.charAt(u)&&0==this.signum()&&(i=!0):(a=n*a+l,++o>=r&&(this.dMultiply(s),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(n,o)),this.dAddOffset(a,0)),i&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,n,r){if("number"==typeof n)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),Ye,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this);else{var s=[],i=7&e;s.length=1+(e>>3),n.nextBytes(s),i>0?s[0]&=(1<<i)-1:s[0]=0,this.fromString(s,256)}},t.prototype.bitwiseTo=function(t,e,n){var r,s,i=Math.min(t.t,this.t);for(r=0;r<i;++r)n[r]=e(this[r],t[r]);if(t.t<this.t){for(s=t.s&this.DM,r=i;r<this.t;++r)n[r]=e(this[r],s);n.t=this.t}else{for(s=this.s&this.DM,r=i;r<t.t;++r)n[r]=e(s,t[r]);n.t=t.t}n.s=e(this.s,t.s),n.clamp()},t.prototype.changeBit=function(e,n){var r=t.ONE.shiftLeft(e);return this.bitwiseTo(r,n,r),r},t.prototype.addTo=function(t,e){for(var n=0,r=0,s=Math.min(t.t,this.t);n<s;)r+=this[n]+t[n],e[n++]=r&this.DM,r>>=this.DB;if(t.t<this.t){for(r+=t.s;n<this.t;)r+=this[n],e[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<t.t;)r+=t[n],e[n++]=r&this.DM,r>>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,n){var r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var s=n.t-this.t;r<s;++r)n[r+this.t]=this.am(0,t[r],n,r,0,this.t);for(s=Math.min(t.t,e);r<s;++r)this.am(0,t[r],n,r,0,e-r);n.clamp()},t.prototype.multiplyUpperTo=function(t,e,n){--e;var r=n.t=this.t+t.t-e;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(e-this.t,0);r<t.t;++r)n[this.t+r-e]=this.am(e-r,t[r],n,0,0,this.t+r-e);n.clamp(),n.drShiftTo(1,n)},t.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var r=this.t-1;r>=0;--r)n=(e*n+this[r])%t;return n},t.prototype.millerRabin=function(e){var n=this.subtract(t.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var s=n.shiftRight(r);(e=e+1>>1)>yn.length&&(e=yn.length);for(var i=Dn(),o=0;o<e;++o){i.fromInt(yn[Math.floor(Math.random()*yn.length)]);var a=i.modPow(s,this);if(0!=a.compareTo(t.ONE)&&0!=a.compareTo(n)){for(var u=1;u++<r&&0!=a.compareTo(n);)if(0==(a=a.modPowInt(2,this)).compareTo(t.ONE))return!1;if(0!=a.compareTo(n))return!1}}return!0},t.prototype.square=function(){var t=Dn();return this.squareTo(t),t},t.prototype.gcda=function(t,e){var n=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(n.compareTo(r)<0){var s=n;n=r,r=s}var i=n.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)e(n);else{i<o&&(o=i),o>0&&(n.rShiftTo(o,n),r.rShiftTo(o,r));var a=function(){(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(a,0):(o>0&&r.lShiftTo(o,r),setTimeout(function(){e(r)},0))};setTimeout(a,10)}},t.prototype.fromNumberAsync=function(e,n,r,s){if("number"==typeof n)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),Ye,this),this.isEven()&&this.dAddOffset(1,0);var i=this,o=function(){i.dAddOffset(2,0),i.bitLength()>e&&i.subTo(t.ONE.shiftLeft(e-1),i),i.isProbablePrime(n)?setTimeout(function(){s()},0):setTimeout(o,0)};setTimeout(o,0)}else{var a=[],u=7&e;a.length=1+(e>>3),n.nextBytes(a),u>0?a[0]&=(1<<u)-1:a[0]=0,this.fromString(a,256)}},t}(),_n=function(){function t(){}return t.prototype.convert=function(t){return t},t.prototype.revert=function(t){return t},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n)},t.prototype.sqrTo=function(t,e){t.squareTo(e)},t}(),En=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),Tn=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=Dn();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(Sn.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=Dn();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var n=32767&t[e],r=n*this.mpl+((n*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[n=e+this.m.t]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),wn=function(){function t(t){this.m=t,this.r2=Dn(),this.q3=Dn(),Sn.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=Dn();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,n){t.multiplyTo(e,n),this.reduce(n)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function Dn(){return new Sn(null)}function On(t,e){return new Sn(t,e)}var xn="undefined"!=typeof navigator;xn&&"Microsoft Internet Explorer"==navigator.appName?(Sn.prototype.am=function(t,e,n,r,s,i){for(var o=32767&e,a=e>>15;--i>=0;){var u=32767&this[t],l=this[t++]>>15,c=a*u+l*o;s=((u=o*u+((32767&c)<<15)+n[r]+(1073741823&s))>>>30)+(c>>>15)+a*l+(s>>>30),n[r++]=1073741823&u}return s},dn=30):xn&&"Netscape"!=navigator.appName?(Sn.prototype.am=function(t,e,n,r,s,i){for(;--i>=0;){var o=e*this[t++]+n[r]+s;s=Math.floor(o/67108864),n[r++]=67108863&o}return s},dn=26):(Sn.prototype.am=function(t,e,n,r,s,i){for(var o=16383&e,a=e>>14;--i>=0;){var u=16383&this[t],l=this[t++]>>14,c=a*u+l*o;s=((u=o*u+((16383&c)<<14)+n[r]+s)>>28)+(c>>14)+a*l,n[r++]=268435455&u}return s},dn=28),Sn.prototype.DB=dn,Sn.prototype.DM=(1<<dn)-1,Sn.prototype.DV=1<<dn,Sn.prototype.FV=Math.pow(2,52),Sn.prototype.F1=52-dn,Sn.prototype.F2=2*dn-52;var Nn,Vn,Rn=[];for(Nn="0".charCodeAt(0),Vn=0;Vn<=9;++Vn)Rn[Nn++]=Vn;for(Nn="a".charCodeAt(0),Vn=10;Vn<36;++Vn)Rn[Nn++]=Vn;for(Nn="A".charCodeAt(0),Vn=10;Vn<36;++Vn)Rn[Nn++]=Vn;function An(t,e){var n=Rn[t.charCodeAt(e)];return null==n?-1:n}function Bn(t){var e=Dn();return e.fromInt(t),e}function Pn(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}Sn.ZERO=Bn(0),Sn.ONE=Bn(1);var In,Cn,jn=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,n,r;for(e=0;e<256;++e)this.S[e]=e;for(n=0,e=0;e<256;++e)n=n+this.S[e]+t[e%t.length]&255,r=this.S[e],this.S[e]=this.S[n],this.S[n]=r;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}(),kn=null;if(null==kn){kn=[],Cn=0;var Mn=void 0;if("undefined"!=typeof window&&self.crypto&&self.crypto.getRandomValues){var Ln=new Uint32Array(256);for(self.crypto.getRandomValues(Ln),Mn=0;Mn<Ln.length;++Mn)kn[Cn++]=255&Ln[Mn]}var Fn=0,qn=function(t){if((Fn=Fn||0)>=256||Cn>=256)self.removeEventListener?self.removeEventListener("mousemove",qn,!1):self.detachEvent&&self.detachEvent("onmousemove",qn);else try{var e=t.x+t.y;kn[Cn++]=255&e,Fn+=1}catch(n){}};"undefined"!=typeof window&&(self.addEventListener?self.addEventListener("mousemove",qn,!1):self.attachEvent&&self.attachEvent("onmousemove",qn))}function Hn(){if(null==In){for(In=new jn;Cn<256;){var t=Math.floor(65536*Math.random());kn[Cn++]=255&t}for(In.init(kn),Cn=0;Cn<kn.length;++Cn)kn[Cn]=0;Cn=0}return In.next()}var Un=function(){function t(){}return t.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=Hn()},t}();function Kn(t){return function(t){for(var e="",n=0;n<32*t.length;n+=8)e+=String.fromCharCode(t[n>>5]>>>24-n%32&255);return e}(function(t,e){var n,r,s,i,o,a,u,l,c,h,f,p,d=new Array(1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225),g=new Array(64);for(t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e,c=0;c<t.length;c+=16){for(n=d[0],r=d[1],s=d[2],i=d[3],o=d[4],a=d[5],u=d[6],l=d[7],h=0;h<64;h++)g[h]=h<16?t[h+c]:er(er(er(Qn(g[h-2]),g[h-7]),Xn(g[h-15])),g[h-16]),f=er(er(er(er(l,Yn(o)),Zn(o,a,u)),tr[h]),g[h]),p=er(Wn(n),Jn(n,r,s)),l=u,u=a,a=o,o=er(i,f),i=s,s=r,r=n,n=er(f,p);d[0]=er(n,d[0]),d[1]=er(r,d[1]),d[2]=er(s,d[2]),d[3]=er(i,d[3]),d[4]=er(o,d[4]),d[5]=er(a,d[5]),d[6]=er(u,d[6]),d[7]=er(l,d[7])}return d}(function(t){for(var e=Array(t.length>>2),n=0;n<e.length;n++)e[n]=0;for(n=0;n<8*t.length;n+=8)e[n>>5]|=(255&t.charCodeAt(n/8))<<24-n%32;return e}(t),8*t.length))}function $n(t){for(var e="0123456789abcdef",n="",r=0;r<t.length;r++){var s=t.charCodeAt(r);n+=e.charAt(s>>>4&15)+e.charAt(15&s)}return n}function zn(t,e){return t>>>e|t<<32-e}function Gn(t,e){return t>>>e}function Zn(t,e,n){return t&e^~t&n}function Jn(t,e,n){return t&e^t&n^e&n}function Wn(t){return zn(t,2)^zn(t,13)^zn(t,22)}function Yn(t){return zn(t,6)^zn(t,11)^zn(t,25)}function Xn(t){return zn(t,7)^zn(t,18)^Gn(t,3)}function Qn(t){return zn(t,17)^zn(t,19)^Gn(t,10)}var tr=new Array(1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998);function er(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function nr(t,e){if(e<t.length+11)return null;for(var n=[],r=t.length-1;r>=0&&e>0;){var s=t.charCodeAt(r--);s<128?n[--e]=s:s>127&&s<2048?(n[--e]=63&s|128,n[--e]=s>>6|192):(n[--e]=63&s|128,n[--e]=s>>6&63|128,n[--e]=s>>12|224)}n[--e]=0;for(var i=new Un,o=[];e>2;){for(o[0]=0;0==o[0];)i.nextBytes(o);n[--e]=o[0]}return n[--e]=2,n[--e]=0,new Sn(n)}function rr(t,e,n){for(var r="",s=0;r.length<e;)r+=n(String.fromCharCode.apply(String,t.concat([(4278190080&s)>>24,(16711680&s)>>16,(65280&s)>>8,255&s]))),s+=1;return r}function sr(t,e){var n=Kn;if(t.length+64+2>e)throw"Message too long for RSA";var r,s="";for(r=0;r<e-t.length-64-2;r+=1)s+="\0";var i=n("")+s+""+t,o=new Array(32);(new Un).nextBytes(o);var a=rr(o,i.length,n),u=[];for(r=0;r<i.length;r+=1)u[r]=i.charCodeAt(r)^a.charCodeAt(r);var l=rr(u,o.length,n),c=[0];for(r=0;r<o.length;r+=1)c[r+1]=o[r]^l.charCodeAt(r);return new Sn(c.concat(u))}var ir=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),n=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(n)<0;)e=e.add(this.p);return e.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0&&(this.n=On(t,16),this.e=parseInt(e,16))},t.prototype.encrypt=function(t,e){void 0===e&&(e=nr);var n=this.n.bitLength()+7>>3,r=e(t,n);if(null==r)return null;var s=this.doPublic(r);if(null==s)return null;for(var i=s.toString(16),o=i.length,a=0;a<2*n-o;a++)i="0"+i;return i},t.prototype.setPrivate=function(t,e,n){null!=t&&null!=e&&t.length>0&&e.length>0&&(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16))},t.prototype.setPrivateEx=function(t,e,n,r,s,i,o,a){null!=t&&null!=e&&t.length>0&&e.length>0&&(this.n=On(t,16),this.e=parseInt(e,16),this.d=On(n,16),this.p=On(r,16),this.q=On(s,16),this.dmp1=On(i,16),this.dmq1=On(o,16),this.coeff=On(a,16))},t.prototype.generate=function(t,e){var n=new Un,r=t>>1;this.e=parseInt(e,16);for(var s=new Sn(e,16);;){for(;this.p=new Sn(t-r,1,n),0!=this.p.subtract(Sn.ONE).gcd(s).compareTo(Sn.ONE)||!this.p.isProbablePrime(10););for(;this.q=new Sn(r,1,n),0!=this.q.subtract(Sn.ONE).gcd(s).compareTo(Sn.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var i=this.p;this.p=this.q,this.q=i}var o=this.p.subtract(Sn.ONE),a=this.q.subtract(Sn.ONE),u=o.multiply(a);if(0==u.gcd(s).compareTo(Sn.ONE)){this.n=this.p.multiply(this.q),this.d=s.modInverse(u),this.dmp1=this.d.mod(o),this.dmq1=this.d.mod(a),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=On(t,16),n=this.doPrivate(e);return null==n?null:function(t,e){for(var n=t.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=e-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var s="";++r<n.length;){var i=255&n[r];i<128?s+=String.fromCharCode(i):i>191&&i<224?(s+=String.fromCharCode((31&i)<<6|63&n[r+1]),++r):(s+=String.fromCharCode((15&i)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return s}(n,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,n){var r=new Un,s=t>>1;this.e=parseInt(e,16);var i=new Sn(e,16),o=this,a=function(){var e=function(){if(o.p.compareTo(o.q)<=0){var t=o.p;o.p=o.q,o.q=t}var e=o.p.subtract(Sn.ONE),r=o.q.subtract(Sn.ONE),s=e.multiply(r);0==s.gcd(i).compareTo(Sn.ONE)?(o.n=o.p.multiply(o.q),o.d=i.modInverse(s),o.dmp1=o.d.mod(e),o.dmq1=o.d.mod(r),o.coeff=o.q.modInverse(o.p),setTimeout(function(){n()},0)):setTimeout(a,0)},u=function(){o.q=Dn(),o.q.fromNumberAsync(s,1,r,function(){o.q.subtract(Sn.ONE).gcda(i,function(t){0==t.compareTo(Sn.ONE)&&o.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(u,0)})})},l=function(){o.p=Dn(),o.p.fromNumberAsync(t-s,1,r,function(){o.p.subtract(Sn.ONE).gcda(i,function(t){0==t.compareTo(Sn.ONE)&&o.p.isProbablePrime(10)?setTimeout(u,0):setTimeout(l,0)})})};setTimeout(l,0)};setTimeout(a,0)},t.prototype.sign=function(t,e,n){var r=(or[n]||"")+e(t).toString(),s=this.n.bitLength()/4,i=function(t,e){if(e<t.length+22)return null;for(var n=e-t.length-6,r="",s=0;s<n;s+=2)r+="ff";return On("0001"+r+"00"+t,16)}(r,s);if(null==i)return null;var o=this.doPrivate(i);if(null==o)return null;for(var a=o.toString(16),u=a.length,l=0;l<s-u;l++)a="0"+a;return a},t.prototype.verify=function(t,e,n){var r=On(e,16),s=this.doPublic(r);return null==s?null:function(t){for(var e in or)if(or.hasOwnProperty(e)){var n=or[e],r=n.length;if(t.substring(0,r)==n)return t.substring(r)}return t}(s.toString(16).replace(/^1f+00/,""))==n(t).toString()},t}(),or={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function ar(t,e,n){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}var ur={};void 0!==ur.asn1&&ur.asn1||(ur.asn1={}),ur.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substring(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substring(1).length;n%2==1?n+=1:e.match(/^[0-7]/)||(n+=2);for(var r="",s=0;s<n;s++)r+="f";e=new Sn(r,16).xor(t).add(Sn.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return hextopem(t,e)},this.newObject=function(t){var e=ur.asn1,n=e.DERBoolean,r=e.DERInteger,s=e.DERBitString,i=e.DEROctetString,o=e.DERNull,a=e.DERObjectIdentifier,u=e.DEREnumerated,l=e.DERUTF8String,c=e.DERNumericString,h=e.DERPrintableString,f=e.DERTeletexString,p=e.DERIA5String,d=e.DERUTCTime,g=e.DERGeneralizedTime,m=e.DERSequence,v=e.DERSet,y=e.DERTaggedObject,b=e.ASN1Util.newObject,S=Object.keys(t);if(1!=S.length)throw"key of param shall be only one.";var _=S[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+_+":"))throw"undefined key: "+_;if("bool"==_)return new n(t[_]);if("int"==_)return new r(t[_]);if("bitstr"==_)return new s(t[_]);if("octstr"==_)return new i(t[_]);if("null"==_)return new o(t[_]);if("oid"==_)return new a(t[_]);if("enum"==_)return new u(t[_]);if("utf8str"==_)return new l(t[_]);if("numstr"==_)return new c(t[_]);if("prnstr"==_)return new h(t[_]);if("telstr"==_)return new f(t[_]);if("ia5str"==_)return new p(t[_]);if("utctime"==_)return new d(t[_]);if("gentime"==_)return new g(t[_]);if("seq"==_){for(var E=t[_],T=[],w=0;w<E.length;w++){var D=b(E[w]);T.push(D)}return new m({array:T})}if("set"==_){for(E=t[_],T=[],w=0;w<E.length;w++)D=b(E[w]),T.push(D);return new v({array:T})}if("tag"==_){var O=t[_];if("[object Array]"===Object.prototype.toString.call(O)&&3==O.length){var x=b(O[2]);return new y({tag:O[0],explicit:O[1],obj:x})}var N={};if(void 0!==O.explicit&&(N.explicit=O.explicit),void 0!==O.tag&&(N.tag=O.tag),void 0===O.obj)throw"obj shall be specified for 'tag'.";return N.obj=b(O.obj),new y(N)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},ur.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",n=parseInt(t.substring(0,2),16),r=(e=Math.floor(n/40)+"."+n%40,""),s=2;s<t.length;s+=2){var i=("00000000"+parseInt(t.substring(s,s+2),16).toString(2)).slice(-8);r+=i.substring(1,8),"0"==i.substring(0,1)&&(e=e+"."+new Sn(r,2).toString(10),r="")}return e},ur.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new Sn(t,10).toString(2),s=7-r.length%7;7==s&&(s=0);for(var i="",o=0;o<s;o++)i+="0";for(r=i+r,o=0;o<r.length-1;o+=7){var a=r.substring(o,o+7);o!=r.length-7&&(a="1"+a),n+=e(parseInt(a,2))}return n};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",s=t.split("."),i=40*parseInt(s[0])+parseInt(s[1]);r+=e(i),s.splice(0,2);for(var o=0;o<s.length;o++)r+=n(s[o]);return r},ur.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n=0,v="+this.hV;var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var n=e.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+n).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},ur.asn1.DERAbstractString=function(t){ur.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},ar(ur.asn1.DERAbstractString,ur.asn1.ASN1Object),ur.asn1.DERAbstractTime=function(t){ur.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){return utc=t.getTime()+6e4*t.getTimezoneOffset(),new Date(utc)},this.formatDate=function(t,e,n){var r=this.zeroPadding,s=this.localDateToUTC(t),i=String(s.getFullYear());"utc"==e&&(i=i.substring(2,4));var o=i+r(String(s.getMonth()+1),2)+r(String(s.getDate()),2)+r(String(s.getHours()),2)+r(String(s.getMinutes()),2)+r(String(s.getSeconds()),2);if(!0===n){var a=s.getMilliseconds();if(0!=a){var u=r(String(a),3);o=o+"."+(u=u.replace(/[0]+$/,""))}}return o+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,n,r,s,i){var o=new Date(Date.UTC(t,e-1,n,r,s,i,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},ar(ur.asn1.DERAbstractTime,ur.asn1.ASN1Object),ur.asn1.DERAbstractStructured=function(t){ur.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},ar(ur.asn1.DERAbstractStructured,ur.asn1.ASN1Object),ur.asn1.DERBoolean=function(){ur.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},ar(ur.asn1.DERBoolean,ur.asn1.ASN1Object),ur.asn1.DERInteger=function(t){ur.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ur.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new Sn(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},ar(ur.asn1.DERInteger,ur.asn1.ASN1Object),ur.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ur.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ur.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var n="0"+t;this.hTLV=null,this.isModified=!0,this.hV=n+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var n=0;n<=e;n++)t+="0";var r="";for(n=0;n<t.length-1;n+=8){var s=t.substring(n,n+8),i=parseInt(s,2).toString(16);1==i.length&&(i="0"+i),r+=i}this.hTLV=null,this.isModified=!0,this.hV="0"+e+r},this.setByBooleanArray=function(t){for(var e="",n=0;n<t.length;n++)1==t[n]?e+="1":e+="0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),n=0;n<t;n++)e[n]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},ar(ur.asn1.DERBitString,ur.asn1.ASN1Object),ur.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ur.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}ur.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},ar(ur.asn1.DEROctetString,ur.asn1.DERAbstractString),ur.asn1.DERNull=function(){ur.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},ar(ur.asn1.DERNull,ur.asn1.ASN1Object),ur.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",r=new Sn(t,10).toString(2),s=7-r.length%7;7==s&&(s=0);for(var i="",o=0;o<s;o++)i+="0";for(r=i+r,o=0;o<r.length-1;o+=7){var a=r.substring(o,o+7);o!=r.length-7&&(a="1"+a),n+=e(parseInt(a,2))}return n};ur.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var r="",s=t.split("."),i=40*parseInt(s[0])+parseInt(s[1]);r+=e(i),s.splice(0,2);for(var o=0;o<s.length;o++)r+=n(s[o]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(t){var e=ur.asn1.x509.OID.name2oid(t);if(""===e)throw"DERObjectIdentifier oidName undefined: "+t;this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t):void 0!==t.oid?this.setValueOidString(t.oid):void 0!==t.hex?this.setValueHex(t.hex):void 0!==t.name&&this.setValueName(t.name))},ar(ur.asn1.DERObjectIdentifier,ur.asn1.ASN1Object),ur.asn1.DEREnumerated=function(t){ur.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ur.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new Sn(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},ar(ur.asn1.DEREnumerated,ur.asn1.ASN1Object),ur.asn1.DERUTF8String=function(t){ur.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},ar(ur.asn1.DERUTF8String,ur.asn1.DERAbstractString),ur.asn1.DERNumericString=function(t){ur.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},ar(ur.asn1.DERNumericString,ur.asn1.DERAbstractString),ur.asn1.DERPrintableString=function(t){ur.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},ar(ur.asn1.DERPrintableString,ur.asn1.DERAbstractString),ur.asn1.DERTeletexString=function(t){ur.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},ar(ur.asn1.DERTeletexString,ur.asn1.DERAbstractString),ur.asn1.DERIA5String=function(t){ur.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},ar(ur.asn1.DERIA5String,ur.asn1.DERAbstractString),ur.asn1.DERUTCTime=function(t){ur.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},ar(ur.asn1.DERUTCTime,ur.asn1.DERAbstractTime),ur.asn1.DERGeneralizedTime=function(t){ur.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},ar(ur.asn1.DERGeneralizedTime,ur.asn1.DERAbstractTime),ur.asn1.DERSequence=function(t){ur.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},ar(ur.asn1.DERSequence,ur.asn1.DERAbstractStructured),ur.asn1.DERSet=function(t){ur.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var n=this.asn1Array[e];t.push(n.getEncodedHex())}return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},ar(ur.asn1.DERSet,ur.asn1.DERAbstractStructured),ur.asn1.DERTaggedObject=function(t){ur.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,n){this.hT=e,this.isExplicit=t,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.tag&&(this.hT=t.tag),void 0!==t.explicit&&(this.isExplicit=t.explicit),void 0!==t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},ar(ur.asn1.DERTaggedObject,ur.asn1.ASN1Object);var lr,cr=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hr=function(t){function e(n){var r=t.call(this)||this;return n&&("string"==typeof n?r.parseKey(n):(e.hasPrivateKeyProperty(n)||e.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return cr(e,t),e.prototype.parseKey=function(t){try{var e=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(t)?function(t){var e;if(void 0===nn){var n="0123456789ABCDEF";for(nn={},e=0;e<16;++e)nn[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)nn[n.charAt(e)]=e;for(e=0;e<8;++e)nn[" \f\n\r\t \u2028\u2029".charAt(e)]=-1}var r=[],s=0,i=0;for(e=0;e<t.length;++e){var o=t.charAt(e);if("="==o)break;if(-1!=(o=nn[o])){if(void 0===o)throw new Error("Illegal character at offset "+e);s|=o,++i>=2?(r[r.length]=s,s=0,i=0):s<<=4}}if(i)throw new Error("Hex encoding incomplete: 4 bits missing");return r}(t):un.unarmor(t),s=mn.decode(r);if(3===s.sub.length&&(s=s.sub[2].sub[0]),9===s.sub.length){e=s.sub[1].getHexStringValue(),this.n=On(e,16),n=s.sub[2].getHexStringValue(),this.e=parseInt(n,16);var i=s.sub[3].getHexStringValue();this.d=On(i,16);var o=s.sub[4].getHexStringValue();this.p=On(o,16);var a=s.sub[5].getHexStringValue();this.q=On(a,16);var u=s.sub[6].getHexStringValue();this.dmp1=On(u,16);var l=s.sub[7].getHexStringValue();this.dmq1=On(l,16);var c=s.sub[8].getHexStringValue();this.coeff=On(c,16)}else{if(2!==s.sub.length)return!1;if(s.sub[0].sub){var h=s.sub[1].sub[0];e=h.sub[0].getHexStringValue(),this.n=On(e,16),n=h.sub[1].getHexStringValue(),this.e=parseInt(n,16)}else e=s.sub[0].getHexStringValue(),this.n=On(e,16),n=s.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(f){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new ur.asn1.DERInteger({int:0}),new ur.asn1.DERInteger({bigint:this.n}),new ur.asn1.DERInteger({int:this.e}),new ur.asn1.DERInteger({bigint:this.d}),new ur.asn1.DERInteger({bigint:this.p}),new ur.asn1.DERInteger({bigint:this.q}),new ur.asn1.DERInteger({bigint:this.dmp1}),new ur.asn1.DERInteger({bigint:this.dmq1}),new ur.asn1.DERInteger({bigint:this.coeff})]};return new ur.asn1.DERSequence(t).getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return sn(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new ur.asn1.DERSequence({array:[new ur.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new ur.asn1.DERNull]}),e=new ur.asn1.DERSequence({array:[new ur.asn1.DERInteger({bigint:this.n}),new ur.asn1.DERInteger({int:this.e})]}),n=new ur.asn1.DERBitString({hex:"00"+e.getEncodedHex()});return new ur.asn1.DERSequence({array:[t,n]}).getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return sn(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(!t)return t;var n="(.{1,"+(e=e||64)+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(n,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return(t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return(t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},e.hasPublicKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return(t=t||{}).hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(ir),fr="undefined"!=typeof process?null===(lr=process.env)||void 0===lr?void 0:lr.npm_package_version:void 0,pr=function(){function t(t){void 0===t&&(t={}),this.default_key_size=t.default_key_size?parseInt(t.default_key_size,10):1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=t.key||null}return t.prototype.setKey=function(t){t?(this.log&&this.key,this.key=new hr(t)):!this.key&&this.log},t.prototype.setPrivateKey=function(t){this.setKey(t)},t.prototype.setPublicKey=function(t){this.setKey(t)},t.prototype.decrypt=function(t){try{return this.getKey().decrypt(on(t))}catch(e){return!1}},t.prototype.encrypt=function(t){try{return sn(this.getKey().encrypt(t))}catch(e){return!1}},t.prototype.encryptOAEP=function(t){try{return sn(this.getKey().encrypt(t,sr))}catch(e){return!1}},t.prototype.sign=function(t,e,n){void 0===e&&(e=function(t){return t}),void 0===n&&(n="");try{return sn(this.getKey().sign(t,e,n))}catch(r){return!1}},t.prototype.signSha256=function(t){return this.sign(t,function(t){return $n(Kn(t))},"sha256")},t.prototype.verify=function(t,e,n){void 0===n&&(n=function(t){return t});try{return this.getKey().verify(t,on(e),n)}catch(r){return!1}},t.prototype.verifySha256=function(t,e){return this.verify(t,e,function(t){return $n(Kn(t))})},t.prototype.getKey=function(t){if(!this.key){if(this.key=new hr,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},t.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},t.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},t.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},t.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},t.version=fr,t}();const dr={data:{key:""}},gr=()=>u(null,null,function*(){let t=a({status:200,message:""},dr);try{const e=(yield Ne("/mbuhx0as4kui",{ajax:1,render:xe(),json:1})).data;t.data={key:e.key}}catch(e){t=a({status:e.status||500,message:e.message},dr)}return t}),mr={data:{msg:"",accessToken:"",fullName:"",unreadMailCount:"",status:"",username:"",walletAmount:"",captcha:""}},vr={data:{winnerList:[]}};exports.GameType=ke,exports.api=Ce,exports.cmsListApi=()=>u(null,null,function*(){let t=a({status:200,message:""},Ge);try{const e=(yield Ne("/apis/cmsList",{render:xe(),json:1})).data;t.data={mobileBanner:e.results.mobileBanner.map(t=>t.content)}}catch(e){t=a({status:e.status||500,message:e.message},Ge)}return t}),exports.csLinkApi=()=>u(null,null,function*(){var t;let e=a({status:200,message:""},$e);try{const n=(yield Ne("/apis/cslink",{render:xe(),json:1})).data;e.data={liveChat:null!=(t=n.livechat)?t:""}}catch(n){e=a({status:n.status||500,message:n.message},$e)}return e}),exports.currentLangApi=()=>u(null,null,function*(){let t=a({status:200,message:""},He);try{const e=(yield Ne("/apis/currentLang",{render:xe(),json:1})).data;t.data={lang:e}}catch(e){t=a({status:e.status||500,message:e.message},He)}return t}),exports.eGameApi=t=>u(null,null,function*(){let e=a({status:200,message:""},ze);try{const n=(yield Ne(`/apis/egame/json/${t}`,{render:xe(),json:1})).data;e.data={eGameList:n.map(t=>{var e,n,r,s,i,o,a,u,l,c,h,f;return{gameId:null!=(e=t.game_id)?e:"",imgSrc:null!=(n=t.imgSrc)?n:"",imgPf:null!=(r=t.imgPf)?r:"",name:null!=(s=t.name)?s:"",favouriteFlag:1===t.favourite_flag,platformStatusFflag:null!=(i=t.platform_status_Fflag)?i:"",platformFlagName:null!=(o=t.platform_flag_name)?o:"",platformStatusParams:{eb:null!=(a=t.platform_status_params.eb)&&a,fit:null!=(u=t.platform_status_params.fit)&&u,fs:null!=(l=t.platform_status_params.fs)&&l},progressive:null!=(c=t.progressive)?c:"",gameCategory:null!=(h=t.game_category)?h:"",ppid:null!=(f=t.pp_id)?f:""}})}}catch(n){e=a({status:n.status||500,message:n.message},ze)}return e}),exports.fishGamesApi=()=>u(null,null,function*(){let t=a({status:200,message:""},Le);try{const e=(yield Ne("/apis/fishGames",{render:xe(),json:1})).data;t.data={hotfish:e.hotfish.map(t=>Fe(t)),data:e.data.map(t=>Fe(t))}}catch(e){t=a({status:e.status||500,message:e.message},Le)}return t}),exports.getLocaleApi=()=>u(null,null,function*(){let t=a({status:200,message:""},Ke);try{const e=(yield Ne("/apis/getLocale",{render:xe(),json:1})).data,n=[];Object.entries(e).map(([t,e])=>n.push({code:t,label:e.label})),t.data=n}catch(e){t=a({status:e.status||500,message:e.message},Ke)}return t}),exports.getLoginKeyApi=gr,exports.getSettingApi=t=>u(null,null,function*(){var e,n;let r=a({status:200,message:""},Ze);try{const s=(yield Ne("/apis/getSetting",{setting:`${t}`,render:xe(),json:1})).data;r.data={csrf:null!=(e=s.csrf)?e:"",getCaptcha:null!=(n=s.data.CAPTCHA)?n:"",verificationBeforeLogin:"1"===s.data["slide-verification"],publicKey:s.data.encryptkey?s.data.encryptkey.pub.replace(/-----BEGIN PUBLIC KEY-----|-----END PUBLIC KEY-----|\r|\n|=#/g,""):"",concantenatedKey:s.data.encryptkey?Object.keys(s.data.encryptkey.pubarr).join("+"):""}}catch(s){r=a({status:s.status||500,message:s.message},Ze)}return r}),exports.getWinnerListApi=()=>u(null,null,function*(){let t=a({status:200,message:""},vr);try{const e=(yield Ne("/apis/getWinnerList",{render:xe(),json:1})).data;t.data={winnerList:e.results.notifications}}catch(e){t=a({status:e.status||500,message:e.message},vr)}return t}),exports.homeApi=()=>u(null,null,function*(){let t=a({status:200,message:""},je);try{const e=(yield Ne("/apis/home",{render:xe(),json:1})).data;t.data={game:Object.fromEntries(Object.entries(e.game).map(([t,e])=>[t,e.map(t=>(t=>{var e,n,r,s,i,o,a,u,l,c,h,f,p,d,g,m,v,y,b,S,_,E,T,w,D,O,x,N,V,R,A,B,P,I,C,j,k;return{id:null!=(e=t.id)?e:0,idPlatformMaster:null!=(n=t.id_PlatformMaster)?n:0,idProductMaster:null!=(r=t.id_ProductMaster)?r:0,name:null!=(s=t.name)?s:"",shortName:null!=(i=t.shortName)?i:"",img:null!=(o=t.img)?o:"",mobileUrl:null!=(a=t.mobileUrl)?a:"",url:null!=(u=t.url)?u:"",desc:null!=(l=t.desc)?l:"",seq:null!=(c=t.seq)?c:0,flag:null!=(h=t.flag)?h:0,status:null!=(f=t.status)?f:"",createdBy:null!=(p=t.created_by)?p:0,createdOn:null!=(d=t.created_on)?d:"",categoryID:null!=(g=t.categoryid)?g:0,com:null!=(m=t.com)?m:"",cur:null!=(v=t.cur)?v:"",pt:null!=(y=t.pt)?y:"",ppName:null!=(b=t.pp_name)?b:"",ppImage:null!=(S=t.pp_image)?S:"",platformCode:null!=(_=t.platform_code)?_:"",platformName:null!=(E=t.platform_name)?E:"",classIcon:null!=(T=t.class_icon)?T:"",productCode:null!=(w=t.product_code)?w:"",productName:null!=(D=t.product_name)?D:"",gameID:null!=(O=t.game_id)?O:0,fAuth:null!=(x=t.fAuth)&&x,platformStatusParams:{eb:null!=(N=t.platform_status_params.eb)&&N,fit:null!=(V=t.platform_status_params.fit)&&V,fs:null!=(R=t.platform_status_params.fs)&&R},loginFlag:"1"===t.login_flag,link:null!=(A=t.link)?A:"",favouriteFlag:1===t.favourite_flag,platformStatusFlag:null!=(B=t.platform_status_flag)?B:"",platformFlagName:null!=(P=t.platform_flag_name)?P:"",homeLogo:null!=(I=t.home_logo)?I:"",imgPf:null!=(C=t.imgPf)?C:"",imgSport:null!=(j=t.imgSport)?j:"",imgTemplate:null!=(k=t.imgTemplate)?k:""}})(t))])),mobileBanner:e.mobileBanner.map(t=>{var e,n,r,s,i,o,a;return{name:null!=(e=t.name)?e:"",content:null!=(n=t.content)?n:"",link:null!=(r=t.link)?r:"",linkTarget:null!=(s=t.link_target)?s:"",updatedOn:null!=(i=t.updated_on)?i:"",idCmsCategory:null!=(o=t.id_cms_category)?o:0,contentOrg:null!=(a=t.content_org)?a:""}}),announcement:e.announcement.map(t=>{var e,n,r,s,i,o,a,u,l,c,h,f,p,d,g;return{announcementIndex:null!=(e=t.announcement_index)?e:0,announcementEnglish:null!=(n=t.announcement_english)?n:"",announcementSimplified:null!=(r=t.announcement_simplified)?r:"",announcementTraditional:null!=(s=t.announcement_traditional)?s:"",announcementMalay:null!=(i=t.announcement_malay)?i:"",announcementStatus:"1"===t.announcement_status,announcementShow:"1"===t.announcement_show,announcementAlert:"1"===t.announcement_alert,announcementUser:"1"===t.announcement_user,announcementSequence:null!=(o=t.announcement_sequence)?o:0,announcementCompany:"1"===t.announcement_company,companyIndex:null!=(a=t.companyindex)?a:0,announcementLastUpdated:null!=(u=t.announcement_lastupdated)?u:"",announcementDateCreated:null!=(l=t.announcement_datecreated)?l:"",announcementSmaid:null!=(c=t.announcement_smaid)?c:"",annTimer:null!=(h=t.ann_timer)?h:"",annStart:null!=(f=t.ann_start)?f:"",annEnd:null!=(p=t.ann_end)?p:"",grp:null!=(d=t.grp)?d:"",time:null!=(g=t.time)?g:""}}),alertAnnouncement:e.alert_announcement.map(t=>{var e,n;return{announcementDateCreated:null!=(e=t.announcement_datecreated)?e:"",announcementSimplified:null!=(n=t.announcement_simplified)?n:""}})}}catch(e){t=a({status:e.status||500,message:e.message},je)}return t}),exports.hotGamesApi=()=>u(null,null,function*(){var t,e,n,r,s,i,o,u,l;let c=a({status:200,message:""},Me);try{const a=(yield Ne("/apis/hotGames",{render:xe(),json:1})).data;c.data={currentPage:null!=(t=a.current_page)?t:0,data:a.data.map(t=>{var e,n,r,s,i,o,a,u,l,c,h,f,p,d,g,m,v;return{id:null!=(e=t.id)?e:0,name:null!=(n=t.name)?n:"",pfid:null!=(r=t.pfid)?r:0,ppname:null!=(s=t.ppname)?s:"",code:null!=(i=t.code)?i:"",img:null!=(o=t.img)?o:"",progressive:null!=(a=t.progressive)?a:"",ppid:null!=(u=t.ppid)?u:0,notry:1===t.notry,productCode:null!=(l=t.product_code)?l:"",imgSrc:null!=(c=t.imgSrc)?c:"",imgPf:null!=(h=t.imgPf)?h:"",favouriteFlag:1===t.favourite_flag,platformStatusFlag:null!=(f=t.platform_status_flag)?f:"",platformFlagName:null!=(p=t.platform_flag_name)?p:"",platformStatusParams:{eb:null!=(d=t.platform_status_params.eb)&&d,fit:null!=(g=t.platform_status_params.fit)&&g,fs:null!=(m=t.platform_status_params.fs)&&m},gameId:null!=(v=t.game_id)?v:0}}),from:null!=(e=a.from)?e:0,lastPage:null!=(n=a.last_page)?n:0,nextPageUrl:null!=(r=a.next_page_url)?r:"",path:null!=(s=a.path)?s:"",perPage:null!=(i=a.per_page)?i:0,prevPageUrl:null!=(o=a.prev_page_url)?o:"",to:null!=(u=a.to)?u:0,total:null!=(l=a.total)?l:0}}catch(h){c=a({status:h.status||500,message:h.message},Me)}return c}),exports.loginApi=(t,e,n,r,s,i,o,l)=>u(null,null,function*(){var u,c,h,f,p,d,g,m;let v=a({status:200,message:""},mr);const y=t,b=e,S=n,_=s;try{let t;i&&(t=(yield gr()).data);const e=new pr;e.setPublicKey(o);let n=r.host.split(":")[0];const s=e.encrypt(n.trim());n=s&&n.length<53?s:n.trim();const a={};a.fr_username=e.encrypt(y.trim()),a.fr_password=e.encrypt(b.trim()),a.fr_gdcode=S,a.isApp=_,a.domain=n,a._token=l,a.json=1,a.encrypt=1,t&&Object.assign(a,t);const E=(yield Ve("/kdink8anl8z3",a,{render:xe(),json:1})).data;v.data={msg:null!=(u=E.msg)?u:"",accessToken:null!=(c=E.access_token)?c:"",fullName:null!=(h=E.fullname)?h:"",unreadMailCount:null!=(f=E.news)?f:"",status:null!=(p=E.status)?p:"",username:null!=(d=E.username)?d:"",walletAmount:null!=(g=E.wallet)?g:"",captcha:null!=(m=E.captcha)?m:""}}catch(E){v=a({status:E.status||500,message:E.message},mr)}return v}),exports.promotionApi=()=>u(null,null,function*(){let t=a({status:200,message:""},Ue);try{const e=(yield Ne("/apis/promotion",{render:xe(),json:1})).data;t.data={objList:e.objList.map(t=>{var e,n,r,s,i,o,a,u,l,c,h,f,p,d,g,m,v,y,b,S,_,E,T,w,D,O,x,N;return{promoIndex:null!=(e=t.promoindex)?e:0,type:null!=(n=t.type)?n:0,thumb:null!=(r=t.thumb)?r:0,title:null!=(s=t.title)?s:"",displayTime:null!=(i=t.display_time)?i:"",handle:null!=(o=t.handle)?o:"",content:null!=(a=t.content)?a:"",langList:null!=(u=t.lang_list)?u:"",agentList:null!=(l=t.agent_list)?l:"",dateCreated:null!=(c=t.datecreated)?c:"",updateBy:null!=(h=t.updateby)?h:"",lastUpdated:null!=(f=t.lastupdated)?f:"",sequence:null!=(p=t.sequence)?p:0,status:1===t.status,timer:null!=(d=t.timer)?d:"",stime:null!=(g=t.stime)?g:"",etime:null!=(m=t.etime)?m:"",smaid:null!=(v=t.smaid)?v:"",companyIndex:null!=(y=t.companyindex)?y:"",fileName:null!=(b=t.filename)?b:"",version:null!=(S=t.version)?S:"",categoryName:null!=(_=t.category_name)?_:"",barImg:null!=(E=t.bar_img)?E:"",buttonImg:null!=(T=t.button_img)?T:"",promoImg:null!=(w=t.promo_image)?w:"",catId:null!=(D=t.catid)?D:"",imageType:null!=(O=t.image_type)?O:"",image:null!=(x=t.image)?x:"",isLink:t.isLink,latestUpdate:null!=(N=t.latestupdate)?N:""}}),promoCat:e.promoCat.map(t=>{var e,n,r,s;return{catId:null!=(e=t.catid)?e:0,name:null!=(n=t.name)?n:"",barImg:null!=(r=t.bar_img)?r:"",buttonImg:null!=(s=t.button_img)?s:""}}),resize:e.resize}}catch(e){t=a({status:e.status||500,message:e.message},Ue)}return t}),exports.trialGamesApi=()=>u(null,null,function*(){let t=a({status:200,message:""},qe);try{const e=(yield Ne("/apis/trialGames",{render:xe(),json:1})).data;t.data=e.map(t=>{var e,n;return{ppid:null!=(e=t.ppid)?e:0,ppname:null!=(n=t.ppname)?n:"",games:t.games.map(e=>{var n,r,s,i,o,a,u,l,c,h,f,p;return{id:null!=(n=e.id)?n:0,name:null!=(r=e.name)?r:"",img:null!=(s=e.img)?s:"",progressive:null!=(i=e.progressive)?i:"",notry:1===e.notry,imgSrc:null!=(o=e.imgSrc)?o:"",imgPf:null!=(a=e.imgPf)?a:"",favouriteFlag:1===e.favourite_flag,platformStatusFflag:null!=(u=e.platform_status_Fflag)?u:"",platformFlagName:null!=(l=e.platform_flag_name)?l:"",platformStatusParams:{eb:null!=(c=e.platform_status_params.eb)&&c,fit:null!=(h=e.platform_status_params.fit)&&h,fs:null!=(f=e.platform_status_params.fs)&&f},ppname:null!=(p=t.ppname)?p:""}})}})}catch(e){t=a({status:e.status||500,message:e.message},qe)}return t});