koishi-plugin-wordle-game 2.0.7 → 2.0.8

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.
@@ -235,7 +235,7 @@ const Gl = "1.1.2"
235
235
  // }
236
236
  // })
237
237
  // }
238
- var Hl =""
238
+ var Hl = ""
239
239
 
240
240
  class Ul {
241
241
  constructor(e) {
@@ -328,7 +328,7 @@ function cl(n) {
328
328
  // }
329
329
  // const gt = Ql()
330
330
  // const he = Fl();
331
- export function Kl(isHardMode) {
331
+ const Kl = function(isHardMode) {
332
332
  const n = {
333
333
  boardState: new Array(Ne).fill(!1).map(() => new Array(ce).fill(!1).map(() => "")),
334
334
  rowIndex: 0,
@@ -339,30 +339,13 @@ export function Kl(isHardMode) {
339
339
  hardMode: isHardMode,
340
340
  dailyConsumedQuota: 0
341
341
  };
342
- // let e = ze(Me({}, n), {
343
- // updateSolution: function (t) {
344
- // this.update(l => ze(Me({}, l), {
345
- // boardState: new Array(Ne).fill(!1).map(() => new Array(ce).fill(!1).map(() => "")),
346
- // rowIndex: 0,
347
- // solution: t,
348
- // gameStatus: le.IN_PROGRESS,
349
- // lastPlayedTs: null
350
- // }))
351
- // }
352
- // });
353
- return n
354
- // he && (
355
- // e = ze(Me({}, e), {
356
- // commit: ()=>{}
357
- // }),
358
- // gt !== void 0 && e.update(t=>ze(Me({}, t), {
359
- // hardMode: gt != null ? gt : !1
360
- // }))),
361
-
342
+ return n;
362
343
  }
363
344
 
364
- export const ae = Kl()
365
- , Vl = {
345
+ module.exports.Kl = Kl;
346
+
347
+ const ae = Kl()
348
+ const Vl = {
366
349
  keepShadow: !0,
367
350
  correctThreshold: .5,
368
351
  presentThreshold: 1,
@@ -1880,7 +1863,7 @@ function $s(n, e, t) {
1880
1863
  return Math.sqrt(l) / 1024
1881
1864
  }
1882
1865
 
1883
- export function Ot(n, e, t, Ct) {
1866
+ module.exports.Ot = function (n, e, t, Ct) {
1884
1867
  const l = je(Ct)
1885
1868
  // console.log(l)
1886
1869
  const s = [...(t == null ? void 0 : t.shadows) || n.medians.map(() => ({
@@ -3236,32 +3219,32 @@ const Vs = "modulepreload"
3236
3219
  // // console.error(`Can not initialize firebase logger with ${o}`)
3237
3220
  // }
3238
3221
 
3239
- // class s {
3240
- // constructor(i) {
3241
- // this.firebaseAnalytics = i,
3242
- // // et.subscribe(u=>{
3243
- // // this.updateCollectionPolicy(u)
3244
- // // }
3245
- // // ),
3246
- // this.updateCollectionPolicy(je(et))
3247
- // }
3248
- //
3249
- // updateCollectionPolicy(i) {
3250
- // l.then(u => {
3251
- // this.firebaseAnalytics && u.setAnalyticsCollectionEnabled(this.firebaseAnalytics, i)
3252
- // }
3253
- // )
3254
- // }
3255
- //
3256
- // logEvent(i) {
3257
- // !this.firebaseAnalytics || !je(et) || l.then(u => {
3258
- // u.logEvent(this.firebaseAnalytics, i.name, i.params)
3259
- // }
3260
- // )
3261
- // }
3262
- // }
3263
- //
3264
- // return new s(e)
3222
+ // class s {
3223
+ // constructor(i) {
3224
+ // this.firebaseAnalytics = i,
3225
+ // // et.subscribe(u=>{
3226
+ // // this.updateCollectionPolicy(u)
3227
+ // // }
3228
+ // // ),
3229
+ // this.updateCollectionPolicy(je(et))
3230
+ // }
3231
+ //
3232
+ // updateCollectionPolicy(i) {
3233
+ // l.then(u => {
3234
+ // this.firebaseAnalytics && u.setAnalyticsCollectionEnabled(this.firebaseAnalytics, i)
3235
+ // }
3236
+ // )
3237
+ // }
3238
+ //
3239
+ // logEvent(i) {
3240
+ // !this.firebaseAnalytics || !je(et) || l.then(u => {
3241
+ // u.logEvent(this.firebaseAnalytics, i.name, i.params)
3242
+ // }
3243
+ // )
3244
+ // }
3245
+ // }
3246
+ //
3247
+ // return new s(e)
3265
3248
  // }
3266
3249
  //
3267
3250
  // const Oe = Zs()