-
Notifications
You must be signed in to change notification settings - Fork 0
/
WarehouseBalancer.js
537 lines (524 loc) · 112 KB
/
WarehouseBalancer.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
//script by Sophie "Shinko to Kuma". Skype: live:sophiekitsune discord: Sophie#2418 website: https://shinko-to-kuma.my-free.website/
// Updated on 15 Januari by Sass. Fix to mobile
var _0x10d1 = ['Agyag/falu', 'mobile', 'Verstuur\x20grondstoffen', 'settingsWHBalancerSophie', '.content-border', 'builtOutPercentage', '<div\x20id=\x27totals\x27\x20class=\x27sophHeader\x27\x20border=0>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20id=\x27totalsAndAverages\x27\x20width=\x27100%\x27>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20class=\x27sophRowA\x27>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>', 'round', 'trim', 'ΣίδεÃÂο', 'Balanceador\x20de\x20recursos', 'market', 'prepend', 'append', 'Legno\x20per\x20villaggio', 'Warehouse\x20balancer', 'done', 'الهدÙÂ', 'ΑÀοÃĀολή\x20ÀÃÅ’ÃÂÉν', 'ΑÀÃÅ’ÃĀαÃη', '1811Zfibzn', 'find', 'availableMerchants', 'Ferro', 'source', 'Madeira\x20por\x20aldeia', 'Összes\x20agyag', '#highPoints', 'iron', '</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22sendResources\x22\x20class=\x22flex-container\x20sophHeader\x22\x20style=\x22position:\x20relative\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22sophRowA\x20collapsible\x22\x20style=\x22width:\x20250px;min-width:\x20230px;\x22>Open\x20settings\x20menu</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22content\x20submenu\x22\x20style=\x22width:\x20500px;height:500px;z-index:99999\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<form\x20id=\x22settings\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20style=\x22border-spacing:\x202px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22isMinting\x22>Ignore\x20settings</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22checkbox\x22\x20name=\x22isMinting\x22></td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22lowPoints\x22>Prioritise</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22range\x22\x20min=\x220\x22\x20max=\x2213000\x22\x20step=\x2210\x22\x20value=\x22', 'مجموع\x20الطمي', 'Wood', 'Premium-Depot', '.collapsible', 'Premium\x20Beurs', 'Célállomás', 'de_CH', 'ar_AE', 'Distance', 'dataset', '#progress', 'totalMerchants', '#mobile_header', 'Gemaakt\x20door\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', '.res.wood,.warn_90.wood,.warn.wood', 'Systeem', ' Warehouse\x20capacity:\x20', 'highPoints', 'Criado\x20por\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', '\x20,\x20', 'Total\x20fier', '#trades_table\x20tr', '3kDTcHY', 'of\x20the\x20list', '835tRaqYh', '\x27\x20class=\x27sophRowA\x27', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>', '\x20height=\x2240\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>', '.res.iron,.warn_90.iron,.warn.iron', 'موارنة\x20الموارد', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20width=\x2225%\x22\x20style=\x22text-align:center\x22>', 'Total\x20Holz', 'remove', 'طمي\x20لكل\x20قرية', 'Rohstoff\x20vrschicke', 'Ijzer\x20per\x20dorp', 'value', 'parse', 'ÃŽ ηλÃŒÂ', 'Too\x20much\x20wood\x20incoming\x20in\x20', 'undefined', 'checked', 'maxHeight', 'href', '<div\x20class=\x27sophRowA\x27\x20style=\x27width:800px\x27\x20><center><h1>Shortages:</h1><table\x20class=\x27sophHeader\x27><tr\x20class=\x27sophHeader\x27><td>Village\x20name</td><td>Res</td></tr>', '\x20needs\x20help\x20growing,\x20setting\x20required\x20resources\x20to\x20', 'sitter', 'KészÃÂtette:\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', ',\x20or\x20village\x20points\x20are\x20higher\x20than\x20the\x20required\x20setting:\x20', 'style', '</a>\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20width=\x2250\x22\x20style=\x22text-align:center\x22>', 'Isä\x20pro\x20Dorf', 'Legno', '#sendResources', 'sort', 'Iron\x20per\x20village', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20', '>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>', '<div\x20class=\x27sophRowA\x27\x20style=\x27width:800px\x27\x20><table\x20style=\x27width:100%\x27><tr\x20class=\x22sophHeader\x22><td>Village</td><td>Points</td><td>Merchants\x20left</td><td\x20colspan=\x223\x22>Resources</td><td>WH\x20capacity</td></tr>', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22res\x20iron\x22\x20style=\x22padding-left:1em\x22> </span>', '\x22\x20class=\x22slider\x22\x20name=\x22needsMorePercentage\x22\x20oninput=\x22sliderChange(\x27needsMorePercentage\x27,this.value)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<output\x20id=\x22needsMorePercentage\x22></output></td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22button\x22\x20class=\x22btn\x20evt-confirm-btn\x20btn-confirm-yes\x22\x20value=\x22Save\x22\x20onclick=\x22saveSettings();\x22/></td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20colspan=\x222\x22\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<p\x20style=\x22padding:5px\x22><font\x20size=\x221\x22>Script\x20by\x20Sophie\x20\x22Shinko\x20to\x20Kuma\x22</font></p>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</form>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<table\x20id=\x22tableSend\x22\x20width=\x22100%\x22\x20class=\x22sophHeader\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tbody\x20id=\x22appendHere\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20colspan=7\x20width=“550â€Â\x20style=\x22text-align:center\x22\x20>', 'Wood\x20per\x20village', 'تمت\x20البرمجه\x20من\x20\x27Shinko\x20to\x20Kuma\x27', 'Leem', '\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Max\x20final\x20capacity:\x20', 'error', '#settings', ':button[id^=\x22building\x22]', 'ÃŽâ€ÃŽÂ·ÃŽÂ¼ÃŽÂ¹ÃŽÂ¿Ã…ÃÂγήθηκε\x20αÀÃÅ’\x20Äην\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', 'Schimb\x20Premium', 'ΧÉÃÂιÃÅ’\x20ÃĀÃŒÇοÂ', 'Managed\x20to\x20grab\x20the\x20page', '</table></div>', 'Afstand', 'css', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20.sophRowA\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#dedede;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#545454;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowB\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#f1f1f1;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#545454;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophHeader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#ded9d9;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#545454;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophLink\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:#1626ff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#00a1fe\x200%,\x20#5d9afd\x2030%,\x20#1626ff\x2080%,\x20#1f15e1\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:white\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie:hover\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#b8bcf2\x200%,\x20#babbfc\x2030%,\x20#8c86fa\x2080%,\x20#969fff\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.collapsible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#dedede;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#f1f1f1;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>', 'Sat\x20Sursa', 'text', 'Lehm\x20pro\x20Dorf', '\x22\x20class=\x22slider\x22\x20name=\x22lowPoints\x22\x20oninput=\x22sliderChange(\x27lowPoints\x27,this.value)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<\x20<output\x20id=\x22lowPoints\x22></output>\x20points</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22highPoints\x22>Finished\x20villages</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22range\x22\x20min=\x220\x22\x20max=\x2213000\x22\x20step=\x2210\x22\x20value=\x22', 'Fa/falu', '&screen=overview_villages&mode=trader&type=inc&page=-1&type=inc', '#needsMorePercentage', 'isMinting', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20width=\x2210%\x22\x20style=\x22text-align:center\x22>', '#mobileHeader', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</tr>', 'needsMorePercentage', '\x20wood,\x20', '<span\x20class=\x22icon\x20header\x20stone\x22>\x20</span></td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20width=\x2250\x22\x20style=\x22text-align:center\x22>', '\x20clay,\x20and\x20', 'ΞÃÂλο', 'Ferro\x20per\x20villaggio', 'Madeira', 'Premium\x20exchange', 'Clay\x20per\x20village', 'class', 'setItem', '#appendHere', 'Leem\x20per\x20dorp', 'Fier', 'Distanza', 'ΣÃÂνολο\x20ÀηλοÃÂ', '15FecFkm', 'match', 'Nyersanyagok\x20küldése', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20width=\x2225%\x22\x20style=\x22text-align:center\x22>', 'nextElementSibling', 'Ziel\x20Dorf', 'val', 'Távolság', '221lagWJV', 'finished', 'Distanta', 'Sistem', 'player', 'lowPoints', 'Warenhuis\x20balancer', 'Argila\x20por\x20aldeia', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22text-align:right;padding-right:2em\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20', 'textContent', '#contentContainer', 'ro_RO', 'name', 'Totaal\x20leem', 'ΣίδεÃÂο\x20ανα\x20ÇÉÃÂιÃÅ’', 'previousElementSibling', 'Iron', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Iron:\x20', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20.sophRowA\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#F4E4BC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20black;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowB\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fff5da;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20black;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophHeader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#c6a768;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#803000;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophLink\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:#803000;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linear-gradient(to\x20bottom,\x20#947a62\x200%,#7b5c3d\x2022%,#6c4824\x2030%,#6c4824\x20100%)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:white\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie:hover\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linear-gradient(to\x20bottom,\x20#b69471\x200%,#9f764d\x2022%,#8f6133\x2030%,#6c4d2d\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.collapsible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#F4E4BC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#fff5da;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>', '#lowPoints', 'get', 'Excess\x20is\x20bigger\x20than\x20current\x20available\x20resources,\x20setting\x20it\x20to\x20current\x20available', '1syRLyl', '.quickedit-vn', ' Iron\x20in\x20WH:\x20', 'indexOf', 'إرسال\x20الموارد', 'Created\x20by\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', 'ΣÃÂνολο\x20ξÃÂλοÃ…', '\x20height=\x2240\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td><a\x20href=\x22', 'length', 'distance', '$1.$2', 'Total\x20clay', 'keys', '1udsmve', 'Village:\x20', 'desktop', 'ÃŽ ÃÂοÎÂλεÅÃη', 'wood', 'input[name=\x27isMinting\x27]', 'combined\x20the\x20sendings', 'map_send', 'en_DK', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20id=\x22progressbar\x22\x20style=\x22width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#36393f;\x22><div\x20id=\x22progress\x22\x20style=\x22width:\x200%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2035px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#4CAF50;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x2032px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20black;\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>', 'Bilancia\x20risorse', 'Doel', 'hypot', 'Argila', 'Total\x20argila', 'Target\x20village', 'test', 'Source\x20village', 'mimimalistGray', '%\x20of\x20WH\x20capacity', '\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Warehouse\x20capacity:\x20', 'adding\x20rows\x20to\x20be\x20received\x20to\x20the\x20res\x20at\x20the\x20target', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22res\x20wood\x22\x20style=\x22padding-left:1em\x22> </span>', 'game.php?t=', 'Totaal\x20hout', 'content', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20width=\x225%\x22\x20style=\x22text-align:center\x22>', '.icon.mheader', 'مجموع\x20الØÂديد', 'Incoming\x20resources:\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wood:\x20', '#production_table\x20th', 'System', 'nl_NL', 'innerHTML', 'Argilla\x20per\x20villaggio', 'https://v.tylercamp.me/hc/WHBalancerSophie', 'Összes\x20fa', 'Total\x20iron', 'getItem', 'Total\x20de\x20madeira', 'Latest\x20update:\x2030\x20April\x202020\x20-\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', '\x20 Clay\x20in\x20WH:\x20', 'closest', 'innerText', 'pt_BR', '\x20too\x20small\x20for\x20average,\x20reducing\x20resources,\x20and\x20increasing\x20for\x20every\x20other\x20village', '<div\x20id=\x22restart\x22>', 'hu_HU', 'Average\x20is\x20higher\x20than\x20capacity,\x20reduce', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clay:\x20', '#content_value', ',\x20ironadjustement:\x20', 'locale', '.\x20Adjusting\x20what\x20we\x20leave\x20at\x20home\x20to\x20be\x20', 'warehouseCapacity', 'Facut\x20de\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', 'ØÂديد', 'stone', '</table><h1>Excesses:</h1><table\x20class=\x27sophHeader\x27><tr\x20class=\x27sophHeader\x27><td>Village\x20name</td><td>Res</td></tr>', 'ØÂديد\x20لكل\x20قرية', 'Changing\x20to\x20TW\x20theme', 'class=\x27sophRowA\x27', '957426bjQifi', '.res.miron,.warn_90.miron,.warn.miron', 'points', 'fier\x20per\x20sat', '\x22\x20class=\x22slider\x22\x20name=\x22highPoints\x22\x20oninput=\x22sliderChange(\x27highPoints\x27,this.value)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20>\x20<output\x20id=\x22highPoints\x22></output>\x20points</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22highFarm\x22>High\x20farm</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22range\x22\x20min=\x220\x22\x20max=\x2233000\x22\x20step=\x2210\x22\x20value=\x22', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20class=\x22sophHeader\x22\x20width=\x2210%\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<font\x20size=\x221\x22>', '#building', 'Sat\x20Tinta', 'Vas', 'children', 'focus', 'Warehouse\x20in\x20village\x20', 'Lemn\x20per\x20sat', 'Trimite\x20resurse', 'Echilibrare\x20resurse', '#highFarm', 'addings\x20rows\x20to\x20be\x20sent\x20to\x20the\x20res\x20at\x20the\x20target', 'Farm\x20almost\x20full\x20(', 'toString', 'floor', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20.sophRowA\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#FEC5E5;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#E11584;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowB\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fcd4eb;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#E11584;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophHeader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#F699CD;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#E11584;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophLink\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:#7d3873;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#FEC5E5\x200%,\x20#FD5DA8\x2030%,\x20#FF1694\x2080%,\x20#E11584\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie:hover\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#F2B8C6\x200%,\x20#FCBACB\x2030%,\x20#FA86C4\x2080%,\x20#FE7F9C\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.collapsible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#FEC5E5;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#fcd4eb;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>', 'replace', 'farmSpaceTotal', 'Send\x20resources', 'highFarm', 'Hout', 'Lemn', 'Argilla', 'Argilla\x20totale', 'attr', 'splice', 'message', 'Changing\x20to\x20gray\x20theme', 'split', 'Holz\x20pro\x20Dorf', '\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Iron:\x20', 'Totaal\x20ijzer', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>', 'Ijzer', 'Total\x20de\x20ferro', 'log', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>Actual\x20ironaverage\x20after\x20correction:\x20', 'addEventListener', '158033bsqDPQ', 'target', 'div[id*=\x27restart\x27]', '<span\x20class=\x22icon\x20header\x20iron\x22>\x20</span></td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22text-align:center\x22><input\x20type=\x22button\x22\x20class=\x22btn\x20btnSophie\x22\x20id=\x22building\x22\x20tabindex=\x22-1\x22\x20value=\x22', 'Agyag', 'game.php?&screen=overview_villages&mode=prod&page=-1&', 'pink', 'Creating\x20line\x20', '66823FUnpMZ', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20.sophRowA\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fecd00;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#006aa8;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowB\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#ffea00;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#006aa8;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophHeader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#006aa8;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#ffffdf;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophLink\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:#034166;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#00a1fe\x200%,\x20#5d9afd\x2030%,\x20#1626ff\x2080%,\x20#1f15e1\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie:hover\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#b8bcf2\x200%,\x20#babbfc\x2030%,\x20#8c86fa\x2080%,\x20#969fff\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.collapsible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fecd00;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#ffea00;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>', '\x27\x20class=\x27sophRowB\x27', 'Distância', 'Too\x20much\x20clay\x20incoming\x20in\x20', 'Manda\x20risorse', '-----------------------------------------------------------------------------------------', 'url', 'parentElement', 'مجموع\x20الخشب', '180257QiiJdX', '\x20id=\x27', 'fail', 'Filled\x20up\x20the\x20sendings', 'Összes\x20vas', 'undisabled\x20buttons', 'Total\x20Lehm', 'swedish', '\x22\x20class=\x22slider\x22\x20name=\x22highFarm\x22\x20oninput=\x22sliderChange(\x27builtOutPercentage\x27,this.value)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<output\x20id=\x22builtOutPercentage\x22></output></td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22needsMorePercentage\x22>WH\x20capacity\x20priority\x20village:\x20</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22range\x22\x20min=\x220\x22\x20max=\x221\x22\x20step=\x220.01\x22\x20value=\x22', 'width', '</table></center></div>', 'Distanz', 'header', 'With\x20your\x20current\x20settings,\x20you\x20end\x20up\x20having\x20a\x20lot\x20of\x20excess\x20resources\x20that\x20can\x27t\x20be\x20assigned.\x20Consider\x20increasing\x20the\x20\x27highFarm\x27\x20setting\x20to\x20a\x20higher\x20value,\x20or\x20increasing\x20the\x20lowPoints\x20value\x20so\x20more\x20villages\x20are\x20included\x20to\x20have\x20priority.\x20This\x20is\x20usually\x20due\x20to\x20having\x20a\x20lot\x20of\x20villages\x20completely\x20built\x20out,\x20or\x20having\x20very\x20high\x20average\x20resources,\x20and\x20not\x20a\x20lot\x20of\x20villages\x20that\x20need\x20resources\x20badly.\x0aIf\x20you\x20just\x20want\x20to\x20balance\x20evenly,\x20set\x20highFarm\x20to\x2099999\x0a\x0aWith\x20the\x20current\x20settings,\x20you\x20are\x20trying\x20to\x20assign\x20an\x20average\x20of\x20', 'post', '638540RLYVwi', '#totals', '.res.mstone,.warn_90.mstone,.warn.mstone', '.res.stone,.warn_90.stone,.warn.stone', 'show', '2665LSyRcG', 'Too\x20much\x20iron\x20incoming\x20in\x20', 'خشب', 'Clay', 'removed\x20empty\x20lines', 'ΣÃÂνολο\x20ÃιδήÃÂοÃ…', '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>', 'prop', 'Ferro\x20totale', 'farmSpaceUsed', 'villageID', 'Härkunfts\x20Dorf', '.icon.header', 'طمي', 'stringify', 'Finished\x20sending!', 'Troca\x20Premium', ')\x20in\x20', 'userAgent', '\x22\x20onclick=\x22sendResource(', '\x0a<style>\x0a.sophRowA\x20{\x0abackground-color:\x20#32353b;\x0acolor:\x20white;\x0a}\x0a.sophRowB\x20{\x0abackground-color:\x20#36393f;\x0acolor:\x20white;\x0a}\x0a.sophHeader\x20{\x0abackground-color:\x20#202225;\x0afont-weight:\x20bold;\x0acolor:\x20white;\x0a}\x0a.sophLink\x0a{\x0a\x20\x20\x20\x20color:#40D0E0;\x0a}\x0a.btnSophie\x0a{\x0a\x20\x20\x20\x20background-image:\x20linear-gradient(#6e7178\x200%,\x20#36393f\x2030%,\x20#202225\x2080%,\x20black\x20100%);\x0a}\x0a.btnSophie:hover\x0a{\x20\x0a\x20\x20\x20\x20background-image:\x20linear-gradient(#7b7e85\x200%,\x20#40444a\x2030%,\x20#393c40\x2080%,\x20#171717\x20100%);\x0a}\x0a.collapsible\x20{\x0a\x20\x20\x20\x20background-color:\x20#32353b;\x0a\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20background-color:\x20\x20#36393f;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20}\x0a</style>', 'Done\x20with\x20this\x20cycle', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22res\x20stone\x22\x20style=\x22padding-left:1em\x22> </span>', 'class=\x27sophRowB\x27', '<div\x20id=\x27aftermath\x27><center>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22btn\x20btnSophie\x22\x20name=\x22showStats\x22\x20style=\x22padding:\x2010px;width:\x20300px\x22\x20onclick=\x22showStats()\x22>Show\x20excess/shortage</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22btn\x20btnSophie\x22\x20name=\x22showEndResult\x22\x20style=\x22padding:\x2010px;width:\x20300px\x22\x20onclick=\x22resAfterBalance()\x22>Show\x20result\x20of\x20balance</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</center></div>', 'game.php?&screen=overview_villages&mode=trader&type=inc&page=-1&type=inc', 'Sistema', 'push', 'Vas/falu', 'index'];
var _0x3810 = function(_0x116798, _0x5bd588) {
_0x116798 = _0x116798 - 0xbe;
var _0x10d1ff = _0x10d1[_0x116798];
return _0x10d1ff;
};
var _0x14d89d = _0x3810;
(function(_0x278f42, _0x2a9813) {
var _0x21561e = _0x3810;
while (!![]) {
try {
var _0x1b3d2f = parseInt(_0x21561e(0x152)) * -parseInt(_0x21561e(0x1ee)) + -parseInt(_0x21561e(0x1e6)) * parseInt(_0x21561e(0x170)) + parseInt(_0x21561e(0x1bb)) * parseInt(_0x21561e(0x17d)) + -parseInt(_0x21561e(0x207)) + parseInt(_0x21561e(0x101)) * parseInt(_0x21561e(0x1f8)) + -parseInt(_0x21561e(0x20c)) * parseInt(_0x21561e(0x15a)) + -parseInt(_0x21561e(0x103)) * -parseInt(_0x21561e(0xe1));
if (_0x1b3d2f === _0x2a9813) break;
else _0x278f42['push'](_0x278f42['shift']());
} catch (_0x2a4235) {
_0x278f42['push'](_0x278f42['shift']());
}
}
}(_0x10d1, 0x97fa3));
_0x20e76b: console[_0x14d89d(0x1e3)](_0x14d89d(0x1a5));
$[_0x14d89d(0x206)](_0x14d89d(0x1a0));
var testPage, is_mobile = !!navigator[_0x14d89d(0xc1)][_0x14d89d(0x153)](/iphone|android|blackberry/ig) || ![],
warehouseCapacity = [],
allWoodTotals = [],
allClayTotals = [],
allIronTotals = [],
availableMerchants = [],
totalMerchants = [],
farmSpaceUsed = [],
farmSpaceTotal = [],
villagePoints = [],
villagesData = [],
villageID = [],
allWoodObjects, allClayObjects, allIronObjects, allVillages, totalsAndAverages = '',
incomingRes = {},
totalWood, totalStone, totalIron, merchantOrders = [],
excessResources = [],
shortageResources = [],
links = [],
cleanLinks = [],
stillShortage = [],
stillExcess = [];
function init() {
warehouseCapacity = [], allWoodTotals = [], allClayTotals = [], allIronTotals = [], availableMerchants = [], totalMerchants = [], farmSpaceUsed = [], farmSpaceTotal = [], villagePoints = [], villagesData = [], villageID = [], (allWoodObjects, allClayObjects, allIronObjects, allVillages), totalsAndAverages = '', incomingRes = {}, (totalWood, totalStone, totalIron), merchantOrders = [], excessResources = [], shortageResources = [], links = [], cleanLinks = [], stillShortage = [], stillExcess = [];
}
function cleanup() {
warehouseCapacity = [], allWoodTotals = [], allClayTotals = [], allIronTotals = [], availableMerchants = [], totalMerchants = [], farmSpaceUsed = [], farmSpaceTotal = [], villagePoints = [], villageID = [], (allWoodObjects, allClayObjects, allIronObjects, allVillages), incomingRes = {}, merchantOrders = [], links = [], cleanLinks = [];
}
var langShinko = [_0x14d89d(0xdc), 'Source\x20village', 'Target\x20village', _0x14d89d(0xf3), _0x14d89d(0xec), _0x14d89d(0x20f), _0x14d89d(0x16a), _0x14d89d(0x1d2), _0x14d89d(0x175), 'Total\x20wood', _0x14d89d(0x17b), _0x14d89d(0x1a2), _0x14d89d(0x128), _0x14d89d(0x14a), _0x14d89d(0x122), _0x14d89d(0x149), 'System'];
game_data['locale'] == _0x14d89d(0x185) && (langShinko = [_0x14d89d(0xdc), _0x14d89d(0x18e), _0x14d89d(0x18c), 'Distance', _0x14d89d(0xec), _0x14d89d(0x20f), 'Iron', 'Send\x20resources', _0x14d89d(0x175), 'Total\x20wood', _0x14d89d(0x17b), _0x14d89d(0x1a2), 'Wood\x20per\x20village', _0x14d89d(0x14a), 'Iron\x20per\x20village', _0x14d89d(0x149), _0x14d89d(0x19c)]);
game_data['locale'] == _0x14d89d(0xf1) && (langShinko = [_0x14d89d(0xdc), _0x14d89d(0x217), _0x14d89d(0x157), _0x14d89d(0x203), 'Holz', 'Lehm', 'Isä', _0x14d89d(0x10d), 'Created\x20by\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', _0x14d89d(0x10a), _0x14d89d(0x1fe), 'Total\x20Isä', _0x14d89d(0x1dd), _0x14d89d(0x139), _0x14d89d(0x11e), _0x14d89d(0xed), 'System']);
game_data[_0x14d89d(0x1b1)] == _0x14d89d(0x165) && (langShinko = [_0x14d89d(0x1c9), _0x14d89d(0x137), _0x14d89d(0x1c2), _0x14d89d(0x15c), _0x14d89d(0x1d5), _0x14d89d(0x18a), _0x14d89d(0x14f), _0x14d89d(0x1c8), _0x14d89d(0x1b4), 'Total\x20lemn', _0x14d89d(0x18b), _0x14d89d(0xff), _0x14d89d(0x1c7), 'Argila\x20per\x20sat', _0x14d89d(0x1be), _0x14d89d(0x130), _0x14d89d(0x15d)]);
game_data['locale'] == 'el_GR' && (langShinko = ['Warehouse\x20balancer', _0x14d89d(0x180), _0x14d89d(0x131), _0x14d89d(0xe0), _0x14d89d(0x146), _0x14d89d(0x111), _0x14d89d(0xd6), _0x14d89d(0xdf), _0x14d89d(0x12f), _0x14d89d(0x176), _0x14d89d(0x151), _0x14d89d(0x211), 'ΞÃÂλο\x20ανα\x20ÇÉÃÂιÃÅ’', 'ÃŽ ηλÃŒÂ\x20ανα\x20ÇÉÃÂιÃÅ’', _0x14d89d(0x168), _0x14d89d(0x149), _0x14d89d(0x19c)]);
game_data[_0x14d89d(0x1b1)] == _0x14d89d(0x19d) && (langShinko = [_0x14d89d(0x160), 'Oorsprong', _0x14d89d(0x188), _0x14d89d(0x134), _0x14d89d(0x1d4), _0x14d89d(0x12a), _0x14d89d(0x1e1), _0x14d89d(0xcf), _0x14d89d(0xf8), _0x14d89d(0x195), _0x14d89d(0x167), _0x14d89d(0x1df), 'Hout\x20per\x20dorp', _0x14d89d(0x14e), _0x14d89d(0x10e), _0x14d89d(0xef), _0x14d89d(0xfa)]);
game_data['locale'] == 'it_IT' && (langShinko = [_0x14d89d(0x187), 'Villaggio\x20di\x20origine', 'Villaggio\x20obiettivo', _0x14d89d(0x150), _0x14d89d(0x11f), _0x14d89d(0x1d6), _0x14d89d(0xe4), _0x14d89d(0x1f3), 'Creato\x20da\x20\x20Sophie\x20\x27Shinko\x20to\x20Kuma\x27', 'Legno\x20totale', _0x14d89d(0x1d7), _0x14d89d(0x214), _0x14d89d(0xdb), _0x14d89d(0x19f), _0x14d89d(0x147), _0x14d89d(0x149), _0x14d89d(0x19c)]);
game_data[_0x14d89d(0x1b1)] == _0x14d89d(0xf2) && (langShinko = [_0x14d89d(0x108), 'الأصل', _0x14d89d(0xde), 'المساÙÂØ©', _0x14d89d(0x20e), _0x14d89d(0x219), _0x14d89d(0x1b5), _0x14d89d(0x174), _0x14d89d(0x129), _0x14d89d(0x1f7), _0x14d89d(0xeb), _0x14d89d(0x199), 'خشب\x20لكل\x20قرية', _0x14d89d(0x10c), _0x14d89d(0x1b8), 'Premium\x20exchange', _0x14d89d(0x19c)]);
game_data['locale'] == _0x14d89d(0x1ac) && (langShinko = ['Nyersanyag\x20kiegyenlÃÂtÅ‘', 'Származási\x20hely', _0x14d89d(0xf0), _0x14d89d(0x159), 'Fa', _0x14d89d(0x1ea), _0x14d89d(0x1c3), _0x14d89d(0x154), _0x14d89d(0x11a), _0x14d89d(0x1a1), _0x14d89d(0xe7), _0x14d89d(0x1fc), _0x14d89d(0x13b), _0x14d89d(0xcd), _0x14d89d(0xcb), 'Premium\x20exchange', _0x14d89d(0x19c)]);
game_data[_0x14d89d(0x1b1)] == _0x14d89d(0x1a9) && (langShinko = [_0x14d89d(0xd7), 'Origem', 'Destino', _0x14d89d(0x1f1), _0x14d89d(0x148), 'Argila', _0x14d89d(0xe4), 'Enviar\x20recursos', _0x14d89d(0xfd), _0x14d89d(0x1a4), 'Total\x20de\x20argila', _0x14d89d(0x1e2), _0x14d89d(0xe6), _0x14d89d(0x161), 'Ferro\x20por\x20aldeia', _0x14d89d(0xbf), _0x14d89d(0xc9)]);
if (typeof colors == _0x14d89d(0x113)) cssClassesSophie = _0x14d89d(0xc3);
else {
if (colors == _0x14d89d(0x1ec)) cssClassesSophie = _0x14d89d(0x1cf);
else {
if (colors == _0x14d89d(0x1ff)) cssClassesSophie = _0x14d89d(0x1ef);
else {
if (colors == _0x14d89d(0x18f)) console[_0x14d89d(0x1e3)](_0x14d89d(0x1db)), cssClassesSophie = _0x14d89d(0x136);
else colors == 'TW' ? (console[_0x14d89d(0x1e3)](_0x14d89d(0x1b9)), cssClassesSophie = _0x14d89d(0x16c)) : (console[_0x14d89d(0x1e3)]('Switching\x20to\x20standard\x20colors'), cssClassesSophie = '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowA\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#32353b;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophRowB\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#36393f;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophHeader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#202225;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.sophLink\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:#40D0E0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#6e7178\x200%,\x20#36393f\x2030%,\x20#202225\x2080%,\x20black\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.btnSophie:hover\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(#7b7e85\x200%,\x20#40444a\x2030%,\x20#393c40\x2080%,\x20#171717\x20100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#32353b;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active,\x20.collapsible:hover\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#36393f;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.collapsible:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x27+\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float:\x20right;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin-left:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.active:after\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20content:\x20\x22-\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x200\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20max-height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20max-height\x200.2s\x20ease-out;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20\x20#5b5f66;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.item-padded\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.flex-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.submenu{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20left:0px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:37px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20min-width:240px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</style>');
}
}
}
$(_0x14d89d(0x164))['eq'](0x0)[_0x14d89d(0xd9)](cssClassesSophie), $('#mobileHeader')['eq'](0x0)[_0x14d89d(0xd9)](cssClassesSophie);
if (localStorage[_0x14d89d(0x1a3)](_0x14d89d(0xd0)) != null) {
tempArray = JSON[_0x14d89d(0x110)](localStorage[_0x14d89d(0x1a3)](_0x14d89d(0xd0)));
var settings = {};
settings['isMinting'] = tempArray['isMinting'], settings[_0x14d89d(0x15f)] = parseInt(tempArray[_0x14d89d(0x15f)]), settings[_0x14d89d(0xfc)] = parseInt(tempArray[_0x14d89d(0xfc)]), settings['highFarm'] = parseInt(tempArray[_0x14d89d(0x1d3)]), settings['builtOutPercentage'] = parseFloat(tempArray['builtOutPercentage']), settings[_0x14d89d(0x142)] = parseFloat(tempArray[_0x14d89d(0x142)]);
} else {
if (typeof settings == _0x14d89d(0x113)) var settings = {
'isMinting': ![],
'highPoints': 0x1f40,
'highFarm': 0x59d8,
'lowPoints': 0xbb8,
'builtOutPercentage': 0.25,
'needsMorePercentage': 0.85
};
localStorage[_0x14d89d(0x14c)](_0x14d89d(0xd0), JSON['stringify'](settings));
}
if (!settings[_0x14d89d(0x13e)]) settings[_0x14d89d(0x13e)] = ![];
if (!settings[_0x14d89d(0x1d3)]) settings[_0x14d89d(0x1d3)] = 0x1869f;
if (!settings[_0x14d89d(0xfc)]) settings[_0x14d89d(0xfc)] = 0x2ee0;
if (!settings['lowPoints']) settings['lowPoints'] = 0x1;
if (!settings['builtOutPercentage']) settings[_0x14d89d(0xd2)] = 0.2;
if (!settings[_0x14d89d(0x142)]) settings['needsMorePercentage'] = 0.85;
if (settings[_0x14d89d(0xd2)] > 0x1) settings['builtOutPercentage'] = 0.95;
if (settings[_0x14d89d(0x142)] > 0x1) settings['needsMorePercentage'] = 0.95;
if (settings['builtOutPercentage'] < 0x0) settings[_0x14d89d(0xd2)] = 0.1;
if (settings[_0x14d89d(0x142)] < 0x0) settings[_0x14d89d(0x142)] = 0.1;
settings[_0x14d89d(0x13e)] == !![] && (settings = {
'isMinting': !![],
'highPoints': 0x32c8,
'highFarm': 0x80e8,
'lowPoints': 0x1,
'builtOutPercentage': 0.1,
'needsMorePercentage': 0.6
});
$(_0x14d89d(0x120))[0x0] && ($('#sendResources')[0x0]['remove'](), $(_0x14d89d(0x208))[0x0]['remove']());
game_data[_0x14d89d(0x15e)][_0x14d89d(0x119)] > 0x0 ? (URLIncRes = _0x14d89d(0x194) + game_data['player']['id'] + _0x14d89d(0x13c), URLProd = _0x14d89d(0x194) + game_data[_0x14d89d(0x15e)]['id'] + '&screen=overview_villages&mode=prod&page=-1&') : (URLIncRes = _0x14d89d(0xc8), URLProd = _0x14d89d(0x1eb));
function sendResource(_0x2253f7, _0x2e2a77, _0x344bb7, _0x430efb, _0x11ad82, _0x451f21) {
var _0x314234 = _0x14d89d;
$('#' + _0x451f21)[0x0][_0x314234(0x10b)]();
var _0x1522b8 = {
'target_id': _0x2e2a77,
'wood': _0x344bb7,
'stone': _0x430efb,
'iron': _0x11ad82
};
TribalWars['post'](_0x314234(0xd8), {
'ajaxaction': _0x314234(0x184),
'village': _0x2253f7
}, _0x1522b8, function(_0x7c8d7b) {
var _0xc216b6 = _0x314234;
UI['SuccessMessage'](_0x7c8d7b[_0xc216b6(0x1da)]), console[_0xc216b6(0x1e3)](_0x7c8d7b[_0xc216b6(0x1da)]), $(_0xc216b6(0x12e))[0x0]['focus']();
}, !0x1), $(':button[id^=\x22building\x22]')[_0x314234(0x213)]('disabled', !![]), setTimeout(function() {
var _0x5c6801 = _0x314234;
$(_0x5c6801(0x12e))[_0x5c6801(0x213)]('disabled', ![]), console[_0x5c6801(0x1e3)](_0x5c6801(0x1fd));
if ($('#tableSend\x20tr')[_0x5c6801(0x178)] <= 0x2) {
alert(_0x5c6801(0xbe));
$('.btn-pp')[_0x5c6801(0x178)] > 0x0 && $('.btn-pp')['remove']();
throw Error('Done.');
}
$(_0x5c6801(0x12e))[0x0][_0x5c6801(0x1c5)]();
}, 0x96);
}
function displayEverything() {
var _0x34c948 = _0x14d89d;
$[_0x34c948(0x16e)](URLIncRes, function() {
var _0x5841df = _0x34c948;
console[_0x5841df(0x1e3)]('Grabbed\x20transport\x20page');
})[_0x34c948(0xdd)](function(_0x59c0a5) {
var _0x2a22c1 = _0x34c948,
_0x18ac43 = $(_0x59c0a5);
for (var _0x4e8f48 = 0x1; _0x4e8f48 < _0x18ac43['find']('#trades_table\x20tr')[_0x2a22c1(0x178)] - 0x1; _0x4e8f48++) {
var _0x5ee458 = {},
_0x1a195a;
if ($(_0x2a22c1(0x140))[0x0]) {
console[_0x2a22c1(0x1e3)](_0x2a22c1(0xce));
let _0x167808 = _0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[_0x4e8f48]['children'][0x5][_0x2a22c1(0x1c4)][0x1][_0x2a22c1(0x1c4)];
for (let _0x36ec72 = 0x0; _0x36ec72 < Object[_0x2a22c1(0x17c)](_0x167808)[_0x2a22c1(0x178)]; _0x36ec72++) {
if (_0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[0x1][_0x2a22c1(0x1c4)][0x2][_0x2a22c1(0x1a8)] != langShinko[0x10]) {
let _0x42ee50 = $(_0x167808[_0x36ec72]),
_0x47bcf5 = _0x42ee50[_0x2a22c1(0xe2)](_0x2a22c1(0x198))['attr'](_0x2a22c1(0x14b))['split']('\x20'),
_0x11f7ab = _0x47bcf5[_0x47bcf5['length'] - 0x1],
_0x591df7 = _0x42ee50[_0x2a22c1(0x138)]()[_0x2a22c1(0x1d0)](/[^\d]/g, '');
_0x5ee458[_0x11f7ab] = _0x591df7, _0x1a195a = _0x18ac43[_0x2a22c1(0xe2)]('#trades_table\x20tr')[_0x4e8f48][_0x2a22c1(0x1c4)][0x3]['children'][0x2][_0x2a22c1(0x116)][_0x2a22c1(0x153)](/id=(\d*)/)[0x1];
}
}
} else {
console[_0x2a22c1(0x1e3)](_0x2a22c1(0x17f));
let _0x120d84 = _0x18ac43[_0x2a22c1(0xe2)]('#trades_table\x20tr')[_0x4e8f48][_0x2a22c1(0x1c4)][0x8][_0x2a22c1(0x1c4)];
console[_0x2a22c1(0x1e3)](Object[_0x2a22c1(0x17c)](_0x120d84)['length']);
for (let _0x1c6284 = 0x0; _0x1c6284 < Object[_0x2a22c1(0x17c)](_0x120d84)[_0x2a22c1(0x178)]; _0x1c6284++) {
let _0x5ba852 = $(_0x120d84[_0x1c6284]);
var _0x5580bf;
_0x5ba852[0x0][_0x2a22c1(0x19e)][_0x2a22c1(0x173)](_0x2a22c1(0x204)) > -0x1 ? _0x5580bf = _0x5ba852['find'](_0x2a22c1(0x218))[_0x2a22c1(0x1d8)](_0x2a22c1(0x14b))[_0x2a22c1(0x1dc)]('\x20') : _0x5580bf = _0x5ba852[_0x2a22c1(0x1d8)](_0x2a22c1(0x14b))[_0x2a22c1(0x1dc)]('\x20');
if (_0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[0x1][_0x2a22c1(0x1c4)][0x3][_0x2a22c1(0x1a8)] != langShinko[0xf]) {
let _0x520a0a = _0x5580bf[_0x5580bf['length'] - 0x1];
console[_0x2a22c1(0x1e3)](_0x520a0a);
let _0x2fad49 = _0x5ba852[_0x2a22c1(0x138)]()['replace'](/[^\d]/g, '');
console[_0x2a22c1(0x1e3)](_0x2fad49), _0x5ee458[_0x520a0a] = _0x2fad49, _0x1a195a = _0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[_0x4e8f48]['children'][0x4][_0x2a22c1(0x1c4)][0x0][_0x2a22c1(0x116)][_0x2a22c1(0x153)](/id=(\d*)/)[0x1];
}
}
}
_0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[0x1][_0x2a22c1(0x1c4)][0x3]['innerText'] != langShinko[0xf] && _0x18ac43[_0x2a22c1(0xe2)](_0x2a22c1(0x100))[0x1][_0x2a22c1(0x1c4)][0x2][_0x2a22c1(0x1a8)] != langShinko[0x10] && (incomingRes[_0x1a195a] == undefined && (incomingRes[_0x1a195a] = {
'wood': 0x0,
'stone': 0x0,
'iron': 0x0
}), _0x5ee458[_0x2a22c1(0x181)] != undefined && (incomingRes[_0x1a195a][_0x2a22c1(0x181)] += parseInt(_0x5ee458[_0x2a22c1(0x181)])), _0x5ee458[_0x2a22c1(0x1b6)] != undefined && (incomingRes[_0x1a195a][_0x2a22c1(0x1b6)] += parseInt(_0x5ee458[_0x2a22c1(0x1b6)])), _0x5ee458[_0x2a22c1(0xe9)] != undefined && (incomingRes[_0x1a195a]['iron'] += parseInt(_0x5ee458[_0x2a22c1(0xe9)])));
}
$['get'](URLProd, function() {
var _0xa97a5d = _0x2a22c1;
console[_0xa97a5d(0x1e3)](_0xa97a5d(0x132));
})[_0x2a22c1(0xdd)](function(_0x47d7b7) {
var _0x6b392f = _0x2a22c1;
testPage = _0x47d7b7, uniVillage = $(_0x47d7b7)[_0x6b392f(0xe2)]('span.bonus_icon_33');
uniVillage['length'] > 0x0 ? uniRow = uniVillage[_0x6b392f(0x1a7)]('tr')[_0x6b392f(0xcc)]() - 0x1 : uniRow = -0x1;
if ($(_0x6b392f(0x140))[0x0]) {
console[_0x6b392f(0x1e3)](_0x6b392f(0xce)), allWoodObjects = $(_0x47d7b7)['find']('.res.mwood,.warn_90.mwood,.warn.mwood'), allClayObjects = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x209)), allIronObjects = $(_0x47d7b7)['find'](_0x6b392f(0x1bc)), allWarehouses = $(_0x47d7b7)[_0x6b392f(0xe2)]('.mheader.ressources'), allVillages = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x171)), allFarms = $(_0x47d7b7)[_0x6b392f(0xe2)]('.header.population'), allMerchants = $(_0x47d7b7)['find']('a[href*=\x22market\x22]'), productionTable = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x19b));
uniRow >= 0x0 && (allVillages[_0x6b392f(0x1d9)](uniRow, 0x1), allWoodObjects[_0x6b392f(0x1d9)](uniRow, 0x1), allClayObjects['splice'](uniRow, 0x1), allIronObjects[_0x6b392f(0x1d9)](uniRow, 0x1), allWarehouses['splice'](uniRow, 0x1), allFarms[_0x6b392f(0x1d9)](uniRow, 0x1), allMerchants['splice'](uniRow, 0x1), productionTable[_0x6b392f(0x1d9)](uniRow, 0x1));
for (var _0x1acdde = 0x0; _0x1acdde < allWoodObjects[_0x6b392f(0x178)]; _0x1acdde++) {
n = allWoodObjects[_0x1acdde][_0x6b392f(0x163)], n = n[_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''), allWoodTotals[_0x6b392f(0xca)](n), n = allClayObjects[_0x1acdde][_0x6b392f(0x163)], n = n[_0x6b392f(0x1d0)](/\./g, '')['replace'](',', ''), allClayTotals[_0x6b392f(0xca)](n), n = allIronObjects[_0x1acdde][_0x6b392f(0x163)], n = n[_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''), allIronTotals[_0x6b392f(0xca)](n);
}
for (let _0xb7bd25 = 0x0; _0xb7bd25 < allVillages[_0x6b392f(0x178)]; _0xb7bd25++) {
farmSpaceUsed['push'](allFarms[_0xb7bd25]['parentElement'][_0x6b392f(0x1a8)][_0x6b392f(0x153)](/(\d*)\/(\d*)/)[0x1]), farmSpaceTotal[_0x6b392f(0xca)](allFarms[_0xb7bd25][_0x6b392f(0x1f6)]['innerText']['match'](/(\d*)\/(\d*)/)[0x2]), warehouseCapacity[_0x6b392f(0xca)](allWarehouses[_0xb7bd25][_0x6b392f(0x1f6)][_0x6b392f(0x1a8)]);
for (let _0x2f4ea8 = 0x1; _0x2f4ea8 < allMerchants[_0x6b392f(0x178)]; _0x2f4ea8++) {
availableMerchants[_0x6b392f(0xca)](allMerchants[_0x2f4ea8][_0x6b392f(0x1a8)]);
}
totalMerchants['push']('999'), villagePoints[_0x6b392f(0xca)](productionTable[_0xb7bd25 * 0x2 + 0x1][_0x6b392f(0x1a8)][_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''));
}
} else {
console[_0x6b392f(0x1e3)](_0x6b392f(0x17f)), allWoodObjects = $(_0x47d7b7)['find'](_0x6b392f(0xf9)), allClayObjects = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x20a)), allIronObjects = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x107)), allVillages = $(_0x47d7b7)[_0x6b392f(0xe2)](_0x6b392f(0x171));
uniRow >= 0x0 && (allVillages[_0x6b392f(0x1d9)](uniRow, 0x1), allWoodObjects[_0x6b392f(0x1d9)](uniRow, 0x1), allClayObjects[_0x6b392f(0x1d9)](uniRow, 0x1), allIronObjects[_0x6b392f(0x1d9)](uniRow, 0x1));
for (let _0x5ed8dd = 0x0; _0x5ed8dd < allWoodObjects[_0x6b392f(0x178)]; _0x5ed8dd++) {
n = allWoodObjects[_0x5ed8dd][_0x6b392f(0x163)], n = n[_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''), allWoodTotals['push'](n), n = allClayObjects[_0x5ed8dd][_0x6b392f(0x163)], n = n['replace'](/\./g, '')['replace'](',', ''), allClayTotals[_0x6b392f(0xca)](n), n = allIronObjects[_0x5ed8dd]['textContent'], n = n[_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''), allIronTotals[_0x6b392f(0xca)](n);
}
for (let _0x515d3c = 0x0; _0x515d3c < allVillages[_0x6b392f(0x178)]; _0x515d3c++) {
warehouseCapacity[_0x6b392f(0xca)](allIronObjects[_0x515d3c]['parentElement'][_0x6b392f(0x156)][_0x6b392f(0x19e)]), availableMerchants[_0x6b392f(0xca)](allIronObjects[_0x515d3c][_0x6b392f(0x1f6)][_0x6b392f(0x156)][_0x6b392f(0x156)][_0x6b392f(0x1a8)][_0x6b392f(0x153)](/(\d*)\/(\d*)/)[0x1]), totalMerchants[_0x6b392f(0xca)](allIronObjects[_0x515d3c][_0x6b392f(0x1f6)][_0x6b392f(0x156)][_0x6b392f(0x156)][_0x6b392f(0x1a8)][_0x6b392f(0x153)](/(\d*)\/(\d*)/)[0x2]), farmSpaceUsed[_0x6b392f(0xca)](allIronObjects[_0x515d3c]['parentElement']['nextElementSibling'][_0x6b392f(0x156)][_0x6b392f(0x156)][_0x6b392f(0x1a8)]['match'](/(\d*)\/(\d*)/)[0x1]), farmSpaceTotal[_0x6b392f(0xca)](allIronObjects[_0x515d3c]['parentElement'][_0x6b392f(0x156)][_0x6b392f(0x156)][_0x6b392f(0x156)][_0x6b392f(0x1a8)][_0x6b392f(0x153)](/(\d*)\/(\d*)/)[0x2]), villagePoints[_0x6b392f(0xca)](allWoodObjects[_0x515d3c][_0x6b392f(0x1f6)][_0x6b392f(0x169)][_0x6b392f(0x1a8)][_0x6b392f(0x1d0)](/\./g, '')[_0x6b392f(0x1d0)](',', ''));
}
}
for (let _0x2fd06a = 0x0; _0x2fd06a < allVillages[_0x6b392f(0x178)]; _0x2fd06a++) {
villagesData['push']({
'id': allVillages[_0x2fd06a][_0x6b392f(0xf4)]['id'],
'points': villagePoints[_0x2fd06a],
'url': allVillages[_0x2fd06a][_0x6b392f(0x1c4)][0x0][_0x6b392f(0x1c4)][0x0][_0x6b392f(0x116)],
'name': allVillages[_0x2fd06a][_0x6b392f(0x1a8)][_0x6b392f(0xd5)](),
'wood': allWoodTotals[_0x2fd06a],
'stone': allClayTotals[_0x2fd06a],
'iron': allIronTotals[_0x2fd06a],
'availableMerchants': availableMerchants[_0x2fd06a],
'totalMerchants': totalMerchants[_0x2fd06a],
'warehouseCapacity': warehouseCapacity[_0x2fd06a],
'farmSpaceUsed': farmSpaceUsed[_0x2fd06a],
'farmSpaceTotal': farmSpaceTotal[_0x2fd06a]
});
}
villagesData[_0x6b392f(0x121)]((_0xabad42, _0x441b38) => parseInt(_0xabad42[_0x6b392f(0x1bd)]) < parseInt(_0x441b38[_0x6b392f(0x1bd)]) ? 0x1 : -0x1), totalWood = 0x0, totalStone = 0x0, totalIron = 0x0;
for (let _0x3704a3 in allWoodTotals) {
totalWood += parseInt(allWoodTotals[_0x3704a3]);
}
for (let _0x43b650 in allClayTotals) {
totalStone += parseInt(allClayTotals[_0x43b650]);
}
for (let _0x467764 in allIronTotals) {
totalIron += parseInt(allIronTotals[_0x467764]);
}
for (let _0x398b01 = 0x0; _0x398b01 < Object[_0x6b392f(0x17c)](incomingRes)[_0x6b392f(0x178)]; _0x398b01++) {
totalWood += incomingRes[Object['keys'](incomingRes)[_0x398b01]][_0x6b392f(0x181)], totalStone += incomingRes[Object[_0x6b392f(0x17c)](incomingRes)[_0x398b01]][_0x6b392f(0x1b6)], totalIron += incomingRes[Object[_0x6b392f(0x17c)](incomingRes)[_0x398b01]][_0x6b392f(0xe9)];
}
woodAverage = Math[_0x6b392f(0x1ce)](totalWood / warehouseCapacity['length']), stoneAverage = Math[_0x6b392f(0x1ce)](totalStone / warehouseCapacity[_0x6b392f(0x178)]), ironAverage = Math[_0x6b392f(0x1ce)](totalIron / warehouseCapacity[_0x6b392f(0x178)]);
if (settings[_0x6b392f(0x13e)] == ![]) {
actualWoodAverage = woodAverage, actualStoneAverage = stoneAverage, actualIronAverage = ironAverage, consideredBuiltOut = 0x0, actualTotalWood = totalWood, actualTotalStone = totalStone, actualTotalIron = totalIron, actualWHCountNeedsBalancingWood = warehouseCapacity[_0x6b392f(0x178)], actualWHCountNeedsBalancingStone = warehouseCapacity[_0x6b392f(0x178)], actualWHCountNeedsBalancingIron = warehouseCapacity[_0x6b392f(0x178)];
for (let _0x365f78 = 0x0; _0x365f78 < warehouseCapacity[_0x6b392f(0x178)]; _0x365f78++) {
actualWoodAverage = Math[_0x6b392f(0x1ce)](actualTotalWood / actualWHCountNeedsBalancingWood), actualStoneAverage = Math[_0x6b392f(0x1ce)](actualTotalStone / actualWHCountNeedsBalancingStone), actualIronAverage = Math[_0x6b392f(0x1ce)](actualTotalIron / actualWHCountNeedsBalancingIron), warehouseCapacity[_0x365f78] < actualWoodAverage && (console[_0x6b392f(0x1e3)]('Warehouse\x20in\x20village\x20' + _0x365f78 + '\x20too\x20small\x20for\x20average,\x20reducing\x20resources,\x20and\x20increasing\x20for\x20every\x20other\x20village'), actualTotalWood -= actualWoodAverage - warehouseCapacity[_0x365f78] * settings[_0x6b392f(0x142)], actualWHCountNeedsBalancingWood--), warehouseCapacity[_0x365f78] < actualStoneAverage && (console['log'](_0x6b392f(0x1c6) + _0x365f78 + _0x6b392f(0x1aa)), actualTotalStone -= actualStoneAverage - warehouseCapacity[_0x365f78] * settings[_0x6b392f(0x142)], actualWHCountNeedsBalancingStone--), warehouseCapacity[_0x365f78] < actualIronAverage && (console[_0x6b392f(0x1e3)](_0x6b392f(0x1c6) + _0x365f78 + '\x20too\x20small\x20for\x20average,\x20reducing\x20resources,\x20and\x20increasing\x20for\x20every\x20other\x20village'), actualTotalIron -= actualIronAverage - warehouseCapacity[_0x365f78] * settings[_0x6b392f(0x142)], actualWHCountNeedsBalancingIron--), console[_0x6b392f(0x1e3)]('Current\x20averages:\x20' + actualWoodAverage + '-' + actualIronAverage + '-' + actualStoneAverage);
}(actualWoodAverage >= 0x55730 || actualStoneAverage >= 0x55730 || actualIronAverage >= 0x55730) && alert(_0x6b392f(0x205) + numberWithCommas(actualWoodAverage) + _0x6b392f(0x143) + numberWithCommas(actualStoneAverage) + _0x6b392f(0x145) + numberWithCommas(actualIronAverage) + '\x20iron\x20per\x20village\x20that\x20isn\x27t\x20considered\x20small,\x20or\x20fully\x20built\x20(currently\x20' + numberWithCommas(consideredBuiltOut) + '\x20are\x20considered\x20finished),\x20to\x20spread\x20evenly.\x20Clearly,\x20that\x20is\x20not\x20a\x20good\x20idea');
} else actualWoodAverage = woodAverage, actualStoneAverage = stoneAverage, actualIronAverage = ironAverage;
totalsAndAverages = _0x6b392f(0xd3) + langShinko[0x9] + ':\x20' + numberWithCommas(totalWood) + _0x6b392f(0x212) + langShinko[0xa] + ':\x20' + numberWithCommas(totalStone) + _0x6b392f(0x212) + langShinko[0xb] + ':\x20' + numberWithCommas(totalIron) + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20class=\x27sophRowB\x27>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>' + langShinko[0xc] + ':\x20' + numberWithCommas(woodAverage) + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>' + langShinko[0xd] + ':\x20' + numberWithCommas(stoneAverage) + _0x6b392f(0x212) + langShinko[0xe] + ':\x20' + numberWithCommas(ironAverage) + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20class=\x27sophRowA\x27>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>Actual\x20woodaverage\x20after\x20correction:\x20' + numberWithCommas(actualWoodAverage) + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>Actual\x20clayaverage\x20after\x20correction:\x20' + numberWithCommas(actualStoneAverage) + _0x6b392f(0x1e4) + numberWithCommas(actualIronAverage) + _0x6b392f(0x1e0), $(_0x6b392f(0xd1))['eq'](0x0)['prepend'](_0x6b392f(0x186)), $(_0x6b392f(0x140))['eq'](0x0)[_0x6b392f(0xd9)](_0x6b392f(0x186));
for (let _0x5bfb0e = 0x0; _0x5bfb0e < villagesData['length']; _0x5bfb0e++) {
console[_0x6b392f(0x1e3)](_0x6b392f(0x1f4)), excessResources[_0x5bfb0e] = [], shortageResources[_0x5bfb0e] = [], villageID[_0x6b392f(0xca)](villagesData[_0x5bfb0e]['id']), typeof incomingRes[villagesData[_0x5bfb0e]['id']] == _0x6b392f(0x113) ? (incomingWood = 0x0, incomingStone = 0x0, incomingIron = 0x0) : (incomingWood = incomingRes[villagesData[_0x5bfb0e]['id']][_0x6b392f(0x181)], incomingStone = incomingRes[villagesData[_0x5bfb0e]['id']][_0x6b392f(0x1b6)], incomingIron = incomingRes[villagesData[_0x5bfb0e]['id']][_0x6b392f(0xe9)]), console['log'](_0x6b392f(0x19a) + incomingWood + _0x6b392f(0x1ae) + incomingStone + _0x6b392f(0x16b) + incomingIron), actualWoodAverage < villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings['needsMorePercentage'] ? tempWood = parseInt(villagesData[_0x5bfb0e]['wood']) + incomingWood - actualWoodAverage : (console[_0x6b392f(0x1e3)](_0x6b392f(0x1ad)), tempWood = -Math['round'](villagesData[_0x5bfb0e]['warehouseCapacity'] * settings[_0x6b392f(0x142)] - incomingWood - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]))), actualStoneAverage < villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] ? tempStone = parseInt(villagesData[_0x5bfb0e]['stone']) + incomingStone - actualStoneAverage : (console[_0x6b392f(0x1e3)](_0x6b392f(0x1ad)), tempStone = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] - incomingStone - parseInt(villagesData[_0x5bfb0e]['stone']))), actualIronAverage < villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] ? tempIron = parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]) + incomingIron - actualIronAverage : (console[_0x6b392f(0x1e3)](_0x6b392f(0x1ad)), tempIron = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings['needsMorePercentage'] - incomingIron - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]))), console[_0x6b392f(0x1e3)](tempWood), console[_0x6b392f(0x1e3)](tempStone), console[_0x6b392f(0x1e3)](tempIron), (villagesData[_0x5bfb0e]['farmSpaceUsed'] > settings[_0x6b392f(0x1d3)] || villagesData[_0x5bfb0e][_0x6b392f(0x1bd)] > settings[_0x6b392f(0xfc)]) && (console['log'](_0x6b392f(0x1cc) + villagesData[_0x5bfb0e][_0x6b392f(0x215)] + '/' + villagesData[_0x5bfb0e][_0x6b392f(0x1d1)] + _0x6b392f(0xc0) + villagesData[_0x5bfb0e]['name'] + _0x6b392f(0x11b) + villagesData[_0x5bfb0e][_0x6b392f(0x1bd)] + '/' + settings[_0x6b392f(0xfc)] + _0x6b392f(0x1b2) + 0x64 * settings[_0x6b392f(0xd2)] + '%'), parseInt(villagesData[_0x5bfb0e]['wood']) + incomingWood > settings['builtOutPercentage'] * villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] && (tempWood = Math[_0x6b392f(0xd4)](parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]) + incomingWood - settings['builtOutPercentage'] * villagesData[_0x5bfb0e][_0x6b392f(0x1b3)])), parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)]) + incomingStone > settings['builtOutPercentage'] * villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] && (tempStone = Math[_0x6b392f(0xd4)](parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)]) + incomingStone - settings['builtOutPercentage'] * villagesData[_0x5bfb0e][_0x6b392f(0x1b3)])), parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]) + incomingIron > settings['builtOutPercentage'] * villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] && (tempIron = Math[_0x6b392f(0xd4)](parseInt(villagesData[_0x5bfb0e]['iron']) + incomingIron - settings[_0x6b392f(0xd2)] * villagesData[_0x5bfb0e]['warehouseCapacity']))), villagesData[_0x5bfb0e]['points'] < settings['lowPoints'] && (console[_0x6b392f(0x1e3)](villagesData[_0x5bfb0e]['name'] + '\x20(' + villagesData[_0x5bfb0e]['points'] + ')' + _0x6b392f(0x118) + settings['needsMorePercentage'] * 0x64 + _0x6b392f(0x190)), tempWood = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]) - incomingWood), tempStone = -Math['round'](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings['needsMorePercentage'] - parseInt(villagesData[_0x5bfb0e]['stone']) - incomingStone), tempIron = -Math['round'](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]) - incomingIron)), incomingWood + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]) > villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] && (console[_0x6b392f(0x1e3)](_0x6b392f(0x112) + villagesData[_0x5bfb0e]['name']), tempWood = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] - incomingWood - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]))), incomingStone + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)]) > villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] && (console[_0x6b392f(0x1e3)](_0x6b392f(0x1f2) + villagesData[_0x5bfb0e][_0x6b392f(0x166)]), tempStone = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] - incomingStone - parseInt(villagesData[_0x5bfb0e]['stone']))), incomingIron + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]) > villagesData[_0x5bfb0e]['warehouseCapacity'] && (console['log'](_0x6b392f(0x20d) + villagesData[_0x5bfb0e][_0x6b392f(0x166)]), tempIron = -Math[_0x6b392f(0xd4)](villagesData[_0x5bfb0e]['warehouseCapacity'] * settings[_0x6b392f(0x142)] - incomingIron - parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]))), tempWood > 0x0 && tempWood > parseInt(villagesData[_0x5bfb0e]['wood']) && (console[_0x6b392f(0x1e3)](_0x6b392f(0x16f)), tempWood = parseInt(villagesData[_0x5bfb0e]['wood'])), tempStone > 0x0 && tempStone > parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)]) && (console[_0x6b392f(0x1e3)]('Excess\x20is\x20bigger\x20than\x20current\x20available\x20resources,\x20setting\x20it\x20to\x20current\x20available'), tempStone = parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)])), tempIron > 0x0 && tempIron > parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)]) && (console[_0x6b392f(0x1e3)](_0x6b392f(0x16f)), tempIron = parseInt(villagesData[_0x5bfb0e]['iron'])), console[_0x6b392f(0x1e3)](_0x6b392f(0x17e) + villagesData[_0x5bfb0e]['name'] + '\x0a' + _0x6b392f(0x12b) + villagesData[_0x5bfb0e][_0x6b392f(0x1b3)] * settings[_0x6b392f(0x142)] + '\x0a' + _0x6b392f(0x191) + villagesData[_0x5bfb0e]['warehouseCapacity'] + '\x0a' + '\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wood:\x20' + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x181)]) + '\x0a' + '\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clay:\x20' + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0x1b6)]) + '\x0a' + _0x6b392f(0x1de) + parseInt(villagesData[_0x5bfb0e][_0x6b392f(0xe9)])), console[_0x6b392f(0x1e3)]('Woodadjustement:\x20' + tempWood + ',\x20clayadjustement:\x20' + tempStone + _0x6b392f(0x1b0) + tempIron), tempWood > 0x0 ? (excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'wood': Math[_0x6b392f(0x1ce)](tempWood / 0x3e8) * 0x3e8
}), shortageResources[_0x5bfb0e][_0x6b392f(0xca)]({
'wood': 0x0
})) : (shortageResources[_0x5bfb0e][_0x6b392f(0xca)]({
'wood': Math[_0x6b392f(0x1ce)](-tempWood / 0x3e8) * 0x3e8
}), excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'wood': 0x0
})), tempStone > 0x0 ? (excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'stone': Math[_0x6b392f(0x1ce)](tempStone / 0x3e8) * 0x3e8
}), shortageResources[_0x5bfb0e][_0x6b392f(0xca)]({
'stone': 0x0
})) : (shortageResources[_0x5bfb0e][_0x6b392f(0xca)]({
'stone': Math[_0x6b392f(0x1ce)](-tempStone / 0x3e8) * 0x3e8
}), excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'stone': 0x0
})), tempIron > 0x0 ? (excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'iron': Math[_0x6b392f(0x1ce)](tempIron / 0x3e8) * 0x3e8
}), shortageResources[_0x5bfb0e]['push']({
'iron': 0x0
})) : (shortageResources[_0x5bfb0e][_0x6b392f(0xca)]({
'iron': Math[_0x6b392f(0x1ce)](-tempIron / 0x3e8) * 0x3e8
}), excessResources[_0x5bfb0e][_0x6b392f(0xca)]({
'iron': 0x0
}));
}
for (let _0x4e0a62 = 0x0; _0x4e0a62 < excessResources[_0x6b392f(0x178)]; _0x4e0a62++) {
tempAllExcessCombined = parseInt(Math[_0x6b392f(0x1ce)](excessResources[_0x4e0a62][0x0][_0x6b392f(0x181)] / 0x3e8) * 0x3e8) + parseInt(Math[_0x6b392f(0x1ce)](excessResources[_0x4e0a62][0x1]['stone'] / 0x3e8) * 0x3e8) + parseInt(Math['floor'](excessResources[_0x4e0a62][0x2][_0x6b392f(0xe9)] / 0x3e8) * 0x3e8), tempAllExcessCombined > 0x0 && (tempMaxMerchantsNeeded = Math[_0x6b392f(0x1ce)](tempAllExcessCombined / 0x3e8), tempMaxMerchantsNeeded < villagesData[_0x4e0a62][_0x6b392f(0xe3)] ? merchantOrders[_0x6b392f(0xca)]({
'villageID': villagesData[_0x4e0a62]['id'],
'x': villagesData[_0x4e0a62][_0x6b392f(0x166)]['match'](/(\d+)\|(\d+)/)[0x1],
'y': villagesData[_0x4e0a62][_0x6b392f(0x166)][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x2],
'wood': Math['floor'](excessResources[_0x4e0a62][0x0][_0x6b392f(0x181)] / 0x3e8),
'stone': Math['floor'](excessResources[_0x4e0a62][0x1][_0x6b392f(0x1b6)] / 0x3e8),
'iron': Math[_0x6b392f(0x1ce)](excessResources[_0x4e0a62][0x2]['iron'] / 0x3e8)
}) : (tempPercWood = excessResources[_0x4e0a62][0x0]['wood'] / tempAllExcessCombined, tempPercStone = excessResources[_0x4e0a62][0x1]['stone'] / tempAllExcessCombined, tempPercIron = excessResources[_0x4e0a62][0x2][_0x6b392f(0xe9)] / tempAllExcessCombined, merchantOrders[_0x6b392f(0xca)]({
'villageID': villagesData[_0x4e0a62]['id'],
'x': villagesData[_0x4e0a62]['name']['match'](/(\d+)\|(\d+)/)[0x1],
'y': villagesData[_0x4e0a62]['name'][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x2],
'wood': Math['floor'](tempPercWood * villagesData[_0x4e0a62][_0x6b392f(0xe3)]),
'stone': Math['floor'](tempPercStone * villagesData[_0x4e0a62][_0x6b392f(0xe3)]),
'iron': Math[_0x6b392f(0x1ce)](tempPercIron * villagesData[_0x4e0a62][_0x6b392f(0xe3)])
})));
}
for (let _0x328cfb = shortageResources['length'] - 0x1; _0x328cfb >= 0x0; _0x328cfb--) {
$(_0x6b392f(0xf5))['css'](_0x6b392f(0x201), (shortageResources[_0x6b392f(0x178)] - _0x328cfb) / shortageResources[_0x6b392f(0x178)] * 0x64 + '%');
for (let _0x2ded09 = 0x0; _0x2ded09 < merchantOrders[_0x6b392f(0x178)]; _0x2ded09++) {
merchantOrders[_0x2ded09][_0x6b392f(0x179)] = checkDistance(merchantOrders[_0x2ded09]['x'], merchantOrders[_0x2ded09]['y'], villagesData[_0x328cfb]['name'][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x1], villagesData[_0x328cfb]['name'][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x2]);
}
merchantOrders[_0x6b392f(0x121)](function(_0x5b366a, _0x4ff55b) {
var _0x49706a = _0x6b392f;
return _0x5b366a[_0x49706a(0x179)] - _0x4ff55b[_0x49706a(0x179)];
});
if (shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] <= 0x0) {} else
while (shortageResources[_0x328cfb][0x0]['wood'] > 0x0) {
var _0x8706cb = 0x0;
for (let _0x8a39f5 = 0x0; _0x8a39f5 < merchantOrders[_0x6b392f(0x178)]; _0x8a39f5++) {
_0x8706cb += merchantOrders[_0x8a39f5]['wood'];
merchantOrders[_0x8a39f5]['wood'] > 0x0 && (shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] <= merchantOrders[_0x8a39f5][_0x6b392f(0x181)] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0x8a39f5][_0x6b392f(0x216)],
'target': villageID[_0x328cfb],
'wood': shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)]
}), merchantOrders[_0x8a39f5]['wood'] -= shortageResources[_0x328cfb][0x0]['wood'] / 0x3e8, shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] = 0x0), shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] > merchantOrders[_0x8a39f5][_0x6b392f(0x181)] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0x8a39f5][_0x6b392f(0x216)],
'target': villageID[_0x328cfb],
'wood': merchantOrders[_0x8a39f5][_0x6b392f(0x181)] * 0x3e8
}), shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] -= merchantOrders[_0x8a39f5][_0x6b392f(0x181)] * 0x3e8, merchantOrders[_0x8a39f5][_0x6b392f(0x181)] = 0x0));
if (shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] <= 0x0) break;
if (_0x8a39f5 == merchantOrders['length'] - 0x1 && shortageResources[_0x328cfb][0x0][_0x6b392f(0x181)] > 0x0) {
console[_0x6b392f(0x1e3)]('Done\x20with\x20this\x20cycle'), _0x8706cb = 0x0;
break;
}
}
if (_0x8706cb == 0x0) {
_0x328cfb = 0x0;
break;
}
}
}
for (let _0x56f648 = shortageResources[_0x6b392f(0x178)] - 0x1; _0x56f648 >= 0x0; _0x56f648--) {
$('#progress')[_0x6b392f(0x135)](_0x6b392f(0x201), (shortageResources[_0x6b392f(0x178)] - _0x56f648) / shortageResources[_0x6b392f(0x178)] * 0x64 + '%');
for (var _0x39a7dd = 0x0; _0x39a7dd < merchantOrders[_0x6b392f(0x178)]; _0x39a7dd++) {
merchantOrders[_0x39a7dd]['distance'] = checkDistance(merchantOrders[_0x39a7dd]['x'], merchantOrders[_0x39a7dd]['y'], villagesData[_0x56f648]['name'][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x1], villagesData[_0x56f648]['name'][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x2]);
}
merchantOrders[_0x6b392f(0x121)](function(_0x21de00, _0x1106a8) {
var _0x52cb82 = _0x6b392f;
return _0x21de00['distance'] - _0x1106a8[_0x52cb82(0x179)];
});
if (shortageResources[_0x56f648][0x1]['stone'] <= 0x0) {} else
while (shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] > 0x0) {
console['log'](_0x56f648);
var _0x3ce362 = 0x0;
for (var _0xf4dc61 = 0x0; _0xf4dc61 < merchantOrders[_0x6b392f(0x178)]; _0xf4dc61++) {
_0x3ce362 += merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)];
merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] > 0x0 && (shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] <= merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0xf4dc61]['villageID'],
'target': villageID[_0x56f648],
'stone': shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)]
}), merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] -= shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] / 0x3e8, shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] = 0x0), shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] > merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0xf4dc61][_0x6b392f(0x216)],
'target': villageID[_0x56f648],
'stone': merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] * 0x3e8
}), shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] -= merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] * 0x3e8, merchantOrders[_0xf4dc61][_0x6b392f(0x1b6)] = 0x0));
if (shortageResources[_0x56f648][0x1][_0x6b392f(0x1b6)] <= 0x0) break;
if (_0xf4dc61 == merchantOrders[_0x6b392f(0x178)] - 0x1 && shortageResources[_0x56f648][0x1]['stone'] > 0x0) {
console[_0x6b392f(0x1e3)](_0x6b392f(0xc4)), _0x3ce362 = 0x0;
break;
}
}
if (_0x3ce362 == 0x0) {
_0x56f648 = 0x0;
break;
}
}
}
for (let _0x4a8f75 = shortageResources['length'] - 0x1; _0x4a8f75 >= 0x0; _0x4a8f75--) {
$(_0x6b392f(0xf5))[_0x6b392f(0x135)](_0x6b392f(0x201), (shortageResources['length'] - _0x4a8f75) / shortageResources['length'] * 0x64 + '%');
for (let _0x5b15bc = 0x0; _0x5b15bc < merchantOrders[_0x6b392f(0x178)]; _0x5b15bc++) {
merchantOrders[_0x5b15bc][_0x6b392f(0x179)] = checkDistance(merchantOrders[_0x5b15bc]['x'], merchantOrders[_0x5b15bc]['y'], villagesData[_0x4a8f75][_0x6b392f(0x166)][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x1], villagesData[_0x4a8f75][_0x6b392f(0x166)][_0x6b392f(0x153)](/(\d+)\|(\d+)/)[0x2]);
}
merchantOrders[_0x6b392f(0x121)](function(_0x3cb837, _0x5a48f5) {
var _0xc47ebe = _0x6b392f;
return _0x3cb837['distance'] - _0x5a48f5[_0xc47ebe(0x179)];
});
if (shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] <= 0x0) {} else
while (shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] > 0x0) {
var _0x5192b8 = 0x0;
for (let _0x3c1c47 = 0x0; _0x3c1c47 < merchantOrders['length']; _0x3c1c47++) {
_0x5192b8 += merchantOrders[_0x3c1c47][_0x6b392f(0xe9)];
merchantOrders[_0x3c1c47][_0x6b392f(0xe9)] > 0x0 && (shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] <= merchantOrders[_0x3c1c47][_0x6b392f(0xe9)] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0x3c1c47][_0x6b392f(0x216)],
'target': villageID[_0x4a8f75],
'iron': shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)]
}), merchantOrders[_0x3c1c47]['iron'] -= shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] / 0x3e8, shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] = 0x0), shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] > merchantOrders[_0x3c1c47]['iron'] * 0x3e8 && (links[_0x6b392f(0xca)]({
'source': merchantOrders[_0x3c1c47][_0x6b392f(0x216)],
'target': villageID[_0x4a8f75],
'iron': merchantOrders[_0x3c1c47][_0x6b392f(0xe9)] * 0x3e8
}), shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] -= merchantOrders[_0x3c1c47]['iron'] * 0x3e8, merchantOrders[_0x3c1c47][_0x6b392f(0xe9)] = 0x0));
if (shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] <= 0x0) break;
if (_0x3c1c47 == merchantOrders[_0x6b392f(0x178)] - 0x1 && shortageResources[_0x4a8f75][0x2][_0x6b392f(0xe9)] > 0x0) {
console[_0x6b392f(0x1e3)]('Done\x20with\x20this\x20cycle'), _0x5192b8 = 0x0;
break;
}
}
if (_0x5192b8 == 0x0) {
_0x4a8f75 = 0x0;
break;
}
}
}
$(_0x6b392f(0xf5))[_0x6b392f(0x10b)](), htmlCode = _0x6b392f(0x1ab) + totalsAndAverages + _0x6b392f(0xea) + settings[_0x6b392f(0x15f)] + _0x6b392f(0x13a) + settings[_0x6b392f(0xfc)] + _0x6b392f(0x1bf) + settings[_0x6b392f(0x1d3)] + '\x22\x20class=\x22slider\x22\x20name=\x22highFarm\x22\x20oninput=\x22sliderChange(\x27highFarm\x27,this.value)\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<output\x20id=\x22highFarm\x22></output>\x20pop</td></tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22padding:\x206px;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22builtOutPercentage\x22>WH\x20capacity\x20finished\x20villages:\x20</label></td><td\x20style=\x22padding:\x206px;\x22><input\x20type=\x22range\x22\x20min=\x220\x22\x20max=\x221\x22\x20step=\x220.01\x22\x20value=\x22' + settings[_0x6b392f(0xd2)] + _0x6b392f(0x200) + settings[_0x6b392f(0x142)] + _0x6b392f(0x127) + langShinko[0x0] + _0x6b392f(0x155) + langShinko[0x1] + _0x6b392f(0x109) + langShinko[0x2] + _0x6b392f(0x197) + langShinko[0x3] + _0x6b392f(0x13f) + langShinko[0x4] + _0x6b392f(0x13f) + langShinko[0x5] + _0x6b392f(0x13f) + langShinko[0x6] + _0x6b392f(0x1c0) + langShinko[0x8] + '</font>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tr>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</tbody>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</table>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20', $(_0x6b392f(0x1af))['eq'](0x0)[_0x6b392f(0xd9)](htmlCode), is_mobile == !![] && $(_0x6b392f(0xf7))['eq'](0x0)[_0x6b392f(0xd9)](htmlCode), $(_0x6b392f(0x182))[_0x6b392f(0x1d8)](_0x6b392f(0x114), settings['isMinting']), $(_0x6b392f(0x16d))[_0x6b392f(0x158)](settings[_0x6b392f(0x15f)]), $(_0x6b392f(0xe8))[_0x6b392f(0x158)](settings[_0x6b392f(0xfc)]), $(_0x6b392f(0x1ca))['val'](settings[_0x6b392f(0x1d3)]), $('#builtOutPercentage')[_0x6b392f(0x158)](settings[_0x6b392f(0xd2)]), $(_0x6b392f(0x13d))[_0x6b392f(0x158)](settings[_0x6b392f(0x142)]), makeThingsCollapsible(), _0x148b79();
})[_0x2a22c1(0x1fa)](function() {
var _0x2b0cd2 = _0x2a22c1;
console['log'](_0x2b0cd2(0x12c));
})['always'](function() {
var _0x2b8226 = _0x2a22c1;
console[_0x2b8226(0x1e3)](_0x2b8226(0x15b));
});
});
function _0x148b79() {
var _0xc20058 = _0x34c948;
console[_0xc20058(0x1e3)]('Reached\x20list\x20creation');
for (let _0xc769a = 0x0; _0xc769a < links['length']; _0xc769a++) {
if (links[_0xc769a][_0xc20058(0x181)] == undefined) links[_0xc769a]['wood'] = 0x0;
if (links[_0xc769a][_0xc20058(0x1b6)] == undefined) links[_0xc769a]['stone'] = 0x0;
if (links[_0xc769a][_0xc20058(0xe9)] == undefined) links[_0xc769a][_0xc20058(0xe9)] = 0x0;
}
console[_0xc20058(0x1e3)](_0xc20058(0x1fb));
for (let _0x4141b3 = 0x0; _0x4141b3 < links[_0xc20058(0x178)]; _0x4141b3++) {
for (let _0x39bcc9 = 0x0; _0x39bcc9 < links[_0xc20058(0x178)]; _0x39bcc9++) {
links[_0x4141b3][_0xc20058(0xe5)] == links[_0x39bcc9][_0xc20058(0xe5)] && links[_0x4141b3][_0xc20058(0x1e7)] == links[_0x39bcc9]['target'] && _0x4141b3 != _0x39bcc9 && (links[_0x4141b3][_0xc20058(0x181)] += parseInt(links[_0x39bcc9][_0xc20058(0x181)]), links[_0x39bcc9][_0xc20058(0x181)] = 0x0, links[_0x4141b3][_0xc20058(0x1b6)] += parseInt(links[_0x39bcc9]['stone']), links[_0x39bcc9][_0xc20058(0x1b6)] = 0x0, links[_0x4141b3][_0xc20058(0xe9)] += parseInt(links[_0x39bcc9]['iron']), links[_0x39bcc9][_0xc20058(0xe9)] = 0x0);
}
}
console[_0xc20058(0x1e3)](_0xc20058(0x183));
for (let _0x42221b = 0x0; _0x42221b < links['length']; _0x42221b++) {
links[_0x42221b][_0xc20058(0x181)] + links[_0x42221b][_0xc20058(0x1b6)] + links[_0x42221b][_0xc20058(0xe9)] == 0x0 && delete links[_0x42221b];
}
console[_0xc20058(0x1e3)](_0xc20058(0x210));
for (let _0x4190b0 = 0x0; _0x4190b0 < Object[_0xc20058(0x17c)](links)['length']; _0x4190b0++) {
cleanLinks[_0xc20058(0xca)](links[Object[_0xc20058(0x17c)](links)[_0x4190b0]]);
}
console['log']('pushed\x20to\x20clean\x20array'), cleanLinks = addDistanceToArray(cleanLinks), listHTML = '', cleanLinks['sort'](function(_0x344552, _0x3f2a49) {
var _0x5e657e = _0xc20058;
return _0x344552[_0x5e657e(0x179)] - _0x3f2a49['distance'];
});
for (let _0x580119 = 0x0; _0x580119 < cleanLinks[_0xc20058(0x178)]; _0x580119++) {
console[_0xc20058(0x1e3)](_0xc20058(0x1ed) + _0x580119 + _0xc20058(0x102));
_0x580119 % 0x2 == 0x0 ? tempRow = _0xc20058(0x1f9) + _0x580119 + _0xc20058(0x1f0) : tempRow = _0xc20058(0x1f9) + _0x580119 + '\x27\x20class=\x27sophRowA\x27';
for (let _0x382332 in villagesData) {
villagesData[_0x382332]['id'] == cleanLinks[_0x580119][_0xc20058(0xe5)] && (sourceName = villagesData[_0x382332][_0xc20058(0x166)], sourceURL = villagesData[_0x382332][_0xc20058(0x1f5)]);
}
for (let _0x1de685 in villagesData) {
villagesData[_0x1de685]['id'] == cleanLinks[_0x580119][_0xc20058(0x1e7)] && (targetName = villagesData[_0x1de685]['name'], targetURL = villagesData[_0x1de685]['url'], targetWood = villagesData[_0x1de685]['wood'], targetStone = villagesData[_0x1de685][_0xc20058(0x1b6)], targetIron = villagesData[_0x1de685][_0xc20058(0xe9)], targetCapacity = villagesData[_0x1de685]['warehouseCapacity']);
}
listHTML += '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20' + tempRow + _0xc20058(0x177) + sourceURL + '\x22\x20class=\x22sophLink\x22>' + sourceName + '\x20</a></td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>\x20<a\x20href=\x22' + targetURL + '\x22\x20class=\x22sophLink\x22\x20data-toggle=\x22tooltip\x22\x20title=\x22Wood\x20in\x20WH:\x20' + targetWood + _0xc20058(0x1a6) + targetStone + _0xc20058(0x172) + targetIron + _0xc20058(0xfb) + targetCapacity + '\x22>' + targetName + _0xc20058(0x11d) + cleanLinks[_0x580119][_0xc20058(0x179)] + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20width=\x2250\x22\x20style=\x22text-align:center\x22>' + cleanLinks[_0x580119]['wood'] + '<span\x20class=\x22icon\x20header\x20wood\x22>\x20</span></td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20width=\x2250\x22\x20style=\x22text-align:center\x22>' + cleanLinks[_0x580119][_0xc20058(0x1b6)] + _0xc20058(0x144) + cleanLinks[_0x580119][_0xc20058(0xe9)] + _0xc20058(0x1e9) + langShinko[0x7] + _0xc20058(0xc2) + cleanLinks[_0x580119][_0xc20058(0xe5)] + ',' + cleanLinks[_0x580119][_0xc20058(0x1e7)] + ',' + cleanLinks[_0x580119][_0xc20058(0x181)] + ',' + cleanLinks[_0x580119][_0xc20058(0x1b6)] + ',' + cleanLinks[_0x580119][_0xc20058(0xe9)] + ',' + _0x580119 + ')\x22></td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</tr>';
}
$(_0xc20058(0x14d))['eq'](0x0)[_0xc20058(0xda)](listHTML), $(_0xc20058(0x1c1))[0x0][_0xc20058(0x1c5)]();
for (let _0x13231e = 0x0; _0x13231e < shortageResources[_0xc20058(0x178)]; _0x13231e++) {
parseInt(shortageResources[_0x13231e][0x0][_0xc20058(0x181)]) + parseInt(shortageResources[_0x13231e][0x1]['stone']) + parseInt(shortageResources[_0x13231e][0x2][_0xc20058(0xe9)]) != 0x0 && stillShortage[_0xc20058(0xca)]([villagesData[_0x13231e][_0xc20058(0x166)], shortageResources[_0x13231e]]);
}
for (let _0x2d68a1 = 0x0; _0x2d68a1 < excessResources[_0xc20058(0x178)]; _0x2d68a1++) {
parseInt(excessResources[_0x2d68a1][0x0][_0xc20058(0x181)]) + parseInt(excessResources[_0x2d68a1][0x1][_0xc20058(0x1b6)]) + parseInt(excessResources[_0x2d68a1][0x2]['iron']) != 0x0 && stillExcess[_0xc20058(0xca)]([villagesData[_0x2d68a1][_0xc20058(0x166)], excessResources[_0x2d68a1]]);
}
$(_0xc20058(0x208))['eq'](0x0)[_0xc20058(0xda)](_0xc20058(0xc7)), console['log']('Finished');
}
}
displayEverything();
function checkDistance(_0x13cec6, _0x111fd0, _0x4ee634, _0x18a078) {
var _0x462bef = _0x14d89d,
_0x418329 = _0x13cec6 - _0x4ee634,
_0x17bec4 = _0x111fd0 - _0x18a078,
_0x55f34e = Math[_0x462bef(0xd4)](Math[_0x462bef(0x189)](_0x418329, _0x17bec4));
return _0x55f34e;
}
function addDistanceToArray(_0x420a4e) {
var _0x175f2e = _0x14d89d;
for (let _0x5e31ee = 0x0; _0x5e31ee < _0x420a4e['length']; _0x5e31ee++) {
for (let _0x175f6e in villagesData) {
villagesData[_0x175f6e]['id'] == _0x420a4e[_0x5e31ee][_0x175f2e(0xe5)] && (sourceName = villagesData[_0x175f6e][_0x175f2e(0x166)], sourceURL = villagesData[_0x175f6e][_0x175f2e(0x1f5)]);
}
for (let _0x17c54d in villagesData) {
villagesData[_0x17c54d]['id'] == _0x420a4e[_0x5e31ee][_0x175f2e(0x1e7)] && (targetName = villagesData[_0x17c54d]['name'], targetURL = villagesData[_0x17c54d][_0x175f2e(0x1f5)]);
}
_0x420a4e[_0x5e31ee][_0x175f2e(0x179)] = checkDistance(sourceName['match'](/(\d+)\|(\d+)/)[0x1], sourceName[_0x175f2e(0x153)](/(\d+)\|(\d+)/)[0x2], targetName[_0x175f2e(0x153)](/(\d+)\|(\d+)/)[0x1], targetName[_0x175f2e(0x153)](/(\d+)\|(\d+)/)[0x2]);
}
return _0x420a4e;
}
function numberWithCommas(_0x2ea5bc) {
var _0x32fd2b = _0x14d89d;
_0x2ea5bc = _0x2ea5bc[_0x32fd2b(0x1cd)]();
var _0x2a28e5 = /(-?\d+)(\d{3})/;
while (_0x2a28e5[_0x32fd2b(0x18d)](_0x2ea5bc)) _0x2ea5bc = _0x2ea5bc[_0x32fd2b(0x1d0)](_0x2a28e5, _0x32fd2b(0x17a));
return _0x2ea5bc;
}
function showStats() {
var _0xe930e0 = _0x14d89d;
htmlStats = _0xe930e0(0x117);
for (let _0x30a52c = 0x0; _0x30a52c < stillShortage[_0xe930e0(0x178)]; _0x30a52c++) {
console[_0xe930e0(0x1e3)](_0xe930e0(0x1ed) + _0x30a52c + _0xe930e0(0x102)), _0x30a52c % 0x2 == 0x0 ? tempRow = _0xe930e0(0x1f9) + _0x30a52c + _0xe930e0(0x1f0) : tempRow = '\x20id=\x27' + _0x30a52c + _0xe930e0(0x104), htmlStats += _0xe930e0(0x123) + tempRow + _0xe930e0(0x106) + stillShortage[_0x30a52c][0x0] + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>' + stillShortage[_0x30a52c][0x1][0x0][_0xe930e0(0x181)] + _0xe930e0(0xfe) + stillShortage[_0x30a52c][0x1][0x1]['stone'] + _0xe930e0(0xfe) + stillShortage[_0x30a52c][0x1][0x2][_0xe930e0(0xe9)] + '</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</tr>';
}
htmlStats += _0xe930e0(0x1b7);
for (let _0x329a9d = 0x0; _0x329a9d < stillExcess[_0xe930e0(0x178)]; _0x329a9d++) {
console['log'](_0xe930e0(0x1ed) + _0x329a9d + 'of\x20the\x20list'), _0x329a9d % 0x2 == 0x0 ? tempRow = _0xe930e0(0x1f9) + _0x329a9d + '\x27\x20class=\x27sophRowB\x27' : tempRow = _0xe930e0(0x1f9) + _0x329a9d + _0xe930e0(0x104), htmlStats += '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20' + tempRow + '\x20height=\x2240\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td>' + stillExcess[_0x329a9d][0x0] + _0xe930e0(0x105) + stillExcess[_0x329a9d][0x1][0x0][_0xe930e0(0x181)] + _0xe930e0(0xfe) + stillExcess[_0x329a9d][0x1][0x1][_0xe930e0(0x1b6)] + _0xe930e0(0xfe) + stillExcess[_0x329a9d][0x1][0x2][_0xe930e0(0xe9)] + _0xe930e0(0x141);
}
htmlStats += _0xe930e0(0x202), Dialog['show'](_0xe930e0(0x196), htmlStats);
}
function makeThingsCollapsible() {
var _0x5e4f84 = _0x14d89d,
_0x1139d0 = $(_0x5e4f84(0xee));
for (var _0x20fe13 = 0x0; _0x20fe13 < _0x1139d0[_0x5e4f84(0x178)]; _0x20fe13++) {
_0x1139d0[_0x20fe13][_0x5e4f84(0x1e5)]('click', function() {
var _0x19ce35 = _0x5e4f84;
this['classList']['toggle']('active');
var _0x1ee536 = this[_0x19ce35(0x156)];
_0x1ee536['style'][_0x19ce35(0x115)] ? _0x1ee536[_0x19ce35(0x11c)]['maxHeight'] = null : _0x1ee536[_0x19ce35(0x11c)]['maxHeight'] = _0x1ee536['scrollHeight'] + 'px';
});
}
}
function saveSettings() {
var _0x58ef6c = _0x14d89d;
tempArray = $(_0x58ef6c(0x12d))['serializeArray'](), $(_0x58ef6c(0x182))[0x0]['checked'] == !![] ? (settings['isMinting'] = !![], settings[_0x58ef6c(0x15f)] = parseInt(tempArray[0x1][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0xfc)] = parseInt(tempArray[0x2][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0x1d3)] = parseInt(tempArray[0x3][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0xd2)] = parseFloat(tempArray[0x4][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0x142)] = parseFloat(tempArray[0x5][_0x58ef6c(0x10f)])) : (settings[_0x58ef6c(0x13e)] = ![], settings['lowPoints'] = parseInt(tempArray[0x0][_0x58ef6c(0x10f)]), settings['highPoints'] = parseInt(tempArray[0x1][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0x1d3)] = parseInt(tempArray[0x2][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0xd2)] = parseFloat(tempArray[0x3][_0x58ef6c(0x10f)]), settings[_0x58ef6c(0x142)] = parseFloat(tempArray[0x4]['value'])), localStorage['setItem'](_0x58ef6c(0xd0), JSON[_0x58ef6c(0x21a)](settings)), $('.flex-container')[_0x58ef6c(0x10b)](), $(_0x58ef6c(0x1e8))['remove'](), $('div[id*=\x27sendResources\x27]')[_0x58ef6c(0x10b)](), init(), displayEverything();
}
function sliderChange(_0xe12a7a, _0x1baf7d) {
var _0x25d181 = _0x14d89d;
document['getElementById'](_0xe12a7a)[_0x25d181(0x19e)] = _0x1baf7d;
}
function resAfterBalance() {
var _0x7bfb3c = _0x14d89d;
resBalancedHTML = _0x7bfb3c(0x125);
for (var _0x302495 = 0x0; _0x302495 < villagesData[_0x7bfb3c(0x178)]; _0x302495++) {
thisMerchantLeft = villagesData[_0x302495][_0x7bfb3c(0xe3)];
incomingRes[villagesData[_0x302495]['id']] != undefined ? (console[_0x7bfb3c(0x1e3)]('adding\x20res\x20underway\x20to\x20target'), thisVillageTotalWood = incomingRes[villagesData[_0x302495]['id']][_0x7bfb3c(0x181)] + parseInt(villagesData[_0x302495][_0x7bfb3c(0x181)]), thisVillageTotalStone = incomingRes[villagesData[_0x302495]['id']]['stone'] + parseInt(villagesData[_0x302495][_0x7bfb3c(0x1b6)]), thisVillageTotalIron = incomingRes[villagesData[_0x302495]['id']][_0x7bfb3c(0xe9)] + parseInt(villagesData[_0x302495][_0x7bfb3c(0xe9)])) : (thisVillageTotalWood = parseInt(villagesData[_0x302495][_0x7bfb3c(0x181)]), thisVillageTotalStone = parseInt(villagesData[_0x302495][_0x7bfb3c(0x1b6)]), thisVillageTotalIron = parseInt(villagesData[_0x302495][_0x7bfb3c(0xe9)]));
for (var _0x34843d = 0x0; _0x34843d < cleanLinks[_0x7bfb3c(0x178)]; _0x34843d++) {
cleanLinks[_0x34843d][_0x7bfb3c(0x1e7)] == villagesData[_0x302495]['id'] && (console['log'](_0x7bfb3c(0x192)), thisVillageTotalWood += cleanLinks[_0x34843d][_0x7bfb3c(0x181)], thisVillageTotalStone += cleanLinks[_0x34843d][_0x7bfb3c(0x1b6)], thisVillageTotalIron += cleanLinks[_0x34843d]['iron']), cleanLinks[_0x34843d][_0x7bfb3c(0xe5)] == villagesData[_0x302495]['id'] && (console[_0x7bfb3c(0x1e3)](_0x7bfb3c(0x1cb)), thisVillageTotalWood -= cleanLinks[_0x34843d][_0x7bfb3c(0x181)], thisVillageTotalStone -= cleanLinks[_0x34843d][_0x7bfb3c(0x1b6)], thisVillageTotalIron -= cleanLinks[_0x34843d]['iron'], thisMerchantLeft -= (cleanLinks[_0x34843d][_0x7bfb3c(0x181)] + cleanLinks[_0x34843d][_0x7bfb3c(0x1b6)] + cleanLinks[_0x34843d][_0x7bfb3c(0xe9)]) / 0x3e8);
}
_0x302495 % 0x2 == 0x0 ? tempRow = _0x7bfb3c(0xc6) : tempRow = _0x7bfb3c(0x1ba), resBalancedHTML += '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<tr\x20' + tempRow + _0x7bfb3c(0x124) + villagesData[_0x302495][_0x7bfb3c(0x166)] + _0x7bfb3c(0x105) + villagesData[_0x302495][_0x7bfb3c(0x1bd)] + _0x7bfb3c(0x162) + (thisMerchantLeft + '/' + villagesData[_0x302495][_0x7bfb3c(0xf6)]) + _0x7bfb3c(0x193) + thisVillageTotalWood + _0x7bfb3c(0xc5) + thisVillageTotalStone + _0x7bfb3c(0x126) + thisVillageTotalIron + '\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</td>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<td\x20style=\x22text-align:right\x22>' + villagesData[_0x302495]['warehouseCapacity'] + _0x7bfb3c(0x141);
}
resBalancedHTML += _0x7bfb3c(0x133), Dialog[_0x7bfb3c(0x20b)](_0x7bfb3c(0x196), resBalancedHTML);
}