-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathc2runtime.js
More file actions
521 lines (521 loc) · 249 KB
/
c2runtime.js
File metadata and controls
521 lines (521 loc) · 249 KB
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
// Generated by Construct 2, the HTML5 game and app creator :: https://www.construct.net
'use strict';var aa,ba,ca,da,ea,ga,ha,ia,ja,la,ma,na,oa,pa,qa,ra,ua,va,wa,xa,za,Aa,Ba,y,Ca,Da,Ea,Fa,Ga,A,Ha,Ja,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Za,$a,ab,db,eb,fb,gb,hb,ib,jb,kb,lb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,yb,zb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc,kc,lc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(g){return g.__proto__}:function(g){return g.constructor.prototype});
(function(){function g(a,c,f,h){this.set(a,c,f,h)}function l(){this.rb=this.qb=this.tb=this.sb=this.Gb=this.Fb=this.Sa=this.Ra=0}function b(a,c,f,h){a<c?f<h?(n=a<f?a:f,v=c>h?c:h):(n=a<h?a:h,v=c>f?c:f):f<h?(n=c<f?c:f,v=a>h?a:h):(n=c<h?c:h,v=a>f?a:f)}function q(){this.items=this.yc=null;this.Ci=0;B&&(this.yc=new Set);this.Jh=[];this.Se=!0}function e(a){Q[F++]=a}function k(){this.ga=this.Bh=this.y=this.Um=0}function a(a){this.Db=[];this.Xj=this.Zj=this.$j=this.Yj=0;this.ej(a)}function d(a,c){this.Ym=
a;this.Xm=c;this.cells={}}function t(a,c){this.Ym=a;this.Xm=c;this.cells={}}function r(a,c,f){var h;return z.length?(h=z.pop(),h.Gn=a,h.x=c,h.y=f,h):new ba(a,c,f)}function f(a,c,h){this.Gn=a;this.x=c;this.y=h;this.Kb=new ca}function m(a,c,h){var f;return G.length?(f=G.pop(),f.Gn=a,f.x=c,f.y=h,f):new da(a,c,h)}function c(a,c,h){this.Gn=a;this.x=c;this.y=h;this.Kb=[];this.Og=!0;this.Wd=new ca;this.Uh=!1}function h(a,c){return a.Id-c.Id}ea=function(a){window.console&&window.console.log&&window.console.log(a)};
ga=function(a){window.console&&window.console.error&&window.console.error(a)};aa=function(a){return a};ha=function(a){return"undefined"===typeof a};ia=function(a){return"number"===typeof a};ja=function(a){return"string"===typeof a};la=function(a){return 0<a&&0===(a-1&a)};ma=function(a){--a;for(var c=1;32>c;c<<=1)a=a|a>>c;return a+1};na=function(a){return 0>a?-a:a};oa=function(a,c){return a>c?a:c};pa=function(a,c){return a<c?a:c};qa=Math.PI;ra=function(a){return 0<=a?a|0:(a|0)-1};ua=function(a){var c=
a|0;return c===a?c:c+1};va=function(a,c,h,f,n,d,m,u){var p,t,b,v;a<h?(t=a,p=h):(t=h,p=a);n<m?(v=n,b=m):(v=m,b=n);if(p<v||t>b)return!1;c<f?(t=c,p=f):(t=f,p=c);d<u?(v=d,b=u):(v=u,b=d);if(p<v||t>b)return!1;p=n-a+m-h;t=d-c+u-f;a=h-a;c=f-c;n=m-n;d=u-d;u=na(c*n-d*a);return na(n*t-d*p)>u?!1:na(a*t-c*p)<=u};g.prototype.set=function(a,c,h,f){this.left=a;this.top=c;this.right=h;this.bottom=f};g.prototype.ug=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};g.prototype.width=
function(){return this.right-this.left};g.prototype.height=function(){return this.bottom-this.top};g.prototype.offset=function(a,c){this.left+=a;this.top+=c;this.right+=a;this.bottom+=c;return this};g.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=this.bottom,this.bottom=a)};g.prototype.Py=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};g.prototype.Qy=
function(a,c,h){return!(a.right+c<this.left||a.bottom+h<this.top||a.left+c>this.right||a.top+h>this.bottom)};g.prototype.Zb=function(a,c){return a>=this.left&&a<=this.right&&c>=this.top&&c<=this.bottom};g.prototype.ci=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};wa=g;l.prototype.wh=function(a){this.Ra=a.left;this.Sa=a.top;this.Fb=a.right;this.Gb=a.top;this.sb=a.right;this.tb=a.bottom;this.qb=a.left;this.rb=a.bottom};l.prototype.gt=function(a,
c){if(0===c)this.wh(a);else{var h=Math.sin(c),f=Math.cos(c),n=a.left*h,d=a.top*h,m=a.right*h,h=a.bottom*h,u=a.left*f,p=a.top*f,t=a.right*f,f=a.bottom*f;this.Ra=u-d;this.Sa=p+n;this.Fb=t-d;this.Gb=p+m;this.sb=t-h;this.tb=f+m;this.qb=u-h;this.rb=f+n}};l.prototype.offset=function(a,c){this.Ra+=a;this.Sa+=c;this.Fb+=a;this.Gb+=c;this.sb+=a;this.tb+=c;this.qb+=a;this.rb+=c;return this};var n=0,v=0;l.prototype.tq=function(a){b(this.Ra,this.Fb,this.sb,this.qb);a.left=n;a.right=v;b(this.Sa,this.Gb,this.tb,
this.rb);a.top=n;a.bottom=v};l.prototype.Zb=function(a,c){var h=this.Ra,f=this.Sa,n=this.Fb-h,d=this.Gb-f,m=this.sb-h,u=this.tb-f,p=a-h,t=c-f,b=n*n+d*d,v=n*m+d*u,d=n*p+d*t,w=m*m+u*u,e=m*p+u*t,g=1/(b*w-v*v),n=(w*d-v*e)*g,b=(b*e-v*d)*g;if(0<=n&&0<b&&1>n+b)return!0;n=this.qb-h;d=this.rb-f;b=n*n+d*d;v=n*m+d*u;d=n*p+d*t;g=1/(b*w-v*v);n=(w*d-v*e)*g;b=(b*e-v*d)*g;return 0<=n&&0<b&&1>n+b};l.prototype.Lc=function(a,c){if(c)switch(a){case 0:return this.Ra;case 1:return this.Fb;case 2:return this.sb;case 3:return this.qb;
case 4:return this.Ra;default:return this.Ra}else switch(a){case 0:return this.Sa;case 1:return this.Gb;case 2:return this.tb;case 3:return this.rb;case 4:return this.Sa;default:return this.Sa}};l.prototype.hs=function(){return(this.Ra+this.Fb+this.sb+this.qb)/4};l.prototype.js=function(){return(this.Sa+this.Gb+this.tb+this.rb)/4};l.prototype.lr=function(a){var c=a.hs(),h=a.js();if(this.Zb(c,h))return!0;c=this.hs();h=this.js();if(a.Zb(c,h))return!0;var f,n,d,m,u,p,t,b;for(t=0;4>t;t++)for(b=0;4>b;b++)if(c=
this.Lc(t,!0),h=this.Lc(t,!1),f=this.Lc(t+1,!0),n=this.Lc(t+1,!1),d=a.Lc(b,!0),m=a.Lc(b,!1),u=a.Lc(b+1,!0),p=a.Lc(b+1,!1),va(c,h,f,n,d,m,u,p))return!0;return!1};xa=l;za=function(a,c){for(var h in c)c.hasOwnProperty(h)&&(a[h]=c[h]);return a};Aa=function(a,c){var h,f;c=ra(c);if(!(0>c||c>=a.length)){h=c;for(f=a.length-1;h<f;h++)a[h]=a[h+1];Ba(a,f)}};Ba=function(a,c){a.length=c};y=function(a){Ba(a,0)};Ca=function(a,c){y(a);var h,f;h=0;for(f=c.length;h<f;++h)a[h]=c[h]};Da=function(a,c){a.push.apply(a,
c)};Ea=function(a,c){var h,f;h=0;for(f=a.length;h<f;++h)if(a[h]===c)return h;return-1};Fa=function(a,c){var h=Ea(a,c);-1!==h&&Aa(a,h)};Ga=function(a,c,h){return a<c?c:a>h?h:a};A=function(a){return a/(180/qa)};Ha=function(a){return 180/qa*a};Ja=function(a){a%=360;0>a&&(a+=360);return a};La=function(a){a%=2*qa;0>a&&(a+=2*qa);return a};Ma=function(a){return Ja(Ha(a))};Na=function(a){return La(A(a))};Oa=function(a,c,h,f){return Math.atan2(f-c,h-a)};Pa=function(a,c){if(a===c)return 0;var h=Math.sin(a),
f=Math.cos(a),n=Math.sin(c),d=Math.cos(c),h=h*n+f*d;return 1<=h?0:-1>=h?qa:Math.acos(h)};Qa=function(a,c,h){var f=Math.sin(a),n=Math.cos(a),d=Math.sin(c),m=Math.cos(c);return Math.acos(f*d+n*m)>h?0<n*d-f*m?La(a+h):La(a-h):La(c)};Ra=function(a,c){var h=Math.sin(a),f=Math.cos(a),n=Math.sin(c),d=Math.cos(c);return 0>=f*n-h*d};Sa=function(a,c,h,f,n,d){if(0===h)return d?a:c;var m=Math.sin(h);h=Math.cos(h);a-=f;c-=n;var u=a*m;a=a*h-c*m;c=c*h+u;return d?a+f:c+n};Ta=function(a,c,h,f){a=h-a;c=f-c;return Math.sqrt(a*
a+c*c)};Ua=function(a,c){return!a!==!c};Va=function(a){for(var c in a)if(a.hasOwnProperty(c))return!0;return!1};Wa=function(a){for(var c in a)a.hasOwnProperty(c)&&delete a[c]};var w=+new Date;Xa=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.mozNow)return a.mozNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-w};var p=
!1,H=p=!1,X=!1;"undefined"!==typeof window&&(p=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),p=!p&&/safari/i.test(navigator.userAgent),H=/(iphone|ipod|ipad)/i.test(navigator.userAgent),X=window.c2ejecta);var B=!p&&!X&&!H&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;q.prototype.contains=function(a){return this.te()?!1:B?this.yc.has(a):this.items&&this.items.hasOwnProperty(a)};q.prototype.add=function(a){if(B)this.yc.has(a)||(this.yc.add(a),this.Se=
!1);else{var c=a.toString(),h=this.items;h?h.hasOwnProperty(c)||(h[c]=a,this.Ci++,this.Se=!1):(this.items={},this.items[c]=a,this.Ci=1,this.Se=!1)}};q.prototype.remove=function(a){if(!this.te())if(B)this.yc.has(a)&&(this.yc["delete"](a),this.Se=!1);else if(this.items){a=a.toString();var c=this.items;c.hasOwnProperty(a)&&(delete c[a],this.Ci--,this.Se=!1)}};q.prototype.clear=function(){this.te()||(B?this.yc.clear():(this.items=null,this.Ci=0),y(this.Jh),this.Se=!0)};q.prototype.te=function(){return 0===
this.count()};q.prototype.count=function(){return B?this.yc.size:this.Ci};var Q=null,F=0;q.prototype.EA=function(){if(!this.Se){if(B)y(this.Jh),Q=this.Jh,F=0,this.yc.forEach(e),Q=null,F=0;else{var a=this.Jh;y(a);var c,h=0,f=this.items;if(f)for(c in f)f.hasOwnProperty(c)&&(a[h++]=f[c])}this.Se=!0}};q.prototype.xf=function(){this.EA();return this.Jh};ca=q;new ca;Za=function(a,c){B?$a(a,c.yc):ab(a,c.xf())};$a=function(a,c){var h,f,n,d;f=h=0;for(n=a.length;h<n;++h)d=a[h],c.has(d)||(a[f++]=d);Ba(a,f)};
ab=function(a,c){var h,f,n,d;f=h=0;for(n=a.length;h<n;++h)d=a[h],-1===Ea(c,d)&&(a[f++]=d);Ba(a,f)};k.prototype.add=function(a){this.y=a-this.Um;this.Bh=this.ga+this.y;this.Um=this.Bh-this.ga-this.y;this.ga=this.Bh};k.prototype.reset=function(){this.ga=this.Bh=this.y=this.Um=0};db=k;eb=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};a.prototype.ej=function(a){this.Ns=a;this.Dd=a.length/2;this.Db.length=a.length;this.ck=this.dk=-1;this.wq=0};a.prototype.Lg=function(){return!this.Ns.length};
a.prototype.La=function(){for(var a=this.Db,c=a[0],h=c,f=a[1],n=f,d,m,u=1,p=this.Dd;u<p;++u)m=2*u,d=a[m],m=a[m+1],d<c&&(c=d),d>h&&(h=d),m<f&&(f=m),m>n&&(n=m);this.Yj=c;this.Zj=h;this.$j=f;this.Xj=n};a.prototype.wh=function(a,c,h){this.Db.length=8;this.Dd=4;var f=this.Db;f[0]=a.left-c;f[1]=a.top-h;f[2]=a.right-c;f[3]=a.top-h;f[4]=a.right-c;f[5]=a.bottom-h;f[6]=a.left-c;f[7]=a.bottom-h;this.dk=a.right-a.left;this.ck=a.bottom-a.top;this.La()};a.prototype.vh=function(a,c,h,f,n){this.Db.length=8;this.Dd=
4;var d=this.Db;d[0]=a.Ra-c;d[1]=a.Sa-h;d[2]=a.Fb-c;d[3]=a.Gb-h;d[4]=a.sb-c;d[5]=a.tb-h;d[6]=a.qb-c;d[7]=a.rb-h;this.dk=f;this.ck=n;this.La()};a.prototype.et=function(a){this.Dd=a.Dd;Ca(this.Db,a.Db);this.Yj=a.Yj;this.$j=a.$j;this.Zj=a.Zj;this.Xj=a.Xj};a.prototype.rg=function(a,c,h){if(this.dk!==a||this.ck!==c||this.wq!==h){this.dk=a;this.ck=c;this.wq=h;var f,n,d,m,u,p=0,t=1,b=this.Ns,v=this.Db;0!==h&&(p=Math.sin(h),t=Math.cos(h));h=0;for(d=this.Dd;h<d;h++)f=2*h,n=f+1,m=b[f]*a,u=b[n]*c,v[f]=m*t-u*
p,v[n]=u*t+m*p;this.La()}};a.prototype.Zb=function(a,c){var h=this.Db;if(a===h[0]&&c===h[1])return!0;var f,n,d,m=this.Dd,u=this.Yj-110,p=this.$j-101,t=this.Zj+131,b=this.Xj+120,v,w,e=0,g=0;for(f=0;f<m;f++)n=2*f,d=(f+1)%m*2,v=h[n],n=h[n+1],w=h[d],d=h[d+1],va(u,p,a,c,v,n,w,d)&&e++,va(t,b,a,c,v,n,w,d)&&g++;return 1===e%2||1===g%2};a.prototype.qi=function(a,c,h){var f=a.Db,n=this.Db;if(this.Zb(f[0]+c,f[1]+h)||a.Zb(n[0]-c,n[1]-h))return!0;var d,m,u,p,t,b,v,w,e,g,H,l;d=0;for(p=this.Dd;d<p;d++)for(m=2*d,
u=(d+1)%p*2,w=n[m],m=n[m+1],e=n[u],g=n[u+1],u=0,v=a.Dd;u<v;u++)if(t=2*u,b=(u+1)%v*2,H=f[t]+c,t=f[t+1]+h,l=f[b]+c,b=f[b+1]+h,va(w,m,e,g,H,t,l,b))return!0;return!1};fb=a;d.prototype.ef=function(a,c,h){var f;f=this.cells[a];return f?(f=f[c])?f:h?(f=r(this,a,c),this.cells[a][c]=f):null:h?(f=r(this,a,c),this.cells[a]={},this.cells[a][c]=f):null};d.prototype.nc=function(a){return ra(a/this.Ym)};d.prototype.oc=function(a){return ra(a/this.Xm)};d.prototype.update=function(a,c,h){var f,n,d,m,u;if(c)for(f=
c.left,n=c.right;f<=n;++f)for(d=c.top,m=c.bottom;d<=m;++d)if(!h||!h.Zb(f,d))if(u=this.ef(f,d,!1))u.remove(a),u.te()&&(u.Kb.clear(),1E3>z.length&&z.push(u),this.cells[f][d]=null);if(h)for(f=h.left,n=h.right;f<=n;++f)for(d=h.top,m=h.bottom;d<=m;++d)c&&c.Zb(f,d)||this.ef(f,d,!0).Rn(a)};d.prototype.Hl=function(a,c){var h,f,n,d,m,u;h=this.nc(a.left);n=this.oc(a.top);f=this.nc(a.right);for(m=this.oc(a.bottom);h<=f;++h)for(d=n;d<=m;++d)(u=this.ef(h,d,!1))&&u.dump(c)};gb=d;t.prototype.ef=function(a,c,h){var f;
f=this.cells[a];return f?(f=f[c])?f:h?(f=m(this,a,c),this.cells[a][c]=f):null:h?(f=m(this,a,c),this.cells[a]={},this.cells[a][c]=f):null};t.prototype.nc=function(a){return ra(a/this.Ym)};t.prototype.oc=function(a){return ra(a/this.Xm)};t.prototype.update=function(a,c,h){var f,n,d,m,u;if(c)for(f=c.left,n=c.right;f<=n;++f)for(d=c.top,m=c.bottom;d<=m;++d)if(!h||!h.Zb(f,d))if(u=this.ef(f,d,!1))u.remove(a),u.te()&&(u.reset(),1E3>G.length&&G.push(u),this.cells[f][d]=null);if(h)for(f=h.left,n=h.right;f<=
n;++f)for(d=h.top,m=h.bottom;d<=m;++d)c&&c.Zb(f,d)||this.ef(f,d,!0).Rn(a)};t.prototype.Hl=function(a,c,h,f,n){var d,m;a=this.nc(a);c=this.oc(c);h=this.nc(h);for(d=this.oc(f);a<=h;++a)for(f=c;f<=d;++f)(m=this.ef(a,f,!1))&&m.dump(n)};t.prototype.jz=function(a){var c,h,f,n,d;c=a.left;f=a.top;h=a.right;for(n=a.bottom;c<=h;++c)for(a=f;a<=n;++a)if(d=this.ef(c,a,!1))d.Og=!1};hb=t;var z=[];f.prototype.te=function(){return this.Kb.te()};f.prototype.Rn=function(a){this.Kb.add(a)};f.prototype.remove=function(a){this.Kb.remove(a)};
f.prototype.dump=function(a){Da(a,this.Kb.xf())};ba=f;var G=[];c.prototype.te=function(){if(!this.Kb.length)return!0;if(this.Kb.length>this.Wd.count())return!1;this.tn();return!0};c.prototype.Rn=function(a){this.Wd.contains(a)?(this.Wd.remove(a),this.Wd.te()&&(this.Uh=!1)):this.Kb.length?(this.Kb[this.Kb.length-1].Qd()>a.Qd()&&(this.Og=!1),this.Kb.push(a)):(this.Kb.push(a),this.Og=!0)};c.prototype.remove=function(a){this.Wd.add(a);this.Uh=!0;30<=this.Wd.count()&&this.tn()};c.prototype.tn=function(){this.Uh&&
(this.Wd.count()===this.Kb.length?this.reset():(Za(this.Kb,this.Wd),this.Wd.clear(),this.Uh=!1))};c.prototype.tx=function(){this.Og||(this.Kb.sort(h),this.Og=!0)};c.prototype.reset=function(){y(this.Kb);this.Og=!0;this.Wd.clear();this.Uh=!1};c.prototype.dump=function(a){this.tn();this.tx();this.Kb.length&&a.push(this.Kb)};da=c;var C="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ib=function(a){return 0>=a||11<=a?"source-over":
C[a-1]};jb=function(a,c,h){if(h)switch(a.ic=h.ONE,a.$b=h.ONE_MINUS_SRC_ALPHA,c){case 1:a.ic=h.ONE;a.$b=h.ONE;break;case 3:a.ic=h.ONE;a.$b=h.ZERO;break;case 4:a.ic=h.ONE_MINUS_DST_ALPHA;a.$b=h.ONE;break;case 5:a.ic=h.DST_ALPHA;a.$b=h.ZERO;break;case 6:a.ic=h.ZERO;a.$b=h.SRC_ALPHA;break;case 7:a.ic=h.ONE_MINUS_DST_ALPHA;a.$b=h.ZERO;break;case 8:a.ic=h.ZERO;a.$b=h.ONE_MINUS_SRC_ALPHA;break;case 9:a.ic=h.DST_ALPHA;a.$b=h.ONE_MINUS_SRC_ALPHA;break;case 10:a.ic=h.ONE_MINUS_DST_ALPHA,a.$b=h.SRC_ALPHA}};
kb=function(a){return Math.round(1E6*a)/1E6};lb=function(a,c){return"string"!==typeof a||"string"!==typeof c||a.length!==c.length?!1:a===c?!0:a.toLowerCase()===c.toLowerCase()};ob=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||lb(a.tagName,"canvas")?!0:!1}})();var mc="undefined"!==typeof Float32Array?Float32Array:Array;function nc(g){var l=new mc(3);g&&(l[0]=g[0],l[1]=g[1],l[2]=g[2]);return l}
function oc(g){var l=new mc(16);g&&(l[0]=g[0],l[1]=g[1],l[2]=g[2],l[3]=g[3],l[4]=g[4],l[5]=g[5],l[6]=g[6],l[7]=g[7],l[8]=g[8],l[9]=g[9],l[10]=g[10],l[11]=g[11],l[12]=g[12],l[13]=g[13],l[14]=g[14],l[15]=g[15]);return l}function pc(g,l){l[0]=g[0];l[1]=g[1];l[2]=g[2];l[3]=g[3];l[4]=g[4];l[5]=g[5];l[6]=g[6];l[7]=g[7];l[8]=g[8];l[9]=g[9];l[10]=g[10];l[11]=g[11];l[12]=g[12];l[13]=g[13];l[14]=g[14];l[15]=g[15]}
function qc(g,l){var b=l[0],q=l[1];l=l[2];g[0]*=b;g[1]*=b;g[2]*=b;g[3]*=b;g[4]*=q;g[5]*=q;g[6]*=q;g[7]*=q;g[8]*=l;g[9]*=l;g[10]*=l;g[11]*=l}
function rc(g,l,b,q){q||(q=oc());var e,k,a,d,t,r,f,m,c=g[0],h=g[1];g=g[2];k=b[0];a=b[1];e=b[2];b=l[1];r=l[2];c===l[0]&&h===b&&g===r?(g=q,g[0]=1,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=1,g[6]=0,g[7]=0,g[8]=0,g[9]=0,g[10]=1,g[11]=0,g[12]=0,g[13]=0,g[14]=0,g[15]=1):(b=c-l[0],r=h-l[1],f=g-l[2],m=1/Math.sqrt(b*b+r*r+f*f),b*=m,r*=m,f*=m,l=a*f-e*r,e=e*b-k*f,k=k*r-a*b,(m=Math.sqrt(l*l+e*e+k*k))?(m=1/m,l*=m,e*=m,k*=m):k=e=l=0,a=r*k-f*e,d=f*l-b*k,t=b*e-r*l,(m=Math.sqrt(a*a+d*d+t*t))?(m=1/m,a*=m,d*=m,t*=m):t=d=a=0,
q[0]=l,q[1]=a,q[2]=b,q[3]=0,q[4]=e,q[5]=d,q[6]=r,q[7]=0,q[8]=k,q[9]=t,q[10]=f,q[11]=0,q[12]=-(l*c+e*h+k*g),q[13]=-(a*c+d*h+t*g),q[14]=-(b*c+r*h+f*g),q[15]=1)}
(function(){function g(a,d,t){this.jf=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Ja=!!t;this.Sk=this.si=!1;this.en=0;this.tm=1;this.up=1E3;this.LA=(this.up-this.tm)/32768;this.Vm=nc([0,0,100]);this.Qr=nc([0,0,0]);this.Dt=nc([0,1,0]);this.Bj=nc([1,1,1]);this.Fq=!0;this.il=oc();this.Wc=oc();this.bo=oc();this.dn=oc();this.G=a;this.version=0===this.G.getParameter(this.G.VERSION).indexOf("WebGL 2")?2:1;this.hr()}function l(a,d,t){this.G=a;this.fj=
d;this.name=t;this.hd=a.getAttribLocation(d,"aPos");this.pf=a.getAttribLocation(d,"aTex");this.Or=a.getUniformLocation(d,"matP");this.el=a.getUniformLocation(d,"matMV");this.Wg=a.getUniformLocation(d,"opacity");this.jo=a.getUniformLocation(d,"colorFill");this.Pr=a.getUniformLocation(d,"samplerFront");this.Mi=a.getUniformLocation(d,"samplerBack");this.Zf=a.getUniformLocation(d,"destStart");this.Yf=a.getUniformLocation(d,"destEnd");this.Oi=a.getUniformLocation(d,"seconds");this.lo=a.getUniformLocation(d,
"pixelWidth");this.ko=a.getUniformLocation(d,"pixelHeight");this.Li=a.getUniformLocation(d,"layerScale");this.Ki=a.getUniformLocation(d,"layerAngle");this.Pi=a.getUniformLocation(d,"viewOrigin");this.Ni=a.getUniformLocation(d,"scrollPos");this.Jy=!!(this.lo||this.ko||this.Oi||this.Mi||this.Zf||this.Yf||this.Li||this.Ki||this.Pi||this.Ni);this.Yr=this.Zr=-999;this.hl=1;this.Ur=this.Tr=0;this.Wr=this.Sr=this.Rr=1;this.bs=this.as=this.$r=this.ds=this.cs=this.Vr=0;this.ao=[];this.Xr=oc();this.Wg&&a.uniform1f(this.Wg,
1);this.jo&&a.uniform4f(this.jo,1,1,1,1);this.Pr&&a.uniform1i(this.Pr,0);this.Mi&&a.uniform1i(this.Mi,1);this.Zf&&a.uniform2f(this.Zf,0,0);this.Yf&&a.uniform2f(this.Yf,1,1);this.Li&&a.uniform1f(this.Li,1);this.Ki&&a.uniform1f(this.Ki,0);this.Pi&&a.uniform2f(this.Pi,0,0);this.Ni&&a.uniform2f(this.Ni,0,0);this.Oi&&a.uniform1f(this.Oi,0);this.Nf=!1}function b(a,d){return a[0]===d[0]&&a[1]===d[1]&&a[2]===d[2]&&a[3]===d[3]&&a[4]===d[4]&&a[5]===d[5]&&a[6]===d[6]&&a[7]===d[7]&&a[8]===d[8]&&a[9]===d[9]&&
a[10]===d[10]&&a[11]===d[11]&&a[12]===d[12]&&a[13]===d[13]&&a[14]===d[14]&&a[15]===d[15]}function q(a,d){this.type=a;this.q=d;this.G=d.G;this.fd=this.jc=this.zs=0;this.aa=this.pd=null;this.ht=[]}var e=oc();g.prototype.hr=function(){var a=this.G,d;this.Dr=1;this.Uf=this.Tf=null;this.ok=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.STENCIL_TEST);a.disable(a.DITHER);this.Ja?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)):
a.disable(a.DEPTH_TEST);this.Fr=a.ONE;this.Br=a.ONE_MINUS_SRC_ALPHA;this.om=new Float32Array(8E3*(this.Ja?3:2));this.fm=new Float32Array(16E3);this.Eo=new Float32Array(32E3);this.Do=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.Do);a.bufferData(a.ARRAY_BUFFER,this.Eo.byteLength,a.DYNAMIC_DRAW);this.vj=Array(4);this.lj=Array(4);for(d=0;4>d;d++)this.vj[d]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.vj[d]),a.bufferData(a.ARRAY_BUFFER,this.om.byteLength,a.DYNAMIC_DRAW),this.lj[d]=a.createBuffer(),
a.bindBuffer(a.ARRAY_BUFFER,this.lj[d]),a.bufferData(a.ARRAY_BUFFER,this.fm.byteLength,a.DYNAMIC_DRAW);this.je=0;this.My=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.My);for(var t=new Uint16Array(12E3),b=d=0;12E3>d;)t[d++]=b,t[d++]=b+1,t[d++]=b+2,t[d++]=b,t[d++]=b+2,t[d++]=b+3,b+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,t,a.STATIC_DRAW);this.mh=this.Ch=this.Ke=0;this.ab=[];d=this.Ja?"attribute highp vec3 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, aPos.z, 1.0);\n\tvTex = aTex;\n}":
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}";t=this.$h({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},d,"<default>");this.ab.push(t);t=this.$h({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},
"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.ab.push(t);t=this.$h({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},d,"<earlyz>");this.ab.push(t);t=this.$h({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
d,"<fill>");this.ab.push(t);for(var f in sc)sc.hasOwnProperty(f)&&this.ab.push(this.$h(sc[f],d,f));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.ie=[];this.Kd=0;this.ec=this.Pb=!1;this.Bq=this.Di=-1;this.wg=null;this.rn=a.createFramebuffer();this.sk=this.Jl=null;this.pq=!1;this.Ja&&(this.sk=a.createRenderbuffer());this.wf=nc([0,0,0]);a=a.getParameter(a.ALIASED_POINT_SIZE_RANGE);this.nz=a[0];this.oo=a[1];2048<this.oo&&(this.oo=2048);this.zc(0)};l.prototype.np=function(a){b(this.Xr,
a)||(pc(a,this.Xr),this.G.uniformMatrix4fv(this.el,!1,a))};g.prototype.$h=function(a,d,b){var e=this.G,f=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(f,a.src);e.compileShader(f);if(!e.getShaderParameter(f,e.COMPILE_STATUS))throw a=e.getShaderInfoLog(f),e.deleteShader(f),Error("error compiling fragment shader: "+a);var m=e.createShader(e.VERTEX_SHADER);e.shaderSource(m,d);e.compileShader(m);if(!e.getShaderParameter(m,e.COMPILE_STATUS))throw a=e.getShaderInfoLog(m),e.deleteShader(f),e.deleteShader(m),
Error("error compiling vertex shader: "+a);d=e.createProgram();e.attachShader(d,f);e.attachShader(d,m);e.linkProgram(d);if(!e.getProgramParameter(d,e.LINK_STATUS))throw a=e.getProgramInfoLog(d),e.deleteShader(f),e.deleteShader(m),e.deleteProgram(d),Error("error linking shader program: "+a);e.useProgram(d);e.deleteShader(f);e.deleteShader(m);f=new l(e,d,b);f.wk=a.wk||0;f.xk=a.xk||0;f.cn=!!a.cn;f.ld=!!a.ld;f.Pm=!!a.Pm;f.X=a.X||[];a=0;for(m=f.X.length;a<m;a++)f.X[a][1]=e.getUniformLocation(d,f.X[a][0]),
f.ao.push(0),e.uniform1f(f.X[a][1],0);return f};g.prototype.En=function(a){var d,b;d=0;for(b=this.ab.length;d<b;d++)if(this.ab[d].name===a)return d;return-1};g.prototype.Ms=function(a,d,b){var e=this.Wc,f=this.il,m=[0,0,0,0,0,0,0,0];m[0]=e[0]*a+e[4]*d+e[12];m[1]=e[1]*a+e[5]*d+e[13];m[2]=e[2]*a+e[6]*d+e[14];m[3]=e[3]*a+e[7]*d+e[15];m[4]=f[0]*m[0]+f[4]*m[1]+f[8]*m[2]+f[12]*m[3];m[5]=f[1]*m[0]+f[5]*m[1]+f[9]*m[2]+f[13]*m[3];m[6]=f[2]*m[0]+f[6]*m[1]+f[10]*m[2]+f[14]*m[3];m[7]=-m[2];0!==m[7]&&(m[7]=1/
m[7],m[4]*=m[7],m[5]*=m[7],m[6]*=m[7],b[0]=(.5*m[4]+.5)*this.width,b[1]=(.5*m[5]+.5)*this.height)};g.prototype.De=function(a,d,b){if(this.width!==a||this.height!==d||b){this.bf();b=this.G;this.width=a;this.height=d;b.viewport(0,0,a,d);rc(this.Vm,this.Qr,this.Dt,this.Wc);if(this.Ja){var e=-a/2;a=a/2;var f=d/2;d=-d/2;var m=this.tm,c=this.up,h=this.il;h||(h=oc());var n=a-e,v=d-f,w=c-m;h[0]=2/n;h[1]=0;h[2]=0;h[3]=0;h[4]=0;h[5]=2/v;h[6]=0;h[7]=0;h[8]=0;h[9]=0;h[10]=-2/w;h[11]=0;h[12]=-(e+a)/n;h[13]=-(d+
f)/v;h[14]=-(c+m)/w;h[15]=1;this.Bj[0]=1;this.Bj[1]=1}else d=a/d,e=this.tm,a=this.up,h=this.il,c=e*Math.tan(45*Math.PI/360),d*=c,f=-d,m=-c,h||(h=oc()),n=d-f,v=c-m,w=a-e,h[0]=2*e/n,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=2*e/v,h[6]=0,h[7]=0,h[8]=(d+f)/n,h[9]=(c+m)/v,h[10]=-(a+e)/w,h[11]=-1,h[12]=0,h[13]=0,h[14]=-(a*e*2)/w,h[15]=0,e=[0,0],a=[0,0],this.Ms(0,0,e),this.Ms(1,1,a),this.Bj[0]=1/(a[0]-e[0]),this.Bj[1]=-1/(a[1]-e[1]);e=0;for(a=this.ab.length;e<a;e++)f=this.ab[e],f.Nf=!1,f.Or&&(b.useProgram(f.fj),
b.uniformMatrix4fv(f.Or,!1,this.il));b.useProgram(this.ab[this.Di].fj);b.bindTexture(b.TEXTURE_2D,null);b.activeTexture(b.TEXTURE1);b.bindTexture(b.TEXTURE_2D,null);b.activeTexture(b.TEXTURE0);this.Uf=this.Tf=null;this.sk&&(b.bindFramebuffer(b.FRAMEBUFFER,this.rn),b.bindRenderbuffer(b.RENDERBUFFER,this.sk),b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,this.width,this.height),this.pq||(b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,this.sk),this.pq=!0),b.bindRenderbuffer(b.RENDERBUFFER,
null),b.bindFramebuffer(b.FRAMEBUFFER,null),this.Jl=null)}};g.prototype.Yd=function(){rc(this.Vm,this.Qr,this.Dt,this.Wc);qc(this.Wc,this.Bj)};g.prototype.translate=function(a,d){if(0!==a||0!==d){this.wf[0]=a;this.wf[1]=d;this.wf[2]=0;var b=this.Wc,e=this.wf,f=e[0],m=e[1],e=e[2];b[12]=b[0]*f+b[4]*m+b[8]*e+b[12];b[13]=b[1]*f+b[5]*m+b[9]*e+b[13];b[14]=b[2]*f+b[6]*m+b[10]*e+b[14];b[15]=b[3]*f+b[7]*m+b[11]*e+b[15]}};g.prototype.scale=function(a,d){if(1!==a||1!==d)this.wf[0]=a,this.wf[1]=d,this.wf[2]=
1,qc(this.Wc,this.wf)};g.prototype.Ro=function(a){if(0!==a){var d=this.Wc,b,e=Math.sin(a);a=Math.cos(a);var f=d[0],m=d[1],c=d[2],h=d[3],n=d[4],v=d[5],w=d[6],p=d[7];b?d!==b&&(b[8]=d[8],b[9]=d[9],b[10]=d[10],b[11]=d[11],b[12]=d[12],b[13]=d[13],b[14]=d[14],b[15]=d[15]):b=d;b[0]=f*a+n*e;b[1]=m*a+v*e;b[2]=c*a+w*e;b[3]=h*a+p*e;b[4]=f*-e+n*a;b[5]=m*-e+v*a;b[6]=c*-e+w*a;b[7]=h*-e+p*a}};g.prototype.Hd=function(){if(!b(this.bo,this.Wc)){var a=this.vc();a.type=5;a.aa?pc(this.Wc,a.aa):a.aa=oc(this.Wc);pc(this.Wc,
this.bo);this.ec=this.Pb=!1}};g.prototype.Rl=function(a){this.Ja&&(32760<a&&(a=32760),this.en=this.Vm[2]-this.tm-a*this.LA)};q.prototype.Yw=function(){var a=this.G,d=this.q;0!==this.jc?(a.depthMask(!0),a.colorMask(!1,!1,!1,!1),a.disable(a.BLEND),a.bindFramebuffer(a.FRAMEBUFFER,d.rn),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.clear(a.DEPTH_BUFFER_BIT),a.bindFramebuffer(a.FRAMEBUFFER,null),d.Sk=!0):(a.depthMask(!1),a.colorMask(!0,!0,!0,!0),a.enable(a.BLEND),d.Sk=
!1)};q.prototype.bx=function(){this.G.bindTexture(this.G.TEXTURE_2D,this.pd)};q.prototype.cx=function(){var a=this.G;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.pd);a.activeTexture(a.TEXTURE0)};q.prototype.Zw=function(){var a=this.zs,d=this.q;d.ok=a;d=d.wg;d.Wg&&d.hl!==a&&(d.hl=a,this.G.uniform1f(d.Wg,a))};q.prototype.Sw=function(){this.G.drawElements(this.G.TRIANGLES,this.fd,this.G.UNSIGNED_SHORT,this.jc)};q.prototype.Vw=function(){this.G.blendFunc(this.jc,this.fd)};q.prototype.gx=
function(){var a,d,b,e=this.q.ab,f=this.q.Bq;a=0;for(d=e.length;a<d;a++)b=e[a],a===f&&b.el?(b.np(this.aa),b.Nf=!0):b.Nf=!1;pc(this.aa,this.q.dn)};q.prototype.Tw=function(){var a=this.G,d=this.q;this.pd?(d.Uf===this.pd&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),d.Uf=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,d.rn),d.Sk||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.pd,0)):(d.Ja||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,
a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};q.prototype.Pw=function(){var a=this.G,d=this.jc;0===d?(a.clearColor(this.aa[0],this.aa[1],this.aa[2],this.aa[3]),a.clear(a.COLOR_BUFFER_BIT)):1===d?(a.enable(a.SCISSOR_TEST),a.scissor(this.aa[0],this.aa[1],this.aa[2],this.aa[3]),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST)):a.clear(a.DEPTH_BUFFER_BIT)};q.prototype.Xw=function(){var a=this.G;0!==this.jc?a.enable(a.DEPTH_TEST):a.disable(a.DEPTH_TEST)};q.prototype.Rw=
function(){var a=this.G,d=this.q;d.Ja&&a.disable(a.DEPTH_TEST);var b=d.ab[1];a.useProgram(b.fj);!b.Nf&&b.el&&(b.np(d.dn),b.Nf=!0);a.enableVertexAttribArray(b.hd);a.bindBuffer(a.ARRAY_BUFFER,d.Do);a.vertexAttribPointer(b.hd,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.jc/4,this.fd);b=d.wg;a.useProgram(b.fj);0<=b.hd&&(a.enableVertexAttribArray(b.hd),a.bindBuffer(a.ARRAY_BUFFER,d.vj[d.je]),a.vertexAttribPointer(b.hd,d.Ja?3:2,a.FLOAT,!1,0,0));0<=b.pf&&(a.enableVertexAttribArray(b.pf),a.bindBuffer(a.ARRAY_BUFFER,
d.lj[d.je]),a.vertexAttribPointer(b.pf,2,a.FLOAT,!1,0,0));d.Ja&&a.enable(a.DEPTH_TEST)};q.prototype.$w=function(){var a=this.G,d=this.q,b=d.ab[this.jc];d.Bq=this.jc;d.wg=b;a.useProgram(b.fj);!b.Nf&&b.el&&(b.np(d.dn),b.Nf=!0);b.Wg&&b.hl!==d.ok&&(b.hl=d.ok,a.uniform1f(b.Wg,d.ok));0<=b.hd&&(a.enableVertexAttribArray(b.hd),a.bindBuffer(a.ARRAY_BUFFER,d.vj[d.je]),a.vertexAttribPointer(b.hd,d.Ja?3:2,a.FLOAT,!1,0,0));0<=b.pf&&(a.enableVertexAttribArray(b.pf),a.bindBuffer(a.ARRAY_BUFFER,d.lj[d.je]),a.vertexAttribPointer(b.pf,
2,a.FLOAT,!1,0,0))};q.prototype.Ww=function(){var a=this.aa;this.G.uniform4f(this.q.wg.jo,a[0],a[1],a[2],a[3])};q.prototype.ax=function(){var a,d,b=this.q.wg,e=this.G;a=this.aa;b.Mi&&this.q.Uf!==this.pd&&(e.activeTexture(e.TEXTURE1),e.bindTexture(e.TEXTURE_2D,this.pd),this.q.Uf=this.pd,e.activeTexture(e.TEXTURE0));var f=a[0];b.lo&&f!==b.Zr&&(b.Zr=f,e.uniform1f(b.lo,f));f=a[1];b.ko&&f!==b.Yr&&(b.Yr=f,e.uniform1f(b.ko,f));f=a[2];d=a[3];!b.Zf||f===b.Tr&&d===b.Ur||(b.Tr=f,b.Ur=d,e.uniform2f(b.Zf,f,d));
f=a[4];d=a[5];!b.Yf||f===b.Rr&&d===b.Sr||(b.Rr=f,b.Sr=d,e.uniform2f(b.Yf,f,d));f=a[6];b.Li&&f!==b.Wr&&(b.Wr=f,e.uniform1f(b.Li,f));f=a[7];b.Ki&&f!==b.Vr&&(b.Vr=f,e.uniform1f(b.Ki,f));f=a[8];d=a[9];!b.Pi||f===b.cs&&d===b.ds||(b.cs=f,b.ds=d,e.uniform2f(b.Pi,f,d));f=a[10];d=a[11];!b.Ni||f===b.$r&&d===b.as||(b.$r=f,b.as=d,e.uniform2f(b.Ni,f,d));f=a[12];b.Oi&&f!==b.bs&&(b.bs=f,e.uniform1f(b.Oi,f));if(b.X.length)for(a=0,d=b.X.length;a<d;a++)f=this.ht[a],f!==b.ao[a]&&(b.ao[a]=f,e.uniform1f(b.X[a][1],f))};
g.prototype.vc=function(){this.Kd===this.ie.length&&this.ie.push(new q(0,this));return this.ie[this.Kd++]};g.prototype.bf=function(){if(0!==this.Kd&&!this.G.isContextLost()){var a=this.G;0<this.mh&&(a.bindBuffer(a.ARRAY_BUFFER,this.Do),a.bufferSubData(a.ARRAY_BUFFER,0,this.Eo.subarray(0,this.mh)),d&&0<=d.hd&&"<point>"===d.name&&a.vertexAttribPointer(d.hd,4,a.FLOAT,!1,0,0));if(0<this.Ke){var d=this.wg;a.bindBuffer(a.ARRAY_BUFFER,this.vj[this.je]);a.bufferSubData(a.ARRAY_BUFFER,0,this.om.subarray(0,
this.Ke));d&&0<=d.hd&&"<point>"!==d.name&&a.vertexAttribPointer(d.hd,this.Ja?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.lj[this.je]);a.bufferSubData(a.ARRAY_BUFFER,0,this.fm.subarray(0,this.Ch));d&&0<=d.pf&&"<point>"!==d.name&&a.vertexAttribPointer(d.pf,2,a.FLOAT,!1,0,0)}for(var b,a=0,d=this.Kd;a<d;a++)switch(b=this.ie[a],b.type){case 1:b.Sw();break;case 2:b.bx();break;case 3:b.Zw();break;case 4:b.Vw();break;case 5:b.gx();break;case 6:b.Tw();break;case 7:b.Pw();break;case 8:b.Rw();break;
case 9:b.$w();break;case 10:b.ax();break;case 11:b.cx();break;case 12:b.Ww();break;case 13:b.Xw();break;case 14:b.Yw()}this.mh=this.Ch=this.Ke=this.Kd=0;this.Sk=this.ec=this.Pb=!1;this.je++;4<=this.je&&(this.je=0)}};g.prototype.Ce=function(a){if(a!==this.Dr&&!this.si){var d=this.vc();d.type=3;this.Dr=d.zs=a;this.ec=this.Pb=!1}};g.prototype.hc=function(a){if(a!==this.Tf){var d=this.vc();d.type=2;this.Tf=d.pd=a;this.ec=this.Pb=!1}};g.prototype.tf=function(a,d){if((a!==this.Fr||d!==this.Br)&&!this.si){var b=
this.vc();b.type=4;b.jc=a;b.fd=d;this.Fr=a;this.Br=d;this.ec=this.Pb=!1}};g.prototype.Xs=function(){this.tf(this.G.ONE,this.G.ONE_MINUS_SRC_ALPHA)};g.prototype.nh=function(a,d,b,e,f,m,c,h){15992<=this.Ke&&this.bf();var n=this.Ke,v=this.Ch,w=this.om,p=this.fm,g=this.en;if(this.Pb)this.ie[this.Kd-1].fd+=6;else{var l=this.vc();l.type=1;l.jc=this.Ja?n:n/2*3;l.fd=6;this.Pb=!0;this.ec=!1}this.Ja?(w[n++]=a,w[n++]=d,w[n++]=g,w[n++]=b,w[n++]=e,w[n++]=g,w[n++]=f,w[n++]=m,w[n++]=g,w[n++]=c,w[n++]=h,w[n++]=g):
(w[n++]=a,w[n++]=d,w[n++]=b,w[n++]=e,w[n++]=f,w[n++]=m,w[n++]=c,w[n++]=h);p[v++]=0;p[v++]=0;p[v++]=1;p[v++]=0;p[v++]=1;p[v++]=1;p[v++]=0;p[v++]=1;this.Ke=n;this.Ch=v};g.prototype.md=function(a,b,e,g,f,m,c,h,n){15992<=this.Ke&&this.bf();var v=this.Ke,w=this.Ch,p=this.om,H=this.fm,l=this.en;if(this.Pb)this.ie[this.Kd-1].fd+=6;else{var k=this.vc();k.type=1;k.jc=this.Ja?v:v/2*3;k.fd=6;this.Pb=!0;this.ec=!1}var k=n.left,q=n.top,F=n.right;n=n.bottom;this.Ja?(p[v++]=a,p[v++]=b,p[v++]=l,p[v++]=e,p[v++]=g,
p[v++]=l,p[v++]=f,p[v++]=m,p[v++]=l,p[v++]=c,p[v++]=h,p[v++]=l):(p[v++]=a,p[v++]=b,p[v++]=e,p[v++]=g,p[v++]=f,p[v++]=m,p[v++]=c,p[v++]=h);H[w++]=k;H[w++]=q;H[w++]=F;H[w++]=q;H[w++]=F;H[w++]=n;H[w++]=k;H[w++]=n;this.Ke=v;this.Ch=w};g.prototype.Jz=function(a,b,e,g){7996<=this.mh&&this.bf();var f=this.mh,m=this.Eo;if(this.ec)this.ie[this.Kd-1].fd++;else{var c=this.vc();c.type=8;c.jc=f;c.fd=1;this.ec=!0;this.Pb=!1}m[f++]=a;m[f++]=b;m[f++]=e;m[f++]=g;this.mh=f};g.prototype.zc=function(a){if(this.Di!==
a){if(!this.ab[a]){if(0===this.Di)return;a=0}var b=this.vc();b.type=9;this.Di=b.jc=a;this.ec=this.Pb=!1}};g.prototype.$i=function(a){a=this.ab[a];return!(!a.Zf&&!a.Yf)};g.prototype.Io=function(a){a=this.ab[a];return!!(a.Zf||a.Yf||a.cn)};g.prototype.Ho=function(a){return this.ab[a].ld};g.prototype.Sz=function(a){a=this.ab[a];return 0!==a.wk||0!==a.xk};g.prototype.qy=function(a){return this.ab[a].wk};g.prototype.ry=function(a){return this.ab[a].xk};g.prototype.ty=function(a,b){return this.ab[a].X[b][2]};
g.prototype.Fl=function(a){return this.ab[a].Pm};g.prototype.sh=function(a,b,e,g,f,m,c,h,n,v,w,p,l,k,q){var Q=this.ab[this.Di],F,z;if(Q.Jy||q.length){F=this.vc();F.type=10;F.aa?pc(this.Wc,F.aa):F.aa=oc();z=F.aa;z[0]=b;z[1]=e;z[2]=g;z[3]=f;z[4]=m;z[5]=c;z[6]=h;z[7]=n;z[8]=v;z[9]=w;z[10]=p;z[11]=l;z[12]=k;Q.Mi?F.pd=a:F.pd=null;if(q.length)for(e=F.ht,e.length=q.length,a=0,b=q.length;a<b;a++)e[a]=q[a];this.ec=this.Pb=!1}};g.prototype.clear=function(a,b,e,g){var f=this.vc();f.type=7;f.jc=0;f.aa||(f.aa=
oc());f.aa[0]=a;f.aa[1]=b;f.aa[2]=e;f.aa[3]=g;this.ec=this.Pb=!1};g.prototype.clearRect=function(a,b,e,g){if(!(0>e||0>g)){var f=this.vc();f.type=7;f.jc=1;f.aa||(f.aa=oc());f.aa[0]=a;f.aa[1]=b;f.aa[2]=e;f.aa[3]=g;this.ec=this.Pb=!1}};g.prototype.$s=function(a){if(this.Ja&&(a=!!a,this.si!==a)){var b=this.vc();b.type=14;b.jc=a?1:0;this.ec=this.Pb=!1;this.si=a;this.Jl=null;this.si?this.zc(2):this.zc(0)}};g.prototype.Zs=function(a){if(this.Ja){var b=this.vc();b.type=13;b.jc=a?1:0;this.ec=this.Pb=!1}};
g.prototype.Rq=function(){pc(this.bo,e);this.Yd();this.Hd();var a=this.width/2,b=this.height/2;this.nh(-a,b,a,b,a,-b,-a,-b);pc(e,this.Wc);this.Hd()};g.prototype.Ys=function(a,b,e){this.zc(3);var g=this.vc();g.type=12;g.aa||(g.aa=oc());g.aa[0]=a;g.aa[1]=b;g.aa[2]=e;g.aa[3]=1;this.ec=this.Pb=!1};g.prototype.pA=function(){this.zc(0)};g.prototype.Zz=function(){this.zc(2)};g.prototype.Qz=function(){this.bf();this.G.flush()};pb=[];var k={};g.prototype.Fw=function(){y(pb);k={}};g.prototype.tc=function(a,
b,e,g,f){b=!!b;e=!!e;var m=a.src+","+b+","+e+(b?","+f:""),c=null;if("undefined"!==typeof a.src&&k.hasOwnProperty(m))return c=k[m],c.bk++,c;this.bf();var h=this.G,n=la(a.width)&&la(a.height),c=h.createTexture();h.bindTexture(h.TEXTURE_2D,c);h.pixelStorei(h.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var v=h.RGBA,w=h.RGBA,p=h.UNSIGNED_BYTE;if(g&&!this.jf)switch(g){case 1:w=v=h.RGB;break;case 2:p=h.UNSIGNED_SHORT_4_4_4_4;break;case 3:p=h.UNSIGNED_SHORT_5_5_5_1;break;case 4:w=v=h.RGB,p=h.UNSIGNED_SHORT_5_6_5}if(1===
this.version&&!n&&b){g=document.createElement("canvas");g.width=ma(a.width);g.height=ma(a.height);var l=g.getContext("2d");"undefined"!==typeof l.imageSmoothingEnabled?l.imageSmoothingEnabled=e:(l.webkitImageSmoothingEnabled=e,l.mozImageSmoothingEnabled=e,l.msImageSmoothingEnabled=e);l.drawImage(a,0,0,a.width,a.height,0,0,g.width,g.height);h.texImage2D(h.TEXTURE_2D,0,v,w,p,g)}else h.texImage2D(h.TEXTURE_2D,0,v,w,p,a);b?"repeat-x"===f?(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.REPEAT),h.texParameteri(h.TEXTURE_2D,
h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE)):("repeat-y"===f?h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE):h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.REPEAT),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.REPEAT)):(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE));e?(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.LINEAR),(n||2<=this.version)&&this.Fq?(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR_MIPMAP_LINEAR),
h.generateMipmap(h.TEXTURE_2D)):h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.LINEAR)):(h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MAG_FILTER,h.NEAREST),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_MIN_FILTER,h.NEAREST));h.bindTexture(h.TEXTURE_2D,null);this.Tf=null;c.wd=a.width;c.vd=a.height;c.bk=1;c.vq=m;pb.push(c);return k[m]=c};g.prototype.cd=function(a,b,e){var g;this.bf();var f=this.G;this.jf&&(g=!1);var m=f.createTexture();f.bindTexture(f.TEXTURE_2D,m);f.texImage2D(f.TEXTURE_2D,0,f.RGBA,a,b,0,
f.RGBA,g?f.UNSIGNED_SHORT_4_4_4_4:f.UNSIGNED_BYTE,null);f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_S,f.CLAMP_TO_EDGE);f.texParameteri(f.TEXTURE_2D,f.TEXTURE_WRAP_T,f.CLAMP_TO_EDGE);f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MAG_FILTER,e?f.LINEAR:f.NEAREST);f.texParameteri(f.TEXTURE_2D,f.TEXTURE_MIN_FILTER,e?f.LINEAR:f.NEAREST);f.bindTexture(f.TEXTURE_2D,null);this.Tf=null;m.wd=a;m.vd=b;pb.push(m);return m};g.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.bk&&1<a.bk?a.bk--:(this.bf(),
a===this.Tf&&(this.G.bindTexture(this.G.TEXTURE_2D,null),this.Tf=null),a===this.Uf&&(this.G.activeTexture(this.G.TEXTURE1),this.G.bindTexture(this.G.TEXTURE_2D,null),this.G.activeTexture(this.G.TEXTURE0),this.Uf=null),Fa(pb,a),"undefined"!==typeof a.vq&&delete k[a.vq],this.G.deleteTexture(a)))};g.prototype.nd=function(a){if(a!==this.Jl){var b=this.vc();b.type=6;this.Jl=b.pd=a;this.ec=this.Pb=!1}};qb=g})();
(function(){function g(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var c=this;this.Tc=(this.Tk=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2iscordova&&window.c2iscordova;this.Hb=!!a.dc;this.or="undefined"!==typeof window.AppMobi||
this.Hb;this.gd=!!window.c2cocoonjs;this.Ad=!!window.c2ejecta;this.gd&&(CocoonJS.App.onSuspended.addEventListener(function(){c.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){c.setSuspended(!1)}));this.Ad&&(document.addEventListener("pagehide",function(){c.setSuspended(!0)}),document.addEventListener("pageshow",function(){c.setSuspended(!1)}),document.addEventListener("resize",function(){c.setSize(window.innerWidth,window.innerHeight)}));this.Da=this.Hb||this.gd||this.Ad;this.vi=
/edge\//i.test(navigator.userAgent);this.jf=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.vi;this.qr=/tizen/i.test(navigator.userAgent);this.ri=/android/i.test(navigator.userAgent)&&!this.qr&&!this.jf&&!this.vi;this.wr=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.jf&&!this.vi;this.az=/ipad/i.test(navigator.userAgent);this.Qg=this.wr||this.az||this.Ad;this.Tn=(/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent))&&!this.jf&&!this.vi;this.nr=/amazonwebappplatform/i.test(navigator.userAgent);this.Uy=/firefox/i.test(navigator.userAgent);this.Yy=/safari/i.test(navigator.userAgent)&&!this.Tn&&!this.jf&&!this.vi;this.Zy=/windows/i.test(navigator.userAgent);this.Xy=this.Ig="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.sr=!("undefined"===typeof window.c2isWindows8||
!window.c2isWindows8);this.tr=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.lf=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Zn=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Uk=!!window.cr_windows10;this.rr=this.sr||this.tr||this.Zn||this.Uk;this.Ry=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Rk=this.ri&&!this.Tn&&!this.Tk&&!this.Uy&&!this.nr&&!this.Da;
this.devicePixelRatio=1;this.Qf=this.Tc||this.Tk||this.or||this.gd||this.ri||this.Qg||this.lf||this.Zn||this.Ry||this.qr||this.Ad;this.Qf||(this.Qf=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.xi=!!(this.Qg&&this.Tc&&window.webkit);"undefined"===typeof cr_is_preview||this.Ig||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.Ig=!0);this.Ty="undefined"!==
typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=a;this.ek=document.getElementById("c2canvasdiv");this.q=this.G=null;this.Fn="(unavailable)";this.Ja=!1;this.Ef=0;this.Ma=null;this.Ck=!1;this.ss=this.ts=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.ontouchstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.Hb&&(window.c2runtime=
this);this.Ig&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},window.nwgui&&window.nwgui.App.clearCache&&window.nwgui.App.clearCache());this.Rk&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.M=this.width;this.L=this.height;this.mk=this.width;this.bi=this.height;this.Ug=window.innerWidth;this.Tg=window.innerHeight;this.qa=!0;this.wi=!1;Date.now||(Date.now=
function(){return+new Date});this.plugins=[];this.types={};this.D=[];this.Wa=[];this.fo={};this.Bd=[];this.qn={};this.pe=[];this.Lh=[];this.jm=[];this.uw=[];this.vw=[];this.Cf={};this.Vn=this.gf=!1;this.Uc=0;this.Un=this.Yn=!1;this.xd=[];this.ti=!1;this.al=this.Vo="";this.Cb=null;this.ue="";this.jj=this.kt=!1;this.Bk=[];this.Df=this.oe=0;this.ks=30;this.an=this.Qi=0;this.gg=1;this.Rb=new db;this.Le=new db;this.ll=this.Fk=this.Jf=this.Fh=this.Wf=this.un=this.Yk=0;this.Yh=null;this.kn=[];this.pn=[];
this.vk=-1;this.mo=[[]];this.jp=this.fl=0;this.Gl(null);this.Ri=[];this.Si=-1;this.ei=this.ns=this.Vi=0;this.kj=[];this.fp=this.Lo=-1;this.Bi=!0;this.dl=0;this.Jg=!1;this.rA=0;this.qg=null;this.Vc=this.br=!1;this.rs=new ca;this.vo=new ca;this.wo=new ca;this.Rs=[];this.Fd=new fb([]);this.dp=new fb([]);this.pg=[];this.ki={};this.We={};this.Qe={};this.Kh={};this.rq={};this.Mr=this.$k=this.kb=this.Bb=this.Lr=this.Zk=this.ka=null;this.Ih=this.$n=!1;this.vn=[null,null];this.df=0;this.fi="";this.xe={};this.gj=
this.nf=null;this.mt="";this.kl=[];this.Yz()}}function l(a,c){return 128>=c?a[3]:256>=c?a[2]:512>=c?a[1]:a[0]}function b(){try{return!!window.indexedDB}catch(a){return!1}}function q(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function e(a,c,h,f){try{var b=indexedDB.open("_C2SaveStates");b.onupgradeneeded=q;b.onerror=f;b.onsuccess=function(b){b=b.target.result;b.onerror=f;b.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:c}).onsuccess=h}}catch(n){f(n)}}function k(a,
c,h){try{var f=indexedDB.open("_C2SaveStates");f.onupgradeneeded=q;f.onerror=h;f.onsuccess=function(f){f=f.target.result;f.onerror=h;var b=f.transaction(["saves"]).objectStore("saves").get(a);b.onsuccess=function(){b.result?c(b.result.data):c(null)}}}catch(b){h(b)}}function a(){ea("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location=window.location+"?continuous"}function d(a){var c,h=
{};for(c in a)!a.hasOwnProperty(c)||a[c]instanceof ca||a[c]&&"undefined"!==typeof a[c].zB||"spriteCreatedDestroyCallback"!==c&&(h[c]=a[c]);return h}var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;g.prototype.Yz=function(){var a=this;if(this.xi)this.Lq("data.js",function(c){a.Ii(JSON.parse(c))},function(){alert("Error fetching data.js")});else{var c;this.lf?c=new ActiveXObject("Microsoft.XMLHTTP"):
c=new XMLHttpRequest;var h="data.js";if(this.sr||this.lf||this.Zn||this.Uk)h="data.json";c.open("GET",h,!0);var f=!1;if(!this.Da&&"response"in c&&"responseType"in c)try{c.responseType="json",f="json"===c.responseType}catch(b){f=!1}if(!f&&"responseType"in c)try{c.responseType="text"}catch(n){}if("overrideMimeType"in c)try{c.overrideMimeType("application/json; charset=utf-8")}catch(d){}this.lf?c.onreadystatechange=function(){4===c.readyState&&a.Ii(JSON.parse(c.responseText))}:(c.onload=function(){if(f)a.Ii(c.response);
else if(a.Ad){var h=c.responseText,h=h.substr(h.indexOf("{"));a.Ii(JSON.parse(h))}else a.Ii(JSON.parse(c.responseText))},c.onerror=function(a){ga("Error requesting "+h+":");ga(a)});c.send()}};g.prototype.Oy=function(){var a=this,c,h,f,b,n,d,m,e,p;this.Rf=(!this.Da||this.Ad||this.Tc)&&this.GA&&!this.Rk;0===this.qc&&this.Qg&&(this.Rf=!1);this.devicePixelRatio=this.Rf?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;"object"===typeof window.StatusBar&&
window.StatusBar.hide();this.Xb();0<this.qc&&this.setSize(window.innerWidth,window.innerHeight,!0);this.canvas.addEventListener("webglcontextlost",function(c){c.preventDefault();a.qz();ea("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.q.hr();a.q.De(a.q.width,a.q.height,!0);a.Bb=null;a.kb=null;a.vn[0]=null;a.vn[1]=null;a.rz();a.qa=!0;ea("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);try{this.qx&&
(this.gd||this.Ad||!this.Da)&&(c={alpha:!0,depth:!1,antialias:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!0},this.ri||(this.G=this.canvas.getContext("webgl2",c)),this.G||(this.G=this.canvas.getContext("webgl",c)||this.canvas.getContext("experimental-webgl",c)))}catch(v){}if(this.G){if(c=this.G.getExtension("WEBGL_debug_renderer_info"))this.Fn=this.G.getParameter(c.UNMASKED_RENDERER_WEBGL)+" ["+this.G.getParameter(c.UNMASKED_VENDOR_WEBGL)+"]";this.Ja&&(this.Fn+=" [front-to-back enabled]");
this.Da||(this.Vb=document.createElement("canvas"),jQuery(this.Vb).appendTo(this.canvas.parentNode),this.Vb.oncontextmenu=function(){return!1},this.Vb.onselectstart=function(){return!1},this.Vb.width=Math.round(this.mk*this.devicePixelRatio),this.Vb.height=Math.round(this.bi*this.devicePixelRatio),jQuery(this.Vb).css({width:this.mk+"px",height:this.bi+"px"}),this.Ks(),this.Co=this.Vb.getContext("2d"));this.q=new qb(this.G,this.Qf,this.Ja);this.q.De(this.canvas.width,this.canvas.height);this.q.Fq=
0!==this.hx;this.Ma=null;c=0;for(h=this.D.length;c<h;c++)for(n=this.D[c],f=0,b=n.V.length;f<b;f++)m=n.V[f],m.pb=this.q.En(m.id),m.ld=this.q.Ho(m.pb),this.Ih=this.Ih||this.q.$i(m.pb);c=0;for(h=this.Bd.length;c<h;c++){e=this.Bd[c];f=0;for(b=e.V.length;f<b;f++)m=e.V[f],m.pb=this.q.En(m.id),m.ld=this.q.Ho(m.pb);e.Gd();f=0;for(b=e.Y.length;f<b;f++){p=e.Y[f];n=0;for(d=p.V.length;n<d;n++)m=p.V[n],m.pb=this.q.En(m.id),m.ld=this.q.Ho(m.pb),this.Ih=this.Ih||this.q.$i(m.pb);p.Gd()}}}else{if(0<this.qc&&this.Hb){this.canvas=
null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Ma=AppMobi.canvas.getContext("2d");try{this.Ma.samplingMode=this.Aa?"smooth":"sharp",this.Ma.globalScale=1,this.Ma.HTML5CompatibilityMode=!0,this.Ma.imageSmoothingEnabled=this.Aa}catch(g){}0!==this.width&&0!==this.height&&(this.Ma.width=this.width,this.Ma.height=this.height)}this.Ma||(this.gd?(c={antialias:!!this.Aa,alpha:!0},this.Ma=this.canvas.getContext("2d",c)):(c={alpha:!0},this.Ma=this.canvas.getContext("2d",
c)),this.Ql(this.Ma,this.Aa));this.Co=this.Vb=null}this.ut=function(c){a.Qa(!1,c)};window==window.top||this.Da||this.rr||this.lf||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.gd&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ea("Reloading for continuous preview"),this.al="__c2_continuouspreview",
this.jj=!0),this.Gz&&!this.Qf&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){var c=window.parent;c&&c.document.hasFocus()||a.setSuspended(!0)})));window.addEventListener("blur",function(){a.gh()});this.Da||(c=function(a){if(ob(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(c){}},"undefined"!==typeof PointerEvent?document.addEventListener("pointerdown",
c):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",c):document.addEventListener("touchstart",c),document.addEventListener("mousedown",c));0===this.qc&&this.Rf&&1<this.devicePixelRatio&&this.setSize(this.mb,this.lb,!0);this.At();this.Gy();this.go();this.ua={}};g.prototype.setSize=function(a,c,h){var f=0,b=0,n=0,d=0,d=0;if(this.Ug!==a||this.Tg!==c||h){this.Ug=a;this.Tg=c;var m=this.qc;if((n=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||
document.fullScreen||this.Jg)&&!this.Tc)||0!==this.qc||h)n&&(m=this.df),h=this.devicePixelRatio,4<=m?(5===m&&1!==h&&(a+=1,c+=1),n=this.mb/this.lb,a/c>n?(n*=c,5===m?(d=n*h/this.mb,1<d?d=Math.floor(d):1>d&&(d=1/Math.ceil(1/d)),n=this.mb*d/h,d=this.lb*d/h,f=(a-n)/2,b=(c-d)/2,a=n,c=d):(f=(a-n)/2,a=n)):(d=a/n,5===m?(d=d*h/this.lb,1<d?d=Math.floor(d):1>d&&(d=1/Math.ceil(1/d)),n=this.mb*d/h,d=this.lb*d/h,f=(a-n)/2,b=(c-d)/2,a=n):b=(c-d)/2,c=d)):n&&0===m&&(f=Math.floor((a-this.mb)/2),b=Math.floor((c-this.lb)/
2),a=this.mb,c=this.lb),2>m&&(this.Wh=h),this.mk=Math.round(a),this.bi=Math.round(c),this.width=Math.round(a*h),this.height=Math.round(c*h),this.qa=!0,this.Ot?(this.M=this.width,this.L=this.height,this.Pc=!0):this.width<this.mb&&this.height<this.lb||1===m?(this.M=this.width,this.L=this.height,this.Pc=!0):(this.M=this.mb,this.L=this.lb,this.Pc=!1,2===m?(n=this.mb/this.lb,m=this.Ug/this.Tg,m<n?this.M=this.L*m:m>n&&(this.L=this.M/m)):3===m&&(n=this.mb/this.lb,m=this.Ug/this.Tg,m>n?this.M=this.L*m:m<
n&&(this.L=this.M/m))),this.ek&&!this.Da&&(jQuery(this.ek).css({width:Math.round(a)+"px",height:Math.round(c)+"px","margin-left":Math.floor(f)+"px","margin-top":Math.floor(b)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(c)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*h),this.canvas.height=Math.round(c*h),this.Ad?(this.canvas.style.left=Math.floor(f)+"px",this.canvas.style.top=Math.floor(b)+"px",this.canvas.style.width=Math.round(a)+
"px",this.canvas.style.height=Math.round(c)+"px"):this.Rf&&!this.Da&&(this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(c)+"px")),this.Vb&&(this.Vb.width=Math.round(a*h),this.Vb.height=Math.round(c*h),this.Vb.style.width=this.mk+"px",this.Vb.style.height=this.bi+"px"),this.q&&this.q.De(Math.round(a*h),Math.round(c*h)),this.Hb&&this.Ma&&(this.Ma.width=Math.round(a),this.Ma.height=Math.round(c)),this.Ma&&this.Ql(this.Ma,this.Aa),this.At(),this.wr&&!this.Tc&&window.scrollTo(0,
0)}};g.prototype.At=function(){if(this.xw&&0!==this.Bo){var a="portrait";2===this.Bo&&(a="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(a).catch(function(){}):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}catch(c){console&&console.warn&&console.warn("Failed to lock orientation: ",c)}}};g.prototype.qz=
function(){this.q.Fw();this.$n=!0;var a,c,h;a=0;for(c=this.D.length;a<c;a++)h=this.D[a],h.dh&&h.dh()};g.prototype.rz=function(){this.$n=!1;var a,c,h;a=0;for(c=this.D.length;a<c;a++)h=this.D[a],h.eh&&h.eh()};g.prototype.Ks=function(){if(!this.Da){var a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.Jg)&&!this.Tc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.Vb).css(a)}};var r=window.cancelAnimationFrame||
window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;g.prototype.setSuspended=function(a){var c;if(a&&!this.wi)for(ea("[Construct 2] Suspending"),this.wi=!0,-1!==this.Lo&&r&&r(this.Lo),-1!==this.fp&&clearTimeout(this.fp),a=0,c=this.kj.length;a<c;a++)this.kj[a](!0);else if(!a&&this.wi){ea("[Construct 2] Resuming");this.wi=!1;this.Yk=Xa();this.Wf=Xa();a=this.Qi=this.Fk=0;for(c=this.kj.length;a<c;a++)this.kj[a](!1);this.Qa(!1)}};
g.prototype.lq=function(a){this.kj.push(a)};g.prototype.Oe=function(a){return this.kl[a]};g.prototype.Ii=function(a){a&&a.project||ga("Project model unavailable");a=a.project;this.name=a[0];this.Nq=a[1];this.qc=a[12];this.mb=a[10];this.lb=a[11];this.Gs=this.mb/2;this.Hs=this.lb/2;this.Da&&!this.Ad&&(4<=a[12]||0===a[12])&&(ea("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.qc=3);this.rp=a[18];this.of=a[19];if(0===this.of){var c=
new Image;c.crossOrigin="anonymous";this.bt(c,"loading-logo.png");this.nf={gl:c}}else if(4===this.of){c=new Image;c.src="";var h=new Image;h.src="";var f=new Image;f.src="";var b=new Image;b.src="";var n=new Image;n.src="";var d=new Image;d.src="";var m=new Image;m.src="";var e=new Image;e.src="";var p=new Image;p.src="";var v=new Image;v.src="";var g=new Image;g.src="";var w=new Image;w.src="";this.nf={gl:[c,h,f,b],Nz:[n,d,m,e],JA:[p,v,g,w]}}this.Vi=a[21];this.kl=tc();this.$d=new D(this);c=0;for(h=
a[2].length;c<h;c++)m=a[2][c],f=this.Oe(m[0]),rb(m,f.prototype),e=new f(this),e.Vl=m[1],e.mf=m[2],e.GB=m[5],e.ls=m[9],e.I&&e.I(),this.plugins.push(e);this.kl=tc();c=0;for(h=a[3].length;c<h;c++){m=a[3][c];n=this.Oe(m[1]);e=null;f=0;for(b=this.plugins.length;f<b;f++)if(this.plugins[f]instanceof n){e=this.plugins[f];break}p=new e.R(e);p.name=m[0];p.H=m[2];p.Sn=m[3].slice(0);p.IA=m[3].length;p.yw=m[4];p.ay=m[5];p.fa=m[11];p.H?(p.Zg=[],p.qe=this.ei++,p.Na=null):(p.Zg=null,p.qe=-1,p.Na=[]);p.zk=null;p.zg=
null;p.Gq=null;p.Qb=!1;p.Dc=null;m[6]?(p.Eh=m[6][0],p.mj=m[6][1],p.ae=m[6][2]):(p.Eh=null,p.mj=0,p.ae=0);m[7]?p.Bc=m[7]:p.Bc=null;p.index=c;p.d=[];p.qk=[];p.He=[new sb(p)];p.Md=0;p.dd=null;p.Mw=0;p.zh=!0;p.km=tb;p.iy=ub;p.ny=vb;p.W=wb;p.aj=xb;p.sf=yb;p.Cd=zb;p.Ik=Cb;p.xn=Db;p.An=Eb;p.ad=Fb;p.Bn=Gb;p.ik=new gb(this.mb,this.lb);p.Vj=!0;p.Wj=!1;p.ua={};p.toString=Hb;p.Wa=[];f=0;for(b=m[8].length;f<b;f++){v=m[8][f];g=this.Oe(v[1]);w=null;n=0;for(d=this.Wa.length;n<d;n++)if(this.Wa[n]instanceof g){w=this.Wa[n];
break}w||(w=new g(this),w.ms=[],w.so=new ca,w.I&&w.I(),this.Wa.push(w));-1===w.ms.indexOf(p)&&w.ms.push(p);n=new w.R(w,p);n.name=v[0];n.fa=v[2];n.I();p.Wa.push(n)}p.global=m[9];p.Xn=m[10];p.V=[];f=0;for(b=m[12].length;f<b;f++)p.V.push({id:m[12][f][0],name:m[12][f][1],pb:-1,ld:!1,Ua:!0,index:f});p.VB=m[13];this.rp&&!p.H&&!p.Xn&&e.mf||p.I();p.name&&(this.types[p.name]=p);this.D.push(p);e.Vl&&(f=new e.K(p),f.uid=this.Vi++,f.Os=this.ns++,f.Pf=0,f.ii=Ib,f.toString=Jb,f.C=m[14],f.I(),p.d.push(f),this.xe[f.uid.toString()]=
f)}c=0;for(h=a[4].length;c<h;c++)for(n=a[4][c],d=this.D[n[0]],f=1,b=n.length;f<b;f++)m=this.D[n[f]],m.Na.push(d),d.Zg.push(m);c=0;for(h=a[28].length;c<h;c++){n=a[28][c];d=[];f=0;for(b=n.length;f<b;f++)d.push(this.D[n[f]]);f=0;for(b=d.length;f<b;f++)d[f].Qb=!0,d[f].Dc=d}if(0<this.ei)for(c=0,h=this.D.length;c<h;c++)if(m=this.D[c],!m.H&&m.Na.length){m.zk=Array(this.ei);m.zg=Array(this.ei);m.Gq=Array(this.ei);p=[];f=w=g=v=0;for(b=m.Na.length;f<b;f++)for(e=m.Na[f],m.zk[e.qe]=v,v+=e.IA,m.zg[e.qe]=g,g+=
e.yw,m.Gq[e.qe]=w,w+=e.ay,n=0,d=e.V.length;n<d;n++)p.push(za({},e.V[n]));m.V=p.concat(m.V);f=0;for(b=m.V.length;f<b;f++)m.V[f].index=f}c=0;for(h=a[5].length;c<h;c++)m=a[5][c],f=new Kb(this,m),this.fo[f.name]=f,this.Bd.push(f);c=0;for(h=a[6].length;c<h;c++)m=a[6][c],f=new Lb(this,m),this.qn[f.name]=f,this.pe.push(f);c=0;for(h=this.pe.length;c<h;c++)this.pe[c].gb();c=0;for(h=this.pe.length;c<h;c++)this.pe[c].mp();c=0;for(h=this.jm.length;c<h;c++)this.jm[c].gb();y(this.jm);this.ww=a[7];this.fi=a[8];
this.uc=a[9];this.Wh=1;this.qx=a[13];this.Aa=a[14];this.zq=a[15];this.GA=a[17];this.Bo=a[20];this.xw=0<this.Bo;this.Gz=a[22];this.Pc=this.Ot=a[23];this.hx=a[24];this.Oz=a[25];this.Ja=a[27]&&!this.jf;this.Zl=Date.now();y(this.kl);this.Oy()};var f=!1,m=0,c=[];g.prototype.Uz=function(a,h){function f(){m--;b.es()}var b=this;a.addEventListener("load",f);a.addEventListener("error",f);c.push([a,h]);this.es()};g.prototype.es=function(){for(var a;c.length&&100>m;)m++,a=c.shift(),this.bt(a[0],a[1])};g.prototype.wj=
function(a,c){a.cocoonLazyLoad=!0;a.onerror=function(c){f=a.uq=!0;console&&console.error&&console.error("Error loading image '"+a.src+"': ",c)};this.Ad?a.src=c:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(c,function(c){a.src=c},function(h){f=a.uq=!0;console&&console.error&&console.error("Error extracting image '"+c+"' from expansion file: ",h)}):(a.crossOrigin="anonymous",this.Uz(a,c)));this.Lh.push(a)};g.prototype.Zx=function(a){var c,h;c=0;for(h=this.Lh.length;c<h;c++)if(this.Lh[c].Gw===
a)return this.Lh[c];return null};var h=0,n=!1;g.prototype.Gy=function(){this.qg&&(h=this.qg.mA(this.ww))};g.prototype.oq=function(){var a=h,c=0,f=0,b=!0,d,m,f=0;for(d=this.Lh.length;f<d;f++){m=this.Lh[f];var p=m.lk;if(!p||0>=p)p=5E4;a+=p;m.src&&(m.complete||m.loaded)&&!m.uq?c+=p:b=!1}b&&this.Oz&&this.qg&&(n||(this.qg.sA(),n=!0),f=this.qg.oy(),c+=f,f<h&&(b=!1));this.P=0==a?1:c/a;return b};var v=!1;g.prototype.go=function(){if(this.Ma||this.q){var a=this.Ma||this.Co;this.Vb&&this.Ks();var c=window.innerWidth,
h=window.innerHeight;this.Ug===c&&this.Tg===h||this.setSize(c,h);this.P=0;this.Kr=-1;var b=this;if(this.oq()&&(4!==this.of||v))this.Hy();else{h=Date.now()-this.Zl;if(a){var n=this.width,d=this.height,c=this.devicePixelRatio;if(3>this.of&&(this.gd||500<=h&&this.Kr!=this.P)){a.clearRect(0,0,n,d);var h=n/2,d=d/2,n=0===this.of&&this.nf.gl.complete,m=40*c,p=0,e=80*c,g;if(n){var w=this.nf.gl,e=w.width*c;g=w.height*c;m=e/2;p=g/2;a.drawImage(w,ra(h-m),ra(d-p),e,g)}1>=this.of?(h=ra(h-m)+.5,d=ra(d+(p+(n?12*
c:0)))+.5,a.fillStyle=f?"red":"DodgerBlue",a.fillRect(h,d,Math.floor(e*this.P),6*c),a.strokeStyle="black",a.strokeRect(h,d,e,6*c),a.strokeStyle="white",a.strokeRect(h-1*c,d-1*c,e+2*c,8*c)):2===this.of&&(a.font=this.Ad?"12pt ArialMT":"12pt Arial",a.fillStyle=f?"#f00":"#999",a.UB="middle",c=Math.round(100*this.P)+"%",n=a.measureText?a.measureText(c):null,a.fillText(c,h-(n?n.width:0)/2,d));this.Kr=this.P}else if(4===this.of){this.mx(a);t?t(function(){b.go()}):setTimeout(function(){b.go()},16);return}}setTimeout(function(){b.go()},
this.gd?10:100)}}};var w=-1,p="undefined"===typeof cr_is_preview?200:0,H=!0,X=!1,B=0,Q=0,F="undefined"===typeof cr_is_preview?3E3:0,z=null,G=null,C=0;g.prototype.mx=function(a){if(!v){for(var c=Math.ceil(this.width),h=Math.ceil(this.height),b=this.nf.gl,n=this.nf.Nz,d=this.nf.JA,m=0;4>m;++m)if(!b[m].complete||!n[m].complete||!d[m].complete)return;0===C&&(w=Date.now());var m=Date.now(),e=!1,g=a,k,q;H||X?(a.clearRect(0,0,c,h),z&&z.width===c&&z.height===h||(z=document.createElement("canvas"),z.width=
c,z.height=h,G=z.getContext("2d")),g=G,e=!0,H&&1===C&&(w=Date.now())):a.globalAlpha=1;g.fillStyle="#333333";g.fillRect(0,0,c,h);256<this.bi?(k=Ga(.22*h,105,.6*c),q=.25*k,g.drawImage(l(n,k),.5*c-k/2,.2*h-q/2,k,q),q=k=Math.min(.395*h,.95*c),g.drawImage(l(b,k),.5*c-k/2,.485*h-q/2,k,q),k=Ga(.22*h,105,.6*c),q=.25*k,g.drawImage(l(d,k),.5*c-k/2,.868*h-q/2,k,q),g.fillStyle="#3C3C3C",k=c,q=Math.max(.005*h,2),g.fillRect(0,.8*h-q/2,k,q),g.fillStyle=f?"red":"#E0FF65",k=c*this.P,g.fillRect(.5*c-k/2,.8*h-q/2,k,
q)):(q=k=.55*h,g.drawImage(l(b,k),.5*c-k/2,.45*h-q/2,k,q),g.fillStyle="#3C3C3C",k=c,q=Math.max(.005*h,2),g.fillRect(0,.85*h-q/2,k,q),g.fillStyle=f?"red":"#E0FF65",k=c*this.P,g.fillRect(.5*c-k/2,.85*h-q/2,k,q));e&&(H?a.globalAlpha=0===C?0:Math.min((m-w)/300,1):X&&(a.globalAlpha=Math.max(1-(m-Q)/300,0)),a.drawImage(z,0,0,c,h));H&&300<=m-w&&2<=C&&(H=!1,B=m);!H&&m-B>=F&&!X&&1<=this.P&&(X=!0,Q=m);if(X&&m-Q>=300+p||"undefined"!==typeof cr_is_preview&&1<=this.P&&500>Date.now()-w)v=!0,X=H=!1,this.nf=G=z=
null;++C}};g.prototype.Hy=function(){this.Vb&&(this.canvas.parentNode.removeChild(this.Vb),this.Vb=this.Co=null);this.Zl=Date.now();this.Wf=Xa();var a,c,h;if(this.rp)for(a=0,c=this.D.length;a<c;a++)h=this.D[a],h.H||h.Xn||!h.ba.mf||h.I();else this.Bi=!1;a=0;for(c=this.Bd.length;a<c;a++)this.Bd[a].Hw();2<=this.qc&&(a=this.mb/this.lb,c=this.width/this.height,this.Wh=2!==this.qc&&c>a||2===this.qc&&c<a?this.height/this.lb:this.width/this.mb);this.Nq?this.fo[this.Nq].bp():this.Bd[0].bp();this.rp||(this.dl=
1,this.trigger(D.prototype.c.Rp,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(c=this.D.length;a<c;a++)h=this.D[a],h.us&&h.us();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.Qa(!1);this.Hb&&AppMobi.webview.execute("onGameReady();")};g.prototype.Qa=function(a,c,h){if(this.ka){var f=Xa();if(h||!this.wi||a){a||(t?this.Lo=t(this.ut):this.fp=setTimeout(this.ut,
this.Qf?1:16));c=c||f;var b=this.qc;((h=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Tc)||this.Jg)&&0<this.df&&(b=this.df);if(0<b){var b=window.innerWidth,n=window.innerHeight;this.Ug===b&&this.Tg===n||this.setSize(b,n)}this.Da||(h?this.Ck||(this.Ck=!0):this.Ck?(this.Ck=!1,0===this.qc&&this.setSize(Math.round(this.ts/this.devicePixelRatio),Math.round(this.ss/this.devicePixelRatio),!0)):(this.ts=this.width,this.ss=this.height));this.Bi&&
(h=this.oq(),this.dl=this.P,h&&(this.Bi=!1,this.P=1,this.trigger(D.prototype.c.Rp,null),window.C2_RegisterSW&&window.C2_RegisterSW()));this.hz(c);!this.qa&&!this.gd||this.$n||this.jj||a||(this.qa=!1,this.q?this.wb():this.Ec(),this.gj&&(this.canvas&&this.canvas.toDataURL&&(this.mt=this.canvas.toDataURL(this.gj[0],this.gj[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.mt),this.trigger(D.prototype.c.Uu,null)),this.gj=null));this.DB||(this.Fh++,this.Jf++,this.Fk++);this.Qi+=Xa()-f}}};g.prototype.hz=
function(a){var c,h,f,b,n,d,m,p;1E3<=a-this.Wf&&(this.Wf+=1E3,1E3<=a-this.Wf&&(this.Wf=a),this.un=this.Fk,this.Fk=0,this.an=this.Qi,this.Qi=0);c=0;0!==this.Yk&&(c=a-this.Yk,0>c&&(c=0),this.Df=c/=1E3,.5<this.Df?this.Df=0:this.Df>1/this.ks&&(this.Df=1/this.ks));this.Yk=a;this.oe=this.Df*this.gg;this.Rb.add(this.oe);this.Le.add(c);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.Jg)&&!this.Tc;2<=this.qc||a&&0<this.df?(c=this.mb/this.lb,
h=this.width/this.height,f=this.qc,a&&0<this.df&&(f=this.df),this.Wh=2!==f&&h>c||2===f&&h<c?this.height/this.lb:this.width/this.mb,this.ka&&(this.ka.Nl(this.ka.scrollX),this.ka.Ol(this.ka.scrollY))):this.Wh=this.Rf?this.devicePixelRatio:1;this.Xb();this.Uc++;this.$d.bA();this.Uc--;this.Xb();this.Uc++;h=this.rs.xf();a=0;for(c=h.length;a<c;a++)h[a].OB();a=0;for(c=this.D.length;a<c;a++)if(d=this.D[a],!d.H&&(d.Wa.length||d.Na.length))for(h=0,f=d.d.length;h<f;h++)for(m=d.d[h],b=0,n=m.U.length;b<n;b++)m.U[b].Qa();
a=0;for(c=this.D.length;a<c;a++)if(d=this.D[a],!d.H&&(d.Wa.length||d.Na.length))for(h=0,f=d.d.length;h<f;h++)for(m=d.d[h],b=0,n=m.U.length;b<n;b++)p=m.U[b],p.Mz&&p.Mz();h=this.vo.xf();a=0;for(c=h.length;a<c;a++)h[a].Qa();this.Uc--;this.Iy();for(a=0;this.Yh&&10>a++;)this.Eq(this.Yh);a=0;for(c=this.pe.length;a<c;a++)this.pe[a].Jn=!1;this.ka.Hf&&this.ka.Hf.ob();y(this.Rs);this.Uc++;a=0;for(c=this.D.length;a<c;a++)if(d=this.D[a],!d.H&&(d.Wa.length||d.Na.length))for(h=0,f=d.d.length;h<f;h++)for(m=d.d[h],
b=0,n=m.U.length;b<n;b++)p=m.U[b],p.ep&&p.ep();h=this.wo.xf();a=0;for(c=h.length;a<c;a++)h[a].ep();this.Uc--};g.prototype.gh=function(){var a,c,h,f,b,n,d,m,p;a=0;for(c=this.D.length;a<c;a++)if(d=this.D[a],!d.H)for(h=0,f=d.d.length;h<f;h++)if(m=d.d[h],m.gh&&m.gh(),m.U)for(b=0,n=m.U.length;b<n;b++)p=m.U[b],p.gh&&p.gh()};g.prototype.Eq=function(a){var c=this.ka;this.ka.tA();var h,f,b;if(this.q)for(h=0,f=this.D.length;h<f;h++)b=this.D[h],b.H||!b.Hh||b.global&&0!==b.d.length||-1!==a.pi.indexOf(b)||b.Hh();
c==a&&y(this.$d.Ac);y(this.Rs);this.Us(!0);a.bp();this.Us(!1);this.qa=!0;this.Xb()};g.prototype.Us=function(a){var c,h,f,b,n,d,m,p,e;c=0;for(h=this.Wa.length;c<h;c++)f=this.Wa[c],a?f.Wi&&f.Wi():f.Xi&&f.Xi();c=0;for(h=this.D.length;c<h;c++)if(f=this.D[c],f.global||f.ba.Vl)for(b=0,n=f.d.length;b<n;b++)if(d=f.d[b],a?d.Wi&&d.Wi():d.Xi&&d.Xi(),d.U)for(m=0,p=d.U.length;m<p;m++)e=d.U[m],a?e.Wi&&e.Wi():e.Xi&&e.Xi()};g.prototype.vf=function(a){this.vo.add(a)};g.prototype.xA=function(a){this.wo.add(a)};g.prototype.Bg=
function(a){return a&&-1!==a.Ui?this.Df*a.Ui:this.oe};g.prototype.Ec=function(){this.ka.Ec(this.Ma);this.Hb&&this.Ma.present()};g.prototype.wb=function(){this.Ja&&(this.Ef=1,this.ka.$e(this.q));this.ka.wb(this.q);this.q.Qz()};g.prototype.qw=function(a){a&&this.kn.push(a)};g.prototype.Mk=function(a){a=a.toString();return this.xe.hasOwnProperty(a)?this.xe[a]:null};var P=[];g.prototype.Ne=function(a){var c,h;c=a.type.name;var f=null;if(this.Cf.hasOwnProperty(c)){if(f=this.Cf[c],f.contains(a))return}else f=
P.length?P.pop():new ca,this.Cf[c]=f;f.add(a);this.gf=!0;if(a.Qb)for(c=0,h=a.siblings.length;c<h;c++)this.Ne(a.siblings[c]);this.Vn&&f.Jh.push(a);this.Un||(this.Uc++,this.trigger(Object.getPrototypeOf(a.type.ba).c.Lp,a),this.Uc--)};g.prototype.Xb=function(){if(this.gf){var a,c,h,f,b,n;this.Vn=!0;h=0;for(b=this.xd.length;h<b;++h)for(a=this.xd[h],c=a.type,c.d.push(a),f=0,n=c.Na.length;f<n;++f)c.Na[f].d.push(a),c.Na[f].zh=!0;y(this.xd);this.Iu();Wa(this.Cf);this.gf=this.Vn=!1}};g.prototype.Iu=function(){for(var a in this.Cf)this.Cf.hasOwnProperty(a)&&
this.Yt(this.Cf[a])};g.prototype.Yt=function(a){var c=a.xf(),h=c[0].type,f,b,n,d,m,p;Za(h.d,a);h.zh=!0;0===h.d.length&&(h.Wj=!1);f=0;for(b=h.Na.length;f<b;++f)p=h.Na[f],Za(p.d,a),p.zh=!0;f=0;for(b=this.$d.Ac.length;f<b;++f)if(m=this.$d.Ac[f],m.mc.hasOwnProperty(h.index)&&Za(m.mc[h.index].se,a),!h.H)for(n=0,d=h.Na.length;n<d;++n)p=h.Na[n],m.mc.hasOwnProperty(p.index)&&Za(m.mc[p.index].se,a);if(m=c[0].n){if(m.Zc)for(n=m.d,f=0,b=n.length;f<b;++f)d=n[f],a.contains(d)&&(d.La(),m.Wb.update(d,d.wc,null),
d.wc.set(0,0,-1,-1));Za(m.d,a);m.dj(0)}for(f=0;f<c.length;++f)this.Xt(c[f],h);a.clear();P.push(a);this.qa=!0};g.prototype.Xt=function(a,c){var h,f,b;h=0;for(f=this.kn.length;h<f;++h)this.kn[h](a);a.Xe&&c.ik.update(a,a.Xe,null);(h=a.n)&&h.oh(a,!0);if(a.U)for(h=0,f=a.U.length;h<f;++h)b=a.U[h],b.qf&&b.qf(),b.behavior.so.remove(a);this.rs.remove(a);this.vo.remove(a);this.wo.remove(a);a.qf&&a.qf();this.xe.hasOwnProperty(a.uid.toString())&&delete this.xe[a.uid.toString()];this.ll--;100>c.qk.length&&c.qk.push(a)};
g.prototype.bn=function(a,c,h,f){if(a.H){var b=ra(Math.random()*a.Zg.length);return this.bn(a.Zg[b],c,h,f)}return a.dd?this.Ye(a.dd,c,!1,h,f,!1):null};var Y=[];g.prototype.Ye=function(a,c,h,f,b,n){var d,m,p,e;if(!a)return null;var g=this.D[a[1]],v=g.ba.mf;if(this.Bi&&v&&!g.Xn||v&&!this.q&&11===a[0][11])return null;var w=c;v||(c=null);var k;g.qk.length?(k=g.qk.pop(),k.Kc=!0,g.ba.K.call(k,g)):(k=new g.ba.K(g),k.Kc=!1);!h||n||this.xe.hasOwnProperty(a[2].toString())?k.uid=this.Vi++:k.uid=a[2];this.xe[k.uid.toString()]=
k;k.Os=this.ns++;k.Pf=g.d.length;d=0;for(m=this.xd.length;d<m;++d)this.xd[d].type===g&&k.Pf++;k.ii=Ib;k.toString=Jb;p=a[3];if(k.Kc)Wa(k.ua);else{k.ua={};if("undefined"!==typeof cr_is_preview)for(k.kr=[],k.kr.length=p.length,d=0,m=p.length;d<m;d++)k.kr[d]=p[d][1];k.zb=[];k.zb.length=p.length}d=0;for(m=p.length;d<m;d++)k.zb[d]=p[d][0];if(v){var l=a[0];k.x=ha(f)?l[0]:f;k.y=ha(b)?l[1]:b;k.z=l[2];k.width=l[3];k.height=l[4];k.depth=l[5];k.k=l[6];k.opacity=l[7];k.fc=l[8];k.gc=l[9];k.Yb=l[10];d=l[11];!this.q&&
g.V.length&&(k.Yb=d);k.Zh=ib(k.Yb);this.G&&jb(k,k.Yb,this.G);if(k.Kc){d=0;for(m=l[12].length;d<m;d++)for(p=0,e=l[12][d].length;p<e;p++)k.Za[d][p]=l[12][d][p];k.Va.set(0,0,0,0);k.Xe.set(0,0,-1,-1);k.wc.set(0,0,-1,-1);k.kc.wh(k.Va);y(k.Sm)}else{k.Za=l[12].slice(0);d=0;for(m=k.Za.length;d<m;d++)k.Za[d]=l[12][d].slice(0);k.ra=[];k.Pe=[];k.Pe.length=g.V.length;k.Va=new wa(0,0,0,0);k.Xe=new wa(0,0,-1,-1);k.wc=new wa(0,0,-1,-1);k.kc=new xa;k.Sm=[];k.Ea=Mb;k.sw=Nb;k.Zb=Ob;k.La=Pb;k.It=Qb;k.qp=Vb;k.Qd=Wb}k.Gh=
!1;k.AA=0;k.zA=0;k.yA=null;14===l.length&&(k.Gh=!0,k.AA=l[13][0],k.zA=l[13][1],k.yA=l[13][2]);d=0;for(m=g.V.length;d<m;d++)k.Pe[d]=!0;k.Fe=!0;k.Gd=Xb;k.Gd();k.Lt=!!k.ra.length;k.ak=!0;k.Wm=!0;g.Vj=!0;k.visible=!0;k.Ui=-1;k.n=c;k.Id=c.d.length;k.Ef=0;"undefined"===typeof k.ta&&(k.ta=null);this.qa=k.Af=!0}var H;y(Y);d=0;for(m=g.Na.length;d<m;d++)Y.push.apply(Y,g.Na[d].Wa);Y.push.apply(Y,g.Wa);if(k.Kc)for(d=0,m=Y.length;d<m;d++){var q=Y[d];H=k.U[d];H.Kc=!0;q.behavior.K.call(H,q,k);l=a[4][d];p=0;for(e=
l.length;p<e;p++)H.C[p]=l[p];H.I();q.behavior.so.add(k)}else for(k.U=[],d=0,m=Y.length;d<m;d++)q=Y[d],H=new q.behavior.K(q,k),H.Kc=!1,H.C=a[4][d].slice(0),H.I(),k.U.push(H),q.behavior.so.add(k);l=a[5];if(k.Kc)for(d=0,m=l.length;d<m;d++)k.C[d]=l[d];else k.C=l.slice(0);this.xd.push(k);this.gf=!0;c&&(c.Vh(k,!0),1!==c.jd||1!==c.kd)&&(g.Wj=!0);this.ll++;if(g.Qb){if(k.Qb=!0,k.Kc?y(k.siblings):k.siblings=[],!h&&!n){d=0;for(m=g.Dc.length;d<m;d++)if(g.Dc[d]!==g){if(!g.Dc[d].dd)return null;k.siblings.push(this.Ye(g.Dc[d].dd,
w,!1,v?k.x:f,v?k.y:b,!0))}d=0;for(m=k.siblings.length;d<m;d++)for(k.siblings[d].siblings.push(k),p=0;p<m;p++)d!==p&&k.siblings[d].siblings.push(k.siblings[p])}}else k.Qb=!1,k.siblings=null;k.I();d=0;for(m=k.U.length;d<m;d++)k.U[d].Lz&&k.U[d].Lz();return k};g.prototype.Kk=function(a){var c,h;c=0;for(h=this.ka.Y.length;c<h;c++){var f=this.ka.Y[c];if(lb(f.name,a))return f}return null};g.prototype.Cg=function(a){a=ra(a);0>a&&(a=0);a>=this.ka.Y.length&&(a=this.ka.Y.length-1);return this.ka.Y[a]};g.prototype.Wq=
function(a){return ia(a)?this.Cg(a):this.Kk(a.toString())};g.prototype.Zm=function(a){var c,h;c=0;for(h=a.length;c<h;c++)a[c].W().Z=!0};g.prototype.aj=function(a){var c,h;c=0;for(h=a.length;c<h;c++)a[c].aj()};g.prototype.sf=function(a){var c,h;c=0;for(h=a.length;c<h;c++)a[c].sf()};g.prototype.Cd=function(a){var c,h;c=0;for(h=a.length;c<h;c++)a[c].Cd()};g.prototype.Ft=function(a){if(a.Vj){var c,h,f=a.d;c=0;for(h=f.length;c<h;++c)f[c].qp();f=this.xd;c=0;for(h=f.length;c<h;++c)f[c].type===a&&f[c].qp();
a.Vj=!1}};g.prototype.gy=function(a,c,h,f){var b,d,n=a?1!==a.jd||1!==a.kd:!1;if(c.H)for(a=0,b=c.Zg.length;a<b;++a)d=c.Zg[a],n||d.Wj?Da(f,d.d):(this.Ft(d),d.ik.Hl(h,f));else n||c.Wj?Da(f,c.d):(this.Ft(c),c.ik.Hl(h,f))};g.prototype.em=function(a,c,h){var f=a.W(),b,d,n,m,p=this.Oa().Xa.Ic,e,k,g;if(f.Z)for(f.Z=!1,y(f.d),b=0,m=a.d.length;b<m;b++)n=a.d[b],n.La(),e=n.n.Mb(c,h,!0),k=n.n.Mb(c,h,!1),n.Zb(e,k)?f.d.push(n):p&&f.O.push(n);else{d=0;g=p?f.O:f.d;b=0;for(m=g.length;b<m;b++)n=g[b],n.La(),e=n.n.Mb(c,
h,!0),k=n.n.Mb(c,h,!1),n.Zb(e,k)&&(p?f.d.push(n):(f.d[d]=f.d[b],d++));g.length=d}a.ad();return f.In()};g.prototype.wA=function(a,c){if(!(a&&c&&a!==c&&a.Af&&c.Af))return!1;a.La();c.La();var h=a.n,f=c.n,b,d,n,m,p,e,k,g;if(h===f||h.jd===f.jd&&f.kd===f.kd&&h.scale===f.scale&&h.k===f.k&&h.Jd===f.Jd){if(!a.Va.Py(c.Va)||!a.kc.lr(c.kc)||a.Gh&&c.Gh)return!1;if(a.Gh)return this.qt(a,c);if(c.Gh)return this.qt(c,a);k=a.ta&&!a.ta.Lg();b=c.ta&&!c.ta.Lg();if(!k&&!b)return!0;k?(a.ta.rg(a.width,a.height,a.k),k=a.ta):
(this.Fd.vh(a.kc,a.x,a.y,a.width,a.height),k=this.Fd);b?(c.ta.rg(c.width,c.height,c.k),g=c.ta):(this.Fd.vh(c.kc,c.x,c.y,c.width,c.height),g=this.Fd);return k.qi(g,c.x-a.x,c.y-a.y)}k=a.ta&&!a.ta.Lg();b=c.ta&&!c.ta.Lg();k?(a.ta.rg(a.width,a.height,a.k),this.Fd.et(a.ta)):this.Fd.vh(a.kc,a.x,a.y,a.width,a.height);k=this.Fd;b?(c.ta.rg(c.width,c.height,c.k),this.dp.et(c.ta)):this.dp.vh(c.kc,c.x,c.y,c.width,c.height);g=this.dp;b=0;for(d=k.Dd;b<d;b++)n=2*b,m=n+1,p=k.Db[n],e=k.Db[m],k.Db[n]=h.Ab(p+a.x,e+a.y,
!0),k.Db[m]=h.Ab(p+a.x,e+a.y,!1);k.La();b=0;for(d=g.Dd;b<d;b++)n=2*b,m=n+1,p=g.Db[n],e=g.Db[m],g.Db[n]=f.Ab(p+c.x,e+c.y,!0),g.Db[m]=f.Ab(p+c.x,e+c.y,!1);g.La();return k.qi(g,0,0)};var M=new xa;new wa(0,0,0,0);var S=[];g.prototype.qt=function(a,c){var h,f,b,d,n=c.Va,m=a.x,p=a.y;a.BB(n,S);var e=c.ta&&!c.ta.Lg();h=0;for(f=S.length;h<f;++h)if(b=S[h],d=b.RB,n.Qy(d,m,p)&&(M.wh(d),M.offset(m,p),M.lr(c.kc)))if(e)if(c.ta.rg(c.width,c.height,c.k),b.Fo){if(b.Fo.qi(c.ta,c.x-(m+d.left),c.y-(p+d.top)))return y(S),
!0}else{if(this.Fd.vh(M,0,0,d.right-d.left,d.bottom-d.top),this.Fd.qi(c.ta,c.x,c.y))return y(S),!0}else if(b.Fo){if(this.Fd.vh(c.kc,0,0,c.width,c.height),b.Fo.qi(this.Fd,-(m+d.left),-(p+d.top)))return y(S),!0}else return y(S),!0;y(S);return!1};g.prototype.Bt=function(a,c){if(!c)return!1;var h,f,b,d,n;h=0;for(f=a.Wa.length;h<f;h++)if(a.Wa[h].behavior instanceof c)return!0;if(!a.H)for(h=0,f=a.Na.length;h<f;h++)for(n=a.Na[h],b=0,d=n.Wa.length;b<d;b++)if(n.Wa[b].behavior instanceof c)return!0;return!1};
g.prototype.kp=function(a){return this.Bt(a,lc.XA)};g.prototype.lp=function(a){return this.Bt(a,lc.ZA)};var O=-1;g.prototype.trigger=function(a,c,h){if(!this.ka)return!1;var f=this.ka.Hf;if(!f)return!1;var b=!1,d,n,m;O++;var p=f.hn;n=0;for(m=p.length;n<m;++n)d=this.yt(a,c,p[n],h),b=b||d;d=this.yt(a,c,f,h);O--;return b||d};g.prototype.yt=function(a,c,h,f){var b=!1,d,n,m,p;if(c)for(m=this.ip(a,c,c.type.name,h,f),b=b||m,p=c.type.Na,d=0,n=p.length;d<n;++d)m=this.ip(a,c,p[d].name,h,f),b=b||m;else m=this.ip(a,
c,"system",h,f),b=b||m;return b};g.prototype.ip=function(a,c,h,f,b){var d,n=!1,m=!1,m="undefined"!==typeof b,p=(m?f.Iq:f.zt)[h];if(!p)return n;var e=null;f=0;for(d=p.length;f<d;++f)if(p[f].method==a){e=p[f].di;break}if(!e)return n;var k;m?k=e[b]:k=e;if(!k)return null;f=0;for(d=k.length;f<d;f++)a=k[f][0],b=k[f][1],m=this.Xx(c,h,a,b),n=n||m;return n};g.prototype.Xx=function(a,c,h,f){var b,d,n=!1;this.jp++;var m=this.Oa().Xa;m&&this.aj(m.uf);var p=1<this.jp;this.aj(h.uf);p&&this.Tz();var e=this.Gl(h);
e.Xa=h;a&&(b=this.types[c].W(),b.Z=!1,y(b.d),b.d[0]=a,this.types[c].ad());a=!0;if(h.parent){c=e.pt;for(b=h.parent;b;)c.push(b),b=b.parent;c.reverse();b=0;for(d=c.length;b<d;b++)if(!c[b].dA()){a=!1;break}}a&&(this.Jf++,h.Ic?h.cA(f):h.ob(),n=n||e.Vf);this.Cl();p&&this.Kz();this.Cd(h.uf);m&&this.Cd(m.uf);this.gf&&0===this.Uc&&0===O&&!this.Yn&&this.Xb();this.jp--;return n};g.prototype.Jk=function(){var a=this.Oa();return a.Xa.ub[a.hb]};g.prototype.Sy=function(){return 0===this.Oa().hb};g.prototype.hy=
function(){var a=this.Oa();return a.Xa.$c[a.pc]};g.prototype.Tz=function(){this.fl++;this.fl>=this.mo.length&&this.mo.push([])};g.prototype.Kz=function(){this.fl--};g.prototype.Tq=function(){return this.mo[this.fl]};g.prototype.Gl=function(a){this.vk++;this.vk>=this.pn.length&&this.pn.push(new Yb);var c=this.Oa();c.reset(a);return c};g.prototype.Cl=function(){this.vk--};g.prototype.Oa=function(){return this.pn[this.vk]};g.prototype.Jo=function(a){this.Si++;this.Si>=this.Ri.length&&this.Ri.push(aa({name:a,
index:0,Fa:!1}));var c=this.Uq();c.name=a;c.index=0;c.Fa=!1;return c};g.prototype.Go=function(){this.Si--};g.prototype.Uq=function(){return this.Ri[this.Si]};g.prototype.Vq=function(a,c){for(var h,f,b,d,n,m;c;){h=0;for(f=c.od.length;h<f;h++)if(m=c.od[h],m instanceof Zb&&lb(a,m.name))return m;c=c.parent}h=0;for(f=this.pe.length;h<f;h++)for(n=this.pe[h],b=0,d=n.cf.length;b<d;b++)if(m=n.cf[b],m instanceof Zb&&lb(a,m.name))return m;return null};g.prototype.Xq=function(a){var c,h;c=0;for(h=this.Bd.length;c<
h;c++)if(this.Bd[c].fa===a)return this.Bd[c];return null};g.prototype.Nk=function(a){var c,h;c=0;for(h=this.D.length;c<h;c++)if(this.D[c].fa===a)return this.D[c];return null};g.prototype.jy=function(a){var c,h;c=0;for(h=this.pg.length;c<h;c++)if(this.pg[c].fa===a)return this.pg[c];return null};g.prototype.Ow=function(a,c){this.gj=[a,c];this.qa=!0};g.prototype.Iy=function(){var c=this,h=this.Vo,f=this.ue,d=this.al,n=!1;this.kt&&(n=!0,h="__c2_continuouspreview",this.kt=!1);if(h.length){this.Xb();f=
this.hA();if(b()&&!this.gd)e(h,f,function(){ea("Saved state to IndexedDB storage ("+f.length+" bytes)");c.ue=f;c.trigger(D.prototype.c.Bm,null);f=c.ue="";n&&a()},function(b){try{localStorage.setItem("__c2save_"+h,f),ea("Saved state to WebStorage ("+f.length+" bytes)"),c.ue=f,c.trigger(D.prototype.c.Bm,null),f=c.ue="",n&&a()}catch(d){ea("Failed to save game state: "+b+"; "+d),c.trigger(D.prototype.c.Wp,null)}});else try{localStorage.setItem("__c2save_"+h,f),ea("Saved state to WebStorage ("+f.length+
" bytes)"),c.ue=f,this.trigger(D.prototype.c.Bm,null),f=c.ue="",n&&a()}catch(m){ea("Error saving to WebStorage: "+m),c.trigger(D.prototype.c.Wp,null)}this.al=this.Vo="";this.Cb=null}if(d.length){if(b()&&!this.gd)k(d,function(a){a?(c.Cb=a,ea("Loaded state from IndexedDB storage ("+c.Cb.length+" bytes)")):(c.Cb=localStorage.getItem("__c2save_"+d)||"",ea("Loaded state from WebStorage ("+c.Cb.length+" bytes)"));c.jj=!1;c.Cb||(c.Cb=null,c.trigger(D.prototype.c.Lj,null))},function(){c.Cb=localStorage.getItem("__c2save_"+
d)||"";ea("Loaded state from WebStorage ("+c.Cb.length+" bytes)");c.jj=!1;c.Cb||(c.Cb=null,c.trigger(D.prototype.c.Lj,null))});else{try{this.Cb=localStorage.getItem("__c2save_"+d)||"",ea("Loaded state from WebStorage ("+this.Cb.length+" bytes)")}catch(p){this.Cb=null}this.jj=!1;c.Cb||(c.Cb=null,c.trigger(D.prototype.c.Lj,null))}this.Vo=this.al=""}null!==this.Cb&&(this.Xb(),this.gz(this.Cb)?(this.ue=this.Cb,this.trigger(D.prototype.c.cv,null),this.ue=""):c.trigger(D.prototype.c.Lj,null),this.Cb=null)};
g.prototype.hA=function(){var a,c,h,f,b,n,m,p={c2save:!0,version:1,rt:{time:this.Rb.ga,walltime:this.Le.ga,timescale:this.gg,tickcount:this.Fh,execcount:this.Jf,next_uid:this.Vi,running_layout:this.ka.fa,start_time_offset:Date.now()-this.Zl},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(c=this.D.length;a<c;a++)if(b=this.D[a],!b.H&&!this.kp(b)){n={instances:[]};Va(b.ua)&&(n.ex=d(b.ua));h=0;for(f=b.d.length;h<f;h++)n.instances.push(this.Uo(b.d[h]));p.types[b.fa.toString()]=
n}a=0;for(c=this.Bd.length;a<c;a++)h=this.Bd[a],p.layouts[h.fa.toString()]=h.Eb();f=p.events.groups;a=0;for(c=this.pg.length;a<c;a++)h=this.pg[a],f[h.fa.toString()]=this.ki[h.ji].Eg;c=p.events.cnds;for(m in this.We)this.We.hasOwnProperty(m)&&(a=this.We[m],Va(a.ua)&&(c[m]={ex:d(a.ua)}));c=p.events.acts;for(m in this.Qe)this.Qe.hasOwnProperty(m)&&(a=this.Qe[m],Va(a.ua)&&(c[m]={ex:d(a.ua)}));c=p.events.vars;for(m in this.Kh)this.Kh.hasOwnProperty(m)&&(a=this.Kh[m],a.Vk||a.parent&&!a.Ai||(c[m]=a.data));
p.system=this.$d.Eb();return JSON.stringify(p)};g.prototype.Qs=function(){var a,c,h,f,b,d;this.xe={};a=0;for(c=this.D.length;a<c;a++)if(h=this.D[a],!h.H)for(f=0,b=h.d.length;f<b;f++)d=h.d[f],this.xe[d.uid.toString()]=d};g.prototype.gz=function(a){var c;try{c=JSON.parse(a)}catch(h){return!1}if(!c.c2save||1<c.version)return!1;this.ti=!0;a=c.rt;this.Rb.reset();this.Rb.ga=a.time;this.Le.reset();this.Le.ga=a.walltime||0;this.gg=a.timescale;this.Fh=a.tickcount;this.Jf=a.execcount;this.Zl=Date.now()-a.start_time_offset;
var f=a.running_layout;if(f!==this.ka.fa)if(f=this.Xq(f))this.Eq(f);else return;var b,d,n,m,p,e,k;e=c.types;for(d in e)if(e.hasOwnProperty(d)&&(m=this.Nk(parseInt(d,10)))&&!m.H&&!this.kp(m)){e[d].ex?m.ua=e[d].ex:Wa(m.ua);p=m.d;n=e[d].instances;f=0;for(b=pa(p.length,n.length);f<b;f++)this.bl(p[f],n[f]);f=n.length;for(b=p.length;f<b;f++)this.Ne(p[f]);f=p.length;for(b=n.length;f<b;f++){p=null;if(m.ba.mf&&(p=this.ka.Lk(n[f].w.l),!p))continue;p=this.Ye(m.dd,p,!1,0,0,!0);this.bl(p,n[f])}m.zh=!0}this.Xb();
this.Qs();b=c.layouts;for(d in b)b.hasOwnProperty(d)&&(f=this.Xq(parseInt(d,10)))&&f.Tb(b[d]);b=c.events.groups;for(d in b)b.hasOwnProperty(d)&&(f=this.jy(parseInt(d,10)))&&this.ki[f.ji]&&this.ki[f.ji].jA(b[d]);f=c.events.cnds;for(d in this.We)this.We.hasOwnProperty(d)&&(f.hasOwnProperty(d)?this.We[d].ua=f[d].ex:this.We[d].ua={});f=c.events.acts;for(d in this.Qe)this.Qe.hasOwnProperty(d)&&(f.hasOwnProperty(d)?this.Qe[d].ua=f[d].ex:this.Qe[d].ua={});f=c.events.vars;for(d in f)f.hasOwnProperty(d)&&
this.Kh.hasOwnProperty(d)&&(this.Kh[d].data=f[d]);this.Vi=a.next_uid;this.ti=!1;f=0;for(b=this.Bk.length;f<b;++f)p=this.Bk[f],this.trigger(Object.getPrototypeOf(p.type.ba).c.de,p);y(this.Bk);this.$d.Tb(c.system);f=0;for(b=this.D.length;f<b;f++)if(m=this.D[f],!m.H&&!this.kp(m))for(c=0,d=m.d.length;c<d;c++){p=m.d[c];if(m.Qb)for(e=p.ii(),y(p.siblings),a=0,n=m.Dc.length;a<n;a++)k=m.Dc[a],m!==k&&p.siblings.push(k.d[e]);p.ee&&p.ee();if(p.U)for(a=0,n=p.U.length;a<n;a++)e=p.U[a],e.ee&&e.ee()}return this.qa=
!0};g.prototype.Uo=function(a,c){var h,f,b,n,m;n=a.type;b=n.ba;var p={};c?p.c2=!0:p.uid=a.uid;Va(a.ua)&&(p.ex=d(a.ua));if(a.zb&&a.zb.length)for(p.ivs={},h=0,f=a.zb.length;h<f;h++)p.ivs[a.type.Sn[h].toString()]=a.zb[h];if(b.mf){b={x:a.x,y:a.y,w:a.width,h:a.height,l:a.n.fa,zi:a.Qd()};0!==a.k&&(b.a=a.k);1!==a.opacity&&(b.o=a.opacity);.5!==a.fc&&(b.hX=a.fc);.5!==a.gc&&(b.hY=a.gc);0!==a.Yb&&(b.bm=a.Yb);a.visible||(b.v=a.visible);a.Af||(b.ce=a.Af);-1!==a.Ui&&(b.mts=a.Ui);if(n.V.length)for(b.fx=[],h=0,f=
n.V.length;h<f;h++)m=n.V[h],b.fx.push({name:m.name,active:a.Pe[m.index],params:a.Za[m.index]});p.w=b}if(a.U&&a.U.length)for(p.behs={},h=0,f=a.U.length;h<f;h++)n=a.U[h],n.Eb&&(p.behs[n.type.fa.toString()]=n.Eb());a.Eb&&(p.data=a.Eb());return p};g.prototype.ly=function(a,c){var h,f;h=0;for(f=a.Sn.length;h<f;h++)if(a.Sn[h]===c)return h;return-1};g.prototype.fy=function(a,c){var h,f;h=0;for(f=a.U.length;h<f;h++)if(a.U[h].type.fa===c)return h;return-1};g.prototype.bl=function(a,c,h){var f,b,d,n,m;m=a.type;
var p=m.ba;if(h){if(!c.c2)return}else a.uid=c.uid;c.ex?a.ua=c.ex:Wa(a.ua);if(b=c.ivs)for(f in b)b.hasOwnProperty(f)&&(d=this.ly(m,parseInt(f,10)),0>d||d>=a.zb.length||(n=b[f],null===n&&(n=NaN),a.zb[d]=n));if(p.mf){d=c.w;a.n.fa!==d.l&&(b=a.n,a.n=this.ka.Lk(d.l),a.n?(b.oh(a,!0),a.n.Vh(a,!0),a.Ea(),a.n.dj(0)):(a.n=b,h||this.Ne(a)));a.x=d.x;a.y=d.y;a.width=d.w;a.height=d.h;a.Id=d.zi;a.k=d.hasOwnProperty("a")?d.a:0;a.opacity=d.hasOwnProperty("o")?d.o:1;a.fc=d.hasOwnProperty("hX")?d.hX:.5;a.gc=d.hasOwnProperty("hY")?
d.hY:.5;a.visible=d.hasOwnProperty("v")?d.v:!0;a.Af=d.hasOwnProperty("ce")?d.ce:!0;a.Ui=d.hasOwnProperty("mts")?d.mts:-1;a.Yb=d.hasOwnProperty("bm")?d.bm:0;a.Zh=ib(a.Yb);this.G&&jb(a,a.Yb,this.G);a.Ea();if(d.hasOwnProperty("fx"))for(h=0,b=d.fx.length;h<b;h++)n=m.An(d.fx[h].name),0>n||(a.Pe[n]=d.fx[h].active,a.Za[n]=d.fx[h].params);a.Gd()}if(m=c.behs)for(f in m)m.hasOwnProperty(f)&&(h=this.fy(a,parseInt(f,10)),0>h||a.U[h].Tb(m[f]));c.data&&a.Tb(c.data)};g.prototype.Jq=function(a,c,h){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+
"www/"+a,function(a){a.file(c,h)},h)};g.prototype.Lq=function(a,c,h){this.Jq(a,function(a){var f=new FileReader;f.onload=function(a){c(a.target.result)};f.onerror=h;f.readAsText(a)},h)};var T=[],V=0;g.prototype.po=function(){if(T.length&&!(8<=V)){V++;var a=T.shift();this.Qw(a.filename,a.vA,a.ux)}};g.prototype.Kq=function(a,c,h){var f=this;T.push({filename:a,vA:function(a){V--;f.po();c(a)},ux:function(a){V--;f.po();h(a)}});this.po()};g.prototype.Qw=function(a,c,h){this.Jq(a,function(a){var h=new FileReader;
h.onload=function(a){c(a.target.result)};h.readAsArrayBuffer(a)},h)};g.prototype.Yx=function(a,c,h){var f="",b=a.toLowerCase(),d=b.substr(b.length-4),b=b.substr(b.length-5);".mp4"===d?f="video/mp4":".webm"===b?f="video/webm":".m4a"===d?f="audio/mp4":".mp3"===d&&(f="audio/mpeg");this.Kq(a,function(a){a=URL.createObjectURL(new Blob([a],{type:f}));c(a)},h)};g.prototype.mr=function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};g.prototype.bt=function(a,c){this.xi&&
!this.mr(c)?this.Yx(c,function(c){a.src=c},function(a){alert("Failed to load image: "+a)}):a.src=c};g.prototype.Ql=function(a,c){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=c:(a.webkitImageSmoothingEnabled=c,a.mozImageSmoothingEnabled=c,a.msImageSmoothingEnabled=c)};$b=function(a){return new g(document.getElementById(a))};ac=function(a,c){return new g({dc:!0,width:a,height:c})};window.cr_createRuntime=$b;window.cr_createDCRuntime=ac;window.createCocoonJSRuntime=function(){window.c2cocoonjs=
!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Rm=!0;document.body.appendChild(a);a=new g(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new g(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);
return a}})();window.cr_getC2Runtime=function(){var g=document.getElementById("c2canvas");return g?g.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(g,l){var b=window.cr_getC2Runtime();b&&b.Ow(g,l)};window.cr_sizeCanvas=function(g,l){if(0!==g&&0!==l){var b=window.cr_getC2Runtime();b&&b.setSize(g,l)}};window.cr_setSuspended=function(g){var l=window.cr_getC2Runtime();l&&l.setSuspended(g)};
(function(){function g(a,b){this.b=a;this.Hf=null;this.scrollX=this.b.mb/2;this.scrollY=this.b.lb/2;this.scale=1;this.k=0;this.Ag=!0;this.name=b[0];this.Dz=b[1];this.Cz=b[2];this.width=b[1];this.height=b[2];this.Ct=b[3];this.it=b[4];this.fa=b[5];var c=b[6],h,d;this.Y=[];this.pi=[];h=0;for(d=c.length;h<d;h++){var e=new bc(this,c[h]);e.ps=h;this.Y.push(e)}c=b[7];this.hf=[];h=0;for(d=c.length;h<d;h++){var e=c[h],k=this.b.D[e[1]];k.dd||(k.dd=e);this.hf.push(e);-1===this.pi.indexOf(k)&&this.pi.push(k)}this.V=
[];this.ra=[];this.Fe=!0;this.Za=[];h=0;for(d=b[8].length;h<d;h++)this.V.push({id:b[8][h][0],name:b[8][h][1],pb:-1,ld:!1,Ua:!0,index:h}),this.Za.push(b[8][h][2].slice(0));this.Gd();this.ze=new wa(0,0,1,1);this.Mo=new wa(0,0,1,1);this.rf={}}function l(a,b){return a.Id-b.Id}function b(a,b){this.Jb=a;this.b=a.b;this.d=[];this.scale=1;this.k=0;this.me=!1;this.Ie=new wa(0,0,0,0);this.wt=new xa;this.Ba=this.ya=this.Ca=this.xa=0;this.ig=!1;this.Me=-1;this.$m=0;this.name=b[0];this.index=b[1];this.fa=b[2];
this.visible=b[3];this.td=b[4];this.Yc=b[5];this.jd=b[6];this.kd=b[7];this.opacity=b[8];this.Ek=b[9];this.Zc=b[10];this.Jd=b[11];this.Yb=b[12];this.ox=b[13];this.Zh="source-over";this.$b=this.ic=0;this.Wb=null;this.ve=q();this.Ed=!0;this.Vg=new wa(0,0,-1,-1);this.Nb=new wa(0,0,-1,-1);this.Zc&&(this.Wb=new hb(this.b.mb,this.b.lb));this.Xd=!1;var c=b[14],h,d;this.nt=[];this.Sc=[];this.ai=[];h=0;for(d=c.length;h<d;h++){var e=c[h],k=this.b.D[e[1]];k.dd||(k.dd=e,k.Mw=this.index);this.Sc.push(e);-1===this.Jb.pi.indexOf(k)&&
this.Jb.pi.push(k)}Ca(this.nt,this.Sc);this.V=[];this.ra=[];this.Fe=!0;this.Za=[];h=0;for(d=b[15].length;h<d;h++)this.V.push({id:b[15][h][0],name:b[15][h][1],pb:-1,ld:!1,Ua:!0,index:h}),this.Za.push(b[15][h][2].slice(0));this.Gd();this.ze=new wa(0,0,1,1);this.Mo=new wa(0,0,1,1)}function q(){return d.length?d.pop():[]}function e(a){y(a);d.push(a)}g.prototype.gA=function(a){var b=a.type.fa.toString();this.rf.hasOwnProperty(b)||(this.rf[b]=[]);this.rf[b].push(this.b.Uo(a))};g.prototype.cr=function(){var a=
this.Y[0];return!a.Yc&&1===a.opacity&&!a.Ek&&a.visible};g.prototype.Gd=function(){y(this.ra);this.Fe=!0;var a,b,c;a=0;for(b=this.V.length;a<b;a++)c=this.V[a],c.Ua&&(this.ra.push(c),c.ld||(this.Fe=!1))};g.prototype.zn=function(a){var b,c,h;b=0;for(c=this.V.length;b<c;b++)if(h=this.V[b],h.name===a)return h;return null};var k=[],a=!0;g.prototype.bp=function(){this.it&&(this.Hf=this.b.qn[this.it],this.Hf.mp());this.b.ka=this;this.width=this.Dz;this.height=this.Cz;this.scrollX=this.b.mb/2;this.scrollY=
this.b.lb/2;var f,b,c,h,d,e,g;f=0;for(c=this.b.D.length;f<c;f++)if(b=this.b.D[f],!b.H)for(d=b.d,b=0,h=d.length;b<h;b++)if(e=d[b],e.n){var p=e.n.ps;p>=this.Y.length&&(p=this.Y.length-1);e.n=this.Y[p];-1===e.n.d.indexOf(e)&&e.n.d.push(e);e.n.ig=!0}if(!a)for(f=0,c=this.Y.length;f<c;++f)this.Y[f].d.sort(l);y(k);this.zw();f=0;for(c=this.Y.length;f<c;f++)e=this.Y[f],e.Iw(),e.lm();d=!1;if(!this.Ag){for(g in this.rf)if(this.rf.hasOwnProperty(g)&&(b=this.b.Nk(parseInt(g,10)))&&!b.H&&this.b.lp(b)){h=this.rf[g];
f=0;for(c=h.length;f<c;f++){e=null;if(b.ba.mf&&(e=this.Lk(h[f].w.l),!e))continue;e=this.b.Ye(b.dd,e,!1,0,0,!0);this.b.bl(e,h[f]);d=!0;k.push(e)}y(h)}f=0;for(c=this.Y.length;f<c;f++)this.Y[f].d.sort(l),this.Y[f].ig=!0}d&&(this.b.Xb(),this.b.Qs());for(f=0;f<k.length;f++)if(e=k[f],e.type.Qb)for(c=e.ii(),b=0,h=e.type.Dc.length;b<h;b++)g=e.type.Dc[b],e.type!==g&&(g.d.length>c?e.siblings.push(g.d[c]):g.dd&&(d=this.b.Ye(g.dd,e.n,!0,e.x,e.y,!0),this.b.Xb(),g.km(),e.siblings.push(d),k.push(d)));f=0;for(c=
this.hf.length;f<c;f++)e=this.hf[f],b=this.b.D[e[1]],b.Qb||this.b.Ye(this.hf[f],null,!0);this.b.Yh=null;this.b.Xb();if(this.b.Ma&&!this.b.Da)for(f=0,c=this.b.D.length;f<c;f++)g=this.b.D[f],!g.H&&g.d.length&&g.Zi&&g.Zi(this.b.Ma);if(this.b.ti)Ca(this.b.Bk,k);else for(f=0,c=k.length;f<c;f++)e=k[f],this.b.trigger(Object.getPrototypeOf(e.type.ba).c.de,e);y(k);this.b.ti||this.b.trigger(D.prototype.c.Qp,null);this.Ag=!1};g.prototype.Hw=function(){var a,b,c,h,d;b=a=0;for(c=this.hf.length;a<c;a++)h=this.hf[a],
d=this.b.D[h[1]],d.global?d.Qb||this.b.Ye(h,null,!0):(this.hf[b]=h,b++);Ba(this.hf,b)};g.prototype.tA=function(){this.b.ti||this.b.trigger(D.prototype.c.Pp,null);this.b.Un=!0;y(this.b.$d.Ac);var f,b,c,h,d,e;if(!this.Ag)for(f=0,b=this.Y.length;f<b;f++)for(this.Y[f].pp(),d=this.Y[f].d,c=0,h=d.length;c<h;c++)e=d[c],e.type.global||this.b.lp(e.type)&&this.gA(e);f=0;for(b=this.Y.length;f<b;f++){d=this.Y[f].d;c=0;for(h=d.length;c<h;c++)e=d[c],e.type.global||this.b.Ne(e);this.b.Xb();y(d);this.Y[f].ig=!0}f=
0;for(b=this.b.D.length;f<b;f++)if(d=this.b.D[f],!(d.global||d.ba.mf||d.ba.Vl||d.H)){c=0;for(h=d.d.length;c<h;c++)this.b.Ne(d.d[c]);this.b.Xb()}a=!1;this.b.Un=!1};new wa(0,0,0,0);g.prototype.Ec=function(a){var b,c=a,h=!1,d=!this.b.Pc;d&&(this.b.$k||(this.b.$k=document.createElement("canvas"),b=this.b.$k,b.width=this.b.M,b.height=this.b.L,this.b.Mr=b.getContext("2d"),h=!0),b=this.b.$k,c=this.b.Mr,b.width!==this.b.M&&(b.width=this.b.M,h=!0),b.height!==this.b.L&&(b.height=this.b.L,h=!0),h&&this.b.Ql(c,
this.b.Aa));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.b.zq&&!this.cr()&&c.clearRect(0,0,this.b.M,this.b.L);var e,k,h=0;for(e=this.Y.length;h<e;h++)k=this.Y[h],k.visible&&0<k.opacity&&11!==k.Yb&&(k.d.length||!k.Yc)?k.Ec(c):k.lm();d&&a.drawImage(b,0,0,this.b.width,this.b.height)};g.prototype.$e=function(a){a.$s(!0);this.b.kb||(this.b.kb=a.cd(this.b.M,this.b.L,this.b.Aa));if(this.b.kb.wd!==this.b.M||this.b.kb.vd!==this.b.L)a.deleteTexture(this.b.kb),this.b.kb=a.cd(this.b.M,this.b.L,
this.b.Aa);a.nd(this.b.kb);this.b.Pc||a.De(this.b.M,this.b.L);var b,c;for(b=this.Y.length-1;0<=b;--b)c=this.Y[b],c.visible&&1===c.opacity&&c.Fe&&0===c.Yb&&(c.d.length||!c.Yc)?c.$e(a):c.lm();a.$s(!1)};g.prototype.wb=function(a){var b=0<this.ra.length||this.b.Ih||!this.b.Pc||this.b.Ja;if(b){this.b.kb||(this.b.kb=a.cd(this.b.M,this.b.L,this.b.Aa));if(this.b.kb.wd!==this.b.M||this.b.kb.vd!==this.b.L)a.deleteTexture(this.b.kb),this.b.kb=a.cd(this.b.M,this.b.L,this.b.Aa);a.nd(this.b.kb);this.b.Pc||a.De(this.b.M,
this.b.L)}else this.b.kb&&(a.nd(null),a.deleteTexture(this.b.kb),this.b.kb=null);this.b.zq&&!this.cr()&&a.clear(0,0,0,0);var c,h,d;c=0;for(h=this.Y.length;c<h;c++)d=this.Y[c],d.visible&&0<d.opacity&&(d.d.length||!d.Yc)?d.wb(a):d.lm();b&&(0===this.ra.length||1===this.ra.length&&this.b.Pc?(1===this.ra.length?(b=this.ra[0].index,a.zc(this.ra[0].pb),a.sh(null,1/this.b.M,1/this.b.L,0,0,1,1,this.scale,this.k,0,0,this.b.M/2,this.b.L/2,this.b.Rb.ga,this.Za[b]),a.Fl(this.ra[0].pb)&&(this.b.qa=!0)):a.zc(0),
this.b.Pc||a.De(this.b.width,this.b.height),a.nd(null),a.Zs(!1),a.Ce(1),a.hc(this.b.kb),a.Xs(),a.Yd(),a.Hd(),b=this.b.width/2,c=this.b.height/2,a.nh(-b,c,b,c,b,-c,-b,-c),a.hc(null),a.Zs(!0)):this.No(a,null,null,null))};g.prototype.hi=function(){return 0<this.ra.length||this.b.Ih||!this.b.Pc||this.b.Ja?this.b.kb:null};g.prototype.Yq=function(){var a=this.Y[0].Rc(),b,c,h;b=1;for(c=this.Y.length;b<c;b++)h=this.Y[b],(0!==h.jd||0!==h.kd)&&h.Rc()<a&&(a=h.Rc());return a};g.prototype.Nl=function(a){if(!this.Ct){var b=
1/this.Yq()*this.b.M/2;a>this.width-b&&(a=this.width-b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.qa=!0)};g.prototype.Ol=function(a){if(!this.Ct){var b=1/this.Yq()*this.b.L/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.qa=!0)};g.prototype.zw=function(){this.Nl(this.scrollX);this.Ol(this.scrollY)};g.prototype.No=function(a,b,c,h){var d=c?c.ra:b?b.ra:this.ra,e=1,k=0,p=0,g=0,l=this.b.M,q=this.b.L;c?(e=c.n.Rc(),k=c.n.yb(),p=c.n.xa,g=c.n.ya,l=c.n.Ca,
q=c.n.Ba):b&&(e=b.Rc(),k=b.yb(),p=b.xa,g=b.ya,l=b.Ca,q=b.Ba);var t=this.b.vn,r,z,G,C,P=0,Y=1,M,S,O=this.b.M,T=this.b.L,V=O/2,u=T/2,I=b?b.ze:this.ze,J=b?b.Mo:this.Mo,R=0,K=0,x=0,N=0,L=O,sa=O,U=T,Ia=T,fa=G=0;C=c?c.n.yb():0;if(c){r=0;for(z=d.length;r<z;r++)G+=a.qy(d[r].pb),fa+=a.ry(d[r].pb);N=c.Va;R=b.Ab(N.left,N.top,!0,!0);x=b.Ab(N.left,N.top,!1,!0);L=b.Ab(N.right,N.bottom,!0,!0);U=b.Ab(N.right,N.bottom,!1,!0);0!==C&&(r=b.Ab(N.right,N.top,!0,!0),z=b.Ab(N.right,N.top,!1,!0),K=b.Ab(N.left,N.bottom,!0,
!0),N=b.Ab(N.left,N.bottom,!1,!0),C=Math.min(R,L,r,K),L=Math.max(R,L,r,K),R=C,C=Math.min(x,U,z,N),U=Math.max(x,U,z,N),x=C);R-=G;x-=fa;L+=G;U+=fa;J.left=R/O;J.top=1-x/T;J.right=L/O;J.bottom=1-U/T;K=R=ra(R);N=x=ra(x);sa=L=ua(L);Ia=U=ua(U);K-=G;N-=fa;sa+=G;Ia+=fa;0>R&&(R=0);0>x&&(x=0);L>O&&(L=O);U>T&&(U=T);0>K&&(K=0);0>N&&(N=0);sa>O&&(sa=O);Ia>T&&(Ia=T);I.left=R/O;I.top=1-x/T;I.right=L/O;I.bottom=1-U/T}else I.left=J.left=0,I.top=J.top=0,I.right=J.right=1,I.bottom=J.bottom=1;fa=c&&(a.$i(d[0].pb)||0!==
G||0!==fa||1!==c.opacity||c.type.ba.ls)||b&&!c&&1!==b.opacity;a.Xs();if(fa){t[P]||(t[P]=a.cd(O,T,this.b.Aa));if(t[P].wd!==O||t[P].vd!==T)a.deleteTexture(t[P]),t[P]=a.cd(O,T,this.b.Aa);a.zc(0);a.nd(t[P]);S=Ia-N;a.clearRect(K,T-N-S,sa-K,S);c?c.wb(a):(a.hc(this.b.Bb),a.Ce(b.opacity),a.Yd(),a.translate(-V,-u),a.Hd(),a.md(R,U,L,U,L,x,R,x,I));J.left=J.top=0;J.right=J.bottom=1;c&&(C=I.top,I.top=I.bottom,I.bottom=C);P=1;Y=0}a.Ce(1);G=d.length-1;var ya=a.Io(d[G].pb)||!b&&!c&&!this.b.Pc;r=C=0;for(z=d.length;r<
z;r++){t[P]||(t[P]=a.cd(O,T,this.b.Aa));if(t[P].wd!==O||t[P].vd!==T)a.deleteTexture(t[P]),t[P]=a.cd(O,T,this.b.Aa);a.zc(d[r].pb);C=d[r].index;a.Fl(d[r].pb)&&(this.b.qa=!0);0!=r||fa?(a.sh(h,1/O,1/T,J.left,J.top,J.right,J.bottom,e,k,p,g,(p+l)/2,(g+q)/2,this.b.Rb.ga,c?c.Za[C]:b?b.Za[C]:this.Za[C]),a.hc(null),r!==G||ya?(a.nd(t[P]),S=Ia-N,M=T-N-S,a.clearRect(K,M,sa-K,S)):(c?a.tf(c.ic,c.$b):b&&a.tf(b.ic,b.$b),a.nd(h)),a.hc(t[Y]),a.Yd(),a.translate(-V,-u),a.Hd(),a.md(R,U,L,U,L,x,R,x,I),r!==G||ya||a.hc(null)):
(a.nd(t[P]),S=Ia-N,M=T-N-S,a.clearRect(K,M,sa-K,S),c?(c.Ga&&c.Ga.B?(M=c.Ga.B,Y=1/M.width,M=1/M.height):(Y=1/c.width,M=1/c.height),a.sh(h,Y,M,J.left,J.top,J.right,J.bottom,e,k,p,g,(p+l)/2,(g+q)/2,this.b.Rb.ga,c.Za[C]),c.wb(a)):(a.sh(h,1/O,1/T,0,0,1,1,e,k,p,g,(p+l)/2,(g+q)/2,this.b.Rb.ga,b?b.Za[C]:this.Za[C]),a.hc(b?this.b.Bb:this.b.kb),a.Yd(),a.translate(-V,-u),a.Hd(),a.md(R,U,L,U,L,x,R,x,I)),J.left=J.top=0,J.right=J.bottom=1,c&&!ya&&(C=U,U=x,x=C));P=0===P?1:0;Y=0===P?1:0}ya&&(a.zc(0),c?a.tf(c.ic,
c.$b):b?a.tf(b.ic,b.$b):this.b.Pc||(a.De(this.b.width,this.b.height),V=this.b.width/2,u=this.b.height/2,x=R=0,L=this.b.width,U=this.b.height),a.nd(h),a.hc(t[Y]),a.Yd(),a.translate(-V,-u),a.Hd(),c&&1===d.length&&!fa?a.md(R,x,L,x,L,U,R,U,I):a.md(R,U,L,U,L,x,R,x,I),a.hc(null))};g.prototype.Lk=function(a){var b,c;b=0;for(c=this.Y.length;b<c;b++)if(this.Y[b].fa===a)return this.Y[b];return null};g.prototype.Eb=function(){var a,b,c,h={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.k,w:this.width,h:this.height,
fv:this.Ag,persist:this.rf,fx:[],layers:{}};a=0;for(b=this.V.length;a<b;a++)c=this.V[a],h.fx.push({name:c.name,active:c.Ua,params:this.Za[c.index]});a=0;for(b=this.Y.length;a<b;a++)c=this.Y[a],h.layers[c.fa.toString()]=c.Eb();return h};g.prototype.Tb=function(a){var b,c,h,d;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.k=a.a;this.width=a.w;this.height=a.h;this.rf=a.persist;"undefined"!==typeof a.fv&&(this.Ag=a.fv);var e=a.fx;b=0;for(c=e.length;b<c;b++)if(h=this.zn(e[b].name))h.Ua=e[b].active,
this.Za[h.index]=e[b].params;this.Gd();b=a.layers;for(d in b)b.hasOwnProperty(d)&&(a=this.Lk(parseInt(d,10)))&&a.Tb(b[d])};Kb=g;b.prototype.Gd=function(){y(this.ra);this.Fe=!0;var a,b,c;a=0;for(b=this.V.length;a<b;a++)c=this.V[a],c.Ua&&(this.ra.push(c),c.ld||(this.Fe=!1))};b.prototype.zn=function(a){var b,c,h;b=0;for(c=this.V.length;b<c;b++)if(h=this.V[b],h.name===a)return h;return null};b.prototype.Iw=function(){var a,b,c,h,d,e;b=a=0;for(c=this.Sc.length;a<c;a++){h=this.Sc[a];d=this.b.D[h[1]];e=
this.b.lp(d);d=!0;if(!e||this.Jb.Ag){h=this.b.Ye(h,this,!0);if(!h)continue;k.push(h);h.type.global&&(d=!1,this.ai.push(h.uid))}d&&(this.Sc[b]=this.Sc[a],b++)}this.Sc.length=b;this.b.Xb();!this.b.q&&this.V.length&&(this.Yb=this.ox);this.Zh=ib(this.Yb);this.b.G&&jb(this,this.Yb,this.b.G);this.Ed=!0};b.prototype.oh=function(a,b){var c=Ea(this.d,a);0>c||(b&&this.Zc&&a.wc&&a.wc.right>=a.wc.left&&(a.La(),this.Wb.update(a,a.wc,null),a.wc.set(0,0,-1,-1)),c===this.d.length-1?this.d.pop():(Aa(this.d,c),this.dj(c)),
this.Ed=!0)};b.prototype.Vh=function(a,b){a.Id=this.d.length;this.d.push(a);b&&this.Zc&&a.wc&&a.Ea();this.Ed=!0};b.prototype.Pz=function(a){this.d.unshift(a);this.dj(0)};b.prototype.oz=function(a,b,c){var h=a.Qd();b=b.Qd();Aa(this.d,h);h<b&&b--;c&&b++;b===this.d.length?this.d.push(a):this.d.splice(b,0,a);this.dj(h<b?h:b)};b.prototype.dj=function(a){-1===this.Me?this.Me=a:a<this.Me&&(this.Me=a);this.Ed=this.ig=!0};b.prototype.pp=function(){if(this.ig){-1===this.Me&&(this.Me=0);var a,b,c;if(this.Zc)for(a=
this.Me,b=this.d.length;a<b;++a)c=this.d[a],c.Id=a,this.Wb.jz(c.wc);else for(a=this.Me,b=this.d.length;a<b;++a)this.d[a].Id=a;this.ig=!1;this.Me=-1}};b.prototype.Rc=function(a){return this.my()*(this.b.Pc||a?this.b.Wh:1)};b.prototype.my=function(){return(this.scale*this.Jb.scale-1)*this.Jd+1};b.prototype.yb=function(){return this.me?0:La(this.Jb.k+this.k)};var d=[],t=[],r=[];b.prototype.Dn=function(){this.pp();this.Wb.Hl(this.xa,this.ya,this.Ca,this.Ba,r);if(!r.length)return q();if(1===r.length){var a=
q();Ca(a,r[0]);y(r);return a}for(var b=!0;1<r.length;){for(var a=r,c=void 0,h=void 0,d=void 0,k=void 0,g=void 0,c=0,h=a.length;c<h-1;c+=2){var d=a[c],k=a[c+1],g=q(),p=d,l=k,X=g,B=0,Q=0,F=0,z=p.length,G=l.length,C=void 0,P=void 0;for(X.length=z+G;B<z&&Q<G;++F)C=p[B],P=l[Q],C.Id<P.Id?(X[F]=C,++B):(X[F]=P,++Q);for(;B<z;++B,++F)X[F]=p[B];for(;Q<G;++Q,++F)X[F]=l[Q];b||(e(d),e(k));t.push(g)}1===h%2&&(b?(d=q(),Ca(d,a[h-1]),t.push(d)):t.push(a[h-1]));Ca(a,t);y(t);b=!1}a=r[0];y(r);return a};b.prototype.Ec=
function(a){this.Xd=this.Ek||1!==this.opacity||0!==this.Yb;var b=this.b.canvas,c=a,h=!1;this.Xd&&(this.b.Zk||(this.b.Zk=document.createElement("canvas"),b=this.b.Zk,b.width=this.b.M,b.height=this.b.L,this.b.Lr=b.getContext("2d"),h=!0),b=this.b.Zk,c=this.b.Lr,b.width!==this.b.M&&(b.width=this.b.M,h=!0),b.height!==this.b.L&&(b.height=this.b.L,h=!0),h&&this.b.Ql(c,this.b.Aa),this.Yc&&c.clearRect(0,0,this.b.M,this.b.L));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.Yc||(c.fillStyle="rgb("+
this.td[0]+","+this.td[1]+","+this.td[2]+")",c.fillRect(0,0,this.b.M,this.b.L));c.save();this.me=!0;var h=this.Mb(0,0,!0,!0),d=this.Mb(0,0,!1,!0);this.me=!1;this.b.uc&&(h=Math.round(h),d=Math.round(d));this.Kl(h,d,c);var k=this.Rc();c.scale(k,k);c.translate(-h,-d);this.Zc?(this.Nb.left=this.Wb.nc(this.xa),this.Nb.top=this.Wb.oc(this.ya),this.Nb.right=this.Wb.nc(this.Ca),this.Nb.bottom=this.Wb.oc(this.Ba),this.Ed||!this.Nb.ci(this.Vg)?(e(this.ve),h=this.Dn(),this.Ed=!1,this.Vg.ug(this.Nb)):h=this.ve):
h=this.d;for(var g,p=null,d=0,k=h.length;d<k;++d)g=h[d],g!==p&&(this.ix(g,c),p=g);this.Zc&&(this.ve=h);c.restore();this.Xd&&(a.globalCompositeOperation=this.Zh,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};b.prototype.ix=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.La();var c=a.Va;c.right<this.xa||c.bottom<this.ya||c.left>this.Ca||c.top>this.Ba||(b.globalCompositeOperation=a.Zh,a.Ec(b))}};b.prototype.lm=function(){this.me=!0;var a=this.Mb(0,0,!0,!0),b=this.Mb(0,0,!1,!0);this.me=!1;this.b.uc&&
(a=Math.round(a),b=Math.round(b));this.Kl(a,b,null)};b.prototype.Kl=function(a,b,c){var h=this.Rc();this.xa=a;this.ya=b;this.Ca=a+1/h*this.b.M;this.Ba=b+1/h*this.b.L;this.xa>this.Ca&&(a=this.xa,this.xa=this.Ca,this.Ca=a);this.ya>this.Ba&&(a=this.ya,this.ya=this.Ba,this.Ba=a);a=this.yb();0!==a&&(c&&(c.translate(this.b.M/2,this.b.L/2),c.rotate(-a),c.translate(this.b.M/-2,this.b.L/-2)),this.Ie.set(this.xa,this.ya,this.Ca,this.Ba),this.Ie.offset((this.xa+this.Ca)/-2,(this.ya+this.Ba)/-2),this.wt.gt(this.Ie,
a),this.wt.tq(this.Ie),this.Ie.offset((this.xa+this.Ca)/2,(this.ya+this.Ba)/2),this.xa=this.Ie.left,this.ya=this.Ie.top,this.Ca=this.Ie.right,this.Ba=this.Ie.bottom)};b.prototype.$e=function(a){if(this.Xd=this.Ek){this.b.Bb||(this.b.Bb=a.cd(this.b.M,this.b.L,this.b.Aa));if(this.b.Bb.wd!==this.b.M||this.b.Bb.vd!==this.b.L)a.deleteTexture(this.b.Bb),this.b.Bb=a.cd(this.b.M,this.b.L,this.b.Aa);a.nd(this.b.Bb)}this.me=!0;var b=this.Mb(0,0,!0,!0),c=this.Mb(0,0,!1,!0);this.me=!1;this.b.uc&&(b=Math.round(b),
c=Math.round(c));this.Kl(b,c,null);b=this.Rc();a.Yd();a.scale(b,b);a.Ro(-this.yb());a.translate((this.xa+this.Ca)/-2,(this.ya+this.Ba)/-2);a.Hd();this.Zc?(this.Nb.left=this.Wb.nc(this.xa),this.Nb.top=this.Wb.oc(this.ya),this.Nb.right=this.Wb.nc(this.Ca),this.Nb.bottom=this.Wb.oc(this.Ba),this.Ed||!this.Nb.ci(this.Vg)?(e(this.ve),b=this.Dn(),this.Ed=!1,this.Vg.ug(this.Nb)):b=this.ve):b=this.d;for(var h,d=null,c=b.length-1;0<=c;--c)h=b[c],h!==d&&(this.kx(b[c],a),d=h);this.Zc&&(this.ve=b);this.Yc||(this.$m=
this.b.Ef++,a.Rl(this.$m),a.Ys(1,1,1),a.Rq(),a.Zz())};b.prototype.wb=function(a){var b=0,c=0;if(this.Xd=this.Ek||1!==this.opacity||0<this.ra.length||0!==this.Yb){this.b.Bb||(this.b.Bb=a.cd(this.b.M,this.b.L,this.b.Aa));if(this.b.Bb.wd!==this.b.M||this.b.Bb.vd!==this.b.L)a.deleteTexture(this.b.Bb),this.b.Bb=a.cd(this.b.M,this.b.L,this.b.Aa);a.nd(this.b.Bb);this.Yc&&a.clear(0,0,0,0)}this.Yc||(this.b.Ja?(a.Rl(this.$m),a.Ys(this.td[0]/255,this.td[1]/255,this.td[2]/255),a.Rq(),a.pA()):a.clear(this.td[0]/
255,this.td[1]/255,this.td[2]/255,1));this.me=!0;var h=this.Mb(0,0,!0,!0),b=this.Mb(0,0,!1,!0);this.me=!1;this.b.uc&&(h=Math.round(h),b=Math.round(b));this.Kl(h,b,null);h=this.Rc();a.Yd();a.scale(h,h);a.Ro(-this.yb());a.translate((this.xa+this.Ca)/-2,(this.ya+this.Ba)/-2);a.Hd();this.Zc?(this.Nb.left=this.Wb.nc(this.xa),this.Nb.top=this.Wb.oc(this.ya),this.Nb.right=this.Wb.nc(this.Ca),this.Nb.bottom=this.Wb.oc(this.Ba),this.Ed||!this.Nb.ci(this.Vg)?(e(this.ve),b=this.Dn(),this.Ed=!1,this.Vg.ug(this.Nb)):
b=this.ve):b=this.d;var d,k,g=null,c=0;for(d=b.length;c<d;++c)k=b[c],k!==g&&(this.jx(b[c],a),g=k);this.Zc&&(this.ve=b);this.Xd&&(b=this.ra.length?this.ra[0].pb:0,c=this.ra.length?this.ra[0].index:0,0===this.ra.length||1===this.ra.length&&!a.Io(b)&&1===this.opacity?(1===this.ra.length?(a.zc(b),a.sh(this.Jb.hi(),1/this.b.M,1/this.b.L,0,0,1,1,h,this.yb(),this.xa,this.ya,(this.xa+this.Ca)/2,(this.ya+this.Ba)/2,this.b.Rb.ga,this.Za[c]),a.Fl(b)&&(this.b.qa=!0)):a.zc(0),a.nd(this.Jb.hi()),a.Ce(this.opacity),
a.hc(this.b.Bb),a.tf(this.ic,this.$b),a.Yd(),a.Hd(),h=this.b.M/2,b=this.b.L/2,a.nh(-h,b,h,b,h,-b,-h,-b),a.hc(null)):this.Jb.No(a,this,null,this.Jb.hi()))};b.prototype.jx=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.La();var c=a.Va;c.right<this.xa||c.bottom<this.ya||c.left>this.Ca||c.top>this.Ba||(b.Rl(a.Ef),a.Lt?this.lx(a,b):(b.zc(0),b.tf(a.ic,a.$b),a.wb(b)))}};b.prototype.kx=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.La();var c=a.Va;c.right<this.xa||c.bottom<this.ya||c.left>
this.Ca||c.top>this.Ba||(a.Ef=this.b.Ef++,0===a.Yb&&1===a.opacity&&a.Fe&&a.$e&&(b.Rl(a.Ef),a.$e(b)))}};b.prototype.lx=function(a,b){var c=a.ra[0].pb,h=a.ra[0].index,d=this.Rc();if(1!==a.ra.length||b.Io(c)||b.Sz(c)||(a.k||a.n.yb())&&b.$i(c)||1!==a.opacity||a.type.ba.ls)this.Jb.No(b,this,a,this.Xd?this.b.Bb:this.Jb.hi()),b.Yd(),b.scale(d,d),b.Ro(-this.yb()),b.translate((this.xa+this.Ca)/-2,(this.ya+this.Ba)/-2),b.Hd();else{b.zc(c);b.tf(a.ic,a.$b);b.Fl(c)&&(this.b.qa=!0);var e=0,k=0,p=0,g=0;b.$i(c)&&
(g=a.Va,e=this.Ab(g.left,g.top,!0,!0),k=this.Ab(g.left,g.top,!1,!0),p=this.Ab(g.right,g.bottom,!0,!0),g=this.Ab(g.right,g.bottom,!1,!0),e=e/windowWidth,k=1-k/windowHeight,p=p/windowWidth,g=1-g/windowHeight);var l;a.Ga&&a.Ga.B?(l=a.Ga.B,c=1/l.width,l=1/l.height):(c=1/a.width,l=1/a.height);b.sh(this.Xd?this.b.Bb:this.Jb.hi(),c,l,e,k,p,g,d,this.yb(),this.xa,this.ya,(this.xa+this.Ca)/2,(this.ya+this.Ba)/2,this.b.Rb.ga,a.Za[h]);a.wb(b)}};b.prototype.Mb=function(a,b,c,h){var d=this.b.devicePixelRatio;this.b.Rf&&
(a*=d,b*=d);var d=this.b.Gs,e=this.b.Hs,d=(this.Jb.scrollX-d)*this.jd+d,e=(this.Jb.scrollY-e)*this.kd+e,k=d,p=e,g=1/this.Rc(!h);h?(k-=this.b.M*g/2,p-=this.b.L*g/2):(k-=this.b.width*g/2,p-=this.b.height*g/2);k+=a*g;p+=b*g;b=this.yb();0!==b&&(k-=d,p-=e,a=Math.cos(b),b=Math.sin(b),h=k*a-p*b,p=p*a+k*b,k=h+d,p+=e);return c?k:p};b.prototype.Ab=function(a,b,c,h){var d=this.b.Gs,e=this.b.Hs,k=(this.Jb.scrollX-d)*this.jd+d,p=(this.Jb.scrollY-e)*this.kd+e,e=k,d=p,g=this.yb();if(0!==g){a-=k;b-=p;var l=Math.cos(-g),
g=Math.sin(-g),q=a*l-b*g;b=b*l+a*g;a=q+k;b+=p}k=1/this.Rc(!h);h?(e-=this.b.M*k/2,d-=this.b.L*k/2):(e-=this.b.width*k/2,d-=this.b.height*k/2);e=(a-e)/k;d=(b-d)/k;a=this.b.devicePixelRatio;this.b.Rf&&!h&&(e/=a,d/=a);return c?e:d};b.prototype.Eb=function(){var a,b,c,h={s:this.scale,a:this.k,vl:this.xa,vt:this.ya,vr:this.Ca,vb:this.Ba,v:this.visible,bc:this.td,t:this.Yc,px:this.jd,py:this.kd,o:this.opacity,zr:this.Jd,fx:[],cg:this.ai,instances:[]};a=0;for(b=this.V.length;a<b;a++)c=this.V[a],h.fx.push({name:c.name,
active:c.Ua,params:this.Za[c.index]});return h};b.prototype.Tb=function(a){var b,c,h;this.scale=a.s;this.k=a.a;this.xa=a.vl;this.ya=a.vt;this.Ca=a.vr;this.Ba=a.vb;this.visible=a.v;this.td=a.bc;this.Yc=a.t;this.jd=a.px;this.kd=a.py;this.opacity=a.o;this.Jd=a.zr;this.ai=a.cg||[];Ca(this.Sc,this.nt);var d=new ca;b=0;for(h=this.ai.length;b<h;++b)d.add(this.ai[b]);c=b=0;for(h=this.Sc.length;b<h;++b)d.contains(this.Sc[b][2])||(this.Sc[c]=this.Sc[b],++c);Ba(this.Sc,c);c=a.fx;b=0;for(h=c.length;b<h;b++)if(a=
this.zn(c[b].name))a.Ua=c[b].active,this.Za[a.index]=c[b].params;this.Gd();this.d.sort(l);this.ig=!0};bc=b})();
(function(){function g(a,c){var b,h=a.length;switch(h){case 0:return!0;case 1:return a[0]===c[0];case 2:return a[0]===c[0]&&a[1]===c[1];default:for(b=0;b<h;b++)if(a[b]!==c[b])return!1;return!0}}function l(a,c){return a.index-c.index}function b(a){var c,b,h,d;2===a.length?a[0].index>a[1].index&&(c=a[0],a[0]=a[1],a[1]=c):2<a.length&&a.sort(l);a.length>=n.length&&(n.length=a.length+1);n[a.length]||(n[a.length]=[]);d=n[a.length];c=0;for(b=d.length;c<b;c++)if(h=d[c],g(a,h))return h;d.push(a);return a}
function q(a,c){this.b=a;this.zt={};this.Iq={};this.Jn=!1;this.fr=new ca;this.hn=[];this.Om=[];this.name=c[0];var b=c[1];this.cf=[];var h,d;h=0;for(d=b.length;h<d;h++)this.ir(b[h],null,this.cf)}function e(a){this.type=a;this.d=[];this.O=[];this.Z=!0}function k(a,c,b){this.sheet=a;this.parent=c;this.b=a.b;this.ea=[];this.uf=[];this.dr=this.hm=this.hp=this.Nn=this.group=this.Zo=!1;this.ub=[];this.$c=[];this.od=[];this.ji="";this.Eg=this.Nn=this.group=!1;this.jk=null;b[1]&&(this.ji=b[1][1].toLowerCase(),
this.group=!0,this.Nn=!!b[1][0],this.jk=[],this.Eg=this.Nn,this.b.pg.push(this),this.b.ki[this.ji]=this);this.Ic=b[2];this.fa=b[4];this.group||(this.b.rq[this.fa.toString()]=this);var h=b[5];a=0;for(c=h.length;a<c;a++){var d=new cc(this,h[a]);d.index=a;this.ub.push(d);this.kq(d.type)}h=b[6];a=0;for(c=h.length;a<c;a++)d=new dc(this,h[a]),d.index=a,this.$c.push(d);if(8===b.length)for(b=b[7],a=0,c=b.length;a<c;a++)this.sheet.ir(b[a],this,this.od);this.Wk=!1;this.ub.length&&(this.Wk=null==this.ub[0].type&&
this.ub[0].Ob==D.prototype.c.Dp)}function a(a,c){var b,h,d;if(a&&(-1===c.indexOf(a)&&c.push(a),a.Qb))for(b=0,h=a.Dc.length;b<h;b++)d=a.Dc[b],a!==d&&-1===c.indexOf(d)&&c.push(d)}function d(a,c){this.Mc=a;this.sheet=a.sheet;this.b=a.b;this.X=[];this.$a=[];this.ua={};this.index=-1;this.Th=!1;this.Ob=this.b.Oe(c[1]);this.trigger=0<c[3];this.Hq=2===c[3];this.Td=c[4];this.Hg=c[5];this.bz=c[6];this.fa=c[7];this.b.We[this.fa.toString()]=this;-1===c[0]?(this.type=null,this.ob=this.To,this.zf=null,this.ud=
-1):(this.type=this.b.D[c[0]],this.ob=this.bz?this.eA:this.So,c[2]?(this.zf=this.type.Ik(c[2]),this.ud=this.type.xn(c[2])):(this.zf=null,this.ud=-1),this.Mc.parent&&this.Mc.parent.Tl());this.Hq&&(this.ob=this.fA);if(10===c.length){var b,h,d=c[9];b=0;for(h=d.length;b<h;b++){var f=new ec(this,d[b]);this.X.push(f)}this.$a.length=d.length}}function t(a,c){this.Mc=a;this.sheet=a.sheet;this.b=a.b;this.X=[];this.$a=[];this.ua={};this.index=-1;this.Th=!1;this.Ob=this.b.Oe(c[1]);-1===c[0]?(this.type=null,
this.ob=this.To,this.zf=null,this.ud=-1):(this.type=this.b.D[c[0]],this.ob=this.So,c[2]?(this.zf=this.type.Ik(c[2]),this.ud=this.type.xn(c[2])):(this.zf=null,this.ud=-1));this.fa=c[3];this.b.Qe[this.fa.toString()]=this;if(6===c.length){var b,h,d=c[5];b=0;for(h=d.length;b<h;b++){var f=new ec(this,d[b]);this.X.push(f)}this.$a.length=d.length}}function r(){w++;v.length===w&&v.push(new fc);return v[w]}function f(a,c){this.Ka=a;this.Mc=a.Mc;this.sheet=a.sheet;this.b=a.b;this.type=c[0];this.Nd=null;this.Ge=
0;this.get=null;this.Aq=0;this.Jb=null;this.key=0;this.object=null;this.index=0;this.sj=this.dg=this.sj=this.dg=this.Mq=this.If=this.tj=null;this.qd=!1;var b,h,d;switch(c[0]){case 0:case 7:this.Nd=new gc(this,c[1]);this.Ge=0;this.get=this.xy;break;case 1:this.Nd=new gc(this,c[1]);this.Ge=0;this.get=this.yy;break;case 5:this.Nd=new gc(this,c[1]);this.Ge=0;this.get=this.Cy;break;case 3:case 8:this.Aq=c[1];this.get=this.vy;break;case 6:this.Jb=this.b.fo[c[1]];this.get=this.Dy;break;case 9:this.key=c[1];
this.get=this.By;break;case 4:this.object=this.b.D[c[1]];this.get=this.Ey;this.Mc.kq(this.object);this.Ka instanceof dc?this.Mc.Tl():this.Mc.parent&&this.Mc.parent.Tl();break;case 10:this.index=c[1];a.type&&a.type.H?(this.get=this.zy,this.qd=!0):this.get=this.Ay;break;case 11:this.tj=c[1];this.If=null;this.get=this.wy;break;case 2:case 12:this.Mq=c[1];this.get=this.uy;break;case 13:for(this.get=this.Fy,this.dg=[],this.sj=[],b=1,h=c.length;b<h;b++)d=new ec(this.Ka,c[b]),this.dg.push(d),this.sj.push(0)}}
function m(a,c,b){this.sheet=a;this.parent=c;this.b=a.b;this.ea=[];this.name=b[1];this.uj=b[2];this.Mn=b[3];this.Ai=!!b[4];this.Vk=!!b[5];this.fa=b[6];this.b.Kh[this.fa.toString()]=this;this.data=this.Mn;this.parent?(this.$f=this.Ai||this.Vk?-1:this.b.rA++,this.b.vw.push(this)):(this.$f=-1,this.b.uw.push(this))}function c(a,c,b){this.sheet=a;this.parent=c;this.b=a.b;this.ea=[];this.oi=null;this.Ly=b[1];this.Ua=!0}function h(){this.pt=[];this.reset(null)}var n=[];q.prototype.toString=function(){return this.name};
q.prototype.ir=function(a,c,b){switch(a[0]){case 0:a=new hc(this,c,a);if(a.Ic)for(b.push(a),b=0,c=a.ub.length;b<c;b++)a.ub[b].trigger&&this.jr(a,b);else a.ur()?this.jr(a,0):b.push(a);break;case 1:a=new Zb(this,c,a);b.push(a);break;case 2:a=new ic(this,c,a),b.push(a)}};q.prototype.gb=function(){var a,c;a=0;for(c=this.cf.length;a<c;a++)this.cf[a].gb(a<c-1&&this.cf[a+1].Wk)};q.prototype.mp=function(){y(this.hn);y(this.Om);this.jq(this);y(this.Om)};q.prototype.jq=function(a){var c,b,h,d,f=a.hn,n=a.Om,
e=this.fr.xf();c=0;for(b=e.length;c<b;++c)h=e[c],d=h.oi,!h.Ua||a===d||-1<n.indexOf(d)||(n.push(d),d.jq(a),f.push(d))};q.prototype.ob=function(a){this.b.SB||(this.Jn=!0,a||(this.b.Yn=!0));var c,b;c=0;for(b=this.cf.length;c<b;c++){var h=this.cf[c];h.ob();this.b.Zm(h.ea);this.b.gf&&this.b.Xb()}a||(this.b.Yn=!1)};q.prototype.jr=function(a,c){a.Ic||this.b.jm.push(a);var b,h,d=a.ub[c],f;d.type?f=d.type.name:f="system";var n=(b=d.Hq)?this.Iq:this.zt;n[f]||(n[f]=[]);f=n[f];n=d.Ob;if(b){if(d.X.length&&(d=
d.X[0],1===d.type&&2===d.Nd.type)){d=d.Nd.value.toLowerCase();b=0;for(h=f.length;b<h;b++)if(f[b].method==n){b=f[b].di;b[d]?b[d].push([a,c]):b[d]=[[a,c]];return}b={};b[d]=[[a,c]];f.push({method:n,di:b})}}else{b=0;for(h=f.length;b<h;b++)if(f[b].method==n){f[b].di.push([a,c]);return}E&&n===E.prototype.c.lg?f.unshift({method:n,di:[[a,c]]}):f.push({method:n,di:[[a,c]]})}};Lb=q;e.prototype.In=function(){return this.Z?this.type.d.length:this.d.length};e.prototype.rc=function(){return this.Z?this.type.d:
this.d};e.prototype.jh=function(a){a&&(a.b.Oa().Xa.Ic?(this.Z&&(y(this.d),Ca(this.O,a.type.d),this.Z=!1),a=this.O.indexOf(a),-1!==a&&(this.d.push(this.O[a]),this.O.splice(a,1))):(this.Z=!1,y(this.d),this.d[0]=a))};sb=e;window._c2hh_="558F33DEB922863AD866F24A31DDBA7EB098C0EF";k.prototype.gb=function(a){var c,h=this.parent;if(this.group)for(this.hm=!0;h;){if(!h.group){this.hm=!1;break}h=h.parent}this.hp=!this.ur()&&(!this.parent||this.parent.group&&this.parent.hm);this.dr=!!a;this.uf=this.ea.slice(0);
for(h=this.parent;h;){a=0;for(c=h.ea.length;a<c;a++)this.rw(h.ea[a]);h=h.parent}this.ea=b(this.ea);this.uf=b(this.uf);a=0;for(c=this.ub.length;a<c;a++)this.ub[a].gb();a=0;for(c=this.$c.length;a<c;a++)this.$c[a].gb();a=0;for(c=this.od.length;a<c;a++)this.od[a].gb(a<c-1&&this.od[a+1].Wk)};k.prototype.jA=function(a){if(this.Eg!==!!a){this.Eg=!!a;var c;a=0;for(c=this.jk.length;a<c;++a)this.jk[a].Et();0<c&&this.b.ka.Hf&&this.b.ka.Hf.mp()}};k.prototype.kq=function(c){a(c,this.ea)};k.prototype.rw=function(c){a(c,
this.uf)};k.prototype.Tl=function(){this.Zo=!0;this.parent&&this.parent.Tl()};k.prototype.ur=function(){return this.ub.length?this.ub[0].trigger:!1};k.prototype.ob=function(){var a,c,b=!1,h=this.b,d=this.b.Oa();d.Xa=this;var f=this.ub;this.Wk||(d.nn=!1);if(this.Ic){0===f.length&&(b=!0);d.hb=0;for(a=f.length;d.hb<a;d.hb++)c=f[d.hb],c.trigger||(c=c.ob())&&(b=!0);(d.Vf=b)&&this.Ll()}else{d.hb=0;for(a=f.length;d.hb<a;d.hb++)if(c=f[d.hb].ob(),!c){d.Vf=!1;this.hp&&h.gf&&h.Xb();return}d.Vf=!0;this.Ll()}this.rx(d)};
k.prototype.rx=function(a){a.Vf&&this.dr&&(a.nn=!0);this.hp&&this.b.gf&&this.b.Xb()};k.prototype.cA=function(a){this.b.Oa().Xa=this;this.ub[a].ob()&&(this.Ll(),this.b.Oa().Vf=!0)};k.prototype.Ll=function(){var a=this.b.Oa(),c;a.pc=0;for(c=this.$c.length;a.pc<c;a.pc++)if(this.$c[a.pc].ob())return;this.Vs()};k.prototype.$z=function(){var a=this.b.Oa(),c;for(c=this.$c.length;a.pc<c;a.pc++)if(this.$c[a.pc].ob())return;this.Vs()};k.prototype.Vs=function(){if(this.od.length){var a,c,b,h,d=this.od.length-
1;this.b.Gl(this);if(this.Zo)for(a=0,c=this.od.length;a<c;a++)b=this.od[a],(h=!this.hm||!this.group&&a<d)&&this.b.sf(b.ea),b.ob(),h?this.b.Cd(b.ea):this.b.Zm(b.ea);else for(a=0,c=this.od.length;a<c;a++)this.od[a].ob();this.b.Cl()}};k.prototype.dA=function(){var a=this.b.Oa();a.Xa=this;var c=!1,b;a.hb=0;for(b=this.ub.length;a.hb<b;a.hb++)if(this.ub[a.hb].ob())c=!0;else if(!this.Ic)return!1;return this.Ic?c:!0};k.prototype.Ae=function(){this.b.Jf++;var a=this.b.Oa().hb,c=this.b.Gl(this);if(!this.Ic)for(c.hb=
a+1,a=this.ub.length;c.hb<a;c.hb++)if(!this.ub[c.hb].ob())return this.b.Cl(),!1;this.Ll();this.b.Cl();return!0};k.prototype.Vy=function(a){var c=a.index;if(0===c)return!0;for(--c;0<=c;--c)if(this.ub[c].type===a.type)return!1;return!0};hc=k;d.prototype.gb=function(){var a,c,b;a=0;for(c=this.X.length;a<c;a++)b=this.X[a],b.gb(),b.qd&&(this.Th=!0)};d.prototype.fA=function(){return!0};d.prototype.To=function(){var a,c;a=0;for(c=this.X.length;a<c;a++)this.$a[a]=this.X[a].get();return Ua(this.Ob.apply(this.b.$d,
this.$a),this.Hg)};d.prototype.eA=function(){var a,c;a=0;for(c=this.X.length;a<c;a++)this.$a[a]=this.X[a].get();a=this.Ob.apply(this.zf?this.zf:this.type,this.$a);this.type.ad();return a};d.prototype.So=function(){var a,c,b,h,d,f,n,e,k=this.type,g=k.W(),m=this.Mc.Ic&&!this.trigger;c=0;var l=k.Qb,w=k.H,v=k.qe,q=this.ud,t=-1<q,r=this.Th,I=this.X,J=this.$a,R=this.Hg,K=this.Ob,x;if(r)for(c=0,d=I.length;c<d;++c)f=I[c],f.qd||(J[c]=f.get(0));else for(c=0,d=I.length;c<d;++c)J[c]=I[c].get(0);if(g.Z){y(g.d);
y(g.O);x=k.d;a=0;for(h=x.length;a<h;++a){e=x[a];if(r)for(c=0,d=I.length;c<d;++c)f=I[c],f.qd&&(J[c]=f.get(a));t?(c=0,w&&(c=e.type.zg[v]),c=K.apply(e.U[q+c],J)):c=K.apply(e,J);(n=Ua(c,R))?g.d.push(e):m&&g.O.push(e)}k.finish&&k.finish(!0);g.Z=!1;k.ad();return g.In()}b=0;x=(n=m&&!this.Mc.Vy(this))?g.O:g.d;var N=!1;a=0;for(h=x.length;a<h;++a){e=x[a];if(r)for(c=0,d=I.length;c<d;++c)f=I[c],f.qd&&(J[c]=f.get(a));t?(c=0,w&&(c=e.type.zg[v]),c=K.apply(e.U[q+c],J)):c=K.apply(e,J);if(Ua(c,R))if(N=!0,n){if(g.d.push(e),
l)for(c=0,d=e.siblings.length;c<d;c++)f=e.siblings[c],f.type.W().d.push(f)}else{x[b]=e;if(l)for(c=0,d=e.siblings.length;c<d;c++)f=e.siblings[c],f.type.W().d[b]=f;b++}else if(n){x[b]=e;if(l)for(c=0,d=e.siblings.length;c<d;c++)f=e.siblings[c],f.type.W().O[b]=f;b++}else if(m&&(g.O.push(e),l))for(c=0,d=e.siblings.length;c<d;c++)f=e.siblings[c],f.type.W().O.push(f)}Ba(x,b);if(l)for(w=k.Dc,a=0,h=w.length;a<h;a++)e=w[a].W(),n?Ba(e.O,b):Ba(e.d,b);b=N;if(n&&!N)for(a=0,h=g.d.length;a<h;a++){e=g.d[a];if(r)for(c=
0,d=I.length;c<d;c++)f=I[c],f.qd&&(J[c]=f.get(a));c=t?K.apply(e.U[q],J):K.apply(e,J);if(Ua(c,R)){N=!0;break}}k.finish&&k.finish(b||m);return m?N:g.In()};cc=d;t.prototype.gb=function(){var a,c,b;a=0;for(c=this.X.length;a<c;a++)b=this.X[a],b.gb(),b.qd&&(this.Th=!0)};t.prototype.To=function(){var a=this.b,c,b,h=this.X,d=this.$a;c=0;for(b=h.length;c<b;++c)d[c]=h[c].get();return this.Ob.apply(a.$d,d)};t.prototype.So=function(){var a=this.type,c=this.ud,b=a.qe,h=this.Th,d=this.X,f=this.$a,n=this.Ob,e=a.W().rc(),
a=a.H,k=-1<c,g,m,l,w,v,q;if(h)for(m=0,w=d.length;m<w;++m)v=d[m],v.qd||(f[m]=v.get(0));else for(m=0,w=d.length;m<w;++m)f[m]=d[m].get(0);g=0;for(l=e.length;g<l;++g){q=e[g];if(h)for(m=0,w=d.length;m<w;++m)v=d[m],v.qd&&(f[m]=v.get(g));k?(m=0,a&&(m=q.type.zg[b]),n.apply(q.U[c+m],f)):n.apply(q,f)}return!1};dc=t;var v=[],w=-1;f.prototype.gb=function(){var a,c;if(11===this.type)this.If=this.b.Vq(this.tj,this.Mc.parent);else if(13===this.type)for(a=0,c=this.dg.length;a<c;a++)this.dg[a].gb();this.Nd&&this.Nd.gb()};
f.prototype.lz=function(a){this.qd||!a||a.ba.Vl||(this.qd=!0)};f.prototype.dt=function(){this.qd=!0};f.prototype.xy=function(a){this.Ge=a||0;a=r();this.Nd.get(a);w--;return a.data};f.prototype.yy=function(a){this.Ge=a||0;a=r();this.Nd.get(a);w--;return ja(a.data)?a.data:""};f.prototype.Ey=function(){return this.object};f.prototype.vy=function(){return this.Aq};f.prototype.Cy=function(a){this.Ge=a||0;a=r();this.Nd.get(a);w--;return a.Ib()?this.b.Cg(a.data):this.b.Kk(a.data)};f.prototype.Dy=function(){return this.Jb};
f.prototype.By=function(){return this.key};f.prototype.Ay=function(){return this.index};f.prototype.zy=function(a){a=a||0;var c=this.Ka.type,b=null,b=c.W(),h=b.rc();if(h.length)b=h[a%h.length].type;else if(b.O.length)b=b.O[a%b.O.length].type;else if(c.d.length)b=c.d[a%c.d.length].type;else return 0;return this.index+b.zk[c.qe]};f.prototype.wy=function(){return this.If};f.prototype.uy=function(){return this.Mq};f.prototype.Fy=function(){var a,c;a=0;for(c=this.dg.length;a<c;a++)this.sj[a]=this.dg[a].get();
return this.sj};ec=f;m.prototype.gb=function(){this.ea=b(this.ea)};m.prototype.Ee=function(a){var c=this.b.Tq();this.parent&&!this.Ai&&c?(this.$f>=c.length&&(c.length=this.$f+1),c[this.$f]=a):this.data=a};m.prototype.Mf=function(){var a=this.b.Tq();return!this.parent||this.Ai||!a||this.Vk?this.data:this.$f>=a.length||"undefined"===typeof a[this.$f]?this.Mn:a[this.$f]};m.prototype.ob=function(){!this.parent||this.Ai||this.Vk||this.Ee(this.Mn)};Zb=m;c.prototype.toString=function(){return"include:"+
this.oi.toString()};c.prototype.gb=function(){this.oi=this.b.qn[this.Ly];this.sheet.fr.add(this);this.ea=b(this.ea);for(var a=this.parent;a;)a.group&&a.jk.push(this),a=a.parent;this.Et()};c.prototype.ob=function(){this.parent&&this.b.aj(this.b.D);this.oi.Jn||this.oi.ob(!0);this.parent&&this.b.Cd(this.b.D)};c.prototype.Et=function(){for(var a=this.parent;a;){if(a.group&&!a.Eg){this.Ua=!1;return}a=a.parent}this.Ua=!0};ic=c;h.prototype.reset=function(a){this.Xa=a;this.pc=this.hb=0;y(this.pt);this.nn=
this.Vf=!1};h.prototype.Wn=function(){return this.Xa.Zo?!0:this.hb<this.Xa.ub.length-1?!!this.Xa.ea.length:!1};Yb=h})();
(function(){function g(a,b){this.Ka=a;this.b=a.b;this.type=b[0];this.get=[this.Kx,this.Gx,this.Tx,this.Wx,this.vx,this.Ux,this.Ox,this.Dx,this.Nx,this.Sx,this.wx,this.Rx,this.Ex,this.Px,this.Lx,this.Mx,this.Hx,this.Ix,this.Cx,this.Vx,this.Qx,this.Jx,this.Bx,this.Fx][this.type];var e=null;this.we=this.X=this.$a=this.Ob=this.gm=this.second=this.first=this.value=null;this.ud=-1;this.zd=null;this.Mt=-1;this.If=this.tj=null;this.qh=!1;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new gc(a,b[1]);break;case 18:this.first=new gc(a,b[1]);this.second=new gc(a,b[2]);this.gm=new gc(a,b[3]);break;case 19:this.Ob=this.b.Oe(b[1]);this.Ob!==D.prototype.j.random&&this.Ob!==D.prototype.j.yq||this.Ka.dt();this.$a=[];this.X=[];3===b.length?(e=b[2],this.$a.length=e.length+1):this.$a.length=1;break;case 20:this.we=this.b.D[b[1]];this.ud=-1;this.Ob=this.b.Oe(b[2]);this.qh=b[3];uc&&this.Ob===uc.prototype.j.zp&&this.Ka.dt();b[4]?this.zd=new gc(a,b[4]):this.zd=null;this.$a=[];this.X=[];6===b.length?
(e=b[5],this.$a.length=e.length+1):this.$a.length=1;break;case 21:this.we=this.b.D[b[1]];this.qh=b[2];b[3]?this.zd=new gc(a,b[3]):this.zd=null;this.Mt=b[4];break;case 22:this.we=this.b.D[b[1]];this.we.Ik(b[2]);this.ud=this.we.xn(b[2]);this.Ob=this.b.Oe(b[3]);this.qh=b[4];b[5]?this.zd=new gc(a,b[5]):this.zd=null;this.$a=[];this.X=[];7===b.length?(e=b[6],this.$a.length=e.length+1):this.$a.length=1;break;case 23:this.tj=b[1],this.If=null}this.Ka.lz(this.we);4<=this.type&&17>=this.type&&(this.first=new gc(a,
b[1]),this.second=new gc(a,b[2]));if(e){var k,f;k=0;for(f=e.length;k<f;k++)this.X.push(new gc(a,e[k]))}}function l(){++k;e.length===k&&e.push(new fc);return e[k]}function b(a,b,e){var k,f;k=0;for(f=a.length;k<f;++k)a[k].get(e),b[k+1]=e.data}function q(a,b){this.type=a||jc.kg;this.data=b||0;this.ag=null;this.type==jc.kg&&(this.data=Math.floor(this.data))}g.prototype.gb=function(){23===this.type&&(this.If=this.Ka.b.Vq(this.tj,this.Ka.Mc.parent));this.first&&this.first.gb();this.second&&this.second.gb();
this.gm&&this.gm.gb();this.zd&&this.zd.gb();if(this.X){var a,b;a=0;for(b=this.X.length;a<b;a++)this.X[a].gb()}};var e=[],k=-1;g.prototype.Vx=function(a){var d=this.X,e=this.$a;e[0]=a;a=l();b(d,e,a);--k;this.Ob.apply(this.b.$d,e)};g.prototype.Qx=function(a){var d=this.we,e=this.$a,g=this.X,f=this.zd,m=this.Ob,c=this.Ka.Ge,h=d.W(),n=h.rc();if(!n.length)if(h.O.length)n=h.O;else{this.qh?a.ca(""):a.N(0);return}e[0]=a;a.ag=d;a=l();b(g,e,a);f&&(f.get(a),a.Ib()&&(c=a.data,n=d.d));--k;d=n.length;if(c>=d||
c<=-d)c%=d;0>c&&(c+=d);m.apply(n[c],e)};g.prototype.Bx=function(a){var d=this.we,e=this.$a,g=this.X,f=this.zd,m=this.ud,c=this.Ob,h=this.Ka.Ge,n=d.W(),v=n.rc();if(!v.length)if(n.O.length)v=n.O;else{this.qh?a.ca(""):a.N(0);return}e[0]=a;a.ag=d;a=l();b(g,e,a);f&&(f.get(a),a.Ib()&&(h=a.data,v=d.d));--k;g=v.length;if(h>=g||h<=-g)h%=g;0>h&&(h+=g);h=v[h];v=0;d.H&&(v=h.type.zg[d.qe]);c.apply(h.U[m+v],e)};g.prototype.Jx=function(a){var b=this.zd,e=this.we,g=this.Mt,f=this.Ka.Ge,m=e.W(),c=m.rc();if(!c.length)if(m.O.length)c=
m.O;else{this.qh?a.ca(""):a.N(0);return}if(b){m=l();b.get(m);if(m.Ib()){f=m.data;c=e.d;0!==c.length&&(f%=c.length,0>f&&(f+=c.length));f=e.Bn(f);e=f.zb[g];ja(e)?a.ca(e):a.u(e);--k;return}--k}b=c.length;if(f>=b||f<=-b)f%=b;0>f&&(f+=b);f=c[f];c=0;e.H&&(c=f.type.zk[e.qe]);e=f.zb[g+c];ja(e)?a.ca(e):a.u(e)};g.prototype.Kx=function(a){a.type=jc.kg;a.data=this.value};g.prototype.Gx=function(a){a.type=jc.jg;a.data=this.value};g.prototype.Tx=function(a){a.type=jc.String;a.data=this.value};g.prototype.Wx=function(a){this.first.get(a);
a.Ib()&&(a.data=-a.data)};g.prototype.vx=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data+=b.data,b.Mg()&&a.Xg());--k};g.prototype.Ux=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data-=b.data,b.Mg()&&a.Xg());--k};g.prototype.Ox=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data*=b.data,b.Mg()&&a.Xg());--k};g.prototype.Dx=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data/=
b.data,a.Xg());--k};g.prototype.Nx=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data%=b.data,b.Mg()&&a.Xg());--k};g.prototype.Sx=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data=Math.pow(a.data,b.data),b.Mg()&&a.Xg());--k};g.prototype.wx=function(a){this.first.get(a);var b=l();this.second.get(b);b.Pg()||a.Pg()?this.yx(a,b):this.xx(a,b);--k};g.prototype.yx=function(a,b){a.Pg()&&b.Pg()?this.Ax(a,b):this.zx(a,b)};g.prototype.Ax=function(a,
b){a.data+=b.data};g.prototype.zx=function(a,b){a.Pg()?a.data+=(Math.round(1E10*b.data)/1E10).toString():a.ca(a.data.toString()+b.data)};g.prototype.xx=function(a,b){a.N(a.data&&b.data?1:0)};g.prototype.Rx=function(a){this.first.get(a);var b=l();this.second.get(b);a.Ib()&&b.Ib()&&(a.data||b.data?a.N(1):a.N(0));--k};g.prototype.Cx=function(a){this.first.get(a);a.data?this.second.get(a):this.gm.get(a)};g.prototype.Ex=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data===b.data?1:0);
--k};g.prototype.Px=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data!==b.data?1:0);--k};g.prototype.Lx=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data<b.data?1:0);--k};g.prototype.Mx=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data<=b.data?1:0);--k};g.prototype.Hx=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data>b.data?1:0);--k};g.prototype.Ix=function(a){this.first.get(a);var b=l();this.second.get(b);a.N(a.data>=
b.data?1:0);--k};g.prototype.Fx=function(a){var b=this.If.Mf();ia(b)?a.u(b):a.ca(b)};gc=g;q.prototype.Mg=function(){return this.type===jc.jg};q.prototype.Ib=function(){return this.type===jc.kg||this.type===jc.jg};q.prototype.Pg=function(){return this.type===jc.String};q.prototype.Xg=function(){this.Mg()||(this.Pg()&&(this.data=parseFloat(this.data)),this.type=jc.jg)};q.prototype.N=function(a){this.type=jc.kg;this.data=Math.floor(a)};q.prototype.u=function(a){this.type=jc.jg;this.data=a};q.prototype.ca=
function(a){this.type=jc.String;this.data=a};q.prototype.uh=function(a){ia(a)?(this.type=jc.jg,this.data=a):ja(a)?(this.type=jc.String,this.data=a.toString()):(this.type=jc.kg,this.data=0)};fc=q;jc={kg:0,jg:1,String:2}})();function D(g){this.b=g;this.Ac=[]}
D.prototype.Eb=function(){var g={},l,b,q,e,k,a,d,t;g.waits=[];var r=g.waits,f;l=0;for(b=this.Ac.length;l<b;l++){a=this.Ac[l];f={t:a.time,st:a.lt,s:a.Yo,ev:a.yg.fa,sm:[],sols:{}};a.yg.$c[a.pc]&&(f.act=a.yg.$c[a.pc].fa);q=0;for(e=a.ea.length;q<e;q++)f.sm.push(a.ea[q].fa);for(k in a.mc)if(a.mc.hasOwnProperty(k)){d=this.b.D[parseInt(k,10)];t={sa:a.mc[k].Ml,insts:[]};q=0;for(e=a.mc[k].se.length;q<e;q++)t.insts.push(a.mc[k].se[q].uid);f.sols[d.fa.toString()]=t}r.push(f)}return g};
D.prototype.Tb=function(g){g=g.waits;var l,b,q,e,k,a,d,t,r,f,m;y(this.Ac);l=0;for(b=g.length;l<b;l++)if(a=g[l],t=this.b.rq[a.ev.toString()]){r=-1;q=0;for(e=t.$c.length;q<e;q++)if(t.$c[q].fa===a.act){r=q;break}if(-1!==r){d={mc:{},ea:[],jn:!1};d.time=a.t;d.lt=a.st||"";d.Yo=!!a.s;d.yg=t;d.pc=r;q=0;for(e=a.sm.length;q<e;q++)(t=this.b.Nk(a.sm[q]))&&d.ea.push(t);for(k in a.sols)if(a.sols.hasOwnProperty(k)&&(t=this.b.Nk(parseInt(k,10)))){r=a.sols[k];f={Ml:r.sa,se:[]};q=0;for(e=r.insts.length;q<e;q++)(m=
this.b.Mk(r.insts[q]))&&f.se.push(m);d.mc[t.index.toString()]=f}this.Ac.push(d)}}};
(function(){function g(){}function l(){}function b(){}var q=D.prototype;g.prototype.mu=function(){return!0};g.prototype.Qp=function(){return!0};g.prototype.Pp=function(){return!0};g.prototype.Zt=function(a,b,d){return kc(a,b,d)};g.prototype.jw=function(){var a=this.b.Oa(),b=a.Xa,d=a.Wn(),a=this.b.Jo();if(d)for(d=0;!a.Fa;d++)this.b.sf(b.ea),a.index=d,b.Ae()||(a.Fa=!0),this.b.Cd(b.ea);else for(d=0;!a.Fa;d++)a.index=d,b.Ae()||(a.Fa=!0);this.b.Go();return!1};g.prototype.pu=function(a,b,d){var f=this.b.Oa(),
e=f.Xa,f=f.Wn();a=this.b.Jo(a);if(d<b)if(f)for(;b>=d&&!a.Fa;--b)this.b.sf(e.ea),a.index=b,e.Ae(),this.b.Cd(e.ea);else for(;b>=d&&!a.Fa;--b)a.index=b,e.Ae();else if(f)for(;b<=d&&!a.Fa;++b)this.b.sf(e.ea),a.index=b,e.Ae(),this.b.Cd(e.ea);else for(;b<=d&&!a.Fa;++b)a.index=b,e.Ae();this.b.Go();return!1};var e=[],k=-1;g.prototype.qu=function(a){var b=a.W();k++;e.length===k&&e.push([]);var d=e[k];Ca(d,b.rc());var f=this.b.Oa(),g=f.Xa,m=f.Wn(),f=this.b.Jo(),l,q,t,r,F,z,G=a.Qb;if(m)for(m=0,l=d.length;m<l&&
!f.Fa;m++){this.b.sf(g.ea);r=d[m];b=a.W();b.Z=!1;y(b.d);b.d[0]=r;if(G)for(q=0,t=r.siblings.length;q<t;q++)F=r.siblings[q],z=F.type.W(),z.Z=!1,y(z.d),z.d[0]=F;f.index=m;g.Ae();this.b.Cd(g.ea)}else for(b.Z=!1,y(b.d),m=0,l=d.length;m<l&&!f.Fa;m++){r=d[m];b.d[0]=r;if(G)for(q=0,t=r.siblings.length;q<t;q++)F=r.siblings[q],z=F.type.W(),z.Z=!1,y(z.d),z.d[0]=F;f.index=m;g.Ae()}y(d);this.b.Go();k--;return!1};g.prototype.tv=function(a,b,d,f){var g,m,l,q;if(a){k++;e.length===k&&e.push([]);var t=e[k],r=a.W();
Ca(t,r.rc());r.Z&&y(r.O);var F=this.b.Jk();l=g=0;for(m=t.length;g<m;g++)q=t[g],t[l]=q,b=F.X[1].get(g),f=F.X[3].get(g),kc(b,d,f)?l++:r.O.push(q);Ba(t,l);r.Z=!1;Ca(r.d,t);y(t);k--;a.ad();return!!r.d.length}};g.prototype.uv=function(a,b){if(!a)return!1;var d=a.W(),f=d.rc();b=ra(b);if(0>b||b>=f.length)return!1;d.jh(f[b]);a.ad();return!0};g.prototype.eu=function(a,b,d){return kc(a.Mf(),b,d)};g.prototype.Au=function(a){return(a=this.b.ki[a.toLowerCase()])&&a.Eg};g.prototype.Gu=function(){return"undefined"!==
typeof cr_is_preview};g.prototype.sv=function(a){if(!a||!a.d.length)return!1;a.W().Z=!0;a.ad();return!0};g.prototype.Cu=function(){return this.b.Qf};g.prototype.Dp=function(){var a=this.b.Oa();return a.nn?!1:!a.Vf};g.prototype.Rp=function(){return!0};g.prototype.Uu=function(){return!0};g.prototype.lu=function(){return!!this.b.q};g.prototype.Bm=function(){return!0};g.prototype.Wp=function(){return!0};g.prototype.cv=function(){return!0};g.prototype.Lj=function(){return!0};var a=null,d="",t="";g.prototype.Dv=
function(c,b,f){a&&b===d&&f===t||(a=new RegExp(b,f),d=b,t=f);a.lastIndex=0;return a.test(c)};var r=[];g.prototype.vv=function(a,b,d){if(!a)return!1;var f=a.W(),e=f.rc(),k=this.b.Oa().Xa.Ic,g=this.b.Jk(),m,l;f.Z?(Ca(r,e),y(f.O),f.Z=!1,y(f.d)):k?(Ca(r,f.O),y(f.O)):(Ca(r,e),y(f.d));e=0;for(k=r.length;e<k;++e)m=r[e],m.La(),(l=Ua(m.Zb(b,d),g.Hg))?f.d.push(m):f.O.push(m);a.ad();return Ua(!!f.d.length,g.Hg)};g.prototype.vm=function(a,b,d){return Pa(A(a),A(d))<=A(b)};g.prototype.zu=function(a,b){return Ra(A(a),
A(b))};g.prototype.xu=function(a,b,d){a=Na(a);b=Na(b);d=Na(d);return Ra(d,b)?Ra(a,b)&&!Ra(a,d):!(!Ra(a,b)&&Ra(a,d))};q.c=new g;l.prototype.su=function(a){this.b.Bi||this.b.Yh||(this.b.Yh=a)};l.prototype.iu=function(a,b,d,f){if(b&&a&&(b=this.b.bn(a,b,d,f))){this.b.Uc++;var e;this.b.trigger(Object.getPrototypeOf(a.ba).c.de,b);if(b.Qb)for(d=0,f=b.siblings.length;d<f;d++)e=b.siblings[d],this.b.trigger(Object.getPrototypeOf(e.type.ba).c.de,e);this.b.Uc--;a=a.W();a.Z=!1;y(a.d);a.d[0]=b;if(b.Qb)for(d=0,
f=b.siblings.length;d<f;d++)e=b.siblings[d],a=e.type.W(),a.Z=!1,y(a.d),a.d[0]=e}};l.prototype.Hv=function(a){this.b.ka.Nl(a)};l.prototype.Iv=function(a){this.b.ka.Ol(a)};l.prototype.Gv=function(a,b){this.b.ka.Nl(a);this.b.ka.Ol(b)};l.prototype.Xv=function(a,b){0===a.uj?ia(b)?a.Ee(b):a.Ee(parseFloat(b)):1===a.uj&&a.Ee(b.toString())};l.prototype.Tt=function(a,b){0===a.uj?ia(b)?a.Ee(a.Mf()+b):a.Ee(a.Mf()+parseFloat(b)):1===a.uj&&a.Ee(a.Mf()+b.toString())};l.prototype.fw=function(a,b){0===a.uj&&(ia(b)?
a.Ee(a.Mf()-b):a.Ee(a.Mf()-parseFloat(b)))};l.prototype.Wv=function(a){0>a&&(a=0);this.b.gg=a};var f=[],m=[];l.prototype.iw=function(a){if(!(0>a)){var b,d,e,k=this.b.Oa(),g;f.length?g=f.pop():g={mc:{},ea:[]};g.jn=!1;g.time=this.b.Rb.ga+a;g.lt="";g.Yo=!1;g.yg=k.Xa;g.pc=k.pc+1;a=0;for(b=this.b.D.length;a<b;a++)e=this.b.D[a],d=e.W(),d.Z&&-1===k.Xa.ea.indexOf(e)||(g.ea.push(e),e=void 0,m.length?e=m.pop():e={se:[]},e.Ml=!1,e.Ml=d.Z,Ca(e.se,d.d),g.mc[a.toString()]=e);this.Ac.push(g);return!0}};l.prototype.Qv=
function(a,b){a&&!!b!==!!a.Yc&&(a.Yc=!!b,this.b.qa=!0)};q.e=new l;b.prototype["int"]=function(a,b){ja(b)?(a.N(parseInt(b,10)),isNaN(a.data)&&(a.data=0)):a.N(b)};b.prototype["float"]=function(a,b){ja(b)?(a.u(parseFloat(b)),isNaN(a.data)&&(a.data=0)):a.u(b)};b.prototype.fz=function(a,b){a.N(b.length||0)};b.prototype.random=function(a,b,d){void 0===d?a.u(Math.random()*b):a.u(Math.random()*(d-b)+b)};b.prototype.sqrt=function(a,b){a.u(Math.sqrt(b))};b.prototype.abs=function(a,b){a.u(Math.abs(b))};b.prototype.round=
function(a,b){a.N(Math.round(b))};b.prototype.floor=function(a,b){a.N(Math.floor(b))};b.prototype.ceil=function(a,b){a.N(Math.ceil(b))};b.prototype.sin=function(a,b){a.u(Math.sin(A(b)))};b.prototype.cos=function(a,b){a.u(Math.cos(A(b)))};b.prototype.tan=function(a,b){a.u(Math.tan(A(b)))};b.prototype.asin=function(a,b){a.u(Ha(Math.asin(b)))};b.prototype.acos=function(a,b){a.u(Ha(Math.acos(b)))};b.prototype.atan=function(a,b){a.u(Ha(Math.atan(b)))};b.prototype.exp=function(a,b){a.u(Math.exp(b))};b.prototype.log10=
function(a,b){a.u(Math.log(b)/Math.LN10)};b.prototype.max=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var d,f,e;d=2;for(f=arguments.length;d<f;d++)e=arguments[d],"number"===typeof e&&b<e&&(b=e);a.u(b)};b.prototype.min=function(a){var b=arguments[1];"number"!==typeof b&&(b=0);var d,f,e;d=2;for(f=arguments.length;d<f;d++)e=arguments[d],"number"===typeof e&&b>e&&(b=e);a.u(b)};b.prototype.oe=function(a){a.u(this.b.oe)};b.prototype.gg=function(a){a.u(this.b.gg)};b.prototype.time=function(a){a.u(this.b.Rb.ga)};
b.prototype.Fh=function(a){a.N(this.b.Fh)};b.prototype.ll=function(a){a.N(this.b.ll)};b.prototype.un=function(a){a.N(this.b.un)};b.prototype.iz=function(a,b){var d,f;if(this.b.Ri.length)if(b){for(f=this.b.Si;0<=f;--f)if(d=this.b.Ri[f],d.name===b){a.N(d.index);return}a.N(0)}else d=this.b.Uq(),a.N(d?d.index:-1);else a.N(0)};b.prototype.Nw=function(a,b,d,f,e){a.u(Ta(b,d,f,e))};b.prototype.k=function(a,b,d,f,e){a.u(Ha(Oa(b,d,f,e)))};b.prototype.pz=function(a){a.ca("\n")};b.prototype.FA=function(a,b){a.ca(ja(b)?
b.toUpperCase():"")};b.prototype.ez=function(a){a.N(this.b.ka.width)};b.prototype.dz=function(a){a.N(this.b.ka.height)};b.prototype.left=function(a,b,d){a.ca(ja(b)?b.substr(0,d):"")};b.prototype.right=function(a,b,d){a.ca(ja(b)?b.substr(b.length-d):"")};b.prototype.mz=function(a,b,d,f){a.ca(ja(b)?b.substr(d,f):"")};b.prototype.BA=function(a,b,d,f){ja(b)&&ja(f)?(b=b.split(f),d=ra(d),0>d||d>=b.length?a.ca(""):a.ca(b[d])):a.ca("")};b.prototype.CA=function(a,b,d){ja(b)&&b.length?a.N(b.split(d).length):
a.N(0)};b.prototype.replace=function(a,b,d,f){ja(b)&&ja(d)&&ja(f)?a.ca(b.replace(new RegExp(eb(d),"gi"),f)):a.ca(ja(b)?b:"")};b.prototype.trim=function(a,b){a.ca(ja(b)?b.trim():"")};b.prototype.Hz=function(a){a.u(qa)};b.prototype.yq=function(a){var b=ra(Math.random()*(arguments.length-1));a.uh(arguments[b+1])};b.prototype.MA=function(a,b,d){var f=0>b?"-":"";0>b&&(b=-b);d=d-b.toString().length;for(var e=0;e<d;e++)f+="0";a.ca(f+b.toString())};b.prototype.an=function(a){a.u(this.b.an/1E3)};b.prototype.dl=
function(a){a.u(this.b.dl)};b.prototype.Cw=function(a,b,d,f){b=this.b.Wq(b);a.u(b?b.Mb(d,f,!0):0)};b.prototype.Dw=function(a,b,d,f){b=this.b.Wq(b);a.u(b?b.Mb(d,f,!1):0)};b.prototype.Ny=function(a){a.u(Infinity)};b.prototype.Fz=function(a){a.N(this.b.mb)};b.prototype.Ez=function(a){a.N(this.b.lb)};q.j=new b;q.bA=function(){var a,b,d,e,k,g,l=this.b.Oa();a=0;for(d=this.Ac.length;a<d;a++){e=this.Ac[a];if(-1===e.time){if(!e.Yo)continue}else if(e.time>this.b.Rb.ga)continue;l.Xa=e.yg;l.pc=e.pc;l.hb=0;for(b in e.mc)e.mc.hasOwnProperty(b)&&
(k=this.b.D[parseInt(b,10)].W(),g=e.mc[b],k.Z=g.Ml,Ca(k.d,g.se),k=g,y(k.se),m.push(k));e.yg.$z();this.b.Zm(e.ea);e.jn=!0}b=a=0;for(d=this.Ac.length;a<d;a++)e=this.Ac[a],this.Ac[b]=e,e.jn?(Wa(e.mc),y(e.ea),f.push(e)):b++;Ba(this.Ac,b)}})();
(function(){rb=function(g,b){var q=g[1],e=g[3],k=g[4],a=g[5],d=g[6],t=g[7],r=g[8];b.c||(b.c={});b.e||(b.e={});b.j||(b.j={});var f=b.c,m=b.e,c=b.j;e&&(f.Dj=function(a,b){return kc(this.x,a,b)},f.Cp=function(a,b){return kc(this.y,a,b)},f.SA=function(){var a=this.n;this.La();var b=this.Va;return!(b.right<a.xa||b.bottom<a.ya||b.left>a.Ca||b.top>a.Ba)},f.Gp=function(){this.La();var a=this.Va,b=this.b.ka;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},f.$A=function(a,b,c){var d=this.W(),f=
d.rc();if(!f.length)return!1;var e=f[0],k=e,g=Ta(e.x,e.y,b,c),m,l,q;m=1;for(l=f.length;m<l;m++)if(e=f[m],q=Ta(e.x,e.y,b,c),0===a&&q<g||1===a&&q>g)g=q,k=e;d.jh(k);return!0},m.mg=function(a){this.x!==a&&(this.x=a,this.Ea())},m.Qj=function(a){this.y!==a&&(this.y=a,this.Ea())},m.bq=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.Ea()},m.cq=function(a,b){var c=a.ny(this);if(c){var d;c.Lf?(d=c.Lf(b,!0),c=c.Lf(b,!1)):(d=c.x,c=c.y);if(this.x!==d||this.y!==c)this.x=d,this.y=c,this.Ea()}},m.WA=
function(a){0!==a&&(this.x+=Math.cos(this.k)*a,this.y+=Math.sin(this.k)*a,this.Ea())},m.VA=function(a,b){0!==b&&(this.x+=Math.cos(A(a))*b,this.y+=Math.sin(A(a))*b,this.Ea())},c.Sh=function(a){a.u(this.x)},c.Rj=function(a){a.u(this.y)},c.oe=function(a){a.u(this.b.Bg(this))});k&&(f.OA=function(a,b){return kc(this.width,a,b)},f.au=function(a,b){return kc(this.height,a,b)},m.Pj=function(a){this.width!==a&&(this.width=a,this.Ea())},m.Nj=function(a){this.height!==a&&(this.height=a,this.Ea())},m.Ph=function(a,
b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.Ea()},c.Rh=function(a){a.u(this.width)},c.Ej=function(a){a.u(this.height)},c.wp=function(a){this.La();a.u(this.Va.left)},c.yp=function(a){this.La();a.u(this.Va.top)},c.xp=function(a){this.La();a.u(this.Va.right)},c.vp=function(a){this.La();a.u(this.Va.bottom)});a&&(f.vm=function(a,b){return Pa(this.k,A(b))<=A(a)},f.zu=function(a){return Ra(this.k,A(a))},f.xu=function(a,b){var c=Na(a),d=Na(b),f=La(this.k);return Ra(d,c)?Ra(f,c)&&
!Ra(f,d):!(!Ra(f,c)&&Ra(f,d))},m.$p=function(a){a=A(Ja(a));isNaN(a)||this.k===a||(this.k=a,this.Ea())},m.eB=function(a){0===a||isNaN(a)||(this.k+=A(a),this.k=La(this.k),this.Ea())},m.fB=function(a){0===a||isNaN(a)||(this.k-=A(a),this.k=La(this.k),this.Ea())},m.gB=function(a,b){var c=Qa(this.k,A(b),A(a));isNaN(c)||this.k===c||(this.k=c,this.Ea())},m.hB=function(a,b,c){a=Qa(this.k,Math.atan2(c-this.y,b-this.x),A(a));isNaN(a)||this.k===a||(this.k=a,this.Ea())},m.pB=function(a,b){var c=Math.atan2(b-this.y,
a-this.x);isNaN(c)||this.k===c||(this.k=c,this.Ea())},c.Ut=function(a){a.u(Ma(this.k))});q||(f.Cj=function(a,b,c){return kc(this.zb[a],b,c)},f.xm=function(a){return this.zb[a]},f.aB=function(a,b){var c=this.W(),d=c.rc();if(!d.length)return!1;var f=d[0],e=f,k=f.zb[b],g,m,l;g=1;for(m=d.length;g<m;g++)if(f=d[g],l=f.zb[b],0===a&&l<k||1===a&&l>k)k=l,e=f;c.jh(e);return!0},f.Yp=function(a){var b,c,d,f,e;if(this.b.Jk().Hg){e=this.W();if(e.Z)for(e.Z=!1,y(e.d),y(e.O),d=this.d,b=0,c=d.length;b<c;b++)f=d[b],
f.uid===a?e.O.push(f):e.d.push(f);else{d=b=0;for(c=e.d.length;b<c;b++)f=e.d[b],e.d[d]=f,f.uid===a?e.O.push(f):d++;Ba(e.d,d)}this.ad();return!!e.d.length}f=this.b.Mk(a);if(!f)return!1;e=this.W();if(!e.Z&&-1===e.d.indexOf(f))return!1;if(this.H)for(a=f.type.Na,b=0,c=a.length;b<c;b++){if(a[b]===this)return e.jh(f),this.ad(),!0}else if(f.type===this)return e.jh(f),this.ad(),!0;return!1},f.de=function(){return!0},f.Lp=function(){return!0},m.Oj=function(a,b){var c=this.zb;ia(c[a])?c[a]=ia(b)?b:parseFloat(b):
ja(c[a])&&(c[a]=ja(b)?b:b.toString())},m.um=function(a,b){var c=this.zb;ia(c[a])?c[a]=ia(b)?c[a]+b:c[a]+parseFloat(b):ja(c[a])&&(c[a]=ja(b)?c[a]+b:c[a]+b.toString())},m.Lm=function(a,b){var c=this.zb;ia(c[a])&&(c[a]=ia(b)?c[a]-b:c[a]-parseFloat(b))},m.Gm=function(a,b){this.zb[a]=b?1:0},m.vB=function(a){this.zb[a]=1-this.zb[a]},m.Nh=function(){this.b.Ne(this)},m.Nu||(m.Nu=function(a){var b,c;try{b=JSON.parse(a)}catch(d){return}this.b.bl(this,b,!0);this.ee&&this.ee();if(this.U)for(a=0,b=this.U.length;a<
b;++a)c=this.U[a],c.ee&&c.ee()}),c.hu=function(a){var b=a.ag.d.length,c,d,f;c=0;for(d=this.b.xd.length;c<d;c++)f=this.b.xd[c],a.ag.H?0<=f.type.Na.indexOf(a.ag)&&b++:f.type===a.ag&&b++;a.N(b)},c.wv=function(a){a.N(a.ag.W().rc().length)},c.dq=function(a){a.N(this.uid)},c.PA=function(a){a.N(this.ii())},c.wm||(c.wm=function(a){a.ca(JSON.stringify(this.b.Uo(this,!0)))}));d&&(f.Hp=function(){return this.visible},m.Qh=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.qa=!0)},f.Bp=function(a,b){return kc(kb(100*
this.opacity),a,b)},m.aq=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.qa=!0)},c.Opacity=function(a){a.u(kb(100*this.opacity))});t&&(f.RA=function(a){return a?this.n===a:!1},f.bB=function(a){var b=this.W(),c=b.rc();if(!c.length)return!1;var d=c[0],f=d,e,k;e=1;for(k=c.length;e<k;e++)if(d=c[e],0===a){if(d.n.index>f.n.index||d.n.index===f.n.index&&d.Qd()>f.Qd())f=d}else if(d.n.index<f.n.index||d.n.index===f.n.index&&d.Qd()<f.Qd())f=d;b.jh(f);return!0},m.Qu=function(){var a=
this.n,b=a.d;b.length&&b[b.length-1]===this||(a.oh(this,!1),a.Vh(this,!1),this.b.qa=!0)},m.Ou=function(){var a=this.n,b=a.d;b.length&&b[0]===this||(a.oh(this,!1),a.Pz(this),this.b.qa=!0)},m.Pu=function(a){a&&a!=this.n&&(this.n.oh(this,!0),this.n=a,a.Vh(this,!0),this.b.qa=!0)},m.fq=function(a,b){var c=0===a;if(b){var d=b.iy(this);d&&d.uid!==this.uid&&(this.n.index!==d.n.index&&(this.n.oh(this,!0),this.n=d.n,d.n.Vh(this,!0)),this.n.oz(this,d,c),this.b.qa=!0)}},c.Lu=function(a){a.N(this.n.ps)},c.UA=
function(a){a.ca(this.n.name)},c.yB=function(a){a.N(this.Qd())});r&&(m.Ov=function(a,b){if(this.b.q){var c=this.type.An(b);if(!(0>c)){var d=1===a;this.Pe[c]!==d&&(this.Pe[c]=d,this.Gd(),this.b.qa=!0)}}},m.Hm=function(a,b,c){if(this.b.q){var d=this.type.An(a);0>d||(a=this.type.V[d],d=this.Za[d],b=Math.floor(b),0>b||b>=d.length||(1===this.b.q.ty(a.pb,b)&&(c/=100),d[b]!==c&&(d[b]=c,a.Ua&&(this.b.qa=!0))))}})};Mb=function(){this.Wm=this.ak=!0;this.type.Vj=!0;this.b.qa=!0;var g,b,q=this.Sm;g=0;for(b=q.length;g<
b;++g)q[g](this);this.n.Zc&&this.La()};Nb=function(g){g&&this.Sm.push(g)};Pb=function(){if(this.ak){var g=this.Va,b=this.kc;g.set(this.x,this.y,this.x+this.width,this.y+this.height);g.offset(-this.fc*this.width,-this.gc*this.height);this.k?(g.offset(-this.x,-this.y),b.gt(g,this.k),b.offset(this.x,this.y),b.tq(g)):b.wh(g);g.normalize();this.ak=!1;this.It()}};var g=new wa(0,0,0,0);Qb=function(){if(this.n.Zc){var l=this.n.Wb,b=this.Va;g.set(l.nc(b.left),l.oc(b.top),l.nc(b.right),l.oc(b.bottom));this.wc.ci(g)||
(this.wc.right<this.wc.left?l.update(this,null,g):l.update(this,this.wc,g),this.wc.ug(g),this.n.Ed=!0)}};Vb=function(){if(this.Wm&&this.Af){this.La();var l=this.type.ik,b=this.Va;g.set(l.nc(b.left),l.oc(b.top),l.nc(b.right),l.oc(b.bottom));this.Xe.ci(g)||(this.Xe.right<this.Xe.left?l.update(this,null,g):l.update(this,this.Xe,g),this.Xe.ug(g),this.Wm=!1)}};Ob=function(g,b){return this.Va.Zb(g,b)&&this.kc.Zb(g,b)?this.Gh?this.TB(g,b):this.ta&&!this.ta.Lg()?(this.ta.rg(this.width,this.height,this.k),
this.ta.Zb(g-this.x,b-this.y)):!0:!1};Ib=function(){this.type.km();return this.Pf};Wb=function(){this.n.pp();return this.Id};Xb=function(){y(this.ra);var g,b,q,e=!0;g=0;for(b=this.Pe.length;g<b;g++)this.Pe[g]&&(q=this.type.V[g],this.ra.push(q),q.ld||(e=!1));this.Lt=!!this.ra.length;this.Fe=e};Jb=function(){return"Inst"+this.Os};ub=function(g){if(g&&g.Qb&&g.type!=this){var b,q,e;b=0;for(q=g.siblings.length;b<q;b++)if(e=g.siblings[b],e.type==this)return e}g=this.W().rc();return g.length?g[0]:null};
vb=function(g){var b=this.W().rc();return b.length?b[g.ii()%b.length]:null};tb=function(){if(this.zh&&!this.H){var g,b;g=0;for(b=this.d.length;g<b;g++)this.d[g].Pf=g;var q=g,e=this.b.xd;g=0;for(b=e.length;g<b;++g)e[g].type===this&&(e[g].Pf=q++);this.zh=!1}};Gb=function(g){if(g<this.d.length)return this.d[g];g-=this.d.length;var b=this.b.xd,q,e;q=0;for(e=b.length;q<e;++q)if(b[q].type===this){if(0===g)return b[q];--g}return null};wb=function(){return this.He[this.Md]};xb=function(){this.Md++;this.Md===
this.He.length?this.He.push(new sb(this)):(this.He[this.Md].Z=!0,y(this.He[this.Md].O))};yb=function(){this.Md++;this.Md===this.He.length&&this.He.push(new sb(this));var g=this.He[this.Md],b=this.He[this.Md-1];b.Z?g.Z=!0:(g.Z=!1,Ca(g.d,b.d));y(g.O)};zb=function(){this.Md--};Cb=function(g){var b,q,e,k,a,d=0;if(!this.H)for(b=0,q=this.Na.length;b<q;b++)for(a=this.Na[b],e=0,k=a.Wa.length;e<k;e++){if(g===a.Wa[e].name)return this.ua.lastBehIndex=d,a.Wa[e];d++}b=0;for(q=this.Wa.length;b<q;b++){if(g===this.Wa[b].name)return this.ua.lastBehIndex=
d,this.Wa[b];d++}return null};Db=function(g){return this.Ik(g)?this.ua.lastBehIndex:-1};Eb=function(g){var b,q;b=0;for(q=this.V.length;b<q;b++)if(this.V[b].name===g)return b;return-1};Fb=function(){if(this.Qb&&!this.H){var g,b,q,e,k,a,d;this.km();a=this.W();var t=a.Z,r=(g=this.b.Oa())&&g.Xa&&g.Xa.Ic;g=0;for(b=this.Dc.length;g<b;g++)if(k=this.Dc[g],k!==this&&(k.km(),d=k.W(),d.Z=t,!t)){y(d.d);q=0;for(e=a.d.length;q<e;++q)d.d[q]=k.Bn(a.d[q].Pf);if(r)for(y(d.O),q=0,e=a.O.length;q<e;++q)d.O[q]=k.Bn(a.O[q].Pf)}}};
Hb=function(){return"Type"+this.fa};kc=function(g,b,q){if("undefined"===typeof g||"undefined"===typeof q)return!1;switch(b){case 0:return g===q;case 1:return g!==q;case 2:return g<q;case 3:return g<=q;case 4:return g>q;case 5:return g>=q;default:return!1}}})();
var sc={tint:{src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nuniform lowp float red;\nuniform lowp float green;\nuniform lowp float blue;\nvoid main(void)\n{\nlowp vec4 front = texture2D(samplerFront, vTex);\ngl_FragColor = front * vec4(red, green, blue, 1.0);\n}",wk:0,xk:0,cn:!1,ld:!0,Pm:!1,X:[["red",0,1],["green",0,1],["blue",0,1]]}};function vc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var q=!1,e=null,k=null,a="",d=vc.prototype;d.R=function(a){this.ba=a;this.b=a.b};d.R.prototype.I=function(){};d.K=function(b){this.type=b;this.b=b.b;this.Nc=this.Sd="";this.P=0;this.timeout=-1;if(q=this.b.Ig)e=require("path"),k=require("fs"),a=e.dirname((window.process||nw.process).execPath)+"\\"};var t=d.K.prototype,r=null;window.C2_AJAX_DCSide=function(a,b,d){r&&("success"===a?(r.Nc=b,r.Sd=d,r.b.trigger(vc.prototype.c.Fj,r),r.b.trigger(vc.prototype.c.Oh,
r)):"error"===a?(r.Nc=b,r.b.trigger(vc.prototype.c.Gj,r),r.b.trigger(vc.prototype.c.Jj,r)):"progress"===a&&(r.P=d,r.Nc=b,r.b.trigger(vc.prototype.c.Vp,r)))};t.I=function(){r=this};t.Eb=function(){return{lastData:this.Sd}};t.Tb=function(a){this.Sd=a.lastData;this.Nc="";this.P=0};var f={},m="";t.Uw=function(b,d){if(this.b.Hb)AppMobi.webview.execute('C2_AJAX_WebSide("'+b+'", "'+d+'", "GET", null);');else{var e=this,g=null,l=function(){e.Nc=b;e.b.trigger(vc.prototype.c.Gj,e);e.b.trigger(vc.prototype.c.Jj,
e)},p=function(){if(q){var f=a+d;k.existsSync(f)?k.readFile(f,{encoding:"utf8"},function(a,d){a?l():(e.Nc=b,e.Sd=d.replace(/\r\n/g,"\n"),e.b.trigger(vc.prototype.c.Fj,e),e.b.trigger(vc.prototype.c.Oh,e))}):l()}else l()},t=function(a){a.lengthComputable&&(e.P=a.loaded/a.total,e.Nc=b,e.b.trigger(vc.prototype.c.Vp,e))};try{this.b.lf?g=new ActiveXObject("Microsoft.XMLHTTP"):g=new XMLHttpRequest;g.onreadystatechange=function(){4===g.readyState&&(e.Nc=b,g.responseText?e.Sd=g.responseText.replace(/\r\n/g,
"\n"):e.Sd="",400<=g.status?(e.b.trigger(vc.prototype.c.Gj,e),e.b.trigger(vc.prototype.c.Jj,e)):q&&!e.Sd.length||!q&&0===g.status&&!e.Sd.length||(e.b.trigger(vc.prototype.c.Fj,e),e.b.trigger(vc.prototype.c.Oh,e)))};this.b.lf||(g.onerror=p,g.ontimeout=p,g.onabort=p,g.onprogress=t);g.open("GET",d);!this.b.lf&&0<=this.timeout&&"undefined"!==typeof g.timeout&&(g.timeout=this.timeout);try{g.responseType="text"}catch(r){}if(g.setRequestHeader){for(var B in f)if(f.hasOwnProperty(B))try{g.setRequestHeader(B,
f[B])}catch(Q){}f={}}if(m&&g.overrideMimeType){try{g.overrideMimeType(m)}catch(F){}m=""}g.send()}catch(z){p()}}};g.prototype.Oh=function(a){return lb(a,this.Nc)};g.prototype.Fj=function(){return!0};g.prototype.Jj=function(a){return lb(a,this.Nc)};g.prototype.Gj=function(){return!0};g.prototype.Vp=function(a){return lb(a,this.Nc)};d.c=new g;l.prototype.Ev=function(a,b){var d=this;this.b.xi&&!this.b.mr(b)?this.b.Lq(b,function(b){d.Nc=a;d.Sd=b.replace(/\r\n/g,"\n");d.b.trigger(vc.prototype.c.Fj,d);d.b.trigger(vc.prototype.c.Oh,
d)},function(){d.Nc=a;d.b.trigger(vc.prototype.c.Gj,d);d.b.trigger(vc.prototype.c.Jj,d)}):this.Uw(a,b)};d.e=new l;b.prototype.Ku=function(a){a.ca(this.Sd)};b.prototype.Av=function(a){a.u(this.P)};d.j=new b})();function wc(g){this.b=g}
(function(){function g(){return d.length?d.pop():[]}function l(a){var b,f;b=0;for(f=a.length;b<f;b++)Array.isArray(a[b])&&l(a[b]);y(a);d.push(a)}function b(){}function q(){}function e(){}var k=wc.prototype;k.R=function(a){this.ba=a;this.b=a.b};k.R.prototype.I=function(){};k.K=function(a){this.type=a;this.b=a.b};var a=k.K.prototype,d=[];Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});a.I=function(){this.za=this.C[0];this.Ia=this.C[1];this.Ya=this.C[2];
this.Kc||(this.Cc=g());var a=this.Cc;a.length=this.za;var b,d,e;for(b=0;b<this.za;b++)for(a[b]||(a[b]=g()),a[b].length=this.Ia,d=0;d<this.Ia;d++)for(a[b][d]||(a[b][d]=g()),a[b][d].length=this.Ya,e=0;e<this.Ya;e++)a[b][d][e]=0;this.Oq=[];this.Pq=[];this.Qq=[];this.re=-1};a.qf=function(){var a;for(a=0;a<this.za;a++)l(this.Cc[a]);y(this.Cc)};a.Lc=function(a,b,d){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);return isNaN(a)||0>a||a>this.za-1||isNaN(b)||0>b||b>this.Ia-1||isNaN(d)||0>d||d>this.Ya-1?0:
this.Cc[a][b][d]};a.set=function(a,b,d,e){a=Math.floor(a);b=Math.floor(b);d=Math.floor(d);isNaN(a)||0>a||a>this.za-1||isNaN(b)||0>b||b>this.Ia-1||isNaN(d)||0>d||d>this.Ya-1||(this.Cc[a][b][d]=e)};a.ey=function(){return JSON.stringify({c2array:!0,size:[this.za,this.Ia,this.Ya],data:this.Cc})};a.Eb=function(){return{size:[this.za,this.Ia,this.Ya],data:this.Cc}};a.Tb=function(a){var b=a.size;this.za=b[0];this.Ia=b[1];this.Ya=b[2];this.Cc=a.data};a.De=function(a,b,d){0>a&&(a=0);0>b&&(b=0);0>d&&(d=0);
if(this.za!==a||this.Ia!==b||this.Ya!==d){this.za=a;this.Ia=b;this.Ya=d;var e,c,h=this.Cc;h.length=a;for(a=0;a<this.za;a++)for(ha(h[a])&&(h[a]=g()),h[a].length=b,e=0;e<this.Ia;e++)for(ha(h[a][e])&&(h[a][e]=g()),h[a][e].length=d,c=0;c<this.Ya;c++)ha(h[a][e][c])&&(h[a][e][c]=0)}};a.Kw=function(){return 0<=this.re&&this.re<this.Oq.length?this.Oq[this.re]:0};a.nx=function(){return 0<=this.re&&this.re<this.Pq.length?this.Pq[this.re]:0};a.EB=function(){return 0<=this.re&&this.re<this.Qq.length?this.Qq[this.re]:
0};b.prototype.Dj=function(a,b,d){return kc(this.Lc(a,0,0),b,d)};b.prototype.fu=function(a,b,d,e){return kc(this.Lc(a,b,0),d,e)};a.Rm=function(a){this.b.sf(a.ea);a.Ae();this.b.Cd(a.ea)};b.prototype.ym=function(){return 0===this.za||0===this.Ia||0===this.Ya};b.prototype.cu=function(a,b,d){var e=0;switch(a){case 0:e=this.za;break;case 1:e=this.Ia;break;case 2:e=this.Ya}return kc(e,b,d)};k.c=new b;q.prototype.Ap=function(){var a,b,d;for(a=0;a<this.za;a++)for(b=0;b<this.Ia;b++)for(d=0;d<this.Ya;d++)this.Cc[a][b][d]=
0};q.prototype.Ph=function(a,b,d){this.De(a,b,d)};q.prototype.mg=function(a,b){this.set(a,0,0,b)};q.prototype.Yv=function(a,b,d){this.set(a,b,0,d)};q.prototype.Bv=function(a,b,d){var e=0,c=0,h=0,k=this.Cc;switch(d){case 0:0===a?(e=k.length,k.push(g())):(e=0,k.unshift(g()));for(k[e].length=this.Ia;c<this.Ia;c++)for(k[e][c]=g(),k[e][c].length=this.Ya,h=0;h<this.Ya;h++)k[e][c][h]=b;this.za++;break;case 1:for(;e<this.za;e++)for(0===a?(c=k[e].length,k[e].push(g())):(c=0,k[e].unshift(g())),k[e][c].length=
this.Ya,h=0;h<this.Ya;h++)k[e][c][h]=b;this.Ia++;break;case 2:for(;e<this.za;e++)for(c=0;c<this.Ia;c++)0===a?k[e][c].push(b):k[e][c].unshift(b);this.Ya++}};q.prototype.yv=function(a,b){var d=0,e=0,c=this.Cc;switch(b){case 0:if(0===this.za)break;0===a?l(c.pop()):l(c.shift());this.za--;break;case 1:if(0===this.Ia)break;for(;d<this.za;d++)0===a?l(c[d].pop()):l(c[d].shift());this.Ia--;break;case 2:if(0===this.Ya)break;for(;d<this.za;d++)for(e=0;e<this.Ia;e++)0===a?c[d][e].pop():c[d][e].shift();this.Ya--}};
q.prototype.Zp=function(a){var b=0,d=0,e=this.Cc;if(0!==this.za&&0!==this.Ia&&0!==this.Ya)switch(a){case 0:e.reverse();break;case 1:for(;b<this.za;b++)e[b].reverse();break;case 2:for(;b<this.za;b++)for(d=0;d<this.Ia;d++)e[b][d].reverse()}};q.prototype.ju=function(a,b){var d=0,e=0;a=Math.floor(a);var c=this.Cc;if(!(0>a))switch(b){case 0:if(a>=this.za)break;l(c[a]);c.splice(a,1);this.za--;break;case 1:if(a>=this.Ia)break;for(;d<this.za;d++)l(c[d][a]),c[d].splice(a,1);this.Ia--;break;case 2:if(a>=this.Ya)break;
for(;d<this.za;d++)for(e=0;e<this.Ia;e++)c[d][e].splice(a,1);this.Ya--}};k.e=new q;e.prototype.Vt=function(a,b,d,e){a.uh(this.Lc(b,d||0,e||0))};e.prototype.Rh=function(a){a.N(this.za)};e.prototype.Ej=function(a){a.N(this.Ia)};e.prototype.Wt=function(a){a.uh(this.Lc(this.za-1,0,0))};e.prototype.wm=function(a){a.ca(this.ey())};k.j=new e})();function xc(g){this.b=g}
(function(){function g(a){-1===Ab.indexOf(a)&&Ab.push(a)}function l(a){var b=a.m,c;try{c=b.play()}catch(d){g(a);return}c?c.catch(function(){g(a)}):Sc&&!u.Vc&&g(a)}function b(){var a,b,c,d;Tc||Rb||!x||(q(),"running"===x.state&&(Tc=!0));var e=Ab.slice(0);y(Ab);if(!fa)for(a=0,b=e.length;a<b;++a)c=e[a],c.Fa||c.Fc||(d=c.m.play())&&d.catch(function(){g(c)})}function q(){"suspended"===x.state&&x.resume&&x.resume();if(x.createBuffer){var a=x.createBuffer(1,220,22050),b=x.createBufferSource();b.buffer=a;b.connect(x.destination);
r(b)}}function e(a){a=Math.pow(10,a/20);isFinite(a)||(a=0);0>a&&(a=0);1<a&&(a=1);return a}function k(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function a(a){a=a.toLowerCase();return ka.hasOwnProperty(a)&&ka[a].length?ka[a][0].Qc():x.destination}function d(){return x.createGain?x.createGain():x.createGainNode()}function t(a){return x.createDelay?x.createDelay(a):x.createDelayNode(a)}function r(a,b){a.start?a.start(b||0):a.noteOn(b||0)}function f(a,b,c,d){a.start?a.start(d||0,b):a.noteGrainOn(d||
0,b,c-b)}function m(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}function c(a,b,c,e,f,h){this.type="filter";this.fb=[a,b,c,e,f,h];this.ja=d();this.T=d();this.T.gain.value=h;this.S=d();this.S.gain.value=1-h;this.ib=x.createBiquadFilter();this.ib.type="number"===typeof this.ib.type?a:jd[a];this.ib.frequency.value=b;this.ib.detune&&(this.ib.detune.value=c);this.ib.Q.value=e;this.ib.gain.value=f;this.ja.connect(this.ib);this.ja.connect(this.S);this.ib.connect(this.T)}function h(a,b,c){this.type="delay";
this.fb=[a,b,c];this.ja=d();this.T=d();this.T.gain.value=c;this.S=d();this.S.gain.value=1-c;this.Ti=d();this.ed=t(a);this.ed.delayTime.value=a;this.rk=d();this.rk.gain.value=b;this.ja.connect(this.Ti);this.ja.connect(this.S);this.Ti.connect(this.T);this.Ti.connect(this.ed);this.ed.connect(this.rk);this.rk.connect(this.Ti)}function n(a,b,c,e){this.type="convolve";this.fb=[b,c,e];this.ja=d();this.T=d();this.T.gain.value=c;this.S=d();this.S.gain.value=1-c;this.Bf=x.createConvolver();a&&(this.Bf.normalize=
b,this.Bf.buffer=a);this.ja.connect(this.Bf);this.ja.connect(this.S);this.Bf.connect(this.T)}function v(a,b,c,e,f){this.type="flanger";this.fb=[a,b,c,e,f];this.ja=d();this.S=d();this.S.gain.value=1-f/2;this.T=d();this.T.gain.value=f/2;this.Ak=d();this.Ak.gain.value=e;this.ed=t(a+b);this.ed.delayTime.value=a;this.Lb=x.createOscillator();this.Lb.frequency.value=c;this.Jc=d();this.Jc.gain.value=b;this.ja.connect(this.ed);this.ja.connect(this.S);this.ed.connect(this.T);this.ed.connect(this.Ak);this.Ak.connect(this.ed);
this.Lb.connect(this.Jc);this.Jc.connect(this.ed.delayTime);r(this.Lb)}function w(a,b,c,e,f,h){this.type="phaser";this.fb=[a,b,c,e,f,h];this.ja=d();this.S=d();this.S.gain.value=1-h/2;this.T=d();this.T.gain.value=h/2;this.ib=x.createBiquadFilter();this.ib.type="number"===typeof this.ib.type?7:"allpass";this.ib.frequency.value=a;this.ib.detune&&(this.ib.detune.value=b);this.ib.Q.value=c;this.Lb=x.createOscillator();this.Lb.frequency.value=f;this.Jc=d();this.Jc.gain.value=e;this.ja.connect(this.ib);
this.ja.connect(this.S);this.ib.connect(this.T);this.Lb.connect(this.Jc);this.Jc.connect(this.ib.frequency);r(this.Lb)}function p(a){this.type="gain";this.fb=[a];this.pa=d();this.pa.gain.value=a}function H(a,b){this.type="tremolo";this.fb=[a,b];this.pa=d();this.pa.gain.value=1-b/2;this.Lb=x.createOscillator();this.Lb.frequency.value=a;this.Jc=d();this.Jc.gain.value=b/2;this.Lb.connect(this.Jc);this.Jc.connect(this.pa.gain);r(this.Lb)}function X(a,b){this.type="ringmod";this.fb=[a,b];this.ja=d();this.T=
d();this.T.gain.value=b;this.S=d();this.S.gain.value=1-b;this.bj=d();this.bj.gain.value=0;this.Lb=x.createOscillator();this.Lb.frequency.value=a;this.Lb.connect(this.bj.gain);r(this.Lb);this.ja.connect(this.bj);this.ja.connect(this.S);this.bj.connect(this.T)}function B(a,b,c,e,f){this.type="distortion";this.fb=[a,b,c,e,f];this.ja=d();this.El=d();this.Dl=d();this.iA(c,Math.pow(10,e/20));this.T=d();this.T.gain.value=f;this.S=d();this.S.gain.value=1-f;this.pm=x.createWaveShaper();this.pk=new Float32Array(65536);
this.by(a,b);this.pm.pk=this.pk;this.ja.connect(this.El);this.ja.connect(this.S);this.El.connect(this.pm);this.pm.connect(this.Dl);this.Dl.connect(this.T)}function Q(a,b,c,d,e){this.type="compressor";this.fb=[a,b,c,d,e];this.pa=x.createDynamicsCompressor();try{this.pa.threshold.value=a,this.pa.knee.value=b,this.pa.ratio.value=c,this.pa.attack.value=d,this.pa.release.value=e}catch(f){}}function F(a,b){this.type="analyser";this.fb=[a,b];this.pa=x.createAnalyser();this.pa.fftSize=a;this.pa.smoothingTimeConstant=
b;this.$x=new Float32Array(this.pa.frequencyBinCount);this.jt=new Uint8Array(a);this.Yi=0}function z(){this.wa=null;this.cl=0}function G(a,b){this.src=a;this.da=K;this.Rd=b;this.Uj=!1;var c=this;this.Yg=this.hh=null;this.ih=[];this.Pl=0;this.tp=this.yk=this.ot=this.zl=!1;1===K&&b&&!Bb&&(this.da=0,this.hh=d());this.he=this.ma=null;var e;switch(this.da){case 0:this.ma=new Audio;this.ma.crossOrigin="anonymous";this.ma.addEventListener("canplaythrough",function(){c.tp=!0});1===K&&x.createMediaElementSource&&
!/wiiu/i.test(navigator.userAgent)&&(this.ot=!0,this.ma.addEventListener("canplay",function(){!c.Yg&&c.ma&&(c.Yg=x.createMediaElementSource(c.ma),c.Yg.connect(c.hh))}));this.ma.autoplay=!1;this.ma.NB="auto";this.ma.src=a;break;case 1:u.xi?u.Kq(a,function(a){c.he=a;c.Cq()},function(){c.yk=!0}):(e=new XMLHttpRequest,e.open("GET",a,!0),e.responseType="arraybuffer",e.onload=function(){c.he=e.response;c.Cq()},e.onerror=function(){c.yk=!0},e.send());break;case 2:this.ma=!0;break;case 3:this.ma=!0}}function C(b,
c){var e=this;this.tag=c;this.Fa=this.Pd=!0;this.src=b.src;this.buffer=b;this.da=K;this.Rd=b.Rd;this.playbackRate=1;this.Gg=!0;this.Fc=this.Xc=!1;this.xc=0;this.yi=this.Ng=this.Td=!1;this.volume=1;this.Ao=function(a){if(!e.Fc&&!e.Xc){var b=this;b||(b=a.target);b===e.Tj&&(e.Gg=!0,e.Fa=!0,J=e.tag,u.trigger(xc.prototype.c.Ij,I))}};this.Tj=null;this.Kg=1===Ia&&!this.Rd||2===Ia;this.$g=1;this.startTime=this.Kg?u.Rb.ga:u.Le.ga;this.nb=this.xb=null;this.Ud=!1;this.Ub=null;this.Ds=this.Cs=this.Bs=this.As=
this.Fs=this.Es=0;this.m=null;var f=!1;1!==this.da||0!==this.buffer.da||this.buffer.ot||(this.da=0);switch(this.da){case 0:this.Rd?(this.m=b.ma,f=!b.Uj,b.Uj=!0):(this.m=new Audio,this.m.crossOrigin="anonymous",this.m.autoplay=!1,this.m.src=b.ma.src,f=!0);f&&this.m.addEventListener("ended",function(){J=e.tag;e.Fa=!0;u.trigger(xc.prototype.c.Ij,I)});break;case 1:this.xb=d();this.xb.connect(a(c));1===this.buffer.da?b.ma&&(this.m=x.createBufferSource(),this.m.buffer=b.ma,this.m.connect(this.xb)):(this.m=
this.buffer.ma,this.buffer.hh.connect(this.xb),this.buffer.Uj||(this.buffer.Uj=!0,this.buffer.ma.addEventListener("ended",function(){J=e.tag;e.Fa=!0;u.trigger(xc.prototype.c.Ij,I)})));break;case 2:this.m=new window.Media(R+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(e.Gg=!0,e.Fa=!0,J=e.tag,u.trigger(xc.prototype.c.Ij,I))});break;case 3:this.m=!0}}function P(a,b){var c=a.kf()?1:0,d=b.kf()?1:0;return c===d?0:c<d?1:-1}function Y(a,b){y(ta);if(a.length){var c,d,e;c=0;for(d=L.length;c<
d;c++)e=L[c],lb(a,e.tag)&&ta.push(e);b&&ta.sort(P)}else sa&&!sa.Of()&&(y(ta),ta[0]=sa)}function M(a,b){ka.hasOwnProperty(a)?ka[a].push(b):ka[a]=[b];var c,d,e,f,h=x.destination;if(ka.hasOwnProperty(a)&&(e=ka[a],e.length))for(h=e[0].Qc(),c=0,d=e.length;c<d;c++)f=e[c],c+1===d?f.bd(x.destination):f.bd(e[c+1].Qc());Y(a);c=0;for(d=ta.length;c<d;c++)ta[c].Vz(h);Ya&&Tb===a&&(Ya.disconnect(),Ya.connect(h))}function S(){}function O(){}function T(){}var V=xc.prototype;V.R=function(a){this.ba=a;this.b=a.b};V.R.prototype.I=
function(){};var u=null,I=null,J="",R="",K=0,x=null,N=[],L=[],sa=null,U=!1,Ia=0,fa=!1,ya=1,bb=0,cb=0,Rb=!1,Sb=1,Ub=1,Uc=10,Vc=1E4,Wc=1,Ya=null,Tb="",Sc=!1,Ab=[],Bb=!1,Tc=!1;document.addEventListener("pointerup",b,!0);document.addEventListener("touchend",b,!0);document.addEventListener("click",b,!0);document.addEventListener("keydown",b,!0);document.addEventListener("gamepadconnected",b,!0);var ka={},jd="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");c.prototype.bd=
function(a){this.T.disconnect();this.T.connect(a);this.S.disconnect();this.S.connect(a)};c.prototype.remove=function(){this.ja.disconnect();this.ib.disconnect();this.T.disconnect();this.S.disconnect()};c.prototype.Qc=function(){return this.ja};h.prototype.bd=function(a){this.T.disconnect();this.T.connect(a);this.S.disconnect();this.S.connect(a)};h.prototype.remove=function(){this.ja.disconnect();this.Ti.disconnect();this.ed.disconnect();this.rk.disconnect();this.T.disconnect();this.S.disconnect()};
h.prototype.Qc=function(){return this.ja};n.prototype.bd=function(a){this.T.disconnect();this.T.connect(a);this.S.disconnect();this.S.connect(a)};n.prototype.remove=function(){this.ja.disconnect();this.Bf.disconnect();this.T.disconnect();this.S.disconnect()};n.prototype.Qc=function(){return this.ja};v.prototype.bd=function(a){this.S.disconnect();this.S.connect(a);this.T.disconnect();this.T.connect(a)};v.prototype.remove=function(){this.ja.disconnect();this.ed.disconnect();this.Lb.disconnect();this.Jc.disconnect();
this.S.disconnect();this.T.disconnect();this.Ak.disconnect()};v.prototype.Qc=function(){return this.ja};w.prototype.bd=function(a){this.S.disconnect();this.S.connect(a);this.T.disconnect();this.T.connect(a)};w.prototype.remove=function(){this.ja.disconnect();this.ib.disconnect();this.Lb.disconnect();this.Jc.disconnect();this.S.disconnect();this.T.disconnect()};w.prototype.Qc=function(){return this.ja};p.prototype.bd=function(a){this.pa.disconnect();this.pa.connect(a)};p.prototype.remove=function(){this.pa.disconnect()};
p.prototype.Qc=function(){return this.pa};H.prototype.bd=function(a){this.pa.disconnect();this.pa.connect(a)};H.prototype.remove=function(){this.Lb.disconnect();this.Jc.disconnect();this.pa.disconnect()};H.prototype.Qc=function(){return this.pa};X.prototype.bd=function(a){this.T.disconnect();this.T.connect(a);this.S.disconnect();this.S.connect(a)};X.prototype.remove=function(){this.Lb.disconnect();this.bj.disconnect();this.ja.disconnect();this.T.disconnect();this.S.disconnect()};X.prototype.Qc=function(){return this.ja};
B.prototype.iA=function(a,b){.01>a&&(a=.01);this.El.gain.value=a;this.Dl.gain.value=Math.pow(1/a,.6)*b};B.prototype.shape=function(a,b,c){var d=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+d*(1-Math.exp(-(1/d)*(a-b)));return b*c};B.prototype.by=function(a,b){for(var c=Math.pow(10,a/20),d=Math.pow(10,b/20),e=0,f=0;32768>f;++f)e=f/32768,e=this.shape(e,c,d),this.pk[32768+f]=e,this.pk[32768-f-1]=-e};B.prototype.bd=function(a){this.T.disconnect();this.T.connect(a);this.S.disconnect();this.S.connect(a)};
B.prototype.remove=function(){this.ja.disconnect();this.El.disconnect();this.pm.disconnect();this.Dl.disconnect();this.T.disconnect();this.S.disconnect()};B.prototype.Qc=function(){return this.ja};Q.prototype.bd=function(a){this.pa.disconnect();this.pa.connect(a)};Q.prototype.remove=function(){this.pa.disconnect()};Q.prototype.Qc=function(){return this.pa};F.prototype.Qa=function(){this.pa.getFloatFrequencyData(this.$x);this.pa.getByteTimeDomainData(this.jt);for(var a=this.pa.fftSize,b=0,c=this.Yi=
0,d=0;b<a;b++)d=(this.jt[b]-128)/128,0>d&&(d=-d),this.Yi<d&&(this.Yi=d),c+=d*d;this.Yi=k(this.Yi);k(Math.sqrt(c/a))};F.prototype.bd=function(a){this.pa.disconnect();this.pa.connect(a)};F.prototype.remove=function(){this.pa.disconnect()};F.prototype.Qc=function(){return this.pa};z.prototype.cj=function(a){this.wa=a};z.prototype.Qk=function(){return!!this.wa};z.prototype.Qa=function(){};G.prototype.Wz=function(){var a,b,c,d;c=a=0;for(b=L.length;a<b;++a)d=L[a],L[c]=d,d.buffer===this?d.stop():++c;L.length=
c;this.Yg&&(this.Yg.disconnect(),this.Yg=null);this.hh&&(this.hh.disconnect(),this.hh=null);this.he=this.ma=null};G.prototype.Cq=function(){if(!this.ma&&this.he){var a=this;if(x.decodeAudioData)x.decodeAudioData(this.he,function(b){a.ma=b;a.he=null;var c,d,e;if(ha(a.Al)||fa)ha(a.kk)||(c=a.kk.Bf,c.normalize=a.os,c.buffer=b);else if(a.ih.length){c=0;for(d=a.ih.length;c<d;c++){b=a.ih[c];e=new C(a,b.tt);e.Sl(!0);if("undefined"!==typeof b.qs&&(b.wa=u.Mk(b.qs),!b.wa))continue;if(b.wa){var f=Sa(b.wa.x,b.wa.y,
-b.wa.n.yb(),bb,cb,!0),h=Sa(b.wa.x,b.wa.y,-b.wa.n.yb(),bb,cb,!1);e.Wo(f,h,Ha(b.wa.k-b.wa.n.yb()),b.Kn,b.uo,b.xo);e.cj(b.wa)}else e.Wo(b.x,b.y,b.ng,b.Kn,b.uo,b.xo);e.play(a.no,a.sp,a.Pl);a.zl&&e.pause();L.push(e)}y(a.ih)}else e=new C(a,a.Al||""),e.play(a.no,a.sp,a.Pl),a.zl&&e.pause(),L.push(e)},function(){a.yk=!0});else if(this.ma=x.createBuffer(this.he,!1),this.he=null,ha(this.Al)||fa)ha(this.kk)||(b=this.kk.Bf,b.normalize=this.os,b.buffer=this.ma);else{var b=new C(this,this.Al);b.play(this.no,this.sp,
this.Pl);this.zl&&b.pause();L.push(b)}}};G.prototype.pr=function(){switch(this.da){case 0:var a=4<=this.ma.readyState;a&&(this.tp=!0);return a||this.tp;case 1:return!!this.he||!!this.ma;case 2:return!0;case 3:return!0}return!1};G.prototype.Wy=function(){switch(this.da){case 0:return this.pr();case 1:return!!this.ma;case 2:return!0;case 3:return!0}return!1};G.prototype.Ky=function(){switch(this.da){case 0:return!!this.ma.error;case 1:return this.yk}return!1};C.prototype.Of=function(){switch(this.da){case 0:return this.m.ended;
case 1:return 1===this.buffer.da?!this.Pd&&!this.Fa&&this.m.loop||this.Fc?!1:this.Gg:this.m.ended;case 2:return this.Gg;case 3:!0}return!0};C.prototype.Bw=function(){return this.Pd||this.Fa?!0:this.Of()};C.prototype.Sl=function(b){1===K&&(!this.Ud&&b?this.xb&&(this.nb||(this.nb=x.createPanner(),this.nb.panningModel="number"===typeof this.nb.panningModel?Sb:["equalpower","HRTF","soundfield"][Sb],this.nb.distanceModel="number"===typeof this.nb.distanceModel?Ub:["linear","inverse","exponential"][Ub],
this.nb.refDistance=Uc,this.nb.maxDistance=Vc,this.nb.rolloffFactor=Wc),this.xb.disconnect(),this.xb.connect(this.nb),this.nb.connect(a(this.tag)),this.Ud=!0):this.Ud&&!b&&this.xb&&(this.nb.disconnect(),this.xb.disconnect(),this.xb.connect(a(this.tag)),this.Ud=!1))};C.prototype.Wo=function(a,b,c,d,e,f){this.Ud&&1===K&&(this.nb.setPosition(a,b,0),this.nb.setOrientation(Math.cos(A(c)),Math.sin(A(c)),0),this.nb.coneInnerAngle=d,this.nb.coneOuterAngle=e,this.nb.coneOuterGain=f,this.Es=a,this.Fs=b,this.As=
c,this.Bs=d,this.Cs=e,this.Ds=f)};C.prototype.cj=function(a){this.Ud&&1===K&&(this.Ub||(this.Ub=new z),this.Ub.cj(a))};C.prototype.Qa=function(a){if(this.Ud&&1===K&&this.Ub&&this.Ub.Qk()&&this.kf()){this.Ub.Qa(a);a=this.Ub.wa;var b=Sa(a.x,a.y,-a.n.yb(),bb,cb,!0),c=Sa(a.x,a.y,-a.n.yb(),bb,cb,!1);this.nb.setPosition(b,c,0);b=0;"undefined"!==typeof this.Ub.wa.k&&(b=a.k-a.n.yb(),this.nb.setOrientation(Math.cos(b),Math.sin(b),0))}};C.prototype.play=function(a,b,c,d){var e=this.m;this.Td=a;this.volume=
b;c=c||0;d=d||0;switch(this.da){case 0:1!==e.playbackRate&&(e.playbackRate=1);e.volume!==b*ya&&(e.volume=b*ya);e.loop!==a&&(e.loop=a);e.muted&&(e.muted=!1);if(e.currentTime!==c)try{e.currentTime=c}catch(h){}l(this);break;case 1:this.muted=!1;this.$g=1;if(1===this.buffer.da)this.xb.gain.value=b*ya,this.Pd||(this.m=x.createBufferSource(),this.m.buffer=this.buffer.ma,this.m.connect(this.xb)),this.m.onended=this.Ao,this.Tj=this.m,this.m.loop=a,this.Gg=!1,0===c?r(this.m,d):f(this.m,c,this.ff(),d);else{1!==
e.playbackRate&&(e.playbackRate=1);e.loop!==a&&(e.loop=a);e.volume=b*ya;if(e.currentTime!==c)try{e.currentTime=c}catch(g){}l(this)}break;case 2:(!this.Pd&&this.Fa||0!==c)&&e.seekTo(c);e.play();this.Gg=!1;break;case 3:u.Hb?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.Kg?u.Rb.ga:u.Le.ga)-c;this.Fc=this.Fa=this.Pd=!1};C.prototype.stop=function(){switch(this.da){case 0:this.m.paused||this.m.pause();break;case 1:1===this.buffer.da?
m(this.m):this.m.paused||this.m.pause();break;case 2:this.m.stop();break;case 3:u.Hb&&AppMobi.context.stopSound(this.src)}this.Fa=!0;this.Fc=!1};C.prototype.pause=function(){if(!(this.Pd||this.Fa||this.Of()||this.Fc)){switch(this.da){case 0:this.m.paused||this.m.pause();break;case 1:1===this.buffer.da?(this.xc=this.Cn(!0),this.Td&&(this.xc=this.xc%this.ff()),this.Fc=!0,m(this.m)):this.m.paused||this.m.pause();break;case 2:this.m.pause();break;case 3:u.Hb&&AppMobi.context.stopSound(this.src)}this.Fc=
!0}};C.prototype.Ss=function(){if(!(this.Pd||this.Fa||this.Of())&&this.Fc){switch(this.da){case 0:l(this);break;case 1:1===this.buffer.da?(this.m=x.createBufferSource(),this.m.buffer=this.buffer.ma,this.m.connect(this.xb),this.m.onended=this.Ao,this.Tj=this.m,this.m.loop=this.Td,this.xb.gain.value=ya*this.volume*this.$g,this.qj(),this.startTime=(this.Kg?u.Rb.ga:u.Le.ga)-this.xc/(this.playbackRate||.001),f(this.m,this.xc,this.ff())):l(this);break;case 2:this.m.play();break;case 3:u.Hb&&AppMobi.context.resumeSound(this.src)}this.Fc=
!1}};C.prototype.seek=function(a){if(!(this.Pd||this.Fa||this.Of()))switch(this.da){case 0:try{this.m.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.da)this.Fc?this.xc=a:(this.pause(),this.xc=a,this.Ss());else try{this.m.currentTime=a}catch(c){}break;case 3:u.Hb&&AppMobi.context.seekSound(this.src,a)}};C.prototype.Vz=function(a){1===this.da&&(this.Ud?(this.nb.disconnect(),this.nb.connect(a)):(this.xb.disconnect(),this.xb.connect(a)))};C.prototype.ff=function(){var a=0;switch(this.da){case 0:"undefined"!==
typeof this.m.duration&&(a=this.m.duration);break;case 1:a=this.buffer.ma.duration;break;case 2:a=this.m.getDuration();break;case 3:u.Hb&&(a=AppMobi.context.getDurationSound(this.src))}return a};C.prototype.Cn=function(a){var b=this.ff(),c=0;switch(this.da){case 0:"undefined"!==typeof this.m.currentTime&&(c=this.m.currentTime);break;case 1:if(1===this.buffer.da){if(this.Fc)return this.xc;c=(this.Kg?u.Rb.ga:u.Le.ga)-this.startTime}else"undefined"!==typeof this.m.currentTime&&(c=this.m.currentTime);
break;case 3:u.Hb&&(c=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(c*=this.playbackRate);!this.Td&&c>b&&(c=b);return c};C.prototype.kf=function(){return!this.Fc&&!this.Pd&&!this.Fa&&!this.Of()};C.prototype.qA=function(){return!this.Pd&&!this.Fa&&!this.Of()};C.prototype.DA=function(){var a=this.volume*ya;isFinite(a)||(a=0);switch(this.da){case 0:"undefined"!==typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a);break;case 1:1===this.buffer.da?this.xb.gain.value=a*this.$g:"undefined"!==
typeof this.m.volume&&this.m.volume!==a&&(this.m.volume=a)}};C.prototype.tk=function(a){switch(this.da){case 0:this.m.muted!==!!a&&(this.m.muted=!!a);break;case 1:1===this.buffer.da?(this.$g=a?0:1,this.xb.gain.value=ya*this.volume*this.$g):this.m.muted!==!!a&&(this.m.muted=!!a)}};C.prototype.kA=function(){this.Ng=!0;this.tk(this.Ng||this.yi)};C.prototype.ct=function(a){this.yi=!!a;this.tk(this.Ng||this.yi)};C.prototype.lA=function(a){this.playbackRate=a;this.qj()};C.prototype.qj=function(){var a=
this.playbackRate;this.Kg&&(a*=u.gg);switch(this.da){case 0:this.m.playbackRate!==a&&(this.m.playbackRate=a);break;case 1:1===this.buffer.da?this.m.playbackRate.value!==a&&(this.m.playbackRate.value=a):this.m.playbackRate!==a&&(this.m.playbackRate=a)}};C.prototype.oA=function(a){switch(this.da){case 0:a?this.kf()?(this.Xc=!0,this.m.pause()):this.Xc=!1:this.Xc&&(this.m.play(),this.Xc=!1);break;case 1:a?this.kf()?(this.Xc=!0,1===this.buffer.da?(this.xc=this.Cn(!0),this.Td&&(this.xc=this.xc%this.ff()),
m(this.m)):this.m.pause()):this.Xc=!1:this.Xc&&(1===this.buffer.da?(this.m=x.createBufferSource(),this.m.buffer=this.buffer.ma,this.m.connect(this.xb),this.m.onended=this.Ao,this.Tj=this.m,this.m.loop=this.Td,this.xb.gain.value=ya*this.volume*this.$g,this.qj(),this.startTime=(this.Kg?u.Rb.ga:u.Le.ga)-this.xc/(this.playbackRate||.001),f(this.m,this.xc,this.ff())):this.m.play(),this.Xc=!1);break;case 2:a?this.kf()?(this.m.pause(),this.Xc=!0):this.Xc=!1:this.Xc&&(this.Xc=!1,this.m.play())}};V.K=function(a){this.type=
a;u=this.b=a.b;I=this;this.Gc=null;this.Hi=-600;this.b.xi&&(Bb=!0);!(this.b.Qg||this.b.ri&&(this.b.Tn||this.b.Rk))||this.b.Tk||this.b.Da||this.b.nr||Bb||(Sc=!0);x=null;"undefined"!==typeof AudioContext?(K=1,x=new AudioContext):"undefined"!==typeof webkitAudioContext&&(K=1,x=new webkitAudioContext);this.b.Qg&&x&&(x.close&&x.close(),"undefined"!==typeof AudioContext?x=new AudioContext:"undefined"!==typeof webkitAudioContext&&(x=new webkitAudioContext));1!==K&&(this.b.Tc&&"undefined"!==typeof window.Media?
K=2:this.b.or&&(K=3));2===K&&(R=location.href,a=R.lastIndexOf("/"),-1<a&&(R=R.substr(0,a+1)),R=R.replace("file://",""));if(this.b.Yy&&this.b.Zy&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime. Audio cannot be played until Quicktime is installed."),this.b.Ne(this);else{if(this.b.Hb)U=this.b.ri;else try{U=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')&&!this.b.Uk}catch(b){U=!1}this.b.vf(this)}};var Ka=V.K.prototype;Ka.I=function(){this.b.qg=
this;Ia=this.C[0];this.Be=this.C[1];this.Iz=0!==this.C[2];this.jl=0;Sb=this.C[3];Ub=this.C[4];this.Hi=-this.C[5];Uc=this.C[6];Vc=this.C[7];Wc=this.C[8];this.Gc=new z;var b=this.b.M||this.b.width,c=this.b.L||this.b.height;1===K&&(x.listener.setPosition(b/2,c/2,this.Hi),x.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(b,c){Ya&&Ya.disconnect();Tb=c.toLowerCase();Ya=x.createMediaStreamSource(b);Ya.connect(a(Tb))});this.b.lq(function(a){I.Bz(a)});var d=this;this.b.qw(function(a){d.sz(a)})};
Ka.sz=function(a){var b,c,d;b=0;for(c=L.length;b<c;b++)d=L[b],d.Ub&&d.Ub.wa===a&&(d.Ub.wa=null,d.Ud&&d.kf()&&d.Td&&d.stop());this.Gc.wa===a&&(this.Gc.wa=null)};Ka.Eb=function(){var a={silent:fa,masterVolume:ya,listenerZ:this.Hi,listenerUid:this.Gc.Qk()?this.Gc.wa.uid:-1,playing:[],effects:{}},b=a.playing,c,d,e,f,h,g;c=0;for(d=L.length;c<d;c++)e=L[c],!e.qA()||3===this.Be||e.Rd&&1===this.Be||!e.Rd&&2===this.Be||(f=e.Cn(),e.Td&&(f=f%e.ff()),f={tag:e.tag,buffersrc:e.buffer.src,is_music:e.Rd,playbackTime:f,
volume:e.volume,looping:e.Td,muted:e.Ng,playbackRate:e.playbackRate,paused:e.Fc,resume_position:e.xc},e.Ud&&(f.pan={},g=f.pan,e.Ub&&e.Ub.Qk()?g.objUid=e.Ub.wa.uid:(g.x=e.Es,g.y=e.Fs,g.a=e.As),g.ia=e.Bs,g.oa=e.Cs,g.og=e.Ds),b.push(f));b=a.effects;for(h in ka)if(ka.hasOwnProperty(h)){e=[];c=0;for(d=ka[h].length;c<d;c++)e.push({type:ka[h][c].type,params:ka[h][c].fb});b[h]=e}return a};var mb=[];Ka.Tb=function(a){var b=a.silent;ya=a.masterVolume;this.Hi=a.listenerZ;this.Gc.cj(null);var d=a.listenerUid;
-1!==d&&(this.Gc.cl=d,mb.push(this.Gc));var d=a.playing,e,f,g,k,m,l,q,t,r,u,x;if(3!==this.Be)for(e=0,f=L.length;e<f;e++)r=L[e],r.Rd&&1===this.Be||(r.Rd||2!==this.Be)&&r.stop();for(m in ka)if(ka.hasOwnProperty(m))for(e=0,f=ka[m].length;e<f;e++)ka[m][e].remove();Wa(ka);for(m in a.effects)if(a.effects.hasOwnProperty(m))for(l=a.effects[m],e=0,f=l.length;e<f;e++)switch(g=l[e].type,u=l[e].params,g){case "filter":M(m,new c(u[0],u[1],u[2],u[3],u[4],u[5]));break;case "delay":M(m,new h(u[0],u[1],u[2]));break;
case "convolve":g=u[2];r=this.Gk(g,!1);r.ma?g=new n(r.ma,u[0],u[1],g):(g=new n(null,u[0],u[1],g),r.os=u[0],r.kk=g);M(m,g);break;case "flanger":M(m,new v(u[0],u[1],u[2],u[3],u[4]));break;case "phaser":M(m,new w(u[0],u[1],u[2],u[3],u[4],u[5]));break;case "gain":M(m,new p(u[0]));break;case "tremolo":M(m,new H(u[0],u[1]));break;case "ringmod":M(m,new X(u[0],u[1]));break;case "distortion":M(m,new B(u[0],u[1],u[2],u[3],u[4]));break;case "compressor":M(m,new Q(u[0],u[1],u[2],u[3],u[4]));break;case "analyser":M(m,
new F(u[0],u[1]))}e=0;for(f=d.length;e<f;e++)3===this.Be||(a=d[e],g=a.buffersrc,k=a.is_music,m=a.tag,l=a.playbackTime,q=a.looping,t=a.volume,x=(u=a.pan)&&u.hasOwnProperty("objUid")?u.objUid:-1,k&&1===this.Be)||!k&&2===this.Be||((r=this.Hk(g,m,k,q,t))?(r.xc=a.resume_position,r.Sl(!!u),r.play(q,t,l),r.qj(),r.DA(),r.tk(r.Ng||r.yi),a.paused&&r.pause(),a.muted&&r.kA(),r.tk(r.Ng||r.yi),u&&(-1!==x?(r.Ub=r.Ub||new z,r.Ub.cl=x,mb.push(r.Ub)):r.Wo(u.x,u.y,u.a,u.ia,u.oa,u.og))):(r=this.Gk(g,k),r.Pl=l,r.zl=a.paused,
u&&(-1!==x?r.ih.push({qs:x,Kn:u.ia,uo:u.oa,xo:u.og,tt:m}):r.ih.push({x:u.x,y:u.y,ng:u.a,Kn:u.ia,uo:u.oa,xo:u.og,tt:m}))));if(b&&!fa){e=0;for(f=L.length;e<f;e++)L[e].ct(!0);fa=!0}else if(!b&&fa){e=0;for(f=L.length;e<f;e++)L[e].ct(!1);fa=!1}};Ka.ee=function(){var a,b,c,d;a=0;for(b=mb.length;a<b;a++)c=mb[a],d=this.b.Mk(c.cl),c.cj(d),c.cl=-1,d&&(bb=d.x,cb=d.y);y(mb)};Ka.Bz=function(a){if(!this.Iz){!a&&x&&x.resume&&(x.resume(),Rb=!1);var b,c;b=0;for(c=L.length;b<c;b++)L[b].oA(a);a&&x&&x.suspend&&(x.suspend(),
Rb=!0)}};Ka.Qa=function(){var a=this.b.oe,b,c,d;b=0;for(c=L.length;b<c;b++)d=L[b],d.Qa(a),0!==Ia&&d.qj();var e,f;for(e in ka)if(ka.hasOwnProperty(e))for(d=ka[e],b=0,c=d.length;b<c;b++)f=d[b],f.Qa&&f.Qa();1===K&&this.Gc.Qk()&&(this.Gc.Qa(a),bb=this.Gc.wa.x,cb=this.Gc.wa.y,x.listener.setPosition(this.Gc.wa.x,this.Gc.wa.y,this.Hi))};var nb=[];Ka.mA=function(a){var b,c,d,e,f,h=0;b=0;for(c=a.length;b<c;++b)if(d=a[b],e=d[0],d=2*d[1],(f=4<e.length&&".ogg"===e.substr(e.length-4))&&U||!f&&!U)nb.push({filename:e,
size:d,wa:null}),h+=d;return h};Ka.sA=function(){var a,b,c,d;a=0;for(b=nb.length;a<b;++a)c=nb[a],d=this.b.fi+c.filename,c.wa=this.Gk(d,!1)};Ka.oy=function(){var a=0,b,c,d;b=0;for(c=nb.length;b<c;++b)d=nb[b],d.wa.Wy()||d.wa.Ky()||this.b.Da||this.b.Rk?a+=d.size:d.wa.pr()&&(a+=Math.floor(d.size/2));return a};Ka.Xz=function(){var a,b,c,d;c=a=0;for(b=N.length;a<b;++a)d=N[a],N[c]=d,d.Rd?d.Wz():++c;N.length=c};Ka.Gk=function(a,b){var c,d,e,f=null;c=0;for(d=N.length;c<d;c++)if(e=N[c],e.src===a){f=e;break}f||
(Bb&&b&&this.Xz(),f=new G(a,b),N.push(f));return f};Ka.Hk=function(a,b,c,d,e){var f,h,g;f=0;for(h=L.length;f<h;f++)if(g=L[f],g.src===a&&(g.Bw()||c))return g.tag=b,g;a=this.Gk(a,c);if(!a.ma)return"<preload>"!==b&&(a.Al=b,a.no=d,a.sp=e),null;g=new C(a,b);L.push(g);return g};var ta=[];S.prototype.Ij=function(a){return lb(J,a)};S.prototype.Hu=function(a){Y(a);var b;a=0;for(b=ta.length;a<b;a++)if(ta[a].kf())return!0;return!1};V.c=new S;O.prototype.Play=function(a,b,c,d){!fa&&(c=e(c),sa=this.Hk(this.b.fi+
a[0]+(U?".ogg":".m4a"),d,a[1],0!==b,c))&&(sa.Sl(!1),sa.play(0!==b,c,0,this.jl),this.jl=0)};O.prototype.xv=function(a,b,c,d,f){!fa&&(d=e(d),sa=this.Hk(this.b.fi+b.toLowerCase()+(U?".ogg":".m4a"),f,1===a,0!==c,d))&&(sa.Sl(!1),sa.play(0!==c,d,0,this.jl),this.jl=0)};O.prototype.zv=function(a){if(!fa){var b=a[1];a=this.b.fi+a[0]+(U?".ogg":".m4a");3===K?this.b.Hb?AppMobi.context.loadSound(a):AppMobi.player.loadSound(a):2!==K&&this.Hk(a,"<preload>",b,!1)}};O.prototype.Sv=function(a,b){Y(a);0>b&&(b=0);var c,
d;c=0;for(d=ta.length;c<d;c++)ta[c].lA(b)};O.prototype.Km=function(a){Y(a);var b;a=0;for(b=ta.length;a<b;a++)ta[a].stop()};O.prototype.bw=function(){var a,b;a=0;for(b=L.length;a<b;a++)L[a].stop()};O.prototype.Rv=function(a,b){Y(a);var c,d;c=0;for(d=ta.length;c<d;c++)0===b?ta[c].pause():ta[c].Ss()};V.e=new O;T.prototype.ku=function(a,b){Y(b,!0);ta.length?a.u(ta[0].ff()):a.u(0)};V.j=new T})();function yc(g){this.b=g}
(function(){function g(){d&&t&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(a){r.zz(a)})}function l(){}function b(){}function q(a){console&&console.warn&&console.warn("Fullscreen request failed: ",a);m.setSize(window.innerWidth,window.innerHeight)}function e(){}var k=yc.prototype;k.R=function(a){this.ba=a;this.b=a.b};var a=k.R.prototype;a.I=function(){};var d=!1,t=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.serviceWorker){var a=
document.createElement("script");a.onload=function(){d=!0;g()};a.src="offlineClient.js";document.head.appendChild(a)}});var r=null;a.us=function(){t=!0;g()};k.K=function(a){this.type=a;this.b=a.b};a=k.K.prototype;a.I=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(yc.prototype.c.kv,a)});r=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(yc.prototype.c.hv,a)}),window.addEventListener("offline",function(){a.b.trigger(yc.prototype.c.dv,
a)}));this.b.Hb||(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(yc.prototype.c.Mj,a)}),document.addEventListener("backbutton",function(){a.b.trigger(yc.prototype.c.Hj,a)}),document.addEventListener("menubutton",function(){a.b.trigger(yc.prototype.c.Sp,a)}),document.addEventListener("searchbutton",function(){a.b.trigger(yc.prototype.c.nv,a)}),document.addEventListener("tizenhwkey",function(b){var d;switch(b.keyName){case "back":d=a.b.trigger(yc.prototype.c.Hj,a);
!d&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(d=a.b.trigger(yc.prototype.c.Sp,a))||b.preventDefault()}}));this.b.Uk&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(b){a.b.trigger(yc.prototype.c.Hj,a)&&(b.handled=!0)}):this.b.rr&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(yc.prototype.c.Hj,a)});this.b.lq(function(b){b?a.b.trigger(yc.prototype.c.iv,
a):a.b.trigger(yc.prototype.c.jv,a)})};a.zz=function(a){a=a.data.type;"downloading-update"===a?this.b.trigger(yc.prototype.c.Xp,this):"update-ready"===a||"update-pending"===a?this.b.trigger(yc.prototype.c.Mj,this):"offline-ready"===a&&this.b.trigger(yc.prototype.c.gv,this)};l.prototype.hv=function(){return!0};l.prototype.dv=function(){return!0};l.prototype.Mj=function(){return!0};l.prototype.jv=function(){return!0};l.prototype.iv=function(){return!0};l.prototype.kv=function(){return!0};l.prototype.Hj=
function(){return!0};l.prototype.Sp=function(){return!0};l.prototype.nv=function(){return!0};l.prototype.Xp=function(){return!0};l.prototype.Mj=function(){return!0};l.prototype.gv=function(){return!0};k.c=new l;var f=!0,m=null;b.prototype.Fv=function(a){this.b.Da?ea("[Construct 2] Requesting fullscreen is not supported on this platform - the request has been ignored"):(2<=a&&(a+=1),6===a&&(a=2),this.b.Xy?this.b.Ty?debuggerFullscreen(!0):!this.b.Jg&&window.nwgui&&(window.nwgui.Window.get().enterFullscreen(),
this.b.Jg=!0,this.b.df=2<=a?a:0):document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement||document.fullScreen||document.fullScreenElement||(this.b.df=2<=a?a:0,a=document.documentElement,f&&(f=!1,m=this.b,a.addEventListener("mozfullscreenerror",q),a.addEventListener("webkitfullscreenerror",q),a.addEventListener("MSFullscreenError",q),a.addEventListener("fullscreenerror",q)),a.requestFullscreen?a.requestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?
a.msRequestFullscreen():a.webkitRequestFullScreen&&("undefined"!==typeof Element&&"undefined"!==typeof Element.ALLOW_KEYBOARD_INPUT?a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):a.webkitRequestFullScreen())))};b.prototype.gu=function(a,b){"undefined"!==typeof console&&(0===a&&console.log&&console.log(b.toString()),1===a&&console.warn&&console.warn(b.toString()),2===a&&console.error&&console.error(b.toString()))};b.prototype.nu=function(a){try{eval&&eval(a)}catch(b){console&&console.error&&
console.error("Error executing Javascript: ",b)}};k.e=new b;e.prototype.Cv=function(a,b){if(this.b.Da)a.ca("");else{var d=RegExp("[?&]"+b+"=([^&]*)").exec(window.location.search);d?a.ca(decodeURIComponent(d[1].replace(/\+/g," "))):a.ca("")}};k.j=new e})();function zc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var q=zc.prototype;q.R=function(b){this.ba=b;this.b=b.b};q.R.prototype.I=function(){};q.K=function(b){this.type=b;this.b=b.b};var e=q.K.prototype;e.I=function(){this.yd={};this.Sg=0};e.Eb=function(){return this.yd};e.Tb=function(b){this.yd=b;this.Sg=0;for(var a in this.yd)this.yd.hasOwnProperty(a)&&this.Sg++};g.prototype.tu=function(b){return this.yd.hasOwnProperty(b)};g.prototype.ym=function(){return 0===this.Sg};q.c=new g;l.prototype.St=function(b,
a){this.yd.hasOwnProperty(b)||this.Sg++;this.yd[b]=a};l.prototype.Ap=function(){Wa(this.yd);this.Sg=0};q.e=new l;b.prototype.ru=function(b,a){this.yd.hasOwnProperty(a)?b.uh(this.yd[a]):b.N(0)};b.prototype.Ju=function(b){b.N(this.Sg)};b.prototype.wm=function(b){b.ca(JSON.stringify({c2dictionary:!0,data:this.yd}))};q.j=new b})();function uc(g){this.b=g}
(function(){function g(){this.name="";this.ph=0;this.fb=[]}function l(){t++;t===d.length&&d.push(new g);return d[t]}function b(){return 0>t?null:d[t]}function q(){}function e(){}function k(){}var a=uc.prototype;a.R=function(a){this.ba=a;this.b=a.b};a.R.prototype.I=function(){};a.K=function(a){this.type=a;this.b=a.b};var d=[],t=-1;a.K.prototype.I=function(){var a=this;window.c2_callFunction=function(b,d){var c,e,g,k=l();k.name=b.toLowerCase();k.ph=0;if(d)for(k.fb.length=d.length,c=0,e=d.length;c<e;++c)g=
d[c],k.fb[c]="number"===typeof g||"string"===typeof g?g:"boolean"===typeof g?g?1:0:0;else y(k.fb);a.b.trigger(uc.prototype.c.Kj,a,k.name);t--;return k.ph}};q.prototype.Kj=function(a){var d=b();return d?lb(a,d.name):!1};q.prototype.bu=function(a,d,e){var c=b();if(!c)return!1;a=ra(a);return 0>a||a>=c.fb.length?!1:kc(c.fb[a],d,e)};a.c=new q;e.prototype.CallFunction=function(a,b){var d=l();d.name=a.toLowerCase();d.ph=0;Ca(d.fb,b);this.b.trigger(uc.prototype.c.Kj,this,d.name);t--};e.prototype.Tv=function(a){var d=
b();d&&(d.ph=a)};a.e=new e;k.prototype.rv=function(a,d){d=ra(d);var e=b();e?0<=d&&d<e.fb.length?a.uh(e.fb[d]):a.N(0):a.N(0)};k.prototype.zp=function(a,b){var d=l();d.name=b.toLowerCase();d.ph=0;y(d.fb);var c,e;c=2;for(e=arguments.length;c<e;c++)d.fb.push(arguments[c]);this.b.trigger(uc.prototype.c.Kj,this,d.name);t--;a.uh(d.ph)};a.j=new k})();function Ac(g){this.b=g}
(function(){function g(){}var l=Ac.prototype;l.R=function(b){this.ba=b;this.b=b.b};l.R.prototype.I=function(){};l.K=function(b){this.type=b;this.b=b.b;this.Rg=Array(256);this.rj=Array(256);this.Je=0};var b=l.K.prototype;b.I=function(){var b=this;this.b.Da||(jQuery(document).keydown(function(g){b.uz(g)}),jQuery(document).keyup(function(g){b.vz(g)}))};var q=[32,33,34,35,36,37,38,39,40,44];b.uz=function(b){var g=!1;window!=window.top&&-1<q.indexOf(b.which)&&(b.preventDefault(),g=!0,b.stopPropagation());
if(this.Rg[b.which])this.rj[b.which]&&!g&&b.preventDefault();else{this.Rg[b.which]=!0;this.Je=b.which;this.b.Vc=!0;this.b.trigger(Ac.prototype.c.Su,this);var a=this.b.trigger(Ac.prototype.c.Mp,this),d=this.b.trigger(Ac.prototype.c.bv,this);this.b.Vc=!1;if(a||d)this.rj[b.which]=!0,g||b.preventDefault()}};b.vz=function(b){this.Rg[b.which]=!1;this.Je=b.which;this.b.Vc=!0;this.b.trigger(Ac.prototype.c.Jp,this);var g=this.b.trigger(Ac.prototype.c.Op,this),a=this.b.trigger(Ac.prototype.c.Np,this);this.b.Vc=
!1;if(g||a||this.rj[b.which])this.rj[b.which]=!0,b.preventDefault()};b.gh=function(){var b;for(b=0;256>b;++b)if(this.Rg[b]){this.Rg[b]=!1;this.Je=b;this.b.trigger(Ac.prototype.c.Jp,this);var g=this.b.trigger(Ac.prototype.c.Op,this),a=this.b.trigger(Ac.prototype.c.Np,this);if(g||a)this.rj[b]=!0}};b.Eb=function(){return{triggerKey:this.Je}};b.Tb=function(b){this.Je=b.triggerKey};g.prototype.Bu=function(b){return this.Rg[b]};g.prototype.Mp=function(b){return b===this.Je};g.prototype.Su=function(){return!0};
g.prototype.Jp=function(){return!0};g.prototype.Op=function(b){return b===this.Je};g.prototype.bv=function(b){return b===this.Je};g.prototype.Np=function(b){return b===this.Je};l.c=new g;l.e=new function(){};l.j=new function(){}})();function W(g){this.b=g}
(function(){function g(b,e,g,a,d,l,r,f,m,c){b.save();b.fillStyle=e;e=d%g;var h=l%a;0>e&&(e+=g);0>h&&(h+=a);b.translate(e+m,h+c);b.fillRect(d-e-m,l-h-c,r,f);b.restore()}var l=W.prototype;l.R=function(b){this.ba=b;this.b=b.b};var b=l.R.prototype;b.I=function(){this.H||(this.B=new Image,this.B.lk=this.mj,this.b.wj(this.B,this.Eh),this.xj=this.Aj=this.zj=this.yj=this.Mh=this.A=this.sq=this.xt=this.Ts=this.Nr=this.sn=null)};b.dh=function(){this.H||(this.xj=this.Aj=this.zj=this.yj=this.Mh=this.A=null)};
b.eh=function(){this.H||!this.d.length||this.A||(this.A=this.b.q.tc(this.B,!0,this.b.Aa,this.ae))};b.Hh=function(){this.H||this.d.length||!this.b.q||(this.b.q.deleteTexture(this.A),this.b.q.deleteTexture(this.Mh),this.b.q.deleteTexture(this.yj),this.b.q.deleteTexture(this.zj),this.b.q.deleteTexture(this.Aj),this.b.q.deleteTexture(this.xj),this.xj=this.Aj=this.zj=this.yj=this.Mh=this.A=null)};b.Zd=function(b,e,g,a){var d=document.createElement("canvas");g=g-b;a=a-e;d.width=g;d.height=a;d.getContext("2d").drawImage(this.B,
b,e,g,a,0,0,g,a);return d};b.Jw=function(b,e,g,a){var d=this.B.width,l=this.B.height,r=d-e,f=l-a;if(this.b.q){if(!this.Mh){var m=this.b.q,c=this.b.Aa,h=this.ae;r>b&&f>g&&(this.Mh=m.tc(this.Zd(b,g,r,f),!0,c,h));0<b&&f>g&&(this.yj=m.tc(this.Zd(0,g,b,f),!0,c,h,"repeat-y"));0<e&&f>g&&(this.zj=m.tc(this.Zd(r,g,d,f),!0,c,h,"repeat-y"));0<g&&r>b&&(this.Aj=m.tc(this.Zd(b,0,r,g),!0,c,h,"repeat-x"));0<a&&r>b&&(this.xj=m.tc(this.Zd(b,f,r,l),!0,c,h,"repeat-x"))}}else this.sn||(m=this.b.Ma,r>b&&f>g&&(this.sn=
m.createPattern(this.Zd(b,g,r,f),"repeat")),0<b&&f>g&&(this.Nr=m.createPattern(this.Zd(0,g,b,f),"repeat")),0<e&&f>g&&(this.Ts=m.createPattern(this.Zd(r,g,d,f),"repeat")),0<g&&r>b&&(this.xt=m.createPattern(this.Zd(b,0,r,g),"repeat")),0<a&&r>b&&(this.sq=m.createPattern(this.Zd(b,f,r,l),"repeat")))};l.K=function(b){this.type=b;this.b=b.b};b=l.K.prototype;b.I=function(){this.ho=this.C[0];this.Qo=this.C[1];this.gp=this.C[2];this.Tm=this.C[3];this.uk=this.C[4];this.fill=this.C[5];this.visible=0===this.C[6];
this.Ws=0!==this.C[8];this.Kc?this.ze.set(0,0,0,0):this.ze=new wa(0,0,0,0);this.b.q&&!this.type.A&&(this.type.A=this.b.q.tc(this.type.B,!1,this.b.Aa,this.type.ae));this.type.Jw(this.ho,this.Qo,this.gp,this.Tm)};b.Ec=function(b){var e=this.type.B,k=this.ho,a=this.Qo,d=this.gp,l=this.Tm,r=e.width,f=e.height,m=r-a,c=f-l;b.globalAlpha=this.opacity;b.save();var h=this.x,n=this.y,v=this.width,w=this.height;this.b.uc&&(h=Math.round(h),n=Math.round(n));var p=-(this.fc*this.width),H=-(this.gc*this.height),
X=p%r,B=H%f;0>X&&(X+=r);0>B&&(B+=f);b.translate(h+X,n+B);r=p-X;H-=B;B=this.Ws?1:0;0<k&&0<d&&b.drawImage(e,0,0,k+B,d+B,r,H,k+B,d+B);0<a&&0<d&&b.drawImage(e,m-B,0,a+B,d+B,r+v-a-B,H,a+B,d+B);0<a&&0<l&&b.drawImage(e,m-B,c-B,a+B,l+B,r+v-a-B,H+w-l-B,a+B,l+B);0<k&&0<l&&b.drawImage(e,0,c-B,k+B,l+B,r,H+w-l-B,k+B,l+B);0===this.uk?(B=2===this.fill?0:B,0<k&&c>d&&g(b,this.type.Nr,k,c-d,r,H+d,k+B,w-d-l,0,0),0<a&&c>d&&g(b,this.type.Ts,a,c-d,r+v-a-B,H+d,a+B,w-d-l,B,0),0<d&&m>k&&g(b,this.type.xt,m-k,d,r+k,H,v-k-a,
d+B,0,0),0<l&&m>k&&g(b,this.type.sq,m-k,l,r+k,H+w-l-B,v-k-a,l+B,0,B)):1===this.uk&&(0<k&&c>d&&0<w-d-l&&b.drawImage(e,0,d,k,c-d,r,H+d,k,w-d-l),0<a&&c>d&&0<w-d-l&&b.drawImage(e,m,d,a,c-d,r+v-a,H+d,a,w-d-l),0<d&&m>k&&0<v-k-a&&b.drawImage(e,k,0,m-k,d,r+k,H,v-k-a,d),0<l&&m>k&&0<v-k-a&&b.drawImage(e,k,c,m-k,l,r+k,H+w-l,v-k-a,l));c>d&&m>k&&(0===this.fill?g(b,this.type.sn,m-k,c-d,r+k,H+d,v-k-a,w-d-l,0,0):1===this.fill&&0<v-k-a&&0<w-d-l&&b.drawImage(e,k,d,m-k,c-d,r+k,H+d,v-k-a,w-d-l));b.restore()};b.ne=function(b,
e,g,a,d,l,r,f,m,c){b.hc(e);var h=this.ze;h.left=g/e.wd;h.top=a/e.vd;h.right=(g+d)/e.wd;h.bottom=(a+l)/e.vd;b.md(r,f,r+m,f,r+m,f+c,r,f+c,h)};b.oj=function(b,e,g,a,d,l,r,f){b.hc(e);var m=this.ze;m.left=-r/e.wd;m.top=-f/e.vd;m.right=(d-r)/e.wd;m.bottom=(l-f)/e.vd;b.md(g,a,g+d,a,g+d,a+l,g,a+l,m)};b.$e=function(b){this.wb(b)};b.wb=function(b){var e=this.ho,g=this.Qo,a=this.gp,d=this.Tm,l=this.type.B.width-g,r=this.type.B.height-d;b.Ce(this.opacity);var f=this.kc,m=f.Ra,f=f.Sa,c=this.width,h=this.height;
this.b.uc&&(m=Math.round(m),f=Math.round(f));var n=this.Ws?1:0;0<e&&0<a&&this.ne(b,this.type.A,0,0,e+n,a+n,m,f,e+n,a+n);0<g&&0<a&&this.ne(b,this.type.A,l-n,0,g+n,a+n,m+c-g-n,f,g+n,a+n);0<g&&0<d&&this.ne(b,this.type.A,l-n,r-n,g+n,d+n,m+c-g-n,f+h-d-n,g+n,d+n);0<e&&0<d&&this.ne(b,this.type.A,0,r-n,e+n,d+n,m,f+h-d-n,e+n,d+n);0===this.uk?(n=2===this.fill?0:n,0<e&&r>a&&this.oj(b,this.type.yj,m,f+a,e+n,h-a-d,0,0),0<g&&r>a&&this.oj(b,this.type.zj,m+c-g-n,f+a,g+n,h-a-d,n,0),0<a&&l>e&&this.oj(b,this.type.Aj,
m+e,f,c-e-g,a+n,0,0),0<d&&l>e&&this.oj(b,this.type.xj,m+e,f+h-d-n,c-e-g,d+n,0,n)):1===this.uk&&(0<e&&r>a&&this.ne(b,this.type.A,0,a,e,r-a,m,f+a,e,h-a-d),0<g&&r>a&&this.ne(b,this.type.A,l,a,g,r-a,m+c-g,f+a,g,h-a-d),0<a&&l>e&&this.ne(b,this.type.A,e,0,l-e,a,m+e,f,c-e-g,a),0<d&&l>e&&this.ne(b,this.type.A,e,r,l-e,d,m+e,f+h-d,c-e-g,d));r>a&&l>e&&(0===this.fill?this.oj(b,this.type.Mh,m+e,f+a,c-e-g,h-a-d,0,0):1===this.fill&&this.ne(b,this.type.A,e,a,l-e,r-a,m+e,f+a,c-e-g,h-a-d))};l.c=new function(){};l.e=
new function(){};l.j=new function(){}})();function Bc(g){this.b=g}
(function(){function g(b){this.Ka=b;this.Ua=!1;this.k=this.speed=this.y=this.x=0;this.opacity=1;this.Re=this.Fg=this.size=this.Ok=0}var l=Bc.prototype;l.R=function(b){this.ba=b;this.b=b.b};var b=l.R.prototype;b.I=function(){this.H||(this.B=new Image,this.B.lk=this.mj,this.A=null,this.b.wj(this.B,this.Eh))};b.dh=function(){this.H||(this.A=null)};b.eh=function(){this.H||!this.d.length||this.A||(this.A=this.b.q.tc(this.B,!0,this.b.Aa,this.ae))};b.Ji=function(){this.H||this.A||!this.b.q||(this.A=this.b.q.tc(this.B,
!0,this.b.Aa,this.ae))};b.Hh=function(){this.H||this.d.length||!this.A||(this.b.q.deleteTexture(this.A),this.A=null)};b.Zi=function(b){b.drawImage(this.B,0,0)};g.prototype.init=function(){var b=this.Ka;this.x=b.x-b.qm/2+Math.random()*b.qm;this.y=b.y-b.rm/2+Math.random()*b.rm;this.speed=b.Qn-b.Xl/2+Math.random()*b.Xl;this.k=b.k-b.Yl/2+Math.random()*b.Yl;this.opacity=b.On;this.size=b.Pn-b.Wl/2+Math.random()*b.Wl;this.Ok=b.Hn-b.Pk/2+Math.random()*b.Pk;this.Re=this.Fg=0};g.prototype.Qa=function(b){var g=
this.Ka;this.x+=Math.cos(this.k)*this.speed*b;this.y+=Math.sin(this.k)*this.speed*b;this.y+=this.Fg*b;this.speed+=g.Mm*b;this.size+=this.Ok*b;this.Fg+=g.wn*b;this.Re+=b;1>this.size?this.Ua=!1:(0!==g.Ei&&(this.k+=Math.random()*g.Ei*b-g.Ei*b/2),0!==g.Gi&&(this.speed+=Math.random()*g.Gi*b-g.Gi*b/2),0!==g.Fi&&(this.opacity+=Math.random()*g.Fi*b-g.Fi*b/2,0>this.opacity?this.opacity=0:1<this.opacity&&(this.opacity=1)),1>=g.xg&&this.Re>=g.timeout&&(this.Ua=!1),2===g.xg&&0>=this.speed&&(this.Ua=!1))};g.prototype.Ec=
function(b){var g=this.Ka.opacity*this.opacity;if(0!==g){0===this.Ka.xg&&(g*=1-this.Re/this.Ka.timeout);b.globalAlpha=g;var g=this.x-this.size/2,a=this.y-this.size/2;this.Ka.b.uc&&(g=g+.5|0,a=a+.5|0);b.drawImage(this.Ka.type.B,g,a,this.size,this.size)}};g.prototype.wb=function(b){var g=this.Ka.opacity*this.opacity;0===this.Ka.xg&&(g*=1-this.Re/this.Ka.timeout);var a=this.size,d=a*this.Ka.Is,l=this.x-a/2,q=this.y-a/2;this.Ka.b.uc&&(l=l+.5|0,q=q+.5|0);1>d||0===g||(d<b.nz||d>b.oo?(b.Ce(g),b.nh(l,q,l+
a,q,l+a,q+a,l,q+a)):b.Jz(this.x,this.y,d,g))};g.prototype.left=function(){return this.x-this.size/2};g.prototype.right=function(){return this.x+this.size/2};g.prototype.top=function(){return this.y-this.size/2};g.prototype.bottom=function(){return this.y+this.size/2};l.K=function(b){this.type=b;this.b=b.b};var b=l.K.prototype,q=[];b.I=function(){var b=this.C;this.Il=b[0];this.Yl=A(b[1]);this.xh=b[2];this.$o=!0;this.Qn=b[3];this.Pn=b[4];this.On=b[5]/100;this.Hn=b[6];this.qm=b[7];this.rm=b[8];this.Xl=
b[9];this.Wl=b[10];this.Pk=b[11];this.Mm=b[12];this.wn=b[13];this.Ei=b[14];this.Gi=b[15];this.Fi=b[16];this.xg=b[17];this.timeout=b[18];this.bg=0;this.Is=1;this.wl=this.x;this.yl=this.y;this.xl=this.x;this.ul=this.y;this.sw(function(b){b.Va.set(b.wl,b.yl,b.xl,b.ul);b.kc.wh(b.Va);b.ak=!1;b.qp();b.It()});this.Kc||(this.lc=[]);this.b.vf(this);this.type.Ji();if(1===this.xh)for(b=0;b<this.Il;b++)this.Nm().opacity=0;this.Dk=!0};b.Eb=function(){var b={r:this.Il,sc:this.Yl,st:this.xh,s:this.$o,isp:this.Qn,
isz:this.Pn,io:this.On,gr:this.Hn,xr:this.qm,yr:this.rm,spr:this.Xl,szr:this.Wl,grnd:this.Pk,acc:this.Mm,g:this.wn,lar:this.Ei,lsr:this.Gi,lor:this.Fi,dm:this.xg,to:this.timeout,pcc:this.bg,ft:this.Dk,p:[]},g,a,d,l=b.p;g=0;for(a=this.lc.length;g<a;g++)d=this.lc[g],l.push([d.x,d.y,d.speed,d.k,d.opacity,d.Ok,d.size,d.Fg,d.Re]);return b};b.Tb=function(b){this.Il=b.r;this.Yl=b.sc;this.xh=b.st;this.$o=b.s;this.Qn=b.isp;this.Pn=b.isz;this.On=b.io;this.Hn=b.gr;this.qm=b.xr;this.rm=b.yr;this.Xl=b.spr;this.Wl=
b.szr;this.Pk=b.grnd;this.Mm=b.acc;this.wn=b.g;this.Ei=b.lar;this.Gi=b.lsr;this.Fi=b.lor;this.xg=b.dm;this.timeout=b.to;this.bg=b.pcc;this.Dk=b.ft;q.push.apply(q,this.lc);y(this.lc);var g,a,d,l=b.p;b=0;for(g=l.length;b<g;b++)a=this.Nm(),d=l[b],a.x=d[0],a.y=d[1],a.speed=d[2],a.k=d[3],a.opacity=d[4],a.Ok=d[5],a.size=d[6],a.Fg=d[7],a.Re=d[8]};b.qf=function(){q.push.apply(q,this.lc);y(this.lc)};b.Nm=function(){var b;q.length?(b=q.pop(),b.Ka=this):b=new g(this);this.lc.push(b);b.Ua=!0;return b};b.Qa=function(){var b=
this.b.Bg(this),g,a,d,l;if(0===this.xh&&this.$o)for(this.bg+=b*this.Il,a=ra(this.bg),this.bg-=a,g=0;g<a;g++)d=this.Nm(),d.init();this.wl=this.x;this.yl=this.y;this.xl=this.x;this.ul=this.y;l=g=0;for(a=this.lc.length;g<a;g++)d=this.lc[g],this.lc[l]=d,this.b.qa=!0,1===this.xh&&this.Dk&&d.init(),d.Qa(b),d.Ua?(d.left()<this.wl&&(this.wl=d.left()),d.right()>this.xl&&(this.xl=d.right()),d.top()<this.yl&&(this.yl=d.top()),d.bottom()>this.ul&&(this.ul=d.bottom()),l++):q.push(d);Ba(this.lc,l);this.Ea();this.Dk=
!1;1===this.xh&&0===this.lc.length&&this.b.Ne(this)};b.Ec=function(b){var g,a,d,l=this.n;g=0;for(a=this.lc.length;g<a;g++)d=this.lc[g],d.right()>=l.xa&&d.bottom()>=l.ya&&d.left()<=l.Ca&&d.top()<=l.Ba&&d.Ec(b)};b.wb=function(b){this.Is=this.n.Rc();b.hc(this.type.A);var g,a,d,l=this.n;g=0;for(a=this.lc.length;g<a;g++)d=this.lc[g],d.right()>=l.xa&&d.bottom()>=l.ya&&d.left()<=l.Ca&&d.top()<=l.Ba&&d.wb(b)};l.c=new function(){};l.e=new function(){};l.j=new function(){}})();function E(g){this.b=g}
(function(){function g(){if(0===this.gn.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.yh?b.drawImage(this.B,this.ah,this.bh,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.B,0,0,this.width,this.height);this.gn=a.toDataURL("image/png")}return this.gn}function l(){}function b(a,b,d){if(!a)return!1;var e=0!==b||0!==d,g,k,l=!1,q,t=this.b.Jk(),z=t.type,t=t.Hg,G=a.W();q=this.b.Oa().Xa.Ic;G.Z?(this.La(),h.ug(this.Va),
h.offset(b,d),this.b.gy(this.n,a,h,c),G=c):G=q?this.b.Sy()&&!G.O.length&&G.d.length?G.d:G.O:G.d;r=a;m=z!==a&&!t;e&&(g=this.x,k=this.y,this.x+=b,this.y+=d,this.Ea());b=0;for(d=G.length;b<d;b++)if(q=G[b],this.b.wA(this,q)){l=!0;if(t)break;z!==a&&f.add(q)}e&&(this.x=g,this.y=k,this.Ea());y(c);return l}function q(){}function e(){}var k=E.prototype;k.R=function(a){this.ba=a;this.b=a.b};var a=k.R.prototype;a.I=function(){if(!this.H){var a,b,c,d,f,e,h,k,m;this.rd=[];this.mi=!1;a=0;for(b=this.Bc.length;a<
b;a++){f=this.Bc[a];h={};h.name=f[0];h.speed=f[1];h.loop=f[2];h.Oo=f[3];h.Po=f[4];h.ye=f[5];h.fa=f[6];h.frames=[];c=0;for(d=f[7].length;c<d;c++)e=f[7][c],k={},k.Eh=e[0],k.mj=e[1],k.ah=e[2],k.bh=e[3],k.width=e[4],k.height=e[5],k.duration=e[6],k.fc=e[7],k.gc=e[8],k.Ln=e[9],k.Bl=e[10],k.Js=e[11],k.yh=0!==k.width,k.gn="",k.CB=g,m={left:0,top:0,right:1,bottom:1},k.Xo=m,k.A=null,(m=this.b.Zx(e[0]))?k.B=m:(k.B=new Image,k.B.Gw=e[0],k.B.lk=e[1],k.B.Aw=null,this.b.wj(k.B,e[0])),h.frames.push(k),this.rd.push(k);
this.Bc[a]=h}}};a.Gt=function(){var a,b,c;a=0;for(b=this.d.length;a<b;a++)c=this.d[a],c.nk=c.Ga.A};a.dh=function(){if(!this.H){var a,b,c;a=0;for(b=this.rd.length;a<b;++a)c=this.rd[a],c.B.Aw=null,c.A=null;this.mi=!1;this.Gt()}};a.eh=function(){if(!this.H&&this.d.length){var a,b,c;a=0;for(b=this.rd.length;a<b;++a)c=this.rd[a],c.A=this.b.q.tc(c.B,!1,this.b.Aa,c.Js);this.Gt()}};a.Ji=function(){if(!this.H&&!this.mi&&this.b.q){var a,b,c;a=0;for(b=this.rd.length;a<b;++a)c=this.rd[a],c.A=this.b.q.tc(c.B,
!1,this.b.Aa,c.Js);this.mi=!0}};a.Hh=function(){if(!this.H&&!this.d.length&&this.mi){var a,b,c;a=0;for(b=this.rd.length;a<b;++a)c=this.rd[a],this.b.q.deleteTexture(c.A),c.A=null;this.mi=!1}};var d=[];a.Zi=function(a){var b,c,f;y(d);b=0;for(c=this.rd.length;b<c;++b)f=this.rd[b].B,-1===d.indexOf(f)&&(a.drawImage(f,0,0),d.push(f))};k.K=function(a){this.type=a;this.b=a.b;a=this.type.Bc[0].frames[0].Bl;this.Kc?this.ta.ej(a):this.ta=new fb(a)};var t=k.K.prototype;t.I=function(){this.visible=0===this.C[0];
this.ni=this.Sf=!1;this.Af=0!==this.C[3];this.Ha=this.Sq(this.C[1])||this.type.Bc[0];this.J=this.C[2];0>this.J&&(this.J=0);this.J>=this.Ha.frames.length&&(this.J=this.Ha.frames.length-1);var a=this.Ha.frames[this.J];this.ta.ej(a.Bl);this.fc=a.fc;this.gc=a.gc;this.vg=this.Ha.speed;this.Ze=this.Ha.Po;1===this.type.Bc.length&&1===this.type.Bc[0].frames.length||0===this.vg||(this.b.vf(this),this.Sf=!0);this.Kc?this.sd.reset():this.sd=new db;this.Od=this.sd.ga;this.fe=!0;this.ge=0;this.yf=!0;this.sg=this.nq=
"";this.xq=0;this.Xh=-1;this.type.Ji();var b,c,d,f,e,h,g,a=0;for(b=this.type.Bc.length;a<b;a++)for(f=this.type.Bc[a],c=0,d=f.frames.length;c<d;c++)e=f.frames[c],0===e.width&&(e.width=e.B.width,e.height=e.B.height),e.yh&&(g=e.B,h=e.Xo,h.left=e.ah/g.width,h.top=e.bh/g.height,h.right=(e.ah+e.width)/g.width,h.bottom=(e.bh+e.height)/g.height,0===e.ah&&0===e.bh&&e.width===g.width&&e.height===g.height&&(e.yh=!1));this.Ga=this.Ha.frames[this.J];this.nk=this.Ga.A};t.Eb=function(){var a={a:this.Ha.fa,f:this.J,
cas:this.vg,fs:this.Od,ar:this.ge,at:this.sd.ga,rt:this.Ze};this.fe||(a.ap=this.fe);this.yf||(a.af=this.yf);return a};t.Tb=function(a){var b=this.cy(a.a);b&&(this.Ha=b);this.J=a.f;0>this.J&&(this.J=0);this.J>=this.Ha.frames.length&&(this.J=this.Ha.frames.length-1);this.vg=a.cas;this.Od=a.fs;this.ge=a.ar;this.sd.reset();this.sd.ga=a.at;this.fe=a.hasOwnProperty("ap")?a.ap:!0;this.yf=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.Ze=a.rt:this.Ze=this.Ha.Po;this.Ga=this.Ha.frames[this.J];
this.nk=this.Ga.A;this.ta.ej(this.Ga.Bl);this.fc=this.Ga.fc;this.gc=this.Ga.gc};t.Qm=function(a){this.J=a?0:this.Ha.frames.length-1;this.fe=!1;this.nq=this.Ha.name;this.ni=!0;this.b.trigger(E.prototype.c.Ru,this);this.b.trigger(E.prototype.c.Ip,this);this.ni=!1;this.ge=0};t.Rm=function(){return this.sd.ga};t.Qa=function(){this.sd.add(this.b.Bg(this));this.sg.length&&this.Dq();0<=this.Xh&&this.ln();var a=this.sd.ga,b=this.Ha,c=b.frames[this.J],d=c.duration/this.vg;this.fe&&a>=this.Od+d&&(this.yf?this.J++:
this.J--,this.Od+=d,this.J>=b.frames.length&&(b.ye?(this.yf=!1,this.J=b.frames.length-2):b.loop?this.J=this.Ze:(this.ge++,this.ge>=b.Oo?this.Qm(!1):this.J=this.Ze)),0>this.J&&(b.ye?(this.J=1,this.yf=!0,b.loop||(this.ge++,this.ge>=b.Oo&&this.Qm(!0))):b.loop?this.J=this.Ze:(this.ge++,this.ge>=b.Oo?this.Qm(!0):this.J=this.Ze)),0>this.J?this.J=0:this.J>=b.frames.length&&(this.J=b.frames.length-1),a>this.Od+b.frames[this.J].duration/this.vg&&(this.Od=a),a=b.frames[this.J],this.lg(c,a),this.b.qa=!0)};t.Sq=
function(a){var b,c,d;b=0;for(c=this.type.Bc.length;b<c;b++)if(d=this.type.Bc[b],lb(d.name,a))return d;return null};t.cy=function(a){var b,c,d;b=0;for(c=this.type.Bc.length;b<c;b++)if(d=this.type.Bc[b],d.fa===a)return d;return null};t.Dq=function(){var a=this.Ha.frames[this.J],b=this.Sq(this.sg);this.sg="";!b||lb(b.name,this.Ha.name)&&this.fe||(this.Ha=b,this.vg=b.speed,this.Ze=b.Po,0>this.J&&(this.J=0),this.J>=this.Ha.frames.length&&(this.J=this.Ha.frames.length-1),1===this.xq&&(this.J=0),this.fe=
!0,this.Od=this.sd.ga,this.yf=!0,this.lg(a,this.Ha.frames[this.J]),this.b.qa=!0)};t.ln=function(){var a=this.Ha.frames[this.J],b=this.J;this.J=ra(this.Xh);0>this.J&&(this.J=0);this.J>=this.Ha.frames.length&&(this.J=this.Ha.frames.length-1);b!==this.J&&(this.lg(a,this.Ha.frames[this.J]),this.Od=this.sd.ga,this.b.qa=!0);this.Xh=-1};t.lg=function(a,b){var c=a.width,d=a.height,f=b.width,e=b.height;c!=f&&(this.width*=f/c);d!=e&&(this.height*=e/d);this.fc=b.fc;this.gc=b.gc;this.ta.ej(b.Bl);this.Ea();this.Ga=
b;this.nk=b.A;c=0;for(d=this.U.length;c<d;c++)f=this.U[c],f.Az&&f.Az(a,b);this.b.trigger(E.prototype.c.lg,this)};t.Ec=function(a){a.globalAlpha=this.opacity;var b=this.Ga,c=b.yh,d=b.B,f=this.x,e=this.y,h=this.width,g=this.height;if(0===this.k&&0<=h&&0<=g)f-=this.fc*h,e-=this.gc*g,this.b.uc&&(f=Math.round(f),e=Math.round(e)),c?a.drawImage(d,b.ah,b.bh,b.width,b.height,f,e,h,g):a.drawImage(d,f,e,h,g);else{this.b.uc&&(f=Math.round(f),e=Math.round(e));a.save();var k=0<h?1:-1,m=0<g?1:-1;a.translate(f,e);
1===k&&1===m||a.scale(k,m);a.rotate(this.k*k*m);f=0-this.fc*na(h);e=0-this.gc*na(g);c?a.drawImage(d,b.ah,b.bh,b.width,b.height,f,e,na(h),na(g)):a.drawImage(d,f,e,na(h),na(g));a.restore()}};t.$e=function(a){this.wb(a)};t.wb=function(a){a.hc(this.nk);a.Ce(this.opacity);var b=this.Ga,c=this.kc;if(this.b.uc){var d=Math.round(this.x)-this.x,f=Math.round(this.y)-this.y;b.yh?a.md(c.Ra+d,c.Sa+f,c.Fb+d,c.Gb+f,c.sb+d,c.tb+f,c.qb+d,c.rb+f,b.Xo):a.nh(c.Ra+d,c.Sa+f,c.Fb+d,c.Gb+f,c.sb+d,c.tb+f,c.qb+d,c.rb+f)}else b.yh?
a.md(c.Ra,c.Sa,c.Fb,c.Gb,c.sb,c.tb,c.qb,c.rb,b.Xo):a.nh(c.Ra,c.Sa,c.Fb,c.Gb,c.sb,c.tb,c.qb,c.rb)};t.ky=function(a){var b=this.Ga,c,d;c=0;for(d=b.Ln.length;c<d;c++)if(lb(a,b.Ln[c][0]))return c;return-1};t.Lf=function(a,b){var c=this.Ga,d=c.Ln,f;ja(a)?f=this.ky(a):f=a-1;f=ra(f);if(0>f||f>=d.length)return b?this.x:this.y;var e=(d[f][1]-c.fc)*this.width,d=d[f][2],d=(d-c.gc)*this.height,c=Math.cos(this.k);f=Math.sin(this.k);var h=e*c-d*f,d=d*c+e*f,e=h+this.x,d=d+this.y;return b?e:d};var r=null,f=new ca,
m=!1,c=[],h=new wa(0,0,0,0);a.finish=function(a){if(m){if(a){var b=this.b.Oa().Xa.Ic;a=r.W();var c=f.xf(),d,e;if(a.Z){a.Z=!1;y(a.d);d=0;for(e=c.length;d<e;++d)a.d[d]=c[d];if(b)for(y(a.O),d=0,e=r.d.length;d<e;++d)c=r.d[d],f.contains(c)||a.O.push(c)}else if(b)for(b=a.d.length,d=0,e=c.length;d<e;++d)a.d[b+d]=c[d],Fa(a.O,c[d]);else Ca(a.d,c);r.ad()}f.clear();m=!1}};l.prototype.Eu=function(a){return b.call(this,a,0,0)};l.prototype.Fu=function(a,c,d){return b.call(this,a,c,d)};l.prototype.wu=function(a){return this.sg.length?
lb(this.sg,a):lb(this.Ha.name,a)};l.prototype.Ip=function(a){return lb(this.nq,a)};l.prototype.Ru=function(){return!0};l.prototype.lg=function(){return!0};k.c=new l;q.prototype.Zv=function(a,b,c){if(a&&b&&(b=this.b.bn(a,b,this.Lf(c,!0),this.Lf(c,!1)))){"undefined"!==typeof b.k&&(b.k=this.k,b.Ea());this.b.Uc++;var d,f,e;this.b.trigger(Object.getPrototypeOf(a.ba).c.de,b);if(b.Qb)for(d=0,f=b.siblings.length;d<f;d++)e=b.siblings[d],this.b.trigger(Object.getPrototypeOf(e.type.ba).c.de,e);this.b.Uc--;d=
this.b.hy();c=!1;if(ha(d.ua.Spawn_LastExec)||d.ua.Spawn_LastExec<this.b.Jf)c=!0,d.ua.Spawn_LastExec=this.b.Jf;if(a!=this.type&&(a=a.W(),a.Z=!1,c?(y(a.d),a.d[0]=b):a.d.push(b),b.Qb))for(d=0,f=b.siblings.length;d<f;d++)e=b.siblings[d],a=e.type.W(),a.Z=!1,c?(y(a.d),a.d[0]=e):a.d.push(e)}};q.prototype.dw=function(){this.fe=!1};q.prototype.aw=function(a){this.fe=!0;this.Od=this.sd.ga;1===a&&0!==this.J&&(this.Xh=0,this.ni||this.ln());this.Sf||(this.b.vf(this),this.Sf=!0)};q.prototype.Kv=function(a,b){this.sg=
a;this.xq=b;this.Sf||(this.b.vf(this),this.Sf=!0);this.ni||this.Dq()};q.prototype.Lv=function(a){this.Xh=a;this.Sf||(this.b.vf(this),this.Sf=!0);this.ni||this.ln()};q.prototype.Jm=function(a){var b=this.Ga,c=b.width*a*(0>this.width?-1:1);a=b.height*a*(0>this.height?-1:1);if(this.width!==c||this.height!==a)this.width=c,this.height=a,this.Ea()};k.e=new q;e.prototype.uu=function(a,b){a.u(this.Lf(b,!0))};e.prototype.vu=function(a,b){a.u(this.Lf(b,!1))};e.prototype.Fp=function(a){a.u(this.Ga.width)};e.prototype.Ep=
function(a){a.u(this.Ga.height)};k.j=new e})();function Cc(g){this.b=g}
(function(){function g(a,b){return a.length?a.pop():new b}function l(b,d,f){if(f){var e;f=0;for(e=d.length;f<e;f++)b.length<a&&b.push(d[f]);y(d)}else for(e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b.length<a&&b.push(d[e]),delete d[e])}function b(a,b,f){var e=a.Xf;f=f.replace(/\s\s*$/,"");b>=e.length&&e.push(g(d,Object));b=e[b];b.text=f;b.width=a.qo(f);a.Dh=oa(a.Dh,b.width)}function q(){}var e=Cc.prototype;e.I=function(){};e.R=function(a){this.ba=a;this.b=a.b};var k=e.R.prototype;k.I=function(){this.H||
(this.B=new Image,this.b.wj(this.B,this.Eh),this.A=null)};k.dh=function(){this.H||(this.A=null)};k.eh=function(){if(!this.H&&this.d.length){this.A||(this.A=this.b.q.tc(this.B,!1,this.b.Aa,this.ae));var a,b;a=0;for(b=this.d.length;a<b;a++)this.d[a].A=this.A}};k.Hh=function(){this.H||this.d.length||!this.A||(this.b.q.deleteTexture(this.A),this.A=null)};k.Zi=function(a){a.drawImage(this.B,0,0)};e.K=function(a){this.type=a;this.b=a.b};k=e.K.prototype;k.qf=function(){l(d,this.Xf,!0);l(t,this.gk,!1);l(r,
this.hk,!1);Wa(this.Ve)};k.I=function(){this.B=this.type.B;this.fk=this.C[0];this.Ue=this.C[1];this.characterSet=this.C[2];this.text=this.C[3];this.Ld=this.C[4];this.visible=0===this.C[5];this.li=this.C[6]/2;this.nm=this.C[7]/2;this.KA=0===this.C[9];this.tg=this.C[10];this.lineHeight=this.C[11];this.eg=this.Dh=0;this.Kc?(y(this.Xf),Wa(this.gk),Wa(this.hk),Wa(this.Ve)):(this.Xf=[],this.gk={},this.hk={},this.Ve={});this.fg=!0;this.eo=this.width;this.b.q&&(this.type.A||(this.type.A=this.b.q.tc(this.type.B,
!1,this.b.Aa,this.type.ae)),this.A=this.type.A);this.$v()};k.Eb=function(){var a={t:this.text,csc:this.Ld,csp:this.tg,lh:this.lineHeight,tw:this.Dh,th:this.eg,lrt:this.cz,ha:this.li,va:this.nm,cw:{}},b;for(b in this.Ve)a.cw[b]=this.Ve[b];return a};k.Tb=function(a){this.text=a.t;this.Ld=a.csc;this.tg=a.csp;this.lineHeight=a.lh;this.Dh=a.tw;this.eg=a.th;this.cz=a.lrt;a.hasOwnProperty("ha")&&(this.li=a.ha);a.hasOwnProperty("va")&&(this.nm=a.va);for(var b in a.cw)this.Ve[b]=a.cw[b];this.fg=!0;this.eo=
this.width};var a=1E3,d=[],t=[],r=[];k.$v=function(){for(var a=this.B,b=a.width,d=a.height,a=this.fk,f=this.Ue,e=a/b,k=f/d,m=this.characterSet,b=Math.floor(b/a),d=Math.floor(d/f),l=0;l<m.length&&!(l>=b*d);l++){var q=l%b,Q=Math.floor(l/b),F=m.charAt(l);if(this.b.q){var z=this.hk,G=q*e,C=Q*k,q=(q+1)*e,Q=(Q+1)*k;void 0===z[F]&&(z[F]=g(r,wa));z[F].left=G;z[F].top=C;z[F].right=q;z[F].bottom=Q}else z=this.gk,q=q*a,Q=Q*f,G=a,C=f,void 0===z[F]&&(z[F]=g(t,Object)),z[F].x=q,z[F].y=Q,z[F].Nt=G,z[F].$q=C}};var f=
[];e.gw=function(a){y(f);for(var b="",d,e=0;e<a.length;)if(d=a.charAt(e),"\n"===d)b.length&&(f.push(b),b=""),f.push("\n"),++e;else if(" "===d||"\t"===d||"-"===d){do b+=a.charAt(e),e++;while(e<a.length&&(" "===a.charAt(e)||"\t"===a.charAt(e)));f.push(b);b=""}else e<a.length&&(b+=d,e++);b.length&&f.push(b)};e.kw=function(a){var b=a.text,f=a.Xf;if(b&&b.length){var e=a.width;if(2>=e)l(d,f,!0);else{var k=a.Ld,m=a.tg;if(b.length*(a.fk*k+m)-m<=e&&-1===b.indexOf("\n")&&(m=a.qo(b),m<=e)){l(d,f,!0);f.push(g(d,
Object));f[0].text=b;f[0].width=m;a.Dh=m;a.eg=a.Ue*k+a.lineHeight;return}this.lw(a);a.eg=f.length*(a.Ue*k+a.lineHeight)}}else l(d,f,!0)};e.lw=function(c){var e=c.KA,g=c.text,k=c.Xf,m=c.width;e&&(this.gw(g),g=f);var l="",q,t,r,Q=0,F=!1;for(r=0;r<g.length;r++)"\n"===g[r]?(!0===F?F=!1:(b(c,Q,l),Q++),l=""):(F=!1,q=l,l+=g[r],t=c.qo(l.replace(/\s\s*$/,"")),t>m&&(""===q?(b(c,Q,l),l="",F=!0):(b(c,Q,q),l=g[r]),Q++,e||" "!==l||(l="")));l.replace(/\s\s*$/,"").length&&(b(c,Q,l),Q++);for(r=Q;r<k.length;r++)d.length<
a&&d.push(k[r]);k.length=Q};k.qo=function(a){for(var b=this.tg,d=a.length,f=0,e=0;e<d;e++)f+=this.yn(a.charAt(e))*this.Ld+b;return f-(0<f?b:0)};k.yn=function(a){var b=this.Ve;return void 0!==b[a]?b[a]:this.fk};k.Ps=function(){if(this.fg||this.width!==this.eo)this.eg=this.Dh=0,this.type.ba.kw(this),this.fg=!1,this.eo=this.width};k.Ec=function(a){var b=this.B;if(""!==this.text&&null!=b&&(this.Ps(),!(this.height<this.Ue*this.Ld+this.lineHeight))){a.globalAlpha=this.opacity;var b=this.x,d=this.y;this.b.uc&&
(b=Math.round(b),d=Math.round(d));var f=this.n.xa,e=this.n.ya,g=this.n.Ca,k=this.n.Ba;a.save();a.translate(b,d);a.rotate(this.k);for(var m=this.k,l=this.li,q=this.Ld,t=this.Ue*q,r=this.lineHeight,G=this.tg,C=this.Xf,P,Y=-(this.fc*this.width),M=-(this.gc*this.height),M=M+this.nm*oa(0,this.height-this.eg),S,O,T,V=0;V<C.length;V++){var u=C[V].text;P=l*oa(0,this.width-C[V].width);S=Y+P;M+=r;if(0===m&&d+M+t<e)M+=t;else{for(var I=0;I<u.length;I++){O=u.charAt(I);P=this.yn(O);var J=this.gk[O];if(0===m&&b+
S+P*q+G<f)S+=P*q+G;else{if(S+P*q>this.width+1E-5)break;void 0!==J&&(O=S,T=M,0===m&&1===q&&(O=Math.round(O),T=Math.round(T)),a.drawImage(this.B,J.x,J.y,J.Nt,J.$q,O,T,J.Nt*q,J.$q*q));S+=P*q+G;if(0===m&&b+S>g)break}}M+=t;if(0===m&&(M+t+r>this.height||d+M>k))break}}a.restore()}};var m=new xa;k.wb=function(a){a.hc(this.A);a.Ce(this.opacity);if(this.text&&(this.Ps(),!(this.height<this.Ue*this.Ld+this.lineHeight))){this.La();var b=this.kc,d=0,f=0;this.b.uc&&(d=Math.round(this.x)-this.x,f=Math.round(this.y)-
this.y);var e=this.n.xa,g=this.n.ya,k=this.n.Ca,l=this.n.Ba,q=this.k,t=this.li,r=this.nm,z=this.Ld,G=this.Ue*z,C=this.lineHeight,P=this.tg,Y=this.Xf,M=this.eg,S,O,T;0!==q&&(O=Math.cos(q),T=Math.sin(q));for(var d=b.Ra+d,b=b.Sa+f,V,r=r*oa(0,this.height-M),u,I,M=0;M<Y.length;M++)if(f=Y[M].text,V=S=t*oa(0,this.width-Y[M].width),r+=C,0===q&&b+r+G<g)r+=G;else{for(var J=0;J<f.length;J++){var R=f.charAt(J);S=this.yn(R);R=this.hk[R];if(0===q&&d+V+S*z+P<e)V+=S*z+P;else{if(V+S*z>this.width+1E-5)break;if(void 0!==
R){var K=this.fk*z,x=this.Ue*z;u=V;I=r;0===q&&1===z&&(u=Math.round(u),I=Math.round(I));m.Ra=u;m.Sa=I;m.Fb=u+K;m.Gb=I;m.qb=u;m.rb=I+x;m.sb=u+K;m.tb=I+x;0!==q&&(u=m,I=O,K=T,x=void 0,x=u.Ra*I-u.Sa*K,u.Sa=u.Sa*I+u.Ra*K,u.Ra=x,x=u.Fb*I-u.Gb*K,u.Gb=u.Gb*I+u.Fb*K,u.Fb=x,x=u.qb*I-u.rb*K,u.rb=u.rb*I+u.qb*K,u.qb=x,x=u.sb*I-u.tb*K,u.tb=u.tb*I+u.sb*K,u.sb=x);m.offset(d,b);a.md(m.Ra,m.Sa,m.Fb,m.Gb,m.sb,m.tb,m.qb,m.rb,R)}V+=S*z+P;if(0===q&&d+V>k)break}}r+=G;if(0===q&&(r+G+C>this.height||b+r>l))break}}};e.c=new function(){};
q.prototype.Vv=function(a){ia(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.fg=!0,this.b.qa=!0)};q.prototype.Jm=function(a){a!==this.Ld&&(this.Ld=a,this.fg=!0,this.b.qa=!0)};k.Mv=function(a,b){var d=parseInt(b,10);this.Ve[a]!==d&&(this.Ve[a]=d,this.fg=!0,this.b.qa=!0)};q.prototype.Nv=function(a,b){if(""!==a)for(var d=0;d<a.length;d++)this.Mv(a.charAt(d),b)};q.prototype.Pv=function(a){this.li=a/2;this.fg=!0;this.b.qa=!0};e.e=new q;e.j=new function(){}})();
function Dc(g){this.b=g}
(function(){function g(){}var l=Dc.prototype;l.R=function(b){this.ba=b;this.b=b.b};var b=l.R.prototype;b.I=function(){this.H||(this.B=new Image,this.B.lk=this.mj,this.b.wj(this.B,this.Eh),this.A=this.pattern=null)};b.dh=function(){this.H||(this.A=null)};b.eh=function(){if(!this.H&&this.d.length){this.A||(this.A=this.b.q.tc(this.B,!0,this.b.Aa,this.ae));var b,e;b=0;for(e=this.d.length;b<e;b++)this.d[b].A=this.A}};b.Ji=function(){this.H||this.A||!this.b.q||(this.A=this.b.q.tc(this.B,!0,this.b.Aa,this.ae))};
b.Hh=function(){this.H||this.d.length||!this.A||(this.b.q.deleteTexture(this.A),this.A=null)};b.Zi=function(b){b.drawImage(this.B,0,0)};l.K=function(b){this.type=b;this.b=b.b};b=l.K.prototype;b.I=function(){this.visible=0===this.C[0];this.ze=new wa(0,0,0,0);this.er=!1;this.B=this.type.B;this.b.q?(this.type.Ji(),this.A=this.type.A):(this.type.pattern||(this.type.pattern=this.b.Ma.createPattern(this.type.B,"repeat")),this.pattern=this.type.pattern)};b.ee=function(){this.er=!1;this.B=this.type.B};b.qf=
function(){this.b.q&&this.er&&this.A&&(this.b.q.deleteTexture(this.A),this.A=null)};b.Ec=function(b){b.globalAlpha=this.opacity;b.save();b.fillStyle=this.pattern;var e=this.x,g=this.y;this.b.uc&&(e=Math.round(e),g=Math.round(g));var a=-(this.fc*this.width),d=-(this.gc*this.height),l=a%this.B.width,r=d%this.B.height;0>l&&(l+=this.B.width);0>r&&(r+=this.B.height);b.translate(e,g);b.rotate(this.k);b.translate(l,r);b.fillRect(a-l,d-r,this.width,this.height);b.restore()};b.$e=function(b){this.wb(b)};b.wb=
function(b){b.hc(this.A);b.Ce(this.opacity);var e=this.ze;e.right=this.width/this.B.width;e.bottom=this.height/this.B.height;var g=this.kc;if(this.b.uc){var a=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y;b.md(g.Ra+a,g.Sa+d,g.Fb+a,g.Gb+d,g.sb+a,g.tb+d,g.qb+a,g.rb+d,e)}else b.md(g.Ra,g.Sa,g.Fb,g.Gb,g.sb,g.tb,g.qb,g.rb,e)};l.c=new function(){};l.e=new function(){};g.prototype.Fp=function(b){b.u(this.B.width)};g.prototype.Ep=function(b){b.u(this.B.height)};l.j=new g})();
function Ec(g){this.b=g}
(function(){function g(a){r=a.x;f=a.y;m=a.z}function l(a,d,f,e){var g;g=c.length?c.pop():new b;g.init(a,d,f,e);return g}function b(){this.ij=this.id=this.y=this.x=this.am=this.$l=this.co=this.time=this.cp=0;this.pj=this.im=!1}function q(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function e(){}function k(){}var a=Ec.prototype;a.R=function(a){this.ba=a;this.b=a.b};a.R.prototype.I=
function(){};a.K=function(a){this.type=a;this.b=a.b;this.touches=[];this.ro=!1};var d=a.K.prototype,t={left:0,top:0};d.Kf=function(a){var b,c;b=0;for(c=this.touches.length;b<c;b++)if(this.touches[b].id===a)return b;return-1};var r=0,f=0,m=0,c=[];b.prototype.init=function(a,b,c,d){var f=Xa();this.cp=this.co=this.time=f;this.$l=a;this.am=b;this.x=a;this.y=b;this.pressure=this.height=this.width=0;this.id=c;this.ij=d;this.pj=this.im=!1};b.prototype.update=function(a,b,c,d,f,e){this.co=this.time;this.time=
a;this.x=b;this.y=c;this.width=d;this.height=f;this.pressure=e;!this.pj&&15<=Ta(this.$l,this.am,this.x,this.y)&&(this.pj=!0)};b.prototype.kz=function(a,b){!this.im&&500<=Xa()-this.cp&&!this.pj&&15>Ta(this.$l,this.am,this.x,this.y)&&(this.im=!0,a.be=this.ij,a.hg=this.id,a.Dg=b,a.b.trigger(Ec.prototype.c.$u,a),a.ke=this.x,a.le=this.y,a.b.trigger(Ec.prototype.c.av,a),a.Dg=0)};var h=-1E3,n=-1E3,v=-1E4;b.prototype.gs=function(a,b){if(!this.im){var c=Xa();333>=c-this.cp&&!this.pj&&15>Ta(this.$l,this.am,
this.x,this.y)&&(a.be=this.ij,a.hg=this.id,a.Dg=b,666>=c-v&&25>Ta(h,n,this.x,this.y)?(a.b.trigger(Ec.prototype.c.Vu,a),a.ke=this.x,a.le=this.y,a.b.trigger(Ec.prototype.c.Wu,a),n=h=-1E3,v=-1E4):(a.b.trigger(Ec.prototype.c.pv,a),a.ke=this.x,a.le=this.y,a.b.trigger(Ec.prototype.c.qv,a),h=this.x,n=this.y,v=c),a.Dg=0)}};d.I=function(){this.$y=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.Dg=this.hg=this.be=this.le=this.ke=this.iq=this.hq=this.gq=this.pw=this.ow=this.mw=this.sl=
this.rl=this.ql=0;this.HA=0!==this.C[0];var a=0<this.b.qc?document:this.b.canvas,b=document;this.b.Hb?b=a=window.Canvas:this.b.gd&&(b=a=window);var c=this;"undefined"!==typeof PointerEvent?(a.addEventListener("pointerdown",function(a){c.ws(a)},!1),a.addEventListener("pointermove",function(a){c.vs(a)},!1),b.addEventListener("pointerup",function(a){c.nl(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.nl(a,!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},
!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){c.ws(a)},!1),a.addEventListener("MSPointerMove",function(a){c.vs(a)},!1),b.addEventListener("MSPointerUp",function(a){c.nl(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.nl(a,
!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){c.ys(a)},!1),a.addEventListener("touchmove",function(a){c.xs(a)},!1),b.addEventListener("touchend",function(a){c.zo(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.zo(a,!0)},!1));if(this.$y){var d=function(a){a=a.reading;c.gq=a.accelerationX;c.hq=a.accelerationY;
c.iq=a.accelerationZ},f=function(a){a=a.reading;c.ql=a.yawDegrees;c.rl=a.pitchDegrees;c.sl=a.rollDegrees},e=Windows.Devices.Sensors.Accelerometer.getDefault();e&&(e.reportInterval=Math.max(e.minimumReportInterval,16),e.addEventListener("readingchanged",d));var h=Windows.Devices.Sensors.Inclinometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?
(e&&e.removeEventListener("readingchanged",d),h&&h.removeEventListener("readingchanged",f)):(e&&e.addEventListener("readingchanged",d),h&&h.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){c.ql=a.alpha||0;c.rl=a.beta||0;c.sl=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.mw=a.accelerationIncludingGravity.x||0,c.ow=a.accelerationIncludingGravity.y||0,c.pw=a.accelerationIncludingGravity.z||
0);a.acceleration&&(c.gq=a.acceleration.x||0,c.hq=a.acceleration.y||0,c.iq=a.acceleration.z||0)},!1);this.HA&&!this.b.Da&&(jQuery(document).mousemove(function(a){c.xz(a)}),jQuery(document).mousedown(function(a){c.wz(a)}),jQuery(document).mouseup(function(a){c.yz(a)}));!this.b.Qg&&this.b.Tc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(g,null,{frequency:40});this.b.xA(this)};d.vs=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&
"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Kf(a.pointerId),c=Xa();if(0<=b){var d=this.b.Da?t:jQuery(this.b.canvas).offset(),b=this.touches[b];2>c-b.time||b.update(c,a.pageX-d.left,a.pageY-d.top,a.width||0,a.height||0,a.pressure||0)}}};d.ws=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&ob(a)&&a.preventDefault();var b=this.b.Da?t:jQuery(this.b.canvas).offset(),c=a.pageX-b.left,b=a.pageY-b.top;Xa();this.be=this.touches.length;
this.hg=a.pointerId;this.touches.push(l(c,b,a.pointerId,this.be));this.b.Vc=!0;this.b.trigger(Ec.prototype.c.Up,this);this.b.trigger(Ec.prototype.c.Fm,this);this.ke=c;this.le=b;this.b.trigger(Ec.prototype.c.Em,this);this.b.Vc=!1}};d.nl=function(a,b){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&ob(a)&&a.preventDefault();var d=this.Kf(a.pointerId);this.be=0<=d?this.touches[d].ij:-1;this.hg=0<=d?this.touches[d].id:-1;this.b.Vc=!0;this.b.trigger(Ec.prototype.c.Tp,
this);this.b.trigger(Ec.prototype.c.Dm,this);0<=d&&(b||this.touches[d].gs(this,d),100>c.length&&c.push(this.touches[d]),this.touches.splice(d,1));this.b.Vc=!1}};d.xs=function(a){a.preventDefault&&a.preventDefault();var b=Xa(),c,d,f,e;c=0;for(d=a.changedTouches.length;c<d;c++)if(f=a.changedTouches[c],e=this.Kf(f.identifier),0<=e){var g=this.b.Da?t:jQuery(this.b.canvas).offset();e=this.touches[e];2>b-e.time||e.update(b,f.pageX-g.left,f.pageY-g.top,2*(f.PB||f.XB||f.IB||f.LB||0),2*(f.QB||f.YB||f.JB||
f.MB||0),f.AB||f.WB||f.HB||f.KB||0)}};d.ys=function(a){a.preventDefault&&ob(a)&&a.preventDefault();var b=this.b.Da?t:jQuery(this.b.canvas).offset();Xa();this.b.Vc=!0;var c,d,f,e;c=0;for(d=a.changedTouches.length;c<d;c++)if(f=a.changedTouches[c],e=this.Kf(f.identifier),-1===e){e=f.pageX-b.left;var g=f.pageY-b.top;this.be=this.touches.length;this.hg=f.identifier;this.touches.push(l(e,g,f.identifier,this.be));this.b.trigger(Ec.prototype.c.Up,this);this.b.trigger(Ec.prototype.c.Fm,this);this.ke=e;this.le=
g;this.b.trigger(Ec.prototype.c.Em,this)}this.b.Vc=!1};d.zo=function(a,b){a.preventDefault&&ob(a)&&a.preventDefault();this.b.Vc=!0;var d,f,e;d=0;for(f=a.changedTouches.length;d<f;d++)e=a.changedTouches[d],e=this.Kf(e.identifier),0<=e&&(this.be=this.touches[e].ij,this.hg=this.touches[e].id,this.b.trigger(Ec.prototype.c.Tp,this),this.b.trigger(Ec.prototype.c.Dm,this),b||this.touches[e].gs(this,e),100>c.length&&c.push(this.touches[e]),this.touches.splice(e,1));this.b.Vc=!1};d.Rm=function(){return this.b.Tc&&
0===this.ql&&0!==m?90*m:this.ql};d.Kw=function(){return this.b.Tc&&0===this.rl&&0!==f?90*f:this.rl};d.nx=function(){return this.b.Tc&&0===this.sl&&0!==r?90*r:this.sl};d.wz=function(a){q(a)||(this.ys({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.ro=!0)};d.xz=function(a){this.ro&&!q(a)&&this.xs({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};d.yz=function(a){a.preventDefault&&this.b.br&&!this.b.Qf&&a.preventDefault();this.b.br=!0;q(a)||(this.zo({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]}),this.ro=!1)};d.ep=function(){var a,b,c,d=Xa();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.co=d),c.kz(this,a)};e.prototype.Fm=function(){return!0};e.prototype.Dm=function(){return!0};e.prototype.Em=function(a){return a?this.b.em(a,this.ke,this.le):!1};e.prototype.Up=function(a){a=Math.floor(a);return a===this.be};e.prototype.Tp=function(a){a=Math.floor(a);return a===this.be};e.prototype.$u=function(){return!0};e.prototype.pv=function(){return!0};
e.prototype.Vu=function(){return!0};e.prototype.av=function(a){return a?this.b.em(a,this.ke,this.le):!1};e.prototype.qv=function(a){return a?this.b.em(a,this.ke,this.le):!1};e.prototype.Wu=function(a){return a?this.b.em(a,this.ke,this.le):!1};a.c=new e;a.e=new function(){};k.prototype.Sh=function(a,b){var c=this.Dg;if(0>c||c>=this.touches.length)a.u(0);else{var d,f,e,g,h;ha(b)?(d=this.b.Cg(0),f=d.scale,e=d.Jd,g=d.jd,h=d.k,d.scale=1,d.Jd=1,d.jd=1,d.k=0,a.u(d.Mb(this.touches[c].x,this.touches[c].y,
!0)),d.scale=f,d.Jd=e,d.jd=g,d.k=h):(d=ia(b)?this.b.Cg(b):this.b.Kk(b))?a.u(d.Mb(this.touches[c].x,this.touches[c].y,!0)):a.u(0)}};k.prototype.Rj=function(a,b){var c=this.Dg;if(0>c||c>=this.touches.length)a.u(0);else{var d,f,e,g,h;ha(b)?(d=this.b.Cg(0),f=d.scale,e=d.Jd,g=d.kd,h=d.k,d.scale=1,d.Jd=1,d.kd=1,d.k=0,a.u(d.Mb(this.touches[c].x,this.touches[c].y,!1)),d.scale=f,d.Jd=e,d.kd=g,d.k=h):(d=ia(b)?this.b.Cg(b):this.b.Kk(b))?a.u(d.Mb(this.touches[c].x,this.touches[c].y,!1)):a.u(0)}};k.prototype.Pt=
function(a,b){var c=this.Kf(b);0>c?a.u(0):a.u(this.touches[c].x)};k.prototype.Qt=function(a,b){var c=this.Kf(b);0>c?a.u(0):a.u(this.touches[c].y)};k.prototype.hw=function(a){a.u(this.hg)};a.j=new k})();function Fc(g){this.b=g}
(function(){function g(){}var l=Fc.prototype;l.R=function(b){this.ba=b;this.b=b.b};l.R.prototype.I=function(){};l.K=function(b){this.type=b;this.b=b.b};l.K.prototype.I=function(){this.Ew=this.C[0];this.Rz=!!this.C[1];!this.Rz&&this.b.Ig&&(require("discord-rich-presence/")(this.Ew),this.Kt=this.Ls=this.Jt=this.id=this.qq=null)};l.c=new function(){};l.e=new function(){};g.prototype.Jt=function(b){b.ca(this.Jt)};g.prototype.qq=function(b){b.ca(this.qq)};g.prototype.Kt=function(b){b.ca(this.Kt)};g.prototype.id=
function(b){b.ca(this.id)};g.prototype.Ls=function(b){b.ca(this.Ls)};l.j=new g})();function Gc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var q=Gc.prototype;q.R=function(a){this.ba=a;this.b=a.b};q.R.prototype.I=function(){};q.K=function(a){this.type=a;this.b=a.b};var e=q.K.prototype,k=window.URL||window.webkitURL||window.mozURL||window.msURL;e.I=function(){if(this.b.Da)ea("[Construct 2] File Chooser plugin not supported on this platform - the object will not be created");else{this.ac=document.createElement("input");this.ac.type="file";this.ac.setAttribute("accept",this.C[0]);0!==
this.C[1]&&this.ac.setAttribute("multiple","");this.ac.id=this.C[3];jQuery(this.ac).appendTo(this.b.ek?this.b.ek:"body");this.Gf=!1;0===this.C[2]&&(jQuery(this.ac).hide(),this.visible=!1,this.Gf=!0);var a=this;this.ac.onchange=function(){a.b.trigger(Gc.prototype.c.Kp,a)};this.Ir=this.Jr=this.Ar=this.Er=this.Hr=this.Cr=0;this.Ht(!0);this.b.vf(this)}};e.qf=function(){this.b.Da||(jQuery(this.ac).remove(),this.ac=null)};e.Qa=function(){this.Ht()};e.Ht=function(a){if(!this.b.Da){var b=this.n.Ab(this.x,
this.y,!0),e=this.n.Ab(this.x,this.y,!1),g=this.n.Ab(this.x+this.width,this.y+this.height,!0),f=this.n.Ab(this.x+this.width,this.y+this.height,!1),k=this.b.width/this.b.devicePixelRatio,c=this.b.height/this.b.devicePixelRatio;!this.visible||!this.n.visible||0>=g||0>=f||b>=k||e>=c?(this.Gf||jQuery(this.ac).hide(),this.Gf=!0):(1>b&&(b=1),1>e&&(e=1),g>=k&&(g=k-1),f>=c&&(f=c-1),k=window.innerWidth,c=window.innerHeight,a||this.Cr!==b||this.Hr!==e||this.Er!==g||this.Ar!==f||this.Jr!==k||this.Ir!==c?(this.Cr=
b,this.Hr=e,this.Er=g,this.Ar=f,this.Jr=k,this.Ir=c,this.Gf&&(jQuery(this.ac).show(),this.Gf=!1),a=Math.round(b)+jQuery(this.b.canvas).offset().left,k=Math.round(e)+jQuery(this.b.canvas).offset().top,jQuery(this.ac).css("position","absolute"),jQuery(this.ac).offset({left:a,top:k}),jQuery(this.ac).width(Math.round(g-b)),jQuery(this.ac).height(Math.round(f-e))):this.Gf&&(jQuery(this.ac).show(),this.Gf=!1))}};e.Ec=function(){};e.wb=function(){};g.prototype.Kp=function(){return!0};q.c=new g;l.prototype.Qh=
function(a){this.b.Da||(this.visible=0!==a)};q.e=new l;b.prototype.ou=function(a,b){var e;if(this.b.Da)e=null;else{e=this.ac.files;var g=b;e?(g=Math.floor(g),e=0>g||g>=e.length?null:e[g]):e=null}e?e.c2url?a.ca(e.c2url):k&&k.createObjectURL?(e.c2url=k.createObjectURL(e),a.ca(e.c2url)):a.ca(""):a.ca("")};q.j=new b})();function Hc(g){this.b=g}
(function(){function g(a){var b;if(!f[a])for(f[a]=Array(20),b=0;20>b;++b)f[a][b]=0;return f[a]}function l(a){var b;if(!m[a])for(m[a]=Array(20),b=0;20>b;++b)m[a][b]=0;return m[a]}function b(a,b){return b?4<=a?-1:a+16:16<=a?-1:a}function q(a){r[a.gamepad.index]=a.gamepad;d.trigger(Hc.prototype.c.Yu,t)}function e(a){d.trigger(Hc.prototype.c.Zu,t);r[a.gamepad.index]=null}function k(){}var a=Hc.prototype;a.R=function(a){this.ba=a;this.b=a.b};a.R.prototype.I=function(){};var d=null,t=null,r=Array(16),f=
Array(16),m=Array(16),c="",h="",n=null,v={windows:{}};v.windows.firefox={};var w=[0,1,2,3,4,5,8,9,10,11],p=[0,1,[7,6],2,3,[14,15],[12,13]];v.windows.firefox.xbox360=function(a,b){return b?a>=p.length?-1:ia(p[a])?p[a]+16:p[a]:a>=w.length?-1:w[a]};var H=[2,0,1,3,4,6,5,7,8,9],X=[0,1,2,3,[14,15],[12,13]];v.windows.firefox.logitechdualaction=function(a,b){return b?a>=X.length?-1:ia(X[a])?X[a]+16:X[a]:a>=H.length?-1:H[a]};a.K=function(a){this.type=a;d=this.b=a.b;t=this};var B=a.K.prototype;B.I=function(){this.Lw=
this.C[0];this.Xk=0;var a=navigator.userAgent;c="windows";/mac/i.test(a)&&(c="mac");n=v[c];h="chrome";/firefox/i.test(a)&&(h="firefox");n&&(n=n[h]);window.addEventListener("webkitgamepadconnected",q,!1);window.addEventListener("webkitgamepaddisconnected",e,!1);window.addEventListener("MozGamepadConnected",q,!1);window.addEventListener("MozGamepadDisconnected",e,!1);window.addEventListener("gamepadconnected",q,!1);window.addEventListener("gamepaddisconnected",e,!1);this.b.vf(this);this.Sj=[]};B.Qa=
function(){this.Sj.length=0;var a=null,c=!1;navigator.getGamepads?a=navigator.getGamepads():navigator.webkitGetGamepads?a=navigator.webkitGetGamepads():navigator.mozGetGamepads?a=navigator.mozGetGamepads():navigator.msGetGamepads?a=navigator.msGetGamepads():this.b.tr&&window.cr_getGamepads?(a=window.cr_getGamepads(),c=!0):a=navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||r;if(a){var d,e,h,k,q,p,t;d=0;for(e=a.length;d<e;d++){var v=a[d];if(v){var w=g(d),B=l(d);k=d;h=g(k);k=l(k);
q=void 0;for(q=0;20>q;++q)k[q]=h[q];c?h=b:n?(h="",k=v.id.toLowerCase(),-1<k.indexOf("xbox 360")?h="xbox360":-1<k.indexOf("logitech dual action")&&(h="logitechdualaction"),h=n[h]||b):h=b;q=h;h=0;for(k=v.buttons.length;h<k;h++)t="undefined"!==typeof v.buttons[h].value?v.buttons[h].value:v.buttons[h],p=q(h,!1,t),0<=p&&20>p&&(w[p]=100*t,50<=w[p]&&50>B[p]&&(this.Xk=p));h=0;for(k=v.axes.length;h<k;h++)t=v.axes[h],p=q(h,!0,t),ia(p)?0<=p&&20>p&&(w[p]=100*t):(w[p[0]]=0,w[p[1]]=0,0>=t?w[p[0]]=Math.abs(100*
t):w[p[1]]=Math.abs(100*t));this.Sj.push(v)}else v=d,f[v]=null,m[v]=null}for(;20>d;++d)a=d,f[a]=null,m[a]=null}};B.Eb=function(){return{lastButton:this.Xk}};B.Tb=function(a){this.Xk=a.lastButton};k.prototype.Yu=function(){return!0};k.prototype.Zu=function(){return!0};k.prototype.yu=function(a,b){a=Math.floor(a);if(0>a||a>=this.Sj.length)return!1;var c=g(a);if(!c)return!1;if(c=50<=c[b])this.Xk=b;return c};k.prototype.$t=function(a,b,c,d){a=Math.floor(a);b=Math.floor(b);if(0>a||a>=this.Sj.length)return!1;
if(a=g(a)){var e=a[b+16],f=0,f=0===b%2?a[b+16+1]:a[b+16-1];Math.sqrt(e*e+f*f)<=this.Lw&&(e=0);return kc(e,c,d)}};a.c=new k;a.e=new function(){};a.j=new function(){}})();function Ic(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var q=Ic.prototype;q.R=function(b){this.behavior=b;this.b=b.b};q.R.prototype.I=function(){};q.K=function(b,a){this.type=b;this.behavior=b.behavior;this.i=a;this.b=b.b;this.Te=this.eb=this.cb=0};var e=q.K.prototype;e.I=function(){this.Ah=this.C[0];this.Ko=this.C[1];this.enabled=0!==this.C[2]};e.Eb=function(){return{dx:this.cb,dy:this.eb,cancelStep:this.Te,enabled:this.enabled,stepMode:this.Ah,pxPerStep:this.Ko}};e.Tb=function(b){this.cb=b.dx;this.eb=
b.dy;this.Te=b.cancelStep;this.enabled=b.enabled;this.Ah=b.stepMode;this.Ko=b.pxPerStep};e.Zq=function(){return Math.sqrt(this.cb*this.cb+this.eb*this.eb)};e.yb=function(){return Math.atan2(this.eb,this.cb)};e.step=function(b,a,d){if(0!==b||0!==a){var e=this.i.x,g=this.i.y,f,m=Math.round(Math.sqrt(b*b+a*a)/this.Ko);0===m&&(m=1);var c;for(c=1;c<=m;c++)if(f=c/m,this.i.x=e+b*f,this.i.y=g+a*f,this.i.Ea(),this.b.trigger(d,this.i),1===this.Te){c--;f=c/m;this.i.x=e+b*f;this.i.y=g+a*f;this.i.Ea();break}else if(2===
this.Te)break}};e.Qa=function(){var b=this.b.Bg(this.i),a=this.cb*b,b=this.eb*b;0===this.cb&&0===this.eb||!this.enabled||(this.Te=0,0===this.Ah?(this.i.x+=a,this.i.y+=b):1===this.Ah?this.step(a,b,Ic.prototype.c.Tu):2===this.Ah?(this.step(a,0,Ic.prototype.c.zm),this.Te=0,this.step(0,b,Ic.prototype.c.Am)):3===this.Ah&&(this.step(0,b,Ic.prototype.c.Am),this.Te=0,this.step(a,0,Ic.prototype.c.zm)),this.i.Ea())};g.prototype.Du=function(){return 0!=this.cb||0!=this.eb};g.prototype.du=function(b,a,d){var e;
switch(b){case 0:e=this.Zq();break;case 1:e=this.cb;break;case 2:e=this.eb}return kc(e,a,d)};g.prototype.Tu=function(){return!0};g.prototype.zm=function(){return!0};g.prototype.Am=function(){return!0};q.c=new g;l.prototype.Km=function(){this.eb=this.cb=0};l.prototype.Zp=function(b){switch(b){case 0:this.cb*=-1;this.eb*=-1;break;case 1:this.cb*=-1;break;case 2:this.eb*=-1}};l.prototype.Uv=function(b,a){var d;switch(b){case 0:d=this.yb();this.cb=Math.cos(d)*a;this.eb=Math.sin(d)*a;break;case 1:this.cb=
a;break;case 2:this.eb=a}};l.prototype.Rt=function(b,a){var d=b*this.b.Bg(this.i),e=A(a);this.cb+=Math.cos(e)*d;this.eb+=Math.sin(e)*d};l.prototype.Jv=function(b){b=A(b);var a=this.Zq();this.cb=Math.cos(b)*a;this.eb=Math.sin(b)*a};l.prototype.ew=function(b){this.Te=b+1};l.prototype.Im=function(b){this.enabled=1===b};q.e=new l;b.prototype.cb=function(b){b.u(this.cb)};b.prototype.eb=function(b){b.u(this.eb)};q.j=new b})();function Jc(g){this.b=g}
(function(){function g(){}var l=Jc.prototype;l.R=function(b){this.behavior=b;this.b=b.b};l.R.prototype.I=function(){};l.K=function(b,e){this.type=b;this.behavior=b.behavior;this.i=e;this.b=b.b};var b=l.K.prototype;b.I=function(){this.i.ua.jumpthruEnabled=0!==this.C[0]};b.Qa=function(){};l.c=new function(){};g.prototype.Im=function(b){this.i.ua.jumpthruEnabled=!!b};l.e=new g})();var Kc=[],Lc=[],Mc=[],Nc=[],Oc=[],Pc=[],Qc=[],Rc=[],Xc=[],Yc=[];
function Zc(g){return result=(g/=1)<1/2.75?7.5625*g*g+0:g<2/2.75?1*(7.5625*(g-=1.5/2.75)*g+.75)+0:g<2.5/2.75?1*(7.5625*(g-=2.25/2.75)*g+.9375)+0:1*(7.5625*(g-=2.625/2.75)*g+.984375)+0}function $c(g,l){return Math.round(g/l*1E4)}
function ad(g,l,b,q,e){var k=0;switch(g){case 0:k=1*l/b+0;break;case 1:k=1*(l/=b)*l+0;break;case 2:k=-1*(l/=b)*(l-2)+0;break;case 3:k=1>(l/=b/2)?.5*l*l+0:-.5*(--l*(l-2)-1)+0;break;case 4:k=1*(l/=b)*l*l+0;break;case 5:k=1*((l=l/b-1)*l*l+1)+0;break;case 6:k=1>(l/=b/2)?.5*l*l*l+0:.5*((l-=2)*l*l+2)+0;break;case 7:k=1*(l/=b)*l*l*l+0;break;case 8:k=-1*((l=l/b-1)*l*l*l-1)+0;break;case 9:k=1>(l/=b/2)?.5*l*l*l*l+0:-.5*((l-=2)*l*l*l-2)+0;break;case 10:k=1*(l/=b)*l*l*l*l+0;break;case 11:k=1*((l=l/b-1)*l*l*l*
l+1)+0;break;case 12:k=1>(l/=b/2)?.5*l*l*l*l*l+0:.5*((l-=2)*l*l*l*l+2)+0;break;case 13:e.Hc?k=Oc[$c(l,b)]:k=-(Math.sqrt(1-l*l)-1);break;case 14:e.Hc?k=Pc[$c(l,b)]:k=Math.sqrt(1-(l-1)*(l-1));break;case 15:k=e.Hc?Qc[$c(l,b)]:1>(l/=b/2)?-.5*(Math.sqrt(1-l*l)-1)+0:.5*(Math.sqrt(1-(l-=2)*l)+1)+0;break;case 16:e.Hc?k=Rc[$c(l,b)]:(e=e.yc,k=1*(l/=b)*l*((e+1)*l-e)+0);break;case 17:e.Hc?k=Xc[$c(l,b)]:(e=e.yc,k=1*((l=l/b-1)*l*((e+1)*l+e)+1)+0);break;case 18:e.Hc?k=Yc[$c(l,b)]:(e=e.yc,k=1>(l/=b/2)?.5*l*l*(((e*=
1.525)+1)*l-e)+0:.5*((l-=2)*l*(((e*=1.525)+1)*l+e)+2)+0);break;case 19:e.Hc?k=Lc[$c(l,b)]:(k=e.ng,g=e.tl,l/=b,0==g&&(g=.3*b),0==k||k<Math.abs(1)?(k=1,e=g/4):e=g/(2*Math.PI)*Math.asin(1/k),k=-(k*Math.pow(2,10*--l)*Math.sin(2*(l*b-e)*Math.PI/g))+0);break;case 20:e.Hc?k=Mc[$c(l,b)]:(k=e.ng,g=e.tl,l/=b,0==g&&(g=.3*b),0==k||k<Math.abs(1)?(k=1,e=g/4):e=g/(2*Math.PI)*Math.asin(1/k),k=k*Math.pow(2,-10*l)*Math.sin(2*(l*b-e)*Math.PI/g)+1);break;case 21:e.Hc?k=Nc[$c(l,b)]:(k=e.ng,g=e.tl,l/=b/2,0==g&&(g=.3*b*
1.5),0==k||k<Math.abs(1)?(k=1,e=g/4):e=g/(2*Math.PI)*Math.asin(1/k),k=1>l?-.5*k*Math.pow(2,10*--l)*Math.sin(2*(l*b-e)*Math.PI/g)+0:k*Math.pow(2,-10*--l)*Math.sin(2*(l*b-e)*Math.PI/g)*.5+1);break;case 22:k=e.Hc?1-Kc[$c(b-l,b)]+0:1-Zc(b-l/b)+0;break;case 23:k=e.Hc?Kc[$c(l,b)]:Zc(l/b);break;case 24:k=e.Hc?l<b/2?.5*(1-Kc[$c(b-2*l,b)]+0)+0:.5*Kc[$c(2*l-b,b)]+.5:l<b/2?.5*(1-Zc(b-2*l)+0)+0:.5*Zc((2*l-b)/b)+.5;break;case 25:l=l/b/2;k=2*l*l*(3-2*l);break;case 26:l=(l/b+1)/2;k=2*l*l*(3-2*l)-1;break;case 27:l=
l/b,k=l*l*(3-2*l)}return q?1-k:k}
for(var bd=0,cd=0,dd=0,Z=0,ed=0,fd=0;1E4>=fd;fd++)Z=fd/1E4,bd=(Z/=1)<1/2.75?7.5625*Z*Z+0:Z<2/2.75?1*(7.5625*(Z-=1.5/2.75)*Z+.75)+0:Z<2.5/2.75?1*(7.5625*(Z-=2.25/2.75)*Z+.9375)+0:1*(7.5625*(Z-=2.625/2.75)*Z+.984375)+0,Kc[fd]=bd,Z=fd/1E4,dd=cd=0,Z/=1,0==dd&&(dd=.3),0==cd||cd<Math.abs(1)?(cd=1,ed=dd/4):ed=dd/(2*Math.PI)*Math.asin(1/cd),bd=-(cd*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-ed)*Math.PI/dd))+0,Lc[fd]=bd,Z=fd/1E4,dd=cd=0,Z/=1,0==dd&&(dd=.3),0==cd||cd<Math.abs(1)?(cd=1,ed=dd/4):ed=dd/(2*Math.PI)*Math.asin(1/
cd),bd=cd*Math.pow(2,-10*Z)*Math.sin(2*(1*Z-ed)*Math.PI/dd)+1,Mc[fd]=bd,Z=fd/1E4,dd=cd=0,Z/=.5,0==dd&&(dd=.3*1.5),0==cd||cd<Math.abs(1)?(cd=1,ed=dd/4):ed=dd/(2*Math.PI)*Math.asin(1/cd),bd=1>Z?-.5*cd*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-ed)*Math.PI/dd)+0:cd*Math.pow(2,-10*--Z)*Math.sin(2*(1*Z-ed)*Math.PI/dd)*.5+1,Nc[fd]=bd,Z=fd/1E4,Oc[fd]=-(Math.sqrt(1-Z*Z)-1),Z=fd/1E4,Pc[fd]=Math.sqrt(1-(Z-1)*(Z-1)),Z=fd/1E4,bd=1>(Z/=.5)?-.5*(Math.sqrt(1-Z*Z)-1)+0:.5*(Math.sqrt(1-(Z-=2)*Z)+1)+0,Qc[fd]=bd,Z=fd/1E4,ed=
0,0==ed&&(ed=1.70158),bd=1*(Z/=1)*Z*((ed+1)*Z-ed)+0,Rc[fd]=bd,Z=fd/1E4,ed=0,0==ed&&(ed=1.70158),bd=1*((Z=Z/1-1)*Z*((ed+1)*Z+ed)+1)+0,Xc[fd]=bd,Z=fd/1E4,ed=0,0==ed&&(ed=1.70158),bd=1>(Z/=.5)?.5*Z*Z*(((ed*=1.525)+1)*Z-ed)+0:.5*((Z-=2)*Z*(((ed*=1.525)+1)*Z+ed)+2)+0,Yc[fd]=bd;
function gd(g,l,b,q,e,k,a){this.name=g;this.value=0;this.rh(q);this.Ul(e);this.Ff=b;this.Ta=l;this.duration=k;this.state=this.P=0;this.ol=this.pl=this.ml=this.fh=!1;this.Sb=this.Pa=0;this.cc=a;this.ye=1;this.gi=!1;this.Oc=[];this.Gr=1;for(g=0;28>g;g++)this.Oc[g]={},this.Oc[g].ng=0,this.Oc[g].tl=0,this.Oc[g].Bh=0,this.Oc[g].yc=0,this.Oc[g].Hc=!0}gd.prototype={};gd.prototype.rh=function(g){this.na=parseFloat(g.split(",")[0]);this.jb=parseFloat(g.split(",")[1]);this.Sb=this.Pa=0};
gd.prototype.Ul=function(g){this.la=parseFloat(g.split(",")[0]);this.bb=parseFloat(g.split(",")[1]);isNaN(this.bb)&&(this.bb=this.la)};
gd.prototype.Cm=function(g){if(0===this.state)return-1;1===this.state&&(this.P+=g);2===this.state&&(this.P-=g);3===this.state&&(this.state=0);if(4===this.state||6===this.state)this.P+=g*this.ye;5===this.state&&(this.P+=g*this.ye);return 0>this.P?(this.P=0,4===this.state?this.ye=1:6===this.state?(this.ye=1,this.gi=!1):this.state=0,this.ol=!0,0):this.P>this.duration?(this.P=this.duration,4===this.state?this.ye=-1:6===this.state?(this.ye=-1,this.gi=!0):5===this.state?this.P=0:this.state=0,this.ml=!0,
1):this.gi?ad(this.Ff,this.duration-this.P,this.duration,this.gi,this.Oc[this.Ff]):ad(this.Ff,this.P,this.duration,this.gi,this.Oc[this.Ff])};function hd(g){this.b=g}
(function(){var g=hd.prototype;g.R=function(b){this.behavior=b;this.b=b.b};g.R.prototype.I=function(){};g.K=function(b,g){this.type=b;this.behavior=b.behavior;this.i=g;this.b=b.b};var l=g.K.prototype;l.I=function(){this.kh=this.C[0];this.Ua=1==this.kh||2==this.kh||3==this.kh||4==this.kh;this.Ta=this.C[1];this.mn=this.C[2];this.target=this.C[3];this.cm=this.C[4];this.mm=!1;1===this.cm&&(this.target="relative("+this.target+")");this.duration=this.C[5];this.cc=1===this.C[6];this.value=0;this.F={};this.mq(this.Ta,
this.mn,"current",this.target,this.duration,this.cc);1===this.C[0]&&this.hj(0);2===this.C[0]&&this.hj(2);3===this.C[0]&&this.hj(3);4===this.C[0]&&this.hj(4)};l.Vd=function(b,g){void 0===g&&(g="current");var e=g.replace(/^\s\s*/,"").replace(/\s\s*$/,"");g=g.replace(/^\s\s*/,"").replace(/\s\s*$/,"");var k=this.value;if("current"===g)switch(b){case 0:e=this.i.x+","+this.i.y;break;case 1:e=this.i.width+","+this.i.height;break;case 2:e=this.i.width+","+this.i.height;break;case 3:e=this.i.width+","+this.i.height;
break;case 4:e=Ha(this.i.k)+","+Ha(this.i.k);break;case 5:e=100*this.i.opacity+","+100*this.i.opacity;break;case 6:e=k+","+k;break;case 7:e=this.i.x+","+this.i.y;break;case 8:e=this.i.x+","+this.i.y;break;case 9:e=void 0!==this.i.Ga?this.i.width/this.i.Ga.width+","+this.i.height/this.i.Ga.height:"1,1"}if("relative"===g.substring(0,8)){var a=g.match(/\((.*?)\)/);if(a)var d=parseFloat(a[1].split(",")[0]),l=parseFloat(a[1].split(",")[1]);isNaN(d)&&(d=0);isNaN(l)&&(l=0);switch(b){case 0:e=this.i.x+d+
","+(this.i.y+l);break;case 1:e=this.i.width+d+","+(this.i.height+l);break;case 2:e=this.i.width+d+","+(this.i.height+l);break;case 3:e=this.i.width+d+","+(this.i.height+l);break;case 4:e=Ha(this.i.k)+d+","+(Ha(this.i.k)+l);break;case 5:e=100*this.i.opacity+d+","+(100*this.i.opacity+l);break;case 6:e=k+d+","+k+d;break;case 7:e=this.i.x+d+","+this.i.y;break;case 8:e=this.i.x+","+(this.i.y+d);break;case 9:e=d+","+l}}return e};l.mq=function(b,g,e,k,a,d){e=this.Vd(b,e);k=this.Vd(b,k);void 0!==this.F["default"]&&
delete this.F["default"];this.F["default"]=new gd("default",b,g,e,k,a,d);this.F["default"].oe=0};l.Eb=function(){JSON.stringify(this.F["default"]);return{playmode:this.kh,active:this.Ua,tweened:this.Ta,easing:this.mn,target:this.target,targetmode:this.cm,useCurrent:this.mm,duration:this.duration,enforce:this.cc,value:this.value,tweenlist:JSON.stringify(this.F["default"])}};gd.Mu=function(b,g,e,k,a,d,l,r){g=new gd(g,e,k,a,d,l,r);for(var f in b)g[f]=b[f];return g};l.Tb=function(b){var g=JSON.parse(b.tweenlist),
g=gd.Mu(g,g.name,g.Ta,g.Ff,g.na+","+g.jb,g.la+","+g.bb,g.duration,g.cc);this.F["default"]=g;this.kh=b.playmode;this.Ua=b.active;this.mn=b.easing;this.target=b.target;this.cm=b.targetmode;this.mm=b.useCurrent;this.duration=b.duration;this.cc=b.enforce;this.value=b.value};l.nA=function(b){1<b&&(b=1);0>b&&(b=0);for(var g in this.F){var e=this.F[g];e.Pa=0;e.Sb=0;e.state=3;e.P=b*e.duration;var k=e.Cm(0);this.op(e,k)}};l.hj=function(b){for(var g in this.F){var e=this.F[g];if(this.mm){var k=this.Vd(e.Ta,
"current"),a=this.Vd(e.Ta,this.target);e.rh(k);e.Ul(a)}0===b&&(e.P=1E-6,e.Pa=0,e.Sb=0,e.fh=!0,e.state=1);1===b&&(e.state=e.Gr);if(2===b||4===b)e.P=1E-6,e.Pa=0,e.Sb=0,e.fh=!0,2==b&&(e.state=4),4==b&&(e.state=6);3===b&&(e.P=1E-6,e.Pa=0,e.Sb=0,e.fh=!0,e.state=5)}};l.uA=function(b){for(var g in this.F){var e=this.F[g];3!=e.state&&0!=e.state&&(e.Gr=e.state);1===b&&(e.P=0);2===b&&(e.P=e.duration);e.state=3;var k=e.Cm(0);this.op(e,k)}};l.aA=function(b){for(var g in this.F){var e=this.F[g];1===b&&(e.P=e.duration,
e.Pa=0,e.Sb=0,e.pl=!0);e.state=2}};l.op=function(b,g){if(0===b.Ta)b.cc?(this.i.x=b.na+(b.la-b.na)*g,this.i.y=b.jb+(b.bb-b.jb)*g):(this.i.x+=(b.la-b.na)*g-b.Pa,this.i.y+=(b.bb-b.jb)*g-b.Sb,b.Pa=(b.la-b.na)*g,b.Sb=(b.bb-b.jb)*g);else if(1===b.Ta)b.cc?(this.i.width=b.na+(b.la-b.na)*g,this.i.height=b.jb+(b.bb-b.jb)*g):(this.i.width+=(b.la-b.na)*g-b.Pa,this.i.height+=(b.bb-b.jb)*g-b.Sb,b.Pa=(b.la-b.na)*g,b.Sb=(b.bb-b.jb)*g);else if(2===b.Ta)b.cc?this.i.width=b.na+(b.la-b.na)*g:(this.i.width+=(b.la-b.na)*
g-b.Pa,b.Pa=(b.la-b.na)*g);else if(3===b.Ta)b.cc?this.i.height=b.jb+(b.bb-b.jb)*g:(this.i.height+=(b.bb-b.jb)*g-b.Sb,b.Sb=(b.bb-b.jb)*g);else if(4===b.Ta)if(b.cc){var e=b.na+(b.la-b.na)*g;this.i.k=La(A(e))}else e=(b.la-b.na)*g-b.Pa,this.i.k=La(this.i.k+A(e)),b.Pa=(b.la-b.na)*g;else if(5===b.Ta)b.cc?this.i.opacity=(b.na+(b.la-b.na)*g)/100:(this.i.opacity+=((b.la-b.na)*g-b.Pa)/100,b.Pa=(b.la-b.na)*g);else if(6===b.Ta)b.cc?this.value=b.na+(b.la-b.na)*g:(this.value+=(b.la-b.na)*g-b.Pa,b.Pa=(b.la-b.na)*
g);else if(7===b.Ta)b.cc?this.i.x=b.na+(b.la-b.na)*g:(this.i.x+=(b.la-b.na)*g-b.Pa,b.Pa=(b.la-b.na)*g);else if(8===b.Ta)b.cc?this.i.y=b.jb+(b.bb-b.jb)*g:(this.i.y+=(b.bb-b.jb)*g-b.Sb,b.Sb=(b.bb-b.jb)*g);else if(9===b.Ta){var e=b.na+(b.la-b.na)*g,k=b.jb+(b.bb-b.jb)*g;0>this.i.width&&(e=b.na+(b.la+b.na)*-g);0>this.i.height&&(k=b.jb+(b.bb+b.jb)*-g);b.cc?(this.i.width=this.i.Ga.width*e,this.i.height=this.i.Ga.height*k):(0>this.i.width?(this.i.width=this.i.width/(-1+b.Pa)*e,b.Pa=e+1):(this.i.width=this.i.width/
(1+b.Pa)*e,b.Pa=e-1),0>this.i.height?(this.i.height=this.i.height/(-1+b.Sb)*k,b.Sb=k+1):(this.i.height=this.i.height/(1+b.Sb)*k,b.Sb=k-1))}this.i.Ea()};l.Qa=function(){var b=this.b.Bg(this.i),g=this.F["default"];0!==g.state&&(g.fh&&(this.b.trigger(hd.prototype.c.ov,this.i),g.fh=!1),g.pl&&(this.b.trigger(hd.prototype.c.mv,this.i),g.pl=!1),this.Ua=1==g.state||2==g.state||4==g.state||5==g.state||6==g.state,b=g.Cm(b),this.op(g,b),g.ml&&(this.b.trigger(hd.prototype.c.Xu,this.i),g.ml=!1),g.ol&&(this.b.trigger(hd.prototype.c.lv,
this.i),g.ol=!1))};g.c={};l=g.c;l.QA=function(){return 0!==this.F["default"].state};l.TA=function(){return 2==this.F["default"].state};l.NA=function(b,g){var e=this.F["default"];return kc(e.P/e.duration,b,g)};l.YA=function(b,g){var e=this.F["default"];this.nj=kc(e.P/e.duration,b,g);if(e=this.yo!=this.nj&&this.nj)this.yo=this.nj;return e};l.ov=function(){return void 0===this.F["default"]?!1:this.F["default"].fh};l.mv=function(){return void 0===this.F["default"]?!1:this.F["default"].pl};l.Xu=function(){return void 0===
this.F["default"]?!1:this.F["default"].ml};l.lv=function(){return void 0===this.F["default"]?!1:this.F["default"].ol};g.e={};l=g.e;l.sB=function(b,g){this.yo=this.nj=!1;this.mm=1==g;this.hj(b)};l.Km=function(b){this.uA(b)};l.Zp=function(b){this.yo=this.nj=!1;this.aA(b)};l.cB=function(b){this.nA(b)};l.iB=function(b){isNaN(b)||0>b||void 0===this.F["default"]||(this.F["default"].duration=b)};l.lB=function(b){void 0!==this.F["default"]&&(this.F["default"].cc=1===b)};l.mB=function(b){void 0!==this.F["default"]&&
(b=this.Vd(this.F["default"].Ta,b),this.F["default"].rh(b))};l.oB=function(b,g,e){if(void 0!==this.F["default"]&&!isNaN(e)){var k=this.F["default"],a=e+"";this.cm=g;var d="",l="";if(1===g){this.target="relative("+a+")";switch(b){case 0:d=this.i.x+e;l=k.bb;break;case 1:d=k.la;l=this.i.y+e;break;case 2:l=d=""+Ha(this.i.k+A(e));break;case 3:l=d=""+100*this.i.opacity+e;break;case 4:d=this.i.width+e;l=k.bb;break;case 5:d=k.la;l=this.i.height+e;break;case 6:l=d=e}a=d+","+l}else{switch(b){case 0:d=e;l=k.bb;
break;case 1:d=k.la;l=e;break;case 2:l=d=e;break;case 3:l=d=e;break;case 4:d=e;l=k.bb;break;case 5:d=k.la;l=e;break;case 6:l=d=e}this.target=a=d+","+l}b=this.Vd(this.F["default"].Ta,"current");a=this.Vd(this.F["default"].Ta,a);k.rh(b);k.Ul(a)}};l.qB=function(b){void 0!==this.F["default"]&&(this.F["default"].Ta=b)};l.jB=function(b){void 0!==this.F["default"]&&(this.F["default"].Ff=b)};l.kB=function(b,g,e,k,a){void 0!==this.F["default"]&&(this.F["default"].Oc[b].Hc=!1,this.F["default"].Oc[b].ng=g,this.F["default"].Oc[b].tl=
e,this.F["default"].Oc[b].Bh=k,this.F["default"].Oc[b].yc=a)};l.dB=function(){void 0!==this.F["default"]&&(this.F["default"].Hc=!0)};l.rB=function(b){var g=this.F["default"];this.value=b;6===g.Ta&&g.rh(this.Vd(g.Ta,"current"))};l.nB=function(b,g,e,k,a){if(void 0===this.F["default"])this.mq(b,g,initial,e,k,a);else{var d=this.F["default"];d.Ta=b;d.Ff=g;d.rh(this.Vd(b,"current"));d.Ul(this.Vd(b,e));d.duration=k;d.cc=1===a}};g.j={};g=g.j;g.tB=function(b){var g="N/A";switch(this.F["default"].state){case 0:g=
"paused";break;case 1:g="playing";break;case 2:g="reversing";break;case 3:g="seeking"}b.ca(g)};g.Av=function(b){b.u(this.F["default"].P/this.F["default"].duration)};g.ku=function(b){b.u(this.F["default"].duration)};g.uB=function(b){var g=this.F["default"],e="N/A";switch(g.Ta){case 0:e=g.la;break;case 1:e=g.bb;break;case 2:e=g.la;break;case 3:e=g.la;break;case 4:e=g.la;break;case 5:e=g.bb;break;case 6:e=g.la}b.u(e)};g.xB=function(b){b.u(this.value)};g.wB=function(b,g,e,k,a){k=1<k?1:k;a=ad(a,0>k?0:
k,1,!1,!1);b.u(g+a*(e-g))}})();function id(g){this.b=g}(function(){function g(){}var l=id.prototype;l.R=function(b){this.behavior=b;this.b=b.b};l.R.prototype.I=function(){};l.K=function(b,e){this.type=b;this.behavior=b.behavior;this.i=e;this.b=b.b};var b=l.K.prototype;b.I=function(){this.i.ua.solidEnabled=0!==this.C[0]};b.Qa=function(){};l.c=new function(){};g.prototype.Im=function(b){this.i.ua.solidEnabled=!!b};l.e=new g})();
function tc(){return[W,vc,wc,xc,yc,zc,uc,Hc,Fc,Gc,Ac,Bc,Dc,E,Cc,Ec,id,Ic,Jc,hd,D.prototype.c.Qp,wc.prototype.e.Ph,wc.prototype.e.Bv,uc.prototype.e.CallFunction,D.prototype.e.Xv,D.prototype.e.Qv,E.prototype.e.Kv,Cc.prototype.c.Cj,Cc.prototype.e.Vv,D.prototype.j.FA,D.prototype.c.eu,xc.prototype.e.zv,xc.prototype.e.Play,E.prototype.e.Oj,D.prototype.e.iu,Cc.prototype.e.Oj,Cc.prototype.e.Pj,Cc.prototype.e.Nj,uc.prototype.c.Kj,Cc.prototype.e.Nh,D.prototype.c.mu,uc.prototype.j.rv,D.prototype.c.Zt,zc.prototype.j.Ju,
wc.prototype.j.Rh,D.prototype.c.lu,D.prototype.c.Dp,E.prototype.c.Cj,D.prototype.e.iw,E.prototype.e.Nh,E.prototype.e.mg,zc.prototype.j.ru,Ic.prototype.e.Im,Ic.prototype.e.Uv,E.prototype.j.hu,E.prototype.e.um,D.prototype.j.yq,W.prototype.e.Nh,E.prototype.e.Qh,W.prototype.e.Oj,xc.prototype.c.Hu,W.prototype.j.wp,W.prototype.j.yp,W.prototype.j.xp,W.prototype.j.vp,xc.prototype.e.bw,D.prototype.e.su,xc.prototype.e.xv,uc.prototype.c.bu,xc.prototype.e.Sv,D.prototype.j["float"],D.prototype.j["int"],W.prototype.e.Qh,
xc.prototype.e.Rv,D.prototype.c.Au,Cc.prototype.e.Ph,Cc.prototype.e.Jm,D.prototype.c.qu,E.prototype.j.Sh,E.prototype.j.Rj,E.prototype.e.Gm,wc.prototype.c.Dj,E.prototype.e.Qu,D.prototype.j.floor,D.prototype.j.random,E.prototype.e.dw,D.prototype.j.cos,D.prototype.j.oe,E.prototype.c.Dj,Cc.prototype.e.Hm,E.prototype.e.aw,E.prototype.e.Jm,E.prototype.e.Qj,E.prototype.e.Pj,E.prototype.j.Rh,E.prototype.e.aq,E.prototype.j.Opacity,E.prototype.c.Bp,E.prototype.c.Ip,Cc.prototype.e.Gm,wc.prototype.c.cu,wc.prototype.e.yv,
D.prototype.c.pu,D.prototype.j.min,D.prototype.j.iz,wc.prototype.j.Vt,wc.prototype.c.fu,D.prototype.e.Tt,D.prototype.j.pz,wc.prototype.e.ju,wc.prototype.j.Wt,D.prototype.c.sv,E.prototype.e.cq,W.prototype.e.mg,W.prototype.e.Qj,W.prototype.e.Pj,W.prototype.e.Gm,Ic.prototype.e.Jv,W.prototype.e.Ou,W.prototype.j.Rh,W.prototype.e.fq,D.prototype.j.sin,W.prototype.j.Sh,W.prototype.j.Rj,W.prototype.c.xm,W.prototype.c.Cj,D.prototype.c.tv,E.prototype.e.$p,E.prototype.e.Hm,E.prototype.j.Ut,uc.prototype.e.Tv,
E.prototype.c.Fu,E.prototype.c.vm,W.prototype.c.Cp,Ic.prototype.j.eb,E.prototype.j.vp,E.prototype.j.yp,uc.prototype.j.zp,Ic.prototype.j.cb,Ic.prototype.c.zm,E.prototype.c.xm,D.prototype.j.abs,D.prototype.e.fw,Ic.prototype.c.du,Ic.prototype.e.ew,Ic.prototype.c.Am,W.prototype.e.Nj,D.prototype.j.Hz,W.prototype.c.Dj,D.prototype.j.ez,D.prototype.j.dz,W.prototype.j.Ej,W.prototype.e.Ph,W.prototype.j.dq,W.prototype.c.Yp,W.prototype.e.Lm,D.prototype.c.vm,D.prototype.j.k,W.prototype.c.Gp,xc.prototype.e.Km,
Dc.prototype.e.fq,Dc.prototype.e.Oj,E.prototype.c.Cp,E.prototype.j.Fp,E.prototype.e.Nj,E.prototype.j.Ep,E.prototype.e.Lm,Dc.prototype.e.Qh,E.prototype.c.au,E.prototype.c.Gp,Dc.prototype.c.Hp,Dc.prototype.e.um,Dc.prototype.c.Cj,E.prototype.j.Ej,Dc.prototype.e.aq,Dc.prototype.c.Bp,Dc.prototype.e.Nj,Dc.prototype.e.mg,Dc.prototype.e.Qj,Dc.prototype.e.$p,Dc.prototype.e.Pj,Dc.prototype.j.Opacity,E.prototype.j.xp,E.prototype.j.wp,E.prototype.c.Eu,D.prototype.c.uv,Dc.prototype.e.bq,Dc.prototype.e.Ph,E.prototype.c.wu,
E.prototype.e.Lv,E.prototype.j.uu,E.prototype.j.vu,E.prototype.c.Hp,E.prototype.j.Lu,D.prototype.j.time,W.prototype.c.de,W.prototype.e.Ov,W.prototype.e.Hm,E.prototype.c.Yp,E.prototype.j.dq,E.prototype.j.wv,Ic.prototype.c.Du,E.prototype.e.Pu,Dc.prototype.e.Nh,E.prototype.e.Zv,Ic.prototype.e.Rt,Dc.prototype.e.cq,Dc.prototype.j.Ej,Dc.prototype.j.Rh,D.prototype.j.ceil,Dc.prototype.j.Sh,D.prototype.j.MA,D.prototype.j.Fz,D.prototype.j.Ez,D.prototype.e.Gv,D.prototype.e.Hv,D.prototype.e.Iv,D.prototype.c.Pp,
D.prototype.c.Gu,Cc.prototype.e.bq,Cc.prototype.j.Sh,Cc.prototype.j.Rj,Ac.prototype.c.Mp,Hc.prototype.c.$t,Hc.prototype.c.yu,Ac.prototype.c.Bu,D.prototype.c.Cu,Ec.prototype.c.Fm,yc.prototype.e.Fv,Ec.prototype.j.Pt,Ec.prototype.j.hw,Ec.prototype.j.Qt,D.prototype.j.Cw,D.prototype.j.Dw,D.prototype.c.vv,Ec.prototype.c.Em,Ec.prototype.c.Dm,zc.prototype.e.Ap,zc.prototype.e.St,D.prototype.j.CA,D.prototype.j.BA,D.prototype.j.left,D.prototype.j.mz,D.prototype.c.jw,D.prototype.c.Dv,zc.prototype.c.tu,D.prototype.e.Wv,
Cc.prototype.c.de,Cc.prototype.e.Nv,Cc.prototype.e.um,D.prototype.j.fz,Cc.prototype.e.Lm,Cc.prototype.c.xm,Cc.prototype.c.Lp,Cc.prototype.e.mg,Cc.prototype.e.Qj,E.prototype.c.de,wc.prototype.c.ym,wc.prototype.e.Yv,zc.prototype.c.ym,vc.prototype.e.Ev,vc.prototype.c.Oh,vc.prototype.j.Ku,Cc.prototype.e.Qh,yc.prototype.c.Xp,yc.prototype.e.gu,yc.prototype.c.Mj,Cc.prototype.e.Pv,Gc.prototype.e.Nh,yc.prototype.e.nu,Gc.prototype.c.Kp,Gc.prototype.j.ou,yc.prototype.j.Cv,wc.prototype.e.mg,D.prototype.j.Ny,
D.prototype.j.Nw,D.prototype.j.Fh]};