window.onerror = function(e){ alert(e); } Array.prototype._f1 = 0; var _g1 = { _h1: [{ _i1: ["tph_djs.js"], init: "dj_init" }, { _i1: ["uph_loadingBars.js"] }], _j1: [], _k1: [], _l1: [{ _m1: "spr_title", width: 288, height: 129, _n1: !1, _o1: !1, preload: !1, _p1: 144, _q1: 64, _r1: 287, _s1: 128, _t1: [0] }, { _m1: "spr_title_shine", width: 240, height: 240, _n1: !1, _o1: !1, preload: !1, _p1: 120, _q1: 120, _u1: 1, _r1: 238, _v1: 1, _s1: 238, _t1: [1] }, { _m1: "spr_player", width: 48, height: 48, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [2, 3, 4, 5, 6, 7] }, { _m1: "spr_player_shoe", width: 48, height: 48, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _u1: 17, _r1: 31, _v1: 17, _s1: 31, _t1: [8] }, { _m1: "spr_portal", width: 64, height: 64, _n1: !1, _o1: !1, preload: !1, _p1: 32, _q1: 32, _u1: 1, _r1: 62, _v1: 1, _s1: 62, _t1: [9] }, { _m1: "spr_portal_sparkle", width: 32, height: 32, _n1: !1, _o1: !1, preload: !1, _p1: 16, _q1: 16, _u1: 6, _r1: 25, _v1: 6, _s1: 25, _t1: [10] }, { _m1: "spr_player_finish", width: 48, height: 64, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 63, _t1: [11] }, { _m1: "spr_player_die", width: 48, height: 64, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 63, _t1: [12, 13] }, { _m1: "spr_player_happy", width: 96, height: 96, _n1: !1, _o1: !1, preload: !1, _p1: 48, _q1: 48, _u1: 13, _r1: 83, _v1: 13, _s1: 83, _t1: [14] }, { _m1: "spr_player_happyfoot", width: 96, height: 96, _n1: !1, _o1: !1, preload: !1, _p1: 48, _q1: 48, _u1: 35, _r1: 63, _v1: 35, _s1: 63, _t1: [15] }, { _m1: "spr_bird", width: 12, height: 7, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 6, _q1: 3, _r1: 11, _s1: 6, _t1: [16, 17, 18, 19, 20, 21, 22] }, { _m1: "spr_player_cape", width: 64, height: 64, _n1: !1, _o1: !1, preload: !1, _p1: 22, _q1: 32, _u1: 21, _r1: 54, _v1: 18, _s1: 44, _t1: [23] }, { _m1: "spr_player_happycape", width: 128, height: 128, _n1: !1, _o1: !1, preload: !1, _p1: 44, _q1: 64, _u1: 42, _r1: 108, _v1: 37, _s1: 90, _t1: [24] }, { _m1: "spr_menu_button", width: 120, height: 120, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 60, _q1: 60, _r1: 119, _s1: 119, _t1: [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40] }, { _m1: "spr_menu_level_button", width: 52, height: 52, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 26, _q1: 26, _r1: 51, _s1: 51, _t1: [41, 42, 43] }, { _m1: "spr_soundask_button", width: 104, height: 52, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 52, _q1: 26, _r1: 103, _s1: 51, _t1: [44, 45] }, { _m1: "spr_menu_arrow", width: 47, height: 47, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 46, _s1: 46, _t1: [46] }, { _m1: "spr_continue_arrow", width: 47, height: 47, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 46, _s1: 46, _t1: [47] }, { _m1: "spr_restart_arrow", width: 47, height: 47, _n1: !1, _o1: !1, preload: !1, _p1: 23, _q1: 23, _r1: 46, _s1: 46, _t1: [48] }, { _m1: "spr_menu_row", width: 47, height: 47, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 23, _q1: 23, _r1: 46, _s1: 46, _t1: [49] }, { _m1: "spr_volume_button", width: 48, height: 48, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 23, _q1: 23, _r1: 47, _s1: 47, _t1: [50, 51] }, { _m1: "spr_pause_button", width: 48, height: 48, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [52] }, { _m1: "spr_tutorial_hand", width: 96, height: 128, _n1: !1, _o1: !1, preload: !1, _p1: 39, _q1: 18, _u1: 25, _r1: 81, _v1: 3, _s1: 74, _t1: [53, 54] }, { _m1: "spr_platform", width: 48, height: 48, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [55, 56, 57] }, { _m1: "spr_platform_arrow", width: 48, height: 48, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [58, 59, 60] }, { _m1: "spr_v_platform", width: 48, height: 48, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [61] }, { _m1: "spr_spinwire", width: 48, height: 48, _w1: 2, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _u1: 12, _r1: 35, _v1: 12, _s1: 35, _t1: [62, 63, 64] }, { _m1: "spr_spinwire_ball", width: 48, height: 48, _n1: !1, _o1: !1, preload: !1, _x1: !0, _p1: 24, _q1: 24, _u1: 17, _r1: 31, _v1: 17, _s1: 31, _t1: [65, 66], _y1: [ [0xE7, 0x00, 0x01, 0x07, 0xF0, 0x83, 0x00, 0x01, 0x0F, 0xFC, 0x83, 0x00, 0x01, 0x1F, 0xFE, 0x83, 0x00, 0x01, 0x3F, 0xFE, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x7F, 0xFF, 0x83, 0x00, 0x01, 0x3F, 0xFE, 0x83, 0x00, 0x01, 0x3F, 0xFE, 0x83, 0x00, 0x01, 0x1F, 0xFC, 0x83, 0x00, 0x01, 0x07, 0xF0, 0xE1, 0x00 ] ] }, { _m1: "spr_spinwire_button", width: 27, height: 17, _n1: !1, _o1: !1, preload: !1, _p1: 13, _q1: 14, _r1: 26, _s1: 16, _t1: [67, 68] }, { _m1: "spr_ghost", width: 48, height: 48, _w1: 2, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _u1: 22, _r1: 25, _v1: 22, _s1: 25, _t1: [69, 70] }, { _m1: "spr_ghost_platform", width: 48, height: 48, _w1: 1, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _r1: 47, _s1: 47, _t1: [71] }, { _m1: "spr_teleport", width: 48, height: 48, _w1: 2, _n1: !1, _o1: !1, preload: !1, _p1: 24, _q1: 24, _u1: 22, _r1: 25, _v1: 22, _s1: 25, _t1: [72] }, { _m1: "spr_banner", width: 320, height: 50, _n1: !1, _o1: !1, preload: !1, _p1: 160, _q1: 25, _u1: 122, _r1: 194, _v1: 2, _s1: 47, _t1: [73] }], _z1: [{ _m1: "bg_flip_landscape", _n1: !1, _o1: !1, preload: !1, _t1: 74 }, { _m1: "bk_sky", _n1: !1, _o1: !1, preload: !1, _t1: 75 }], _A1: [], _B1: [_C1, _D1, _E1, _F1, _G1, _H1, _I1, _J1, _K1, _L1, _M1, _N1, _O1, _P1, _Q1, _R1, _S1, _T1, _U1, _V1, _W1, _X1, _Y1, _Z1, __1, _02, _12, _22, _32, _42, _52, _62, _72, _82, _92, _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2 ], _i2: [], _j2: [{ _m1: "fnt_text", _k2: 20, bold: !1, _l2: !1, _m2: 32, _n2: 127, _o2: 1, antialias: 3, _p2: "Rounds Black", _q2: 76, _r2: 1, _s2: 1, _t2: [{ _u2: 32, _v2: " ", _w2: 95, _x2: 185, _y2: 8, _z2: 32, shift: 8, _A2: 0 }, { _u2: 33, _v2: "!", _w2: 170, _x2: 185, _y2: 8, _z2: 25, shift: 8, _A2: 0 }, { _u2: 34, _v2: "\"", _w2: 206, _x2: 185, _y2: 11, _z2: 15, shift: 12, _A2: 1 }, { _u2: 35, _v2: "#", _w2: 198, _x2: 2, _y2: 21, _z2: 25, shift: 21, _A2: 0 }, { _u2: 36, _v2: "$", _w2: 108, _x2: 33, _y2: 17, _z2: 28, shift: 17, _A2: 0 }, { _u2: 37, _v2: "%", _w2: 149, _x2: 2, _y2: 24, _z2: 25, shift: 24, _A2: 0 }, { _u2: 38, _v2: "&", _w2: 175, _x2: 2, _y2: 21, _z2: 25, shift: 21, _A2: 0 }, { _u2: 39, _v2: "'", _w2: 244, _x2: 185, _y2: 6, _z2: 15, shift: 6, _A2: 1 }, { _u2: 40, _v2: "(", _w2: 206, _x2: 152, _y2: 11, _z2: 31, shift: 12, _A2: 1 }, { _u2: 41, _v2: ")", _w2: 175, _x2: 152, _y2: 12, _z2: 31, shift: 12, _A2: 0 }, { _u2: 42, _v2: "*", _w2: 138, _x2: 185, _y2: 12, _z2: 18, shift: 12, _A2: 0 }, { _u2: 43, _v2: "+", _w2: 189, _x2: 152, _y2: 15, _z2: 24, shift: 15, _A2: 0 }, { _u2: 44, _v2: ",", _w2: 161, _x2: 185, _y2: 7, _z2: 29, shift: 7, _A2: -1 }, { _u2: 45, _v2: "-", _w2: 105, _x2: 185, _y2: 14, _z2: 18, shift: 14, _A2: 0 }, { _u2: 46, _v2: ".", _w2: 188, _x2: 185, _y2: 7, _z2: 25, shift: 7, _A2: 1 }, { _u2: 47, _v2: "/", _w2: 190, _x2: 123, _y2: 15, _z2: 27, shift: 15, _A2: 0 }, { _u2: 48, _v2: "0", _w2: 97, _x2: 96, _y2: 17, _z2: 25, shift: 19, _A2: 1 }, { _u2: 49, _v2: "1", _w2: 47, _x2: 185, _y2: 12, _z2: 25, shift: 13, _A2: -1 }, { _u2: 50, _v2: "2", _w2: 2, _x2: 96, _y2: 17, _z2: 25, shift: 17, _A2: -1 }, { _u2: 51, _v2: "3", _w2: 154, _x2: 96, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 52, _v2: "4", _w2: 169, _x2: 33, _y2: 19, _z2: 25, shift: 19, _A2: 0 }, { _u2: 53, _v2: "5", _w2: 40, _x2: 96, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 54, _v2: "6", _w2: 2, _x2: 152, _y2: 16, _z2: 25, shift: 18, _A2: 1 }, { _u2: 55, _v2: "7", _w2: 38, _x2: 152, _y2: 16, _z2: 25, shift: 16, _A2: 0 }, { _u2: 56, _v2: "8", _w2: 154, _x2: 123, _y2: 17, _z2: 25, shift: 18, _A2: 1 }, { _u2: 57, _v2: "9", _w2: 207, _x2: 123, _y2: 16, _z2: 25, shift: 18, _A2: 1 }, { _u2: 58, _v2: ":", _w2: 197, _x2: 185, _y2: 7, _z2: 25, shift: 7, _A2: 1 }, { _u2: 59, _v2: ";", _w2: 152, _x2: 185, _y2: 7, _z2: 29, shift: 7, _A2: 0 }, { _u2: 60, _v2: "<", _w2: 225, _x2: 123, _y2: 16, _z2: 25, shift: 16, _A2: 0 }, { _u2: 61, _v2: "=", _w2: 2, _x2: 185, _y2: 15, _z2: 21, shift: 15, _A2: 0 }, { _u2: 62, _v2: ">", _w2: 92, _x2: 152, _y2: 16, _z2: 25, shift: 16, _A2: 0 }, { _u2: 63, _v2: "?", _w2: 158, _x2: 152, _y2: 15, _z2: 25, shift: 16, _A2: 0 }, { _u2: 64, _v2: "@", _w2: 66, _x2: 2, _y2: 25, _z2: 29, shift: 27, _A2: 1 }, { _u2: 65, _v2: "A", _w2: 2, _x2: 33, _y2: 20, _z2: 25, shift: 19, _A2: 0 }, { _u2: 66, _v2: "B", _w2: 135, _x2: 96, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 67, _v2: "C", _w2: 137, _x2: 63, _y2: 17, _z2: 25, shift: 18, _A2: 1 }, { _u2: 68, _v2: "D", _w2: 173, _x2: 96, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 69, _v2: "E", _w2: 116, _x2: 123, _y2: 17, _z2: 25, shift: 18, _A2: 2 }, { _u2: 70, _v2: "F", _w2: 194, _x2: 63, _y2: 17, _z2: 25, shift: 18, _A2: 2 }, { _u2: 71, _v2: "G", _w2: 78, _x2: 96, _y2: 17, _z2: 25, shift: 19, _A2: 1 }, { _u2: 72, _v2: "H", _w2: 21, _x2: 123, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 73, _v2: "I", _w2: 219, _x2: 185, _y2: 6, _z2: 25, shift: 9, _A2: 2 }, { _u2: 74, _v2: "J", _w2: 19, _x2: 185, _y2: 12, _z2: 25, shift: 13, _A2: -1 }, { _u2: 75, _v2: "K", _w2: 62, _x2: 63, _y2: 18, _z2: 25, shift: 19, _A2: 2 }, { _u2: 76, _v2: "L", _w2: 56, _x2: 152, _y2: 16, _z2: 25, shift: 17, _A2: 2 }, { _u2: 77, _v2: "M", _w2: 93, _x2: 2, _y2: 26, _z2: 25, shift: 26, _A2: 0 }, { _u2: 78, _v2: "N", _w2: 213, _x2: 63, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 79, _v2: "O", _w2: 82, _x2: 63, _y2: 18, _z2: 25, shift: 20, _A2: 1 }, { _u2: 80, _v2: "P", _w2: 74, _x2: 152, _y2: 16, _z2: 25, shift: 19, _A2: 2 }, { _u2: 81, _v2: "Q", _w2: 68, _x2: 33, _y2: 18, _z2: 27, shift: 20, _A2: 1 }, { _u2: 82, _v2: "R", _w2: 21, _x2: 96, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 83, _v2: "S", _w2: 135, _x2: 123, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 84, _v2: "T", _w2: 210, _x2: 33, _y2: 18, _z2: 25, shift: 18, _A2: 0 }, { _u2: 85, _v2: "U", _w2: 59, _x2: 123, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 86, _v2: "V", _w2: 127, _x2: 33, _y2: 19, _z2: 25, shift: 19, _A2: 0 }, { _u2: 87, _v2: "W", _w2: 34, _x2: 2, _y2: 30, _z2: 25, shift: 29, _A2: 0 }, { _u2: 88, _v2: "X", _w2: 22, _x2: 63, _y2: 18, _z2: 25, shift: 18, _A2: 0 }, { _u2: 89, _v2: "Y", _w2: 24, _x2: 33, _y2: 20, _z2: 25, shift: 18, _A2: -1 // }, { // _u2: 89, // _v2: "Y", // _w2: 10, // _x2: 218, // _y2: 20, // _z2: 20, // shift: 20, // _A2: -1 }, { _u2: 90, _v2: "Z", _w2: 192, _x2: 96, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 91, _v2: "[", _w2: 219, _x2: 152, _y2: 11, _z2: 30, shift: 12, _A2: 2 }, { _u2: 92, _v2: "\\", _w2: 173, _x2: 123, _y2: 15, _z2: 27, shift: 15, _A2: 0 }, { _u2: 93, _v2: "]", _w2: 232, _x2: 152, _y2: 11, _z2: 30, shift: 12, _A2: 0 }, { _u2: 94, _v2: "^", _w2: 121, _x2: 185, _y2: 15, _z2: 15, shift: 15, _A2: 0 }, { _u2: 95, _v2: "_", _w2: 102, _x2: 63, _y2: 14, _z2: 31, shift: 14, _A2: 0 }, { _u2: 96, _v2: "`", _w2: 235, _x2: 185, _y2: 7, _z2: 13, shift: 7, _A2: 0 }, { _u2: 97, _v2: "a", _w2: 221, _x2: 2, _y2: 20, _z2: 25, shift: 19, _A2: 0 }, { _u2: 98, _v2: "b", _w2: 211, _x2: 96, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 99, _v2: "c", _w2: 232, _x2: 63, _y2: 17, _z2: 25, shift: 18, _A2: 1 }, { _u2: 100, _v2: "d", _w2: 97, _x2: 123, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 101, _v2: "e", _w2: 116, _x2: 96, _y2: 17, _z2: 25, shift: 18, _A2: 2 }, { _u2: 102, _v2: "f", _w2: 118, _x2: 63, _y2: 17, _z2: 25, shift: 18, _A2: 2 }, { _u2: 103, _v2: "g", _w2: 175, _x2: 63, _y2: 17, _z2: 25, shift: 19, _A2: 1 }, { _u2: 104, _v2: "h", _w2: 156, _x2: 63, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 105, _v2: "i", _w2: 227, _x2: 185, _y2: 6, _z2: 25, shift: 9, _A2: 2 }, { _u2: 106, _v2: "j", _w2: 33, _x2: 185, _y2: 12, _z2: 25, shift: 13, _A2: -1 }, { _u2: 107, _v2: "k", _w2: 42, _x2: 63, _y2: 18, _z2: 25, shift: 19, _A2: 2 }, { _u2: 108, _v2: "l", _w2: 110, _x2: 152, _y2: 16, _z2: 25, shift: 17, _A2: 2 }, { _u2: 109, _v2: "m", _w2: 121, _x2: 2, _y2: 26, _z2: 25, shift: 26, _A2: 0 }, { _u2: 110, _v2: "n", _w2: 59, _x2: 96, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 111, _v2: "o", _w2: 190, _x2: 33, _y2: 18, _z2: 25, shift: 20, _A2: 1 }, { _u2: 112, _v2: "p", _w2: 20, _x2: 152, _y2: 16, _z2: 25, shift: 19, _A2: 2 }, { _u2: 113, _v2: "q", _w2: 88, _x2: 33, _y2: 18, _z2: 27, shift: 20, _A2: 1 }, { _u2: 114, _v2: "r", _w2: 40, _x2: 123, _y2: 17, _z2: 25, shift: 20, _A2: 2 }, { _u2: 115, _v2: "s", _w2: 230, _x2: 96, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 116, _v2: "t", _w2: 230, _x2: 33, _y2: 18, _z2: 25, shift: 18, _A2: 0 }, { _u2: 117, _v2: "u", _w2: 78, _x2: 123, _y2: 17, _z2: 25, shift: 21, _A2: 2 }, { _u2: 118, _v2: "v", _w2: 148, _x2: 33, _y2: 19, _z2: 25, shift: 19, _A2: 0 }, { _u2: 119, _v2: "w", _w2: 2, _x2: 2, _y2: 30, _z2: 25, shift: 29, _A2: 0 }, { _u2: 120, _v2: "x", _w2: 2, _x2: 63, _y2: 18, _z2: 25, shift: 18, _A2: 0 }, { _u2: 121, _v2: "y", _w2: 46, _x2: 33, _y2: 20, _z2: 25, shift: 18, _A2: -1 }, { _u2: 122, _v2: "z", _w2: 2, _x2: 123, _y2: 17, _z2: 25, shift: 17, _A2: 0 }, { _u2: 123, _v2: "{", _w2: 143, _x2: 152, _y2: 13, _z2: 30, shift: 14, _A2: 1 }, { _u2: 124, _v2: "|", _w2: 180, _x2: 185, _y2: 6, _z2: 31, shift: 10, _A2: 2 }, { _u2: 125, _v2: "}", _w2: 128, _x2: 152, _y2: 13, _z2: 30, shift: 14, _A2: 0 }, { _u2: 126, _v2: "~", _w2: 61, _x2: 185, _y2: 15, _z2: 19, shift: 15, _A2: 0 }, { _u2: 127, _w2: 78, _x2: 185, _y2: 15, _z2: 19, shift: 15, _A2: 0 }, {_u2:24685,_v2:"恭",_w2:14,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:21916,_v2:"喜",_w2:38,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:36807,_v2:"过",_w2:62,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:20851,_v2:"关",_w2:86,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:38383,_v2:"闯",_w2:110,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:20851,_v2:"关",_w2:134,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:22833,_v2:"失",_w2:158,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:36133,_v2:"败",_w2:182,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:26242,_v2:"暂",_w2:206,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:20572,_v2:"停",_w2:230,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:24320,_v2:"开",_w2:254,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:21551,_v2:"启",_w2:278,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:22768,_v2:"声",_w2:302,_x2:214,_y2:24,_z2:24,shift:24,_A2:0},{_u2:38899,_v2:"音",_w2:326,_x2:214,_y2:24,_z2:24,shift:24,_A2:0} ], }], _B2: [], _C2: [{}, ], _D2: [{ _m1: "obj_fm", _E2: -1, _F2: !0, _G2: !0, _H2: -999999, parent: -100, _I2: _J2, _K2: _L2, _M2: _N2, _O2: [], _P2: [] }, { _m1: "obj_always_present", _E2: -1, _F2: !0, _G2: !0, _H2: -99999, parent: -100, _I2: _Q2, _K2: _R2, _M2: _S2, _O2: [], _P2: [] }, { _m1: "obj_control", _E2: -1, _F2: !0, _H2: -9000, parent: -100, _I2: _T2, _K2: _U2, _V2: _W2, _X2: _Y2, _M2: _Z2, _O2: [], _P2: [] }, { _m1: "obj_player", _E2: 2, _F2: !0, _H2: -300, parent: -100, _I2: __2, _03: _13, _23: _33, _43: _53, _K2: _63, _M2: _73, _O2: [], _P2: [] }, { _m1: "obj_ingame_button", _E2: 19, _F2: !0, _H2: -9050, parent: -100, _I2: _83, _K2: _93, _a3: _b3, _M2: _c3, _O2: [], _P2: [] }, { _m1: "obj_player_finish", _E2: 6, _F2: !0, _H2: -300, parent: -100, _I2: _d3, _K2: _e3, _M2: _f3, _O2: [], _P2: [] }, { _m1: "obj_player_die", _E2: 7, _F2: !0, _H2: -300, parent: -100, _I2: _g3, _K2: _h3, _M2: _i3, _O2: [], _P2: [] }, { _m1: "obj_ghost", _E2: 29, _F2: !0, _H2: -650, parent: -100, _I2: _j3, _O2: [], _P2: [] }, { _m1: "obj_ghost_on", _E2: 29, _F2: !0, _H2: -650, parent: -100, _I2: _k3, _K2: _l3, _O2: [], _P2: [] }, { _m1: "obj_solid", _E2: -1, _F2: !0, parent: -100, _O2: [], _P2: [] }, { _m1: "obj_unsolid", _E2: -1, _F2: !0, parent: -100, _O2: [], _P2: [] }, { _m1: "obj_platform_solid", _E2: 23, _F2: !0, _H2: -100, parent: 9, _I2: _m3, _n3: _o3, _K2: _p3, _M2: _q3, _O2: [], _P2: [] }, { _m1: "obj_platform_unsolid", _E2: 23, _F2: !0, _H2: -100, parent: 10, _I2: _r3, _K2: _s3, _M2: _t3, _O2: [], _P2: [] }, { _m1: "obj_v_platform", _E2: 25, _F2: !0, _H2: -101, parent: 9, _I2: _u3, _K2: _v3, _M2: _w3, _O2: [], _P2: [] }, { _m1: "obj_v_platform_unsolid", _E2: 25, _F2: !0, _H2: -101, parent: 10, _I2: _x3, _K2: _y3, _M2: _z3, _O2: [], _P2: [] }, { _m1: "obj_ghost_platform", _E2: 30, _F2: !0, _H2: -101, parent: 9, _I2: _A3, _B3: _C3, _K2: _D3, _M2: _E3, _O2: [], _P2: [] }, { _m1: "obj_ghost_platform_unsolid", _E2: 30, _F2: !0, _H2: -101, parent: 10, _I2: _F3, _B3: _G3, _K2: _H3, _M2: _I3, _O2: [], _P2: [] }, { _m1: "obj_ghost_platform_die", _E2: 30, _F2: !0, _H2: -101, parent: -100, _I2: _J3, _K2: _K3, _M2: _L3, _O2: [], _P2: [] }, { _m1: "obj_platform_arrowu", _E2: -1, _F2: !0, parent: -100, _I2: _M3, _O2: [], _P2: [] }, { _m1: "obj_platform_double", _E2: 23, _H2: -106, parent: -100, _I2: _N3, _O2: [], _P2: [] }, { _m1: "obj_platform_doublegrow", _E2: 23, _F2: !0, _H2: -106, parent: -100, _I2: _O3, _K2: _P3, _O2: [], _P2: [] }, { _m1: "obj_portal", _E2: 4, _F2: !0, _H2: -105, parent: -100, _Q3: 23, _I2: _R3, _K2: _S3, _M2: _T3, _O2: [], _P2: [] }, { _m1: "obj_spinwire", _E2: 26, _F2: !0, _H2: -400, parent: -100, _I2: _U3, _K2: _V3, _M2: _W3, _O2: [], _P2: [] }, { _m1: "obj_spinwire_button", _E2: 28, _F2: !0, parent: -100, _I2: _X3, _K2: _Y3, _M2: _Z3, _O2: [], _P2: [] }, { _m1: "obj_teleport", _E2: 31, _F2: !0, _H2: 50, parent: -100, _I2: __3, _K2: _04, _M2: _14, _O2: [], _P2: [] }, { _m1: "obj_notused2", _E2: 31, _F2: !0, _H2: -100, parent: 10, _O2: [], _P2: [] }, { _m1: "obj_notused", _E2: 11, _F2: !0, _H2: -290, parent: -100, _O2: [], _P2: [] }, { _m1: "obj_particle", _E2: 23, _F2: !0, _H2: -105, parent: -100, _I2: _24, _K2: _34, _M2: _44, _O2: [], _P2: [] }, { _m1: "obj_bird", _E2: 10, _F2: !0, _H2: 2000, parent: -100, _I2: _54, _K2: _64, _O2: [], _P2: [] }, { _m1: "obj_menu_control", _E2: -1, _F2: !0, _H2: -1000, parent: -100, _I2: _74, _K2: _84, _M2: _94, _O2: [], _P2: [] }, { _m1: "obj_menu_button", _E2: 13, _F2: !0, parent: -100, _I2: _a4, _23: _b4, _K2: _c4, _a3: _d4, _M2: _e4, _O2: [], _P2: [] }, { _m1: "obj_volume_button", _E2: 20, _F2: !0, _H2: -100, parent: -100, _I2: _f4, _K2: _g4, _a3: _h4, _O2: [], _P2: [] }, { _m1: "obj_menu_level_button", _E2: 14, _F2: !0, _H2: -50, parent: -100, _I2: _i4, _K2: _j4, _a3: _k4, _M2: _l4, _O2: [], _P2: [] }, { _m1: "obj_menu_back_button", _E2: 16, _F2: !0, _H2: -50, parent: -100, _I2: _m4, _K2: _n4, _a3: _o4, _M2: _p4, _O2: [], _P2: [] }, { _m1: "obj_menu_next_button", _E2: 17, _F2: !0, _H2: -50, parent: -100, _I2: _q4, _K2: _r4, _a3: _s4, _M2: _t4, _O2: [], _P2: [] }, { _m1: "obj_banner", _E2: 32, _F2: !0, _G2: !0, _H2: -200000, parent: -100, _M2: _u4, _O2: [], _P2: [] }], _v4: [{ _m1: "rm_init", width: 320, height: 480, _w4: 65280, _x4: !0, _y4: !1, _z4: [{}, {}, {}, {}, {}, {}, {}, {}], _A4: [{ _F2: !0, _B4: 320, _C4: 320, }, {}, {}, {}, {}, {}, {}, {}], _D4: [{ _w2: 0, _x2: 0, index: 0, id: 100000, _E4: 0, _r2: 1, _s2: 1, _w4: 4294967295 }], _F4: [] }, { _m1: "rm_oranges_init", width: 320, height: 480, _x4: !0, _y4: !1, _G4: _H4, _z4: [{}, {}, {}, {}, {}, {}, {}, {}], _A4: [{ _F2: !0, _B4: 320, _C4: 320, }, {}, {}, {}, {}, {}, {}, {}], _D4: [], _F4: [] }, { _m1: "rm_menu", width: 320, height: 480, _w4: 16777088, _x4: !0, _y4: !1, _z4: [{ _F2: !0, index: 1, _I4: !1, _J4: !1, }, {}, {}, {}, {}, {}, {}, {}], _A4: [{ _F2: !0, _B4: 320, _C4: 320, }, {}, {}, {}, {}, {}, {}, {}], _D4: [{ _w2: 160, _x2: 264, index: 30, id: 100001, _E4: 0, _r2: 1, _s2: 1, _w4: 4294967295 }, { _w2: 48, _x2: 0, index: 29, id: 100002, _E4: 0, _r2: 1, _s2: 1, _w4: 4294967295 }], _F4: [] }, { _m1: "rm_play", width: 320, height: 480, _w4: 16777088, _x4: !0, _y4: !1, _z4: [{ _F2: !0, index: 1, _I4: !1, _J4: !1, }, {}, {}, {}, {}, {}, {}, {}], _A4: [{ _F2: !0, _B4: 320, _C4: 320, }, {}, {}, {}, {}, {}, {}, {}], _D4: [{ _w2: 0, _x2: 0, index: 2, id: 100003, _E4: 0, _r2: 1, _s2: 1, _w4: 4294967295 }], _F4: [] }, { _m1: "rm_flip", width: 480, height: 320, _x4: !0, _y4: !1, _z4: [{ _F2: !0, index: 0, }, {}, {}, {}, {}, {}, {}, {}], _A4: [{ _F2: !0, _B4: 480, _K4: 320, _C4: 480, _L4: 320, }, {}, {}, {}, {}, {}, {}, {}], _D4: [], _F4: [] }], _M4: [0, 1, 2, 3, 4], _N4: [{ _w2: 2, _x2: 246, _y2: 288, _z2: 129, _O4: 0, _P4: 0, _Q4: 288, _R4: 129, _S4: 288, _T4: 129, _U4: 0 }, { _w2: 2, _x2: 2, _y2: 238, _z2: 238, _O4: 1, _P4: 1, _Q4: 238, _R4: 238, _S4: 240, _T4: 240, _U4: 0 }, { _w2: 474, _x2: 618, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 246, _x2: 114, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 462, _x2: 78, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 246, _x2: 154, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 246, _x2: 194, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 106, _x2: 686, _y2: 36, _z2: 36, _O4: 6, _P4: 6, _Q4: 36, _R4: 36, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 494, _x2: 658, _y2: 15, _z2: 15, _O4: 17, _P4: 17, _Q4: 15, _R4: 15, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 314, _x2: 434, _y2: 62, _z2: 62, _O4: 1, _P4: 1, _Q4: 62, _R4: 62, _S4: 64, _T4: 64, _U4: 0 }, { _w2: 490, _x2: 558, _y2: 20, _z2: 20, _O4: 6, _P4: 6, _Q4: 20, _R4: 20, _S4: 32, _T4: 32, _U4: 0 }, { _w2: 246, _x2: 2, _y2: 36, _z2: 50, _O4: 6, _P4: 6, _Q4: 36, _R4: 50, _S4: 48, _T4: 64, _U4: 0 }, { _w2: 246, _x2: 2, _y2: 36, _z2: 50, _O4: 6, _P4: 6, _Q4: 36, _R4: 50, _S4: 48, _T4: 64, _U4: 0 }, { _w2: 246, _x2: 58, _y2: 36, _z2: 50, _O4: 6, _P4: 6, _Q4: 36, _R4: 50, _S4: 48, _T4: 64, _U4: 0 }, { _w2: 418, _x2: 2, _y2: 71, _z2: 71, _O4: 13, _P4: 13, _Q4: 71, _R4: 71, _S4: 96, _T4: 96, _U4: 0 }, { _w2: 174, _x2: 558, _y2: 29, _z2: 29, _O4: 35, _P4: 35, _Q4: 29, _R4: 29, _S4: 96, _T4: 96, _U4: 0 }, { _w2: 338, _x2: 658, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 158, _x2: 634, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 382, _x2: 434, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 502, _x2: 414, _y2: 7, _z2: 4, _O4: 2, _P4: 2, _Q4: 7, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 382, _x2: 434, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 158, _x2: 634, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 338, _x2: 658, _y2: 9, _z2: 4, _O4: 1, _P4: 2, _Q4: 9, _R4: 4, _S4: 12, _T4: 7, _U4: 0 }, { _w2: 46, _x2: 718, _y2: 34, _z2: 27, _O4: 21, _P4: 18, _Q4: 34, _R4: 27, _S4: 64, _T4: 64, _U4: 0 }, { _w2: 418, _x2: 558, _y2: 67, _z2: 54, _O4: 42, _P4: 37, _Q4: 67, _R4: 54, _S4: 128, _T4: 128, _U4: 0 }, { _w2: 402, _x2: 238, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 402, _x2: 326, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 294, _x2: 346, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 2, _x2: 382, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 106, _x2: 382, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 398, _x2: 414, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 210, _x2: 434, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 2, _x2: 470, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 106, _x2: 470, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 314, _x2: 502, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 210, _x2: 522, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 210, _x2: 522, _y2: 97, _z2: 84, _O4: 19, _P4: 14, _Q4: 97, _R4: 84, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 294, _x2: 238, _y2: 104, _z2: 103, _O4: 8, _P4: 8, _Q4: 104, _R4: 103, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 406, _x2: 126, _y2: 104, _z2: 105, _O4: 8, _P4: 7, _Q4: 104, _R4: 105, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 294, _x2: 126, _y2: 105, _z2: 105, _O4: 8, _P4: 7, _Q4: 105, _R4: 105, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 294, _x2: 2, _y2: 120, _z2: 120, _O4: 0, _P4: 0, _Q4: 120, _R4: 120, _S4: 120, _T4: 120, _U4: 0 }, { _w2: 174, _x2: 610, _y2: 52, _z2: 52, _O4: 0, _P4: 0, _Q4: 52, _R4: 52, _S4: 52, _T4: 52, _U4: 0 }, { _w2: 174, _x2: 610, _y2: 52, _z2: 52, _O4: 0, _P4: 0, _Q4: 52, _R4: 52, _S4: 52, _T4: 52, _U4: 0 }, { _w2: 230, _x2: 610, _y2: 51, _z2: 51, _O4: 1, _P4: 1, _Q4: 51, _R4: 51, _S4: 52, _T4: 52, _U4: 0 }, { _w2: 418, _x2: 502, _y2: 88, _z2: 52, _O4: 8, _P4: 0, _Q4: 88, _R4: 52, _S4: 104, _T4: 52, _U4: 0 }, { _w2: 2, _x2: 558, _y2: 104, _z2: 52, _O4: 0, _P4: 0, _Q4: 104, _R4: 52, _S4: 104, _T4: 52, _U4: 0 }, { _w2: 210, _x2: 666, _y2: 47, _z2: 47, _O4: 0, _P4: 0, _Q4: 47, _R4: 47, _S4: 47, _T4: 47, _U4: 0 }, { _w2: 338, _x2: 670, _y2: 47, _z2: 47, _O4: 0, _P4: 0, _Q4: 47, _R4: 47, _S4: 47, _T4: 47, _U4: 0 }, { _w2: 390, _x2: 670, _y2: 47, _z2: 47, _O4: 0, _P4: 0, _Q4: 47, _R4: 47, _S4: 47, _T4: 47, _U4: 0 }, { _w2: 442, _x2: 670, _y2: 47, _z2: 47, _O4: 0, _P4: 0, _Q4: 47, _R4: 47, _S4: 47, _T4: 47, _U4: 0 }, { _w2: 286, _x2: 610, _y2: 24, _z2: 28, _O4: 6, _P4: 10, _Q4: 24, _R4: 28, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 306, _x2: 722, _y2: 35, _z2: 28, _O4: 6, _P4: 10, _Q4: 35, _R4: 28, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 2, _x2: 614, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 314, _x2: 590, _y2: 51, _z2: 64, _O4: 31, _P4: 11, _Q4: 51, _R4: 64, _S4: 96, _T4: 128, _U4: 0 }, { _w2: 110, _x2: 558, _y2: 57, _z2: 72, _O4: 25, _P4: 3, _Q4: 57, _R4: 72, _S4: 96, _T4: 128, _U4: 0 }, { _w2: 54, _x2: 614, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 370, _x2: 618, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 422, _x2: 618, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 106, _x2: 634, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 286, _x2: 658, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 2, _x2: 666, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 158, _x2: 666, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 2, _x2: 718, _y2: 37, _z2: 34, _O4: 6, _P4: 3, _Q4: 37, _R4: 34, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 262, _x2: 710, _y2: 38, _z2: 34, _O4: 6, _P4: 3, _Q4: 38, _R4: 34, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 146, _x2: 718, _y2: 37, _z2: 34, _O4: 6, _P4: 3, _Q4: 37, _R4: 34, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 494, _x2: 2, _y2: 15, _z2: 15, _O4: 17, _P4: 17, _Q4: 15, _R4: 15, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 86, _x2: 718, _y2: 15, _z2: 15, _O4: 17, _P4: 17, _Q4: 15, _R4: 15, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 370, _x2: 590, _y2: 27, _z2: 17, _O4: 0, _P4: 0, _Q4: 27, _R4: 17, _S4: 27, _T4: 17, _U4: 0 }, { _w2: 190, _x2: 718, _y2: 27, _z2: 17, _O4: 0, _P4: 0, _Q4: 27, _R4: 17, _S4: 27, _T4: 17, _U4: 0 }, { _w2: 262, _x2: 666, _y2: 20, _z2: 20, _O4: 14, _P4: 14, _Q4: 20, _R4: 20, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 346, _x2: 722, _y2: 20, _z2: 20, _O4: 14, _P4: 14, _Q4: 20, _R4: 20, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 54, _x2: 666, _y2: 48, _z2: 48, _O4: 0, _P4: 0, _Q4: 48, _R4: 48, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 418, _x2: 78, _y2: 38, _z2: 38, _O4: 5, _P4: 5, _Q4: 38, _R4: 38, _S4: 48, _T4: 48, _U4: 0 }, { _w2: 210, _x2: 382, _y2: 73, _z2: 46, _O4: 122, _P4: 2, _Q4: 73, _R4: 46, _S4: 320, _T4: 50, _U4: 0 }, { _w2: 4, _x2: 4, _y2: 480, _z2: 320, _O4: 0, _P4: 0, _Q4: 480, _R4: 320, _S4: 480, _T4: 320, _U4: 1 }, { _w2: 4, _x2: 332, _y2: 320, _z2: 480, _O4: 0, _P4: 0, _Q4: 320, _R4: 480, _S4: 320, _T4: 480, _U4: 1 }, { _w2: 490, _x2: 2, _y2: 256, _z2: 256, _O4: 0, _P4: 0, _Q4: 256, _R4: 256, _S4: 256, _T4: 256, _U4: 1 }], _V4: ["jelly_jumper_texture_0.png", "jelly_jumper_texture_1.png"], _W4: { _X4: !1, _Y4: 686949659, _Z4: "cd066871-dfd4-4f14-94d8-01a5cb184dda", __4: !1, _05: !0, _15: !0, scale: 0, _25: !0, _35: !1, _45: !1, _55: !0, _65: !1, _75: !1, _85: !0, _95: !1, _a5: 0, _b5: 0, _c5: !1, _d5: "html5game", _e5: "Default", _f5: 0, _g5: !0, _h5: -1968544233, _i5: [131, 41, 203, 159, 207, 62, 26, 126, 66, 33, 236, 193, 247, 33, 95, 246 ], _j5: "gamemaker: studio", _k5: 1, _l5: 0, _m5: 0, _n5: 1412288783, _o5: "jchtml5_fullscreen_loading_bar" } }; function _p5() {} function _q5() { global._r5 = 0; global._s5 = 0; global._t5 = 0; global._u5 = 0; global._v5 = 0; global._w5 = 0; global._x5 = 0; global._y5 = 0; global._z5 = 0; global._A5 = 0; global._B5 = 0; global._C5 = 0; global._D5 = 0; global._E5 = 0; global._F5 = 0; global._G5 = 0; global._H5 = 0; global._I5 = 0; global._J5 = 0; global._K5 = 0; global._L5 = 0; global._M5 = 0; global._N5 = 0; global._O5 = 0; global._P5 = 0; global._Q5 = 0; global._R5 = 0; global._S5 = 0; global._T5 = 0; global._U5 = 0; global._V5 = 0; global._W5 = 0; } function _C1(_X5, _Y5, _Z5) { if ((__5(1)._06 == (-1))) { { __5(1)._06 = _Z5; { var _16 = _26(1); for (var _36 in _16) { if (!_16.hasOwnProperty(_36)) continue; var _46 = _16[_36]; if (_46._56) continue; { _46._66 = 1; } } }; } }; } function _D1(_X5, _Y5) { global._76 = _86(); _96(global._76, "w", 11); _96(global._76, "u", 18); _96(global._76, "p", 3); _96(global._76, "W", 19); _96(global._76, "v", 13); _96(global._76, "x", 22); _96(global._76, "b", 23); _96(global._76, "g", 7); _96(global._76, "G", 15); _96(global._76, "o", 24); global._a6 = 36; global._b6 = 1; if (!(global._c6 instanceof Array)) { global._c6 = []; global._c6._f1 = 1355860334 } else if (global._c6._f1 !== 1355860334) { global._c6 = global._c6.slice(0); global._c6._f1 = 1355860334 } global._c6[1] = " p www www w "; global._c6[2] = " p www WWWw w "; global._c6[3] = " p wvvvvw wvvvw "; global._c6[4] = " p w www w w wu wwwu "; global._c6[5] = " b p vvvwwx x x ww "; global._c6[6] = " p g wwww G wWw "; global._c6[7] = " g wwbG p vvvvvu xxxwWWwww "; global._c6[8] = " pwwww w u ww ww u wwwwwu"; global._c6[9] = " p wwWwb bvwWW v xxxx w w "; global._c6[10] = " wwwwwW uwxwWu xxxxwu p uwwww "; global._c6[11] = " gg Gwwvv G u p WWwu w "; global._c6[12] = " p w wwwww wwww ww "; global._c6[13] = " p wWvW x WWw w "; global._c6[14] = " p v vvv v vu uvuvuv "; global._c6[15] = " p w WWw vxv vx v ww wwv"; global._c6[16] = " p vv xx wWWWw "; global._c6[17] = " p v g v vvGv b vvvGvu x ww "; global._c6[18] = " p WWg wWWWWW uwww wwG w "; global._c6[19] = " ggg www p wwwu Gvvw GG wWwww "; global._c6[20] = " WWwWw p uWWwwb xxvvvvxx ww "; _E1(_X5, _Y5); } function _E1(_X5, _Y5) { if (!(global._c6 instanceof Array)) { global._c6 = []; global._c6._f1 = 1355860334 } else if (global._c6._f1 !== 1355860334) { global._c6 = global._c6.slice(0); global._c6._f1 = 1355860334 } global._c6[21] = " o o w p uwWww "; global._c6[22] = " o b wwvw xx u p owwwu "; global._c6[23] = " WWWw pwu uwW wWw xb b wwvvv "; global._c6[24] = " o p ww w WWW uWWw o "; global._c6[25] = " xx bxx wvvvvw pb uvvWw w w uwww "; global._c6[26] = " p wwwwwwg ovvvuvv oG ww "; global._c6[27] = " o p wwwwwwwwo uwwww uwWw w "; global._c6[28] = " g G p wwww wuwWwu wwu "; global._c6[29] = " p wWW xxwbWWvwvv uwww "; global._c6[30] = "o vvvWWW vuwwup vuwwwu o u "; global._c6[31] = " x pbxb wvvvW xxxxx x wWwww "; global._c6[32] = "o vv p GG wvvvvG gowvwwW gg wvWu "; global._c6[33] = "o bG vwvvwvxxxxxx p gWWw wwwW wwwwo"; global._c6[34] = " p wWww wWbvxvvvv u WW wwww "; global._c6[35] = " p wwww wwwW o o uvvvvv o o WWWWw "; global._c6[36] = "p o wwg G vvwWw x wWw wwww Ggb wwvvo "; } function _F1(_X5, _Y5) { var _d6, _e6, _f6, _g6; _d6 = global._c6[global._b6]; _e6 = 1; _X5._h6(global._i6); _X5._j6(global._k6); for (var _l6 = 0, _m6 = ~~ (48); _l6 < _m6; _l6++) { { _f6 = _n6(_d6, _e6); if ((_f6 != " ")) { { _g6 = _o6(global._76, _f6); _p6((_X5._w2 + 24), (_X5._x2 + 24), _g6); } }; _X5._h6(_X5._w2 + 48); if ((_X5._w2 > 257)) { { _X5._h6(global._i6); _X5._j6(_X5._x2 + 48); } }; _e6 += 1; } }; } function _G1(_X5, _Y5) { { var _q6 = _26(9); for (var _r6 in _q6) { if (!_q6.hasOwnProperty(_r6)) continue; var _s6 = _q6[_r6]; if (_s6._56) continue; { if (_t6(3) > 0.5) { { if (((__5(3)._x2 + 48) > _s6._x2)) { { _s6._u6 = _p6(_s6._w2, _s6._x2, _s6._v6); if ((_s6._w6 == 30)) { { if (!(__5(_s6._u6)._x6 instanceof Array)) { __5(_s6._u6)._x6 = []; __5(_s6._u6)._x6._f1 = 1738157798 } else if (__5(_s6._u6)._x6._f1 !== 1738157798) { __5(_s6._u6)._x6 = __5(_s6._u6)._x6.slice(0); __5(_s6._u6)._x6._f1 = 1738157798 } __5(_s6._u6)._x6[0] = _s6._x6[0]; __5(_s6._u6)._y6 = _s6._y6; { var _z6 = _26(_s6._u6); for (var _A6 in _z6) { if (!_z6.hasOwnProperty(_A6)) continue; var _B6 = _z6[_A6]; if (_B6._56) continue; { if ((_B6._y6 != (-1))) { __5(_B6._y6)._C6 = _B6.id }; } } }; } }; __5(_s6._u6)._D6 = 0; __5(_s6._u6)._E6(_s6._w6); __5(_s6._u6)._F6(_s6._G6); __5(_s6._u6)._H6 = _s6._H6; __5(_s6._u6)._I6 = _s6._I6; __5(_s6._u6)._J6 = _s6._J6; __5(_s6._u6)._K6 = _s6._K6; __5(_s6._u6)._L6 = _s6._L6; __5(_s6._u6)._M6 = _s6._M6; __5(_s6._u6)._N6 = _s6._N6; __5(_s6._u6)._O6 = _s6._O6; __5(_s6._u6)._P6 = _s6._P6; __5(_s6._u6)._Q6 = _s6._Q6; __5(_s6._u6)._R6 = _s6._R6; __5(_s6._u6)._S6 = _s6._S6; _T6(_s6); } }; } }; } } }; { var _U6 = _26(10); for (var _V6 in _U6) { if (!_U6.hasOwnProperty(_V6)) continue; var _W6 = _U6[_V6]; if (_W6._56) continue; { if ((_W6._D6 == 1)) { { if (_t6(3) > 0.5) { { if (((__5(3)._x2 + 48) < _W6._x2)) { { _W6._u6 = _p6(_W6._w2, _W6._x2, _W6._v6); if ((_W6._w6 == 30)) { { if (!(__5(_W6._u6)._x6 instanceof Array)) { __5(_W6._u6)._x6 = []; __5(_W6._u6)._x6._f1 = 2315906708 } else if (__5(_W6._u6)._x6._f1 !== 2315906708) { __5(_W6._u6)._x6 = __5(_W6._u6)._x6.slice(0); __5(_W6._u6)._x6._f1 = 2315906708 } __5(_W6._u6)._x6[0] = _W6._x6[0]; __5(_W6._u6)._y6 = _W6._y6; { var _X6 = _26(_W6._u6); for (var _Y6 in _X6) { if (!_X6.hasOwnProperty(_Y6)) continue; var _Z6 = _X6[_Y6]; if (_Z6._56) continue; { if ((_Z6._y6 != (-1))) { __5(_Z6._y6)._C6 = _Z6.id }; } } }; } }; __5(_W6._u6)._D6 = 0; __5(_W6._u6)._E6(_W6._w6); __5(_W6._u6)._F6(_W6._G6); __5(_W6._u6)._H6 = _W6._H6; __5(_W6._u6)._I6 = _W6._I6; __5(_W6._u6)._J6 = _W6._J6; __5(_W6._u6)._K6 = _W6._K6; __5(_W6._u6)._L6 = _W6._L6; __5(_W6._u6)._M6 = _W6._M6; __5(_W6._u6)._N6 = _W6._N6; __5(_W6._u6)._O6 = _W6._O6; __5(_W6._u6)._P6 = _W6._P6; __5(_W6._u6)._Q6 = _W6._Q6; __5(_W6._u6)._R6 = _W6._R6; __5(_W6._u6)._S6 = _W6._S6; _T6(_W6); } }; } }; } }; } } }; { var __6 = _26(10); for (var _07 in __6) { if (!__6.hasOwnProperty(_07)) continue; var _17 = __6[_07]; if (_17._56) continue; { _17._D6 = 1; } } }; } function _H1(_X5, _Y5) { _27("jjsav.ini"); _37("data", "have_cape", global._47); _37("data", "sound_enabled", global._57); _37("data", "levels_completed", global._67); _77(); } function _I1(_X5, _Y5) { _X5._87 = _X5._w2; _X5._97 = _X5._x2; if ((((_X5._a7 != 0)) && ((_X5._b7 == 0)))) { { _X5._h6(_X5._w2 + _X5._a7); _X5._c7 -= floor(abs(_X5._a7)); if ((_X5._c7 < 1)) { { _X5._a7 = 0; } }; } }; if ((((_X5._d7 != 0)) && ((_X5._b7 == 0)))) { { _X5._66 = _e7(_X5._d7); for (var _f7 = 0, _g7 = ~~ (floor(abs(_X5._d7))); _f7 < _g7; _f7++) { { if (!(_h7(_X5, _X5._w2, (_X5._x2 + _X5._66), 9) > 0.5)) { _X5._j6(_X5._x2 + _X5._66) } else { { if ((_X5._66 == 1)) { { if (_h7(_X5, _X5._w2, (_X5._x2 + 1), 9) > 0.5) { { var _i7; _i7 = _j7(_X5, _X5._w2, (_X5._x2 + 1), 9); if ((__5(_i7)._M6 == 1)) { { if ((__5(_i7)._O6 < 180)) { __5(_i7)._O6 += 180 }; } } else { __5(_i7)._M6 = 1 }; __5(_i7)._R6 = 1; __5(_i7)._N6 = (abs(_X5._d7) * 2); { var _k7 = _26(_i7); for (var _l7 in _k7) { if (!_k7.hasOwnProperty(_l7)) continue; var _m7 = _k7[_l7]; if (_m7._56) continue; { if ((((_m7._w6 != 25)) && ((_m7._w6 != 30)))) { { _U1(_m7, _X5); if ((_m7._w6 == 24)) { { { var _n7 = _26(_j7(_m7, _m7._w2, (_m7._x2 - 1), 3)); for (var _o7 in _n7) { if (!_n7.hasOwnProperty(_o7)) continue; var _p7 = _n7[_o7]; if (_p7._56) continue; { _p7._66 = 2; _p7._d7 = (-16); _c2(_p7, _m7, 7); } } }; _N1(_m7, _X5); } }; } }; } } }; } }; _K1(_X5, _Y5); } }; if ((_X5._66 != 2)) { _X5._d7 = 0 }; break; } }; } }; _G1(_X5, _Y5); } }; _J1(_X5, _Y5); if (_h7(_X5, _X5._w2, _X5._x2, 21) > 0.5) { { var _q7; _q7 = _j7(_X5, _X5._w2, _X5._x2, 21); _X5._r7 = _p6(_X5._w2, _X5._x2, 5); __5(_X5._r7)._s7 = 1; __5(_X5._r7)._t7 = __5(_q7)._x2; __5(_X5._r7)._u7 = _X5._u7; _T6(_X5); } }; if (((_h7(_X5, _X5._w2, _X5._x2, 7) > 0.5) && ((_X5._b7 == 0)))) { { var _v7; _v7 = _j7(_X5, _X5._w2, _X5._x2, 7); __5(_v7)._C6 = _X5.id; _X5._w7 += 1; { var _x7 = _26(_v7); for (var _y7 in _x7) { if (!_x7.hasOwnProperty(_y7)) continue; var _z7 = _x7[_y7]; if (_z7._56) continue; { _z7._A7 = _p6(_z7._w2, _z7._x2, 8); __5(_z7._A7)._B7 = 30; __5(_z7._A7)._C6 = _z7._C6; { var _C7 = _26(_z7._A7); for (var _D7 in _C7) { if (!_C7.hasOwnProperty(_D7)) continue; var _E7 = _C7[_D7]; if (_E7._56) continue; { _E7._F7 = __5(_E7._C6)._w7; } } }; _T6(_z7); } } }; } }; if (((!(_h7(_X5, _X5._w2, (_X5._x2 + 1), 9) > 0.5)) && ((_X5._b7 == 0)))) { { _X5._d7 += _X5._G7; if ((_X5._d7 > 12)) { _X5._d7 = 12 }; } }; if (((_h7(_X5, _X5._w2, _X5._x2, 22) > 0.5) && ((_X5._b7 == 0)))) { { _X5._H7 = _p6(_X5._w2, _X5._x2, 6); __5(_X5._H7)._I7(((_X5._J7 * (-1)) * 4)); __5(_X5._H7)._K7((-3)); __5(_X5._H7)._J7 = _X5._J7; __5(_X5._H7)._u7 = _X5._u7; { var _L7 = _26(_X5._H7); for (var _M7 in _L7) { if (!_L7.hasOwnProperty(_M7)) continue; var _N7 = _L7[_M7]; if (_N7._56) continue; { _N7._K7((-3)); } } }; _c2(_X5, _Y5, 4); _T6(_X5); } }; if ((_X5._x2 > (_O7._P7 + 32))) { { _T1(_X5, _Y5, 0); _T6(_X5); } }; } function _J1(_X5, _Y5) { if (_h7(_X5, _X5._w2, _X5._x2, 24) > 0.5) { { var _Q7; _Q7 = _j7(_X5, _X5._w2, _X5._x2, 24); if ((__5(_Q7)._R7 == 1)) { { if ((_X5._a7 != 0)) { _X5._S7 = 1 } else { _X5._S7 = 0 }; _c2(_X5, _Y5, 8); __5(_Q7)._C6 = _X5.id; { var _T7 = _26(_Q7); for (var _U7 in _T7) { if (!_T7.hasOwnProperty(_U7)) continue; var _V7 = _T7[_U7]; if (_V7._56) continue; { global._W7 = _V7.id; global._X7 = 9999; global._Y7 = (-1); _V7._u7 = __5(_V7._C6)._u7; { var _Z7 = _26(24); for (var __7 in _Z7) { if (!_Z7.hasOwnProperty(__7)) continue; var _08 = _Z7[__7]; if (_08._56) continue; { if ((_08.id != global._W7)) { { var _18; _18 = _28(_08._w2, _08._x2, __5(global._W7)._w2, __5(global._W7)._x2); if ((_18 < global._X7)) { { global._Y7 = _08.id; global._X7 = _18; } }; } }; } } }; __5(global._Y7)._R7 = 0; _V7._38 = 1; __5(global._Y7)._38 = 2; __5(global._Y7)._48 = 0; { var _58 = _26(global._Y7); for (var _68 in _58) { if (!_58.hasOwnProperty(_68)) continue; var _78 = _58[_68]; if (_78._56) continue; { _78._u7 = __5(global._W7)._u7; _78._88 = _78._w2; _78._98 = _78._x2; } } }; _V7._88 = __5(_V7._C6)._w2; _V7._98 = __5(_V7._C6)._x2; __5(_V7._C6)._h6((-9999)); __5(_V7._C6)._j6((-9999)); } } }; } }; } }; } function _K1(_X5, _Y5) { if ((_X5._w7 > 0)) { { var _a8, _b8, _c8; _a8 = 0; _b8 = 0; _c8 = 0; if (_h7(_X5, _X5._w2, (_X5._x2 + 1), 15) > 0.5) { { _c8 = 0; _b8 = 1; _a8 = 1; } } else { if (_h7(_X5, (_X5._w2 + _X5._J7), _X5._x2, 16) > 0.5) { { _c8 = _X5._J7; _b8 = 0; _a8 = 1; } } else { if (_h7(_X5, (_X5._w2 - _X5._J7), _X5._x2, 16) > 0.5) { { _c8 = (_X5._J7 * (-1)); _b8 = 0; _a8 = 1; } } } }; if ((_a8 == 1)) { { var _v7, _d8; if ((_b8 == 0)) { _v7 = _j7(_X5, (_X5._w2 + _c8), (_X5._x2 + _b8), 16) } else { _v7 = _j7(_X5, (_X5._w2 + _c8), (_X5._x2 + _b8), 15) }; _d8 = _e8(_X5, _X5._w2, _X5._x2, 8); __5(_d8)._C6 = _v7; __5(_d8)._f8 = 1; __5(_v7)._y6 = _d8; _X5._w7 -= 1; } }; } }; } function _L1(_X5, _Y5) { _X5._d7 = (-6); _X5._a7 = (_X5._J7 * 4); _X5._c7 = 48; } function _M1(_X5, _Y5, _Z5, _g8, _h8) { var _i8, _j8, _k8; _i8 = _Z5; _j8 = _g8; _k8 = (_i8 - _j8); if ((_k8 > 180)) { _k8 -= 360 } else { if ((_k8 < (-180))) { _k8 += 360 } }; if ((_h8 == 1)) { return (_e7(_k8) * (-1)) } else { if ((_h8 == 2)) { return abs(_k8) } else { if ((_h8 == 3)) { return (_k8 * (-1)) } } }; } function _N1(_X5, _Y5) { _X5._l8 = _p6(_X5._w2, (_X5._x2 + _X5._S6), 27); __5(_X5._l8)._F6(_X5._G6); _c2(_X5, _Y5, 1); _T6(_X5); } function _O1(_X5, _Y5) { if ((global._m8 == 0)) { { if ((_X5._n8 == 1)) { { _X5._o8 += 1; if ((_X5._o8 > 15)) { { _X5._o8 = 0; if ((_X5._p8 == 0)) { _X5._p8 = 1 } else { _X5._p8 = 0 }; } }; if (_t6(3) > 0.5) { { if ((_X5._q8 == 1)) { { if ((__5(3)._w2 < 137)) { _X5._q8 = 1 } else { { _X5._r8 = 0; _X5._q8 = 2; } }; } } else { if ((_X5._q8 == 2)) { { if ((__5(3)._x2 > 104)) { { _X5._r8 = 1; _X5._q8 = 3; _X5._s8 = 56; _X5._t8 = 208; } }; } } else { if ((_X5._q8 == 3)) { { if ((__5(3)._w2 < 183)) { { _X5._r8 = 0; _X5._q8 = 4; _X5._n8 = 0; } }; } } } }; } }; } }; if ((_X5._r8 == 1)) { { if ((_X5._u8 < 1)) { _X5._u8 += 0.1 }; } } else { { if ((_X5._u8 > 0)) { _X5._u8 -= 0.1 }; } }; } }; } function _P1(_X5, _Y5) { _X5._v8 = _p6((_O7._w8[0] + (_O7._x8[0] * 0.5) - 32), (_O7._y8[0] + global._z8), 4); __5(_X5._v8)._E6(19); _X5._v8 = _p6((_O7._w8[0] + (_O7._x8[0] * 0.5) + 32), (_O7._y8[0] + global._z8), 4); __5(_X5._v8)._E6(18); } function _Q1(_X5, _Y5) { if ((_X5._A8 == 1)) { { _c2(_X5, _Y5, 5); _X5._A8 = 0; if ((global._m8 == 0)) { { if ((_X5._B8 < 0.05)) { { global._m8 = 1; _P1(_X5, _Y5); } }; } } else { { { var _C8 = _26(4); for (var _D8 in _C8) { if (!_C8.hasOwnProperty(_D8)) continue; var _E8 = _C8[_D8]; if (_E8._56) continue; { _E8._66 = (-1); } } }; global._m8 = 0; } }; } }; if ((global._m8 == 1)) { { if ((_X5._B8 < global._F8)) { _X5._B8 += 0.1 }; if ((_X5._G8 < 1)) { _X5._G8 += 0.1 } else { _X5._G8 = 1 }; } } else { { if ((_X5._B8 > 0)) { _X5._B8 -= 0.1 }; if ((_X5._G8 > 0)) { _X5._G8 -= 0.15 } else { _X5._G8 = 0 }; } }; } function _R1(_X5, _Y5, _Z5, _g8, _h8, _H8, _I8) { _J8(_H8); _K8(0.5); var _L8; _L8 = 0; for (var _M8 = 0, _N8 = ~~ (8); _M8 < _N8; _M8++) { { _O8((_Z5 + _P8(2, _L8)), (_g8 + _Q8(2, _L8)), _h8); _L8 += 45; } }; _K8(1); _J8(_I8); _O8(_Z5, _g8, _h8); } function _S1(_X5, _Y5) { if ((_X5._R8 == 1)) { { var _S8; _S8 = ((_X5._w2 - _X5._T8) * 0.25); _X5._h6(_X5._w2 - _S8); if ((_X5._w2 == _X5._T8)) { { _X5._R8 = 0; _X5._h6(_X5._T8); } }; } }; if ((_X5._U8 > 1)) { { _X5._V8(_X5._U8 - 0.05); _X5._W8(_X5._X8 - 0.05); } }; } function _T1(_X5, _Y5, _Z5) { { var _Y8 = _26(2); for (var _Z8 in _Y8) { if (!_Y8.hasOwnProperty(_Z8)) continue; var __8 = _Y8[_Z8]; if (__8._56) continue; { __8._09 = 1; } } }; if ((_Z5 == 1)) { { // __5(2)._19 = (global._29 + " " + _39(global._b6) + "!"); __5(2)._19 = (global._29+"!"); if ((global._b6 == global._a6)) { __5(2)._19 = global._49 }; { var _59 = _26(2); for (var _69 in _59) { if (!_59.hasOwnProperty(_69)) continue; var _79 = _59[_69]; if (_79._56) continue; { var _89, _99; _89 = (-64); _99 = 19; for (var _a9 = 0, _b9 = ~~ (3); _a9 < _b9; _a9++) { { _79._v8 = _p6(((_O7._w8[0] + (_O7._x8[0] * 0.5)) + _89), (_O7._y8[0] + global._z8), 4); __5(_79._v8)._E6(_99); _89 += 64; if ((_99 == 19)) { _99 = 18 } else { if ((_99 == 18)) { _99 = 17 } }; } }; } } }; } } else { { __5(2)._19 = global._c9; { var _d9 = _26(2); for (var _e9 in _d9) { if (!_d9.hasOwnProperty(_e9)) continue; var _f9 = _d9[_e9]; if (_f9._56) continue; { _P1(_f9, _X5); } } }; } }; // updateShare(global._67); /*btGame.setShare({ title: "我在【果冻跳跃】中闯过"+global._67+"关,萌版果冻来袭!" });*/ } function _U1(_X5, _Y5) { global._W7 = 0; { var _g9 = _26(11); for (var _h9 in _g9) { if (!_g9.hasOwnProperty(_h9)) continue; var _i9 = _g9[_h9]; if (_i9._56) continue; { global._W7 += 1; if ((_i9._I6 == 23)) { global._W7 += 1 }; } } }; { var _j9 = _26(12); for (var _k9 in _j9) { if (!_j9.hasOwnProperty(_k9)) continue; var _l9 = _j9[_k9]; if (_l9._56) continue; { global._W7 += 1; if ((_l9._I6 == 23)) { global._W7 += 1 }; } } }; _X5._m9 = global._W7; if ((_X5._m9 == 1)) { { _X5._n9 = 1; { var _o9 = _26(3); for (var _p9 in _o9) { if (!_o9.hasOwnProperty(_p9)) continue; var _q9 = _o9[_p9]; if (_q9._56) continue; { _q9._r9 = 0; if (!(_q9._x6 instanceof Array)) { _q9._x6 = []; _q9._x6._f1 = 774487260 } else if (_q9._x6._f1 !== 774487260) { _q9._x6 = _q9._x6.slice(0); _q9._x6._f1 = 774487260 } _q9._x6[4] = 10; } } }; } }; } function _V1(_X5, _Y5) { _X5._s9 = 1; var _t9; _t9 = 0; if ((_X5._u9 == 1)) { { if ((((_O7._v9 > (_O7._w8[0] + _O7._x8[0] - 49))) && ((_O7._w9 < (_O7._y8[0] + 49))))) { _t9 = 1 }; } } else { if ((_X5._u9 == (-1))) { { if ((((_O7._v9 < (_O7._w8[0] + 49))) && ((_O7._w9 < (_O7._y8[0] + 49))))) { _t9 = 1 }; } } }; if ((_t9 == 1)) { { _X5._s9 = 0; if ((_X5._x9 == 1)) { { _X5._x9 = 0; var _y9; _y9 = 1; if ((global._m8 == 0)) { { if (((_t6(5) > 0.5) || (_t6(6) > 0.5))) { _y9 = 0 }; } }; if ((_y9 == 1)) { __5(2)._A8 = 1 }; } }; } }; if (_t6(3) > 0.5) { { { var _z9 = _26(3); for (var _A9 in _z9) { if (!_z9.hasOwnProperty(_A9)) continue; var _B9 = _z9[_A9]; if (_B9._56) continue; { if ((((_B9._a7 == 0)) && ((_B9._d7 == 0)) && ((_B9._r9 == 1)))) { { if (((_h7(_B9, _B9._w2, (_B9._x2 + 1), 9) > 0.5) && ((__5(2)._s9 == 1)) && ((global._m8 == 0)))) { { _B9._C9 = _B9._D9; var _E9; _E9 = 0; _B9._F9(_G9(_B9._w2, _B9._x2, _O7._v9, _O7._w9)); _B9._F9((round((_B9._H9 / 90)) * 90)); if ((((_B9._H9 == 0)) || ((_B9._H9 == 360)))) { { _B9._J7 = 1; _E9 = 1; } } else { if ((_B9._H9 == 180)) { { _B9._J7 = (-1); _E9 = 1; } } }; if ((_E9 == 1)) { { if ((_B9._J7 == 1)) { _B9._F6(2) } else { _B9._F6(0) }; var _I9; _I9 = 0; if (((((_B9._w2 + (_B9._J7 * 48)) > _O7._J9)) || (((_B9._w2 + (_B9._J7 * 48)) < 0)))) { _I9 = 1 }; if (((!(_h7(_B9, (_B9._w2 + (_B9._J7 * 48)), _B9._x2, 9) > 0.5)) && (!(_h7(_B9, (_B9._w2 + (_B9._J7 * 48)), _B9._x2, 10) > 0.5)) && ((_I9 == 0)))) { { if (_h7(_B9, _B9._w2, (_B9._x2 + 1), 9) > 0.5) { { var _i7; _i7 = _j7(_B9, _B9._w2, (_B9._x2 + 1), 9); { var _K9 = _26(_i7); for (var _L9 in _K9) { if (!_K9.hasOwnProperty(_L9)) continue; var _M9 = _K9[_L9]; if (_M9._56) continue; { if ((((_M9._w6 != 25)) && ((_M9._w6 != 30)))) { { if ((_M9._I6 == 23)) { { _M9._N9 = _p6(_M9._w2, _M9._x2, 20); __5(_M9._N9)._V8(_M9._J6); __5(_M9._N9)._W8(_M9._K6); __5(_M9._N9)._F6(_M9._L6); } }; _N1(_M9, _B9); } }; } } }; } }; _L1(_B9, _X5); } }; } }; } }; } }; } } }; } }; } function _W1(_X5, _Y5) { if ((global._m8 == 0)) { { if ((_X5._M6 == 1)) { { _X5._O6 += 10; _X5._S6 = -_Q8(_X5._N6, _X5._O6); _X5._N6 = (_X5._N6 * 0.96); if ((_X5._N6 < 0.9)) { { _X5._S6 = 0; _X5._M6 = 0; _X5._O6 = 0; _X5._N6 = 12; } }; if (_h7(_X5, _X5._w2, (_X5._x2 - 1), 3) > 0.5) { { var _q7; _q7 = _j7(_X5, _X5._w2, (_X5._x2 - 1), 3); if ((__5(_q7)._b7 == 0)) { { __5(_q7)._C9 = (__5(_q7)._D9 + _X5._S6); } }; } }; if (_h7(_X5, _X5._w2, (_X5._x2 - 4), 23) > 0.5) { { var _O9; _O9 = _j7(_X5, _X5._w2, (_X5._x2 - 4), 23); __5(_O9)._C9 = _X5._S6; } }; } }; if ((_X5._R6 == 1)) { { _X5._P6 += 0.1; if ((_X5._P6 > 1.25)) { _X5._R6 = (-1) }; } } else { if ((_X5._R6 == (-1))) { { _X5._P6 -= 0.1; if ((_X5._P6 < 1.05)) { { _X5._R6 = 0; _X5._P6 = 1; _X5._Q6 = 1; } }; } } }; } }; } function _X1(_X5, _Y5) {} function _Y1(_X5, _Y5) { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, (_X5._x2 + _X5._S6), _X5._P6, _X5._Q6, _X5._Q9, 16777215, _X5._H6); if ((_X5._I6 != (-1))) { { _P9(_X5, _X5._I6, _X5._G6, _X5._w2, (_X5._x2 + _X5._S6), (_X5._P6 * _X5._J6), (_X5._Q6 * _X5._K6), _X5._Q9, 16777215, _X5._H6); } }; } function _Z1(_X5, _Y5) { _X5._M6 = 0; _X5._N6 = 12; _X5._O6 = 0; _X5._P6 = 1; _X5._Q6 = 1; _X5._R6 = 0; _X5._S6 = 0; _X5._I6 = (-1); _X5._J6 = 1; _X5._K6 = 1; _X5._L6 = 0; } function __1(_X5, _Y5, _Z5) { _X5._R9 = _S9(0, 0, 1, 2, 3); _X5._T9 = (_O7._y8[0] + 72 + floor(random((_O7._U9[0] / 4)))); if ((_Z5 == 0)) { { _X5._V9 = (_O7._w8[0] + floor(random(_O7._x8[0]))); } } else { if ((_Z5 == 1)) { { _X5._V9 = (_O7._w8[0] + _O7._x8[0] + 40); } } }; for (var _W9 = 0, _X9 = ~~ (_X5._R9); _W9 < _X9; _W9++) { { var _Y9; _Y9 = _p6(_X5._V9, _X5._T9, 28); { var _Z9 = _26(_Y9); for (var __9 in _Z9) { if (!_Z9.hasOwnProperty(__9)) continue; var _0a = _Z9[__9]; if (_0a._56) continue; { while (_h7(_0a, _0a._w2, _0a._x2, 28) > 0.5) { { _0a._h6((_0a._1a - 32 + floor(random(64)))); _0a._j6((_0a._2a - 24 + floor(random(48)))); } }; } } }; } }; } function _02(_X5, _Y5) { if (dj_exists("resized") > 0.5) { return 1 };; global._x5 = 0; global._y5 = 0; global._z5 = 0; global._A5 = 0; global._B5 = 0; global._C5 = 0; global._D5 = 0; global._E5 = 0; global._S5 = 0; global._T5 = 0; global._U5 = (-1); global._V5 = 1; global._H5 = 1 ? 1 : 0; global._F5 = 0; global._G5 = 1; global._W5 = 1 ? 1 : 0; global._I5 = 1; global._J5 = 1; global._K5 = 1; global._M5 = 5000; global._L5 = 0; dj_add1("hide_adrbar", "height", "\n\rdocument.getElementById('gm4html5_div_id').style.height = ~~(height + 128) + 'px';\n\rwindow.scrollTo(0, 1)"); dj_add("orientation", "return window.fm_orientation"); dj_add("installed", "return window.navigator.standalone ? 1 : 0"); dj_add("timer", "return (new Date) | 0"); dj_add("resized", "var r = window.fm_resized; window.fm_resized = 0; return r"); dj_add("width", "return screen ? screen.width : window.innerWidth"); dj_add("height", "return screen ? screen.height : window.innerHeight"); dj_run("var e = document.getElementById('gm4html5_div_id');\n\rdocument.body.style.overflow = 'hidden';\n\re.style.paddingTop = '20px';\n\re.style.position = 'absolute';\n\re.style.height = '2048px';\n\rwindow.fm_resized = 1;\n\rwindow.fm_orientation = window.orientation ? window.orientation : 0;\n\rdocument.onorientationchange = window.onorientationchange = function() {\n\rwindow.fm_orientation = window.orientation; window.fm_resized = 1\n\r}\n\rdocument.onresize = window.onresize = function() { window.fm_resized = 1 }\n\r"); dj_run("var e;\n\rif (e = document.getElementById('debug_console')) e.style.display = 'none';\n\rif (e = document.getElementById('loading_screen')) e.style.display = 'none';"); } function _12(_X5, _Y5) { var _3a, _4a, _5a, _6a, _7a, _8a, _9a, _aa, _ba, _ca, _da; if ((global._V5 > 0)) { { global._V5 -= 1; return 0; } }; _9a = _42(_X5, _Y5); _ca = _O7._ea(); _da = _O7._fa(); if (((_52(_X5, _Y5) > 0.5) || ((global._U5 != _O7._ga())) || (global._W5 > 0.5))) { { global._W5 = 0 ? 1 : 0; global._S5 = _ca; global._T5 = _da; global._U5 = _O7._ga(); _22(_X5, _Y5); global._L5 = _9a; _5a = _92(_X5, _Y5); _6a = _a2(_X5, _Y5); _7a = _5a; _8a = _6a; global._N5 = (((global._S5 / global._T5) > 1) != ((_7a / _8a) > 1)) ? 1 : 0; if (_b2(_X5, _Y5) > 0.5) { { if ((_O7._ga() != 4)) { _O7._ha(0) }; if (((global._N5 > 0.5) && ((_O7._ga() != 4)))) { { if ((global._I5 != 0)) { global._I5 = (3 - global._I5) }; global._Q5 = _O7._ga(); _O7._ha(1); _ia(4); } }; if (((global._N5 > 0.5) && ((_O7._ga() == 4)))) { { if ((global._I5 != 0)) { global._I5 = (3 - global._I5) }; _ia(global._Q5); } }; if (((!(global._N5 > 0.5)) && ((_O7._ga() != 4)) && (global._R5 > 0.5))) { { global._R5 = 0 ? 1 : 0; } }; } }; _3a = (global._S5 / _5a); _4a = (global._T5 / _6a); if ((global._I5 == 1)) { _4a = _3a }; if ((global._I5 == 2)) { _3a = _4a }; if ((global._B5 != 0)) { _3a = min(_3a, global._B5) }; if ((global._D5 != 0)) { _3a = max(_3a, global._D5) }; if ((global._C5 != 0)) { _4a = min(_4a, global._C5) }; if ((global._E5 != 0)) { _4a = max(_4a, global._E5) }; _5a *= _3a; _6a *= _4a; if ((((global._x5 != 0)) && ((_5a > global._x5)))) { _5a = global._x5 }; if ((((global._y5 != 0)) && ((_6a > global._y5)))) { _6a = global._y5 }; _3a = (_5a / _7a); _4a = (_6a / _8a); if (global._H5 > 0.5) { { _3a = min(_3a, _4a); _4a = _3a; } }; _5a = (_7a * _3a); _6a = (_8a * _4a); _5a = round(_5a); _6a = round(_6a); _aa = (global._J5 / 2 * (_O7._ea() - _5a)); _ba = (1 + (global._K5 / 2 * (_O7._fa() - _6a))); if ((global._F5 > 0)) { _aa = max(_aa, 0) }; if ((global._F5 < 0)) { _aa = min(_aa, (global._S5 - _5a)) }; if ((global._G5 > 0)) { _ba = max(_ba, 0) }; if ((global._G5 < 0)) { _ba = min(_ba, (global._T5 - _6a)) }; _ja(_aa, _ba); _ka(_5a, _6a); } }; if (((((_9a - global._L5) > global._M5)) || ((global._L5 > _9a)))) { { _22(_X5, _Y5); global._L5 = _9a; } }; } function _22(_X5, _Y5) { return dj_call1("hide_adrbar", global._T5); } function _32(_X5, _Y5) { return dj_call("orientation"); } function _42(_X5, _Y5) { return dj_call("timer"); } function _52(_X5, _Y5) { return dj_call("resized"); } function _62(_X5, _Y5) { return dj_call("installed"); } function _72(_X5, _Y5) { return dj_call("width"); } function _82(_X5, _Y5) { return dj_call("height"); } function _92(_X5, _Y5) { if (_O7._la() > 0.5) { return _O7._x8[0] }; return _O7._J9; } function _a2(_X5, _Y5) { if (_O7._la() > 0.5) { return _O7._U9[0] }; return _O7._P7; } function _b2(_X5, _Y5) { if ((((_O7._ma() != 0)) && ((_O7._ma() != 1)))) { return 1 }; return 0; } function _c2(_X5, _Y5, _Z5) { if ((global._57 == 1)) { { switch (_Z5) { case 1: break; case 2: break; case 3: break; case 4: break; case 5: break; case 6: break; case 7: case 8: break; case 9: break; case 10: break; }; } }; } function _d2(_X5, _Y5) { dj_add5("adstep", "x", "y", "z", "h", "v", "\n\r var c, a, ch, cw, aw, ah, az, x, y;\n\r c = document.getElementById('gm4html5_div_id').getElementsByTagName('canvas')[0];\n\r if (!(a = document.getElementById('advert'))) return;\n\r ch = c.height;\n\r cw = c.width;\n\r aw = parseInt(a.style.width);\n\r ah = parseInt(a.style.height);\n\r az = (z == 0 ? 1 : Math.floor(cw * z) / aw);\n\r a.style.transform = a.style.webkitTransform = a.style.mozTransform = 'scale(' + az.toFixed(8) + ',' + az.toFixed(8) + ')';\n\r x = (parseInt(c.style.left) + cw * x + aw * az * (-h / 2));\n\r y = (parseInt(c.style.top) + ch * y + ah * az * (-v / 2));\n\r a.style.position = 'absolute';\n\r a.style.left = x.toFixed(4) + 'px';\n\r a.style.top = y.toFixed(4) + 'px';\n\r "); dj_add3("adsetup", "w", "h", "c", "\n\r var a;\n\r if (!(a = document.getElementById('advert'))) {\n\r a = document.createElement('div');\n\r a.setAttribute('id', 'advert');\n\r document.getElementById('gm4html5_div_id').appendChild(a);\n\r }\n\r if (!a) return;\n\r a.style.width = w + 'px';\n\r a.style.height = h + 'px';\n\r a.innerHTML = c;\n\r "); dj_add1("advis", "state", "\n\r var a = document.getElementById('advert');\n\r if (!a) return;\n\r a.style.display = state ? '' : 'none';\n\r "); } function _e2(_X5, _Y5, _Z5, _g8, _h8) { dj_call3("adsetup", _Z5, _g8, _h8); } function _f2(_X5, _Y5, _Z5, _g8, _h8, _H8, _I8) { dj_call5("adstep", _Z5, _g8, _h8, _H8, _I8); } function _g2(_X5, _Y5, _Z5) { dj_call1("advis", _Z5); } function _h2(_X5, _Y5) { var _na, _oa; for (_na = 0; (_na < (_h2.arguments.length - 2)); _na += 1) { { if ((_na == 0)) { _oa = "" } else { _oa += " " }; _oa += _39(_h2.arguments[2 + (_na)]); } }; dj_call1("log", _oa); } function _J2(_X5, _Y5) { { _02(_X5, _Y5);; global._r5 = 0; global._s5 = 240; _d2(_X5, _Y5); _pa(0); _p6(_X5._w2, _X5._x2, 35); _qa(); global._D5 = 1; global._E5 = 1; global._B5 = 1; global._C5 = 1; var _ra, _sa, _ta, _ua, _na; _ra = _72(_X5, _Y5); _sa = _82(_X5, _Y5); if ((((((min(_ra, _sa) >= 640)) && ((max(_ra, _sa) >= 960)) && (_b2(_X5, _Y5) > 0.5))) || ((_O7._ma() == 3)))) { { global._B5 = 1.75; global._C5 = 1.75; _ta = _92(_X5, _Y5); _ua = _a2(_X5, _Y5); if ((((_ra != 0)) && ((_sa != 0)))) { { if ((((_ra / _sa) > 1) != ((_ta / _ua) > 1))) { { _na = _ra; _ra = _sa; _sa = _na; } }; _na = min((_ra / _ta), (_sa / _ua)); global._B5 = min(global._B5, _na); global._C5 = min(global._C5, _na); } }; } }; if (0 > 0.5) { {; global._t5 = "http://flash.7k7k.com/"; global._u5 = "flash.7k7k.com"; global._v5 = _va(); global._w5 = _wa("true", global._v5); if ((global._w5 <= 0)) { { _xa(global._t5); return; } }; } }; _ya(("play.php")); _za(); }; } function _L2(_X5, _Y5) { { _12(_X5, _Y5); }; } function _N2(_X5, _Y5) { { var _Aa, _Ba, _Ca, _Da; if (_O7._la() > 0.5) { { _Aa = _O7._x8[0]; _Ba = _O7._U9[0]; _Ca = _O7._w8[0]; _Da = _O7._y8[0]; } } else { { _Aa = _O7._J9; _Ba = _O7._P7; _Ca = 0; _Da = 0; } }; if ((_O7._ga() == 4)) { { _J8(0); _K8(0.44); _Ea(0); _Fa(1); _Ga(0); _O8((_O7._J9 / 2), 8, global._Ha); _K8(1); } }; }; } function _Q2(_X5, _Y5) { { _X5._06 = (-1); _X5._66 = 0; }; } function _R2(_X5, _Y5) { { if ((_X5._66 == 1)) { { global._Ia += 0.1; if ((global._Ia > 0.98)) { { _X5._66 = (-1); _ia(_X5._06); _X5._06 = (-1); } }; } } else { if ((_X5._66 == (-1))) { { global._Ia -= 0.1; if ((global._Ia < 0.05)) { { global._Ia = 0; _X5._66 = 0; } }; } } }; }; } function _S2(_X5, _Y5) { { if ((global._Ia > 0)) { { _K8(global._Ia); _J8(0); _Ja(_O7._w8[0], _O7._y8[0], (_O7._w8[0] + _O7._x8[0]), (_O7._y8[0] + _O7._U9[0]), 0); _K8(1); } }; }; } function _T2(_X5, _Y5) { { _F1(_X5, _Y5); _G1(_X5, _Y5); _X5._Ka = (global._La + " " + _39(global._b6)); _X5._Ma = 1; _X5._Na = 1; _X5._A8 = 0; _X5._B8 = 0; _X5._G8 = 0; _X5._Oa = (_O7._x8[0] - 24); _X5._u9 = 1; _X5._Pa = 24; _X5._Qa = 1; _X5._Ra = 0; _X5._09 = 0; _X5._Sa = 0; _X5._Ta = 0; _X5._19 = ""; _X5._n8 = 0; _X5._q8 = 0; global._m8 = 0; _X5._u8 = 0; _X5._r8 = 0; if ((global._b6 == 1)) { { _X5._r8 = 1; _X5._p8 = 0; _X5._o8 = 0; _X5._s8 = 248; _X5._t8 = 112; _X5._q8 = 1; _X5._n8 = 1; } }; _X5._x9 = 1; _X5._Ua = 304; _X5._Va = 0; _X5._Wa = 240; _X5._Xa = 0; _X5._Ya = ""; _X5._Za = 0; __1(_X5, _Y5, 0); }; } function _U2(_X5, _Y5) { { if ((_X5._09 == 1)) { { if ((((global._b6 == global._a6)) && ((__5(1)._66 == 0)))) { { if ((_X5._Xa == 0)) { { _X5._Xa = 1; if ((global._47 == 0)) { { global._47 = 1; _X5._Ya = global.__a; _H1(_X5, _Y5); } } else { _X5._Ya = "" }; } }; _X5._Va += 12; if ((_X5._Va > 360)) { _X5._Va -= 360 }; _X5._Za += 5; if ((_X5._Za > 360)) { _X5._Za -= 360 }; _X5._Wa = (220 + _Q8(10, _X5._Va)); } }; if ((_X5._Sa < global._F8)) { _X5._Sa += 0.1 }; if ((_X5._Ta < 1)) { _X5._Ta += 0.1 }; } }; if ((global._m8 == 0)) { { if (_t6(3) > 0.5) { { if ((_X5._Ra == 0)) { { var _0b; _0b = _28(__5(3)._w2, __5(3)._x2, (_O7._w8[0] + _O7._x8[0] - 24), (_O7._y8[0] + _X5._Pa)); if ((_X5._u9 == 1)) { { if ((_0b < 128)) { { _X5._Ra = 1; } }; } } else { if ((_X5._u9 == (-1))) { { if ((_0b > 128)) { { _X5._Ra = 1; } }; } } }; } }; } }; if ((_X5._Ra == 1)) { { _X5._Qa -= 0.2; if ((_X5._Qa < 0.01)) { { _X5._Ra = 2; if ((_X5._u9 == 1)) { { _X5._Oa = 24; _X5._u9 = (-1); } } else { if ((_X5._u9 == (-1))) { { _X5._u9 = 1; _X5._Oa = (_O7._x8[0] - 24); } } }; } }; } } else { if ((_X5._Ra == 2)) { { if ((_X5._Qa < 1)) { _X5._Qa += 0.2 } else { _X5._Ra = 0 }; } } }; if ((_X5._R9 > 0)) { { if ((_1b(28) < 1)) { { __1(_X5, _Y5, 1); } }; } }; } }; _Q1(_X5, _Y5); _O1(_X5, _Y5); }; } function _W2(_X5, _Y5) { { _X5._x9 = 1; }; } function _Y2(_X5, _Y5) { { if ((_X5._09 == 0)) { _V1(_X5, _Y5) }; }; } function _Z2(_X5, _Y5) { { _Ga(0); _Fa(1); _Ea(0); _R1(_X5, _Y5, (_O7._w8[0] + (_O7._x8[0] * 0.5)), (_O7._y8[0] + 7), _X5._Ka, 0, 16777215); if ((_X5._u8 > 0)) { { _P9(_X5, 22, _X5._p8, _X5._s8, _X5._t8, 1, 1, 0, 16777215, _X5._u8); } }; if ((_X5._B8 > 0)) { { _J8(0); _K8(_X5._B8); _Ja(_O7._w8[0], _O7._y8[0], (_O7._w8[0] + _O7._x8[0]), (_O7._y8[0] + _O7._U9[0]), 0); _Fa(1); _Ea(1); _J8(16777215); _K8(_X5._G8); _O8((_O7._w8[0] + (_O7._x8[0] * 0.5)), (_O7._y8[0] + 96), global._2b); _K8(1); } } else { if ((_X5._Sa > 0)) { { var _3b; _3b = (_O7._w8[0] + (_O7._x8[0] * 0.5)); _J8(0); _K8(_X5._Sa); _Ja(_O7._w8[0], _O7._y8[0], (_O7._w8[0] + _O7._x8[0]), (_O7._y8[0] + _O7._U9[0]), 0); _Fa(1); _Ea(1); _J8(16777215); _K8(_X5._Ta); _O8(_3b, (_O7._y8[0] + 96), _X5._19); _O8(_3b, (_O7._y8[0] + 240), _X5._Ya); _K8(1); if ((_X5._19 == global._49)) { { _P9(_X5, 1, 0, _3b, (_O7._y8[0] + _X5._Ua), 1, 1, _X5._Za, 16777215, 0.66); _P9(_X5, 12, 0, _3b, _X5._Ua, 1, 1, _X5._Wa, 16777215, 1); _4b(_X5, 8, 0, _3b, (_O7._y8[0] + _X5._Ua)); _4b(_X5, 9, 0, (_3b - (global._5b * 2)), (_X5._Ua + (global._6b * 2))); _4b(_X5, 9, 0, (_3b + (global._5b * 2)), (_X5._Ua + (global._6b * 2))); } }; } } }; _P9(_X5, 21, 0, (_O7._w8[0] + _X5._Oa), (_O7._y8[0] + _X5._Pa), _X5._Ma, _X5._Na, 0, 16777215, _X5._Qa); }; } function __2(_X5, _Y5) { { _X5._D9 = 0; _X5._C9 = _X5._D9; _X5._7b = 0; _X5._F6(1); _X5._a7 = 0; _X5._d7 = 0; _X5._J7 = 1; _X5._S7 = 0; _X5._8b = (-300); _X5._r9 = 1; _X5._b7 = 0; _X5._c7 = 0; _X5._87 = _X5._w2; _X5._97 = _X5._x2; _X5._9b = global._6b; _X5._ab = _X5._9b; _X5._u7 = 270; _X5._bb = 0; _X5._cb = 0; _X5._G7 = 1; _X5._db = 0; _X5._w7 = 0; _X5._eb = 0; _X5._fb = 0; if (!(_X5._x6 instanceof Array)) { _X5._x6 = []; _X5._x6._f1 = 1584050178 } else if (_X5._x6._f1 !== 1584050178) { _X5._x6 = _X5._x6.slice(0); _X5._x6._f1 = 1584050178 } _X5._x6[7] = (30 + floor(random(100))); }; } function _13(_X5, _Y5) { { if (!(_X5._x6 instanceof Array)) { _X5._x6 = []; _X5._x6._f1 = 1584050178 } else if (_X5._x6._f1 !== 1584050178) { _X5._x6 = _X5._x6.slice(0); _X5._x6._f1 = 1584050178 } _X5._x6[7] = (15 + floor(random(160))); _X5._eb = 1; _X5._x6[6] = 3; if ((_X5._fb == 0)) { { if ((floor(random(4)) == 0)) { { _X5._fb = 1; _X5._x6[7] = 12; } }; } } else { _X5._fb = 0 }; }; } function _33(_X5, _Y5) { { _X5._eb = 0; }; } function _53(_X5, _Y5) { { if (_h7(_X5, _X5._w2, (_X5._x2 + 1), 11) > 0.5) { { _X5._F6(1); _X5._d7 = (-9); _X5._G7 = 0.5; _X5._db = 1; var _i7; _i7 = _j7(_X5, _X5._w2, (_X5._x2 + 1), 11); { var _gb = _26(_i7); for (var _hb in _gb) { if (!_gb.hasOwnProperty(_hb)) continue; var _ib = _gb[_hb]; if (_ib._56) continue; { _N1(_ib, _X5); } } }; } }; }; } function _63(_X5, _Y5) { { if ((global._m8 == 0)) { { _I1(_X5, _Y5); if ((_X5._w2 > (-96))) { { var _jb; if ((((_X5._w2 == _X5._87)) && ((_X5._x2 == _X5._97)))) { _jb = 270 } else { _jb = _G9(_X5._w2, _X5._x2, _X5._87, _X5._97) }; if ((_X5._u7 != _jb)) { { _X5._u7 += (_M1(_X5, _Y5, _X5._u7, _jb, 3) * 0.2); } }; if ((_X5._a7 == 0)) { _X5._cb += 10 } else { _X5._cb += 5 }; if ((_X5._cb > 359)) { _X5._cb -= 360 }; _X5._bb = _Q8(8, _X5._cb); } }; } }; }; } function _73(_X5, _Y5) { { var _kb; _kb = _X5._G6; if ((_X5._eb == 1)) { _kb += 3 }; if ((global._47 == 1)) { _P9(_X5, 11, 0, _X5._w2, (_X5._x2 + _X5._C9), 1, 1, (_X5._u7 + _X5._bb), 16777215, _X5._H6) }; _P9(_X5, _X5._w6, _kb, _X5._w2, (_X5._x2 + _X5._C9), _X5._U8, _X5._X8, _X5._Q9, 16777215, _X5._H6); _4b(_X5, 3, 0, (_X5._87 - global._5b), (_X5._97 + _X5._C9 + _X5._ab)); _4b(_X5, 3, 0, (_X5._87 + global._5b), (_X5._97 + _X5._C9 + _X5._ab)); }; } function _83(_X5, _Y5) { { _X5._R8 = 0; _X5._lb = 1; _X5._7b = 0; _X5._H6 = 0; _X5._66 = 1; }; } function _93(_X5, _Y5) { { _S1(_X5, _Y5); if ((_X5._66 == 1)) { { if ((_X5._H6 < 1)) { _X5._H6 += 0.1 }; } } else { if ((_X5._66 == (-1))) { { _X5._H6 -= 0.15; if ((_X5._H6 < 0.05)) { _T6(_X5) }; } } }; }; } function _b3(_X5, _Y5) { { if ((_X5._66 == 1)) { { _c2(_X5, _Y5, 5); if ((_X5._w6 == 18)) { { _C1(_X5, _Y5, 3); } } else { if ((_X5._w6 == 19)) { { _C1(_X5, _Y5, 2); } } else { if ((_X5._w6 == 17)) { { global._b6 += 1; if ((global._b6 > global._a6)) { _C1(_X5, _Y5, 2) } else { _C1(_X5, _Y5, 3) }; } } } }; _X5._V8(global._mb); _X5._W8(global._mb); } }; }; } function _c3(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, 0, 16777215, _X5._H6); }; } function _d3(_X5, _Y5) { { _X5._s7 = 0; _X5._7b = 0; _X5._nb = (-1); _X5._ob = 0; _X5._u7 = 270; _c2(_X5, _Y5, 3); if ((global._b6 > global._67)) { global._67 = global._b6 }; _H1(_X5, _Y5); }; } function _e3(_X5, _Y5) { { if ((global._47 == 1)) { { if ((_X5._u7 != 270)) { { _X5._u7 += (_M1(_X5, _Y5, _X5._u7, 270, 3) * 0.2); } }; } }; if ((_X5._s7 == 1)) { { var _pb; _pb = ((_X5._x2 - _X5._t7) * 0.5); _X5._j6(_X5._x2 - _pb); } }; _X5._qb(_X5._Q9 + _X5._nb); _X5._nb += (_e7(_X5._nb) * 0.5); _X5._V8(_X5._U8 - 0.02); _X5._W8(_X5._X8 - 0.02); if ((((_X5._ob == 0)) && ((global._m8 == 0)))) { { if ((_X5._U8 < 0.5)) { { _X5._ob = 1; _T1(_X5, _Y5, 1); } }; } }; if ((_X5._U8 < 0.01)) { { _X5._V8(0); _X5._W8(0); _X5._F2 = 0; } }; }; } function _f3(_X5, _Y5) { { if ((global._47 == 1)) { _P9(_X5, 11, 0, _X5._w2, _X5._x2, _X5._U8, _X5._X8, (_X5._Q9 + _X5._u7), 16777215, _X5._H6) }; _P9(_X5, _X5._w6, (-1), _X5._w2, _X5._x2, _X5._U8, _X5._X8, _X5._Q9, 16777215, _X5._H6); }; } function _g3(_X5, _Y5) { { _X5._rb = 270; _X5._sb = 0.5; _X5._u7 = 270; _X5._87 = _X5._w2; _X5._97 = _X5._x2; }; } function _h3(_X5, _Y5) { { if ((global._m8 == 0)) { { _X5._sb = 0.5; _X5._7b = 1; _X5._qb(_X5._Q9 + (_X5._J7 * 4)); var _jb; if ((((_X5._w2 == _X5._87)) && ((_X5._x2 == _X5._97)))) { _jb = 270 } else { _jb = _G9(_X5._w2, _X5._x2, _X5._87, _X5._97) }; if ((_X5._u7 != _jb)) { { _X5._u7 += (_M1(_X5, _Y5, _X5._u7, _jb, 3) * 0.2); } }; if ((_X5._x2 > (_O7._P7 + 32))) { { _T1(_X5, _Y5, 0); _T6(_X5); } }; _X5._87 = _X5._w2; _X5._97 = _X5._x2; } } else { { _X5._7b = 0; _X5._sb = 0; _X5._j6(_X5._x2 - _X5._tb); _X5._h6(_X5._w2 - _X5._ub); } }; }; } function _i3(_X5, _Y5) { { if ((global._47 == 1)) { _P9(_X5, 11, 0, _X5._w2, _X5._x2, _X5._U8, _X5._X8, _X5._u7, 16777215, _X5._H6) }; _P9(_X5, _X5._w6, (-1), _X5._w2, _X5._x2, _X5._U8, _X5._X8, _X5._Q9, 16777215, _X5._H6); }; } function _j3(_X5, _Y5) { { _X5._7b = 0; }; } function _k3(_X5, _Y5) { { _X5._vb = 4; _X5._wb = 4; _X5._f8 = 0; _X5._xb = 0; _X5._7b = 0; _X5._F6(1); }; } function _l3(_X5, _Y5) { { if (_t6(_X5._C6) > 0.5) { { if ((_X5._f8 == 1)) { { if ((_X5._xb == 0)) { { _X5._xb = 1; _X5._vb = (_X5._vb * 3); _X5._wb = (_X5._wb * 3); } }; } }; var _yb, _zb; if ((_X5._f8 == 0)) { { var _Ab; _Ab = ((_X5._F7 - 1) * 45); _yb = (__5(_X5._C6)._w2 + ((__5(_X5._C6)._J7 * _P8(24, (_X5._B7 + _Ab))) * (-1))); _zb = (__5(_X5._C6)._x2 + _Q8(24, (_X5._B7 + _Ab))); } } else { { _yb = __5(_X5._C6)._w2; _zb = __5(_X5._C6)._x2; } }; if ((((__5(_X5._C6)._w2 > 0)) && ((__5(_X5._C6)._x2 > (-24))))) { { if ((((_X5._w2 != _yb)) || ((_X5._x2 != _zb)))) { { var _Bb, _Cb; _Bb = ((_yb - _X5._w2) * 0.3); if ((abs(_Bb) > _X5._vb)) { _Bb = (_e7(_Bb) * _X5._vb) }; _Cb = ((_zb - _X5._x2) * 0.3); if ((abs(_Cb) > _X5._wb)) { _Cb = (_e7(_Cb) * _X5._wb) }; _X5._h6(_X5._w2 + _Bb); _X5._j6(_X5._x2 + _Cb); if ((_X5._f8 == 1)) { { if ((_28(_X5._w2, _X5._x2, __5(_X5._C6)._w2, (__5(_X5._C6)._x2 + __5(_X5._C6)._S6)) < 1)) { { _X5._h6(__5(_X5._C6)._w2); _X5._j6(__5(_X5._C6)._x2); { var _Db = _26(_X5._C6); for (var _Eb in _Db) { if (!_Db.hasOwnProperty(_Eb)) continue; var _Fb = _Db[_Eb]; if (_Fb._56) continue; { _Fb._F2 = 0; _c2(_Fb, _X5, 2); _p6(_Fb._w2, _Fb._x2, 17); if (!(_Fb._x6 instanceof Array)) { _Fb._x6 = []; _Fb._x6._f1 = 3306058022 } else if (_Fb._x6._f1 !== 3306058022) { _Fb._x6 = _Fb._x6.slice(0); _Fb._x6._f1 = 3306058022 } _Fb._x6[0] = 5; } } }; _T6(_X5); } }; } }; } }; if ((__5(_X5._C6)._w2 > _X5._w2)) { _X5._V8(1) } else { _X5._V8((-1)) }; } }; } }; }; } function _m3(_X5, _Y5) { { _X5._H6 = global._Gb; _X5._F6(_S9(0, 1, 2)); _X5._7b = 0; _X5._v6 = 12; _Z1(_X5, _Y5); _X5._n9 = 0; }; } function _o3(_X5, _Y5) { { if ((_X5._n9 == 1)) { { _p6(_X5._w2, _X5._x2, 21); } }; }; } function _p3(_X5, _Y5) { { _W1(_X5, _Y5); }; } function _q3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _r3(_X5, _Y5) { { _X5._H6 = global._Gb; _X5._D6 = 1; _X5._7b = 0; _X5._Hb = 21; _X5._v6 = 11; _Z1(_X5, _Y5); }; } function _s3(_X5, _Y5) { { _g1._B1[_X5._Hb](_X5, _Y5); }; } function _t3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _u3(_X5, _Y5) { { _Z1(_X5, _Y5); _X5._v6 = 14; }; } function _v3(_X5, _Y5) { { _W1(_X5, _Y5); }; } function _w3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _x3(_X5, _Y5) { { _Z1(_X5, _Y5); _X5._v6 = 13; _X5._D6 = 1; }; } function _y3(_X5, _Y5) { { _W1(_X5, _Y5); }; } function _z3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _A3(_X5, _Y5) { { _Z1(_X5, _Y5); _X5._v6 = 16; _X5._y6 = (-1); _X5._7b = 0; }; } function _C3(_X5, _Y5) { { _Ib(_X5); }; } function _D3(_X5, _Y5) { { _W1(_X5, _Y5); }; } function _E3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _F3(_X5, _Y5) { { _Z1(_X5, _Y5); _X5._v6 = 15; _X5._y6 = (-1); _X5._7b = 0; _X5._D6 = 1; }; } function _G3(_X5, _Y5) { { _Ib(_X5); }; } function _H3(_X5, _Y5) { { _W1(_X5, _Y5); }; } function _I3(_X5, _Y5) { { _Y1(_X5, _Y5); }; } function _J3(_X5, _Y5) { { _X5._7b = 0; }; } function _K3(_X5, _Y5) { { _X5._H6 -= 0.05; _X5._qb(_X5._Q9 + 8); _X5._V8(_X5._U8 - 0.02); _X5._W8(_X5._X8 - 0.02); if ((_X5._H6 < 0.01)) { _T6(_X5) }; }; } function _L3(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, _X5._Q9, 16777215, _X5._H6); _P9(_X5, 29, 0, _X5._w2, _X5._x2, _X5._U8, _X5._X8, 0, 16777215, _X5._H6); }; } function _M3(_X5, _Y5) { { _X5._Jb = _p6(_X5._w2, _X5._x2, 11); __5(_X5._Jb)._E6(24); _T6(_X5); }; } function _N3(_X5, _Y5) { { _X5._Jb = _p6(_X5._w2, _X5._x2, 11); __5(_X5._Jb)._I6 = 23; __5(_X5._Jb)._J6 = 0.66; __5(_X5._Jb)._K6 = 0.66; __5(_X5._Jb)._L6 = __5(_X5._Jb)._G6; _T6(_X5); }; } function _O3(_X5, _Y5) { { _X5._7b = 0; _X5._Kb = _p6(_X5._w2, _X5._x2, 11); __5(_X5._Kb)._F2 = 0; }; } function _P3(_X5, _Y5) { { _X5._V8(_X5._U8 + 0.04); _X5._W8(_X5._X8 + 0.04); if ((_X5._U8 > 0.99)) { { __5(_X5._Kb)._F6(_X5._G6); __5(_X5._Kb)._F2 = 1; _T6(_X5); } }; }; } function _R3(_X5, _Y5) { { _X5._v6 = 0; _X5._Lb = 0; _X5._Mb = 0; _X5._Nb = 1; for (var _Ob = 0, _Pb = ~~ (8); _Ob < _Pb; _Ob++) { { _X5._Mb += 1; if (!(_X5._Qb instanceof Array)) { _X5._Qb = []; _X5._Qb._f1 = 3841641825 } else if (_X5._Qb._f1 !== 3841641825) { _X5._Qb = _X5._Qb.slice(0); _X5._Qb._f1 = 3841641825 } _X5._Qb[_X5._Mb] = _X5._w2; if (!(_X5._Rb instanceof Array)) { _X5._Rb = []; _X5._Rb._f1 = 4259445792 } else if (_X5._Rb._f1 !== 4259445792) { _X5._Rb = _X5._Rb.slice(0); _X5._Rb._f1 = 4259445792 } _X5._Rb[_X5._Mb] = _X5._x2; if (!(_X5._Sb instanceof Array)) { _X5._Sb = []; _X5._Sb._f1 = 2095766334 } else if (_X5._Sb._f1 !== 2095766334) { _X5._Sb = _X5._Sb.slice(0); _X5._Sb._f1 = 2095766334 } _X5._Sb[_X5._Mb] = random(360); if (!(_X5._Tb instanceof Array)) { _X5._Tb = []; _X5._Tb._f1 = 1404060895 } else if (_X5._Tb._f1 !== 1404060895) { _X5._Tb = _X5._Tb.slice(0); _X5._Tb._f1 = 1404060895 } _X5._Tb[_X5._Mb] = (5 + random(0.5)); if (!(_X5._Ub instanceof Array)) { _X5._Ub = []; _X5._Ub._f1 = 1364505388 } else if (_X5._Ub._f1 !== 1364505388) { _X5._Ub = _X5._Ub.slice(0); _X5._Ub._f1 = 1364505388 } _X5._Ub[_X5._Mb] = (-1); if (!(_X5._Vb instanceof Array)) { _X5._Vb = []; _X5._Vb._f1 = 504702443 } else if (_X5._Vb._f1 !== 504702443) { _X5._Vb = _X5._Vb.slice(0); _X5._Vb._f1 = 504702443 } _X5._Vb[_X5._Mb] = 1; if (!(_X5._Wb instanceof Array)) { _X5._Wb = []; _X5._Wb._f1 = 226464275 } else if (_X5._Wb._f1 !== 226464275) { _X5._Wb = _X5._Wb.slice(0); _X5._Wb._f1 = 226464275 } _X5._Wb[_X5._Mb] = 1; if (!(_X5._Xb instanceof Array)) { _X5._Xb = []; _X5._Xb._f1 = 3565179399 } else if (_X5._Xb._f1 !== 3565179399) { _X5._Xb = _X5._Xb.slice(0); _X5._Xb._f1 = 3565179399 } _X5._Xb[_X5._Mb] = 1; } }; }; } function _S3(_X5, _Y5) { { if ((global._m8 == 0)) { { _X5._F9(_X5._H9 - 10); _X5._qb(_X5._Q9 + 10); _X5._v6 += 1; if ((_X5._v6 == 6)) { { _X5._v6 = 0; for (var _Yb = 0, _Zb = ~~ (4); _Yb < _Zb; _Yb++) { { var __b; __b = (_X5._Nb + _X5._Mb); if (!(_X5._Sb instanceof Array)) { _X5._Sb = []; _X5._Sb._f1 = 2095766334 } else if (_X5._Sb._f1 !== 2095766334) { _X5._Sb = _X5._Sb.slice(0); _X5._Sb._f1 = 2095766334 } _X5._Sb[__b] = (_X5._H9 + _X5._Lb); if (!(_X5._Tb instanceof Array)) { _X5._Tb = []; _X5._Tb._f1 = 1404060895 } else if (_X5._Tb._f1 !== 1404060895) { _X5._Tb = _X5._Tb.slice(0); _X5._Tb._f1 = 1404060895 } _X5._Tb[__b] = (5 + random(0.5)); if (!(_X5._Ub instanceof Array)) { _X5._Ub = []; _X5._Ub._f1 = 1364505388 } else if (_X5._Ub._f1 !== 1364505388) { _X5._Ub = _X5._Ub.slice(0); _X5._Ub._f1 = 1364505388 } _X5._Ub[__b] = (-1); if (!(_X5._Vb instanceof Array)) { _X5._Vb = []; _X5._Vb._f1 = 504702443 } else if (_X5._Vb._f1 !== 504702443) { _X5._Vb = _X5._Vb.slice(0); _X5._Vb._f1 = 504702443 } _X5._Vb[__b] = 1; if (!(_X5._Wb instanceof Array)) { _X5._Wb = []; _X5._Wb._f1 = 226464275 } else if (_X5._Wb._f1 !== 226464275) { _X5._Wb = _X5._Wb.slice(0); _X5._Wb._f1 = 226464275 } _X5._Wb[__b] = 1; if (!(_X5._Xb instanceof Array)) { _X5._Xb = []; _X5._Xb._f1 = 3565179399 } else if (_X5._Xb._f1 !== 3565179399) { _X5._Xb = _X5._Xb.slice(0); _X5._Xb._f1 = 3565179399 } _X5._Xb[__b] = 1; if (!(_X5._Qb instanceof Array)) { _X5._Qb = []; _X5._Qb._f1 = 3841641825 } else if (_X5._Qb._f1 !== 3841641825) { _X5._Qb = _X5._Qb.slice(0); _X5._Qb._f1 = 3841641825 } _X5._Qb[__b] = _X5._w2; if (!(_X5._Rb instanceof Array)) { _X5._Rb = []; _X5._Rb._f1 = 4259445792 } else if (_X5._Rb._f1 !== 4259445792) { _X5._Rb = _X5._Rb.slice(0); _X5._Rb._f1 = 4259445792 } _X5._Rb[__b] = _X5._x2; _X5._Mb += 1; _X5._Lb += 90; } }; } }; _X5._e6 = _X5._Nb; for (var _0c = 0, _1c = ~~ (_X5._Mb); _0c < _1c; _0c++) { { if (!(_X5._Qb instanceof Array)) { _X5._Qb = []; _X5._Qb._f1 = 3841641825 } else if (_X5._Qb._f1 !== 3841641825) { _X5._Qb = _X5._Qb.slice(0); _X5._Qb._f1 = 3841641825 } _X5._Qb[_X5._e6] += _P8(_X5._Tb[_X5._e6], _X5._Sb[_X5._e6]); if (!(_X5._Rb instanceof Array)) { _X5._Rb = []; _X5._Rb._f1 = 4259445792 } else if (_X5._Rb._f1 !== 4259445792) { _X5._Rb = _X5._Rb.slice(0); _X5._Rb._f1 = 4259445792 } _X5._Rb[_X5._e6] += _Q8(_X5._Tb[_X5._e6], _X5._Sb[_X5._e6]); if ((_X5._Tb[_X5._e6] > 0)) { if (!(_X5._Tb instanceof Array)) { _X5._Tb = []; _X5._Tb._f1 = 1404060895 } else if (_X5._Tb._f1 !== 1404060895) { _X5._Tb = _X5._Tb.slice(0); _X5._Tb._f1 = 1404060895 } _X5._Tb[_X5._e6] -= 0.25 }; if (!(_X5._Sb instanceof Array)) { _X5._Sb = []; _X5._Sb._f1 = 2095766334 } else if (_X5._Sb._f1 !== 2095766334) { _X5._Sb = _X5._Sb.slice(0); _X5._Sb._f1 = 2095766334 } _X5._Sb[_X5._e6] -= (_X5._Vb[_X5._e6] * _X5._Tb[_X5._e6] * 3); if ((_X5._Ub[_X5._e6] == (-1))) { { if (!(_X5._Wb instanceof Array)) { _X5._Wb = []; _X5._Wb._f1 = 226464275 } else if (_X5._Wb._f1 !== 226464275) { _X5._Wb = _X5._Wb.slice(0); _X5._Wb._f1 = 226464275 } _X5._Wb[_X5._e6] -= 0.04; if ((_X5._Wb[_X5._e6] < 0.01)) { { _X5._Mb -= 1; _X5._Nb = (_X5._e6 + 1); } }; } }; if (!(_X5._Xb instanceof Array)) { _X5._Xb = []; _X5._Xb._f1 = 3565179399 } else if (_X5._Xb._f1 !== 3565179399) { _X5._Xb = _X5._Xb.slice(0); _X5._Xb._f1 = 3565179399 } _X5._Xb[_X5._e6] -= 0.03; _X5._e6 += 1; } }; } }; }; } function _T3(_X5, _Y5) { { var _2c, _3c; _2c = 0.33; _3c = (_X5._H9 - 24); for (var _4c = 0, _5c = ~~ (3); _4c < _5c; _4c++) { { _P9(_X5, _X5._w6, 0, _X5._w2, _X5._x2, 1, 1, _3c, 16777215, _2c); _3c += 8; _2c += 0.33; if ((_2c > 0.97)) { _2c = 1 }; } }; _X5._e6 = _X5._Nb; for (var _6c = 0, _7c = ~~ (_X5._Mb); _6c < _7c; _6c++) { { _P9(_X5, 5, 0, _X5._Qb[_X5._e6], _X5._Rb[_X5._e6], _X5._Xb[_X5._e6], _X5._Xb[_X5._e6], 0, 16777215, _X5._Wb[_X5._e6]); _X5._e6 += 1; } }; }; } function _U3(_X5, _Y5) { { _X5._e6 = 1; _X5._8c = _X5._w2; _X5._S6 = _X5._x2; _X5._F9(_S9(0, 40, 80)); _X5._F9(0); _X5._9c = 8; _X5._ac = _X5._9c; }; } function _V3(_X5, _Y5) { { if ((global._m8 == 0)) { { _X5._F9(_X5._H9 + floor(_X5._ac)); if ((_X5._e6 == 0)) { { if ((_X5._ac > 0)) { _X5._ac -= 0.5 }; _X5._h6((-999)); _X5._j6((-999)); } } else { { if ((_X5._ac < _X5._9c)) { _X5._ac += 0.5 }; _X5._h6(_X5._8c); _X5._j6(_X5._S6); } }; _X5._7b = 1; } } else { _X5._7b = 0 }; }; } function _W3(_X5, _Y5) { { if ((_X5._e6 == 1)) { _P9(_X5, _X5._w6, _X5._G6, _X5._8c, _X5._S6, 1, 1, _X5._H9, 16777215, 1) }; var _B7; _B7 = (_X5._H9 + 90); for (var _bc = 0, _cc = ~~ (3); _bc < _cc; _bc++) { { _4b(_X5, 27, _X5._e6, floor((_X5._8c + _P8(19, _B7))), floor((_X5._S6 + _Q8(19, _B7)))); _B7 += 120; } }; }; } function _X3(_X5, _Y5) { { _X5._j6(_X5._x2 + 24); _X5._lb = 1; _X5._C9 = 0; _X5._dc = 0; _X5._7b = 0; }; } function _Y3(_X5, _Y5) { { if ((global._m8 == 0)) { { if ((_X5._lb == 1)) { { if (_h7(_X5, _X5._w2, _X5._x2, 3) > 0.5) { { _c2(_X5, _Y5, 6); _X5._dc = 5; _X5._lb = 0; if ((_X5._G6 == 0)) { _X5._F6(1) } else { _X5._F6(0) }; { var _ec = _26(22); for (var _fc in _ec) { if (!_ec.hasOwnProperty(_fc)) continue; var _gc = _ec[_fc]; if (_gc._56) continue; { if ((_gc._e6 == 1)) { _gc._e6 = 0 } else { _gc._e6 = 1 }; } } }; } }; } } else { if ((_X5._lb == 0)) { { if (!(_h7(_X5, _X5._w2, _X5._x2, 3) > 0.5)) { { _X5._dc = 0; _X5._lb = 1; } }; } } }; } }; }; } function _Z3(_X5, _Y5) { { _4b(_X5, _X5._w6, _X5._G6, _X5._w2, (_X5._x2 + _X5._C9 + _X5._dc)); }; } function __3(_X5, _Y5) { { _X5._7b = 0; _X5._R7 = 1; _X5._hc = 0; _X5._ic = 0; _X5._jc = 0; _X5._38 = 0; _X5._48 = 1; _X5._kc = 0; _X5._lc = 1; _X5._mc = 0; _X5._nc = 0.08; _X5._oc = (1 / _X5._nc); _X5._pc = (360 / ceil(_X5._oc)); }; } function _04(_X5, _Y5) { { if ((global._m8 == 0)) { { _X5._jc -= 10; if ((_X5._jc < 0)) { _X5._jc += 360 }; _X5._hc += 10; if ((_X5._hc > 360)) { _X5._hc -= 360 }; _X5._ic = _Q8(1, _X5._hc); if ((((_X5._R7 == 0)) && ((_X5._38 == 0)))) { { if (!(_h7(_X5, _X5._w2, _X5._x2, 3) > 0.5)) { { _X5._R7 = 1; } }; } }; if ((_X5._38 == 1)) { { var _Bb, _Cb; _Bb = ((_X5._88 - _X5._w2) * 0.5); _Cb = ((_X5._98 - _X5._x2) * 0.5); _X5._88 -= _Bb; _X5._98 -= _Cb; _X5._kc += _X5._pc; _X5._48 -= _X5._nc; if ((_X5._48 < 0.01)) { { _X5._48 = 1; _X5._38 = 0; _X5._kc = 0; } }; } } else { if ((_X5._38 == 2)) { { _X5._kc += _X5._pc; _X5._48 += _X5._nc; if ((_X5._48 > 0.99)) { { if (_t6(3) > 0.5) { { __5(3)._h6(_X5._w2); __5(3)._j6(_X5._x2); if ((__5(3)._S7 == 1)) { { { var _qc = _26(3); for (var _rc in _qc) { if (!_qc.hasOwnProperty(_rc)) continue; var _sc = _qc[_rc]; if (_sc._56) continue; { if (((!(_h7(_sc, (_sc._w2 + (_sc._J7 * 48)), _sc._x2, 9) > 0.5)) && (!(_h7(_sc, (_sc._w2 + (_sc._J7 * 48)), _sc._x2, 10) > 0.5)))) { _L1(_sc, _X5) } else { { _sc._a7 = 0; _sc._d7 = 0; _sc._c7 = 0; } }; } } }; } } else { { var _tc = _26(3); for (var _uc in _tc) { if (!_tc.hasOwnProperty(_uc)) continue; var _vc = _tc[_uc]; if (_vc._56) continue; { _vc._a7 = 0; _vc._d7 = 0; _vc._c7 = 0; } } } }; { var _wc = _26(3); for (var _xc in _wc) { if (!_wc.hasOwnProperty(_xc)) continue; var _yc = _wc[_xc]; if (_yc._56) continue; { _G1(_yc, _X5); if (_h7(_yc, _yc._w2, (_yc._x2 + 1), 9) > 0.5) { { _K1(_yc, _X5); } }; } } }; } }; _X5._48 = 1; _X5._38 = 0; _X5._kc = 0; } }; } } }; } }; }; } function _14(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, (_X5._x2 + _X5._ic), _X5._U8, _X5._X8, _X5._jc, 16777215, 1); if ((_X5._38 > 0)) { { if ((global._47 == 1)) { _P9(_X5, 11, 0, _X5._88, _X5._98, _X5._48, _X5._48, (_X5._kc + _X5._u7), 16777215, _X5._H6) }; _P9(_X5, 6, 0, _X5._88, _X5._98, _X5._48, _X5._48, _X5._kc, 16777215, _X5._lc); } }; }; } function _24(_X5, _Y5) { { _X5._G7 = 0.4; _X5._H6 = global._Gb; _X5._H6 -= _S9(0, 0.05, 0.1, 0.15, 0.2); _X5._7b = 0; _X5._zc = 0.03; _X5._Ac = 12; _X5._e6 = 1; for (var _Bc = 0, _Cc = ~~ (_X5._Ac); _Bc < _Cc; _Bc++) { { if (!(_X5._Dc instanceof Array)) { _X5._Dc = []; _X5._Dc._f1 = 3005833649 } else if (_X5._Dc._f1 !== 3005833649) { _X5._Dc = _X5._Dc.slice(0); _X5._Dc._f1 = 3005833649 } _X5._Dc[_X5._e6] = (_X5._w2 - 12 + floor(random(24))); if (!(_X5._Ec instanceof Array)) { _X5._Ec = []; _X5._Ec._f1 = 2855424240 } else if (_X5._Ec._f1 !== 2855424240) { _X5._Ec = _X5._Ec.slice(0); _X5._Ec._f1 = 2855424240 } _X5._Ec[_X5._e6] = (_X5._x2 - 12 + floor(random(24))); if (!(_X5._Fc instanceof Array)) { _X5._Fc = []; _X5._Fc._f1 = 570967874 } else if (_X5._Fc._f1 !== 570967874) { _X5._Fc = _X5._Fc.slice(0); _X5._Fc._f1 = 570967874 } _X5._Fc[_X5._e6] = random(360); if (!(_X5._Gc instanceof Array)) { _X5._Gc = []; _X5._Gc._f1 = 1237748027 } else if (_X5._Gc._f1 !== 1237748027) { _X5._Gc = _X5._Gc.slice(0); _X5._Gc._f1 = 1237748027 } _X5._Gc[_X5._e6] = _S9(5, (-5)); if (!(_X5._Hc instanceof Array)) { _X5._Hc = []; _X5._Hc._f1 = 4098195115 } else if (_X5._Hc._f1 !== 4098195115) { _X5._Hc = _X5._Hc.slice(0); _X5._Hc._f1 = 4098195115 } _X5._Hc[_X5._e6] = ((-3) + random(6)); if (!(_X5._Ic instanceof Array)) { _X5._Ic = []; _X5._Ic._f1 = 2641649074 } else if (_X5._Ic._f1 !== 2641649074) { _X5._Ic = _X5._Ic.slice(0); _X5._Ic._f1 = 2641649074 } _X5._Ic[_X5._e6] = (1 - random(8)); if (!(_X5._Jc instanceof Array)) { _X5._Jc = []; _X5._Jc._f1 = 2515542095 } else if (_X5._Jc._f1 !== 2515542095) { _X5._Jc = _X5._Jc.slice(0); _X5._Jc._f1 = 2515542095 } _X5._Jc[_X5._e6] = global._Gb; if (!(_X5._Kc instanceof Array)) { _X5._Kc = []; _X5._Kc._f1 = 876661701 } else if (_X5._Kc._f1 !== 876661701) { _X5._Kc = _X5._Kc.slice(0); _X5._Kc._f1 = 876661701 } _X5._Kc[_X5._e6] = 0.66; if (!(_X5._Lc instanceof Array)) { _X5._Lc = []; _X5._Lc._f1 = 2951055274 } else if (_X5._Lc._f1 !== 2951055274) { _X5._Lc = _X5._Lc.slice(0); _X5._Lc._f1 = 2951055274 } _X5._Lc[_X5._e6] = 0.66; _X5._e6 += 1; } }; }; } function _34(_X5, _Y5) { { if ((global._m8 == 0)) { { _X5._e6 = 1; for (var _Mc = 0, _Nc = ~~ (_X5._Ac); _Mc < _Nc; _Mc++) { { if (!(_X5._Ic instanceof Array)) { _X5._Ic = []; _X5._Ic._f1 = 2641649074 } else if (_X5._Ic._f1 !== 2641649074) { _X5._Ic = _X5._Ic.slice(0); _X5._Ic._f1 = 2641649074 } _X5._Ic[_X5._e6] += _X5._G7; if (!(_X5._Dc instanceof Array)) { _X5._Dc = []; _X5._Dc._f1 = 3005833649 } else if (_X5._Dc._f1 !== 3005833649) { _X5._Dc = _X5._Dc.slice(0); _X5._Dc._f1 = 3005833649 } _X5._Dc[_X5._e6] += _X5._Hc[_X5._e6]; if (!(_X5._Ec instanceof Array)) { _X5._Ec = []; _X5._Ec._f1 = 2855424240 } else if (_X5._Ec._f1 !== 2855424240) { _X5._Ec = _X5._Ec.slice(0); _X5._Ec._f1 = 2855424240 } _X5._Ec[_X5._e6] += _X5._Ic[_X5._e6]; if (!(_X5._Fc instanceof Array)) { _X5._Fc = []; _X5._Fc._f1 = 570967874 } else if (_X5._Fc._f1 !== 570967874) { _X5._Fc = _X5._Fc.slice(0); _X5._Fc._f1 = 570967874 } _X5._Fc[_X5._e6] += _X5._Gc[_X5._e6]; if (!(_X5._Jc instanceof Array)) { _X5._Jc = []; _X5._Jc._f1 = 2515542095 } else if (_X5._Jc._f1 !== 2515542095) { _X5._Jc = _X5._Jc.slice(0); _X5._Jc._f1 = 2515542095 } _X5._Jc[_X5._e6] -= _X5._zc; if (!(_X5._Kc instanceof Array)) { _X5._Kc = []; _X5._Kc._f1 = 876661701 } else if (_X5._Kc._f1 !== 876661701) { _X5._Kc = _X5._Kc.slice(0); _X5._Kc._f1 = 876661701 } _X5._Kc[_X5._e6] -= _X5._zc; if (!(_X5._Lc instanceof Array)) { _X5._Lc = []; _X5._Lc._f1 = 2951055274 } else if (_X5._Lc._f1 !== 2951055274) { _X5._Lc = _X5._Lc.slice(0); _X5._Lc._f1 = 2951055274 } _X5._Lc[_X5._e6] -= _X5._zc; _X5._e6 += 1; } }; if ((((_X5._Kc[1] < 0.01)) || ((_X5._Jc[1] < 0.01)))) { _T6(_X5) }; } }; }; } function _44(_X5, _Y5) { { _X5._e6 = 1; for (var _Oc = 0, _Pc = ~~ (_X5._Ac); _Oc < _Pc; _Oc++) { { _P9(_X5, _X5._w6, _X5._G6, _X5._Dc[_X5._e6], _X5._Ec[_X5._e6], _X5._Kc[_X5._e6], _X5._Lc[_X5._e6], _X5._Fc[_X5._e6], 16777215, _X5._Jc[_X5._e6]); _X5._e6 += 1; } }; }; } function _54(_X5, _Y5) { { _X5._F9(180); _X5._Qc(0.5); _X5._H6 = _S9(0.7, 0.75, 0.8); _X5._7b = _S9(0.5, 0.6, 0.7); }; } function _64(_X5, _Y5) { { if ((global._m8 == 0)) { { if (((_X5._w2 + 26) < _O7._w8[0])) { _T6(_X5) }; } } else { { _X5._h6(_X5._w2 + _P8(_X5._Rc, (_X5._H9 + 180))); } }; }; } function _74(_X5, _Y5) { { global._m8 = 0; _X5._Sc = 1; _X5._Tc = 0; _X5._Uc = 0; _X5._Vc = 0; }; } function _84(_X5, _Y5) { { _X5._Vc += 1; _X5._Uc += 5; if ((_X5._Uc > 360)) { _X5._Uc -= 360 }; _X5._Tc += 10; if ((_X5._Tc > 359)) { _X5._Tc -= 360 }; _X5._V8((1 + _Q8(0.03, _X5._Tc))); _X5._W8((1 - _Q8(0.03, _X5._Tc))); }; } function _94(_X5, _Y5) { { var _Wc, _Xc; _Wc = (_O7._w8[0] + (_O7._x8[0] * 0.5)); _Xc = (_O7._y8[0] + 72); _P9(_X5, 1, 0, _Wc, _Xc, 1, 1, _X5._Uc, 16777215, 0.66); _P9(_X5, 0, 0, _Wc, _Xc, _X5._U8, _X5._X8, _X5._Q9, 16777215, _X5._H6); }; } window.mainCount = 0; function _a4(_X5, _Y5) { { window.mainCount++; if(window.mainCount >= 2){ // Play68.goHome(); } _X5._Yc = global._Zc; _X5._R8 = 0; _X5._lb = 1; _X5._7b = 0; _X5.__c = 0; if (!(_X5._x6 instanceof Array)) { _X5._x6 = []; _X5._x6._f1 = 1584050178 } else if (_X5._x6._f1 !== 1584050178) { _X5._x6 = _X5._x6.slice(0); _X5._x6._f1 = 1584050178 } _X5._x6[6] = 10; _X5._0d = 0; }; } function _b4(_X5, _Y5) { { if (!(_X5._x6 instanceof Array)) { _X5._x6 = []; _X5._x6._f1 = 1584050178 } else if (_X5._x6._f1 !== 1584050178) { _X5._x6 = _X5._x6.slice(0); _X5._x6._f1 = 1584050178 } _X5._x6[6] = 90; _X5._0d = 1; }; } function _c4(_X5, _Y5) { { _X5.__c += 10; _X5._qb(_Q8(3, _X5.__c)); _S1(_X5, _Y5); if ((_X5._0d == 1)) { { _X5._F6(_X5._G6 + 1); if ((_X5._G6 == 11)) { { _X5._F6(0); _X5._0d = 0; } }; } }; }; } function _d4(_X5, _Y5) { { if ((_X5._lb == 1)) { { _c2(_X5, _Y5, 5); _X5._lb = 0; _X5._V8(global._mb); _X5._W8(global._mb); _X5._R8 = 1; _X5._T8 = (_X5._w2 - 320); if (!(_t6(32) > 0.5)) { { var _e6, _yb, _zb, _1d; _e6 = 1; _1d = 0; for (var _2d = 0, _3d = ~~ (3); _2d < _3d; _2d++) { { _yb = (64 + _1d); _zb = 192; for (var _4d = 0, _5d = ~~ (12); _4d < _5d; _4d++) { { _X5._6d = _p6((_yb + 320), _zb, 32); __5(_X5._6d)._Yc = _39(_e6); { var _7d = _26(_X5._6d); for (var _8d in _7d) { if (!_7d.hasOwnProperty(_8d)) continue; var _9d = _7d[_8d]; if (_9d._56) continue; { _9d._F6(2); if (((global._67 + 1) > _ad(_9d._Yc))) { _9d._F6(0) } else { if (((global._67 + 2) > _ad(_9d._Yc))) { _9d._F6(1) } }; _9d._R8 = 1; _9d._T8 = (_9d._w2 - 320); } } }; _yb += 64; if ((_yb > (256 + _1d))) { { _yb = (64 + _1d); _zb += 64; } }; _e6 += 1; } }; _X5._6d = _p6((_yb + 320), _zb, 33); { var _bd = _26(_X5._6d); for (var _cd in _bd) { if (!_bd.hasOwnProperty(_cd)) continue; var _dd = _bd[_cd]; if (_dd._56) continue; { _dd._R8 = 1; _dd._T8 = (_dd._w2 - 320); } } }; if ((_e6 != (global._a6 + 1))) { { _X5._6d = _p6((_yb + 320 + 192), _zb, 34); { var _ed = _26(_X5._6d); for (var _fd in _ed) { if (!_ed.hasOwnProperty(_fd)) continue; var _gd = _ed[_fd]; if (_gd._56) continue; { _gd._R8 = 1; _gd._T8 = (_gd._w2 - 320); } } }; } }; _1d += 320; } }; } } else { { { var _hd = _26(32); for (var _id in _hd) { if (!_hd.hasOwnProperty(_id)) continue; var _jd = _hd[_id]; if (_jd._56) continue; { _jd._R8 = 1; _jd._T8 = (_jd._T8 - 320); } } }; { var _kd = _26(33); for (var _ld in _kd) { if (!_kd.hasOwnProperty(_ld)) continue; var _md = _kd[_ld]; if (_md._56) continue; { _md._R8 = 1; _md._T8 = (_md._T8 - 320); } } }; { var _nd = _26(34); for (var _od in _nd) { if (!_nd.hasOwnProperty(_od)) continue; var _pd = _nd[_od]; if (_pd._56) continue; { _pd._R8 = 1; _pd._T8 = (_pd._T8 - 320); } } }; } }; } }; }; } function _e4(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, _X5._Q9, 16777215, 1); }; } function _f4(_X5, _Y5) { { _X5._7b = 0; _X5._F6(global._57); _X5._R8 = 0; }; } function _g4(_X5, _Y5) { { _S1(_X5, _Y5); }; } function _h4(_X5, _Y5) { { if ((_X5._G6 == 1)) { { _c2(_X5, _Y5, 10); _X5._F6(0); } } else { { _c2(_X5, _Y5, 9); _X5._F6(1); } }; global._57 = _X5._G6; _H1(_X5, _Y5); }; } function _i4(_X5, _Y5) { { _X5._R8 = 0; _X5._Yc = ""; _X5._lb = 1; _X5._7b = 0; }; } function _j4(_X5, _Y5) { { _S1(_X5, _Y5); }; } function _k4(_X5, _Y5) { { if ((((_X5._G6 == 0)) || ((_X5._G6 == 1)))) { { _c2(_X5, _Y5, 5); global._b6 = _ad(_X5._Yc); _C1(_X5, _Y5, 3); } }; _X5._V8(global._mb); _X5._W8(global._mb); }; } function _l4(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, 0, 16777215, _X5._H6); _Ga(0); _J8(0); _Fa(1); _Ea(1); _K8(0.5); _qd(_X5._w2, _X5._x2, _X5._Yc, _X5._U8, _X5._X8, 0); _K8(1); }; } function _m4(_X5, _Y5) { { _X5._R8 = 0; _X5._lb = 1; _X5._7b = 0; }; } function _n4(_X5, _Y5) { { _S1(_X5, _Y5); }; } function _o4(_X5, _Y5) { { _c2(_X5, _Y5, 5); { var _rd = _26(30); for (var _sd in _rd) { if (!_rd.hasOwnProperty(_sd)) continue; var _td = _rd[_sd]; if (_td._56) continue; { _td._lb = 1; _td._R8 = 1; _td._T8 = (_td._T8 + 320); } } }; { var _ud = _26(32); for (var _vd in _ud) { if (!_ud.hasOwnProperty(_vd)) continue; var _wd = _ud[_vd]; if (_wd._56) continue; { _wd._R8 = 1; _wd._T8 = (_wd._T8 + 320); } } }; { var _xd = _26(34); for (var _yd in _xd) { if (!_xd.hasOwnProperty(_yd)) continue; var _zd = _xd[_yd]; if (_zd._56) continue; { _zd._R8 = 1; _zd._T8 = (_zd._T8 + 320); } } }; { var _Ad = _26(33); for (var _Bd in _Ad) { if (!_Ad.hasOwnProperty(_Bd)) continue; var _Cd = _Ad[_Bd]; if (_Cd._56) continue; { _Cd._R8 = 1; _Cd._T8 = (_Cd._T8 + 320); } } }; _X5._V8(global._mb); _X5._W8(global._mb); }; } function _p4(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, 0, 16777215, _X5._H6); }; } function _q4(_X5, _Y5) { { _X5._R8 = 0; _X5._lb = 1; _X5._7b = 0; }; } function _r4(_X5, _Y5) { { _S1(_X5, _Y5); }; } function _s4(_X5, _Y5) { { _c2(_X5, _Y5, 5); { var _Dd = _26(30); for (var _Ed in _Dd) { if (!_Dd.hasOwnProperty(_Ed)) continue; var _Fd = _Dd[_Ed]; if (_Fd._56) continue; { _Fd._lb = 1; _Fd._R8 = 1; _Fd._T8 = (_Fd._T8 - 320); } } }; { var _Gd = _26(32); for (var _Hd in _Gd) { if (!_Gd.hasOwnProperty(_Hd)) continue; var _Id = _Gd[_Hd]; if (_Id._56) continue; { _Id._R8 = 1; _Id._T8 = (_Id._T8 - 320); } } }; { var _Jd = _26(34); for (var _Kd in _Jd) { if (!_Jd.hasOwnProperty(_Kd)) continue; var _Ld = _Jd[_Kd]; if (_Ld._56) continue; { _Ld._R8 = 1; _Ld._T8 = (_Ld._T8 - 320); } } }; { var _Md = _26(33); for (var _Nd in _Md) { if (!_Md.hasOwnProperty(_Nd)) continue; var _Od = _Md[_Nd]; if (_Od._56) continue; { _Od._R8 = 1; _Od._T8 = (_Od._T8 - 320); } } }; _X5._V8(global._mb); _X5._W8(global._mb); }; } function _t4(_X5, _Y5) { { _P9(_X5, _X5._w6, _X5._G6, _X5._w2, _X5._x2, _X5._U8, _X5._X8, 0, 16777215, _X5._H6); }; } function _u4(_X5, _Y5) { { _X5._h6((_O7._J9 / 2)); _X5._j6((_O7._P7 - 25)); if ((_O7._ga() != 4)) { _4b(_X5, 32, 0, _X5._w2, _X5._x2) }; }; } function _H4(_X5) { _D1(_X5, _X5); global._Ia = 0; global._Gb = 0.7; global._F8 = 0.7; global._m8 = 0; global._mb = 1.3; global._5b = 10; global._6b = 24; global._Zc = "Play"; global._La = "Level"; global._2b = "Game Paused"; global._29 = "恭喜过关"; global._49 = "Victory!"; global._c9 = "闯关失败"; global._Ha = "turn your device#to the side"; global._Pd = "Enable Sound?"; global._Qd = "Yes"; global._Rd = "No"; global.__a = "Cape unlocked!"; global._i6 = 16; global._k6 = 32; global._z8 = 184; _p6(0, 0, 1); _27("jjsav.ini"); global._47 = _Sd("data", "have_cape", 0); global._57 = _Sd("data", "sound_enabled", 1); global._67 = _Sd("data", "levels_completed", 0); _77(); _ia(2); } function _Td(_Ud) { this._Vd = 0; this._Wd = !1; this._Xd = null; this._Yd = null; this._Zd = null; this.__d = null; this._0e = null; this._1e = null; this._2e = []; this._3e(_Ud._1e) }; _Td.prototype._4e = function() { var _5e = new _Td({ _1e: this._1e }); return _5e }; _Td.prototype._3e = function(_6e) { this._1e = _6e; this._Xd = new _7e._8e(_6e); this._0e = new _7e._9e(this._Xd.data); this.__d = new _7e._ae(this._0e); if (_6e._be.length > 0) { this._ce(null) } this._de(null); this._Yd = new _7e._ee(); var _fe = this._Xd._ge(); this._he = [_fe._r2, _fe._s2 ] }; _Td.prototype._ie = function() { var _je = _ke ? _ke._le() : 30; return~~ ((_je * this._Zd.duration) + 0.5) }; _Td.prototype._ce = function(_me) { this._ne(_me, 0) }; _Td.prototype._ne = function(_me, _oe) { var _pe = null; if (((_me === null) || (_me === undefined)) && (_oe === 0)) { if (this._1e._be.length > 0) { _pe = this._1e._qe(this._1e._be[0].name) } } else { _pe = this._1e._qe(_me) } if (_pe !== null && _pe !== undefined) { if (_oe === 0) { this._Vd = 0; this._Zd = _pe } this.__d._re(_oe, _pe, !0) } }; _Td.prototype._de = function(_se) { if (_se === null || _se === undefined) { if (this._1e._te) { this._Xd._ue(this._1e._te.name); } } else { this._Xd._ue(_se) } this._Xd._ve() }; _Td.prototype._we = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _De) { var _Ee = this._Xd; _fe = this._Xd._ge(), _Fe = this._Vd, _Ge = (_De !== undefined); var _He = Math.abs(_Ae * this._he[0]); _Ie = Math.abs(_Be * this._he[1]); if ((_Fe !== _xe) || (_Ee._w2 !== _ye) || (_Ee._x2 !== _ze) || (_fe._r2 !== _He) || (_fe._s2 !== _Ie) || (_fe._E4 !== _Ce)) { var _Je = this._ie(); if (_Je > 0) { var _Ke = _xe % _Je, _Le = this._Vd % _Je, duration = this._Zd.duration, _Me = this._Zd._Ne.length; if (_Le > _Ke) { _Ke += _Je } var _Oe = (_Ke - _Le) / _Je; this.__d._Pe(_Oe * duration); this.__d.apply(this._Xd) } this._Vd = _xe; _Ee._w2 = _ye; _Ee._x2 = _ze; _Ee._Qe = ((_Ae * this._he[0]) < 0) ? 1 : 0; _Ee._Re = ((_Be * this._he[1]) < 0) ? 1 : 0; _fe._r2 = _He; _fe._s2 = _Ie; _fe._E4 = _Ce; _Ge = !0 } if (_Ge) { if (_De) { _De._Se(_Te, 0, _De, null) } _Ee._Ge(); this._Yd._Pe(this._Xd, 1) } }; _Td.prototype._Ue = function(_Ve, _ye, _ze, _Ae, _Be, _Ce) { var _Je = this._ie(); var _We = ~~ (_Je * (_Ve / this._Zd.duration) + 0.5); this._we(_We, _ye, _ze, _Ae, _Be, _Ce) }; _Td.prototype._Xe = function(_Ye, _xe, _ye, _ze, _Ae, _Be, _Ce) { var _Ze = this._Yd; if (_Ze.__e.length > 0) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); _Ye.left = ~~ (_Ze._0f + 0.5); _Ye._1f = ~~ (_Ze._2f + 0.5); _Ye.top = ~~ (_Ze._3f + 0.5); _Ye.bottom = ~~ (_Ze._4f + 0.5); return !0 } return !1; }; _Td.prototype._5f = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _6f, _7f, _8f, _9f, _af, _bf, _cf) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); _6f._we(_7f, _8f, _9f, _af, _bf, _cf); for (var _df = 0; _df < _6f._Yd._ef.length; _df++) { var _ff = _6f._Yd._ef[_df]; var _k2 = _ff.length / 2; for (var _gf = 0; _gf < _k2; _gf++) { var _hf, _if, _jf, _kf; _hf = _ff[(_gf * 2) + 0]; _if = _ff[(_gf * 2) + 1]; if (_gf === (_k2 - 1)) { _jf = _ff[0]; _kf = _ff[1] } else { _jf = _ff[((_gf + 1) * 2) + 0]; _kf = _ff[((_gf + 1) * 2) + 1] } var _lf = this._Yd._mf(_hf, _if, _jf, _kf); if (_lf !== null) { return !0 } } } return !1 }; _Td.prototype._nf = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _of, _pf, _7f, _8f, _9f, _af, _bf, _cf) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); if (_of == null) { return !1 } if (_of._qf <= 0) { return !1 } if (_of._rf.length > 0) { _7f = _7f % _of._rf.length } if (_7f < 0) { _7f = _7f + _of._rf.length } _af = 1.0 / _af; _bf = 1.0 / _bf; var _Ze = this._Yd; var _sf = _tf(_Ze._0f, _pf.left); var _uf = _vf(_Ze._2f, _pf._1f); var _wf = _tf(_Ze._3f, _pf.top); var _xf = _vf(_Ze._4f, _pf.bottom); var _yf = Math.sin(-_cf * (_zf / 180.0)); var _Af = Math.cos(-_cf * (_zf / 180.0)); for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = ((_Af * (_u2 - _8f) + _yf * (_Bf - _9f)) * _af + _of._Df); var _Ef = ((_Af * (_Bf - _9f) - _yf * (_u2 - _8f)) * _bf + _of._Ff); if ((_Cf < 0) || (_Cf >= _of._Gf)) { continue } if ((_Ef < 0) || (_Ef >= _of._Hf)) { continue } if (_of._If) { if (!_of._rf._Jf[_7f]._Jf[_Cf + (_Ef * _of._Gf)]) { continue } } var _lf = _Ze._Kf(_u2, _Bf); if (_lf !== null) { return !0 } } } return !1 }; _Td.prototype._Lf = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _Mf, _Nf) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); var _lf = this._Yd._Kf(_Mf, _Nf); if (_lf !== null) { return !0 } return !1 }; _Td.prototype._Of = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _Mf, _Nf, _8f, _9f) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); var _lf = this._Yd._mf(_Mf, _Nf, _8f, _9f); if (_lf !== null) { return !0 } return !1 }; _Td.prototype._Pf = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _Mf, _Nf, _8f, _9f) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); var _lf = null; var _Ze = this._Yd; var _lf = _Ze._mf(_Mf, _Nf, _8f, _9f); if (_lf !== null) { return !0 } _lf = _Ze._mf(_Mf, _Nf, _8f, _Nf); if (_lf !== null) { return !0 } _lf = _Ze._mf(_8f, _Nf, _8f, _9f); if (_lf !== null) { return !0 } _lf = _Ze._mf(_8f, _9f, _Mf, _9f); if (_lf !== null) { return !0; } _lf = _Ze._mf(_Mf, _9f, _Mf, _Nf); if (_lf !== null) { return !0 } return !1 }; _Td.prototype._Qf = function(_xe, _ye, _ze, _Ae, _Be, _Ce, _Rf) { this._we(_xe, _ye, _ze, _Ae, _Be, _Ce); var _Ze = this._Yd; var _Ee = this._Xd; var _sf = _tf(_Ze._0f, _Rf.left); var _uf = _vf(_Ze._2f, _Rf._1f); var _wf = _tf(_Ze._3f, _Rf.top); var _xf = _vf(_Ze._4f, _Rf.bottom); var _Sf = ((_Rf._1f + _Rf.left) / 2); var _Tf = ((_Rf.bottom + _Rf.top) / 2); var _Uf = ((_Rf._1f - _Rf.left) / 2); var _Vf = ((_Rf.bottom - _Rf.top) / 2); var _Gf = (_Ze._2f - _Ze._0f); var _Hf = (_Ze._4f - _Ze._3f); var _Df = _Ee._w2 - _Ze._0f; var _Ff = _Ee._x2 - _Ze._3f; if ((_Ae == 1) && (_Be == 1) && (Math.abs(_Ce) < 0.0001)) { for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { if (_Wf((_u2 - _Sf) / _Uf) + _Wf((_Bf - _Tf) / _Vf) > 1) continue; var _Cf = _u2 - _ye + _Df; var _Ef = _Bf - _ze + _Ff; if ((_Cf < 0) || (_Cf >= _Gf)) continue; if ((_Ef < 0) || (_Ef >= _Hf)) continue; var _lf = _Ze._Kf(_u2, _Bf); if (_lf !== null) { return !0 } } } } else { var _Xf = Math.sin(-_Ce * _zf / 180.0); var _Yf = Math.cos(-_Ce * _zf / 180.0); for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { if (_Wf((_u2 - _Sf) / _Uf) + _Wf((_Bf - _Tf) / _Vf) > 1) continue; var _Cf = Math.floor((_Yf * (_u2 - _ye) + _Xf * (_Bf - _ze)) / _Ae + _Df); var _Ef = Math.floor((_Yf * (_Bf - _ze) - _Xf * (_u2 - _ye)) / _Be + _Ff); if ((_Cf < 0) || (_Cf >= _Gf)) continue; if ((_Ef < 0) || (_Ef >= _Hf)) continue; var _lf = _Ze._Kf(_u2, _Bf); if (_lf !== null) { return !0 } } } } return !1 }; var _Zf = null;; function __f() { this._0g = []; this._1g = null; this._1e = null; this._2g = null; if (_3g) { this._4g = this._5g; this._6g = this._7g } else { this._4g = this._8g; this._6g = this._9g } }; __f.prototype._ag = function(_me, _bg, _cg, _dg) { this._0g[_me] = { _eg: [], _fg: 0, _gg: 32, _hg: _ig[_dg], _w2: 0, _x2: 0, _y2: _bg, _z2: _cg } }; __f.prototype._jg = function(_kg, _lg, _bg, _cg) { var width = _bg; var height = _cg; var _mg = this; var _ng = function(_og) { var _pg = _og; _pg.width = width; _pg.height = height; var _qg = _rg(_sg + _og.name); _pg._tg = _qg; _ig[_qg].onload = function(e) { _mg._ag(_pg.name, e.srcElement.width, e.srcElement.height, _qg) }; _ig[_qg].onerror = function(e) { debug("ImageError: " + e.srcElement.src) }; _ig[_qg].URL = _og.name }; this._2g = new _7e._ug(_lg, { load: _ng }); this._1g = new _7e._vg(new _7e._wg(this._2g)); this._1e = this._1g._xg(JSON.parse(_kg)) }; __f.prototype._yg = function(_zg, _se, _We, _w2, _x2, _Ag, _Bg, _Cg, _Dg, alpha) { if (this._1e === null || this._1e === undefined) return; _7e._Eg._Fg = !0; var _Gg = new _Td(this); _Gg._ce(_zg); _Gg._de(_se); _Gg._we(_We, _w2, _x2, _Ag, _Bg, _Cg); this._Hg(_Gg._Xd, _Dg, alpha) }; __f.prototype._Ig = function(_We, _w2, _x2, _Ag, _Bg, _Cg, _Dg, alpha) { if (!_Zf || !_Zf._Jg()) { this._yg(null, null, _We, _w2, _x2, _Ag, _Bg, _Cg, _Dg, alpha) } else { _7e._Eg._Fg = !0; var _Kg = _Zf._Jg(); _Kg._we(_We, _w2, _x2, _Ag, _Bg, _Cg, _Zf); this._Hg(_Kg._Xd, _Dg, alpha); if (_Kg._Wd) { this._Lg(_Kg._Yd) } } }; __f.prototype._Hg = function(_Mg, _Ng, alpha) { var _Og = (_Ng & 0xff) / 255.0, _Pg = ((_Ng & 0xff00) >> 8) / 255.0, _Qg = ((_Ng & 0xff0000) >> 16) / 255.0; for (var _u2 = 0, _df = _Mg._Rg.length; _u2 < _df; _u2++) { var _Sg = _Mg._Tg[_u2]; if (!_Sg._Ug) { continue } var _uf = (_Sg._Ee._uf * _Sg._uf * _Og * 255); var _Vg = (_Sg._Ee._Vg * _Sg._Vg * _Pg * 255); var _xf = (_Sg._Ee._xf * _Sg._xf * _Qg * 255); var _Wg = (_Sg._Ee._Wg * _Sg._Wg * alpha * 255); var _Dg = (_Wg << 24) | (_uf << 0) | (_Vg << 8) | (_xf << 16); switch (_Sg._Ug.type) { case _7e._Xg._Yg: this._4g(_Sg, _Dg, alpha); break; case _7e._Xg._Zg: case _7e._Xg.__g: this._6g(_Sg, _Dg, alpha); break } } }; __f.prototype._Lg = function(_0h) { _1h(_0h._0f, _0h._3f, _0h._0f, _0h._4f); _1h(_0h._0f, _0h._4f, _0h._2f, _0h._4f); _1h(_0h._2f, _0h._4f, _0h._2f, _0h._3f); _1h(_0h._2f, _0h._3f, _0h._0f, _0h._3f); for (var _df = 0; _df < _0h._ef.length; _df++) { var _ff = _0h._ef[_df]; var _k2 = _ff.length / 2; for (var _gf = 0; _gf < _k2; _gf++) { var _hf, _if, _jf, _kf; _hf = _ff[(_gf * 2) + 0]; _if = _ff[(_gf * 2) + 1]; if (_gf == (_k2 - 1)) { _jf = _ff[0]; _kf = _ff[1] } else { _jf = _ff[((_gf + 1) * 2) + 0]; _kf = _ff[((_gf + 1) * 2) + 1] } _1h(_hf, _if, _jf, _kf) } } }; __f.prototype._8g = function(_Sg, _Dg, alpha) { var _Yg = _Sg._Ug, _2h = []; _Yg._3h(_Sg._Ee._w2, _Sg._Ee._x2, _Sg._4h, _2h); var _5h = []; _5h[0] = {}; _5h[0]._w2 = _2h[2]; _5h[0]._x2 = _2h[3]; _5h[0]._6h = _Yg._7h[2]; _5h[0]._8h = _Yg._7h[3]; _5h[1] = {}; _5h[1]._w2 = _2h[4]; _5h[1]._x2 = _2h[5]; _5h[1]._6h = _Yg._7h[4]; _5h[1]._8h = _Yg._7h[5]; _5h[2] = {}; _5h[2]._w2 = _2h[6]; _5h[2]._x2 = _2h[7]; _5h[2]._6h = _Yg._7h[6]; _5h[2]._8h = _Yg._7h[7]; _5h[3] = {}; _5h[3]._w2 = _2h[0]; _5h[3]._x2 = _2h[1]; _5h[3]._6h = _Yg._7h[0]; _5h[3]._8h = _Yg._7h[1]; _9h.globalAlpha = alpha; var _pg = _Yg._tg._ah; var _qg = _ig[_pg._tg]; if (_Dg != _bh) { if (!this._0g[_Yg._tg._ah.name]) { var _ah = _Yg._tg._ah; this._ag(_ah.name, _ah.width, _ah.height, _Yg._tg._ah._tg) } _qg = _ch(this._0g[_Yg._tg._ah.name], _Dg) } var _dh = this._0g[_pg.name]; this._eh(_9h, _qg, _5h[0]._w2, _5h[0]._x2, _5h[1]._w2, _5h[1]._x2, _5h[2]._w2, _5h[2]._x2, _5h[0]._6h * _dh._y2, _5h[0]._8h * _dh._z2, _5h[1]._6h * _dh._y2, _5h[1]._8h * _dh._z2, _5h[2]._6h * _dh._y2, _5h[2]._8h * _dh._z2); this._eh(_9h, _qg, _5h[2]._w2, _5h[2]._x2, _5h[3]._w2, _5h[3]._x2, _5h[0]._w2, _5h[0]._x2, _5h[2]._6h * _dh._y2, _5h[2]._8h * _dh._z2, _5h[3]._6h * _dh._y2, _5h[3]._8h * _dh._z2, _5h[0]._6h * _dh._y2, _5h[0]._8h * _dh._z2) }; __f.prototype._9g = function(_Sg, _Dg, alpha) { var _Zg = _Sg._Ug, _2h = []; _Zg._fh(_Sg._Ee._w2, _Sg._Ee._x2, _Sg, _2h); var _pg = _Zg._tg._ah; var _qg = _ig[_pg._tg]; if (_Dg != _bh) { if (!this._0g[_Zg._tg._ah.name]) { var _ah = _Zg._tg._ah; this._ag(_ah.name, _ah.width, _ah.height, _Zg._tg._ah._tg) } _qg = _ch(this._0g[_Zg._tg._ah.name], _Dg) } for (var _df = 0; _df < _Zg._gh.length / 3; _df++) { var _hh = _Zg._gh[(_df * 3) + 0], _ih = _Zg._gh[(_df * 3) + 1], _jh = _Zg._gh[(_df * 3) + 2]; var _5h = []; _5h[0] = {}; _5h[0]._w2 = _2h[(_hh * 2) + 0]; _5h[0]._x2 = _2h[(_hh * 2) + 1]; _5h[0]._6h = _Zg._7h[(_hh * 2) + 0]; _5h[0]._8h = _Zg._7h[(_hh * 2) + 1]; _5h[1] = {}; _5h[1]._w2 = _2h[(_ih * 2) + 0]; _5h[1]._x2 = _2h[(_ih * 2) + 1]; _5h[1]._6h = _Zg._7h[(_ih * 2) + 0]; _5h[1]._8h = _Zg._7h[(_ih * 2) + 1]; _5h[2] = {}; _5h[2]._w2 = _2h[(_jh * 2) + 0]; _5h[2]._x2 = _2h[(_jh * 2) + 1]; _5h[2]._6h = _Zg._7h[(_jh * 2) + 0]; _5h[2]._8h = _Zg._7h[(_jh * 2) + 1]; var _dh = this._0g[_pg.name]; this._eh(_9h, _qg, _5h[0]._w2, _5h[0]._x2, _5h[1]._w2, _5h[1]._x2, _5h[2]._w2, _5h[2]._x2, _5h[0]._6h * _dh._y2, _5h[0]._8h * _dh._z2, _5h[1]._6h * _dh._y2, _5h[1]._8h * _dh._z2, _5h[2]._6h * _dh._y2, _5h[2]._8h * _dh._z2) } }; __f.prototype._eh = function(_kh, _lh, _mh, _nh, _hf, _if, _jf, _kf, _oh, _ph, _qh, _rh, _sh, _th) { _kh.save(); _kh.beginPath(); _kh.moveTo(_mh, _nh); _kh.lineTo(_hf, _if); _kh.lineTo(_jf, _kf); _kh.closePath(); _kh.clip(); var _uh = _oh * (_th - _rh) - _qh * _th + _sh * _rh + (_qh - _sh) * _ph; if (_uh == 0) { return } var _vh = -(_ph * (_jf - _hf) - _rh * _jf + _th * _hf + (_rh - _th) * _mh) / _uh; var _wh = (_rh * _kf + _ph * (_if - _kf) - _th * _if + (_th - _rh) * _nh) / _uh; var _xh = (_oh * (_jf - _hf) - _qh * _jf + _sh * _hf + (_qh - _sh) * _mh) / _uh; var _yh = -(_qh * _kf + _oh * (_if - _kf) - _sh * _if + (_sh - _qh) * _nh) / _uh; var _zh = (_oh * (_th * _hf - _rh * _jf) + _ph * (_qh * _jf - _sh * _hf) + (_sh * _rh - _qh * _th) * _mh) / _uh; var _Ah = (_oh * (_th * _if - _rh * _kf) + _ph * (_qh * _kf - _sh * _if) + (_sh * _rh - _qh * _th) * _nh) / _uh; _kh.transform(_vh, _wh, _xh, _yh, _zh, _Ah); _kh.drawImage(_lh, 0, 0); _kh.restore() }; __f.prototype._5g = function(_Sg, _Dg, alpha) { var _Yg = _Sg._Ug, _2h = []; _Yg._3h(_Sg._Ee._w2, _Sg._Ee._x2, _Sg._4h, _2h); var _qg = _ig[_Yg._tg._ah._tg]; if (!_qg.complete) return; if (!_qg._Bh) _Ch({ _hg: _qg }); var _Dh = 6; var _Eh = _3g._Fh(_Gh._Hh, _qg._Bh, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _Dh; var _Mh = _Eh._Nh; var _Oh = _Eh._Ph; var _Qh = _Eh._Rh; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh[_Sh + 0] = _Mh[_Xh + 0] = _2h[2]; _Mh[_Sh + 1] = _Mh[_Xh + 1] = _2h[3]; _Mh[_Th + 0] = _2h[4]; _Mh[_Th + 1] = _2h[5]; _Mh[_Uh + 0] = _Mh[_Vh + 0] = _2h[6]; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _2h[7]; _Mh[_Wh + 0] = _2h[0]; _Mh[_Wh + 1] = _2h[1]; _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Dg; _Qh[_Sh + 0] = _Qh[_Xh + 0] = _Yg._7h[2]; _Qh[_Sh + 1] = _Qh[_Xh + 1] = _Yg._7h[3]; _Qh[_Th + 0] = _Yg._7h[4]; _Qh[_Th + 1] = _Yg._7h[5]; _Qh[_Uh + 0] = _Qh[_Vh + 0] = _Yg._7h[6]; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Yg._7h[7]; _Qh[_Wh + 0] = _Yg._7h[0]; _Qh[_Wh + 1] = _Yg._7h[1] }; __f.prototype._7g = function(_Sg, _Dg, alpha) { var _Zg = _Sg._Ug, _2h = []; _Zg._fh(_Sg._Ee._w2, _Sg._Ee._x2, _Sg, _2h); var _qg = _ig[_Zg._tg._ah._tg]; if (!_qg.complete) return; if (!_qg._Bh) _Ch({ _hg: _qg }); var _Dh = _Zg._gh.length; var _Eh = _3g._Fh(_Gh._Hh, _qg._Bh, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _Dh; var _Mh = _Eh._Nh; var _Oh = _Eh._Ph; var _Qh = _Eh._Rh; var _Sh = index; for (var _df = 0; _df < _Dh; _df++, _Sh += _Jh) { var _hh = _Zg._gh[_df]; _Mh[_Sh + 0] = _2h[(_hh * 2) + 0]; _Mh[_Sh + 1] = _2h[(_hh * 2) + 1]; _Oh[_Sh + 0] = _Oh[_Sh + 1] = _Dg; _Qh[_Sh + 0] = _Zg._7h[(_hh * 2) + 0]; _Qh[_Sh + 1] = _Zg._7h[(_hh * 2) + 1] } }; function _Yh(_Zh) { __h("draw_primitive_begin()") } function _0i(_Zh, _1i) { __h("draw_primitive_begin_texture()") } function _2i(_w2, _x2) { __h("draw_vertex()") } function _3i(_w2, _x2, _Dg, alpha) { __h("draw_vertex_color()") } var _4i = _3i; function _5i(_w2, _x2, _6i, _7i) { __h("draw_vertex_texture()") } function _8i(_w2, _x2, _6i, _7i, _Dg, alpha) { __h("draw_vertex_texture_color()") } var _9i = _8i; function _ai() { __h("draw_primitive_end()") } function _bi(_Zh) { __h("d3d_primitive_begin()") } function _ci(_Zh, _1i) { __h("d3d_primitive_begin_texture()"); } function _di(_w2, _x2, _ei) { __h("d3d_vertex()") } function _fi(_w2, _x2, _ei, _Dg, alpha) { __h("d3d_vertex_color()") } var _gi = _fi; function _hi(_w2, _x2, _ei, _6i, _7i) { __h("d3d_vertex_texture()") } function _ii(_w2, _x2, _ei, _6i, _7i, _Dg, alpha) { __h("d3d_vertex_texture_color()") } var _ji = _ii; function _ki(_w2, _x2, _ei, _li, _mi, _ni) { __h("d3d_vertex_normal()") } function _oi(_w2, _x2, _ei, _li, _mi, _ni, _Dg, alpha) { __h("d3d_vertex_normal_color()") } var _pi = _oi; function _qi(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i) { __h("d3d_vertex_normal_texture()") } function _ri(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i, _Dg, alpha) { __h("d3d_vertex_normal_texture_color()") } var _si = _ri; function _ti() { __h("d3d_primitive_end()") } var _ui = null; var _vi = 0, _wi = -1, _xi = null, _yi = null; var _zi = 1, _Ai = 2, _Bi = 3, _Ci = 4, _Di = 5, _Ei = 6, _Fi = 7; function _Gi() { _Yh = _Hi; _0i = _Ii; _2i = _Ji; _3i = _Ki; _4i = _Ki; _5i = _Li; _8i = _Mi; _9i = _Mi; _ai = _Ni; _bi = _Oi; _ci = _Pi; _di = _Qi; _fi = _Ri; _gi = _Ri; _hi = _Si; _ii = _Ti; _ji = _Ti; _ki = _Ui; _oi = _Vi; _pi = _Vi; _qi = _Wi; _ri = _Xi; _si = _Xi; _ti = _Yi } function _Zi(__i) { switch (__i) { case _zi: return _Gh._0j; case _Ai: return _Gh._1j; case _Bi: return _Gh._2j; case _Ci: return _Gh._Hh; case _Di: return _Gh._3j; case _Ei: return _Gh._4j; case _Fi: return _Gh._Hh } return -1 } function _5j() { _vi = 0; _wi = -1; _xi = null; _yi = null } function _Hi(_6j) { _Ii(_6j, -1) } function _Ii(_6j, _dg) { _vi = _6j; _wi = null; if (typeof(_dg) == "object") { _wi = _dg._7j; } else if ((_dg != -1) && _ig[_dg]) { _wi = _ig[_dg] } if (_wi && !_wi._Bh) { _Ch({ _hg: _wi }) } _yi = new _8j(_9j, _3g._aj(_3g._Ih), !1) } function _Ji(_ye, _ze) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Ki(_ye, _ze, _ej, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_ej); } function _Li(_ye, _ze, _hj, _ij) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Rh[index + 0] = _hj; _yi._Rh[index + 1] = _ij; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Mi(_ye, _ze, _hj, _ij, _ej, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Rh[index + 0] = _hj; _yi._Rh[index + 1] = _ij; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_ej) } function _Ni() { var _jj = _Zi(_vi); if (_jj == -1) { return } var _kj = _yi._lj.subarray(0, _yi._Lh * _yi._Kh()); var _mj = _wi ? _wi._Bh : null; var _Eh = _3g._Fh(_jj, _mj, _3g._Ih, _yi._Lh); _Eh._lj.set(_kj, _Eh._Lh * _Eh._Kh()); _Eh._Lh += _yi._Lh } function _Oi(_Zh) { _ci(_Zh, -1) } function _Pi(_6j, _dg) { _vi = _6j; _wi = null; if (_dg == null || _dg == undefined) { _xi = null } else if (typeof(_dg) == "object") { _wi = _dg._7j; _xi = _dg._nj } else if ((_dg != -1) && _ig[_dg]) { _wi = _ig[_dg] } if (_wi && !_wi._Bh) { _Ch({ _hg: _wi }) } _yi = new _8j(_9j, _3g._aj(_3g._oj), !1) } function _pj(_hj, _ij) { if (_xi) { return ({ _6h: (_xi._w2 + (_hj * _xi._Q4)) / _wi._qj, _8h: (_xi._x2 + (_ij * _xi._R4)) / _wi._rj }) } else { return ({ _6h: _hj, _8h: _ij }) } }; function _Qi(_ye, _ze, _sj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = 0; _yi._tj[index + 1] = 0; _yi._tj[index + 2] = 0; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Ri(_ye, _ze, _sj, _uj, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = 0; _yi._tj[index + 1] = 0; _yi._tj[index + 2] = 0; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_uj) } function _Si(_ye, _ze, _sj, _vj, _wj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = 0; _yi._tj[index + 1] = 0; _yi._tj[index + 2] = 0; var _xj = _pj(_vj, _wj); _yi._Rh[index + 0] = _xj._6h; _yi._Rh[index + 1] = _xj._8h; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Ti(_ye, _ze, _sj, _vj, _wj, _uj, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = 0; _yi._tj[index + 1] = 0; _yi._tj[index + 2] = 0; var _xj = _pj(_vj, _wj); _yi._Rh[index + 0] = _xj._6h; _yi._Rh[index + 1] = _xj._8h; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_uj) } function _Ui(_ye, _ze, _sj, _yj, _zj, _Aj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = _yj; _yi._tj[index + 1] = _zj; _yi._tj[index + 2] = _Aj; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Vi(_ye, _ze, _sj, _yj, _zj, _Aj, _uj, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = _yj; _yi._tj[index + 1] = _zj; _yi._tj[index + 2] = _Aj; _yi._Rh[index + 0] = 0; _yi._Rh[index + 1] = 0; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_uj) } function _Wi(_ye, _ze, _sj, _yj, _zj, _Aj, _vj, _wj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = _yj; _yi._tj[index + 1] = _zj; _yi._tj[index + 2] = _Aj; var _xj = _pj(_vj, _wj); _yi._Rh[index + 0] = _xj._6h; _yi._Rh[index + 1] = _xj._8h; _yi._Ph[index] = ((_cj * 255.0) << 24) | (_dj & 0x00ffffff) } function _Xi(_ye, _ze, _sj, _yj, _zj, _Aj, _vj, _wj, _uj, _fj) { var _Jh = _yi._Kh() >> 2; var index = _yi._Lh * _Jh; _yi._bj(1); _yi._Nh[index + 0] = _ye; _yi._Nh[index + 1] = _ze; _yi._Nh[index + 2] = _sj; _yi._tj[index + 0] = _yj; _yi._tj[index + 1] = _zj; _yi._tj[index + 2] = _Aj; var _xj = _pj(_vj, _wj); _yi._Rh[index + 0] = _xj._6h; _yi._Rh[index + 1] = _xj._8h; _yi._Ph[index] = ((_fj * 255.0) << 24) | _gj(_uj) } function _Yi() { var _jj = _Zi(_vi); if (_jj == -1) { return } var _kj = _yi._lj.subarray(0, _yi._Lh * _yi._Kh()); var _mj = _wi ? _wi._Bh : null; var _Eh = _3g._Fh(_jj, _mj, _3g._oj, _yi._Lh); _Eh._lj.set(_kj, _Eh._Lh * _Eh._Kh()); _Eh._Lh += _yi._Lh } function _Bj(_Cj) { var _Dj = null, _Ej = null, _Fj = null, _Gj = !1, _Hj = null, _Ij; var _Jj = 0, _Kj = 0, _Lj = 0, _Mj = 0; (function() { _Dj = new ArrayBuffer(_Cj); _Ej = new DataView(_Dj) })(); function _Nj(_Oj, _Pj) { var _Qj = !1; var _Rj = _Hj._Sj; for (var _u2 = 0; _u2 < _Rj.length; _u2++) { var _Tj = _Rj[_u2]; if (((_Oj == -1) || (_Tj._Uj == _Oj)) && (_Tj.type == _Pj)) { _Qj = !0; if ((_Tj._Vj & _Jj) === 0) { var _Wj = (_Mj + _Tj._A2); _Jj |= _Tj._Vj; if (_Hj._Xj === _Jj) { _Jj = 0; _Kj++; _Mj += _Hj._Yj; if ((_Mj + _Hj._Yj) >= _Dj.byteLength) { this._Zj(_Dj.byteLength * 2) } } return _Wj } } } if (_Qj) { debug("VERTEX BUILDER: element already written, must write the whole vertex first\n\n", !0); return -1 } debug("VERTEX BUILDER: Vertex format does not contain selected type.\n\n", !0); return -1 }; this._Zj = function(_Cj) { var __j = new ArrayBuffer(_Cj); var _0k = new Int8Array(_Dj); var _1k = new Int8Array(__j); _1k.set(_0k); _Dj = __j; _Ej = new DataView(_Dj) }; this._2k = function(_3k) { _Jj = 0; _Kj = 0; _Lj = 0; _Mj = 0; _Ij = _3k; _Hj = _3g._aj(_3k); if (_Hj._Yj > _Dj.byteLength) { this._Zj(_Hj._Yj * 36) } }; this._4k = function() {}; this._5k = function(_w2, _x2) { var _Wj = _Nj(_Gh._6k, _Gh._7k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0) } }; this._8k = function(_w2, _x2, _ei) { var _Wj = _Nj(_Gh._6k, _Gh._9k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0); _Ej.setFloat32(_Wj + 8, _ei, !0) } }; this._ak = function(_uj, _fj) { var _Wj = _Nj(_Gh._bk, _Gh._ck); if (_Wj >= 0) { var _dk = ((_fj * 255.0) << 24) | _gj(_uj); _Ej.setUint32(_Wj, _dk, !0) } }; this._ek = function(_fk) { var _Wj = _Nj(_Gh._bk, _Gh._ck); if (_Wj >= 0) { var _Dg = ((_fk & 0xff) << 24) | ((_fk & 0xff00) << 8) | ((_fk & 0xff0000) >> 8) | ((_fk & 0xff000000) >> 24); _Ej.setUint32(_Wj, _Dg, !0) } }; this._gk = function(_hk) { var _Wj = _Nj(_Gh._bk, _Gh._ck); if (_Wj >= 0) { var _Dg = (_hk & 0xff000000) | ((_hk & 0xff) << 16) | (_hk & 0xff00) | ((_hk & 0xff0000) >> 16); _Ej.setUint32(_Wj, _Dg, !0) } }; this._ik = function(_6h, _8h) { var _Wj = _Nj(_Gh._jk, _Gh._7k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _6h, !0); _Ej.setFloat32(_Wj + 4, _8h, !0) } }; this._kk = function(_w2, _x2, _ei) { var _Wj = _Nj(_Gh._lk, _Gh._9k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0); _Ej.setFloat32(_Wj + 8, _ei, !0) } }; this._mk = function(_w2) { var _Wj = _Nj(-1, _Gh._nk); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0) } }; this._ok = function(_w2, _x2) { var _Wj = _Nj(-1, _Gh._7k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0) } }; this._pk = function(_w2, _x2, _ei) { var _Wj = _Nj(-1, _Gh._9k); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0); _Ej.setFloat32(_Wj + 8, _ei, !0) } }; this._qk = function(_w2, _x2, _ei, _y2) { var _Wj = _Nj(-1, _Gh._rk); if (_Wj >= 0) { _Ej.setFloat32(_Wj, _w2, !0); _Ej.setFloat32(_Wj + 4, _x2, !0); _Ej.setFloat32(_Wj + 8, _ei, !0); _Ej.setFloat32(_Wj + 12, _y2, !0) } }; this._sk = function(_w2, _x2, _ei, _y2) { var _Wj = _Nj(-1, _Gh._tk); if (_Wj >= 0) { _Ej.setUint8(_Wj, _w2, !0); _Ej.setUint8(_Wj + 1, _x2, !0); _Ej.setUint8(_Wj + 2, _ei, !0); _Ej.setUint8(_Wj + 3, _y2, !0) } }; this._uk = function() { var _vk = new _8j(_Kj, _Hj, !1); var _wk = _Kj * _Hj._Yj; var _xk = new Int8Array(_Dj, 0, _wk); _vk._lj.set(_xk); _vk._Lh += _Kj; _vk._uk(); _Fj = _vk; _Gj = !0; _Dj = null; _Ej = null }; this._yk = function(_zk, _Ak) { if (_Gj) { _3g._Bk(_zk, _Ak._7j._Bh, _Fj, 0) } else { var _Eh; if (_Ak == -1) { _Eh = _3g._Fh(_zk, null, _Ij, _Kj) } else { _Eh = _3g._Fh(_zk, _Ak._7j._Bh, _Ij, _Kj) } var _Ck = _Eh._Lh * _Hj._Yj; var _xk = new Int8Array(_Dj, 0, _Kj * _Hj._Yj); _Eh._lj.set(_xk, _Ck); _Eh._Lh += _Kj } } } var _Dk = null; function _Ek(_Fk) { var _Gk = 0, _Hk = 0.5; var _Ik = _Fk; var _Jk = []; var _Kk = []; var _Lk = []; var _Mk = _Gk; var _Nk = _Hk; Object.defineProperties(this, { _Ok: { get: function() { return _Mk }, set: function(_Pk) { _Mk = _Pk } }, _Qk: { get: function() { return _Nk }, set: function(_Pk) { _Nk = _Pk } } }); this._Rk = function() { _Kk = _Jk.slice(); _Lk = _Ik.axes.slice(); var _Sk = _Ik.buttons; if (_Sk) { for (var _xf in _Sk) { if (!_Sk.hasOwnProperty(_xf)) continue; if (typeof(_Sk[_xf]) === "object") { _Jk[_xf] = _Sk[_xf].value } else { _Jk[_xf] = _Sk[_xf] } } } }; this._Tk = function() { if (_Ik) { return _Ik.id || "" } return "" }; this._Uk = function() { if (_Jk) { return _Jk.length } return 0 }; this._Vk = function(_Wk) { var _Xk = _Jk[_Wk]; var _Yk = _Kk[_Wk]; if ((_Xk !== undefined) && (_Yk !== undefined)) { return ((_Xk >= _Nk) && (_Yk < _Nk)) } return !1 }; this._Zk = function(_Wk) { var _Xk = _Jk[_Wk]; var _Yk = _Kk[_Wk]; if ((_Xk !== undefined) && (_Yk !== undefined)) { return ((_Xk < _Nk) && (_Yk >= _Nk)) } return !1 }; this.__k = function(_Wk) { var _Xk; if (typeof(_Jk[_Wk]) === "object") { _Xk = _Jk[_Wk].value } else { _Xk = _Jk[_Wk] } if (_Xk !== undefined) { return (_Xk >= _Nk) } return !1 }; this._0l = function(_Wk) { var _Xk; if (typeof(_Jk[_Wk]) === "object") { _Xk = _Jk[_Wk].value; } else { _Xk = _Jk[_Wk] } return _Xk || 0.0 }; this._1l = function() { if (_Lk) { return _Lk.length } return 0 }; this._2l = function(_3l, _4l) { var _5l = _Lk[_3l] || 0; if (_Mk > 0.0) { var _6l = Math.abs(_5l); if (_6l < _Mk) { _5l = 0.0 } else { var _e7 = (_5l >= 0) ? 1.0 : -1.0; _5l = ((_6l - _Mk) / (_4l - _Mk)) * _e7 } } return _5l } } function _7l() { var _8l = 1.0, _9l = 1.0; var _al = 0, _bl = 1, _cl = 2; var _dl = 0x8000, _el = 0x8001, _fl = 0x8002, _gl = 0x8003, _hl = 0x8004, _il = 0x8005, _jl = 0x8006, _kl = 0x8007, _ll = 0x8008, _ml = 0x8009, _nl = 0x800A, _ol = 0x800B, _pl = 0x800C, _ql = 0x800D, _rl = 0x800E, _sl = 0x800F, _tl = 0x8010, _ul = 0x8011, _vl = 0x8012, _wl = 0x8013, _xl = 0x8014; var _yl = 0, _zl = 1, _Al = 2, _Bl = 3, _Cl = 4, _Dl = 5, _El = 6, _Fl = 7, _Gl = 8, _Hl = 9, _Il = 10, _Jl = 11, _Kl = 12, _Ll = 13, _Ml = 14, _Nl = 15; var _Ol = 0, _Pl = 1, _Ql = 2, _Rl = 3; function _Sl() { return !!navigator["getGamepads"] || !! navigator["webkitGetGamepads"] || !! navigator["webkitGamepads"] } var _Tl = _Sl() ? _bl : _al; var _Ul = []; function _Vl() { if (navigator["getGamepads"]) { return navigator["getGamepads"]() } if (navigator["webkitGetGamepads"]) { return navigator["webkitGetGamepads"]() } if (navigator["webkitGamepads"]) { return navigator["webkitGamepads"]() } return null } function _Wl() { var _u2 = 0; for (_u2 = 0; _u2 < _Ul.length; _u2++) { _Ul[_u2]._Rk() } } function _Xl() { var _Yl = 0; var gamepads = _Vl(); if (gamepads !== null) { for (_Yl = 0; _Yl < gamepads.length; ++_Yl) { var _Zl = gamepads[_Yl]; if (!_Zl) { if (_Ul[_Yl]) { _Ul.splice(_Yl, 1) } } else { if (!_Ul[_Yl]) { _Ul[_Yl] = new _Ek(_Zl) } } } } } function __l(_Wk) { if (_Wk < _dl) { return _Wk } switch (_Wk) { case _el: return _yl; case _fl: return _zl; case _gl: return _Al; case _hl: return _Bl; case _il: return _Cl; case _jl: return _Dl; case _kl: return _El; case _ll: return _Fl; case _ml: return _Gl; case _nl: return _Hl; case _ol: return _Il; case _pl: return _Jl; case _ql: return _Kl; case _rl: return _Ll; case _sl: return _Ml; case _tl: return _Nl } return 0 } function _0m(_3l) { if (_3l < _dl) { return _3l } switch (_3l) { case _ul: return _Ol; case _vl: return _Pl; case _wl: return _Ql; case _xl: return _Rl } return 0 } function _7l() {} this._1m = function() { return _Ul.length }; this._2m = function(_3m) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Tk() } return "" }; this._5m = function() { return (_Tl !== _al) }; this._Qk = function(_3m) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Qk } return 0.0 }; this._6m = function(_3m, _7m) { var _4m = _Ul[_3m]; if (_4m) { if ((_7m >= 0.0) && (_7m <= _8l)) { _4m._Qk = _7m } } }; this._Ok = function(_3m) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Ok } return 0.0 }; this._8m = function(_3m, _9m) { var _4m = _Ul[_3m]; if (_4m) { if ((_9m >= 0.0) && (_9m <= _9l)) { _4m._Ok = _9m } } }; this._am = function() { _Ul = [] }; this._bm = function() { switch (_Tl) { case _bl: _Xl(); _Wl(); break; case _cl: _Wl(); break; case _al: default: return } }; this._cm = function(_3m) { if (_Ul[_3m] !== null && _Ul[_3m] !== undefined) { return !0 } return !1; }; this._Uk = function(_3m) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Uk() } return 0 }; this._1l = function(_3m) { var _4m = _Ul[_3m]; if (_4m) { return _4m._1l() } return 0 }; this.__k = function(_3m, _Wk) { var _4m = _Ul[_3m]; if (_4m) { return _4m.__k(__l(_Wk), _4m._Qk) } return !1 }; this._Vk = function(_3m, _Wk) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Vk(__l(_Wk), _4m._Qk) } return !1 }; this._Zk = function(_3m, _Wk) { var _4m = _Ul[_3m]; if (_4m) { return _4m._Zk(__l(_Wk), _4m._Qk) } return !1 }; this._0l = function(_3m, _Wk) { var _4m = _Ul[_3m]; if (_4m) { return _4m._0l(__l(_Wk)); } return 0 }; this._2l = function(_3m, _3l) { var _4m = _Ul[_3m]; if (_4m) { return _4m._2l(_0m(_3l), _9l) } return 0 } }; var _dm = []; var _em = "None"; var _fm = 0; var _gm = 0; function _hm() { this._w2 = 0; this._x2 = 0; this.__k = 0; this._Vk = 0; this._Zk = 0; this._im = 0 }; _hm.prototype._am = function() { this.__k = 0; this._Vk = 0; this._Zk = 0; this._im = 0 }; _hm.prototype._jm = function(_ye, _ze) { if (_ke) { var _km; if (!_ke._lm) { _km = _mm } else { _km = _ke._nm } for (_8h = 0; _8h < _km.length; _8h++) { _om = _km[_8h]; if (_om._F2) { _pm(canvas, _qm); if (((_ye - _qm.left) >= _om._rm) && ((_ye - _qm.left) < _om._sm) && ((_ze - _qm.top) >= _om._tm) && ((_ze - _qm.top) < _om._um)) { this._w2 = _om._vm(_ye); this._x2 = _om._wm(_ze); return } } } } this._w2 = _ye; this._x2 = _ze }; function log(_xm) { setTimeout(function() { throw new _ym(_xm) }, 0) } function _zm(_Am) { for (var _u2 = 0; _u2 < _dm.length; _u2++) { if (_dm[_u2] === _Am) { return _u2 } } return -1 } function _Bm(_Am) { var _Cm = -1; for (var _u2 = 0; _u2 < _dm.length; _u2++) { if ((_dm[_u2] === _Am) || (_dm[_u2] === -1)) { _Cm = _u2; break } } if (_Cm == -1) { _Cm = _dm.length } _dm[_Cm] = _Am; _Dm[_Cm] = new _hm(); return _Cm } var _Em = !1; function _Fm(event) { if (!_Em && (_Gm == _Hm)) { _Im(); _Em = !0 } for (var _Jm = 0; _Jm < event.changedTouches.length; _Jm++) { var _Km = event.changedTouches[_Jm]; var type = ""; var _Cm = -1; _em = event.type; switch (event.type) { case "touchstart": _Cm = _Bm(_Km["identifier"]); break; case "touchend": case "touchcancel": _Cm = _zm(_Km["identifier"]); _dm[_Cm] = -1; break; case "touchmove": _Cm = _zm(_Km["identifier"]); break; default: return } var _Lm; var _Mm; if (_Nm) { var _Om = { _w2: 0, _x2: 0 }; _Nm(_Km, _Om); _Lm = _Om._w2; _Mm = _Om._x2 } else { _Lm = _Km.pageX; _Mm = _Km.pageY } if (_Cm == 0) { if (_Pm != null) { _Qm = _Lm; _Rm = _Mm } switch (event.type) { case "touchstart": _Sm = 1; break; case "touchmove": _Sm = 1; break; case "touchcancel": case "touchend": _Sm = 0; break } } _Dm[_Cm]._jm(_Lm, _Mm); _Tm[_Cm]._w2 = _Lm; _Tm[_Cm]._x2 = _Mm; switch (event.type) { case "touchstart": _Dm[_Cm].__k = 1; _Tm[_Cm]._Um = _Vm | _Wm | _Xm; break; case "touchcancel": case "touchend": _Dm[_Cm].__k = 0; _Tm[_Cm]._Um = 0; break; case "touchmove": default: break } event.preventDefault() } } function _Ym() { canvas.ontouchstart = _Fm; canvas.ontouchmove = _Fm; canvas.ontouchend = _Fm; canvas.ontouchcancel = _Fm } var _Zm, __m, _0n, _1n, _2n, _3n, _4n; function _5n(_6n, _7n) { this._8n = []; this._qj = _6n; this._rj = _7n; var _wf = _6n * _7n; for (var _u2 = 0; _u2 < _wf; _u2++) { this._8n[_u2] = 0 } } _5n.prototype._9n = function(_an) { this._qj = _an._qj; this._rj = _an._rj; this._8n = _an._8n.slice() }; var _bn = _cn; function _cn(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if (!_fn) { _ym("Error: invalid ds_grid ID (ds_grid_set)"); return } if (_ye < 0 || _ye >= _fn._qj || _ze < 0 || _ze >= _fn._rj) { _ym("Error: grid out of bounds(set) - GridID: " + _dn + " size[" + _fn._qj + "," + _fn._rj + "] at (" + _ye + "," + _ze + ")"); return } _fn._8n[_ye + (_ze * _fn._qj)] = _en } function _in(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if ((_ye < 0) || (_ye >= _fn._qj) || (_ze < 0) || (_ze >= _fn._rj)) { return } _fn._8n[_ye + (_ze * _fn._qj)] = _en } var _jn = _kn; function _kn(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if (!_fn) { _ym("Error: invalid ds_grid ID (ds_grid_set)"); return _en } if (_ye < 0 || _ye >= _fn._qj || _ze < 0 || _ze >= _fn._rj) { _ym("Error: grid out of bounds(set) - GridID: " + _dn + " size[" + _fn._qj + "," + _fn._rj + "] at (" + _ye + "," + _ze + ")"); return _en } _fn._8n[_ye + (_ze * _fn._qj)] = _en; return _en } function _ln(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if ((_ye < 0) || (_ye >= _fn._qj) || (_ze < 0) || (_ze >= _fn._rj)) { return _en } _fn._8n[_ye + (_ze * _fn._qj)] = _en; return _en } var _mn = _nn; function _nn(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if (!_fn) { _ym("Error: invalid ds_grid ID (ds_grid_set)"); return _en } if (_ye < 0 || _ye >= _fn._qj || _ze < 0 || _ze >= _fn._rj) { _ym("Error: grid out of bounds(set) - GridID: " + _dn + " size[" + _fn._qj + "," + _fn._rj + "] at (" + _ye + "," + _ze + ")"); return _en } var _on = _fn._8n[_ye + (_ze * _fn._qj)]; _fn._8n[_ye + (_ze * _fn._qj)] = _en; return _on } function _pn(_dn, _ye, _ze, _en) { var _fn = _gn._hn(_dn); if ((_ye < 0) || (_ye >= _fn._qj) || (_ze < 0) || (_ze >= _fn._rj)) { return _en } var _on = _fn._8n[_ye + (_ze * _fn._qj)]; _fn._8n[_ye + (_ze * _fn._qj)] = _en; return _on } var _qn = _rn; function _rn(_dn, _ye, _ze) { var _fn = _gn._hn(_dn), _w2 = _sn(_ye), _x2 = _sn(_ze); if (!_fn) { _ym("Error: invalid ds_grid ID (ds_grid_get)"); return undefined } if (_w2 < 0 || _w2 >= _fn._qj || _x2 < 0 || _x2 >= _fn._rj) { _ym("Error: grid out of bounds(get) - GridID: " + _dn + " size[" + _fn._qj + "," + _fn._rj + "] at (" + _w2 + "," + _x2 + ")"); return undefined } return _fn._8n[_w2 + (_x2 * _fn._qj)] } function _tn(_dn, _ye, _ze) { var _fn = _gn._hn(_dn), _w2 = _sn(_ye), _x2 = _sn(_ze); if ((_w2 < 0) || (_w2 >= _fn._qj) || (_x2 < 0) || (_x2 >= _fn._rj)) { return undefined } return _fn._8n[_w2 + (_x2 * _fn._qj)] } function _un() { var _sf = new _vn(); _sf._wn = !0; return _xn._yn(_sf) } function _zn(_dn) { var _An = _xn._hn(_dn); if (_An) return _An.length; _ym("Error: invalid ds_list ID (ds_list_size)"); return 0 } function _Bn() { var _Cn = _Bn.arguments; var _Dn = _Bn.arguments.length; var _An = _xn._hn(_Cn[0]); if (!_An) { _ym("Error: invalid ds_list ID (ds_list_add)"); return; } for (var _u2 = 1; _u2 < _Dn; _u2++) { _An._yn(_Cn[_u2]) } return } function _En(_dn, _Fn) { var _8h, _Gn = _sn(_Fn), _An = _xn._hn(_sn(_dn)); if (_An) { if (_Gn >= 0 && _Gn < _An._Hn.length) { _8h = _An._Hn[_Gn]; if (typeof(_8h) == "object") { if (_8h instanceof Array) { return _8h } else { return _8h.Object } } if (_8h != undefined) return _8h } _ym("Error: invalid ds_list position (ds_list_find_value)"); return 0 } _ym("Error: invalid ds_list ID (ds_list_find_value)"); return -1 } var _In = 1, _Jn = 2; function _Kn(_Pj, _Ln) { this._Mn = _Pj; this.Object = _Ln } function _86() { var _Nn = {}; var id = _On._yn(_Nn); return id } function _Pn(_dn) { _On._Qn(_dn) } function _Rn(_dn) { var _Nn = _On._hn(_dn); if (_Nn) { var _Sn = {}; _On._Tn(_dn, _Sn) } } function _Un(_dn, _Vn) { var _Nn = _On._hn(_dn); if (_Nn) { if (_Nn[_Vn] !== undefined) { return !0 } } return !1 } function _96(_dn, _Vn, _en) { var _Nn = _On._hn(_dn); if (_Nn) { if (_Nn[_Vn] !== undefined) { _ym("Error: KEY(" + _Vn + ") already present in ds_map[" + _dn + "], you can not add a key twice.") } _Nn[_Vn] = _en } } function _o6(_dn, _Vn) { var _Nn = _On._hn(_dn); if (_Nn) { if (_Nn[_Vn] !== undefined) { if ((typeof(_Nn[_Vn]) === "string") || (typeof(_Nn[_Vn]) === "number") || (_Nn[_Vn] instanceof Array)) { return _Nn[_Vn] } var _Wn = _Nn[_Vn]; return _Wn.Object } } _ym("Error: Key (" + _Vn + ") not found in ds_map[" + _dn + "]"); return 0 } function _Xn(_dn, _Vn) { var _Yn = !1; var _Nn = _On._hn(_dn); for (var _Zn in _Nn) { if (_Nn.hasOwnProperty(_Zn)) { if (_Yn) { return _Zn } if (_Zn == _Vn) { _Yn = !0 } } } return -1 } function __n(_dn) { var _Nn = _On._hn(_dn); for (var _Zn in _Nn) { if (_Nn.hasOwnProperty(_Zn)) { return _Zn } } return -1 } var NaN = 0x7ff0000000000001; function _0o(_1o, _2o) { var _e7 = (_1o >> 31) * 2 + 1; var _3o = (_1o >>> 20) & 0x7FF; _1o &= 0xFFFFF; if (_3o === 0x7FF) return (_1o + _2o) ? NaN : _e7 / 0; _3o ? (_3o -= 1023, _1o |= 0x100000) : _3o = -1022; var _4o = _2o + (_1o * 4294967296.0); return _e7 * _4o * Math.pow(2, _3o - 52) } var _5o = 0; var _6o = null; function _7o() { var _k2 = _6o.length; var _fg = 64 - 8; var _2o = 0; var _1o = 0; while (_5o < _k2) { var _Wg; var _v2 = _6o[_5o++]; if (_v2 == ',' || _v2 == ':') { _5o--; break } if (_v2 >= 'A') { _Wg = ((_v2.charCodeAt() - 65) + 10) << 4 } else { _Wg = ((_v2.charCodeAt() - 48) << 4); } _v2 = _6o[_5o++]; if (_v2 >= 'A') { _Wg |= (~~(_v2.charCodeAt() - 65)) + 10 } else { _Wg |= ~~(_v2.charCodeAt() - 48) } if (_fg > 32) { _1o |= _Wg << (_fg - 32) } else { _2o |= _Wg << (_fg - 32) } _fg -= 8 } return _0o(_1o, _2o) } function _8o() { var _k2 = _6o.length; var _9o = ""; while (_5o < _k2) { var _Wg; var _v2 = _6o[_5o++]; if (_v2 == ',' || _v2 == ':') { _5o--; break } if (_v2 >= 'A') { _Wg = ((_v2.charCodeAt() - 65) + 10) << 4 } else { _Wg = ((_v2.charCodeAt() - 48) << 4) } _v2 = _6o[_5o++]; if (_v2 >= 'A') { _Wg |= (_v2.charCodeAt() - 65) + 10 } else { _Wg |= (_v2.charCodeAt() - 48) } _9o += String.fromCharCode(_Wg) } return _9o } var _ao = !1; function _bo() { var id = 0xF35065da3bb79cac7; return id.toString() } function _co() { var _Cn = _co.arguments; var _Dn = _co.arguments.length; var _do = _eo._hn(_Cn[0]); if (!_do) { _ym("Error: invalid ds_queue ID (ds_queue_enqueue)"); return } for (var _u2 = 1; _u2 < _Dn; _u2++) { _do[_do.length] = _Cn[_u2] } return } function _fo(_dn, _en) { var _Cn = _fo.arguments; var _Dn = _fo.arguments.length; var _go = _ho._hn(_Cn[0]); if (!_go) { _ym("Error: invalid ds_stack ID (ds_stack_push)"); return } for (var _u2 = 1; _u2 < _Dn; _u2++) { _go.push(_Cn[_u2]) } } var _io = !1; var _jo = 'Trying to stop non-existing sound.', _ko = 'Trying to draw a non-existing sprite.', _lo = 'Trying to draw a non-existing background.', _mo = 'Cannot compare arguments.', _no = 'Trying to replace non-existing resource.', _oo = 'File does not exist.', _po = 'The particle emitter must first be created.'; var _qo = -1, _ro = [], _so = []; function _Ib(_to) { _T6(_to) } function _uo(_uj) { _J8(_uj) } var _vo = _uo; function _wo(_uj) { _J8(_uj) } var _xo = _wo; function _yo(_Pj, _zo, _Ao, _Bo, _Co, _Do) { var type = _sn(_Pj); var _Eo = _sn(_zo); var _Fo = _sn(_Ao); var _Go = _sn(_Bo); if (_qo < 0) { _qo = _Ho() } if (_ro[type] < 0) { _ro[type] = _Io() } var _Jo = _ro[type]; if (_Eo == 0) { _Ko(_Jo, _Fo, _Go) } else { _Lo(_Jo, _Fo, _Go) } _Mo(_Jo, _Co, _Do) } var _No = _yo; function _Oo(_ye, _ze, _6n, _7n, _Po, _Qo) { var _Ro = _So(_6n, _7n); var _To = _Uo._hn(_Ro); var _Vo = _To.getContext('2d'); _Vo.drawImage(canvas, -_ye, -_ze); if (_Po) { _Wo(_Vo, _6n, _7n) } var _Xo = new _Yo(); var _Zo = new __o(); _Xo._0p = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _6n; _Zo._z2 = _7n; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _Ro; _Zo._hg = _To; return _1p._2p(_Xo) } function _3p(_dn, _ye, _ze, _6n, _7n, _Po, _Qo) { var _4p = _Uo._hn(_dn); var _Ro = _So(_6n, _7n); var _To = _Uo._hn(_Ro); var _Vo = _To.getContext('2d'); _Vo.drawImage(_4p, -_ye, -_ze); if (_Po) { _Wo(_Vo, _6n, _7n) } var _Xo = new _Yo(); var _Zo = new __o(); _Xo._0p = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _6n; _Zo._z2 = _7n; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _Ro; _Zo._hg = _To; return _1p._2p(_Xo) } function _5p(_6n, _7n, _ej) { var _6p = _So(_6n, _7n); var _7p = _Uo._hn(_6p); var _Vo = _7p.getContext('2d'); _Vo.globalAlpha = 1.0; _Vo.fillStyle = _8p(_gj(_ej), 1); _Vo.fillRect(0, 0, _6n, _7n); var _Xo = new _Yo(); var _Zo = new __o(); _Xo._0p = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _6n; _Zo._z2 = _7n; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _6p; _Zo._hg = _7p; return _1p._2p(_Xo) } var _9p = _5p; function _ap(_xe) { var _To = _1p._bp(_xe); if (_To) { return ({ _7j: _To._0p._hg, _nj: _To._0p }) } return null } var _cp = []; var _dp = 0; function _ep(_fp, _gp, _hf, _if, _jf, _kf, _hp, _ip) { var _jp = _hp - _hf; var _kp = _jf - _hf; var _lp = _fp - _hf; var _mp = _ip - _if; var _np = _kf - _if; var _op = _gp - _if; var _pp = (_jp * _jp) + (_mp * _mp); var _qp = (_jp * _kp) + (_mp * _np); var _rp = (_jp * _lp) + (_mp * _op); var _sp = (_kp * _kp) + (_np * _np); var _tp = (_kp * _lp) + (_np * _op); var _up = 1.0 / (_pp * _sp - _qp * _qp); var _6h = (_sp * _rp - _qp * _tp) * _up; var _8h = (_pp * _tp - _qp * _rp) * _up; return ((_6h >= 0.0) && (_8h >= 0.0) && (_6h + _8h < 1.0)) } function _vp(_wp, _xp, _yp, _zp, _Ap) { var _Bp = (((_wp - _yp) * (_wp - _yp)) + ((_xp - _zp) * (_xp - _zp))); if (_Bp <= _Ap) return !0; return !1 } function _Cp() { __h("d3d_start()") } function _Dp() { __h("d3d_end()") } function _Ep(enable) { __h("d3d_set_hidden()") } function _Fp(_Gp) { __h("d3d_set_culling()") } function _Hp(_o1) { __h("d3d_set_shading()") } function _Ip(_Jp) { __h("d3d_set_zwriteenable()") } function _Kp(_H2) { __h("d3d_set_depth()") } function _Lp(_Mp, _Np, _Op, alpha) { __h("draw_set_color_write_enable()") } var _Pp = _Lp; function _Qp(enable) { __h("d3d_set_shading()") } function _Rp(_Sp, _zh, _Ah, _Tp, _Dg) { __h("d3d_light_define_direction()") } function _Up(_Sp, _w2, _x2, _ei, _Vp, _Dg) { __h("d3d_light_define_point()") } function _Wp(_Sp, enable) { __h("d3d_light_enable()") } function _Xp(_w4) { __h("d3d_light_define_ambient()") } function _Yp(enable, _Ng, start, end) { __h("d3d_set_fog()") } function _Zp(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q) { __h("d3d_draw_floor()") } function _3q(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q, _4q) { __h("d3d_draw_ellipsoid()") } function _5q(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q) { __h("d3d_draw_block()"); } function _6q(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q, _7q, _4q) { __h("d3d_draw_cylinder()") } function _8q(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q, _7q, _4q) { __h("d3d_draw_cone()") } function _9q(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q) { __h("d3d_draw_wall()") } function _aq() { __h("d3d_model_create()") } function _bq(_Sp) { __h("d3d_model_destroy()") } function _cq(_Sp) { __h("d3d_model_clear()") } function _dq(_Sp, _eq) { __h("d3d_model_save()"); } function _fq(_Sp, _eq) { __h("d3d_model_load()") } function _gq(_Sp, _w2, _x2, _ei, _1i) { __h("d3d_model_draw()") } function _hq(_Sp, _Zh) { __h("d3d_model_primitive_begin()") } function _iq(_Sp, _w2, _x2, _ei) { __h("d3d_model_vertex()") } function _jq(_Sp, _w2, _x2, _ei, _Dg, alpha) { __h("d3d_model_vertex_color()") } function _kq(_Sp, _w2, _x2, _ei, _6i, _7i) { __h("d3d_model_vertex_texture()") } function _lq(_Sp, _w2, _x2, _ei, _6i, _7i, _Dg, alpha) { __h("d3d_model_vertex_texture_color()") } function _mq(_Sp, _w2, _x2, _ei, _li, _mi, _ni) { __h("d3d_model_vertex_normal()") } function _nq(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _Dg, alpha) { __h("d3d_model_vertex_normal_color()") } function _oq(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _6i, _7i) { __h("d3d_model_vertex_normal_texture()") } function _pq(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _6i, _7i, _Dg, alpha) { __h("d3d_model_vertex_normal_texture_color()"); } function _qq(_Sp) { __h("d3d_model_primitive_end()") } function _rq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { __h("d3d_model_block()") } function _sq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { __h("d3d_model_cylinder()") } function _tq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { __h("d3d_model_cone()") } function _uq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _4q) { __h("d3d_model_ellipsoid()") } function _vq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { __h("d3d_model_wall()") } function _wq(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { __h("d3d_model_floor()") } function _xq(enable) { __h("d3d_set_perspective()") } function _yq(_zq, _Aq, _Bq, _Cq, _Dq, _Eq, _Fq, _Gq, _Hq) { __h("d3d_set_projection()") } function _Iq(_zq, _Aq, _Bq, _Cq, _Dq, _Eq, _Fq, _Gq, _Hq, _Cg, _Jq, _Kq, _Lq) { __h("d3d_set_projection_ext()") } function _Mq(_w2, _x2, _y2, _z2, _Cg) { __h("d3d_set_projection_ortho()") } function _Nq(_w2, _x2, _y2, _z2, _Cg) { __h("d3d_set_projection_perspective()") } function _Oq() { __h("d3d_transform_set_identity()") } function _Pq(_Qq, _Rq, _Sq) { __h("d3d_transform_set_translation()") } function _Tq(_Ag, _Bg, _Uq) { __h("d3d_transform_set_scaling()") } function _Vq(_Cg) { __h("d3d_transform_set_rotation_x()") } function _Wq(_Cg) { __h("d3d_transform_set_rotation_y()") } function _Xq(_Cg) { __h("d3d_transform_set_rotation_z()") } function _Yq(_Zq, __q, _0r, _Cg) { __h("d3d_transform_set_rotation_axis()") } function _1r(_Qq, _Rq, _Sq) { __h("d3d_transform_add_translation()") } function _2r(_Ag, _Bg, _Uq) { __h("d3d_transform_add_scaling()") } function _3r(_Cg) { __h("d3d_transform_add_rotation_x()") } function _4r(_Cg) { __h("d3d_transform_add_rotation_y()") } function _5r(_Cg) { __h("d3d_transform_add_rotation_axis()") } function _6r(_Zq, __q, _0r, _Cg) { __h("d3d_transform_add_rotation_z()") } function _7r(_ye, _ze, _sj) { __h("d3d_transform_vertex()") } function _8r(_Pj) { __h("matrix_get()") } function _9r(_Pj, _ar) { __h("matrix_set()") } function _br(_ye, _ze, _sj, _cr, _dr, _er, _fr, _gr, _hr) { __h("matrix_build()") } function _ir(_jr, _kr) { __h("matrix_multiply()") } function _lr() { __h("d3d_transform_stack_clear()"); } function _mr() { __h("d3d_transform_stack_empty()") } function _nr() { __h("d3d_transform_stack_push()") } function _or() { __h("d3d_transform_stack_pop()") } function _pr() { __h("d3d_transform_stack_top()") } function _qr() { __h("d3d_transform_stack_discard()") } var _rr = []; function _sr() { if (!_3g) { return } _Cp = _tr; _Dp = _ur; _Fp = _vr; _Hp = _wr; _Ip = _xr; _Kp = _yr; _Ep = _zr; _Lp = _Ar; _Pp = _Ar; _xq = _Br; _yq = _Cr; _Iq = _Dr; _Mq = _Er; _Nq = _Fr; _Oq = _Gr; _Pq = _Hr; _Tq = _Ir; _Vq = _Jr; _Wq = _Kr; _Xq = _Lr; _Yq = _Mr; _1r = _Nr; _2r = _Or; _3r = _Pr; _4r = _Qr; _5r = _Rr; _6r = _Sr; _7r = _Tr; _lr = _Ur; _mr = _Vr; _nr = _Wr; _or = _Xr; _pr = _Yr; _qr = _Zr; _Zp = __r; _3q = _0s; _5q = _1s; _6q = _2s; _8q = _3s; _9q = _4s; _Qp = _5s; _Rp = _6s; _Up = _7s; _Wp = _8s; _Xp = _9s; _Yp = _as; _aq = _bs; _bq = _cs; _cq = _ds; _dq = _es; _fq = _fs; _gq = _gs; _hq = _hs; _iq = _is; _jq = _js; _ks = _js; _kq = _ls; _lq = _ms; _ns = _ms; _mq = _os; _nq = _ps; _oq = _qs; _pq = _rs; _qq = _ss; _rq = _ts; _sq = _us; _tq = _vs; _uq = _ws; _vq = _xs; _wq = _ys; _8r = _zs; _9r = _As; _br = _Bs; _ir = _Cs } function _tr() { _Ds = !0; _3g._Es(_Fs); _3g._Gs(_Hs); _3g._Is(_Js) } function _ur() { _Ds = !1; _3g._Es(!1); _3g._Gs(!1); _3g._Is(!1) } function _vr(_Ks) { _Js = _Ks > 0.5; _3g._Is(_Js) } function _wr(_Qo) {} function _xr(_Ls) { _Hs = (_Ls > 0.5); _3g._Gs(_Hs); } function _yr(_Ms) { if (_Ds) { _Ns = Math.min(16000.0, Math.max(-16000.0, _Ms)) } else { _Ns = 0.0 } } function _zr(_Os) { _Fs = (_Os > 0.5); _3g._Es(_Fs) } function _Ar(_Mp, _Np, _Op, alpha) { _Ps._Mp = (_Mp >= 0.5); _Ps._Np = (_Np >= 0.5); _Ps._Op = (_Op >= 0.5); _Ps.alpha = (alpha >= 0.5); _3g._Qs(_Ps._Mp, _Ps._Np, _Ps._Op, _Ps.alpha) } function _Br(enable) {} function _5s(_Rs) { if (_Ss != _Rs) { _Ss = _Rs; _3g._Ts(_Us()) } } function _Cr(_zq, _Aq, _Bq, _Cq, _Dq, _Eq, _Fq, _Gq, _Hq) { var _Vs = new _Ws(); var _Gn = new _Xs(_zq, _Aq, _Bq); var _Ys = new _Xs(_Cq, _Dq, _Eq); var _Zs = new _Xs(_Fq, _Gq, _Hq); _Vs.__s(_Gn, _Ys, _Zs); _3g._0t(_Vs) } function _Dr(_zq, _Aq, _Bq, _Cq, _Dq, _Eq, _Fq, _Gq, _Hq, _Cg, _Jq, _1t, _2t) { var _Vs = new _Ws(); var _Gn = new _Xs(_zq, _Aq, _Bq); var _Ys = new _Xs(_Cq, _Dq, _Eq); var _Zs = new _Xs(_Fq, _Gq, _Hq); _Vs.__s(_Gn, _Ys, _Zs); var _3t = new _Ws(); _3t._4t(_Cg, _Jq, _1t, _2t); _3t._gf[_5t] *= _6t; _3g._0t(_Vs); _3g._7t(_3t); _3g._8t((_6t < 0) ? _Gh._9t : _Gh._at) } function _Er(_w2, _x2, _y2, _z2, _Cg) { var _Vs = new _Ws(); var _Th = new _Xs(_w2 + (_y2 / 2.0), _x2 + (_z2 / 2.0), -_y2); var _Uh = new _Xs(_w2 + (_y2 / 2.0), _x2 + (_z2 / 2.0), 0.0); var _Vh = new _Xs(Math.sin(-_Cg * (Math.PI / 180.0)), Math.cos(-_Cg * (Math.PI / 180.0)), 0.0); _Vs.__s(_Th, _Uh, _Vh); var _bt = new _Ws(); _bt._ct(_y2, -_z2 * _6t, 1.0, 32000.0); _3g._0t(_Vs); _3g._7t(_bt); _3g._8t((_6t < 0) ? _Gh._9t : _Gh._at) } function _Fr(_w2, _x2, _y2, _z2, _Cg) { var _Vs = new _Ws(); var _Th = new _Xs(_w2 + (_y2 / 2.0), _x2 + (_z2 / 2.0), -_y2); var _Uh = new _Xs(_w2 + (_y2 / 2.0), _x2 + (_z2 / 2.0), 0.0); var _Vh = new _Xs(Math.sin(-_Cg * (Math.PI / 180.0)), Math.cos(-_Cg * (Math.PI / 180.0)), 0.0); _Vs.__s(_Th, _Uh, _Vh); var _3t = new _Ws(); _3t._dt(1.0, (_y2 / _z2), 1.0, 32000.0); _3t._gf[_5t] *= _6t; _3g._0t(_Vs); _3g._7t(_3t); _3g._8t((_6t < 0) ? _Gh._9t : _Gh._at); } function __r(_hf, _if, __p, _jf, _kf, _0q, _1i, _1q, _2q) { var _et = _ft(); _gt(!0); _ci(_Ei, _1i); { _qi(_hf, _if, __p, 0, 0, 1, 0, 0); _qi(_hf, _kf, __p, 0, 0, 1, 0, _2q); _qi(_jf, _kf, _0q, 0, 0, 1, _1q, _2q); _qi(_jf, _if, _0q, 0, 0, 1, _1q, 0) } _ti(); _gt(_et) } function _0s(_hf, _if, __p, _jf, _kf, _0q, _1i, _ht, _it, _4q) { var _et = _ft(); _gt(!0); if (_4q < 3) { _4q = 3 } if (_4q > 128) { _4q = 128; } var _Yf = []; var _Xf = []; for (var _u2 = 0; _u2 <= _4q; _u2++) { _Yf[_u2] = Math.cos(_u2 * 2.0 * Math.PI / _4q); _Xf[_u2] = Math.sin(_u2 * 2.0 * Math.PI / _4q) } var _Sf = (_jf + _hf) / 2, _Tf = (_kf + _if) / 2, _jt = (_0q + __p) / 2, _kt = (_jf - _hf) / 2, _lt = (_kf - _if) / 2, _mt = (_0q - __p) / 2; var _nt = (_4q + 1) / 2; for (var _Bf = 0; _Bf < _nt; _Bf++) { var _ot = Math.cos(_Bf * Math.PI / _nt), _pt = Math.sin(_Bf * Math.PI / _nt), _qt = Math.cos((_Bf + 1) * Math.PI / _nt), _rt = Math.sin((_Bf + 1) * Math.PI / _nt); _ci(_Di, _1i); for (var _u2 = 0; _u2 <= _4q; _u2++) { _qi(_Sf + _kt * _pt * _Yf[_u2], _Tf + _lt * _pt * _Xf[_u2], _jt + _mt * _ot, _pt * _Yf[_u2], _pt * _Xf[_u2], _ot, _ht * _u2 / _4q, _Bf * _it / _nt); _qi(_Sf + _kt * _rt * _Yf[_u2], _Tf + _lt * _rt * _Xf[_u2], _jt + _mt * _qt, _rt * _Yf[_u2], _rt * _Xf[_u2], _qt, _ht * _u2 / _4q, (_Bf + 1) * _it / _nt) } _ti() } _gt(_et) } function _1s(_hf, _if, __p, _jf, _kf, _0q, _1i, _ht, _it) { var _et = _ft(); _gt(!0); _ci(_Ci, _1i); { _qi(_hf, _if, __p, 0, 0, -1, 0, 0); _qi(_hf, _kf, __p, 0, 0, -1, 0, _it); _qi(_jf, _kf, __p, 0, 0, -1, _ht, _it); _qi(_jf, _kf, __p, 0, 0, -1, _ht, _it); _qi(_jf, _if, __p, 0, 0, -1, _ht, 0); _qi(_hf, _if, __p, 0, 0, -1, 0, 0) } { _qi(_hf, _if, _0q, 0, 0, 1, 0, 0); _qi(_jf, _if, _0q, 0, 0, 1, _ht, 0); _qi(_jf, _kf, _0q, 0, 0, 1, _ht, _it); _qi(_jf, _kf, _0q, 0, 0, 1, _ht, _it); _qi(_hf, _kf, _0q, 0, 0, 1, 0, _it); _qi(_hf, _if, _0q, 0, 0, 1, 0, 0) } { _qi(_hf, _kf, __p, 0, 1, 0, 0, 0); _qi(_hf, _kf, _0q, 0, 1, 0, 0, _it); _qi(_jf, _kf, _0q, 0, 1, 0, _ht, _it); _qi(_jf, _kf, _0q, 0, 1, 0, _ht, _it); _qi(_jf, _kf, __p, 0, 1, 0, _ht, 0); _qi(_hf, _kf, __p, 0, 1, 0, 0, 0) } { _qi(_jf, _kf, __p, 1, 0, 0, 0, 0); _qi(_jf, _kf, _0q, 1, 0, 0, 0, _it); _qi(_jf, _if, _0q, 1, 0, 0, _ht, _it); _qi(_jf, _if, _0q, 1, 0, 0, _ht, _it); _qi(_jf, _if, __p, 1, 0, 0, _ht, 0); _qi(_jf, _kf, __p, 1, 0, 0, 0, 0) } { _qi(_jf, _if, __p, 0, -1, 0, 0, 0); _qi(_jf, _if, _0q, 0, -1, 0, 0, _it); _qi(_hf, _if, _0q, 0, -1, 0, _ht, _it); _qi(_hf, _if, _0q, 0, -1, 0, _ht, _it); _qi(_hf, _if, __p, 0, -1, 0, _ht, 0); _qi(_jf, _if, __p, 0, -1, 0, 0, 0) } { _qi(_hf, _if, __p, -1, 0, 0, 0, 0); _qi(_hf, _if, _0q, -1, 0, 0, 0, _it); _qi(_hf, _kf, _0q, -1, 0, 0, _ht, _it); _qi(_hf, _kf, _0q, -1, 0, 0, _ht, _it); _qi(_hf, _kf, __p, -1, 0, 0, _ht, 0); _qi(_hf, _if, __p, -1, 0, 0, 0, 0) } _ti(); _gt(_et) } function _2s(_hf, _if, __p, _jf, _kf, _0q, _1i, _ht, _it, _7q, _4q) { var _Yf = []; var _Xf = []; var _et = _ft(); _gt(!0); if (_4q < 3) { _4q = 3 } if (_4q > 128) { _4q = 128 } for (var _u2 = 0; _u2 <= _4q; _u2++) { _Yf[_u2] = Math.cos(_u2 * 2.0 * Math.PI / _4q); _Xf[_u2] = Math.sin(_u2 * 2.0 * Math.PI / _4q) } var _Sf = (_jf + _hf) / 2.0; var _Tf = (_kf + _if) / 2.0; var _kt = (_jf - _hf) / 2.0; var _lt = (_kf - _if) / 2.0; if (!0 == _7q) { _ci(_Ei, _1i); _qi(_Sf, _Tf, _0q, 0, 0, 1, 0, _it); for (var _u2 = 0; _u2 <= _4q; _u2++) { _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, _0q, 0, 0, 1, 0, _it) } _ti() } _ci(_Di, _1i); for (var _u2 = 0; _u2 <= _4q; _u2++) { _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, _0q, _Yf[_u2], _Xf[_u2], 0, _ht * _u2 / _4q, _it); _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, __p, _Yf[_u2], _Xf[_u2], 0, _ht * _u2 / _4q, 0) } _ti(); if (!0 == _7q) { _ci(_Ei, _1i); _qi(_Sf, _Tf, __p, 0, 0, -1, 0, 0); for (var _u2 = _4q; _u2 >= 0; _u2--) { _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, __p, 0, 0, -1, 0, 0) } _ti() } _gt(_et) } function _3s(_hf, _if, __p, _jf, _kf, _0q, _1i, _ht, _it, _7q, _4q) { var _Yf = []; var _Xf = []; var _et = _ft(); _gt(!0); if (_4q < 3) { _4q = 3 } if (_4q > 128) { _4q = 128 } for (var _u2 = 0; _u2 <= _4q; _u2++) { _Yf[_u2] = Math.cos(_u2 * 2.0 * Math.PI / _4q); _Xf[_u2] = Math.sin(_u2 * 2.0 * Math.PI / _4q); } var _Sf = (_jf + _hf) / 2.0; var _Tf = (_kf + _if) / 2.0; var _kt = (_jf - _hf) / 2.0; var _lt = (_kf - _if) / 2.0; _ci(_Di, _1i); for (var _u2 = 0; _u2 <= _4q; _u2++) { _qi(_Sf, _Tf, _0q, 0, 0, 1, _ht * _u2 / _4q, _it); _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, __p, _Yf[_u2], _Xf[_u2], 0, _ht * _u2 / _4q, 0) } _ti(); if (!0 == _7q) { _ci(_Ei, _1i); _qi(_Sf, _Tf, __p, 0, 0, -1, 0, 0); for (var _u2 = _4q; _u2 >= 0; _u2--) { _qi(_Sf + _Yf[_u2] * _kt, _Tf + _Xf[_u2] * _lt, __p, 0, 0, -1, 0, 0) } _ti() } _gt(_et) } function _4s(_hf, _if, __p, _jf, _kf, _0q, _1i, _ht, _it) { var _et = _ft(); _gt(!0); var _sf = Math.sqrt(_st(_jf - _hf) + _st(_kf - _if)); if (_sf == 0.0) { return } var _li = (_kf - _if) / _sf; var _mi = -(_jf - _hf) / _sf; _ci(_Ei, _1i); { _qi(_hf, _if, __p, _li, _mi, 0, 0, 0); _qi(_jf, _kf, __p, _li, _mi, 0, _ht, 0); _qi(_jf, _kf, _0q, _li, _mi, 0, _ht, _it); _qi(_hf, _if, _0q, _li, _mi, 0, 0, _it) } _ti(); _gt(_et) } function _6s(_Sp, _zh, _Ah, _Tp, _Dg) { var _tt = new _Xs(_zh, _Ah, _Tp); _tt._ut(); var _vt = _Sp * 4; _wt[_vt + 0] = _tt._xt; _wt[_vt + 1] = _tt._yt; _wt[_vt + 2] = _tt._zt; _wt[_vt + 3] = 0.0; _At[_vt + 0] = ((_Dg >> 0) & 0xff) / 255.0; _At[_vt + 1] = ((_Dg >> 8) & 0xff) / 255.0; _At[_vt + 2] = ((_Dg >> 16) & 0xff) / 255.0; _At[_vt + 3] = ((_Dg >> 24) & 0xff) / 255.0; _Bt[_vt + 0] = 0; _Bt[_vt + 1] = 0; _Bt[_vt + 2] = 0; _Bt[_vt + 3] = 0; _3g._Ct(_Sp, _Bt.subarray(_Sp * 4, (_Sp + 1) * 4), _wt.subarray(_Sp * 4, (_Sp + 1) * 4), _At.subarray(_Sp * 4, (_Sp + 1) * 4)) } function _7s(_Sp, _w2, _x2, _ei, _Vp, _Dg) { var _vt = _Sp * 4; _Bt[_vt + 0] = _w2; _Bt[_vt + 1] = _x2; _Bt[_vt + 2] = _ei; _Bt[_vt + 3] = _Vp; _At[_vt + 0] = ((_Dg >> 0) & 0xff) / 255.0; _At[_vt + 1] = ((_Dg >> 8) & 0xff) / 255.0; _At[_vt + 2] = ((_Dg >> 16) & 0xff) / 255.0; _At[_vt + 3] = ((_Dg >> 24) & 0xff) / 255.0; _wt[_vt + 0] = 0; _wt[_vt + 1] = 0; _wt[_vt + 2] = 0; _wt[_vt + 3] = 0; _3g._Ct(_Sp, _Bt.subarray(_Sp * 4, (_Sp + 1) * 4), _wt.subarray(_Sp * 4, (_Sp + 1) * 4), _At.subarray(_Sp * 4, (_Sp + 1) * 4)) } function _8s(_Sp, enable) { _Dt[_Sp] = enable; _3g._Et(_Sp, enable, _At.subarray(_Sp * 4, (_Sp + 1) * 4)) } function _9s(_w4) { _Ft[0] = ((_w4 >> 0) & 0xff) / 255.0; _Ft[1] = ((_w4 >> 8) & 0xff) / 255.0; _Ft[2] = ((_w4 >> 16) & 0xff) / 255.0; _Ft[3] = ((_w4 >> 24) & 0xff) / 255.0; _3g._Gt(_Ft) } function _as(enable, _w4, start, end) { if (_Ht == null) { _Ht = new Float32Array(8) } _Ht[0] = enable; var _Vp = end - start; _Ht[1] = (_Vp == 0.0) ? 0.0 : (1.0 / _Vp); _Ht[2] = end; _Ht[3] = 0.0; _Ht[4] = ((_w4 >> 0) & 0xff) / 255.0; _Ht[5] = ((_w4 >> 8) & 0xff) / 255.0; _Ht[6] = ((_w4 >> 16) & 0xff) / 255.0; _Ht[7] = ((_w4 >> 24) & 0xff) / 255.0; _3g._It(_Ht) } function _bs() { return (_rr.push(new _Jt()) - 1) } function _cs(_Sp) { if (_rr[_Sp]) { _rr[_Sp] = null } } function _ds(_Sp) { if (_rr[_Sp]) { _rr[_Sp]._am() } } function _es(_Sp, _eq) { if (_rr[_Sp]) { _rr[_Sp]._Kt(_eq) } } function _fs(_Sp, _eq) { if (_rr[_Sp]) { _rr[_Sp]._jg(_eq) } } function _gs(_Sp, _w2, _x2, _ei, _1i) { if (_rr[_Sp]) { _rr[_Sp]._Ig(_w2, _x2, _ei, _1i) } } function _hs(_Sp, _Zh) { if (_rr[_Sp]) { _rr[_Sp]._2k(_Zh) } } function _is(_Sp, _w2, _x2, _ei) { if (_rr[_Sp]) { _rr[_Sp]._Lt(_w2, _x2, _ei) } } function _js(_Sp, _w2, _x2, _ei, _Dg, alpha) { if (_rr[_Sp]) { _rr[_Sp]._Mt(_w2, _x2, _ei, _Dg, alpha) } } function _ls(_Sp, _w2, _x2, _ei, _6i, _7i) { if (_rr[_Sp]) { _rr[_Sp]._Nt(_w2, _x2, _ei, _6i, _7i) } } function _ms(_Sp, _w2, _x2, _ei, _6i, _7i, _Dg, alpha) { if (_rr[_Sp]) { _rr[_Sp]._Ot(_w2, _x2, _ei, _6i, _7i, _Dg, alpha) } } function _os(_Sp, _w2, _x2, _ei, _li, _mi, _ni) { if (_rr[_Sp]) { _rr[_Sp]._Pt(_w2, _x2, _ei, _li, _mi, _ni) } } function _ps(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _Dg, alpha) { if (_rr[_Sp]) { _rr[_Sp]._Qt(_w2, _x2, _ei, _li, _mi, _ni, _Dg, alpha) } } function _qs(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _6i, _7i) { if (_rr[_Sp]) { _rr[_Sp]._Rt(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i) } } function _rs(_Sp, _w2, _x2, _ei, _li, _mi, _ni, _6i, _7i, _Dg, alpha) { if (_rr[_Sp]) { _rr[_Sp]._St(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i, _Dg, alpha) } } function _ss(_Sp) { if (_rr[_Sp]) { _rr[_Sp]._4k() } } function _ts(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { if (_rr[_Sp]) { _rr[_Sp]._Tt(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) } } function _us(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { if (_rr[_Sp]) { _rr[_Sp]._Ut(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) } } function _vs(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { if (_rr[_Sp]) { _rr[_Sp]._Vt(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) } } function _ws(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _4q) { if (_rr[_Sp]) { _rr[_Sp]._Wt(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _4q) } } function _xs(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { if (_rr[_Sp]) { _rr[_Sp]._Xt(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) } } function _ys(_Sp, _hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { if (_rr[_Sp]) { _rr[_Sp]._Yt(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) } } function _Gr() { _Zt(__t, new _Ws()) } function _Hr(_Qq, _Rq, _Sq) { var _gf = new _Ws(); _gf._0u(_Qq, _Rq, _Sq); _Zt(__t, _gf) } function _Ir(_Ag, _Bg, _Uq) { var _gf = new _Ws(); _gf._1u(_Ag, _Bg, _Uq); _Zt(__t, _gf) } function _Jr(_Cg) { var _gf = new _Ws(); _gf._2u(_Cg); _Zt(__t, _gf) } function _Kr(_Cg) { var _gf = new _Ws(); _gf._3u(_Cg); _Zt(__t, _gf) } function _Lr(_Cg) { var _gf = new _Ws(); _gf._4u(_Cg); _Zt(__t, _gf) } function _Mr(_Zq, __q, _0r, _Cg) { var _gf = new _Ws(); _gf._5u(new _Xs(_Zq, __q, _0r), -_Cg); _Zt(__t, _gf) } function _Nr(_Qq, _Rq, _Sq) { var _6u = new _Ws(); _6u._0u(_Qq, _Rq, _Sq); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _6u); _Zt(__t, _gf) } function _Or(_Ag, _Bg, _Uq) { var _au = new _Ws(); _au._1u(_Ag, _Bg, _Uq); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _au); _Zt(__t, _gf) } function _Pr(_Cg) { var _bu = new _Ws(); _bu._2u(_Cg); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _bu); _Zt(__t, _gf) } function _Qr(_Cg) { var _bu = new _Ws(); _bu._3u(_Cg); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _bu); _Zt(__t, _gf) } function _Rr(_Cg) { var _bu = new _Ws(); _bu._4u(_Cg); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _bu); _Zt(__t, _gf) } function _Sr(_Zq, __q, _0r, _Cg) { var _bu = new _Ws(); _bu._5u(new _Xs(_Zq, __q, _0r), -_Cg); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_7u, _bu); _Zt(__t, _gf) } function _Tr(_ye, _ze, _sj) { var _7u = _8u(__t); var _Cf = (_7u._gf[_cu] * _ye) + (_7u._gf[_du] * _ze) + (_7u._gf[_eu] * _sj) + _7u._gf[_fu]; var _Ef = (_7u._gf[_gu] * _ye) + (_7u._gf[_5t] * _ze) + (_7u._gf[_hu] * _sj) + _7u._gf[_iu]; var _ju = (_7u._gf[_ku] * _ye) + (_7u._gf[_lu] * _ze) + (_7u._gf[_mu] * _sj) + _7u._gf[_nu]; var _uf = []; _uf[0] = _Cf; _uf[1] = _Ef; _uf[2] = _ju; return _uf } function _Ur() { _ou() } function _Vr() { return _pu() } function _Wr() { var _7u = _8u(__t); return _qu(_7u) } function _Xr() { return _ru() } function _Yr() { return _su() } function _Zr() { return _tu() } function _zs(_Pj) { var _gf = []; if (_Pj < 0 || _Pj > 2) { _ym('ERROR: Invalid matrix type (matrix_get)'); for (var _u2 = 0; _u2 < 16; _u2++) { _gf[_u2] = 0 } return _gf } var _uu = _vu[_Pj]; for (var _u2 = 0; _u2 < 16; _u2++) { _gf[_u2] = _uu._gf[_u2] } return _gf } function _As(_Pj, _ar) { var _gf = []; if (_Pj < 0 || _Pj > 2) { _ym('ERROR: Invalid matrix type (matrix_get)'); for (var _u2 = 0; _u2 < 16; _u2++) { _gf[_u2] = 0 } return _gf } var _gf = new _Ws(); var _uu = _vu[_Pj]; for (var _u2 = 0; _u2 < 16; _u2++) { _gf._gf[_u2] = _ar[_u2] } _Zt(_Pj, _gf) } function _Bs(_ye, _ze, _sj, _cr, _dr, _er, _fr, _gr, _hr) { var _gf = new _Ws(); var _wu = (Math.PI / 180.0); _cr = (_wu * -_cr); _dr = (_wu * -_dr); _er = (_wu * -_er); _gf._xu(_ye, _ze, _sj, _cr, _dr, _er, _fr, _gr, _hr); var _uu = []; for (var _u2 = 0; _u2 < 16; _u2++) { _uu[_u2] = _gf._gf[_u2] } return _uu } function _Cs(_yu, _zu) { var _Au = new _Ws(); var _Bu = new _Ws(); var _Cu = new _Ws(); for (var _u2 = 0; _u2 < 16; _u2++) { _Au._gf[_u2] = _yu[_u2]; _Bu._gf[_u2] = _zu[_u2] } _Cu._9u(_Au, _Bu); var _uu = []; for (var _u2 = 0; _u2 < 16; _u2++) { _uu[_u2] = _Cu._gf[_u2] } return _uu } var _Du = 1970; var _Eu = 0; var _Fu = 1; var _Gu = 365.25; var _Hu = 30.4375; var _Iu = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; var _Ju = []; var _Ku = (86400.0); var _Lu = (_Ku * 30); var _Mu = !0; var _Nu = 0; var _Ou = 1; function _Pu(_Qu) { if (_Qu < _Ru) { return _Qu * _Su } else { return (_Qu - _Ru) * _Su } } function _Tu(_Uu) { return _Uu % 400 == 0 || (_Uu % 100 != 0 && _Uu % 4 == 0) } function _Vu(_Uu) { var _Wu = _Iu.slice();; if (_Tu(_Uu)) { _Wu[1] = 29 } return _Wu } var _Su = 86400000.0; var _Ru = 25569; function _Xu(_Yu) { return ((_Yu < 10) ? "0" : "") + _Yu.toString() } var _Zu = []; var __u = []; var _0v = []; var _1v = Date.now(); var _2v = 0; var _3v = 1; var _4v = 2; var _5v = 3; var _6v = function(text) { if (!text) return; if (_7v) { if (!_8v) return; var _Tj = _8v.document.getElementById('debug_console'); if (!_Tj) return; var _9v = String.fromCharCode(0x0a); text = text.replace('', '').replace('', ''); var _av = Date.now() - _1v; if (!_Tj) { alert(text) } else { _Tj.value += text + _9v; var _bv = _Tj.textLength } _1v = Date.now() } if (_cv != undefined) { if (_cv._W4._95) console.log(text) } }; function debug() { var index; for (index = 0; index < arguments.length; ++index) { _6v(arguments[index]) } } function _ym() { var index; for (index = 0; index < arguments.length; ++index) { _6v(arguments[index]) } } function _dv(_ev) { if (!_0v[_ev]) { _0v[_ev] = !0; _fv(_ev) } } function __h(_ev) { if (!_Zu[_ev]) { _Zu[_ev] = !0; var _gv = "Error: function " + _ev + " is not supported."; debug(_gv) } } function _hv(_ev) { if (!_Zu[_ev]) { _Zu[_ev] = !0; var _gv = "Error: function " + _ev + " is not yet implemented"; debug(_gv) } } function _iv(_ev) { if (!__u[_ev]) { __u[_ev] = !0; var _gv = "Warning: function " + _ev; debug(_gv) } } function _jv(_kv) { var _lv = _mv._nv(_kv, -1); var _9v = String.fromCharCode(0x0a); var _ov = ""; for (var _u2 = 0; _u2 < _lv.length; _u2++) { if (_u2 != 0) _ov = _ov + _9v; _ov += _lv[_u2] } return _ov } function _pv(_qv) { var _fe = document.getElementById(_rv); var _sv = _fe.parentNode; var _tv = document.createElement("div"); _uv = "gm4html5_login_ID"; _tv.setAttribute("class", "gm4html5_login"); _tv.setAttribute("id", _uv); _sv.insertBefore(_tv, _fe.nextSibling); _tv.innerHTML = "
Login
" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "
" + "
" + "
"; _vv(); _wv = !0; var login = document.getElementById("gm4html5_login_button_id"); var _xv = document.getElementById("gm4html5_login_username_id"); var _yv = document.getElementById("gm4html5_login_password_id"); _xv.value = _qv._zv[0]; _yv.value = _qv._zv[1]; login.onmouseup = function() { var _Av = _xv.value; var _Bv = _yv.value; var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = _Av; _Cv._Bv = _Bv; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = _Hv; _sv.removeChild(_tv); _wv = !1; _Iv(); _Jv(_qv.id) }; var _Kv = document.getElementById("gm4html5_cancel_button_id"); _Kv.onmouseup = function() { _sv.removeChild(_tv); _wv = !1; var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = _Lv; _Iv(); _Jv(_qv.id) }; _Mv(); _Nv._yn(_qv.id, null, _Ov, _uv) } function _Pv(_qv) { var _fe = document.getElementById(_rv); var _sv = _fe.parentNode; var _tv = document.createElement("div"); _uv = "gm4html5_input_ID"; _tv.setAttribute("class", "gm4html5_login"); _tv.setAttribute("id", _uv); _sv.insertBefore(_tv, _fe.nextSibling); _tv.innerHTML = "" + "" + "" + "" + "" + "" + "" + "
" + "
" + "
"; _vv(); _wv = !0; var _Qv = document.getElementById("gm4html5_input_message_id"); var _Rv = document.getElementById("gm4html5_input_text_id"); _Qv.innerHTML = _qv._zv[0]; _Rv.value = _qv._zv[1]; var _Sv = document.getElementById("gm4html5_input_ok_button_id"); _Sv.onmouseup = function() { var text = _Rv.value; var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = parseFloat(text); _Cv._Ev = text; _Cv._Fv = !0; _Cv._Gv = _Hv; _sv.removeChild(_tv); _wv = !1; _Iv(); _Jv(_qv.id) }; var _Kv = document.getElementById("gm4html5_input_cancel_button_id"); _Kv.onmouseup = function() { _sv.removeChild(_tv); _wv = !1; var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = _Lv; _Iv(); _Jv(_qv.id) }; _Mv(); _Nv._yn(_qv.id, null, _Ov, _uv) } function _Tv(_qv) { var _fe = document.getElementById(_rv); var _sv = _fe.parentNode; var _tv = document.createElement("div"); _uv = "gm4html5_question_ID"; _tv.setAttribute("class", "gm4html5_login"); _tv.setAttribute("id", _uv); _sv.insertBefore(_tv, _fe.nextSibling); _tv.innerHTML = "" + "" + "" + "" + "
" + "
" + "
"; _vv(); _wv = !0; var _Uv = document.getElementById("gm4html5_question_message_id"); _Uv.innerHTML = _qv._zv[0]; var _Sv = document.getElementById("gm4html5_question_yes_button_id"); _Sv.onmouseup = function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 1; _Cv._Ev = "1"; _Cv._Fv = !0; _Cv._Gv = _Hv; _sv.removeChild(_tv); _wv = !1; _Iv(); _Jv(_qv.id) }; var _Kv = document.getElementById("gm4html5_question_no_button_id"); _Kv.onmouseup = function() { _sv.removeChild(_tv); _wv = !1; var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = "0"; _Cv._Fv = !0; _Cv._Gv = _Lv; _Iv(); _Jv(_qv.id) }; _Mv(); _Nv._yn(_qv.id, null, _Ov, _uv) } function _Vv(_qv) { var _fe = document.getElementById(_rv); var _sv = _fe.parentNode; var _tv = document.createElement("div"); _uv = "gm4html5_message_ID"; _tv.setAttribute("class", "gm4html5_login"); _tv.setAttribute("id", _uv); _sv.insertBefore(_tv, _fe.nextSibling); _tv.innerHTML = "" + "" + "" + "" + "
" + "
"; _vv(); _wv = !0; var _Uv = document.getElementById("gm4html5_message_message_id"); _Uv.innerHTML = _qv._zv[0]; var _Sv = document.getElementById("gm4html5_message_ok_button_id"); _Sv.onmouseup = function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 1; _Cv._Ev = "1"; _Cv._Fv = !0; _Cv._Gv = 1; _sv.removeChild(_tv); _wv = !1; _Iv(); _Jv(_qv.id) }; _Mv(); _Nv._yn(_qv.id, null, _Ov, _uv) } function _Wv() { if (_Xv.length > 0) { switch (_Xv[0].type) { case _2v: _pv(_Xv[0]); break; case _3v: _Pv(_Xv[0]); break; case _4v: _Tv(_Xv[0]); break; case _5v: _Vv(_Xv[0]); break } } } function _Jv(_dn) { var index = -1; for (var _u2 = 0; _u2 < _Xv.length; ++_u2) { if (_Xv[_u2].id == _dn) { index = _u2; break } } if (index >= 0) { _Xv.splice(index, 1) } _Wv() } function _Mv() { if (_wv) { var login = document.getElementById(_uv); var _y2 = login.offsetWidth; var _z2 = login.offsetHeight; var _Cf = (canvas.width - _y2) / 2; var _Ef = (canvas.height - _z2) / 2; _qm = new _Yv(); _pm(canvas, _qm); login.style.left = ~~ (_Cf + _qm.left) + "px"; login.style.top = ~~ (_Ef + _qm.top) + "px" } } function _Zv(__v) { return __v.substr(0, __v.indexOf("(")) } function _fv(_0w) { var _1w = arguments.callee.caller; var _9o = "Error: " + _0w + _2w(13) + "--------------------------------------------------------------------" + _2w(13); while (_1w) { var name = _2w(9) + _Zv(_1w.toString()); _9o += name + '('; for (var _u2 = 0; _u2 < _1w.arguments.length; _u2++) { if (_u2 != 0) { _9o += ', ' } if (typeof _1w.arguments[_u2] == "string") { _9o += '"' + _1w.arguments[_u2].toString() + '"' } else if (typeof _1w.arguments[_u2] == "number") { _9o += _1w.arguments[_u2].toString() } else { if (_1w.arguments[_u2] == undefined) { _9o += "[undefined]" } else if (_1w.arguments[_u2] == null) { _9o += "[null]" } else if (_1w.arguments[_u2].__type) { _9o += _1w.arguments[_u2].__type } else { _9o += "[unknown]" } } } _9o += ')' + _2w(13); _1w = _1w.caller } debug(_9o) } var _3w = 3; var _4w = -1; var _5w = "IDLE"; var _6w = "PROCESSING"; var _7w = "AUTHORISED"; var _8w = "FAILED"; var _9w = []; var _aw; var _bw = 0; var g_fbOAuthToken = ""; function _cw() { FB.api('/me/permissions', function(response) { debug("fbQueryPermissions response:"); try { var text = JSON.stringify(response); debug(text) } catch (e) {} _9w = []; var data = response["data"]; if (data != undefined) { var length = data.length; for (_u2 = 0; _u2 < length; _u2++) { var _Zn = data[_u2]; var _dw = _Zn["permission"]; var status = _Zn["status"]; if (_dw != undefined && status == "granted") { _9w.push(_dw) } } } debug("current permissions: " + _9w) }) } function _ew(response) { try { var text = JSON.stringify(response); debug("facebook login response:"); debug(text) } catch (e) {} if (response.status === 'connected') { _fw = response.authResponse.userID; g_fbOAuthToken = response.authResponse.accessToken; _gw = _7w; _cw() } else if (response.status === 'not_authorized') { _gw = 'DENIED' } else { _gw = _8w } } var _hw = { appId: 0, status: !0, cookie: !0, xfbml: !0, version: 'v2.0' }; function _iw() { _hw.appId = g_fbAppId; FB.init(_hw); FB.getLoginStatus(_ew); FB.Canvas.setAutoGrow(100); if (_cv._W4 && _cv._W4._X4 && _cv._W4._jw) { _cv._W4._jw() } } function _kw(_Bp) { var _lw, id = 'facebook-jssdk', _mw = _Bp.getElementsByTagName('script')[0]; if (_Bp.getElementById(id)) { return } _lw = _Bp.createElement('script'); _lw.id = id; _lw._nw = !0; _lw.src = "//connect.facebook.net/en_US/sdk.js"; _mw.parentNode.insertBefore(_lw, _mw) } function _ow(_pw) { if (typeof(_cv._W4.GenerateSpotifyApp) != "undefined") {} else { var _fe = document.getElementById(_rv); var _sv = _fe.parentNode; var _tv = document.createElement("div"); _tv.setAttribute("id", "fb-root"); _sv.insertBefore(_tv, _fe.nextSibling); g_fbAppId = _pw; window.fbAsyncInit = _iw; _kw(document) } } function _qw(_rw) { var _sw = 'https://graph.facebook.com/me'; var _tw = _sw + '?access_token=' + g_fbOAuthToken; var _uw = new XMLHttpRequest(); _uw.open('GET', _tw); _uw.ontimeout = function(_vw) { _gw = 'FAILED' }; _uw.onerror = function(_vw) { _gw = 'FAILED' }; _uw.onreadystatechange = function() { if (_uw.readyState != 4) return; var data = JSON.parse(_uw.responseText); _ww(data); var _xw = eval(_rw); if (_xw) { _xw(data) } }; _uw.send(null) } function _ww(data) { _fw = data.id; _gw = 'AUTHORISED' } function _yw(_rw) { if (typeof(getSpotifyApi) != "undefined") { var _zw = getSpotifyApi(1); var _Aw = _zw.require('sp://import/scripts/api/auth'); var _Bw = ['user_about_me', 'publish_stream']; var _Cw = _cv._W4._Dw; _gw = 'PROCESSING'; _Aw.authenticateWithFacebook(_Cw, _Bw, { onSuccess: function(accessToken, _Ew) { g_fbOAuthToken = accessToken; _qw(_rw) }, onFailure: function(error) { console.log('Authentication failed with error: ' + error); _gw = 'FAILED' }, onComplete: function() {} }) } } function _Fw(_Gw) { if (typeof(_cv._W4.GenerateSpotifyApp) == "undefined") { if (typeof(FB) == 'undefined') { console.log("Facebook initialisation has not completed"); return } } _gw = _6w; if (typeof(_cv._W4.GenerateSpotifyApp) != "undefined") { _yw(_Gw) } else { var _bv = 0; var _Hw = ''; if (_Gw >= 0) { _bv = _zn(_Gw); for (var _u2 = 0; _u2 < _bv; _u2++) { var _9o = _En(_Gw, _u2); _Hw += _9o; if (_u2 < _bv - 1) { _Hw += ',' } } FB.login(_ew, { scope: _Hw }) } else { FB.login(_ew) } } } function _Iw(_Jw, _Kw, _Lw, _Mw) { var _Nw = {}; if (_Lw != -1) { var _Ow = __n(_Lw); while (_Un(_Lw, _Ow)) { var _Pw = _o6(_Lw, _Ow); _Nw[_Ow] = _Pw; _Ow = _Xn(_Lw, _Ow) } } _Qw = _Mw; if (_Mw != -1) { _Rn(_Mw) } FB.api(_Jw, _Kw, _Nw, _Rw) } function _Rw(data) { if (_Qw != -1) { _Sw(data, _Qw); try { var text = JSON.stringify(data); _96(_Qw, "response_text", text) } catch (e) {} } debug("response received from facebook_graph_request") } function _Tw(_Jw, _Lw, _Mw) { var _Nw = {}; _Nw.method = _Jw; if (_Lw != -1) { var _Ow = __n(_Lw); while (_Un(_Lw, _Ow)) { var _Pw = _o6(_Lw, _Ow); _Nw[_Ow] = _Pw; _Ow = _Xn(_Lw, _Ow) } } if (_Mw != -1) { _Rn(_Mw) } FB.ui(_Nw, function(response) { _Uw(response, _Mw) }); return 1 } function _Uw(data, _Vw) { if (_Vw != -1) { _Sw(data, _Vw) } debug("response received from facebook_dialog:"); try { var text = JSON.stringify(data); debug(text) } catch (e) {} } function _Ww() { this._Xw = ""; this._Yw = 0; this._Zw = !1; this.__w = !1; this._0x = "" } _Ww.prototype._1x = function() { var _9o; var _u2 = this._Yw; var _ov = this._Xw; while (_u2 < _ov.length) { var _v2 = _ov.charCodeAt(_u2); if (_v2 == 0x0d || _v2 == 0x0a) { _u2++; _v2 = _ov.charCodeAt(_u2); if (_v2 == 0x0d || _v2 == 0x0a) { _u2++ } break } else { _u2++ } } this._Yw = _u2 }; _Ww.prototype._2x = function() { var _9o; var _u2 = this._Yw; var _ov = this._Xw; while (_u2 < _ov.length) { var _v2 = _ov.charCodeAt(_u2); if (_v2 == 0x0d || _v2 == 0x0a || _v2 == 0x09 || _v2 == 0x20) { _u2++ } else { break } } this._Yw = _u2 }; function _3x(_4x) { var _5x = _6x._hn(_4x); if (!_5x) { _ym("Error: Illegal file handle"); return } if (_5x._0x != null) { if (_5x.__w) { _7x(_5x._0x, _5x._Xw) } } _6x._Qn(_4x) } function _8x(_9x) { _5x = new _Ww(); _5x._0x = _9x; _5x._Xw = ""; _5x._Yw = 0; _5x._ax = !0; return _6x._yn(_5x) } function _bx(_4x, _cx) { var _5x = _6x._hn(_4x); if (!_5x) { _ym("Error: Illegal file handle"); return } if (!_5x._ax) { _ym("Error: File " + _5x._0x + " has not been opened with WRITE permisions"); return } _5x._Xw += _lv = _jv(_cx); _5x.__w = !0; _5x._Yw = _5x._Xw.length } function _dx(_9x) { var _ex = _fx(_9x, !0); if (_ex == !0) return !0; return _fx(_9x, !1) } function _gx(_hx) { var _on; switch (typeof(_hx)) { case "object": if (_hx instanceof Array) { _on = new _Kn(_Jn, _ix(_hx)) } else { _on = new _Kn(_In, _jx(_hx)) } break; case "boolean": _on = _hx ? 1 : 0; break; case "number": case "string": _on = _hx; break; default: _on = _hx.toString(); break } return _on } function _ix(_Ln) { var _on = _un(); for (var _u2 = 0; _u2 < _Ln.length; ++_u2) { var _8h = _gx(_Ln[_u2]); _Bn(_on, _8h) } return _on } function _jx(_Ln) { var _on = _86(); for (var _kx in _Ln) { var _Wg = _Ln[_kx]; var _8h = _gx(_Wg); _96(_on, _kx, _8h) } return _on } function _lx(_hx) { var _on; switch (typeof(_hx)) { case "object": switch (_hx._Mn) { case _Jn: _on = _mx(_hx.Object); break; case _In: _on = _nx(_hx.Object); break; default: _on = _hx.toString(); break } break; case "number": case "string": _on = _hx; break; default: _on = _hx.toString(); break } return _on } function _mx(_ox) { var _on = []; var _px = _xn._hn(_ox); if (_px) { for (var _u2 = 0; _u2 < _px._Hn.length; ++_u2) { if (_px._Hn[_u2] != undefined) _on.push(_lx(_px._Hn[_u2])) } } return _on } function _nx(_qx) { var _on = {}; var _Nn = _On._hn(_qx); if (_Nn) { for (var _u2 in _Nn) { if (!_Nn.hasOwnProperty(_u2)) continue; if (_Nn[_u2] != undefined) _on[_u2] = _lx(_Nn[_u2]) } } return _on } function _Fa(_rx) { _mv._sx = _rx } function _Ea(_rx) { _mv._tx = _rx } function _Ga(_ux) { _mv._vx = _ux } function _O8(_ye, _ze, _ev) { _mv._wx(_ev.toString(), _ye, _ze, -1, -1, 0, 1, 1) } var _xx = _yx; function _yx(_ye, _ze, _ev, _zx, _Ax, _Bx, _Cx, _fj) { _iv("draw_text_color() only uses the 1st colour"); var _Dx = _cj; var _Ex = _Fx; _cj = _fj; _J8(_zx); _mv._wx(_ev.toString(), _ye, _ze, -1, -1, 0, 1, 1); _cj = _Dx; _J8(_Ex) } var _Gx = _Hx; function _Hx(_ye, _ze, _ev, _Ix, _6n, _zx, _Ax, _Bx, _Cx, _fj) { _iv("draw_text_ext_color() only uses the 1st colour"); var _Dx = _cj; var _Ex = _Fx; _cj = _fj; _J8(_zx); _mv._wx(_ev.toString(), _ye, _ze, _Ix, _6n, 0, 1, 1); _cj = _Dx; _J8(_Ex) } function _qd(_ye, _ze, _ev, _fr, _gr, _Ce) { _mv._wx(_ev.toString(), _ye, _ze, -1, -1, _Ce, _fr, _gr) } var _Jx = _Kx; function _Kx(_ye, _ze, _ev, _Ix, _6n, _fr, _gr, _Ce, _zx, _Ax, _Bx, _Cx, _fj) { _iv("draw_text_ext_transformed_color() only uses the 1st colour"); var _Dx = _cj; var _Ex = _Fx; _cj = _fj; _J8(_zx); _mv._wx(_ev.toString(), _ye, _ze, _Ix, _6n, _Ce, _fr, _gr); _cj = _Dx; _J8(_Ex) } var _Lx = _Mx; function _Mx(_ye, _ze, _ev, _fr, _gr, _Ce, _zx, _Ax, _Bx, _Cx, _fj) { _iv("draw_text_transformed_color() only uses the 1st colour"); var _Dx = _cj; var _Ex = _Fx; _cj = _fj; _J8(_zx); _mv._wx(_ev.toString(), _ye, _ze, -1, -1, _Ce, _fr, _gr); _cj = _Dx; _J8(_Ex) } function _Nx(_me, _Cj, _Ox, _Px, _Qx, _Rx, _Sx) { var _Tx = new _Ux(); _Tx._Vx = !0; _Tx._m1 = "fnt_" + _me; _Tx._Wx = _me; _Tx._k2 = _Cj; _Tx.bold = _Ox; _Tx._l2 = _Px; _Tx._m2 = _Qx; _Tx._n2 = _Rx; _Tx._Xx = !1; if (_me.toLowerCase().lastIndexOf(".ttf") != -1) { _Tx._Yx = new _Zx(); _Tx._Yx.onload = function() { _Tx._Xx = !0 }; _Tx._Yx.onerror = function(err) { alert(err) }; _Tx._Yx.src = "html5game/" + _me; _Tx.__x = _Cj + "px " + _Tx._Yx._0y + " " } else { _Tx.__x = _Cj + "px " + _me + " "; _Tx._Xx = !0 } if (_Ox) _Tx.__x = _Tx.__x + "bold "; if (_Px) _Tx.__x = _Tx.__x + "Italic "; if (_Sx) { return _mv._1y(_Tx) } else { return _Tx } } var _2y = 0, _3y = 1, _4y = 2, _5y = 3, _6y = 4, _7y = 5, _8y = 6, _9y = 7, _ay = 8, _by = 9; function _1b(_Ln) { return _cy._hn(_Ln)._dy.length } function _ey() { var _fy = _gy("hiscores_data_", !0); if (_fy != null) { _hy = JSON.parse(_fy); var _u2; for (_u2 = 0; _u2 < _iy; _u2++) { _jy[_u2] = _hy[_u2].name; _ky[_u2] = _hy[_u2].value } } } function _ly() { _ky[0] = _ky[1] = _ky[2] = _ky[3] = _ky[4] = _ky[5] = _ky[6] = _ky[7] = _ky[8] = _ky[9] = 0; _jy[0] = _jy[1] = _jy[2] = _jy[3] = _jy[4] = _jy[5] = _jy[6] = _jy[7] = _jy[8] = _jy[9] = _my } function _ny(_oy, _py, _qy) { var _ry, _sy, _ty, _uy, _vy, _wy; _ry = (_oy >> 16) & 0xff; _ty = (_oy >> 8) & 0xff; _vy = (_oy & 0xff); _sy = (_py >> 16) & 0xff; _uy = (_py >> 8) & 0xff; _wy = (_py & 0xff); var _xy = 1.0 - _qy; var _uf = _sn(_ry * _xy + _sy * _qy); var _Vg = _sn(_ty * _xy + _uy * _qy); var _xf = _sn(_vy * _xy + _wy * _qy); var _Dg = ((_uf & 0xff) << 16) | ((_Vg & 0xff) << 8) | (_xf & 0xff); return _Dg } function _yy(_oy, _py, _qy) { return _ny(_oy, _py, _qy) } function _zy(_Ay, _By, _Cy, _Dy) { var _Ey = _Fy._hn(_Cy); if ((_Ey != null) && (_Ey != undefined)) { var _Gy = _Ey._Hy[_Dy]; if ((_Gy != null) && (_Gy != undefined)) { _Gy._Iy(_Ay, _Ay) } } } var _Jy = !0; var _Ky = debug; function _Ly() { return "en" } function _My(data) { var _Ny = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Oy, _Py, _Qy, _Ry, _Sy, _Ty, _Uy, _Vy; var _u2 = 0; var _Wy = 0; var _Xy = ""; var _Yy = []; if (!data) { return data } data += ''; do { _Ry = _Ny.indexOf(data.charAt(_u2++)); _Sy = _Ny.indexOf(data.charAt(_u2++)); _Ty = _Ny.indexOf(data.charAt(_u2++)); _Uy = _Ny.indexOf(data.charAt(_u2++)); _Vy = _Ry << 18 | _Sy << 12 | _Ty << 6 | _Uy; _Oy = _Vy >> 16 & 0xff; _Py = _Vy >> 8 & 0xff; _Qy = _Vy & 0xff; if (_Ty == 64) { _Yy[_Wy++] = String.fromCharCode(_Oy); } else if (_Uy == 64) { _Yy[_Wy++] = String.fromCharCode(_Oy, _Py) } else { _Yy[_Wy++] = String.fromCharCode(_Oy, _Py, _Qy) } } while (_u2 < data.length); _Xy = _Yy.join(''); return _Xy } function _Zy(_vw) { if (_cv._W4.TrackingID) { _gaq.push(['_trackEvent', 'GMEvent', _vw ]) } else if (_cv._W4.FlurryId) { FlurryAgent.logEvent(_vw) } } function __y(_vw) { var arguments = __y.arguments; if (_cv._W4.TrackingID) { if (arguments.length >= 3) { _gaq.push(['_trackEvent', 'GMEvent', _vw, arguments[1], arguments[2]]) } else { _gaq.push(['_trackEvent', 'GMEvent', _vw]) } } else if (_cv._W4.FlurryId) { if ((arguments.length >= 3) && (arguments.length & 1) == 1) { var _0z = {}; var _1z = arguments.length - 1; if (_1z > 10) { _1z = 10 } for (var _u2 = 0; _u2 < _1z; _u2 += 2) { _0z[arguments[_u2 + 1]] = arguments[_u2 + 2].toString() } FlurryAgent.logEvent(_vw, _0z) } else { FlurryAgent.logEvent(_vw) } } } function _2z(_3z) { return _4z(_3z) } var _5z = 0; var _6z = ""; function _7z(_ov) { return _8z(_9z(_az(_ov))) } function _9z(_ov) { return _bz(_cz(_dz(_ov), _ov.length * 8)) } function _8z(_ez) { try { _5z } catch (e) { _5z = 0 } var _fz = _5z ? "0123456789ABCDEF" : "0123456789abcdef"; var _gz = ""; var _w2; for (var _u2 = 0; _u2 < _ez.length; _u2++) { _w2 = _ez.charCodeAt(_u2); _gz += _fz.charAt((_w2 >>> 4) & 0x0F) + _fz.charAt(_w2 & 0x0F) } return _gz } function _az(_ez) { var _gz = ""; var _u2 = -1; var _w2, _x2; while (++_u2 < _ez.length) { _w2 = _ez.charCodeAt(_u2); _x2 = _u2 + 1 < _ez.length ? _ez.charCodeAt(_u2 + 1) : 0; if (0xD800 <= _w2 && _w2 <= 0xDBFF && 0xDC00 <= _x2 && _x2 <= 0xDFFF) { _w2 = 0x10000 + ((_w2 & 0x03FF) << 10) + (_x2 & 0x03FF); _u2++ } if (_w2 <= 0x7F) _gz += String.fromCharCode(_w2); else if (_w2 <= 0x7FF) _gz += String.fromCharCode(0xC0 | ((_w2 >>> 6) & 0x1F), 0x80 | (_w2 & 0x3F)); else if (_w2 <= 0xFFFF) _gz += String.fromCharCode(0xE0 | ((_w2 >>> 12) & 0x0F), 0x80 | ((_w2 >>> 6) & 0x3F), 0x80 | (_w2 & 0x3F)); else if (_w2 <= 0x1FFFFF) _gz += String.fromCharCode(0xF0 | ((_w2 >>> 18) & 0x07), 0x80 | ((_w2 >>> 12) & 0x3F), 0x80 | ((_w2 >>> 6) & 0x3F), 0x80 | (_w2 & 0x3F)) } return _gz } function _dz(_ez) { var _gz = Array(_ez.length >> 2); for (var _u2 = 0; _u2 < _gz.length; _u2++) _gz[_u2] = 0; for (var _u2 = 0; _u2 < _ez.length * 8; _u2 += 8) _gz[_u2 >> 5] |= (_ez.charCodeAt(_u2 / 8) & 0xFF) << (_u2 % 32); return _gz } function _bz(_ez) { var _gz = ""; for (var _u2 = 0; _u2 < _ez.length * 32; _u2 += 8) _gz += String.fromCharCode((_ez[_u2 >> 5] >>> (_u2 % 32)) & 0xFF); return _gz } function _cz(_w2, _bv) { _w2[_bv >> 5] |= 0x80 << ((_bv) % 32); _w2[(((_bv + 64) >>> 9) << 4) + 14] = _bv; var _Wg = 1732584193; var _xf = -271733879; var _v2 = -1732584194; var _Bp = 271733878; for (var _u2 = 0; _u2 < _w2.length; _u2 += 16) { var _hz = _Wg; var _iz = _xf; var _jz = _v2; var _kz = _Bp; _Wg = _lz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 0], 7, -680876936); _Bp = _lz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 1], 12, -389564586); _v2 = _lz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 2], 17, 606105819); _xf = _lz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 3], 22, -1044525330); _Wg = _lz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 4], 7, -176418897); _Bp = _lz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 5], 12, 1200080426); _v2 = _lz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 6], 17, -1473231341); _xf = _lz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 7], 22, -45705983); _Wg = _lz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 8], 7, 1770035416); _Bp = _lz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 9], 12, -1958414417); _v2 = _lz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 10], 17, -42063); _xf = _lz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 11], 22, -1990404162); _Wg = _lz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 12], 7, 1804603682); _Bp = _lz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 13], 12, -40341101); _v2 = _lz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 14], 17, -1502002290); _xf = _lz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 15], 22, 1236535329); _Wg = _mz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 1], 5, -165796510); _Bp = _mz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 6], 9, -1069501632); _v2 = _mz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 11], 14, 643717713); _xf = _mz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 0], 20, -373897302); _Wg = _mz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 5], 5, -701558691); _Bp = _mz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 10], 9, 38016083); _v2 = _mz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 15], 14, -660478335); _xf = _mz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 4], 20, -405537848); _Wg = _mz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 9], 5, 568446438); _Bp = _mz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 14], 9, -1019803690); _v2 = _mz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 3], 14, -187363961); _xf = _mz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 8], 20, 1163531501); _Wg = _mz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 13], 5, -1444681467); _Bp = _mz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 2], 9, -51403784); _v2 = _mz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 7], 14, 1735328473); _xf = _mz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 12], 20, -1926607734); _Wg = _nz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 5], 4, -378558); _Bp = _nz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 8], 11, -2022574463); _v2 = _nz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 11], 16, 1839030562); _xf = _nz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 14], 23, -35309556); _Wg = _nz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 1], 4, -1530992060); _Bp = _nz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 4], 11, 1272893353); _v2 = _nz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 7], 16, -155497632); _xf = _nz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 10], 23, -1094730640); _Wg = _nz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 13], 4, 681279174); _Bp = _nz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 0], 11, -358537222); _v2 = _nz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 3], 16, -722521979); _xf = _nz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 6], 23, 76029189); _Wg = _nz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 9], 4, -640364487); _Bp = _nz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 12], 11, -421815835); _v2 = _nz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 15], 16, 530742520); _xf = _nz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 2], 23, -995338651); _Wg = _oz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 0], 6, -198630844); _Bp = _oz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 7], 10, 1126891415); _v2 = _oz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 14], 15, -1416354905); _xf = _oz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 5], 21, -57434055); _Wg = _oz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 12], 6, 1700485571); _Bp = _oz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 3], 10, -1894986606); _v2 = _oz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 10], 15, -1051523); _xf = _oz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 1], 21, -2054922799); _Wg = _oz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 8], 6, 1873313359); _Bp = _oz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 15], 10, -30611744); _v2 = _oz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 6], 15, -1560198380); _xf = _oz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 13], 21, 1309151649); _Wg = _oz(_Wg, _xf, _v2, _Bp, _w2[_u2 + 4], 6, -145523070); _Bp = _oz(_Bp, _Wg, _xf, _v2, _w2[_u2 + 11], 10, -1120210379); _v2 = _oz(_v2, _Bp, _Wg, _xf, _w2[_u2 + 2], 15, 718787259); _xf = _oz(_xf, _v2, _Bp, _Wg, _w2[_u2 + 9], 21, -343485551); _Wg = _pz(_Wg, _hz); _xf = _pz(_xf, _iz); _v2 = _pz(_v2, _jz); _Bp = _pz(_Bp, _kz) } return Array(_Wg, _xf, _v2, _Bp) } function _qz(_rz, _Wg, _xf, _w2, _ov, _wf) { return _pz(_sz(_pz(_pz(_Wg, _rz), _pz(_w2, _wf)), _ov), _xf) } function _lz(_Wg, _xf, _v2, _Bp, _w2, _ov, _wf) { return _qz((_xf & _v2) | ((~_xf) & _Bp), _Wg, _xf, _w2, _ov, _wf) } function _mz(_Wg, _xf, _v2, _Bp, _w2, _ov, _wf) { return _qz((_xf & _Bp) | (_v2 & (~_Bp)), _Wg, _xf, _w2, _ov, _wf) } function _nz(_Wg, _xf, _v2, _Bp, _w2, _ov, _wf) { return _qz(_xf ^ _v2 ^ _Bp, _Wg, _xf, _w2, _ov, _wf) } function _oz(_Wg, _xf, _v2, _Bp, _w2, _ov, _wf) { return _qz(_v2 ^ (_xf | (~_Bp)), _Wg, _xf, _w2, _ov, _wf) } function _pz(_w2, _x2) { var _tz = (_w2 & 0xFFFF) + (_x2 & 0xFFFF); var _uz = (_w2 >> 16) + (_x2 >> 16) + (_tz >> 16); return (_uz << 16) | (_tz & 0xFFFF) } function _sz(_vz, _wz) { return (_vz << _wz) | (_vz >>> (32 - _wz)) } function _4z(_ov) { return _8z(_xz(_az(_ov))) } function _xz(_ov) { return _yz(_zz(_Az(_ov), _ov.length * 8)) } function _Az(_ez) { var _gz = Array(_ez.length >> 2); for (var _u2 = 0; _u2 < _gz.length; _u2++) _gz[_u2] = 0; for (var _u2 = 0; _u2 < _ez.length * 8; _u2 += 8) _gz[_u2 >> 5] |= (_ez.charCodeAt(_u2 / 8) & 0xFF) << (24 - _u2 % 32); return _gz } function _yz(_ez) { var _gz = ""; for (var _u2 = 0; _u2 < _ez.length * 32; _u2 += 8) _gz += String.fromCharCode((_ez[_u2 >> 5] >>> (24 - _u2 % 32)) & 0xFF); return _gz } function _zz(_w2, _bv) { _w2[_bv >> 5] |= 0x80 << (24 - _bv % 32); _w2[((_bv + 64 >> 9) << 4) + 15] = _bv; var _y2 = Array(80); var _Wg = 1732584193; var _xf = -271733879; var _v2 = -1732584194; var _Bp = 271733878; var e = -1009589776; for (var _u2 = 0; _u2 < _w2.length; _u2 += 16) { var _hz = _Wg; var _iz = _xf; var _jz = _v2; var _kz = _Bp; var _Bz = e; for (var _Bf = 0; _Bf < 80; _Bf++) { if (_Bf < 16) _y2[_Bf] = _w2[_u2 + _Bf]; else _y2[_Bf] = _sz(_y2[_Bf - 3] ^ _y2[_Bf - 8] ^ _y2[_Bf - 14] ^ _y2[_Bf - 16], 1); var _wf = _pz(_pz(_sz(_Wg, 5), _Cz(_Bf, _xf, _v2, _Bp)), _pz(_pz(e, _y2[_Bf]), _Dz(_Bf))); e = _Bp; _Bp = _v2; _v2 = _sz(_xf, 30); _xf = _Wg; _Wg = _wf } _Wg = _pz(_Wg, _hz); _xf = _pz(_xf, _iz); _v2 = _pz(_v2, _jz); _Bp = _pz(_Bp, _kz); e = _pz(e, _Bz) } return Array(_Wg, _xf, _v2, _Bp, e) } function _Cz(_wf, _xf, _v2, _Bp) { if (_wf < 20) return (_xf & _v2) | ((~_xf) & _Bp); if (_wf < 40) return _xf ^ _v2 ^ _Bp; if (_wf < 60) return (_xf & _v2) | (_xf & _Bp) | (_v2 & _Bp); return _xf ^ _v2 ^ _Bp } function _Dz(_wf) { return (_wf < 20) ? 1518500249 : (_wf < 40) ? 1859775393 : (_wf < 60) ? -1894007588 : -899497514 } function _Ez(_me, _Fz) { for (var index = 0; index < _Fz.length; index++) { var _Gz = _Fz[index]; if (_Gz._m1 == _me) { return index } } return -1 } var _Hz = 1, _Iz = 2, _Jz = 3, _Kz = 4, _Lz = 5, _Mz = 6, _Nz = 7, _Oz = 8, _Pz = 9, _Qz = 10, _Rz = 11; var _Sz = 96; var _Tz = 96; function _Uz() { return 0 } var _Vz = _Wz; function _Wz(_uj, _fj) { _9h._Xz(); var _Yz = []; _Yz[0] = 1; _Yz[1] = 0; _Yz[2] = 0; _Yz[3] = 1; _Yz[4] = 0; _Yz[5] = 0; _9h._Zz(_Yz[0], _Yz[1], _Yz[2], _Yz[3], _Yz[4], _Yz[5]); if (!_9h.clearRect || _uj != 0 || _fj != 0) { _9h.globalAlpha = _fj; _9h.fillStyle = _8p(_gj(_uj), _fj); _9h.globalCompositeOperation = 'copy'; _9h.fillRect(__z, _0A, _1A, _2A) } else { _9h.clearRect(__z, _0A, _1A, _2A) } _9h._3A(); } function _4A(_5A, _6A, _7A) { return (~~_5A) | (_6A << 8) | (_7A << 16) } var _8A = _4A; var _9A = _9A; function _aA(_uj) { return (_uj >> 16) & 0xff } var _bA = _aA; function _cA(_uj) { return (_uj >> 8) & 0xff } var _dA = _cA; function _eA(_uj) { return (_uj & 0xff) } var _fA = _eA; function _gA(_uj) { var _hA = 0.0; var _iA = 0.0; var _jA = 0.0; var _Vf = 0.0; var _Xf = 0.0; var _kA = 0.0; var _Bp = 0.0; var _gf = 0.0; _hA = ((_uj >> 16) & 0xff) / 255.0; _iA = ((_uj >> 8) & 0xff) / 255.0; _jA = (_uj & 0xff) / 255.0; _gf = _vf(_vf(_hA, _iA), _jA); _kA = _tf(_tf(_hA, _iA), _jA); _Bp = _kA - _gf; if (_kA == 0) _Xf = 0.0; else _Xf = 1.0 * _Bp / _kA; if (_Xf == 0) _Vf = 0.0; else if (_hA == _kA) _Vf = 60.0 * (_iA - _jA) / _Bp; else if (_iA == _kA) _Vf = 120.0 + 60.0 * (_jA - _hA) / _Bp; else _Vf = 240.0 + 60.0 * (_hA - _iA) / _Bp; if (_Vf < 0) _Vf = _Vf + 360.0; var _8h = (Math.floor(_kA * 255.0) & 0xff) << 16; var _ov = (Math.floor(_Xf * 255.0) & 0xff) << 8; var _z2 = (Math.floor(_Vf * 255.0 / 360.0)) & 0xff; return (_8h | _ov | _z2); } function _lA(_uj) { return _gA(_uj) & 0xff } var _mA = _lA; function _nA(_uj) { return (_gA(_uj) >> 8) & 0xff } var _oA = _nA; function _pA(_uj) { return (_gA(_uj) >> 16) & 0xff } var _qA = _pA; function _rA(_oy, _py, _sA) { var _ry = (_oy >> 16) & 0xff; var _ty = (_oy >> 8) & 0xff; var _vy = _oy & 0xff; var _sy = (_py >> 16) & 0xff; var _uy = (_py >> 8) & 0xff; var _wy = _py & 0xff; var _tA = 1.0 - _sA; var _uf = ~~ (_ry * _tA + _sy * _sA); var _Vg = ~~ (_ty * _tA + _uy * _sA); var _xf = ~~ (_vy * _tA + _wy * _sA); return ((_uf << 16) & 0xff0000) | ((_Vg << 8) & 0xff00) | (_xf & 0xff) } var _uA = _rA; function _vA(_wA, _xA, _qy) { var _hA = 0.0; var _iA = 0.0; var _jA = 0.0; var _Vf = 0.0; var _Xf = 0.0; var _kA = 0.0; var _1w = 0.0; var _yA = 0.0; var _rz = 0.0; var _wf = 0.0; var _u2 = 0; var _zA; _Vf = _wA * 360.0 / 255.0; if (_Vf == 360.0) _Vf = 0.0; _Xf = _xA / 255.0; _kA = _qy / 255.0; if (_Xf == 0) { _hA = _kA; _iA = _kA; _jA = _kA } else { _Vf = _Vf / 60.0; _u2 = Math.floor(_Vf); _1w = _Vf - _u2; _yA = _kA * (1.0 - _Xf); _rz = _kA * (1.0 - (_Xf * _1w)); _wf = _kA * (1.0 - (_Xf * (1.0 - _1w))); switch (_u2) { case 0: { _hA = _kA; _iA = _wf; _jA = _yA } break; case 1: { _hA = _rz; _iA = _kA; _jA = _yA } break; case 2: { _hA = _yA; _iA = _kA; _jA = _wf } break; case 3: { _hA = _yA; _iA = _rz; _jA = _kA } break; case 4: { _hA = _wf; _iA = _yA; _jA = _kA } break; default: { _hA = _kA; _iA = _yA; _jA = _rz } } } _zA = Math.floor(_hA * 255.0) | (Math.floor(_iA * 255.0) << 8) | (Math.floor(_jA * 255.0) << 16); return _zA } var _AA = _vA; function _K8(_fj) { if (_fj < 0) { _fj = 0 } if (_fj > 1) { _fj = 1 } _cj = _fj; _BA = _8p(_dj, _cj) } function _CA() { return _cj } function _DA() { return _Fx } var _EA = _DA; function _J8(_ej) { _Fx = _ej; _dj = _gj(_ej); _FA = _GA(_dj); _BA = _8p(_dj, _cj) } var _HA = _J8; function _IA(_Mf, _Nf, _8f, _9f, _oy, _py, _JA) { _KA(_Mf, _9f, _8f, _9f, 10, 10, _oy, _py, _JA) } var _LA = _IA; var _KA = _MA; var _NA = _MA; function _MA(_Mf, _Nf, _8f, _9f, _OA, _PA, _oy, _py, _JA) { if (_9f < _Nf) { var _QA = _Nf; _Nf = _9f; _9f = _QA } if (_8f < _Mf) { var _QA = _Mf; _Mf = _8f; _8f = _QA } var width = _8f - _Mf; var height = _9f - _Nf; _RA = _OA; _SA = _PA; var _Dg = _9h.globalAlpha = _cj; _9h.beginPath(); _9h.moveTo(_Mf + _RA, _Nf); _9h.lineTo(_Mf + width - _RA, _Nf); _9h.quadraticCurveTo(_Mf + width, _Nf, _Mf + width, _Nf + _SA); _9h.lineTo(_Mf + width, _Nf + height - _SA); _9h.quadraticCurveTo(_Mf + width, _Nf + height, _Mf + width - _RA, _Nf + height); _9h.lineTo(_Mf + _RA, _Nf + height); _9h.quadraticCurveTo(_Mf, _Nf + height, _Mf, _Nf + height - _SA); _9h.lineTo(_Mf, _Nf + _SA); _9h.quadraticCurveTo(_Mf, _Nf, _Mf + _RA, _Nf); _9h.closePath(); if (_JA) { _9h.strokeStyle = _8p(_gj(_oy), 1.0); _9h.stroke() } else { _9h.fillStyle = _8p(_gj(_oy), 1.0); _9h.fill() } } var _Ja = _TA; function _TA(_Mf, _Nf, _8f, _9f, _JA) { _Mf = ~~_Mf; _Nf = ~~_Nf; _8f = ~~_8f; _9f = ~~_9f; _9h.globalAlpha = _cj; if (_JA) { _9h.lineWidth = 1; _9h.strokeStyle = _BA; _9h._UA(_Mf + 0.5, _Nf + 0.5, (_8f - _Mf), (_9f - _Nf)) } else { _9h.fillStyle = _BA; _9h._VA(_Mf, _Nf, _8f - _Mf + 1, _9f - _Nf + 1) } } var _WA = _XA; var _YA = _XA; function _XA(_Mf, _Nf, _8f, _9f, _oy, _py, _ZA, __A, _JA) { var _Dg = _8p(_gj(_oy), 1.0); _9h.globalAlpha = _cj; if (_JA) { _9h.lineWidth = 1; _9h.strokeStyle = _Dg; _9h._UA(_Mf + 0.5, _Nf + 0.5, (_8f - _Mf), (_9f - _Nf)) } else { _9h.fillStyle = _Dg; _9h._VA(_Mf + 0.5, _Nf + 0.5, (_8f - _Mf), (_9f - _Nf)) } } var _0B = _1B; function _1B(_Mf, _Nf, _8f, _9f, _oy, _py, _2B, _JA) { _9h.globalAlpha = _cj; _9h.lineWidth = 1; var _3B = _8p(_gj(_oy), 1.0); var _4B = _8p(_gj(_py), 1.0); var _5B; if (_2B) { _5B = _9h.createLinearGradient(_Mf, _Nf, _Mf, _9f) } else { _5B = _9h.createLinearGradient(_Mf, _Nf, _8f, _Nf) } _5B.addColorStop(0, _3B); _5B.addColorStop(1, _4B); if (_JA) { _9h.strokeStyle = _5B; _9h._UA(_Mf + 0.5, _Nf + 0.5, _8f - _Mf, _9f - _Nf) } else { _9h.fillStyle = _5B; _9h._VA(_Mf + 0.5, _Nf + 0.5, _8f - _Mf, _9f - _Nf) } } var _6B = _7B; function _7B(_ye, _ze) { _9h.globalAlpha = _cj; _9h.fillStyle = _BA; _9h._VA(_ye, _ze, 1, 1) } function _8B(_Mf, _Nf, _8f, _9f, _6n) { _9h.globalAlpha = _cj; _9h.strokeStyle = _FA; _9h.lineWidth = _6n; _9h._9B(); _9h._aB(_Mf + 0.5, _Nf + 0.5); _9h._bB(_8f + 0.5, _9f + 0.5); _9h._cB(); _9h._dB(); _9h._VA(_8f, _9f, 1, 1) } function _1h(_Mf, _Nf, _8f, _9f) { _8B(_Mf, _Nf, _8f, _9f, 1) } var _eB = _fB; var _gB = _hB; function _fB(_ye, _ze) { return _hB(_ye, _ze) & 0x00ffffff } function _hB(_ye, _ze) { var _iB = canvas.width / _jB; var _kB = canvas.height / _lB; var _Dg = _mB(canvas, _ye * _iB, _ze * _kB); return _Dg } var _nB = _oB; function _oB(_Mf, _Nf, _8f, _9f, _pB, _qB, _JA) { _Mf += 0.5; _Nf += 0.5; _8f += 0.5; _9f += 0.5; _pB += 0.5; _qB += 0.5; _9h.globalAlpha = _cj; _9h.lineWidth = 1; if (_JA) { _9h.strokeStyle = _BA; _9h._9B(); _9h._aB(_Mf, _Nf); _9h._bB(_8f, _9f); _9h._bB(_pB, _qB); _9h._bB(_Mf, _Nf); _9h._dB(); _9h._cB() } else { _9h.strokeStyle = _BA; _9h.lineJoin = "bevel"; _9h.fillStyle = _BA; _9h._9B(); _9h._aB(_Mf, _Nf); _9h._bB(_8f, _9f); _9h._bB(_pB, _qB); _9h._bB(_Mf, _Nf); _9h._rB(); _9h._dB(); _9h._cB(); _9h.lineJoin = "miter" } } var _sB = _tB; var _uB = _tB; function _tB(_Mf, _Nf, _8f, _9f, _pB, _qB, _oy, _py, _ZA, _JA) { var _3B = _GA(_gj(_oy) | 0xff000000); _Mf += 0.5; _Nf += 0.5; _8f += 0.5; _9f += 0.5; _pB += 0.5; _qB += 0.5; _9h.globalAlpha = _cj; _9h.lineWidth = 1; if (_JA) { _9h.strokeStyle = _3B; _9h._9B(); _9h._aB(_Mf, _Nf); _9h._bB(_8f, _9f); _9h._bB(_pB, _qB); _9h._bB(_Mf, _Nf); _9h._dB(); _9h._cB() } else { _9h.strokeStyle = _3B; _9h.lineJoin = "bevel"; _9h.fillStyle = _3B; _9h._9B(); _9h._aB(_Mf, _Nf); _9h._bB(_8f, _9f); _9h._bB(_pB, _qB); _9h._bB(_Mf, _Nf); _9h._rB(); _9h._dB(); _9h._cB(); _9h.lineJoin = "miter" } } var _vB = _wB; function _wB(_Mf, _Nf, _8f, _9f, _sA, _xB, _yB, _zB, _AB, _BB, _CB, _DB) { var _EB; var _FB; var _GB; var _HB; var _Dg; if (_CB) { _WA(_Mf, _Nf, _8f, _9f, _xB, _xB, _xB, _xB, !1); if (_DB) { _WA(_Mf, _Nf, _8f, _9f, _IB, _IB, _IB, _IB, !0) } } if (_sA < 0) { _sA = 0 } if (_sA > 100) { _sA = 100 } var _JB = _sA / 100; switch (_BB) { case 0: _EB = _Mf; _GB = _Nf; _FB = _Mf + _JB * (_8f - _Mf); _HB = _9f; break; case 1: _EB = _8f - _JB * (_8f - _Mf); _GB = _Nf; _FB = _8f; _HB = _9f; break; case 2: _EB = _Mf; _GB = _Nf; _FB = _8f; _HB = _Nf + _JB * (_9f - _Nf); break; case 3: _EB = _Mf; _GB = _9f - _JB * (_9f - _Nf); _FB = _8f; _HB = _9f; break; default: _EB = _Mf; _GB = _Nf; _FB = _Mf + _JB * (_8f - _Mf); _HB = _9f; break } if (_sA > 50) { _Dg = _ny(_zB, _AB, (_sA - 50.0) / 50.0); } else { _Dg = _ny(_yB, _zB, _sA / 50.0) } _WA(_EB, _GB, _FB, _HB, _Dg, _Dg, _Dg, _Dg, !1); if (_DB) { _WA(_EB, _GB, _FB, _HB, _IB, _IB, _IB, _IB, !0) } } var _KB = _LB; function _LB(_hf, _if, _jf, _kf, _k2) { var _MB = Math.sqrt(((_jf - _hf) * (_jf - _hf)) + ((_kf - _if) * (_kf - _if))); if (_MB != 0) { if (_k2 > _MB) { _k2 = _MB; } var _Cf = _k2 * (_jf - _hf) / _MB; var _Ef = _k2 * (_kf - _if) / _MB; _1h(_hf, _if, _jf, _kf); _nB(_jf - _Cf - _Ef / 3.0, _kf - _Ef + _Cf / 3.0, _jf, _kf, _jf - _Cf + _Ef / 3.0, _kf - _Ef - _Cf / 3.0, !1) } } function _NB(_Mf, _Nf, _8f, _9f, _JA) { _OB(_Mf, _Nf, _8f, _9f, _Fx, _Fx, _JA) } var _OB = _PB; var _QB = _PB; function _PB(_w2, _x2, _hf, _if, _oy, _py, _RB) { var _y2 = _hf - _w2; var _z2 = _if - _x2; var _SB = 0.5522848; _TB = (_y2 / 2) * _SB, _UB = (_z2 / 2) * _SB, _VB = _w2 + _y2, _WB = _x2 + _z2, _XB = _w2 + _y2 / 2, _YB = _x2 + _z2 / 2; _9h.beginPath(); _9h.moveTo(_w2, _YB); _9h.bezierCurveTo(_w2, _YB - _UB, _XB - _TB, _x2, _XB, _x2); _9h.bezierCurveTo(_XB + _TB, _x2, _VB, _YB - _UB, _VB, _YB); _9h.bezierCurveTo(_VB, _YB + _UB, _XB + _TB, _WB, _XB, _WB); _9h.bezierCurveTo(_XB - _TB, _WB, _w2, _YB + _UB, _w2, _YB); _9h.closePath(); var _3B = _8p(_gj(_oy), 1.0); var _4B = _8p(_gj(_py), 1.0); if (_y2 <= 0) _y2 *= -1; if (_z2 <= 0) _z2 *= -1; var _5B = _9h.createRadialGradient(_XB, _YB, 0, _XB, _YB, min(_y2 / 2, _z2 / 2)); _5B.addColorStop(0, _3B); _5B.addColorStop(1, _4B); _9h.globalAlpha = _cj; if (_RB) { _9h.lineWidth = 1; _9h.strokeStyle = _5B; _9h.stroke() } else { _9h.fillStyle = _5B; _9h.fill() } } var _ZB = __B; var _0C = __B; function __B(_ye, _ze, _1C, _oy, _py, _JA) { _9h.globalAlpha = _cj; var _3B = _8p(_gj(_oy), 1.0); var _4B = _8p(_gj(_py), 1.0); var _5B = _9h.createRadialGradient(_ye, _ze, 0, _ye, _ze, _1C); _5B.addColorStop(0, _3B); _5B.addColorStop(1, _4B); _9h._9B(); if (_JA) { _9h.lineWidth = 1; _9h.strokeStyle = _5B; _9h._2C(_ye, _ze, _1C, 0, Math.PI * 2, !0); _9h._dB() } else { _9h.fillStyle = _5B; _9h._2C(_ye, _ze, _1C, 0, Math.PI * 2, !1); _9h._rB() } _9h._cB() } var _3C = _4C; var _5C = _4C; function _4C(_ye, _ze, _uj) { var _3B = _8p(_gj(_uj), 1.0); _9h.globalAlpha = _cj; _9h.fillStyle = _3B; _9h._VA(_ye, _ze, 1, 1) } var _6C = _7C; var _8C = _7C; function _7C(_Mf, _Nf, _8f, _9f, _6n, _oy, _py) { _9h.globalAlpha = _cj; var _3B = _8p(_gj(_oy), 1.0); var _4B = _8p(_gj(_py), 1.0); var _5B = _9h.createLinearGradient(_Mf, _Nf, _8f, _9f); _5B.addColorStop(0, _3B); _5B.addColorStop(1, _4B); _9h.strokeStyle = _5B; _9h._9B(); _9h._aB(_Mf + 0.5, _Nf + 0.5); _9h._bB(_8f + 0.5, _9f + 0.5); _9h.lineWidth = _6n; _9h._dB(); _9h._cB() } function _9C(_Mf, _Nf, _8f, _9f, _oy, _py) { _6C(_Mf, _Nf, _8f, _9f, 1, _oy, _py) } var _aC = _9C; function _bC(_w2, _x2, _hf, _if, _3B, _4B, _RB) { _OB(_w2, _x2, _hf, _if, _3B, _4B, _RB) } function _cC(_dC) { switch (_dC) { case 1: _eC(_Lz, _Iz); break; case 2: _eC(_Lz, _Kz); break; case 3: _eC(_Hz, _Kz); break; default: _eC(_Lz, _Mz); break } } var _eC = _fC; function _fC(src, _gC) { __h("Blend modes only available in WebGL mode.") } function _hC(_iC, _jC) { if ((_iC.status < 200) || (_iC.status >= 300)) { _jC._Gv = _kC; _jC._lC = "" } else { _jC._Gv = _mC; try { _jC._lC = _iC.responseText } catch (e) { _jC._lC = "" } } } function _nC(_iC, _oC) { if (_iC.readyState != 4) return; var _5x = _Dv(_iC); if (_5x) { _5x._pC = _iC.status; _5x._Fv = !0; _5x._qC = _86(); var _rC = _iC.getAllResponseHeaders().split("\r\n"); for (var _df in _rC) { if (!_rC.hasOwnProperty(_df)) continue; var _sC = _rC[_df].split(": "); if (_sC.length == 2) { _96(_5x._qC, _sC[0], _sC[1]) } } if (_oC) { _oC(_iC, _5x) } } } function _tC(_uC) { var _vC = {}; _Nv._yn(_wC, _uC, _xC, _vC); setTimeout(function() { var _5x = _Dv(_vC); if (_5x) { _5x._pC = 404; _5x._Fv = !0; _5x._Gv = _kC; _5x._lC = "" } }, 500); return _wC++ } function _yC(_Pj, _uC, _zC, _AC, _oC, _BC) { try { var _CC = _DC(_uC, _zC); _Nv._yn(_wC, _uC, _xC, _CC._EC); if (_BC !== undefined) { _CC._EC.responseType = _BC } if (_CC._FC) { _GC(_Pj, _uC, _zC, _AC, _CC._EC, _CC._HC, _oC) } else { _IC(_Pj, _uC, _zC, _AC, _CC._EC, _oC) } } catch (e) { return _tC(_uC) } return _wC++ } function _DC(_uC, _zC) { var _CC = { _EC: null, _HC: !0, _FC: !1 }; if ((_uC.substring(0, 7) != "http://") && (_uC.substring(0, 8) != "https://")) { _CC._HC = !1; } else { var _JC = ""; if (_uC.substring(0, 7) == "http://") { _JC = _uC.substring(7) } if (_uC.substring(0, 8) == "https://") { _JC = _uC.substring(8) } if (_JC.substring(0, document.domain.length) == document.domain) { _CC._HC = !1 } } if ((_CC._HC) && (window.XDomainRequest)) { _CC._EC = new XDomainRequest(); _CC._HC = !0; _CC._FC = !0 } else { if (window.XMLHttpRequest) { _CC._EC = new XMLHttpRequest(); _CC._HC = !1; _CC._FC = (_KC == _LC) && (_MC._NC <= 9.0) } else if (window.ActiveXObject) { if (new ActiveXObject("Microsoft.XMLHTTP")) { _CC._EC = new ActiveXObject("Microsoft.XMLHTTP"); } else { _CC._EC = new ActiveXObject("Msxml2.XMLHTTP") } } } return _CC } function _IC(_Pj, _uC, _zC, _AC, _iC, _oC) { try { _iC.open(_Pj, _uC, !0); if (_zC !== null) { for (var _sC in _zC) { if (!_zC.hasOwnProperty(_sC)) continue; try { _iC.setRequestHeader(_zC[_sC]._OC, _zC[_sC].value) } catch (e) { debug("Unable to set request header " + _zC[_sC]._OC + ":" + _zC[_sC].value + " " + e.message) } } } else if (_Pj == "POST") { _iC.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") } _iC.onreadystatechange = function() { _nC(_iC, _oC) }; _iC.send(_AC); } catch (e) { debug(e.message) } } function _GC(_Pj, _uC, _zC, _AC, _iC, _PC, _oC) { _iC.open(_Pj, _uC); _iC.ontimeout = function(_vw) { _QC(_vw, _iC) }; _iC.onerror = function(_vw) { _QC(_vw, _iC) }; if (_PC) { _iC.onload = function(_vw) { _RC(_vw, _iC, 200) } } else { _iC.onload = function(_vw) {}; _iC.onreadystatechange = function() { if (_iC.readyState == 4) { _RC(null, _iC, _iC.status) } } } if (_zC !== null) { for (var _sC in _zC) { if (!_zC.hasOwnProperty(_sC)) continue; try { _iC.setRequestHeader(_zC[_sC]._OC, _zC[_sC].value) } catch (e) { debug("Unable to set request header " + _zC[_sC]._OC + ":" + _zC[_sC].value + " " + e.message); } } } _iC._SC = function() {}; _iC.send(_AC) } function _RC(_vw, _iC, _TC) { var _5x = _Dv(_iC); if (_5x) { _5x._Fv = !0; if ((_TC >= 200) && (_TC < 300)) { _5x._Gv = _mC; _5x._pC = _TC } else { _5x._Gv = _kC; _5x._pC = 404 } _5x._lC = _iC.responseText; _5x._qC = -1 } } function _QC(_vw, _iC) { var _5x = _Dv(_iC); if (_5x) { _5x._Fv = !0; _5x._Gv = _kC; _5x._lC = ""; _5x._pC = 404; _5x._qC = -1 } } function _ya(_uC) { return _yC("GET", _uC, null, "", _hC) } function _UC(_uC, _VC) { var _WC = function(_iC, _jC) { if (_iC.response) { try { var _XC = String.fromCharCode.apply(null, new Uint8Array(_iC.response)); _7x(_VC, _XC); _jC._Gv = _mC; _jC._lC = _VC } catch (e) { debug(e.message); _jC._Gv = _kC } } else { _jC._Gv = _kC } }; return _yC("GET", _uC, null, "", _WC, 'arraybuffer') }; var _YC = -1, _ZC = 0, __C = 1, _0D = 2, _1D = 3, _2D = 4; var _3D = -3, _4D = -2, _5D = -1, _6D = 0, _7D = 1, _8D = 2; var _9D = -2, _aD = -1, _bD = 0, _cD = 1, _dD = 2, _eD = 3; var _fD = 0, _gD = 1, _hD = 2, _iD = 3, _jD = 4; var _kD = -1, _lD = 0; var _mD = []; var _nD = []; var _oD = []; var _pD = []; var _qD = _9D; function _rD() { _sD({ type: _fD, status: _kD }) }; function _tD() { _sD({ type: _jD, _Ev: 0 }) }; function _uD() { return -1 } function _vD() { return 0 } function _wD() { return 0 }; function _xD(_qx) { this._yD = ""; this.title = ""; this.description = ""; this._zD = ""; this.type = ""; this._AD = _4D; this._BD = !1; if ((_qx != null) && (_qx != undefined)) { var id = _o6(_qx, "id"); var title = _o6(_qx, "title"); var description = _o6(_qx, "description"); var _zD = _o6(_qx, "price"); var type = _o6(_qx, "type"); if (id) { this._yD = id } if (title) { this.title = title } if (description) { this.description = description } if (_zD) { this._zD = _zD } if (type) { this.type = type } } }; function _CD() { this._DD = ""; this._yD = ""; this._ED = ""; this._FD = ""; this._GD = ""; this._HD = 0; this._ID = 0; this._AD = _4D }; function _JD(_KD) { switch (_KD.type) { case _ZC: { _qD = _bD; _rD(_mD) } break; case __C: { _qD = _eD; _tD() } break; case _0D: { _qD = _dD; _uD(_KD.product, _KD._LD) } break; case _1D: { _qD = _dD; _vD(_KD.product) } break; case _2D: { _qD = _dD; _wD(_KD.product) } break; default: { _qD = _cD } break } } function _sD(_vw) { _oD.push(_vw) } function _MD(_vw) { _vw.map = _86(); _96(_vw.map, "type", _fD); _96(_vw.map, "status", _vw.status) } function _ND(_vw) { _vw.map = _86(); _96(_vw.map, "type", _jD); _96(_vw.map, "result", _vw._Ev) } function _OD(_vw) { var product = null; var _PD = -1; var _QD = JSON.parse(_vw._RD); _PD = _SD(_QD["productId"]); if (_PD < 0) { product = new _xD(); product._yD = _QD["productId"]; _mD.push(product); _PD = _mD.length - 1 } else { product = _mD[_PD] } product._BD = !0; product._AD = _5D; if (_QD["title"]) { product.title = _QD["title"] } if (_QD["price"]) { product._zD = _QD["price"] } if (_QD["type"]) {} if (_QD["description"]) { product.description = _QD["description"] } if (_QD["price_currency_code"]) {} _vw.map = _86(); _96(_vw.map, "type", _gD); _96(_vw.map, "product", product._yD); _96(_vw.map, "index", _PD) } function _TD(_vw) { var _QD = JSON.parse(_vw._RD); var _LD = -1; if ((_QD["purchaseIndex"] != null) && (_QD["purchaseIndex"] != undefined)) { _LD = _QD["purchaseIndex"] } var _UD = null; if (_LD != -1) { _UD = _nD[_LD] } else { _UD = new _CD(); _nD.push(_UD); _LD = _nD.length - 1 } if (_QD["orderId"]) { _UD._DD = _QD["orderId"] } if (_QD["productId"]) { _UD._yD = _QD["productId"] } if (_QD["purchaseTime"]) { _UD._ID = _QD["purchaseTime"] } if ((_QD["purchaseState"] != null) && (_QD["purchaseState"] != undefined)) { _UD._AD = _QD["purchaseState"] } if (_QD["purchaseToken"]) { _UD._FD = _QD["purchaseToken"] } if (_QD["response"]) { _UD._HD = _QD["response"] } if (_QD["receipt"]) { _UD._ED = _QD["receipt"] } _vw.map = _86(); _96(_vw.map, "type", _hD); _96(_vw.map, "index", _LD); _96(_vw.map, "response", _UD._HD) } function _VD(_vw) { var _QD = JSON.parse(_vw._RD); var _WD = null; var _FD = null; var _XD = 0.0; if (_QD["productId"]) { _WD = _QD["productId"] } if (_QD["token"]) { _FD = _QD["token"] } if (_QD["consumed"]) { if (typeof(_QD["consumed"]) == "string") { _XD = (_QD["consumed"] == "false") ? 0.0 : 1.0 } else { _XD = _QD["consumed"] } } if ((_WD != null) && (_XD == !0)) { for (var _df = 0; _df < _nD.length; _df++) { var _UD = _nD[_df]; if ((_UD._WD == _WD) && (_UD._FD == _FD)) { _nD[_df] = null } } } _vw.map = _86(); _96(_vw.map, "type", _iD); _96(_vw.map, "product", _WD); _96(_vw.map, "consumed", _XD ? 1.0 : 0.0) } function _YD(_vw) { var _ZD = !1; if ((_vw.type != null) && (_vw.type != undefined)) { switch (_vw.type) { case _fD: { _MD(_vw); if (_vw.status == _lD) { _qD = _cD; _ZD = !0 } else { _qD = _aD } } break; case _gD: { _OD(_vw); if (_qD != _bD) { _qD = _cD; _ZD = !0 } } break; case _hD: { _TD(_vw); if ((_qD != _bD) && (_qD != _eD)) { _qD = _cD; _ZD = !0 } } break; case _iD: { _VD(_vw); _qD = _cD; _ZD = !0 } break; case _jD: { _ND(_vw); _qD = _cD; _ZD = !0 } break } } if (_ZD && (_pD.length != 0)) { var __D = _pD.shift(); _JD(__D) } } function _0E() { while (_oD.length > 0) { var _1E = _oD.shift(); _YD(_1E); _O7._2E = _1E.map; _3E._Se(_4E, 0); _Pn(_1E.map) } } function _SD(_5E) { var _6E = -1; if (typeof(_5E) == "string") { for (var _df = 0; _df < _mD.length; _df++) { var product = _mD[_df]; if (product._yD.toLowerCase() == _5E.toLowerCase()) { _6E = _df; break } } } else { _6E = ~~_5E } return _6E } var _7E = null; function _27(_8E) { if (_7E) { _77() } var _9E = null; if (_aE) { _9E = _bE(_8E, !0) } if (_9E == null) { _9E = _bE(_8E, !1) } if (_9E == null) { _9E = new _cE(_8E) } _7E = _9E } function _77() { if (!_7E) return; var _fy = _7E._dE(); _7E = null; return _fy } function _Sd(_eE, _Vn, _fE) { if (!_7E) return _fE; return _7E._gE(_eE, _Vn, _fE) } function _37(_eE, _Vn, _qy) { if (!_7E) return !1; _7E._hE(_eE, _Vn, "" + _ad(_qy)); return !0 } function _t6(_Ln) { var _Wn = _26(_Ln); if (_Wn != null && _Wn.length > 0) { for (var _iE = 0; _iE < _Wn.length; _iE++) { _jE = _Wn[_iE]; if (!_jE._kE && _jE._lE) return !0 } } return !1 } function _1b(_Ln) { var _mE = _26(_Ln); if (_mE == null) return 0; var _fg = 0; for (var _u2 = 0; _u2 < _mE.length; _u2++) { if (!_mE[_u2]._kE) _fg++ } return _fg } function _e8(_to, _ye, _ze, _Ln) { var _nE = 10000000000; var _u2 = _oE; var _pE = _qE(null, Math.floor(_Ln), !1, _oE, _ye, _ze, function(_rE) { var _Cf = _ye - _rE._w2; var _Ef = _ze - _rE._x2; var _Bp = Math.sqrt(_Cf * _Cf + _Ef * _Ef); if (_Bp < _nE) { _u2 = _rE.id; _nE = _Bp } }); return _u2 } function _j7(_Ay, _ye, _ze, _Ln) { var _Cf = _Ay._w2; var _Ef = _Ay._x2; _Ay._5k(_ye, _ze); var id = _sE(null, Math.floor(_Ln), !1, _oE, _ye, _ze, function(_rE) { if (_rE._tE(_Ay, !0)) { return _rE.id } else { return _oE } }); _Ay._5k(_Cf, _Ef); return id } function _p6(_ye, _ze, _Ln) { var _kx = _cy._hn(_Ln); if (!_kx) { _ym("Error: Trying to create an instance using non-existent object type (" + _Ln + ")"); return _oE } var _jE = _ke._uE(_ye, _ze, _Ln); _jE._Se(_vE, 0, _jE, _jE); return _jE.id } function _T6(_Ay) { _Ay._Se(_wE, 0, _Ay, _Ay); _Ay._kE = !0 } function _xE(_to, _ye, _ze) { var bottom, top; var _yE = []; var _zE = _ke._AE; for (var _u2 = 0; _u2 < _zE._Hn.length; _u2++) { var _jE = _zE._Hn[_u2]; if (_jE._BE) _jE._CE(); var _DE = _jE._DE; if (!((_ye > _DE._1f) || (_ye < _DE.left) || (_ze > _DE.bottom) || (_ze < _DE.top))) { _yE[_yE.length] = _jE } } var _zE = _ke._AE; for (var _u2 = 0; _u2 < _yE.length; _u2++) { _T6(_yE[_u2]) } } function _EE(_to, _FE, _GE) { if (_GE) _to._Se(_wE, 0, _to, _to); _to._HE(_FE, !0, !1); _to._IE(_to._JE._KE); _to._LE(_ke); if (_GE) _to._Se(_vE, 0, _to, _to) } function _ME(_to, _FE, _GE) { if (!_cy._NE(_FE)) { debug("Error: Trying to change an instance to an nonexistent object type."); return } _EE(_to, _FE, _GE) } var _OE = _ME; function _PE(_Ln, _QE) { if (_Ln._RE >= 0) { var _SE = _cy._hn(_Ln._RE); if (_SE) { if (_SE._TE == _QE) { return !0 } else { return _PE(_SE, _QE) } } } return !1 }; function _UE(_Vn) { if (_VE[_Vn]) { return } _VE[_Vn] = 1; _WE[_Vn] = 1; _XE = _Vn } function _YE(_Vn) { _ZE[_Vn] = 1; _VE[_Vn] = 0 } function __E(_0F) { with(_Pm) { switch (_0F) { case 0: if (__k[0] || __k[1] || __k[2]) return 0; else return 1; case 1: if (__k[0]) return 1; else return 0; case 2: if (__k[1]) return 1; else return 0; case 3: if (__k[2]) return 1; else return 0; case -1: if (__k[0] || __k[1] || __k[2]) return 1; else return 0 } } return 0 } function _1F(_0F) { with(_Pm) { switch (_0F) { case 0: if (_Vk[0] || _Vk[1] || _Vk[2]) return 0; else return 1; case 1: if (_Vk[0]) return 1; else return 0; case 2: if (_Vk[1]) return 1; else return 0; case 3: if (_Vk[2]) return 1; else return 0; case -1: if (_Vk[0] || _Vk[1] || _Vk[2]) return 1; else return 0 } } return 0 } function _2F(_0F) { with(_Pm) { switch (_0F) { case 0: if (_Zk[0] || _Zk[1] || _Zk[2]) return 0; else return 1; case 1: if (_Zk[0]) return 1; else return 0; case 2: if (_Zk[1]) return 1; else return 0; case 3: if (_Zk[2]) return 1; else return 0; case -1: if (_Zk[0] || _Zk[1] || _Zk[2]) return 1; else return 0 } return 0 } } var _3F = 0x7fff; var floor = Math.floor; function _4F(_5F) { var _u2 = _5F & 0xffffffff; var _1w = _5F - _u2; if ((_u2 & 1) == 1) { if (_1w >= 0.5) { return _u2 + 1 } else { return _u2 } } else { if (_1w <= 0.5) { return _u2 } else { return _u2 + 1 } } } var round = _4F; var _sn = _4F; var abs = Math.abs; function cos(_5F) { var _ye = Math.cos(_5F); var _wf = ~~ (_ye * 0x1000000); _ye = _wf / 0x1000000; return _ye } function sin(_5F) { var _ye = Math.sin(_5F); var _wf = ~~ (_ye * 0x1000000); _ye = _wf / 0x1000000; return _ye } function tan(_5F) { var _ye = Math.tan(_5F); var _wf = ~~ (_ye * 0x1000000); _ye = _wf / 0x1000000; return _ye } function _P8(_6F, _7F) { var _8h = (_6F * Math.cos(_7F * _zf / 180.0)); var _8F = Math.round(_8h); var _9F = _8h - _8F; if (Math.abs(_9F) < 0.0001) return _8F; return _8h } function _Q8(_6F, _7F) { var _8h = -(_6F * Math.sin(_7F * _zf / 180.0)); var _8F = Math.round(_8h); var _9F = _8h - _8F; if (Math.abs(_9F) < 0.0001) return _8F; return _8h } function _G9(_Mf, _Nf, _8f, _9f) { var _w2 = _8f - _Mf; var _x2 = _9f - _Nf; if (_w2 === 0) { if (_x2 > 0) return 270.0; else if (_x2 < 0) return 90.0; else return 0.0 } else { var _MB = 180.0 * Math.atan2(_x2, _w2) / _zf; _MB = (~~round(_MB * 1000000)) / 1000000.0; if (_MB <= 0.0) { return -_MB } else { return (360.0 - _MB) } } return _zA } function _aF(_Mf, _Nf, _8f, _9f) { return _G9(_Mf, _Nf, _8f, _9f) } function _28(_Mf, _Nf, _8f, _9f) { var _zh = _8f - _Mf; var _Ah = _9f - _Nf; return Math.sqrt(_zh * _zh + _Ah * _Ah) } function _vf(_5F, _bF) { if (_5F < _bF) return _5F; else return _bF } function _tf(_5F, _bF) { if (_5F > _bF) return _5F; else return _bF } var max = Math.max; var min = Math.min; var _cF = []; var index = 0; var _dF = _eF(0); function _eF(_fF) { var _ov = _fF; for (_u2 = 0; _u2 < 16; _u2++) { _ov = (((_ov * 214013 + 2531011) >> 16) & _3F) | 0; _cF[_u2] = ~~_ov } index = 0; _dF = _fF; return _dF } function _gF() { var _Wg, _xf, _v2, _Bp; _Wg = _cF[index]; _v2 = _cF[(index + 13) & 15]; _xf = _Wg ^ _v2 ^ (_Wg << 16) ^ (_v2 << 15); _v2 = _cF[(index + 9) & 15]; _v2 ^= (_v2 >> 11); _Wg = _cF[index] = _xf ^ _v2; _Bp = _Wg ^ ((_Wg << 5) & 0xDA442D20); index = (index + 15) & 15; _Wg = _cF[index]; _cF[index] = _Wg ^ _xf ^ _Bp ^ (_Wg << 2) ^ (_xf << 18) ^ (_v2 << 28); return ((_cF[index] & 0x7fffffff) / 2147483647.0) } function random(_ij) { var _uf = _gF(); return _uf * _ij } function _qa() { var _Bp = new Date(); var _wf = _Bp.getMilliseconds(); _wf = (_wf & 0xffffffff) ^ ((_wf >> 16) & 0xffff) ^ ((_wf << 16) & 0xffff0000); _eF(_wf) } function _S9() { var _Cn = _S9.arguments; var _Dn = _S9.arguments.length; var index = Math.floor(random(_Dn)); return _Cn[index] } function _e7(_ye) { if (_ye == 0) return 0; if (_ye < 0) return -1; return 1 } var ceil = Math.ceil; function _9F(_ye) { return _ye - ~~_ye } function sqrt(_ye) { if (_ye >= 0) return Math.sqrt(_ye); else _ym("Cannot apply sqrt to negative number.") } function _Wf(_ye) { return _ye * _ye } var _hF = Math.pow; var exp = Math.exp; var _iF = Math.log; var _jF = Math.asin; var _kF = Math.acos; var _lF = Math.atan; var _mF = Math.atan2; function _nF() { var _Cn = _nF.arguments; var _Dn = _nF.arguments.length; var _gf = _Cn[0]; for (var _u2 = 1; _u2 < _Dn; _u2++) { _gf += _Cn[_u2] } return (_gf / _Dn) } function _oF() { var arguments = _oF.arguments; if (arguments.length == 0) { return 0 } var _u2, _Bf, _Ev; for (_u2 = 0; _u2 < arguments.length; _u2++) { var _pF = 0; var _qF = 0; for (_Bf = 0; _Bf < arguments.length; _Bf++) { if (arguments[_Bf] < arguments[_u2]) { _pF = _pF + 1 } if (arguments[_Bf] <= arguments[_u2]) { _qF = _qF + 1 } } if ((_pF < (arguments.length / 2)) && (_qF >= (arguments.length / 2))) { return arguments[_u2] } } debug("Error: was not able to successfully find the median value"); return 0 } var _rF = 30, _sF = 10, _tF = 3, _uF = !0; function _vF(_wF, _xF) { var _zA = 0.0; while (_wF <= 0.0) { _wF = _wF + 360 } while (_wF >= 360.0) { _wF = _wF - 360 } while (_xF < 0.0) { _xF = _xF + 360 } while (_xF >= 360.) { _xF = _xF - 360 } _zA = _xF - _wF; if (_zA < 0) { _zA = -_zA } if (_zA > 180) { _zA = 360 - _zA } return _zA } function _yF(_Ay, _ye, _ze, _zF, _AF) { if (_zF == _BF) { if (_AF) { return _CF(_Ay, _ye, _ze) } else { return _DF(_Ay, _ye, _ze) } } else { return (_j7(_Ay, _ye, _ze, _zF) == _oE) } } function _EF(_Ay, _ye, _ze, _FF, _zF, _AF) { var _zA = !1; var _nE = 0.0; var _GF = 0.0; var _HF = 0.0; if ((_Ay._w2 == _ye) && (_Ay._x2 == _ze)) return !0; _nE = sqrt(_st(_Ay._w2 - _ye) + _st(_Ay._x2 - _ze)); if (_nE <= _FF) { _GF = _ye; _HF = _ze; _zA = !0 } else { _GF = _Ay._w2 + _FF * (_ye - _Ay._w2) / _nE; _HF = _Ay._x2 + _FF * (_ze - _Ay._x2) / _nE; _zA = !1 } if (!_yF(_Ay, _GF, _HF, _zF, _AF)) { return _zA } _Ay._F9(_G9(_Ay._w2, _Ay._x2, _GF, _HF)); _Ay._5k(_GF, _HF); return _zA } function _IF(_Ay, _ye, _ze, _FF, _AF) { return _EF(_Ay, _ye, _ze, _FF, _BF, _AF) } function _JF(_7F, _Ay, _KF, _zF, _AF) { var _zA = !1; var _LF = 0.0; var _MF = 0.0; if (_vF(_7F, _Ay._H9) > _rF) { return _zA } _LF = _Ay._w2 + _KF * _tF * cos(_zf * _7F / 180); _MF = _Ay._x2 - _KF * _tF * sin(_zf * _7F / 180); if (!0 != _yF(_Ay, _LF, _MF, _zF, _AF)) { return _zA } _LF = _Ay._w2 + _KF * cos(_zf * _7F / 180); _MF = _Ay._x2 - _KF * sin(_zf * _7F / 180); if (!0 != _yF(_Ay, _LF, _MF, _zF, _AF)) { return _zA } _Ay._F9(_7F); _Ay._5k(_LF, _MF); _zA = !0; return _zA } function _NF(_Ay, _ye, _ze, _FF, _FE, _AF) { var _zA = !1; var _nE = 0.0; var _OF = 0.0; var _PF = 0.0; if ((_Ay._w2 == _ye) && (_Ay._x2 == _ze)) { _zA = !0; return _zA } _nE = sqrt(_st(_Ay._w2 - _ye) + _st(_Ay._x2 - _ze)); if (_nE <= _FF) { if (_yF(_Ay, _ye, _ze, _FE, _AF)) { _Ay._F9(_aF(_Ay._w2, _Ay._x2, _ye, _ze)); _Ay._5k(_ye, _ze) } _zA = !0; return _zA } _OF = _aF(_Ay._w2, _Ay._x2, _ye, _ze); _PF = 0; _zA = !1; while (_PF < 180) { if (_JF(_OF - _PF, _Ay, _FF, _FE, _AF)) { return _zA } if (_JF(_OF + _PF, _Ay, _FF, _FE, _AF)) { return _zA } _PF = _PF + _sF } if (_uF) { _Ay._F9(_Ay._H9 + _rF) } return _zA } function _QF(_Ay, _ye, _ze, _FF, _AF) { return _NF(_Ay, _ye, _ze, _FF, _BF, _AF) } function _RF(_SF, _TF, _UF, _VF, _WF, _XF) { this._YF = _SF; this._ZF = _TF; this.__F = ~~_UF; this._0G = ~~_VF; this._1G = _WF; this._2G = _XF; this._3G = []; this._am() }; _RF.prototype._am = function() { var _4G = this.__F * this._0G; for (var _u2 = 0; _u2 < _4G; _u2++) { this._3G[_u2] = 0 } }; var _5G = _6G; function _6G(_dn) { var _7G = _8G._hn(_dn); if (_7G) { _9h.globalAlpha = _cj; var _Mp = _8p(0xff0000, 1.0); var _Np = _8p(0x00ff00, 1.0); for (var _w2 = 0; _w2 < _7G.__F; _w2++) { for (var _x2 = 0; _x2 < _7G._0G; _x2++) { var _Dg = _Np; if (_7G._3G[_w2 * _7G._0G + _x2] < 0) { _Dg = _Mp } _9h.fillStyle = _Dg; _9h._VA((_7G._YF + _w2 * _7G._1G), (_7G._ZF + _x2 * _7G._2G), _7G._1G, _7G._2G) } } return } _ym("Error: invalid mp_grid ID (mp_grid_draw)") } function _DF(_Ay, _ye, _ze) { var _Cf, _Ef, _zA, _9G; _zA = !0; _Cf = _Ay._w2; _Ef = _Ay._x2; _Ay._5k(_ye, _ze); var _Hn = _ke._aG(); for (var _iE = 0; _iE < _Hn.length; _iE++) { _9G = _Hn[_iE]; if (_9G._bG) { if (_Ay._tE(_9G, !0)) { _zA = !1; break } } } _Ay._5k(_Cf, _Ef); return _zA } function _CF(_Ay, _ye, _ze) { var _Cf, _Ef, _zA, _9G; _zA = !0; _Cf = _Ay._w2; _Ef = _Ay._x2; _Ay._5k(_ye, _ze); var _Hn = _ke._aG(); for (var _iE = 0; _iE < _Hn.length; _iE++) { _9G = _Hn[_iE]; if (_Ay._tE(_9G, !0)) { _zA = !1; break } } _Ay._5k(_Cf, _Ef); return _zA } function _h7(_Ay, _ye, _ze, _Ln) { var _Cf, _Ef, _zA, _9G; _zA = !1; _Cf = _Ay._w2; _Ef = _Ay._x2; _Ay._5k(_ye, _ze); var _Hn = _26(_Ln); for (var _iE = 0; _iE < _Hn.length; _iE++) { _9G = _Hn[_iE]; if (_Ay._tE(_9G, !0)) { _zA = !0; break } } _Ay._5k(_Cf, _Ef); return _zA } function _cG(_Ay, _ye, _ze, _KF) { _Ay._I7(_ye - _Ay._w2); _Ay._K7(_ze - _Ay._x2); _Ay._Qc(_KF) } function _dG(_Ay, _ye, _ze, _eG) { if (_eG) { return _CF(_Ay, _ye, _ze) } else { return _DF(_Ay, _ye, _ze) } } function _fG(_to, _ye, _ze, _eG) { if (_eG) return _CF(_to, _ye, _ze); else return _DF(_to, _ye, _ze) } function _gG(_xe) { if (!_cy._hn(_xe)) return !1; return !0 } var _hG = _Ho; var _iG = _jG; var _kG = _lG; var _mG = _nG; var _oG = _pG; var _qG = _rG; var _sG = _tG; var _uG = _vG; var _wG = _xG; var _yG = _zG; var _AG = _BG; var _CG = _DG; var _EG = _FG; var _GG = _FG; var _HG = _IG; var _JG = _KG; var _LG = _Io; var _MG = _NG; var _OG = _PG; var _QG = _RG; var _SG = _TG; var _UG = _VG; var _WG = _XG; var _YG = _ZG; var __G = _0H; var _1H = _2H; var _3H = _2H; var _4H = _Lo; var _5H = _Lo; var _6H = _7H; var _8H = _7H; var _9H = _7H; var _aH = _7H; var _bH = _Ko; var _cH = _Ko; var _dH = _eH; var _fH = _eH; var _gH = _hH; var _iH = _hH; var _jH = _kH; var _lH = _Mo; var _mH = _nH; var _oH = _pH; var _qH = _rH; var _sH = _tH; var _uH = _vH; var _wH = _xH; var _yH = _zH; var _AH = _BH; var _CH = _DH; var _EH = _FH; var _GH = _HH; var _IH = _JH; var _KH = _LH; var _MH = _NH; var _OH = _PH; var _QH = _RH; function _SH(_to) { _to._TH(-1, 0, 1, 0, !1, 0) } var _UH = _VH; function _VH(_dn, _WH, _XH, _YH) { var _ZH = __H._A1[_dn]; if (!_ZH) return; _9h.globalAlpha = _cj; _9h.strokeStyle = _BA; var _Cf, _Ef, _zw; var _0I = 0; var _1I = _ZH._2I(0); if (!_YH) { _WH = _WH - _1I._w2; _XH = _XH - _1I._x2 } else { _WH = 0; _XH = 0 } _0I = _sn(_ZH.length / 4.0); if (_0I == 0) return; var _m2 = !0; _9h._9B(); for (var _u2 = 0; _u2 <= _0I; _u2++) { _1I = _ZH._2I(_u2 / _0I); if (_m2) { _9h._aB(_WH + _1I._w2, _XH + _1I._x2); _m2 = !1 } else { _9h._bB(_WH + _1I._w2, _XH + _1I._x2) } } _9h._dB(); _9h._cB() } var _3I = new _4I(); var _5I = new _4I(); var _6I = new _4I(); function _7I() { var _8I = _3I._yn(new _9I(_8I)); return _8I } function _aI(_bI) { var _cI = _3I._hn(_bI); _cI._dI() } function _eI(_bI, _fI) { var _cI = _3I._hn(_bI); _cI._gI(_fI) } function _hI(_bI, _iI) { var _cI = _3I._hn(_bI); _cI._jI(_iI) } function _kI(_bI, _lI) { var _cI = _3I._hn(_bI); _cI._mI(_lI) } function _nI(_bI, _oI) { var _cI = _3I._hn(_bI); _cI._pI(_oI) } function _qI(_bI, _rI) { var _cI = _3I._hn(_bI); _cI._sI((_rI > 0.5) ? !0 : !1) } function _tI(_bI, _uI) { var _cI = _3I._hn(_bI); _cI._vI(_uI) } function _wI(_bI, _uI) { var _cI = _3I._hn(_bI); _cI._xI(_uI) } function _yI(_bI, _zI) { var _cI = _3I._hn(_bI); _cI._AI(_zI) } function _BI(_bI, _CI) { var _cI = _3I._hn(_bI); _cI._DI(_CI * _ke._EI._FI) } function _GI(_bI) { var _cI = _3I._hn(_bI); _cI._HI() } function _II(_bI, _JI, _KI) { var _cI = _3I._hn(_bI); var scale = _ke._EI._FI; _cI._LI(_JI * scale, _KI * scale) } function _MI(_to, _bI, _dn, _NI, _OI) { var _PI = -1; var _cI = _3I._hn(_bI); var _Ln = Math.floor(_dn); if (_Ln == _QI) { _Ln = _to.id } if (_Ln == _BF) { var _Hn = _3E._aG(); for (var _iE = 0; _iE < _Hn.length; _iE++) { var _jE = _Hn[_iE]; if (_jE._RI) continue; _PI = _ke._EI._SI(_cI, _jE, _NI, _OI) } } else if (_Ln < 100000) { var _Wn = _cy._hn(_Ln); if (_Wn === null) { return _TI } var _Hn = _Wn._UI(); for (var _iE = 0; _iE < _Hn.length; _iE++) { var _jE = _Hn[_iE]; if (_jE._RI) continue; _PI = _ke._EI._SI(_cI, _jE, _NI, _OI) } } else { var _jE = _3E._hn(_Ln); _PI = _ke._EI._SI(_cI, _jE, _NI, _OI) } return _PI } function _VI(_to, _bI, _dn, _WI, _XI) { if (_WI !== undefined && _XI !== undefined) { return _MI(_to, _bI, _dn, _WI, _XI) } else { return _MI(_to, _bI, _dn, 0.0, 0.0) } } function _YI(_xe, _ej, _ZI) { var __I = _0J._hn(_xe); if (__I === null) return; var _1J = __I._2J; _1J._w4 = _ej; _1J._3J = _ZI } var _4J = _YI; function _za() { if ((_ke._5J + 1) >= _0J._6J.length) return; _7J = _0J._8J(_ke._5J + 1).id } function _ia(_9J) { var _aJ = _0J._hn(_9J); if ((_aJ == null) || (_aJ == undefined)) { _dv("Error: Room " + _9J + " is not a valid room index") } else { _7J = _9J } } function _bJ() { _ia(_cJ) } var _dJ = function() { __h("yy_texture_get_texel_width()") }; var _eJ = function() { __h("yy_texture_get_texel_height()") }; var _fJ = function() { __h("texture_set_stage()") }; var _gJ = function() { __h("shader_is_compiled()") }; var _hJ = function() { __h("shader_set()") }; var _iJ = function() { __h("shader_get_uniform()"); }; var _jJ = function() { __h("shader_set_uniform_i()") }; var _kJ = function() { __h("shader_set_uniform_f()") }; var _lJ = function() { __h("shader_set_uniform_matrix()") }; var _mJ = function() { __h("shader_set_uniform_matrix()") }; var _nJ = function() { __h("shader_enable_corner_id()") }; var _oJ = function() { __h("shader_set_uniform_array_i()") }; var _pJ = function() { __h("shader_set_uniform_array_f()") }; var _qJ = function() { __h("shader_set_uniform_matrix_array()") }; function _rJ() { return 0 } var _sJ = []; var _tJ = 200000; var _uJ = _tJ; var _vJ = []; var _wJ = 0; var audio_sampledata = []; var _xJ = !1; var _yJ = 0; var _zJ = 128; var _AJ = 0; var _BJ = []; var _CJ = { _DJ: 0, _EJ: 1, _FJ: 2, _GJ: 3, _HJ: 4, _IJ: 5, _JJ: 6 }; var _KJ = 0; var _LJ = 1.0; var _MJ = 0; function _NJ() { if (_Gm != _Hm) return; _yJ++ } var _OJ; function _PJ() { if (_Gm != _Hm) { return } _QJ = g_WebAudioContext.createGainNode(); _QJ.connect(g_WebAudioContext.destination); _RJ(_CJ._EJ); var _SJ; if (typeof document.hidden !== "undefined") { _OJ = "hidden"; _SJ = "visibilitychange"; } else if (typeof document.mozHidden !== "undefined") { _OJ = "mozHidden"; _SJ = "mozvisibilitychange" } else if (typeof document.msHidden !== "undefined") { _OJ = "msHidden"; _SJ = "msvisibilitychange" } else if (typeof document.webkitHidden !== "undefined") { _OJ = "webkitHidden"; _SJ = "webkitvisibilitychange" } document.addEventListener(_SJ, _TJ, !1); g_WebAudioContext.listener._Gn = new _Xs(0, 0, 0); g_WebAudioContext.listener._UJ = new _Xs(0, 0, 0); g_WebAudioContext.listener._VJ = new Array(0, 0, 0, 0, 0, 0); _WJ(0, 0, 0); _XJ(0, 0, 1.0, 0, 1.0, 0.0); _YJ(); _ZJ() } function __J() { this.buffer = null; this.gain = 1.0; this._0K = 1.0; this._1K = 1.0; this.duration = 0.0; this._2K = 0.0; this._3K = 0; this._Zh = 0 } function _4K(_5K, _6K, _7K) { this._8K = g_WebAudioContext.createGainNode(); this._9K = null; this._ww = 0; this._aK(_5K, _6K, _7K) } _4K.prototype._aK = function(_5K, _6K, _7K) { this._bK = !1; this._cK = g_WebAudioContext.currentTime; this.playbackpoint = 0; this._dK = null; this._8K.disconnect(); this.gain = 1.0; this._8K.gain.value = 1; if (this._9K != null) { this._9K.disconnect(); this._9K = null } this.paused = !1; this._eK = _5K; this._fK = _7K; this._gK = !1; this._hK = _6K; this._iK = !1; this._jK = null; this._kK = null; if (_5K >= 0) { this._iK = _lK(_5K); this._8K.gain.value = audio_sampledata[_5K].gain; if (this._ww >= _tJ) { _BJ[this._ww - _tJ] = null } this._ww = _uJ; _BJ[_uJ - _tJ] = this; ++_uJ } }; function _lK(_eK) { if (_eK >= 0 && _eK < _cv._j1.length) { if (_cv._j1[_eK]._Zh == 1) { return !0 } } else { debug("Error: soundid " + _eK + " not found") } return !1 } function _Im() { var _mK = g_WebAudioContext.createBufferSource(); var gain = g_WebAudioContext.createGainNode(); _mK.connect(gain); gain.connect(g_WebAudioContext.destination); gain.gain.value = 0; _mK.noteOn(0) } function _nK(_oK) { if (_oK._bK) { if (_oK._iK) _pK(_oK); else _qK(_oK); _oK._eK = -1; _oK._bK = !1 } } function _pK(_oK) { if (_oK._jK != null) { try { _oK._jK.pause(); _oK._kK.disconnect(); if (_oK._8K != null) _oK._8K.disconnect(); if (_oK._9K != null) { _oK._9K.disconnect(); _oK._9K = null } } catch (_rK) { debug("Audio_StopStreamed exception: " + _rK); } } } function _qK(_oK) { try { if (_oK._dK != null) { _oK._dK.onended = null; _oK._dK.loop = !1; _oK._dK.noteOff(0); _oK._dK.disconnect(); if (_oK._8K != null) _oK._8K.disconnect(); if (_oK._9K != null) { _oK._9K.disconnect(); _oK._9K = null } } } catch (_rK) { debug("Audio_StopUnstreamed exception: " + _rK) } } function _sK(_oK) { if (!_oK.paused) { if (_oK._iK) _tK(_oK); else _uK(_oK); _oK.paused = !0 } } function _tK(_oK) { try { _oK._jK.pause() } catch (_rK) { debug("Audio_PauseStreamed exception: " + _rK) } } function _uK(_oK) { try { _oK._dK.onended = null; _oK._dK.noteOff(0); _oK.playbackpoint += g_WebAudioContext.currentTime - _oK._cK } catch (_rK) { debug("Audio_PauseUnstreamed exception: " + _rK) } } function _vK(_oK) { if (_oK.paused) { if (_oK._iK) _wK(_oK); else _xK(_oK); _oK.paused = !1 } } function _wK(_oK) { if (_oK.paused) { try { _oK._jK.play() } catch (_rK) { debug("Audio_ResumeStreamed exception: " + _rK) } } } function _xK(_oK) { try { _oK._dK = g_WebAudioContext.createBufferSource(); _oK._cK = g_WebAudioContext.currentTime; _oK._8K = g_WebAudioContext.createGainNode(); _oK._8K.gain.value = _oK.gain * audio_sampledata[_oK._eK].gain; _oK._dK.connect(_oK._8K); _oK._dK.onended = function(event) { _oK._bK = !1 }; if (_oK._9K != null) { _oK._8K.connect(_oK._9K) } else { _oK._8K.connect(_QJ) } _oK._dK.buffer = audio_sampledata[_oK._eK].buffer; if (_oK._fK > 0) _oK._dK.loop = !0; { var _yK = Math.floor(_oK.playbackpoint / _oK._dK.buffer.duration); var _zK = _oK.playbackpoint - _yK * _oK._dK.buffer.duration; _oK._dK.noteGrainOn(0, _zK, _oK._dK.buffer.duration - _zK) } } catch (_rK) { debug("Audio_ResumeUnstreamed exception: " + _rK) } } function _AK(_oK) { var _BK = !1; if (_oK._bK) { return _oK.paused; } return !1 } function _CK(_oK) { var _DK = !1; if (_oK._bK) { if (_oK._iK) _DK = _EK(_oK); else _DK = _FK(_oK) } return _DK } function _FK(_oK) { if (_oK._dK != null) { if ((_oK._dK.playbackState == undefined || _oK._dK.playbackState != _oK._dK.FINISHED_STATE) || _oK.paused) { return !0 } } return !1 } function _EK(_oK) { if (_oK._jK != null) { if (!_oK._jK.ended) { return !0 } } return !1 } function _TJ() { if (_Gm == _Hm) { if (document[_OJ] == !0) { if (!_xJ) { _xJ = !0; _GK(!0) } } else if (document[_OJ] == !1) { if (_xJ) { _HK(!0); _xJ = !1 } } } } var _IK; function _RJ(_JK) { if (_Gm != _Hm) { return } var _KK = g_WebAudioContext.createPanner(); _IK = _KK.INVERSE_DISTANCE; switch (_JK) { case _CJ._DJ: debug("Audio_falloff_none not supported in html5\n"); break; case _CJ._EJ: _IK = _KK.INVERSE_DISTANCE; break; case _CJ._FJ: debug("Audio_falloff_inverse_distance_clamped not supported in html5\n"); break; case _CJ._GJ: _IK = _KK.LINEAR_DISTANCE; break; case _CJ._HJ: debug("Audio_falloff_linear_distance_clamped not supported in html5\n"); break; case _CJ._IJ: _IK = _KK.EXPONENTIAL_DISTANCE; break; case _CJ._JJ: debug("Audio_falloff_exponent_distance_clamped not supported in html5\n"); break; default: debug("Attempting to set audio falloff to unknown model\n"); break } } function _GK(_LK) { for (_u2 = 0; _u2 < _AJ; ++_u2) { var _mK = _sJ[_u2]; if (_mK._bK) { if (!_mK.paused) { _sK(_mK); if (_LK) _mK._gK = !0 } } } } function _MK() { for (_u2 = 0; _u2 < _AJ; ++_u2) { var _mK = _sJ[_u2]; if (_mK._bK) { _nK(_mK) } } } function _NK(_OK) { for (_u2 = 0; _u2 < _AJ; ++_u2) { var _mK = _sJ[_u2]; if (_mK._bK) { var _3K = audio_sampledata[_mK._eK]._3K; if (_3K == _OK) { _nK(_mK) } } } } function _HK(_LK) { for (_u2 = 0; _u2 < _AJ; ++_u2) { var _mK = _sJ[_u2]; if (_mK._bK) { if (_mK.paused) { if (_LK) { if (_mK._gK) { _vK(_mK); _mK._gK = !1; } } else { _vK(_mK) } } } } } function _WJ(_PK, _QK, _RK) { if (_Gm == _Hm) { var _SK = g_WebAudioContext.listener; _SK.setPosition(_PK, _QK, _RK); _SK._Gn._xt = _PK; _SK._Gn._yt = _QK; _SK._Gn._zt = _RK } } function _XJ(_PK, _QK, _RK, _TK, _UK, _VK) { if (_Gm == _Hm) { var _SK = g_WebAudioContext.listener; _SK.setOrientation(_PK, _QK, _RK, _TK, _UK, _VK); _SK._VJ[0] = _PK; _SK._VJ[1] = _QK; _SK._VJ[2] = _RK; _SK._VJ[3] = _TK; _SK._VJ[4] = _UK; _SK._VJ[5] = _VK } } function _WK(e) { if (_Gm != _Hm) return; var targetid = e.target.targetid; debug("error loading sound" + targetid); if (targetid == undefined) {} else { debug("AudioError: " + this.URL); this.completed = !1; _XK++; ClearEventListeners(this) } } function _YK(e) { if (_Gm != _Hm) return; var targetid = e.target.targetid; if (_ZK) debug("sound loaded" + targetid); if (targetid == undefined) {} else { this.completed = !0; ClearEventListeners(this); try { g_WebAudioContext.decodeAudioData(e.target.response, function(buffer) { var __K = audio_sampledata[targetid]; __K.buffer = buffer; _XK++ }, function(err) { debug("error decoding audio data:" + err); _XK++ }) } catch (_0L) { debug("error decoding audio data: " + _0L.message); _XK++ } } } function _1L(_uC, _dn, _2L) { var __K = audio_sampledata[_dn]; __K.buffer = null } function _3L(_uC, _dn, _2L, _4L) { _uC = _5L(_uC); if ((_Gm != _Hm) || (_6L == !1)) { return undefined } var _7L; var index; index = _uC.indexOf(_2L); if (index >= 0) { _uC = _uC.substr(0, index) } if (_8L) { _2L = "ogg" } else if (_9L) { _2L = "mp3" } else { _2L = "ogg" } _uC = _uC + "." + _2L; var __D = new XMLHttpRequest(); __D.open('GET', _uC, !0); __D.responseType = 'arraybuffer'; __D.targetid = _dn; __D.URL = _uC; __D.completed = !1; if (_4L != undefined) { __D.targetid = { _aL: _4L, _bL: _dn }; __D.onload = _cL; __D.onerror = _dL } else { __D.onload = _YK; __D.onerror = _WK } __D.send(); _eL[_dn] = __D; return _dn } var _fL = "Unloaded"; var _gL = "Loading"; var _hL = "Loaded"; var _iL = "Unloading"; var _jL = 0; var _kL = []; function _lL(_OK) { this._3K = _OK; this._mL = _fL; this._nL = 0; this._oL = 0; this._pL = [] } _lL.prototype._qL = function(_rL) { this._pL.push(_rL) }; _lL.prototype._sL = function(_tL) { if (this._mL != _tL) { this._mL = _tL; debug("Audio Group " + this._3K + "-> " + this._mL); if (_tL == _hL) { var map = _86(); _O7._uL = map; _96(map, "type", "audiogroup_load"); _96(map, "group_id", this._3K); _cy._vL(_wL, 0) } } }; function _cL(e) { var targetid = this.targetid._bL; var _xL = this.targetid._aL; if (_ZK) debug("sound loaded " + targetid); if (targetid != undefined) { e.target.completed = !0; ClearEventListeners(this); try { g_WebAudioContext.decodeAudioData(e.target.response, function(buffer) { var __K = audio_sampledata[targetid]; __K.buffer = buffer; _xL._yL() }, function(err) { debug("error decoding audio data:" + err); _xL._yL() }) } catch (_0L) { debug("error decoding audio data: " + _0L.message); _xL._yL() } } } function _dL(e) { var targetid = this.targetid._bL; var _xL = this.targetid._aL; debug("error loading sound" + targetid); if (targetid != undefined) { debug("AudioError: " + this.URL); this.completed = !1; ClearEventListeners(this); _xL._yL() } } _lL.prototype._yL = function() { this._nL--; if (this._pL.length > 0) { this._oL = ((this._pL.length - this._nL) * 100) / (this._pL.length) } if (this._nL <= 0) { this._sL(_hL) } }; _lL.prototype._jg = function() { if (this._mL != _fL) { return 0 } if (this._pL.length == 0) { return 0 } this._sL(_gL); this._nL = this._pL.length; this._oL = 0; var _u2; for (_u2 = 0; _u2 < this._pL.length; ++_u2) { var index = this._pL[_u2]; if (_cv._j1[index]._Zh == 0) { var id = _3L(_sg + _cv._j1[index]._zL, index, _cv._j1[index]._AL, this); if (id === undefined) this._yL() } else { this._yL() } } }; function _YJ() { var index; var _BL = 1; for (index = 0; index < _cv._j1.length; index++) { if (_cv._j1[index] !== null) { var __K = new __J(); audio_sampledata[index] = __K; __K.buffer = null; var _CL = _cv._j1[index].volume; __K.gain = _CL; __K._0K = _CL; __K._1K = 1.0; __K._Zh = _cv._j1[index]._Zh; if (_cv._j1[index].duration != undefined) { __K.duration = _cv._j1[index].duration } __K._3K = 0; var _3K = _cv._j1[index]._3K; if (_3K != undefined) { __K._3K = _3K } } } } function _ZJ() { if (_cv._k1) { var _u2; _jL = _cv._k1.length; for (_u2 = 0; _u2 < _jL; ++_u2) { _kL[_u2] = new _lL(_u2) } for (_u2 = 0; _u2 < audio_sampledata.length; ++_u2) { var _mK = audio_sampledata[_u2]; if (_mK != undefined) { _3K = _mK._3K; if (_kL[_3K] != undefined) { _kL[_3K]._qL(_u2) } } } } } var _DL = 0, _EL = 1, _FL = 2, _GL = 3; function _HL(_IL) { if (_JL._hn(_IL) == null) return !1; return !0 } var _KL = _LL; function _LL(_xe, _ye, _ze, _6n, _7n, _Po, _Qo) { var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); _PL = _JL._hn(_xe); _PL._qf++; _ML.width = _PL.width; _ML.height = _PL.height; _NL._QL(canvas, _ye, _ze, _6n, _7n, 0, 0, _ML.width, _ML.height); if (_Po) { _ML.complete = _Wo(_NL, _6n, _7n) } else { _ML.complete = !0 } _PL._qf++; var _Zo = new __o(); _PL._RL[_PL._RL.length] = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _PL.width; _Zo._z2 = _PL.height; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; return _xe } var _TL = _UL; function _UL(_dn, _ye, _ze, _6n, _7n, _Po, _Qo, _VL, _WL) { var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); _ML.width = _Uo._hn(_dn).width; _ML.height = _Uo._hn(_dn).height; _NL._QL(_Uo._hn(_dn), 0, 0); if (_Po) { _ML.complete = _Wo(_NL, _6n, _7n) } else { _ML.complete = !0 } var _PL = new _XL(); var _YL = _JL._ZL(_PL); _PL._m1 = "surface.copy"; _PL.width = _ML.width; _PL.height = _ML.height; _PL._DE = new _Yv(); _PL._DE._1f = _PL.width; _PL._DE.bottom = _PL.height; _PL._n1 = !0; _PL._o1 = !0; _PL.preload = !0; _PL.__L = 0; _PL._0M = !1; _PL._p1 = _VL; _PL._q1 = _WL; _PL._1M = !0; _PL._qf = 1; _PL._2M = !1; _PL._3M = !1; _PL._rf = []; _PL._RL = []; _PL._y1 = []; _PL._4M(); var _Zo = new __o(); _PL._RL[0] = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _PL.width; _Zo._z2 = _PL.height; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _5M(_Zo); return _YL } var _6M = _7M; function _7M(_xe, _dn, _ye, _ze, _6n, _7n, _Po, _Qo) { var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); _PL = _JL._hn(_xe); _PL._qf++; _ML.width = _PL.width; _ML.height = _PL.height; _NL._QL(_Uo._hn(_dn), 0, 0, _6n, _7n, 0, 0, _ML.width, _ML.height); if (_Po) { _ML.complete = _Wo(_NL, _6n, _7n) } else { _ML.complete = !0 } var _Zo = new __o(); _PL._RL[_PL._RL.length] = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _PL.width; _Zo._z2 = _PL.height; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; return _xe } var _8M = _9M; function _9M(_xe) { var _aM = _JL._hn(_xe); if (_aM == null) return 0; var _PL = new _XL(); var _YL = _JL._ZL(_PL); _PL._m1 = _aM._m1 + ".copy"; _PL.width = _aM.width; _PL.height = _aM.height; _PL._DE._9n(_aM._DE); _PL._n1 = _aM._n1; _PL._o1 = _aM._o1; _PL.preload = _aM.preload; _PL.__L = _aM.__L; _PL._0M = _aM._0M; _PL._p1 = _aM._p1; _PL._q1 = _aM._q1; _PL._1M = !0; _PL._qf = _aM._qf; _PL._bM = _aM._bM; _PL._2M = _aM._2M; _PL._3M = _aM._3M; _PL._rf = []; _PL._RL = []; _PL._y1 = []; for (var _u2 = 0; _u2 < _aM._qf; _u2++) { var _Zo = new __o(); _PL._RL[_u2] = _Zo; _Zo._1M(_aM._RL[_u2]); var _cM = _dM(_aM._RL[_u2]); _Zo._U4 = _SL(_cM); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._hg = _ig[_Zo._U4] } return _YL } function _eM(_fM, _gM, _hM, _iM, _6j, _jM) { var _y2 = _gM._S4; var _z2 = _gM._T4; var _kM = []; var _lM = _z2 * _y2; for (_Bf = 0; _Bf < _lM; _Bf++) _kM[_Bf] = !1; if (_6j == _DL) { var _mM = _nM(_gM); var index = 0; for (var _u2 = 0; _u2 < _mM.length; _u2 += 4) { if (_mM[_u2 + 3] > _jM) { _kM[index] = !0 } else { _kM[index] = !1 } index++ } } else { switch (_6j) { case _EL: { for (var _x2 = _iM.top; _x2 <= _iM.bottom; _x2++) { for (var _w2 = _iM.left; _w2 <= _iM._1f; _w2++) { _kM[_w2 + (_x2 * _y2)] = !0 } } break } case _FL: { var _Sf = (_iM.left + _iM._1f) / 2; var _zh = _Sf - _iM.left + 0.5; var _Tf = (_iM.top + _iM.bottom) / 2; var _Ah = _Tf - _iM.top + 0.5; for (var _x2 = _iM.top; _x2 <= _iM.bottom; _x2++) { for (var _w2 = _iM.left; _w2 <= _iM._1f; _w2++) { if ((_zh > 0) && (_Ah > 0)) { _kM[_w2 + (_x2 * _y2)] = _Wf((_w2 - _Sf) / _zh) + _Wf((_x2 - _Tf) / _Ah) < 1 } } } break } case _GL: { var _Sf = (_iM.left + _iM._1f) / 2; var _zh = _Sf - _iM.left + 0.5; var _Tf = (_iM.top + _iM.bottom) / 2; var _Ah = _Tf - _iM.top + 0.5; for (var _x2 = _iM.top; _x2 <= _iM.bottom; _x2++) { for (var _w2 = _iM.left; _w2 <= _iM._1f; _w2++) { if ((_zh > 0) && (_Ah > 0)) { _kM[_w2 + (_x2 * _y2)] = Math.abs((_w2 - _Sf) / _zh) + Math.abs((_x2 - _Tf) / _Ah) < 1 } } } break } } } if (_fM != null) { for (var _u2 = 0; _u2 < _kM.length; _u2++) { if (_fM[_u2]) _kM[_u2] = !0 } } return _kM } function _oM(_pM, _qM) { if (_HL(_pM)) { var _rM = _JL._hn(_pM); var _Zo = _rM._sM(~~_qM); if (_Zo) { return ({ _7j: _Zo._hg, _nj: _Zo }) } } return null } function _2w(_en) { return String.fromCharCode(_en) } function _tM(_cx) { if (!_cx || _cx == "") return 0; return _cx.charCodeAt(0) } function _ad(_cx) { if (_cx == undefined) { return 0 } else if (typeof(_cx) == "boolean") { if (_cx) return 1; else return 0; } else if (typeof(_cx) == "number") { return _cx } return parseFloat(_cx) } function _39(_Ln) { if (_Ln == undefined) { return "undefined" } if (_Ln instanceof Array) { var _on = "{"; for (var _u2 = 0; _u2 < _Ln.length; ++_u2) { if (_u2 != 0) _on += ","; _on += _39(_Ln[_u2]) } _on += "}"; return _on } else if (typeof(_Ln) == "number") { if ((~~_Ln) != _Ln) { return _Ln.toFixed(2).toString() } else { return _Ln.toString() } } else if (typeof(_Ln) == "boolean") { if (_Ln) return "1"; else return "0" } else { return _Ln.toString() } } function _n6(_cx, _IL) { var index = _IL - 1; if (index < 0) { index = 0 } return _cx.charAt(index) } function _wa(_uM, _cx) { _uM = _uM.replace(_2w(13), "#"); var _fg = 0; if (_uM.length > 0) { var index = 0; while (index != -1) { index = _cx.indexOf(_uM, index); if (index > -1) { _fg += 1; index++ } } } return _fg } var _vM = []; function _wM(_xM) { debug("myBrandConnectReadyEvent"); _vM = _xM } function _yM() { _Iv() } function _zM() { _AM = !0; debug("myBrandConnectDoneEvent") } function _BM() { var _CM = document.getElementById("ssaBrandConnectInterstitial"); var _DM = document.getElementById("gm4html5_div_id"); _DM.appendChild(_CM); _vv() } var _EM = !1; var _AM = !1; var ssa_json = { 'applicationUserId': '1234', 'applicationKey': '2b46ec59', 'onCampaignsReady': _wM, 'onCampaignsDone': _zM, 'onCampaignClose': _yM, 'onCampaignOpen': _BM, 'maxWidth': 1000, 'maxHeight': 700, }; var _FM = (function(_Bp, _wf) { var _Vg = _Bp.createElement(_wf), _ov = _Bp.getElementsByTagName(_wf)[0]; _Vg._nw = !0; _Vg.src = ('https:' != location.protocol ? 'http://jsd.supersonicads.com' : 'https://a248.e.akamai.net/ssastatic.s3.amazonaws.com') + '/inlineDelivery/delivery.min.gz.js'; _ov.parentNode.insertBefore(_Vg, _ov) }); var _GM = ads_engagement_launch; function ads_engagement_launch(_HM, _IM) { if (SSA_CORE != undefined) SSA_CORE.BrandConnect.engage(); } var _JM = []; _KM = _LM; function _LM(_dn, _6n, _7n) { if (_dn == _MM) { _NM = !0; _OM = _6n; _PM = _7n; return 1 } if (!_QM(_dn)) { _ym("Surface does not exist"); return 0 } _So(_6n, _7n, _dn); return 0 } _So = _RM; function _RM(_6n, _7n, _SM) { var _7p = document.createElement(_rv); _7p._qj = _7p.width = _6n; _7p._rj = _7p.height = _7n; _7p.complete = !0; _7p._TM = !1; _7p.name = ""; _7p._9h = _7p.getContext('2d'); _OL(_7p._9h); var _Zo = new __o(); _7p._UM = _Zo; _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _6n; _Zo._z2 = _7n; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; if (_SM != undefined) { _Uo._Tn(_SM, _7p); _Zo._U4 = _SM } else { _Zo._U4 = _Uo._yn(_7p) } _Zo._hg = _7p; _Zo._eg = []; _Zo._fg = 0; _Zo._gg = 4; _Zo._VM = 0; _Zo._WM = null; _Zo._ML = _7p; return _Zo._U4 } var _XM = _YM; function _YM(_dn) { _Uo._Qn(_dn) } function _QM(_dn) { if (_Uo._hn(_dn) != null) return !0; else return !1 } function _ZM(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { return _7p._qj } return 0 } function __M(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { return _7p._rj } return 0 } _0N = _1N; function _1N(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { _9h._Xz(); _JM.push(_9h); _7p._9h._2N = _dn; _9h = _7p._9h; g_CurrentGraphics = _9h; _3N = !1 } } var _4N, _5N, _6N, _7N; var _8N = _9N; function _9N(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { _aN.left = _bN.left; _aN.top = _bN.top; _aN._1f = _bN._1f; _aN.bottom = _bN.bottom; _bN.left = 0; _bN.top = 0; _bN._1f = _7p._qj; _bN.bottom = _7p._rj; _cN._9n(_dN); _dN._eN = 0; _dN._fN = 0; _dN._gN = _7p._qj; _dN._hN = _7p._rj; _dN._iN = 0; _dN._jN = 0; _dN._kN = _7p._qj; _dN._lN = _7p._rj; _dN._rm = 0; _dN._tm = 0; _dN._mN = _7p._qj; _dN._nN = _7p._rj; _dN._sm = _dN._rm + _dN._mN; _dN._um = _dN._tm + _dN._nN; _9h._Xz(); _JM.push(_9h); _4N = __z; _5N = _0A; _6N = _1A; _7N = _2A; _oN(0, 0, _7p._qj, _7p._rj); _pN(0, 0, _7p._qj, _7p._rj); g_CurrentGraphics = _7p._9h; _9h = _7p._9h; _9h._Xz(); _3N = !0 } } var _qN = _rN; function _rN() { if (_3N) { _bN = _aN; _dN._9n(_cN); _oN(_4N, _5N, _6N, _7N); _pN(_dN._eN, _dN._fN, _dN._gN, _dN._hN); _9h._3A() } var _sN = _JM.pop(); _9h = _sN ? _sN : _tN; g_CurrentGraphics = _9h; _9h._3A() } function _mB(_uN, _ye, _ze) { var data = null; var _Vo = _uN.getContext('2d'); try { data = _Vo._vN(_ye, _ze, 1, 1) } catch (_0L) { return 0xff000000 } _wN = data.data; var index = 0; var _xN = _wN[index] & 0xff; var _yN = _wN[index + 1] & 0xff; var _zN = _wN[index + 2] & 0xff; var _AN = _wN[index + 3] & 0xff; return (_xN | (_yN << 8) | (_zN << 16) | (_AN << 24)) } var _BN = _CN; var _DN = _EN; function _CN(_dn, _ye, _ze) { return _EN(_dn, _ye, _ze) & 0xffffff } function _EN(_dn, _ye, _ze) { var _7p = _Uo._hn(_dn); if (_7p != null) { return _mB(_7p, _sn(_ye), _sn(_ze)) } return 0x00000000 } var _FN = _GN; function _GN(_dn, _ye, _ze) { var _7p = _Uo._hn(_dn); if (!_7p) return; _ye = ~~_ye; _ze = ~~_ze; var alpha = _9h.globalAlpha; { _9h.globalAlpha = _cj; _9h._QL(_7p, _ye, _ze) } _9h.globalAlpha = alpha } function _HN(_dn, _ye, _ze, _6n, _7n) { var _7p = _Uo._hn(_dn); if (!_7p) return; _IN(_7p._UM, _ye, _ze, _6n, _7n, 0xffffff, 1.0) } var _JN = _KN; function _KN(_dn, _ye, _ze, _fr, _gr, _LN, _fj) { __h("draw_surface_tiled_ext()") } function _MN(_NN, _ye, _ze, _ON) { var _To = _Uo._hn(_NN); var _4p = _Uo._hn(_ON); if (_To != null && _4p != null) { var _Vo = _To.getContext('2d'); _Vo.save(); _Vo.globalCompositeOperation = 'copy'; _Vo.drawImage(_4p, _ye, _ze); _Vo.restore() } } function _PN(_NN, _ye, _ze, _ON, _QN, _RN, _SN, _TN) { var _To = _Uo._hn(_NN); var _4p = _Uo._hn(_ON); if (_To != null && _4p != null) { var _Yz = []; var _Vo = _To.getContext('2d'); _Vo.save(); _Yz[0] = 1; _Yz[1] = 0; _Yz[2] = 0; _Yz[3] = 1; _Yz[4] = 0; _Yz[5] = 0; _Vo.setTransform(_Yz[0], _Yz[1], _Yz[2], _Yz[3], _Yz[4], _Yz[5]); _Vo.beginPath(); _Vo.rect(_ye, _ze, _SN, _TN); _Vo.clip(); _Vo.globalCompositeOperation = 'copy'; _Vo.drawImage(_4p, _QN, _RN, _SN, _TN, _ye, _ze, _SN, _TN); _Vo.restore() } } function _P9(_Ay, _UN, _VN, _ye, _ze, _fr, _gr, _WN, _uj, _fj) { if (_VN < 0) _VN = ~~_Ay._G6; var _aM = _JL._hn(_UN); if (_aM != null) { _fj = min(1.0, _fj); _aM._Ig(_VN, _ye, _ze, _fr, _gr, _WN, _gj(_uj), _fj) } } function _4b(_Ay, _UN, _VN, _ye, _ze) { if (_VN < 0) _VN = ~~_Ay._G6; var _aM = _JL._hn(_UN); if (_aM != null) { _aM._XN(_VN, _ye, _ze, _cj) } } function _YN(_ZN, __N) { if (_ZN) { if (__N === undefined) { canvas.style.cursor = "" } else { canvas.style.cursor = __N; } } else { canvas.style.cursor = "none" } } function _0O(_ej) { _1O = _gj(_ej) } var _2O = _0O; function _3O() { return _gj(_1O) } var _4O = _3O; function _ja(_ye, _ze) { var _5O = document.getElementById(_rv); var _6O = _5O; for (var _6O = _5O; _6O; _6O = _6O.parentNode) { var position; if (_6O["currentStyle"]) { position = _6O["currentStyle"]["position"]; } else if (window.getComputedStyle) { try { var style = window.getComputedStyle(_6O, null); if (style) { position = style.getPropertyValue("position") } } catch (e) {} } if (position && (position == "fixed")) { debug("Warning: Canvas position fixed. Ignoring position alterations"); return } } _5O.style.position = "absolute"; _5O.style.left = _ye + "px"; _5O.style.top = _ze + "px" } function _ka(_6n, _7n) { canvas.width = _6n; canvas.height = _7n; _jB = _6n; _lB = _7n; _7O = canvas.width; _8O = canvas.height; _pm(canvas, _qm); _9O = _qm.top; _aO = _qm.left; _bO = _qm._1f; _cO = _qm.bottom; _dO = _7O; _eO = _8O; _fO = _6n; _gO = _7n; _hO = 1; _iO = 1 } function _jO(_ye, _ze, _6n, _7n) { _ka(_6n, _7n); _ja(_ye, _ze) } function _kO() { return _bO - _aO } function _lO() { return _cO - _9O } var _mO; var _nO; var _oO; var _pO; var _qO; var _rO; var _sO; var _tO; var _uO; var _vO; var _wO; var _xO; var _yO = 0; var _zO = 1, _AO = 2, _BO = 3, _CO = 4, _DO = 5, _EO = 6; var _FO = aa_1241_kz(); function aa_1241_kz() { return 0x87155211 } function _GO() { var _HO = null; if (window.XMLHttpRequest) { _HO = new XMLHttpRequest() } if (typeof(XMLHttpRequest) == "undefined") { _HO = function() { try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e) {} try { return new ActiveXObject("Msxml2.XMLHTTP.3.0") } catch (e) {} try { return new ActiveXObject("Msxml2.XMLHTTP") } catch (e) {} throw new _ym("This browser does not support XMLHttpRequest.") } } this._IO = _HO; this._JO = !1 } var _KO = new _GO(); function _LO() {} var _MO = _NO; function _NO(_ZN) {} var _OO = _PO; function _PO() { return !1 } var _QO = _RO; function _RO() {} var _SO = _TO; function _TO() {} var _UO = _VO; function _VO() {} var _WO = _XO; function _XO() {} var _YO = _ZO; function _ZO() {} var __O = _0P; function _0P() {} var _1P = _2P; function _2P() {} var _3P = _4P; function _4P() {} var _5P = _6P; function _6P() {} var _7P = _8P; function _8P() {} var _9P = _aP; function _aP() {} var _bP = _cP; function _cP() { return -1 } var _dP = _eP; function _eP() {} var _fP = _gP; function _gP() {} var _hP = _iP; function _iP() {} var _jP = _kP; function _kP() { return _lP } function _mP() { return _nP } function _oP() { return _KC } function _pP() { return _qP } var _rP = _sP; function _sP(_uC, _tP, _uP) { if (_tP != "_self" && _tP != "_blank" && _tP != "_parent" && _tP != "_top") { _ym("Error: invalid TARGET specified. Only '_self', '_blank', 'parent' or '_top' supported. (YoYo_OpenURL)"); return } var _Xx = window.open(_uC, _tP, _uP) } var _vP = _wP; function _wP(_uC, _tP) { _rP(_uC, _tP, "scrollbars=yes,menubar=yes,resizable=yes,toolbar=yes,location=yes,status=yes"); } var _xP = _xa; function _xa(_uC) { _vP(_uC, "_self") } var _yP = _zP; function _zP(_AP, _BP) {} var _CP = _DP; function _DP(_AP, _EP) {} var _FP = null; var _GP = null; var _HP = _IP; function _IP(_w2, _x2, _vz) { if (_HP) { _HP(_w2, _x2, _vz) } } function ads_engagement_launch() { __h("ads_engagement_launch()") } var _JP = _KP; function _KP(_ev, _LP, _MP, _NP) {} var _OP = _PP; function _PP() { var _wf = new Date().getTime() * 1000; return _wf - _mO } var _QP = _RP; function _RP(_ye, _ze, _6n, _7n, _SP) { var _TP = _UP(); _TP._w2 = _ye; _TP._x2 = _ze; _TP._y2 = _6n; _TP._z2 = _7n; _TP._OC = _SP; _TP._jf = _ye + _6n; _TP._kf = _ze + _7n; _TP.button = _TP._6h = _TP._8h = 0; _TP._VP = _WP; return (_TP.index + 1) } var _XP = _YP; function _YP(_dn) { if (_dn < 0) return; var index = _dn - 1; if ((index < 0) || (index >= _ZP.length)) { debug("Invalid index when deleting virtual key") } __P(_dn - 1) } function _0Q() { _1Q = []; for (var _sf = 0; _sf < _ZP.length; ++_sf) { var _2Q = _ZP[_sf]; if ((_2Q._VP & _3Q) != 0) _1Q[_1Q.length] = _2Q } } var _4Q = _5Q; function _5Q(_dn) { if (_dn < 0) return; _dn--; if (!_ZP[_dn]) return; _ZP[_dn]._VP |= _3Q; _0Q() } var _6Q = _7Q; function _7Q(_dn) { if (_dn < 0) return; _dn--; if (!_ZP[_dn]) return; _ZP[_dn]._VP &= ~_3Q; _0Q() } var _8Q = _9Q; function _9Q() { return 0 } var _aQ = _bQ; function _bQ() { return 0 } var _cQ = _dQ; function _dQ() { return 0 } var _eQ = _fQ; function _fQ() { _hv("device_ios_get_imagename()") } var _gQ = _hQ; function _hQ() { _hv("device_ios_get_image()") } var _iQ = _jQ; function _jQ() { _hv("openfeint_start()") } var _kQ = _lQ; function _lQ(_5F, _bF) { _hv("achievement_map_achievement()") } var _mQ = _nQ; function _nQ(_5F, _bF, _oQ) { _hv("achievement_map_leaderboard()") } var _pQ = _qQ; function _qQ(_5F, _bF, _oQ) { _hv("openfeint_send_challenge()"); } var _rQ = _sQ; function _sQ(_5F) { _hv("openfeint_send_invite()") } var _tQ = _uQ; function _uQ(_5F, _bF, _oQ) { _hv("openfeint_send_social()") } var _vQ = _wQ; function _wQ(_5F) { _hv("openfeint_set_url()") } var _xQ = _yQ; function _yQ() { _hv("openfeint_accept_challenge()"); return "" } var _zQ = _AQ; function _AQ() { _hv("achievement_is_online()"); return !1 } var _BQ = _CQ; function _CQ(_5F, _bF) { _hv("openfeint_send_result()") } var _DQ = _EQ; function _EQ() { return !1 } function _FQ() { _mO = new Date().getTime() * 1000; var _wf = 0; for (var _u2 = 0; _u2 < 12; _u2++) { _Ju[_u2] = _wf; _wf += _Iu[_u2] } _nO = 0; _oO = 1; _pO = 2; _qO = 3; _rO = 4; _sO = 5; _tO = 0; _uO = 1; _vO = 2; _wO = 0; _xO = 1 } function _GQ() { var _wf = setTimeout(function() { for (var _HQ in _JL._l1) { if (!_JL._l1.hasOwnProperty(_HQ)) continue; _JL._IQ(_HQ); break } _GQ() }, 1000) } var _JQ = _va; function _va() { return document.domain; } function _KQ(_LQ, _MQ) { for (var _NQ in _LQ) { var _OQ = _LQ[_NQ]; if (_OQ instanceof Array) { var _PQ = _un(); _Bn(_MQ, _PQ); _KQ(_OQ, _PQ) } else if (typeof(_OQ) == "object") { var _QQ = _86(); _Bn(_MQ, _QQ); _Sw(_OQ, _QQ) } else if (typeof(_OQ) == "string") { _Bn(_MQ, _OQ) } } } function _Sw(_kg, _Mw) { for (var _Ow in _kg) { if (_kg.hasOwnProperty(_Ow)) { var _OQ = _kg[_Ow]; if (_OQ instanceof Array) { var _RQ = _un(); _96(_Mw, _Ow, _RQ); _KQ(_OQ, _RQ) } else if (typeof(_OQ) == "object") { var _SQ = _86(); _96(_Mw, _Ow, _SQ); _Sw(_OQ, _SQ) } else if (typeof(_OQ) == "string") { _96(_Mw, _Ow, _OQ) } } } } var _TQ = _UQ; function _UQ() {} var _VQ = _WQ; var _gw = _5w; function _WQ() { return _gw } var _XQ = _Fw; var _YQ = _Iw; var _ZQ = _Tw; var __Q = _0R; function _0R() { if (typeof(_cv._W4.GenerateSpotifyApp) != "undefined") { if (typeof(g_fbOAuthToken) != "undefined") { if (g_fbOAuthToken != null) { var _tw = 'https://www.facebook.com/logout.php?access_token=' + g_fbOAuthToken + '&app_id=' + _cv._W4._Dw + '&next=http://www.yoyogames.com/facebook/wordsong/index.html'; var _uw = new XMLHttpRequest(); _uw.open('GET', _tw); _uw.send(null); g_fbOAuthToken = null; _gw = 'UNINITIALISED' } } } else { debug("facebook_logout"); FB.logout(function(response) { if (response.status != 'connected') { _gw = _5w; _fw = ""; g_fbOAuthToken = "" } }) } return 0 } var _1R = _2R; function _2R(_3R, _4R) { if (_3R == 0) { return __E(_4R) } else { if (_Dm[_3R] && (_4R <= 1)) { return _Dm[_3R].__k } } return 0 } var _5R = _6R; function _6R(_3R, _4R) { if (_3R == 0) { return _1F(_4R) } else { if (_Dm[_3R] && (_4R <= 1)) { return _Dm[_3R]._Vk } } return 0 } var _7R = _8R; function _8R(_3R, _4R) { if (_3R == 0) { return _2F(_4R) } else { if (_Dm[_3R] && (_4R <= 1)) { return _Dm[_3R]._Zk } } return 0 } var _9R = _aR; function _aR(_3R) { if (_3R == 0) { return _O7._v9 } else if (_Dm[_3R]) { return _Dm[_3R]._w2 } return 0 } var _bR = _cR; function _cR(_3R) { if (_3R == 0 && _dR[0]) { return _dR[0]._w2 } else if (_Dm[_3R]) { return _Dm[_3R]._w2 } return 0 } var _eR = _fR; function _fR(_3R) { if (_3R == 0) { return _O7._w9 } else if (_Dm[_3R]) { return _Dm[_3R]._x2 } return 0 } var _gR = _hR; function _hR(_3R) { if (_3R == 0 && _dR[0]) { return _dR[0]._x2 } else if (_Dm[_3R]) { return _Dm[_3R]._x2 } return 0 } var _iR = _jR; function _jR() { return _kR } var _lR = _mR; function _mR() { return _nR }; function _pa(_Rs) { if (_oR) { _pR = _qR; _rR = _sR } _oR = _Rs } function _tR() { var _SF = 0; var _TF = 0; var _uR = 0; var _vR = 0; canvas = document.getElementById(_rv); var _wR = _7O; var _xR = _8O; if (_yR && _zR) { var _y2 = _qR; var _z2 = _sR; var _Jq, _Vf, _Uf; _Jq = _y2 / _z2; _Vf = _wR / _Jq; if (_Vf < _xR) { _Jq = _z2 / _y2; _Vf = _wR * _Jq; _TF = (_xR - _Vf) / 2; _Uf = _wR; _Vf += _TF } else { _Jq = _y2 / _z2; _Uf = _xR * _Jq; _SF = (_wR - _Uf) / 2; _Vf = _xR; _Uf += _SF } _uR = _Uf; _vR = _Vf } else { _uR = _wR; _vR = _xR } _AR._w2 = _SF; _AR._x2 = _TF; _AR._y2 = _uR - _SF; _AR._z2 = _vR - _TF }(function() { 'use strict'; Function.prototype._BR = function(parent) { this.prototype.parent = parent; for (var _w2 in parent.prototype) { if (!this.prototype[_w2]) this.prototype[_w2] = parent.prototype[_w2] } }; Function.prototype._CR = function(parent) { return this._BR(parent) }; Array.prototype._DR = function(_m2, _bv, _ER) { if (typeof(_m2) === 'undefined') _m2 = 0; if (typeof(_bv) === 'undefined') _bv = this.length - _m2; if (typeof(_ER) === 'undefined') _ER = function(_Wg, _xf) { return _Wg < _xf }; var left = _m2, _go = [], _Gn = 0; for (;;) { for (; left + 1 < _bv; _bv++) { var _FR = this[left + Math.floor(Math.random() * (_bv - left))]; _go[_Gn++] = _bv; for (var _1f = left - 1;;) { while (_ER(this[++_1f], _FR)) {} while (_ER(_FR, this[--_bv])) {} if (_1f >= _bv) break; var _QA = this[_1f]; this[_1f] = this[_bv]; this[_bv] = _QA } } if (_Gn === 0) break; left = _bv; _bv = _go[--_Gn] } return this }; Array.prototype._GR = function(_HR, length) { if (typeof(length) === 'undefined') length = this.length; var _sf = 0; for (var _v2 = 0; _v2 < length; ++_v2) { if (_HR(this[_v2])) continue; if (_v2 === _sf) { ++_sf; continue } this[_sf++] = this[_v2] } return _sf }; Array.prototype._IR = function(_m2, _n2, _Pk, _ER) { if (typeof(_ER) === 'undefined') _ER = function(_Wg, _xf) { return _Wg < _xf }; var _fg = _n2 - _m2; while (_fg > 0) { var _JR = Math.floor(_fg / 2); var _KR = _m2 + _JR; if (_ER(this[_KR], _Pk)) { _m2 = ++_KR; _fg -= _JR + 1 } else _fg = _JR } return _m2 }; Array.prototype._LR = function(_m2, _n2, _Pk, _ER) { if (typeof(_ER) === 'undefined') _ER = function(_Wg, _xf) { return _Wg < _xf }; var _fg = _n2 - _m2; while (_fg > 0) { var _JR = Math.floor(_fg / 2); var _KR = _m2 + _JR; if (!_ER(_Pk, this[_KR])) { _m2 = ++_KR; _fg -= _JR + 1 } else _fg = _JR } return _m2 }; Array.prototype.rotate = function(_m2, _MR, _n2) { var _Yn = _MR; while (_m2 != _Yn) { var _NR = this[_m2]; this[_m2] = this[_Yn]; this[_Yn] = _NR; ++_m2; ++_Yn; if (_Yn === _n2) _Yn = _MR; else if (_m2 === _MR) _MR = _Yn } }; var _OR = (function() { var _PR = function() { return +new Date() }; if (typeof(_QR) === 'undefined') window['performance'] = { now: _PR }; if (!window['performance'].now) window['performance'].now = _PR; function _RR(name, parent) { this.name = name; this.parent = parent; this._SR = {}; this._TR = 0; this._UR = 0; this._VR = 0; this._WR = !1; this._XR = 0 } _RR.prototype = { start: function() { this._TR = _QR.now(); this._WR = !0 }, stop: function(_YR) { if (!this._WR) return; this._WR = !1; this._UR += _QR.now() - this._TR; if (_YR) this.start(); for (var _w2 in this._SR) this._SR[_w2].stop() }, _YR: function(_ZR) { if (!_ZR) { this._WR = !0; this._VR += this._UR; this.start() } this._UR = 0; for (var _w2 in this._SR) this._SR[_w2]._YR(!0) } }; var __R = []; var _fe = new _RR("root"); function _0S(name, parent) { if (!__R) throw new _ym("late profile creation not allowed"); var _ov = new _RR(name, parent || 'root'); __R.push(_ov); return _ov } function _1S(_2S) { _2S._XR--; delete _2S._SR[_2S.name] } function _3S(_6O, _2S) { if (_6O.name === _2S.parent) return _6O; for (var _w2 in _6O._SR) { var _df; if (_df = _3S(_6O._SR[_w2], _2S)) return _df } return null } function init() { while (__R.length) { var _yA = __R.pop(); if (!(_yA.parentNode = _3S(_fe, _yA))) __R._4S(_yA); else { _yA.parentNode._SR[_yA.name] = _yA; _yA.parentNode._XR++ } } __R = null } function _5S() { _fe._YR(!0) } var _on = { _0S: _0S, _1S: _1S, init: init, _YR: _5S, _6S: _fe }; return _on }()); function _7S(_8S) { if (!_8S) { console.log("Assertion failed! Pls debug."); _9S } } var _aS = Number.MAX_VALUE; var _bS = 2.2204460492503131e-016; var _cS = Math.PI; var _dS = 2; var _eS = 8; var _fS = 0.1; var _gS = 2.0; var _hS = 0.005; var _iS = (2.0 / 180.0 * _cS); var _jS = (2.0 * _hS); var _kS = 8; var _lS = 32; var _mS = 1.0; var _nS = 0.2; var _oS = (8.0 / 180.0 * _cS); var _pS = 2.0; var _qS = (_pS * _pS); var _rS = (0.5 * _cS); var _sS = (_rS * _rS); var _tS = 0.2; var _uS = 0.75; var _vS = 0.5; var _wS = 0.01; var _xS = (2.0 / 180.0 * _cS); var _yS = (-1); var _zS = 0.75; var _AS = 1.0; var _BS = 5.0; var _CS = 2; var _DS = (_CS * _CS); var _ES = 256; function _FS(_GS, _HS, _IS) { this._JS = _GS; this._KS = _HS; this._LS = _IS } _FS.prototype = { toString: function() { return this._JS + '.' + this._KS + '.' + this._LS } }; var _MS = new _FS(2, 3, 1); function _NS(_w2) { return isFinite(_w2) && !isNaN(_w2) } var _OS = Math.sqrt; var _PS = Math.atan2; var _QS = Math.sin; var _RS = Math.cos; var _SS = Math.floor; var _TS = Math.ceil; var _US = _OS; var _VS = _PS; function _WS(_w2) { return 1.0 / _OS(_w2) } function _XS(_w2, _x2) { if (typeof(_w2) !== 'undefined') { this._w2 = _w2; this._x2 = _x2 } else this._w2 = this._x2 = 0 } _XS.prototype = { _4e: function() { return new _XS(this._w2, this._x2) }, _YS: function() { this._w2 = 0.0; this._x2 = 0.0; return this }, _Tn: function(_ZS, __S) { this._w2 = _ZS; this._x2 = __S; return this }, _0T: function(_sf) { this._w2 = _sf._w2; this._x2 = _sf._x2; return this }, _1T: function() { var _8h = new _XS(); _8h._Tn(-this._w2, -this._x2); return _8h }, _2T: function(_u2) { switch (_u2) { case 0: return this._w2; case 1: return this._x2 } }, _3T: function(_u2, _8h) { switch (_u2) { case 0: return this._w2 = _8h; case 1: return this._x2 = _8h } }, _yn: function(_8h) { this._w2 += _8h._w2; this._x2 += _8h._x2; return this }, _4T: function(_8h) { this._w2 -= _8h._w2; this._x2 -= _8h._x2; return this }, _9u: function(_Wg) { this._w2 *= _Wg; this._x2 *= _Wg; return this }, _5T: function() { return _US(this._w2 * this._w2 + this._x2 * this._x2) }, _6T: function() { return this._w2 * this._w2 + this._x2 * this._x2 }, _7T: function() { var length = this._5T(); if (length < _bS) { return 0.0 } var _8T = 1.0 / length; this._w2 *= _8T; this._x2 *= _8T; return length }, _9T: function() { return _NS(this._w2) && _NS(this._x2) }, _aT: function() { return new _XS(-this._x2, this._w2) }, _bT: function(_cT) { var _Nw = _cT || []; _Nw[0] = this._w2; _Nw[1] = this._x2; return _Nw }, _dT: function(data) { this._w2 = data[0]; this._x2 = data[1] } }; _XS._yn = function(_Wg, _xf) { return new _XS(_Wg._w2 + _xf._w2, _Wg._x2 + _xf._x2) }; _XS._4T = function(_Wg, _xf) { return new _XS(_Wg._w2 - _xf._w2, _Wg._x2 - _xf._x2) }; _XS._eT = function(_Wg, _xf) { return _Wg._w2 == _xf._w2 && _Wg._x2 == _xf._x2 }; _XS._9u = function(_ov, _Wg) { return new _XS(_ov * _Wg._w2, _ov * _Wg._x2) }; _XS._1T = function(_Wg) { return new _XS(-_Wg._w2, -_Wg._x2) }; function _fT(_w2, _x2, _ei) { if (typeof(_w2) !== 'undefined') { this._w2 = _w2; this._x2 = _x2; this._ei = _ei } } _fT.prototype = { _4e: function() { return new _fT(this._w2, this._x2, this._ei) }, _YS: function() { this._w2 = 0.0; this._x2 = 0.0; this._ei = 0.0 }, _Tn: function(_ZS, __S, _gT) { this._w2 = _ZS; this._x2 = __S; this._ei = _gT }, _1T: function() { var _8h = new _fT(); _8h._Tn(-this._w2, -this._x2, -this._ei); return _8h }, _yn: function(_8h) { this._w2 += _8h._w2; this._x2 += _8h._x2; this._ei += _8h._ei }, _4T: function(_8h) { this._w2 -= _8h._w2; this._x2 -= _8h._x2; this._ei -= _8h._ei }, _9u: function(_ov) { this._w2 *= _ov; this._x2 *= _ov; this._ei *= _ov }, _w2: 0, _x2: 0, _ei: 0 }; _fT._9u = function(_ov, _Wg) { return new _fT(_ov * _Wg._w2, _ov * _Wg._x2, _ov * _Wg._ei) }; _fT._yn = function(_Wg, _xf) { return new _fT(_Wg._w2 + _xf._w2, _Wg._x2 + _xf._x2, _Wg._ei + _xf._ei) }; _fT._4T = function(_Wg, _xf) { return new _fT(_Wg._w2 - _xf._w2, _Wg._x2 - _xf._x2, _Wg._ei - _xf._ei) }; function _hT(_iT, _jT) { this._0L = _iT ? _iT._4e() : new _XS(); this._kT = _jT ? _jT._4e() : new _XS() } _hT.prototype = { _Tn: function(_iT, _jT) { this._0L._0T(_iT); this._kT._0T(_jT) }, _0T: function(_uu) { this._0L._0T(_uu._0L); this._kT._0T(_uu._kT) }, _lT: function() { this._0L._w2 = 1.0; this._kT._w2 = 0.0; this._0L._x2 = 0.0; this._kT._x2 = 1.0 }, _YS: function() { this._0L._w2 = 0.0; this._kT._w2 = 0.0; this._0L._x2 = 0.0; this._kT._x2 = 0.0 }, _mT: function() { var _Wg = this._0L._w2, _xf = this._kT._w2, _v2 = this._0L._x2, _Bp = this._kT._x2; var _nT = new _hT(); var _oT = _Wg * _Bp - _xf * _v2; if (_oT != 0.0) { _oT = 1.0 / _oT } _nT._0L._w2 = _oT * _Bp; _nT._kT._w2 = -_oT * _xf; _nT._0L._x2 = -_oT * _v2; _nT._kT._x2 = _oT * _Wg; return _nT }, _pT: function(_xf) { var _qT = this._0L._w2, _rT = this._kT._w2, _sT = this._0L._x2, _tT = this._kT._x2; var _oT = _qT * _tT - _rT * _sT; if (_oT != 0.0) { _oT = 1.0 / _oT } var _w2 = new _XS(); _w2._w2 = _oT * (_tT * _xf._w2 - _rT * _xf._x2); _w2._x2 = _oT * (_qT * _xf._x2 - _sT * _xf._w2); return _w2 } }; _hT._yn = function(_8S, _nT) { return new _hT(_XS._yn(_8S._0L, _nT._0L), _XS._yn(_8S._kT, _nT._kT)) }; function _uT(_iT, _jT, _vT) { this._0L = _iT ? _iT._4e() : new _fT(); this._kT = _jT ? _jT._4e() : new _fT(); this._wT = _vT ? _vT._4e() : new _fT() } _uT.prototype = { _YS: function() { this._0L._YS(); this._kT._YS(); this._wT._YS() }, _xT: function(_xf) { var _oT = _yT(this._0L, _zT(this._kT, this._wT)); if (_oT != 0.0) { _oT = 1.0 / _oT } var _w2 = new _fT(); _w2._w2 = _oT * _yT(_xf, _zT(this._kT, this._wT)); _w2._x2 = _oT * _yT(this._0L, _zT(_xf, this._wT)); _w2._ei = _oT * _yT(this._0L, _zT(this._kT, _xf)); return _w2 }, _AT: function(_xf) { var _qT = this._0L._w2, _rT = this._kT._w2, _sT = this._0L._x2, _tT = this._kT._x2; var _oT = _qT * _tT - _rT * _sT; if (_oT != 0.0) { _oT = 1.0 / _oT } var _w2 = new _XS(); _w2._w2 = _oT * (_tT * _xf._w2 - _rT * _xf._x2); _w2._x2 = _oT * (_qT * _xf._x2 - _sT * _xf._w2); return _w2 }, _BT: function(_CT) { var _Wg = this._0L._w2, _xf = this._kT._w2, _v2 = this._0L._x2, _Bp = this._kT._x2; var _oT = _Wg * _Bp - _xf * _v2; if (_oT != 0.0) { _oT = 1.0 / _oT } _CT._0L._w2 = _oT * _Bp; _CT._kT._w2 = -_oT * _xf; _CT._0L._ei = 0.0; _CT._0L._x2 = -_oT * _v2; _CT._kT._x2 = _oT * _Wg; _CT._kT._ei = 0.0; _CT._wT._w2 = 0.0; _CT._wT._x2 = 0.0; _CT._wT._ei = 0.0 }, _DT: function(_CT) { var _oT = _yT(this._0L, _zT(this._kT, this._wT)); if (_oT != 0.0) { _oT = 1.0 / _oT } var _qT = this._0L._w2, _rT = this._kT._w2, _ET = this._wT._w2; var _tT = this._kT._x2, _FT = this._wT._x2; var _GT = this._wT._ei; _CT._0L._w2 = _oT * (_tT * _GT - _FT * _FT); _CT._0L._x2 = _oT * (_ET * _FT - _rT * _GT); _CT._0L._ei = _oT * (_rT * _FT - _ET * _tT); _CT._kT._w2 = _CT._0L._x2; _CT._kT._x2 = _oT * (_qT * _GT - _ET * _ET); _CT._kT._ei = _oT * (_ET * _rT - _qT * _FT); _CT._wT._w2 = _CT._0L._ei; _CT._wT._x2 = _CT._kT._ei; _CT._wT._ei = _oT * (_qT * _tT - _rT * _rT) } }; function _HT(_Cg, _v2) { if (typeof(_v2) !== 'undefined') { this._ov = _Cg; this._v2 = _v2 } else if (typeof(_Cg) !== 'undefined') this._Tn(_Cg); } _HT.prototype = { _4e: function() { return new _HT(this._ov, this._v2) }, _0T: function(_sf) { this._ov = _sf._ov; this._v2 = _sf._v2 }, _Tn: function(_w2) { this._ov = _QS(_w2); this._v2 = _RS(_w2) }, _lT: function() { this._ov = 0.0; this._v2 = 1.0 }, _IT: function() { return _VS(this._ov, this._v2) }, _JT: function() { return new _XS(this._v2, this._ov) }, _KT: function() { return new _XS(-this._ov, this._v2) }, _ov: 0, _v2: 1 }; function _LT(position, _E4) { this._yA = new _XS(); this._rz = new _HT(); if (position) { this._yA._0T(position); this._rz._0T(_E4) } } _LT.prototype = { _4e: function() { var _MT = new _LT(this._yA, this._rz); return _MT }, _0T: function(_MT) { this._yA._0T(_MT._yA); this._rz._0T(_MT._rz) }, _lT: function() { this._yA._YS(); this._rz._lT() }, _Tn: function(position, _Cg) { this._yA._0T(position); this._rz._Tn(_Cg) } }; function _NT() { this._OT = new _XS(); this._PT = new _XS(); this._v2 = new _XS() } _NT.prototype = { _0T: function(_QT) { this._OT._0T(_QT._OT); this._PT._0T(_QT._PT); this._v2._0T(_QT._v2); this._Wg = _QT._Wg; this._RT = _QT._RT; this._ST = _QT._ST }, _4e: function() { var _QT = new _NT(); _QT._OT._0T(this._OT); _QT._PT._0T(this._PT); _QT._v2._0T(this._v2); _QT._Wg = this._Wg; _QT._RT = this._RT; _QT._ST = this._ST; return _QT }, _TT: function(_MT, _UT) { _MT._yA._w2 = ((1.0 - _UT) * this._PT._w2) + (_UT * this._v2._w2); _MT._yA._x2 = ((1.0 - _UT) * this._PT._x2) + (_UT * this._v2._x2); var _Cg = (1.0 - _UT) * this._RT + _UT * this._Wg; _MT._rz._Tn(_Cg); _MT._yA._w2 -= _MT._rz._v2 * this._OT._w2 - _MT._rz._ov * this._OT._x2; _MT._yA._x2 -= _MT._rz._ov * this._OT._w2 + _MT._rz._v2 * this._OT._x2 }, _VT: function(alpha) { _7S(this._ST < 1.0); var _UT = (alpha - this._ST) / (1.0 - this._ST); this._PT._yn(_XS._9u(_UT, _XS._4T(this._v2, this._PT))); this._RT += _UT * (this._Wg - this._RT); this._ST = alpha }, _7T: function() { var _WT = 2.0 * _cS; var _Bp = _WT * _SS(this._RT / _WT); this._RT -= _Bp; this._Wg -= _Bp }, _RT: 0, _Wg: 0, _ST: 0 }; function _XT(_Wg, _xf) { return _Wg._w2 * _xf._w2 + _Wg._x2 * _xf._x2 } function _YT(_Wg, _xf) { return _Wg._w2 * _xf._x2 - _Wg._x2 * _xf._w2 } function _ZT(_Wg, _ov) { return new _XS(_ov * _Wg._x2, -_ov * _Wg._w2) } function __T(_ov, _Wg) { return new _XS(-_ov * _Wg._x2, _ov * _Wg._w2) } function _0U(_8S, _8h) { return new _XS(_8S._0L._w2 * _8h._w2 + _8S._kT._w2 * _8h._x2, _8S._0L._x2 * _8h._w2 + _8S._kT._x2 * _8h._x2) } function _1U(_8S, _8h) { return new _XS(_XT(_8h, _8S._0L), _XT(_8h, _8S._kT)) } function _2U(_Wg, _xf) { var _v2 = _XS._4T(_Wg, _xf); return _v2._5T() } function _3U(_Wg, _xf) { var _v2 = _XS._4T(_Wg, _xf); return _XT(_v2, _v2) } function _yT(_Wg, _xf) { return _Wg._w2 * _xf._w2 + _Wg._x2 * _xf._x2 + _Wg._ei * _xf._ei } function _zT(_Wg, _xf) { return new _fT(_Wg._x2 * _xf._ei - _Wg._ei * _xf._x2, _Wg._ei * _xf._w2 - _Wg._w2 * _xf._ei, _Wg._w2 * _xf._x2 - _Wg._x2 * _xf._w2) } function _4U(_8S, _nT) { return new _hT(_0U(_8S, _nT._0L), _0U(_8S, _nT._kT)) } function _5U(_8S, _nT) { var _iT = new _XS(_XT(_8S._0L, _nT._0L), _XT(_8S._kT, _nT._0L)); var _jT = new _XS(_XT(_8S._0L, _nT._kT), _XT(_8S._kT, _nT._kT)); return new _hT(_iT, _jT) } function _6U(_8S, _8h) { return _fT._yn(_fT._yn(_fT._9u(_8h._w2, _8S._0L), _fT._9u(_8h._x2, _8S._kT)), _fT._9u(_8h._ei, _8S._wT)) } function _7U(_8S, _8h) { return new _XS(_8S._0L._w2 * _8h._w2 + _8S._kT._w2 * _8h._x2, _8S._0L._x2 * _8h._w2 + _8S._kT._x2 * _8h._x2) } function _8U(_rz, _uf) { var _9U = new _HT(); _9U._ov = _rz._ov * _uf._v2 + _rz._v2 * _uf._ov; _9U._v2 = _rz._v2 * _uf._v2 - _rz._ov * _uf._ov; return _9U } function _aU(_rz, _uf) { var _9U = new _HT(); _9U._ov = _rz._v2 * _uf._ov - _rz._ov * _uf._v2; _9U._v2 = _rz._v2 * _uf._v2 + _rz._ov * _uf._ov; return _9U } function _bU(_rz, _8h) { return new _XS(_rz._v2 * _8h._w2 - _rz._ov * _8h._x2, _rz._ov * _8h._w2 + _rz._v2 * _8h._x2) } function _cU(_rz, _8h) { return new _XS(_rz._v2 * _8h._w2 + _rz._ov * _8h._x2, -_rz._ov * _8h._w2 + _rz._v2 * _8h._x2) } function _dU(_eU, _8h) { return new _XS((_eU._rz._v2 * _8h._w2 - _eU._rz._ov * _8h._x2) + _eU._yA._w2, (_eU._rz._ov * _8h._w2 + _eU._rz._v2 * _8h._x2) + _eU._yA._x2) } function _fU(_eU, _8h) { var _fp = _8h._w2 - _eU._yA._w2; var _gp = _8h._x2 - _eU._yA._x2; var _w2 = (_eU._rz._v2 * _fp + _eU._rz._ov * _gp); var _x2 = (-_eU._rz._ov * _fp + _eU._rz._v2 * _gp); return new _XS(_w2, _x2) } function _gU(_8S, _nT) { var _hU = new _LT(); _hU._rz = _8U(_8S._rz, _nT._rz); _hU._yA = _XS._yn(_bU(_8S._rz, _nT._yA), _8S._yA); return _hU } function _iU(_8S, _nT) { var _hU = new _LT(); _hU._rz = _aU(_8S._rz, _nT._rz); var _jU = _nT._yA._w2 - _8S._yA._w2; var _kU = _nT._yA._x2 - _8S._yA._x2; _hU._yA._w2 = _8S._rz._v2 * _jU + _8S._rz._ov * _kU; _hU._yA._x2 = -_8S._rz._ov * _jU + _8S._rz._v2 * _kU; return _hU } var _lU = Math.abs; function _mU(_Wg) { return new _XS(_lU(_Wg._w2), _lU(_Wg._x2)) } function _nU(_8S) { return new _hT(_mU(_8S._0L), _mU(_8S._kT)) } var _oU = Math.min; function _pU(_Wg, _xf) { return new _XS(_oU(_Wg._w2, _xf._w2), _oU(_Wg._x2, _xf._x2)) } var _qU = Math.max; function _rU(_Wg, _xf) { return new _XS(_qU(_Wg._w2, _xf._w2), _qU(_Wg._x2, _xf._x2)) } function _sU(_Wg, _2o, _1o) { return _qU(_2o, _oU(_Wg, _1o)) } function _tU(_Wg, _2o, _1o) { return _rU(_2o, _pU(_Wg, _1o)) } function _uU(_w2) { _w2 |= (_w2 >> 1); _w2 |= (_w2 >> 2); _w2 |= (_w2 >> 4); _w2 |= (_w2 >> 8); _w2 |= (_w2 >> 16); return _w2 + 1 } function _vU(_w2) { var _Ev = _w2 > 0 && (_w2 & (_w2 - 1)) == 0; return _Ev } var _wU = 32767; function _xU(_yU, _zU) { var _uf = Math.random(); if (typeof(_yU) !== 'undefined') _uf = (_zU - _yU) * _uf + _yU; else _uf = 2.0 * _uf - 1.0; return _uf } function _AU(_uf, _Vg, _xf) { this._uf = _uf || 0; this._Vg = _Vg || 0; this._xf = _xf || 0 } _AU.prototype = { _Tn: function(_uf, _Vg, _xf) { this._uf = _uf; this._Vg = _Vg; this._xf = _xf } }; function _BU() {} _BU.prototype = { _CU: function(_VP) { this._DU = _VP }, _EU: function() { return this._DU }, _FU: function(_VP) { this._DU |= _VP }, _GU: function(_VP) { this._DU &= ~_VP }, _HU: function(_VP) { this._DU ^= _VP }, _IU: function(_2h, _JU, _Ng) {}, _KU: function(_2h, _JU, _Ng) {}, _LU: function(_MU, _NU, _Ng) {}, _OU: function(_MU, _NU, _PU, _Ng) {}, _QU: function(_RU, _SU, _Ng) {}, _TU: function(_MT) {}, _UU: function(_VU, _NU, _WU, _fg) {}, _DU: 0 }; _BU._XU = 1; _BU._YU = 2; _BU._ZU = 4; _BU.__U = 8; _BU._0V = 16; _BU._1V = 32; _BU._2V = 64; _BU._3V = 128; _BU._4V = 256; _BU._5V = 512; _BU._6V = 1024; if (typeof(_QR) === 'undefined') { window._QR = { now: function() { return +new Date() } } } function _7V() { this._8V() } _7V.prototype = { _8V: function() { this._9V = _QR.now() }, _aV: function() { return _QR.now() - this._9V } }; function _bV() { this._cV = 0; this._MU = new _XS(); this._dV = 0 } function _eV() { this._fV = 0; this._gV = 0 } _eV.prototype = { _4e: function() {}, _hV: function() { return this._fV }, _iV: function() {}, _jV: function(_MT, _yA) {}, _kV: function(_gz, _ez, transform, _lV) {}, _mV: function(_nV, _MT, _lV) {}, _oV: function(_pV, _qV) {}, _rV: function(_MT, _yA, _sV, _tV, _lV) {}, _bT: function(_cT) { var _Nw = _cT || {}; _Nw['m_type'] = this._fV; _Nw['m_radius'] = this._gV; return _Nw }, _dT: function(data) { this._gV = data['m_radius'] } }; _eV._uV = 0; _eV._vV = 1; _eV._wV = 2; _eV._xV = 3; _eV._yV = 4; function _zV() { this.parent.call(this); this._fV = _eV._uV; this._gV = 0; this._AV = new _XS(); Object.seal(this) } _zV.prototype = { _4e: function() { var _BV = new _zV(); _BV._gV = this._gV; _BV._AV = this._AV._4e(); return _BV }, _iV: function() { return 1 }, _jV: function(transform, _yA) { var _MU = _XS._yn(transform._yA, _bU(transform._rz, this._AV)); var _Bp = _XS._4T(_yA, _MU); return _XT(_Bp, _Bp) <= this._gV * this._gV }, _kV: function(_gz, _ez, transform, _lV) { var position = _XS._yn(transform._yA, _bU(transform._rz, this._AV)); var _ov = _XS._4T(_ez._RU, position); var _xf = _XT(_ov, _ov) - this._gV * this._gV; var _uf = _XS._4T(_ez._SU, _ez._RU); var _v2 = _XT(_ov, _uf); var _hA = _XT(_uf, _uf); var _CV = _v2 * _v2 - _hA * _xf; if (_CV < 0.0 || _hA < _bS) { return !1 } var _Wg = -(_v2 + _US(_CV)); if (0.0 <= _Wg && _Wg <= _ez._DV * _hA) { _Wg /= _hA; _gz._EV = _Wg; _gz._tV = _XS._yn(_ov, _XS._9u(_Wg, _uf)); _gz._tV._7T(); return !0 } return !1 }, _mV: function(_nV, transform, _lV) { var _fp = transform._yA._w2 + (transform._rz._v2 * this._AV._w2 - transform._rz._ov * this._AV._x2); var _gp = transform._yA._x2 + (transform._rz._ov * this._AV._w2 + transform._rz._v2 * this._AV._x2); _nV._FV._w2 = _fp - this._gV; _nV._FV._x2 = _gp - this._gV; _nV._GV._w2 = _fp + this._gV; _nV._GV._x2 = _gp + this._gV }, _oV: function(_pV, _qV) { _pV._cV = _qV * _cS * this._gV * this._gV; _pV._MU = this._AV; _pV._dV = _pV._cV * (0.5 * this._gV * this._gV + _XT(this._AV, this._AV)) }, _HV: function(_Bp) { return 0 }, _IV: function(_Bp) { return this._AV }, _JV: function() { return 1 }, _KV: function(index) { _7S(index == 0); return this._AV }, _rV: function(transform, _yA, _sV, _tV, _lV) { var _MU = _XS._yn(transform._yA, _bU(transform._rz, this._AV)); var _Bp = _XS._4T(_yA, _MU); var _LV = _Bp._5T(); _sV[0] = _LV - this._gV; _tV._0T(_XS._9u(1 / _LV, _Bp)) }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['m_p'] = this._AV._bT(); return _Nw }, _dT: function(data) { this.parent.prototype._dT.call(this, data); this._AV._dT(data['m_p']) } }; _zV._BR(_eV); function _MV() { this.parent.call(this); this._fV = _eV._vV; this._gV = _jS; this._NV = new _XS(); this._OV = new _XS(); this._PV = new _XS(); this._QV = new _XS(); this._RV = !1; this._SV = !1; Object.seal(this) } _MV.prototype = { _Tn: function(_Th, _Uh) { this._OV._0T(_Th); this._PV._0T(_Uh); this._RV = !1; this._SV = !1 }, _4e: function() { var _BV = new _MV(); _BV._NV = this._NV._4e(); _BV._OV = this._OV._4e(); _BV._PV = this._PV._4e(); _BV._QV = this._QV._4e(); _BV._RV = this._RV; _BV._SV = this._SV; return _BV; }, _iV: function() { return 1 }, _jV: function(transform, _yA) { return !1 }, _kV: function(_gz, _ez, _MT, _lV) { var _RU = _cU(_MT._rz, _XS._4T(_ez._RU, _MT._yA)); var _SU = _cU(_MT._rz, _XS._4T(_ez._SU, _MT._yA)); var _Bp = _XS._4T(_SU, _RU); var _Th = this._OV; var _Uh = this._PV; var e = _XS._4T(_Uh, _Th); var _tV = new _XS(e._x2, -e._w2); _tV._7T(); var _TV = _XT(_tV, _XS._4T(_Th, _RU)); var _UV = _XT(_tV, _Bp); if (_UV == 0.0) { return !1 } var _wf = _TV / _UV; if (_wf < 0.0 || _ez._DV < _wf) { return !1 } var _rz = _XS._yn(_RU, _XS._9u(_wf, _Bp)); var _uf = _XS._4T(_Uh, _Th); var _hA = _XT(_uf, _uf); if (_hA == 0.0) { return !1 } var _ov = _XT(_XS._4T(_rz, _Th), _uf) / _hA; if (_ov < 0.0 || 1.0 < _ov) { return !1 } _gz._EV = _wf; if (_TV > 0.0) { _gz._tV = _bU(_MT._rz, _tV)._1T() } else { _gz._tV = _bU(_MT._rz, _tV) } return !0 }, _mV: function(_nV, _MT, _lV) { var _kp = (_MT._rz._v2 * this._OV._w2 - _MT._rz._ov * this._OV._x2) + _MT._yA._w2; var _np = (_MT._rz._ov * this._OV._w2 + _MT._rz._v2 * this._OV._x2) + _MT._yA._x2; var _lp = (_MT._rz._v2 * this._PV._w2 - _MT._rz._ov * this._PV._x2) + _MT._yA._w2; var _op = (_MT._rz._ov * this._PV._w2 + _MT._rz._v2 * this._PV._x2) + _MT._yA._x2; var _VV = _oU(_kp, _lp); var _WV = _oU(_np, _op); var _XV = _qU(_kp, _lp); var _YV = _qU(_np, _op); _nV._FV._w2 = _VV - this._gV; _nV._FV._x2 = _WV - this._gV; _nV._GV._w2 = _XV + this._gV; _nV._GV._x2 = _YV + this._gV }, _oV: function(_pV, _qV) { _pV._cV = 0.0; _pV._MU = _XS._9u(0.5, _XS._yn(this._OV, this._PV)); _pV._dV = 0.0 }, _rV: function(_MT, _yA, _sV, _tV, _lV) { var _Th = _dU(_MT, this._OV); var _Uh = _dU(_MT, this._PV); var _Bp = _XS._4T(_yA, _Th); var _ov = _XS._4T(_Uh, _Th); var _ZV = _XT(_Bp, _ov); if (_ZV > 0) { var _Bu = _XT(_ov, _ov); if (_ZV > _Bu) { _Bp._0T(_XS._4T(_yA, _Uh)) } else { _Bp._4T(_XS._9u(_ZV / _Bu, _ov)) } } var _LV = _Bp._5T(); _sV[0] = _LV; _tV._0T(_LV > 0 ? _XS._9u(1 / _LV, _Bp) : new _XS(0, 0)) }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['m_vertex1'] = this._OV._bT(); _Nw['m_vertex2'] = this._PV._bT(); _Nw['m_hasVertex0'] = this._RV; if (this._RV) _Nw['m_vertex0'] = this._NV._bT(); _Nw['m_hasVertex3'] = this._SV; if (this._SV) _Nw['m_vertex3'] = this._QV._bT(); return _Nw }, _dT: function(data) { this.parent.prototype._dT.call(this, data); this._OV._dT(data['m_vertex1']); this._PV._dT(data['m_vertex2']); this._RV = data['m_hasVertex0']; if (this._RV) this._NV._dT(data['m_vertex0']); this._SV = data['m_hasVertex3']; if (this._SV) this._QV._dT(data['m_vertex3']) } }; _MV._BR(_eV); function __V() { this.parent.call(this); this._fV = _eV._xV; this._gV = _jS; this._0W = null; this._1W = 0; this._2W = new _XS(); this._3W = new _XS(); this._4W = !1; this._5W = !1; Object.seal(this) } __V._6W = new _MV(); __V.prototype = { _7W: function(_2h, _fg) { _7S(this._0W == null && this._1W == 0); _7S(_fg >= 3); for (var _u2 = 1; _u2 < _fg; ++_u2) { var _Th = _2h[_u2 - 1]; var _Uh = _2h[_u2]; _7S(_3U(_Th, _Uh) > _hS * _hS) } this._1W = _fg + 1; this._0W = new Array(this._1W); for (var _u2 = 0; _u2 < _fg; ++_u2) this._0W[_u2] = _2h[_u2]._4e(); this._0W[_fg] = this._0W[0]._4e(); this._2W._0T(this._0W[this._1W - 2]); this._3W._0T(this._0W[1]); this._4W = !0; this._5W = !0 }, _8W: function(_2h, _fg) { _7S(this._0W == null && this._1W == 0); _7S(_fg >= 2); for (var _u2 = 1; _u2 < _fg; ++_u2) { var _Th = _2h[_u2 - 1]; var _Uh = _2h[_u2]; _7S(_3U(_Th, _Uh) > _hS * _hS) } this._1W = _fg; this._0W = new Array(_fg); for (var _u2 = 0; _u2 < _fg; ++_u2) this._0W[_u2] = _2h[_u2]._4e(); this._4W = !1; this._5W = !1; this._2W._YS(); this._3W._YS() }, _9W: function(_aW) { this._2W._0T(_aW); this._4W = !0 }, _bW: function(_cW) { this._3W._0T(_cW); this._5W = !0 }, _4e: function() { var _BV = new __V(); _BV._1W = this._1W; _BV._0W = new Array(this._1W); for (var _u2 = 0; _u2 < this._1W; ++_u2) _BV._0W[_u2] = this._0W[_u2]._4e(); _BV._2W = this._2W._4e(); _BV._3W = this._3W._4e(); _BV._4W = this._4W; _BV._5W = this._5W; return _BV }, _iV: function() { return this._1W - 1 }, _dW: function(_eW, index) { _7S(0 <= index && index < this._1W - 1); _eW._fV = _eV._vV; _eW._gV = this._gV; _eW._OV = this._0W[index + 0]; _eW._PV = this._0W[index + 1]; if (index > 0) { _eW._NV = this._0W[index - 1]; _eW._RV = !0 } else { _eW._NV = this._2W; _eW._RV = this._4W } if (index < this._1W - 2) { _eW._QV = this._0W[index + 2]; _eW._SV = !0 } else { _eW._QV = this._3W; _eW._SV = this._5W } }, _jV: function(transform, _yA) { return !1 }, _kV: function(_gz, _ez, _MT, _lV) { _7S(_lV < this._1W); var _fW = _lV; var _gW = _lV + 1; if (_gW == this._1W) { _gW = 0 } __V._6W._OV = this._0W[_fW]._4e(); __V._6W._PV = this._0W[_gW]._4e(); return __V._6W._kV(_gz, _ez, _MT, 0) }, _mV: function(_nV, _MT, _lV) { _7S(_lV < this._1W); var _fW = _lV; var _gW = _lV + 1; if (_gW == this._1W) { _gW = 0 } var _kp = (_MT._rz._v2 * this._0W[_fW]._w2 - _MT._rz._ov * this._0W[_fW]._x2) + _MT._yA._w2; var _np = (_MT._rz._ov * this._0W[_fW]._w2 + _MT._rz._v2 * this._0W[_fW]._x2) + _MT._yA._x2; var _lp = (_MT._rz._v2 * this._0W[_gW]._w2 - _MT._rz._ov * this._0W[_gW]._x2) + _MT._yA._w2; var _op = (_MT._rz._ov * this._0W[_gW]._w2 + _MT._rz._v2 * this._0W[_gW]._x2) + _MT._yA._x2; _nV._FV._w2 = _oU(_kp, _lp); _nV._FV._x2 = _oU(_np, _op); _nV._GV._w2 = _qU(_kp, _lp); _nV._GV._x2 = _qU(_np, _op) }, _oV: function(_pV, _qV) { _pV._cV = 0.0; _pV._MU._YS(); _pV._dV = 0.0 }, _rV: function(_MT, _yA, _sV, _tV, _lV) { this._dW(__V._6W, _lV); __V._6W._rV(_MT, _yA, _sV, _tV, 0) }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['m_count'] = this._1W; _Nw['m_vertices'] = []; for (var _u2 = 0; _u2 < this._1W; ++_u2) _Nw['m_vertices'].push(this._0W[_u2]._bT()); _Nw['m_hasPrevVertex'] = this._4W; if (this._4W) _Nw['m_prevVertex'] = this._2W._bT(); _Nw['m_hasNextVertex'] = this._5W; if (this._5W) _Nw['m_nextVertex'] = this._3W._bT(); return _Nw }, _dT: function(data) { this.parent.prototype._dT.call(this, data); this._1W = data['m_count']; this._0W = []; for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._0W[_u2] = new _XS(); this._0W[_u2]._dT(data['m_vertices'][_u2]) } this._4W = data['m_hasPrevVertex']; if (this._4W) this._2W._dT(data['m_prevVertex']); this._5W = data['m_hasNextVertex']; if (this._5W) this._3W._dT(data['m_nextVertex']) } }; __V._BR(_eV); function _hW() { this.parent.call(this); this._fV = _eV._wV; this._gV = _jS; this._1W = 0; this._iW = new _XS(); this._0W = new Array(_eS); this._jW = new Array(_eS); Object.seal(this) } _hW.prototype = { _4e: function() { var _BV = new _hW(); _BV._1W = this._1W; _BV._iW = this._iW._4e(); for (var _u2 = 0; _u2 < this._1W; ++_u2) { _BV._0W[_u2] = this._0W[_u2]._4e(); _BV._jW[_u2] = this._jW[_u2]._4e() } return _BV }, _iV: function() { return 1 }, _Tn: function(_2h, _fg) { _7S(3 <= _fg && _fg <= _eS); if (_fg < 3) { this._kW(1.0, 1.0); return } var _df = _oU(_fg, _eS); var _lW = new Array(_eS); var _mW = 0; for (var _u2 = 0; _u2 < _df; ++_u2) { var _8h = _2h[_u2]; var _nW = !0; for (var _Bf = 0; _Bf < _mW; ++_Bf) { if (_3U(_8h, _lW[_Bf]) < 0.5 * _hS) { _nW = !1; break } } if (_nW) { _lW[_mW++] = _8h._4e() } } _df = _mW; if (_df < 3) { _7S(!1); this._kW(1.0, 1.0); return } var _oW = 0; var _mh = _lW[0]._w2; for (_u2 = 1; _u2 < _df; ++_u2) { var _w2 = _lW[_u2]._w2; if (_w2 > _mh || (_w2 == _mh && _lW[_u2]._x2 < _lW[_oW]._x2)) { _oW = _u2; _mh = _w2 } } var _pW = new Array(_eS); var _gf = 0; var _qW = _oW; for (;;) { _pW[_gf] = _qW; var _rW = 0; for (_Bf = 1; _Bf < _df; ++_Bf) { if (_rW == _qW) { _rW = _Bf; continue } var _uf = _XS._4T(_lW[_rW], _lW[_pW[_gf]]); var _8h = _XS._4T(_lW[_Bf], _lW[_pW[_gf]]); var _v2 = _YT(_uf, _8h); if (_v2 < 0.0) { _rW = _Bf } if (_v2 == 0.0 && _8h._6T() > _uf._6T()) { _rW = _Bf } }++_gf; _qW = _rW; if (_rW == _oW) { break } } this._1W = _gf; for (_u2 = 0; _u2 < _gf; ++_u2) { this._0W[_u2] = _lW[_pW[_u2]]._4e() } for (_u2 = 0; _u2 < _gf; ++_u2) { var _fW = _u2; var _gW = _u2 + 1 < _gf ? _u2 + 1 : 0; var _eW = _XS._4T(this._0W[_gW], this._0W[_fW]); _7S(_eW._6T() > _bS * _bS); this._jW[_u2] = _ZT(_eW, 1.0)._4e(); this._jW[_u2]._7T() } this._iW = _hW._sW(this._0W, _gf) }, _kW: function(_tW, _uW, _MU, _Cg) { this._1W = 4; this._0W[0] = new _XS(-_tW, -_uW); this._0W[1] = new _XS(_tW, -_uW); this._0W[2] = new _XS(_tW, _uW); this._0W[3] = new _XS(-_tW, _uW); this._jW[0] = new _XS(0.0, -1.0); this._jW[1] = new _XS(1.0, 0.0); this._jW[2] = new _XS(0.0, 1.0); this._jW[3] = new _XS(-1.0, 0.0); if (!_MU) return; this._iW._0T(_MU); var _MT = new _LT(); _MT._yA = _MU; _MT._rz._Tn(_Cg); for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._0W[_u2]._0T(_dU(_MT, this._0W[_u2])); this._jW[_u2]._0T(_bU(_MT._rz, this._jW[_u2])) } }, _jV: function(_MT, _yA) { var _vW = _cU(_MT._rz, _XS._4T(_yA, _MT._yA)); for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _wW = _XT(this._jW[_u2], _XS._4T(_vW, this._0W[_u2])); if (_wW > 0.0) { return !1 } } return !0 }, _kV: function(_gz, _ez, _MT, _lV) { var _RU = _cU(_MT._rz, _XS._4T(_ez._RU, _MT._yA)); var _SU = _cU(_MT._rz, _XS._4T(_ez._SU, _MT._yA)); var _Bp = _XS._4T(_SU, _RU); var _xW = 0.0, _yW = _ez._DV; var index = -1; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _TV = _XT(this._jW[_u2], _XS._4T(this._0W[_u2], _RU)); var _UV = _XT(this._jW[_u2], _Bp); if (_UV == 0.0) { if (_TV < 0.0) { return !1 } } else { if (_UV < 0.0 && _TV < _xW * _UV) { _xW = _TV / _UV; index = _u2 } else if (_UV > 0.0 && _TV < _yW * _UV) { _yW = _TV / _UV } } if (_yW < _xW) { return !1 } } _7S(0.0 <= _xW && _xW <= _ez._DV); if (index >= 0) { _gz._EV = _xW; _gz._tV = _bU(_MT._rz, this._jW[index]); return !0 } return !1 }, _mV: function(_nV, _MT, _lV) { var _VV = (_MT._rz._v2 * this._0W[0]._w2 - _MT._rz._ov * this._0W[0]._x2) + _MT._yA._w2; var _WV = (_MT._rz._ov * this._0W[0]._w2 + _MT._rz._v2 * this._0W[0]._x2) + _MT._yA._x2; var _XV = _VV; var _YV = _WV; for (var _u2 = 1; _u2 < this._1W; ++_u2) { var _zW = (_MT._rz._v2 * this._0W[_u2]._w2 - _MT._rz._ov * this._0W[_u2]._x2) + _MT._yA._w2; var _AW = (_MT._rz._ov * this._0W[_u2]._w2 + _MT._rz._v2 * this._0W[_u2]._x2) + _MT._yA._x2; _VV = _oU(_VV, _zW); _WV = _oU(_WV, _AW); _XV = _qU(_XV, _zW); _YV = _qU(_YV, _AW) } _nV._FV._w2 = _VV - this._gV; _nV._FV._x2 = _WV - this._gV; _nV._GV._w2 = _XV + this._gV; _nV._GV._x2 = _YV + this._gV }, _oV: function(_pV, _qV) { _7S(this._1W >= 3); var _MU = new _XS(0.0, 0.0); var _BW = 0.0; var _dV = 0.0; var _ov = new _XS(0.0, 0.0); for (var _u2 = 0; _u2 < this._1W; ++_u2) { _ov._yn(this._0W[_u2]) } _ov._9u(1.0 / this._1W); var _CW = 1.0 / 3.0; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _DW = _XS._4T(this._0W[_u2], _ov); var _EW = _u2 + 1 < this._1W ? _XS._4T(this._0W[_u2 + 1], _ov) : _XS._4T(this._0W[0], _ov); var _FW = _YT(_DW, _EW); var _GW = 0.5 * _FW; _BW += _GW; _MU._yn(_XS._9u(_GW * _CW, _XS._yn(_DW, _EW))); var _HW = _DW._w2, _IW = _DW._x2; var _JW = _EW._w2, _KW = _EW._x2; var _LW = _HW * _HW + _JW * _HW + _JW * _JW; var _MW = _IW * _IW + _KW * _IW + _KW * _KW; _dV += (0.25 * _CW * _FW) * (_LW + _MW) } _pV._cV = _qV * _BW; _7S(_BW > _bS); _MU._9u(1.0 / _BW); _pV._MU = _XS._yn(_MU, _ov); _pV._dV = _qV * _dV; _pV._dV += _pV._cV * (_XT(_pV._MU, _pV._MU) - _XT(_MU, _MU)) }, _JV: function() { return this._1W }, _KV: function(index) { _7S(0 <= index && index < this._1W); return this._0W[index] }, _NW: function() { for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _fW = _u2; var _gW = _u2 < this._1W - 1 ? _fW + 1 : 0; var _yA = this._0W[_fW]; var e = _XS._4T(this._0W[_gW], _yA); for (var _Bf = 0; _Bf < this._1W; ++_Bf) { if (_Bf == _fW || _Bf == _gW) { continue } var _8h = _XS._4T(this._0W[_Bf], _yA); var _v2 = _YT(e, _8h); if (_v2 < 0.0) { return !1 } } } return !0 }, _rV: function(_MT, _yA, _OW, _tV, _lV) { var _vW = _cU(_MT._rz, _XS._4T(_yA, _MT._yA)); var maxDistance = -Number.MAX_VALUE; var _PW = _vW; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _wW = _XT(this._jW[_u2], _XS._4T(_vW, this._0W[_u2])); if (_wW > maxDistance) { maxDistance = _wW; _PW = this._jW[_u2] } } if (maxDistance > 0) { var _QW = _PW; var _RW = maxDistance * maxDistance; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _sV = _XS._4T(_vW, this._0W[_u2]); var _SW = _sV._6T(); if (_RW > _SW) { _QW = _sV; _RW = _SW } } _OW[0] = _US(_RW); _tV._0T(_bU(_MT._rz, _QW)); _tV._7T() } else { _OW[0] = maxDistance; _tV._0T(_bU(_MT._rz, _PW)) } }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['m_count'] = this._1W; _Nw['m_centroid'] = this._iW._bT(); _Nw['m_vertices'] = []; _Nw['m_normals'] = []; for (var _u2 = 0; _u2 < this._1W; ++_u2) { _Nw['m_vertices'].push(this._0W[_u2]._bT()); _Nw['m_normals'].push(this._jW[_u2]._bT()) } return _Nw }, _dT: function(data) { this.parent.prototype._dT.call(this, data); this._1W = data['m_count']; this._iW._dT(data['m_centroid']); this._0W = []; this._jW = []; for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._0W[_u2] = new _XS(); this._0W[_u2]._dT(data['m_vertices'][_u2]); this._jW[_u2] = new _XS(); this._jW[_u2]._dT(data['m_normals'][_u2]) } } }; _hW._sW = function(_TW, _fg) { _7S(_fg >= 3); var _v2 = new _XS(); var _BW = 0.0; var _UW = new _XS(0.0, 0.0); var _VW = 1.0 / 3.0; for (var _u2 = 0; _u2 < _fg; ++_u2) { var _RU = _UW; var _SU = _TW[_u2]; var _WW = _u2 + 1 < _fg ? _TW[_u2 + 1] : _TW[0]; var _DW = _XS._4T(_SU, _RU); var _EW = _XS._4T(_WW, _RU); var _FW = _YT(_DW, _EW); var _GW = 0.5 * _FW; _BW += _GW; _v2._yn(_XS._9u(_GW, _XS._9u(_VW, _XS._yn(_XS._yn(_RU, _SU), _WW)))) } _7S(_BW > _bS); _v2._9u(1.0 / _BW); return _v2 }; _hW._BR(_eV); function _XW() { this._YW = 0; this._ZW = 0 } function __W(_0X, _1X) { if (_0X._YW == _1X._YW) { return _0X._ZW - _1X._ZW } return _0X._YW - _1X._YW } function _2X() { this._3X = new _4X(); this._5X = 0; this._6X = 0; this._7X = 0; this._8X = []; this._9X = 0; this._aX = [] } _2X.prototype = { _bX: function(_nV, _cX) { var _dX = this._3X._bX(_nV, _cX); ++this._6X; this._eX(_dX); return _dX }, _fX: function(_dX) { this._gX(_dX); --this._6X; this._3X._fX(_dX) }, _hX: function(_dX, _nV, _iX) { var buffer = this._3X._hX(_dX, _nV, _iX); if (buffer) { this._eX(_dX) } }, _jX: function(_dX) { this._eX(_dX) }, _kX: function(_dX) { return this._3X._kX(_dX) }, _lX: function(_dX) { return this._3X._lX(_dX) }, _mX: function(_YW, _ZW) { var _nX = this._3X._kX(_YW); var _oX = this._3X._kX(_ZW); return _pX(_nX, _oX) }, _qX: function() { return this._6X }, _rX: function(_sX) { this._7X = 0; this._8X.length = 0; for (var _u2 = 0; _u2 < this._9X; ++_u2) { this._5X = this._aX[_u2]; if (this._5X == _2X._tX) { continue } var _uX = this._3X._kX(this._5X); this._3X._vX(this, _uX) } this._9X = 0; this._8X.sort(__W); var _u2 = 0; while (_u2 < this._7X) { var _wX = this._8X[_u2]; var _xX = this._3X._lX(_wX._YW); var _yX = this._3X._lX(_wX._ZW); _sX._zX(_xX, _yX); ++_u2; while (_u2 < this._7X) { var _AX = this._8X[_u2]; if (_AX._YW != _wX._YW || _AX._ZW != _wX._ZW) { break }++_u2 } } }, _vX: function(_sX, _nV) { this._3X._vX(_sX, _nV) }, _kV: function(_sX, _ez) { this._3X._kV(_sX, _ez) }, _BX: function() { return this._3X._CX() }, _DX: function() { return this._3X._EX() }, _FX: function() { return this._3X._GX() }, _HX: function(_IX) { this._3X._HX(_IX) }, _eX: function(_dX) { this._aX[this._9X] = _dX; ++this._9X }, _gX: function(_dX) { for (var _u2 = 0; _u2 < this._9X; ++_u2) { if (this._aX[_u2] == _dX) { this._aX[_u2] = _2X._tX } } }, _JX: function(_dX) { if (_dX == this._5X) { return !0 } this._8X[this._7X] = new _XW(); this._8X[this._7X]._YW = _oU(_dX, this._5X); this._8X[this._7X]._ZW = _qU(_dX, this._5X); ++this._7X; return !0 } }; _2X._tX = -1; function _KX() { this._0W = null; this._1W = 0; this._gV = 0 } _KX.prototype = { _0T: function(_sf) { this._0W = _sf._0W; this._1W = _sf._1W; this._gV = _sf._gV }, _Tn: function(_BV, index) { switch (_BV._hV()) { case _eV._uV: { var _LX = _BV; this._0W = [_LX._AV]; this._1W = 1; this._gV = _LX._gV } break; case _eV._wV: { var _MX = _BV; this._0W = _MX._0W; this._1W = _MX._1W; this._gV = _MX._gV } break; case _eV._xV: { var _NX = _BV; _7S(0 <= index && index < _NX._1W); this._0W = [_NX._0W[index]]; if (index + 1 < _NX._1W) { this._0W[1] = _NX._0W[index + 1] } else { this._0W[1] = _NX._0W[0] } this._1W = 2; this._gV = _NX._gV } break; case _eV._vV: { var _eW = _BV; this._0W = [_eW._OV, _eW._PV]; this._1W = 2; this._gV = _eW._gV } break; default: _7S(!1) } }, _HV: function(_zh, _Ah) { var _OX = 0; var _PX = this._0W[0]._w2 * _zh + this._0W[0]._x2 * _Ah; for (var _u2 = 1; _u2 < this._1W; ++_u2) { var value = this._0W[_u2]._w2 * _zh + this._0W[_u2]._x2 * _Ah; if (value > _PX) { _OX = _u2; _PX = value } } return _OX }, _IV: function(_zh, _Ah) { return this._0W[this._HV(_zh, _Ah)] }, _JV: function() { return this._1W }, _KV: function(index) { _7S(0 <= index && index < this._1W); return this._0W[index] } }; function _QX() { this._RX = 0; this._fg = 0; this._SX = [0, 0, 0]; this._TX = [0, 0, 0] }; function _UX() { this._VX = new _KX(); this._WX = new _KX(); this._XX = new _LT(); this._YX = new _LT(); this._ZX = !1 }; function __X() { this._0Y = new _XS(); this._1Y = new _XS(); this._sV = 0; this._2Y = 0 }; function _3Y() { this._4Y = new _XS(); this._5Y = new _XS(); this._y2 = new _XS(); this._Wg = 0; this._SX = 0; this._TX = 0 } _3Y.prototype = { _0T: function(_sf) { this._4Y._w2 = _sf._4Y._w2; this._4Y._x2 = _sf._4Y._x2; this._5Y._w2 = _sf._5Y._w2; this._5Y._x2 = _sf._5Y._x2; this._y2._w2 = _sf._y2._w2; this._y2._x2 = _sf._y2._x2; this._Wg = _sf._Wg; this._SX = _sf._SX; this._TX = _sf._TX } }; function _6Y() { this._7Y = [new _3Y(), new _3Y(), new _3Y()]; this._1W = 0 } _6Y.prototype = { _8Y: function(_eg, _VX, _XX, _WX, _YX) { _7S(_eg._fg <= 3); this._1W = _eg._fg; var _2h = this._7Y; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _8h = _2h[_u2]; _8h._SX = _eg._SX[_u2]; _8h._TX = _eg._TX[_u2]; var _9Y = _VX._KV(_8h._SX); var _aY = _WX._KV(_8h._TX); _8h._4Y._w2 = (_XX._rz._v2 * _9Y._w2 - _XX._rz._ov * _9Y._x2) + _XX._yA._w2; _8h._4Y._x2 = (_XX._rz._ov * _9Y._w2 + _XX._rz._v2 * _9Y._x2) + _XX._yA._x2; _8h._5Y._w2 = (_YX._rz._v2 * _aY._w2 - _YX._rz._ov * _aY._x2) + _YX._yA._w2; _8h._5Y._x2 = (_YX._rz._ov * _aY._w2 + _YX._rz._v2 * _aY._x2) + _YX._yA._x2; _8h._y2._w2 = _8h._5Y._w2 - _8h._4Y._w2; _8h._y2._x2 = _8h._5Y._x2 - _8h._4Y._x2; _8h._Wg = 0.0 } if (this._1W > 1) { var _bY = _eg._RX; var _cY = this._dY(); if (_cY < 0.5 * _bY || 2.0 * _bY < _cY || _cY < _bS) { this._1W = 0 } } if (this._1W == 0) { var _8h = _2h[0]; _8h._SX = 0; _8h._TX = 0; var _9Y = _VX._KV(0); var _aY = _WX._KV(0); _8h._4Y._w2 = (_XX._rz._v2 * _9Y._w2 - _XX._rz._ov * _9Y._x2) + _XX._yA._w2; _8h._4Y._x2 = (_XX._rz._ov * _9Y._w2 + _XX._rz._v2 * _9Y._x2) + _XX._yA._x2; _8h._5Y._w2 = (_YX._rz._v2 * _aY._w2 - _YX._rz._ov * _aY._x2) + _YX._yA._w2; _8h._5Y._x2 = (_YX._rz._ov * _aY._w2 + _YX._rz._v2 * _aY._x2) + _YX._yA._x2; _8h._y2._w2 = _8h._5Y._w2 - _8h._4Y._w2; _8h._y2._x2 = _8h._5Y._x2 - _8h._4Y._x2; _8h._Wg = 1.0; this._1W = 1 } }, _eY: function(_eg) { _eg._RX = this._dY(); _eg._fg = this._1W; var _2h = this._7Y; for (var _u2 = 0; _u2 < this._1W; ++_u2) { _eg._SX[_u2] = _2h[_u2]._SX; _eg._TX[_u2] = _2h[_u2]._TX } }, _fY: function(_yA) { switch (this._1W) { case 1: _yA._w2 = -this._7Y[0]._y2._w2; _yA._x2 = -this._7Y[0]._y2._x2; break; case 2: { var _gY = this._7Y[1]._y2._w2 - this._7Y[0]._y2._w2; var _hY = this._7Y[1]._y2._x2 - this._7Y[0]._y2._x2; var _iY = _gY * -this._7Y[0]._y2._x2 - _hY * -this._7Y[0]._y2._w2; if (_iY > 0.0) { _yA._w2 = -1.0 * _hY; _yA._x2 = 1.0 * _gY } else { _yA._w2 = 1.0 * _hY; _yA._x2 = -1.0 * _gY } } break; default: _7S(!1); _yA._w2 = _yA._x2 = 0; break } }, _jY: function(_yA) { switch (this._1W) { case 1: _yA._w2 = this._7Y[0]._y2._w2; _yA._x2 = this._7Y[0]._y2._x2; break; case 2: _yA._w2 = (this._7Y[0]._Wg * this._7Y[0]._y2._w2) + (this._7Y[1]._Wg * this._7Y[1]._y2._w2); _yA._x2 = (this._7Y[0]._Wg * this._7Y[0]._y2._x2) + (this._7Y[1]._Wg * this._7Y[1]._y2._x2); break; case 3: _yA._w2 = _yA._x2 = 0; break; default: _7S(!1); _yA._w2 = _yA._x2 = 0; break } }, _kY: function(_lY, _mY) { switch (this._1W) { case 1: _lY._w2 = this._7Y[0]._4Y._w2; _lY._x2 = this._7Y[0]._4Y._x2; _mY._w2 = this._7Y[0]._5Y._w2; _mY._x2 = this._7Y[0]._5Y._x2; break; case 2: _lY._w2 = (this._7Y[0]._Wg * this._7Y[0]._4Y._w2) + (this._7Y[1]._Wg * this._7Y[1]._4Y._w2); _lY._x2 = (this._7Y[0]._Wg * this._7Y[0]._4Y._x2) + (this._7Y[1]._Wg * this._7Y[1]._4Y._x2); _mY._w2 = (this._7Y[0]._Wg * this._7Y[0]._5Y._w2) + (this._7Y[1]._Wg * this._7Y[1]._5Y._w2); _mY._x2 = (this._7Y[0]._Wg * this._7Y[0]._5Y._x2) + (this._7Y[1]._Wg * this._7Y[1]._5Y._x2); break; case 3: _lY._w2 = (this._7Y[0]._Wg * this._7Y[0]._4Y._w2) + (this._7Y[1]._Wg * this._7Y[1]._4Y._w2) + (this._7Y[2]._Wg * this._7Y[2]._4Y._w2); _lY._x2 = (this._7Y[0]._Wg * this._7Y[0]._4Y._x2) + (this._7Y[1]._Wg * this._7Y[1]._4Y._x2) + (this._7Y[2]._Wg * this._7Y[2]._4Y._x2); _mY._w2 = _lY._w2; _mY._x2 = _lY._x2; break; default: _7S(!1); break } }, _dY: function() { switch (this._1W) { case 1: return 0.0; case 2: return _2U(this._7Y[0]._y2, this._7Y[1]._y2); case 3: return (this._7Y[1]._y2._w2 - this._7Y[0]._y2._w2) * (this._7Y[2]._y2._x2 - this._7Y[0]._y2._x2) - (this._7Y[1]._y2._x2 - this._7Y[0]._y2._x2) * (this._7Y[2]._y2._w2 - this._7Y[0]._y2._w2); default: _7S(!1); return 0.0 } }, _nY: function() { var _oY = this._7Y[0]._y2; var _pY = this._7Y[1]._y2; var _gY = _pY._w2 - _oY._w2; var _hY = _pY._x2 - _oY._x2; var _qY = -(_oY._w2 * _gY + _oY._x2 * _hY); if (_qY <= 0.0) { this._7Y[0]._Wg = 1.0; this._1W = 1; return } var _rY = _pY._w2 * _gY + _pY._x2 * _hY; if (_rY <= 0.0) { this._7Y[1]._Wg = 1.0; this._1W = 1; this._7Y[0]._0T(this._7Y[1]); return } var _sY = 1.0 / (_rY + _qY); this._7Y[0]._Wg = _rY * _sY; this._7Y[1]._Wg = _qY * _sY; this._1W = 2 }, _tY: function() { var _oY = this._7Y[0]._y2; var _pY = this._7Y[1]._y2; var _uY = this._7Y[2]._y2; var _gY = _pY._w2 - _oY._w2; var _hY = _pY._x2 - _oY._x2; var _vY = _oY._w2 * _gY + _oY._x2 * _hY; var _wY = _pY._w2 * _gY + _pY._x2 * _hY; var _rY = _wY; var _qY = -_vY; var _xY = _uY._w2 - _oY._w2; var _yY = _uY._x2 - _oY._x2; var _zY = _oY._w2 * _xY + _oY._x2 * _yY; var _AY = _uY._w2 * _xY + _uY._x2 * _yY; var _BY = _AY; var _CY = -_zY; var _DY = _uY._w2 - _pY._w2; var _EY = _uY._x2 - _pY._x2; var _FY = _pY._w2 * _DY + _pY._x2 * _EY; var _GY = _uY._w2 * _DY + _uY._x2 * _EY; var _HY = _GY; var _IY = -_FY; var _JY = _gY * _yY - _hY * _xY; var _KY = _JY * (_pY._w2 * _uY._x2 - _pY._x2 * _uY._w2); var _LY = _JY * (_uY._w2 * _oY._x2 - _uY._x2 * _oY._w2); var _MY = _JY * (_oY._w2 * _pY._x2 - _oY._x2 * _pY._w2); if (_qY <= 0.0 && _CY <= 0.0) { this._7Y[0]._Wg = 1.0; this._1W = 1; return } if (_rY > 0.0 && _qY > 0.0 && _MY <= 0.0) { var _sY = 1.0 / (_rY + _qY); this._7Y[0]._Wg = _rY * _sY; this._7Y[1]._Wg = _qY * _sY; this._1W = 2; return } if (_BY > 0.0 && _CY > 0.0 && _LY <= 0.0) { var _NY = 1.0 / (_BY + _CY); this._7Y[0]._Wg = _BY * _NY; this._7Y[2]._Wg = _CY * _NY; this._1W = 2; this._7Y[1]._0T(this._7Y[2]); return } if (_rY <= 0.0 && _IY <= 0.0) { this._7Y[1]._Wg = 1.0; this._1W = 1; this._7Y[0]._0T(this._7Y[1]); return } if (_BY <= 0.0 && _HY <= 0.0) { this._7Y[2]._Wg = 1.0; this._1W = 1; this._7Y[0]._0T(this._7Y[2]); return } if (_HY > 0.0 && _IY > 0.0 && _KY <= 0.0) { var _OY = 1.0 / (_HY + _IY); this._7Y[1]._Wg = _HY * _OY; this._7Y[2]._Wg = _IY * _OY; this._1W = 2; this._7Y[0]._0T(this._7Y[2]); return } var _PY = 1.0 / (_KY + _LY + _MY); this._7Y[0]._Wg = _KY * _PY; this._7Y[1]._Wg = _LY * _PY; this._7Y[2]._Wg = _MY * _PY; this._1W = 3 } }; var _QY = new _6Y(); var _RY = new _XS(); var _SY = new _XS(); function _TY(_gz, _eg, _ez) { ++_TY._UY; var _VX = _ez._VX; var _WX = _ez._WX; var _XX = _ez._XX; var _YX = _ez._YX; _QY._8Y(_eg, _VX, _XX, _WX, _YX); var _2h = _QY._7Y; var _VY = 20; var _WY = [0, 0, 0], _XY = [0, 0, 0]; var _YY = 0; var _ZY = _aS; var __Y = _ZY; var _0Z = 0; while (_0Z < _VY) { _YY = _QY._1W; for (var _u2 = 0; _u2 < _YY; ++_u2) { _WY[_u2] = _2h[_u2]._SX; _XY[_u2] = _2h[_u2]._TX } switch (_QY._1W) { case 1: break; case 2: _QY._nY(); break; case 3: _QY._tY(); break; default: _7S(!1) } if (_QY._1W == 3) { break } _QY._jY(_SY); __Y = _SY._6T(); if (__Y >= _ZY) {} _ZY = __Y; _QY._fY(_SY); if (_SY._6T() < _bS * _bS) { break } var _1Z = _2h[_QY._1W]; _1Z._SX = _VX._HV(_XX._rz._v2 * -_SY._w2 + _XX._rz._ov * -_SY._x2, -_XX._rz._ov * -_SY._w2 + _XX._rz._v2 * -_SY._x2); var _2Z = _VX._KV(_1Z._SX); _1Z._4Y._w2 = (_XX._rz._v2 * _2Z._w2 - _XX._rz._ov * _2Z._x2) + _XX._yA._w2; _1Z._4Y._x2 = (_XX._rz._ov * _2Z._w2 + _XX._rz._v2 * _2Z._x2) + _XX._yA._x2; _1Z._TX = _WX._HV(_YX._rz._v2 * _SY._w2 + _YX._rz._ov * _SY._x2, -_YX._rz._ov * _SY._w2 + _YX._rz._v2 * _SY._x2); var _3Z = _WX._KV(_1Z._TX); _1Z._5Y._w2 = (_YX._rz._v2 * _3Z._w2 - _YX._rz._ov * _3Z._x2) + _YX._yA._w2; _1Z._5Y._x2 = (_YX._rz._ov * _3Z._w2 + _YX._rz._v2 * _3Z._x2) + _YX._yA._x2; _1Z._y2._w2 = _1Z._5Y._w2 - _1Z._4Y._w2; _1Z._y2._x2 = _1Z._5Y._x2 - _1Z._4Y._x2; ++_0Z; ++_TY._4Z; var _5Z = !1; for (var _u2 = 0; _u2 < _YY; ++_u2) { if (_1Z._SX == _WY[_u2] && _1Z._TX == _XY[_u2]) { _5Z = !0; break } } if (_5Z) { break }++_QY._1W } _TY._6Z = _qU(_TY._6Z, _0Z); _QY._kY(_gz._0Y, _gz._1Y); _gz._sV = _2U(_gz._0Y, _gz._1Y); _gz._2Y = _0Z; _QY._eY(_eg); if (_ez._ZX) { var _7Z = _VX._gV; var _8Z = _WX._gV; if (_gz._sV > _7Z + _8Z && _gz._sV > _bS) { _gz._sV -= _7Z + _8Z; _RY._w2 = _gz._1Y._w2 - _gz._0Y._w2; _RY._x2 = _gz._1Y._x2 - _gz._0Y._x2; _RY._7T(); _gz._0Y._w2 += (_7Z * _RY._w2); _gz._0Y._x2 += (_7Z * _RY._x2); _gz._1Y._w2 -= (_8Z * _RY._w2); _gz._1Y._x2 -= (_8Z * _RY._x2) } else { var _fp = (0.5 * (_gz._0Y._w2 + _gz._1Y._w2)); var _gp = (0.5 * (_gz._0Y._x2 + _gz._1Y._x2)); _gz._0Y._w2 = _fp; _gz._0Y._x2 = _gp; _gz._1Y._w2 = _fp; _gz._1Y._x2 = _gp; _gz._sV = 0.0 } } } _TY._UY = 0; _TY._4Z = 0; _TY._6Z = 0; var _9Z = 255; function _aZ() {} _aZ.prototype = { _SX: 0, _TX: 0, _bZ: 0, _cZ: 0, _8V: function() { this._SX = this._TX = this._bZ = this._cZ = 0 }, _hn: function() { return this._SX | (this._TX << 8) | (this._bZ << 16) | (this._cZ << 24) }, _0T: function(_dZ) { this._SX = _dZ._SX; this._TX = _dZ._TX; this._bZ = _dZ._bZ; this._cZ = _dZ._cZ } }; _aZ._eZ = 0; _aZ._fZ = 1; function _gZ() { this._hZ = new _XS(); this._iZ = 0; this._jZ = 0; this.id = new _aZ() }; _gZ.prototype = { _4e: function() { var _kZ = new _gZ(); _kZ._hZ._w2 = this._hZ._w2; _kZ._hZ._x2 = this._hZ._x2; _kZ._iZ = this._iZ; _kZ._jZ = this._jZ; _kZ.id._0T(this.id); return _kZ } }; function _lZ() { this._mZ = new Array(_dS); this._nZ = new _XS(); this._hZ = new _XS(); this.type = 0; this._oZ = 0 }; _lZ.prototype = { _4e: function() { var _pZ = new _lZ(); _pZ._oZ = this._oZ; _pZ.type = this.type; _pZ._hZ._w2 = this._hZ._w2; _pZ._hZ._x2 = this._hZ._x2; _pZ._nZ._w2 = this._nZ._w2; _pZ._nZ._x2 = this._nZ._x2; for (var _u2 = 0; _u2 < this._oZ; ++_u2) _pZ._mZ[_u2] = this._mZ[_u2]._4e(); return _pZ }, _0T: function(_pZ) { this._oZ = _pZ._oZ; this.type = _pZ.type; this._hZ._w2 = _pZ._hZ._w2; this._hZ._x2 = _pZ._hZ._x2; this._nZ._w2 = _pZ._nZ._w2; this._nZ._x2 = _pZ._nZ._x2; for (var _u2 = 0; _u2 < this._oZ; ++_u2) this._mZ[_u2] = _pZ._mZ[_u2]._4e() } }; _lZ._qZ = 0; _lZ._rZ = 1; _lZ._sZ = 2; _lZ._tZ = 0; _lZ._uZ = 1; _lZ._vZ = 2; _lZ._wZ = 3; function _xZ() { this._tV = new _XS(); this._mZ = new Array(_dS); this._yZ = new Array(_dS) } _xZ.prototype = { _zZ: function(_pZ, _AZ, _BZ, _CZ, _DZ) { if (_pZ._oZ == 0) { return } switch (_pZ.type) { case _lZ._qZ: { this._tV._w2 = 1; this._tV._x2 = 0; var _EZ = (_AZ._rz._v2 * _pZ._hZ._w2 - _AZ._rz._ov * _pZ._hZ._x2) + _AZ._yA._w2; var _FZ = (_AZ._rz._ov * _pZ._hZ._w2 + _AZ._rz._v2 * _pZ._hZ._x2) + _AZ._yA._x2; var _GZ = (_CZ._rz._v2 * _pZ._mZ[0]._hZ._w2 - _CZ._rz._ov * _pZ._mZ[0]._hZ._x2) + _CZ._yA._w2; var _HZ = (_CZ._rz._ov * _pZ._mZ[0]._hZ._w2 + _CZ._rz._v2 * _pZ._mZ[0]._hZ._x2) + _CZ._yA._x2; var _IZ = _EZ - _GZ; var _JZ = _FZ - _HZ; if ((_IZ * _IZ + _JZ * _JZ) > _bS * _bS) { this._tV._w2 = _GZ - _EZ; this._tV._x2 = _HZ - _FZ; this._tV._7T() } var _KZ = _EZ + (_BZ * this._tV._w2); var _LZ = _FZ + (_BZ * this._tV._x2); var _MZ = _GZ - (_DZ * this._tV._w2); var _NZ = _HZ - (_DZ * this._tV._x2); this._mZ[0] = new _XS(0.5 * (_KZ + _MZ), 0.5 * (_LZ + _NZ)); this._yZ[0] = (_MZ - _KZ) * this._tV._w2 + (_NZ - _LZ) * this._tV._x2 } break; case _lZ._rZ: { this._tV._w2 = _AZ._rz._v2 * _pZ._nZ._w2 - _AZ._rz._ov * _pZ._nZ._x2; this._tV._x2 = _AZ._rz._ov * _pZ._nZ._w2 + _AZ._rz._v2 * _pZ._nZ._x2; var _OZ = (_AZ._rz._v2 * _pZ._hZ._w2 - _AZ._rz._ov * _pZ._hZ._x2) + _AZ._yA._w2; var _PZ = (_AZ._rz._ov * _pZ._hZ._w2 + _AZ._rz._v2 * _pZ._hZ._x2) + _AZ._yA._x2; for (var _u2 = 0; _u2 < _pZ._oZ; ++_u2) { var _QZ = (_CZ._rz._v2 * _pZ._mZ[_u2]._hZ._w2 - _CZ._rz._ov * _pZ._mZ[_u2]._hZ._x2) + _CZ._yA._w2; var _RZ = (_CZ._rz._ov * _pZ._mZ[_u2]._hZ._w2 + _CZ._rz._v2 * _pZ._mZ[_u2]._hZ._x2) + _CZ._yA._x2; var _Bp = (_QZ - _OZ) * this._tV._w2 + (_RZ - _PZ) * this._tV._x2; var _KZ = _QZ + ((_BZ - _Bp) * this._tV._w2); var _LZ = _RZ + ((_BZ - _Bp) * this._tV._x2); var _MZ = (_QZ - (_DZ * this._tV._w2)); var _NZ = (_RZ - (_DZ * this._tV._x2)); this._mZ[_u2] = new _XS(0.5 * (_KZ + _MZ), 0.5 * (_LZ + _NZ)); this._yZ[_u2] = (_MZ - _KZ) * this._tV._w2 + (_NZ - _LZ) * this._tV._x2 } } break; case _lZ._sZ: { this._tV._w2 = _CZ._rz._v2 * _pZ._nZ._w2 - _CZ._rz._ov * _pZ._nZ._x2; this._tV._x2 = _CZ._rz._ov * _pZ._nZ._w2 + _CZ._rz._v2 * _pZ._nZ._x2; var _OZ = (_CZ._rz._v2 * _pZ._hZ._w2 - _CZ._rz._ov * _pZ._hZ._x2) + _CZ._yA._w2; var _PZ = (_CZ._rz._ov * _pZ._hZ._w2 + _CZ._rz._v2 * _pZ._hZ._x2) + _CZ._yA._x2; for (var _u2 = 0; _u2 < _pZ._oZ; ++_u2) { var _QZ = (_AZ._rz._v2 * _pZ._mZ[_u2]._hZ._w2 - _AZ._rz._ov * _pZ._mZ[_u2]._hZ._x2) + _AZ._yA._w2; var _RZ = (_AZ._rz._ov * _pZ._mZ[_u2]._hZ._w2 + _AZ._rz._v2 * _pZ._mZ[_u2]._hZ._x2) + _AZ._yA._x2; var _Bp = (_QZ - _OZ) * this._tV._w2 + (_RZ - _PZ) * this._tV._x2; var _MZ = _QZ + ((_DZ - _Bp) * this._tV._w2); var _NZ = _RZ + ((_DZ - _Bp) * this._tV._x2); var _KZ = (_QZ - (_BZ * this._tV._w2)); var _LZ = (_RZ - (_BZ * this._tV._x2)); this._mZ[_u2] = new _XS(0.5 * (_KZ + _MZ), 0.5 * (_LZ + _NZ)); this._yZ[_u2] = (_KZ - _MZ) * this._tV._w2 + (_LZ - _NZ) * this._tV._x2 } this._tV._w2 = -this._tV._w2; this._tV._x2 = -this._tV._x2 } break } } }; function _SZ(_TZ, _UZ, _VZ, _WZ) { for (var _u2 = 0; _u2 < _dS; ++_u2) { _TZ[_u2] = _lZ._tZ; _UZ[_u2] = _lZ._tZ } for (var _u2 = 0; _u2 < _VZ._oZ; ++_u2) { var id = _VZ._mZ[_u2].id; _TZ[_u2] = _lZ._wZ; for (var _Bf = 0; _Bf < _WZ._oZ; ++_Bf) { if (_WZ._mZ[_Bf].id._hn() == id._hn()) { _TZ[_u2] = _lZ._vZ; break } } } for (var _u2 = 0; _u2 < _WZ._oZ; ++_u2) { var id = _WZ._mZ[_u2].id; _UZ[_u2] = _lZ._uZ; for (var _Bf = 0; _Bf < _VZ._oZ; ++_Bf) { if (_VZ._mZ[_Bf].id._hn() == id._hn()) { _UZ[_u2] = _lZ._vZ; break } } } } function _XZ() { this._8h = new _XS(); this.id = new _aZ() }; function _YZ() { this._RU = new _XS(), this._SU = new _XS(); this._DV = 0 }; function _ZZ() { this._tV = new _XS(); this._EV = 0 }; function __Z() { this._FV = new _XS(); this._GV = new _XS() } __Z.prototype = { _0T: function(_0_) { this._FV._w2 = _0_._FV._w2; this._FV._x2 = _0_._FV._x2; this._GV._w2 = _0_._GV._w2; this._GV._x2 = _0_._GV._x2 }, _4e: function() { var _1_ = new __Z(); _1_._FV._w2 = this._FV._w2; _1_._FV._x2 = this._FV._x2; _1_._GV._w2 = this._GV._w2; _1_._GV._x2 = this._GV._x2; return _1_ }, _9T: function() { return (this._GV._w2 - this._FV._w2) >= 0.0 && (this._GV._x2 - this._FV._x2) >= 0.0 && this._FV._9T() && this._GV._9T() }, _2_: function() { return new _XS(0.5 * (this._FV._w2 + this._GV._w2), 0.5 * (this._FV._x2 + this._GV._x2)) }, _3_: function() { return new _XS(0.5 * (this._GV._w2 - this._FV._w2), 0.5 * (this._GV._x2 - this._FV._x2)) }, _4_: function() { return 2.0 * ((this._GV._w2 - this._FV._w2) + (this._GV._x2 - this._FV._x2)) }, _5_: function(_6_, _7_) { if (_7_) { this._FV._w2 = _oU(_6_._FV._w2, _7_._FV._w2); this._FV._x2 = _oU(_6_._FV._x2, _7_._FV._x2); this._GV._w2 = _qU(_6_._GV._w2, _7_._GV._w2); this._GV._x2 = _qU(_6_._GV._x2, _7_._GV._x2) } else { this._FV._w2 = _oU(this._FV._w2, _6_._FV._w2); this._FV._x2 = _oU(this._FV._x2, _6_._FV._x2); this._GV._w2 = _qU(this._GV._w2, _6_._GV._w2); this._GV._x2 = _qU(this._GV._x2, _6_._GV._x2) } }, _8_: function(_nV) { return this._FV._w2 <= _nV._FV._w2 && this._FV._x2 <= _nV._FV._x2 && _nV._GV._w2 <= this._GV._w2 && _nV._GV._x2 <= this._GV._x2 }, _kV: function(_gz, _ez) { var _9_ = -_aS; var _a_ = _aS; var _yA = _ez._RU; var _Bp = _XS._4T(_ez._SU, _ez._RU); var _b_ = _mU(_Bp); var _tV = new _XS(); for (var _u2 = 0; _u2 < 2; ++_u2) { if (_b_._2T(_u2) < _bS) { if (_yA._2T(_u2) < this._FV._2T(_u2) || this._GV._2T(_u2) < _yA._2T(_u2)) { return !1 } } else { var _c_ = 1.0 / _Bp._2T(_u2); var _d_ = (this._FV._2T(_u2) - _yA._2T(_u2)) * _c_; var _e_ = (this._GV._2T(_u2) - _yA._2T(_u2)) * _c_; var _ov = -1.0; if (_d_ > _e_) { var _QA = _e_; _e_ = _d_; _d_ = _QA; _ov = 1.0 } if (_d_ > _9_) { _tV._w2 = _tV._x2 = 0; _tV._3T(_u2, _ov); _9_ = _d_ } _a_ = _oU(_a_, _e_); if (_9_ > _a_) { return !1 } } } if (_9_ < 0.0 || _ez._DV < _9_) { return !1 } _gz._EV = _9_; _gz._tV._w2 = _tV._w2; _gz._tV._x2 = _tV._x2; return !0 } }; function _f_(_pZ, _g_, _AZ, _h_, _CZ) { _pZ._oZ = 0; var _lY = _dU(_AZ, _g_._AV); var _mY = _dU(_CZ, _h_._AV); var _zh = _mY._w2 - _lY._w2; var _Ah = _mY._x2 - _lY._x2; var _i_ = _zh * _zh + _Ah * _Ah; var _7Z = _g_._gV, _8Z = _h_._gV; var _NU = _7Z + _8Z; if (_i_ > _NU * _NU) { return } _pZ.type = _lZ._qZ; _pZ._hZ._w2 = _g_._AV._w2; _pZ._hZ._x2 = _g_._AV._x2; _pZ._nZ._w2 = _pZ._nZ._x2 = 0; _pZ._oZ = 1; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; _pZ._mZ[0].id._8V() } function _j_(_pZ, _k_, _AZ, _h_, _CZ) { _pZ._oZ = 0; var _v2 = _dU(_CZ, _h_._AV); var _l_ = _fU(_AZ, _v2); var _m_ = 0; var _n_ = -_aS; var _NU = _k_._gV + _h_._gV; var _JU = _k_._1W; var _2h = _k_._0W; var _o_ = _k_._jW; for (var _u2 = 0; _u2 < _JU; ++_u2) { var _ov = _o_[_u2]._w2 * (_l_._w2 - _2h[_u2]._w2) + _o_[_u2]._x2 * (_l_._x2 - _2h[_u2]._x2); if (_ov > _NU) { return } if (_ov > _n_) { _n_ = _ov; _m_ = _u2 } } var _p_ = _m_; var _q_ = _p_ + 1 < _JU ? _p_ + 1 : 0; var _Th = _2h[_p_]; var _Uh = _2h[_q_]; if (_n_ < _bS) { _pZ._oZ = 1; _pZ.type = _lZ._rZ; _pZ._nZ._w2 = _o_[_m_]._w2; _pZ._nZ._x2 = _o_[_m_]._x2; _pZ._hZ._w2 = 0.5 * (_Th._w2 + _Uh._w2); _pZ._hZ._x2 = 0.5 * (_Th._x2 + _Uh._x2); _pZ._mZ[0] = new _gZ(); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; _pZ._mZ[0].id._8V(); return } var _r_ = (_l_._w2 - _Th._w2) * (_Uh._w2 - _Th._w2) + (_l_._x2 - _Th._x2) * (_Uh._x2 - _Th._x2); var _s_ = (_l_._w2 - _Uh._w2) * (_Th._w2 - _Uh._w2) + (_l_._x2 - _Uh._x2) * (_Th._x2 - _Uh._x2); if (_r_ <= 0.0) { if (_3U(_l_, _Th) > _NU * _NU) { return } _pZ._oZ = 1; _pZ.type = _lZ._rZ; _pZ._nZ._w2 = _l_._w2 - _Th._w2; _pZ._nZ._x2 = _l_._x2 - _Th._x2; _pZ._nZ._7T(); _pZ._hZ._w2 = _Th._w2; _pZ._hZ._x2 = _Th._x2; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; _pZ._mZ[0].id._8V() } else if (_s_ <= 0.0) { if (_3U(_l_, _Uh) > _NU * _NU) { return } _pZ._oZ = 1; _pZ.type = _lZ._rZ; _pZ._nZ._w2 = _l_._w2 - _Uh._w2; _pZ._nZ._x2 = _l_._x2 - _Uh._x2; _pZ._nZ._7T(); _pZ._hZ._w2 = _Uh._w2; _pZ._hZ._x2 = _Uh._x2; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; _pZ._mZ[0].id._8V() } else { var _t_ = 0.5 * (_Th._w2 + _Uh._w2); var _u_ = 0.5 * (_Th._x2 + _Uh._x2); var _n_ = (_l_._w2 - _t_) * _o_[_p_]._w2 + (_l_._x2 - _u_) * _o_[_p_]._x2; if (_n_ > _NU) { return } _pZ._oZ = 1; _pZ.type = _lZ._rZ; _pZ._nZ._w2 = _o_[_p_]._w2; _pZ._nZ._x2 = _o_[_p_]._x2; _pZ._hZ._w2 = _t_; _pZ._hZ._x2 = _u_; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; _pZ._mZ[0].id._8V() } } function _v_(_w_, _x_, _y_, _z_, _A_) { var _B_ = _x_._1W; var _C_ = _z_._1W; var _D_ = _x_._jW; var _E_ = _x_._0W; var _F_ = _z_._0W; var _MT = _iU(_A_, _y_); var _OX = 0; var _G_ = -_aS; for (var _u2 = 0; _u2 < _B_; ++_u2) { var _li = _MT._rz._v2 * _D_[_u2]._w2 - _MT._rz._ov * _D_[_u2]._x2; var _mi = _MT._rz._ov * _D_[_u2]._w2 + _MT._rz._v2 * _D_[_u2]._x2; var _kp = (_MT._rz._v2 * _E_[_u2]._w2 - _MT._rz._ov * _E_[_u2]._x2) + _MT._yA._w2; var _np = (_MT._rz._ov * _E_[_u2]._w2 + _MT._rz._v2 * _E_[_u2]._x2) + _MT._yA._x2; var _H_ = _aS; for (var _Bf = 0; _Bf < _C_; ++_Bf) { var _I_ = _li * (_F_[_Bf]._w2 - _kp) + _mi * (_F_[_Bf]._x2 - _np); if (_I_ < _H_) { _H_ = _I_ } } if (_H_ > _G_) { _G_ = _H_; _OX = _u2 } } _w_[0] = _OX; return _G_ } function _J_(_v2, _x_, _y_, _K_, _z_, _A_) { var _L_ = _x_._jW; var _C_ = _z_._1W; var _M_ = _z_._0W; var _N_ = _z_._jW; _7S(0 <= _K_ && _K_ < _x_._1W); var _O_ = _y_._rz._v2 * _L_[_K_]._w2 - _y_._rz._ov * _L_[_K_]._x2; var _P_ = _y_._rz._ov * _L_[_K_]._w2 + _y_._rz._v2 * _L_[_K_]._x2; var _Q_ = _A_._rz._v2 * _O_ + _A_._rz._ov * _P_; var _R_ = -_A_._rz._ov * _O_ + _A_._rz._v2 * _P_; var index = 0; var _S_ = _aS; for (var _u2 = 0; _u2 < _C_; ++_u2) { var _wW = _Q_ * _N_[_u2]._w2 + _R_ * _N_[_u2]._x2; if (_wW < _S_) { _S_ = _wW; index = _u2 } } var _fW = index; var _gW = _fW + 1 < _C_ ? _fW + 1 : 0; _v2[0]._8h._w2 = (_A_._rz._v2 * _M_[_fW]._w2 - _A_._rz._ov * _M_[_fW]._x2) + _A_._yA._w2; _v2[0]._8h._x2 = (_A_._rz._ov * _M_[_fW]._w2 + _A_._rz._v2 * _M_[_fW]._x2) + _A_._yA._x2; _v2[0].id._SX = _K_; _v2[0].id._TX = _fW; _v2[0].id._bZ = _aZ._fZ; _v2[0].id._cZ = _aZ._eZ; _v2[1]._8h._w2 = (_A_._rz._v2 * _M_[_gW]._w2 - _A_._rz._ov * _M_[_gW]._x2) + _A_._yA._w2; _v2[1]._8h._x2 = (_A_._rz._ov * _M_[_gW]._w2 + _A_._rz._v2 * _M_[_gW]._x2) + _A_._yA._x2; _v2[1].id._SX = _K_; _v2[1].id._TX = _gW; _v2[1].id._bZ = _aZ._fZ; _v2[1].id._cZ = _aZ._eZ } function _T_(_pZ, _U_, _AZ, _V_, _CZ) { _pZ._oZ = 0; var _W_ = _U_._gV + _V_._gV; var _X_ = [0]; var _Y_ = _v_(_X_, _U_, _AZ, _V_, _CZ); if (_Y_ > _W_) return; var _Z_ = [0]; var ___ = _v_(_Z_, _V_, _CZ, _U_, _AZ); if (___ > _W_) return; var _x_; var _z_; var _y_, _A_; var _K_ = 0; var _001 = 0; var _101 = 0.1 * _hS; if (___ > _Y_ + _101) { _x_ = _V_; _z_ = _U_; _y_ = _CZ; _A_ = _AZ; _K_ = _Z_[0]; _pZ.type = _lZ._sZ; _001 = 1 } else { _x_ = _U_; _z_ = _V_; _y_ = _AZ; _A_ = _CZ; _K_ = _X_[0]; _pZ.type = _lZ._rZ; _001 = 0 } _J_(_T_._201, _x_, _y_, _K_, _z_, _A_); var _B_ = _x_._1W; var _301 = _x_._0W; var _401 = _K_; var _501 = _K_ + 1 < _B_ ? _K_ + 1 : 0; var _601 = _301[_401]; var _701 = _301[_501]; _T_._801._w2 = _701._w2 - _601._w2; _T_._801._x2 = _701._x2 - _601._x2; _T_._801._7T(); var _901 = 1.0 * _T_._801._x2; var _a01 = -1.0 * _T_._801._w2; var _OZ = 0.5 * (_601._w2 + _701._w2); var _PZ = 0.5 * (_601._x2 + _701._x2); var _b01 = _y_._rz._v2 * _T_._801._w2 - _y_._rz._ov * _T_._801._x2; var _c01 = _y_._rz._ov * _T_._801._w2 + _y_._rz._v2 * _T_._801._x2; var _d01 = 1.0 * _c01; var _e01 = -1.0 * _b01; _601 = _dU(_y_, _601); _701 = _dU(_y_, _701); var _f01 = _d01 * _601._w2 + _e01 * _601._x2; var _g01 = -(_b01 * _601._w2 + _c01 * _601._x2) + _W_; var _h01 = (_b01 * _701._w2 + _c01 * _701._x2) + _W_; var _i01 = new Array(2); var _j01 = new Array(2); var _k01; _k01 = _l01(_i01, _T_._201, -_b01, -_c01, _g01, _401); if (_k01 < 2) return; _k01 = _l01(_j01, _i01, _b01, _c01, _h01, _501); if (_k01 < 2) { return } _pZ._nZ._w2 = _901; _pZ._nZ._x2 = _a01; _pZ._hZ._w2 = _OZ; _pZ._hZ._x2 = _PZ; var _oZ = 0; for (var _u2 = 0; _u2 < _dS; ++_u2) { var _n_ = (_d01 * _j01[_u2]._8h._w2 + _e01 * _j01[_u2]._8h._x2) - _f01; if (_n_ <= _W_) { var _m01 = _pZ._mZ[_oZ] = new _gZ(); _m01._hZ._0T(_fU(_A_, _j01[_u2]._8h)); _m01.id._0T(_j01[_u2].id); if (_001) { var _n01 = new _aZ(); _n01._0T(_m01.id); _m01.id._SX = _n01._TX; _m01.id._TX = _n01._SX; _m01.id._bZ = _n01._cZ; _m01.id._cZ = _n01._bZ } ++_oZ } } _pZ._oZ = _oZ } _T_._801 = new _XS(); _T_._201 = [new _XZ(), new _XZ()]; function _o01(_pZ, _X_, _AZ, _h_, _CZ) { _pZ._oZ = 0; var _p01 = _fU(_AZ, _dU(_CZ, _h_._AV)); var _8S = _X_._OV, _nT = _X_._PV; var _0L = _nT._w2 - _8S._w2; var _kT = _nT._x2 - _8S._x2; var _6h = _0L * (_nT._w2 - _p01._w2) + _kT * (_nT._x2 - _p01._x2); var _8h = _0L * (_p01._w2 - _8S._w2) + _kT * (_p01._x2 - _8S._x2); var _NU = _X_._gV + _h_._gV; var _n01 = new _aZ(); _n01._TX = 0; _n01._cZ = _aZ._eZ; if (_8h <= 0.0) { var _q01 = _8S; var _zh = _p01._w2 - _q01._w2; var _Ah = _p01._x2 - _q01._x2; var _MB = _zh * _zh + _Ah * _Ah; if (_MB > _NU * _NU) { return } if (_X_._RV) { var _r01 = _X_._NV; var _s01 = _8S; var _t01 = _s01._w2 - _r01._w2; var _u01 = _s01._x2 - _r01._x2; var _r_ = _t01 * (_s01._w2 - _p01._w2) + _u01 * (_s01._x2 - _p01._x2); if (_r_ > 0.0) { return } } _n01._SX = 0; _n01._bZ = _aZ._eZ; _pZ._oZ = 1; _pZ.type = _lZ._qZ; _pZ._nZ._w2 = _pZ._nZ._x2 = 0; _pZ._hZ._w2 = _q01._w2; _pZ._hZ._x2 = _q01._x2; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0].id._0T(_n01); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; return } if (_6h <= 0.0) { var _q01 = _nT; var _zh = _p01._w2 - _q01._w2; var _Ah = _p01._x2 - _q01._x2; var _MB = _zh * _zh + _Ah * _Ah; if (_MB > _NU * _NU) { return } if (_X_._SV) { var _v01 = _X_._QV; var _w01 = _nT; var _x01 = _v01._w2 - _w01._w2; var _y01 = _v01._x2 - _w01._x2; var _Uh = _x01 * (_p01._w2 - _w01._w2) + _y01 * (_p01._x2 - _w01._x2); if (_Uh > 0.0) { return } } _n01._SX = 1; _n01._bZ = _aZ._eZ; _pZ._oZ = 1; _pZ.type = _lZ._qZ; _pZ._nZ._w2 = _pZ._nZ._x2 = 0; _pZ._hZ._w2 = _q01._w2; _pZ._hZ._x2 = _q01._x2; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0].id._0T(_n01); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; return } var _z01 = _0L * _0L + _kT * _kT; _7S(_z01 > 0.0); var _A01 = (1.0 / _z01) * ((_6h * _8S._w2) + (_8h * _nT._w2)); var _B01 = (1.0 / _z01) * ((_6h * _8S._x2) + (_8h * _nT._x2)); var _zh = _p01._w2 - _A01; var _Ah = _p01._x2 - _B01; var _MB = _zh * _zh + _Ah * _Ah; if (_MB > _NU * _NU) { return } var _li = -_kT; var _mi = _0L; if (_li * (_p01._w2 - _8S._w2) + _mi * (_p01._x2 - _8S._x2) < 0.0) { _li = -_li; _mi = -_mi } _n01._SX = 0; _n01._bZ = _aZ._fZ; _pZ._oZ = 1; _pZ.type = _lZ._rZ; _pZ._nZ._w2 = _li; _pZ._nZ._x2 = _mi; _pZ._nZ._7T(); _pZ._hZ._w2 = _8S._w2; _pZ._hZ._x2 = _8S._x2; _pZ._mZ[0] = new _gZ(); _pZ._mZ[0].id._0T(_n01); _pZ._mZ[0]._hZ._w2 = _h_._AV._w2; _pZ._mZ[0]._hZ._x2 = _h_._AV._x2; } function _C01() { this.type = 0; this.index = 0; this._n_ = 0 } _C01._D01 = 0; _C01._E01 = 1; _C01._F01 = 2; function _G01() { this._2h = new Array(_eS); this._o_ = new Array(_eS); this._fg = 0 }; function _H01() { this._fW = 0, this._gW = 0; this._Th = new _XS(), this._Uh = new _XS(); this._tV = new _XS(); this._I01 = new _XS(); this._g01 = 0; this._J01 = new _XS(); this._h01 = 0 }; function _K01() { this._L01 = new _G01(); this._M01 = new _LT(); this._N01 = new _XS(); this._O01 = new _XS(), this._P01 = new _XS(), this._Q01 = new _XS(), this._R01 = new _XS(); this._S01 = new _XS(), this._T01 = new _XS(), this._U01 = new _XS(); this._V01 = new _XS(); this._W01 = 0, this._X01 = 0; this._Y01 = new _XS(), this._Z01 = new _XS(); this._gV = 0; this.__01 = !1 } _K01._011 = new _XS(); _K01._111 = new _XS(); _K01._211 = new _XS(); _K01.prototype = { _311: function(_pZ, _X_, _AZ, _411, _CZ) { this._M01._0T(_iU(_AZ, _CZ)); this._N01._w2 = (this._M01._rz._v2 * _411._iW._w2 - this._M01._rz._ov * _411._iW._x2) + this._M01._yA._w2; this._N01._x2 = (this._M01._rz._ov * _411._iW._w2 + this._M01._rz._v2 * _411._iW._x2) + this._M01._yA._x2; this._O01._w2 = _X_._NV._w2; this._O01._x2 = _X_._NV._x2; this._P01._w2 = _X_._OV._w2; this._P01._x2 = _X_._OV._x2; this._Q01._w2 = _X_._PV._w2; this._Q01._x2 = _X_._PV._x2; this._R01._w2 = _X_._QV._w2; this._R01._x2 = _X_._QV._x2; var _511 = _X_._RV; var _611 = _X_._SV; _K01._011._w2 = this._Q01._w2 - this._P01._w2; _K01._011._x2 = this._Q01._x2 - this._P01._x2; _K01._011._7T(); this._T01._w2 = _K01._011._x2; this._T01._x2 = -_K01._011._w2; var _711 = this._T01._w2 * (this._N01._w2 - this._P01._w2) + this._T01._x2 * (this._N01._x2 - this._P01._x2); var _811 = 0.0, _911 = 0.0; var _a11 = !1, _b11 = !1; if (_511) { _K01._111._w2 = this._P01._w2 - this._O01._w2; _K01._111._x2 = this._P01._x2 - this._O01._x2; _K01._111._7T(); this._S01._w2 = _K01._111._x2; this._S01._x2 = -_K01._111._w2; _a11 = (_K01._111._w2 * _K01._011._x2 - _K01._111._x2 * _K01._011._w2) >= 0; _811 = this._S01._w2 * (this._N01._w2 - this._O01._w2) + this._S01._x2 * (this._N01._x2 - this._O01._x2); } if (_611) { _K01._211._w2 = this._R01._w2 - this._Q01._w2; _K01._211._x2 = this._R01._x2 - this._Q01._x2; _K01._211._7T(); this._U01._w2 = _K01._211._x2; this._U01._x2 = -_K01._211._w2; _b11 = (_K01._011._w2 * _K01._211._x2 - _K01._011._x2 * _K01._211._w2) > 0.0; _911 = this._U01._w2 * (this._N01._w2 - this._Q01._w2) + this._U01._x2 * (this._N01._x2 - this._Q01._x2) } if (_511 && _611) { if (_a11 && _b11) { this.__01 = _811 >= 0.0 || _711 >= 0.0 || _911 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._S01._w2; this._Y01._x2 = this._S01._x2; this._Z01._w2 = this._U01._w2; this._Z01._x2 = this._U01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } } else if (_a11) { this.__01 = _811 >= 0.0 || (_711 >= 0.0 && _911 >= 0.0); if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._S01._w2; this._Y01._x2 = this._S01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._U01._w2; this._Y01._x2 = -this._U01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } } else if (_b11) { this.__01 = _911 >= 0.0 || (_811 >= 0.0 && _711 >= 0.0); if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = this._U01._w2; this._Z01._x2 = this._U01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = -this._S01._w2; this._Z01._x2 = -this._S01._x2 } } else { this.__01 = _811 >= 0.0 && _711 >= 0.0 && _911 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._U01._w2; this._Y01._x2 = -this._U01._x2; this._Z01._w2 = -this._S01._w2; this._Z01._x2 = -this._S01._x2 } } } else if (_511) { if (_a11) { this.__01 = _811 >= 0.0 || _711 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._S01._w2; this._Y01._x2 = this._S01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } } else { this.__01 = _811 >= 0.0 && _711 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = -this._S01._w2; this._Z01._x2 = -this._S01._x2 } } } else if (_611) { if (_b11) { this.__01 = _711 >= 0.0 || _911 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = this._U01._w2; this._Z01._x2 = this._U01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } } else { this.__01 = _711 >= 0.0 && _911 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = -this._U01._w2; this._Y01._x2 = -this._U01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } } } else { this.__01 = _711 >= 0.0; if (this.__01) { this._V01._w2 = this._T01._w2; this._V01._x2 = this._T01._x2; this._Y01._w2 = -this._T01._w2; this._Y01._x2 = -this._T01._x2; this._Z01._w2 = -this._T01._w2; this._Z01._x2 = -this._T01._x2 } else { this._V01._w2 = -this._T01._w2; this._V01._x2 = -this._T01._x2; this._Y01._w2 = this._T01._w2; this._Y01._x2 = this._T01._x2; this._Z01._w2 = this._T01._w2; this._Z01._x2 = this._T01._x2 } } this._L01._fg = _411._1W; for (var _u2 = 0; _u2 < _411._1W; ++_u2) { this._L01._2h[_u2] = _dU(this._M01, _411._0W[_u2]); this._L01._o_[_u2] = _bU(this._M01._rz, _411._jW[_u2]) } this._gV = 2.0 * _jS; _pZ._oZ = 0; var _c11 = this._d11(); if (_c11.type == _C01._D01) { return } if (_c11._n_ > this._gV) { return } var _e11 = this._f11(); if (_e11.type != _C01._D01 && _e11._n_ > this._gV) { return } var _g11 = 0.98; var _h11 = 0.001; var _i11 = new _C01(); if (_e11.type == _C01._D01) { _i11 = _c11 } else if (_e11._n_ > _g11 * _c11._n_ + _h11) { _i11 = _e11 } else { _i11 = _c11 } var _rW = new Array(2); var _j11 = new _H01(); if (_i11.type == _C01._E01) { _pZ.type = _lZ._rZ; var _OX = 0; var _PX = this._V01._w2 * this._L01._o_[0]._w2 + this._V01._x2 * this._L01._o_[0]._x2; for (var _u2 = 1; _u2 < this._L01._fg; ++_u2) { var value = this._V01._w2 * this._L01._o_[_u2]._w2 + this._V01._x2 * this._L01._o_[_u2]._x2; if (value < _PX) { _PX = value; _OX = _u2 } } var _fW = _OX; var _gW = _fW + 1 < this._L01._fg ? _fW + 1 : 0; _rW[0] = new _XZ(); _rW[0]._8h._w2 = this._L01._2h[_fW]._w2; _rW[0]._8h._x2 = this._L01._2h[_fW]._x2; _rW[0].id._SX = 0; _rW[0].id._TX = _fW; _rW[0].id._bZ = _aZ._fZ; _rW[0].id._cZ = _aZ._eZ; _rW[1] = new _XZ(); _rW[1]._8h._w2 = this._L01._2h[_gW]._w2; _rW[1]._8h._x2 = this._L01._2h[_gW]._x2; _rW[1].id._SX = 0; _rW[1].id._TX = _gW; _rW[1].id._bZ = _aZ._fZ; _rW[1].id._cZ = _aZ._eZ; if (this.__01) { _j11._fW = 0; _j11._gW = 1; _j11._Th._w2 = this._P01._w2; _j11._Th._x2 = this._P01._x2; _j11._Uh._w2 = this._Q01._w2; _j11._Uh._x2 = this._Q01._x2; _j11._tV._w2 = this._T01._w2; _j11._tV._x2 = this._T01._x2 } else { _j11._fW = 1; _j11._gW = 0; _j11._Th._w2 = this._Q01._w2; _j11._Th._x2 = this._Q01._x2; _j11._Uh._w2 = this._P01._w2; _j11._Uh._x2 = this._P01._x2; _j11._tV._w2 = -this._T01._w2; _j11._tV._x2 = -this._T01._x2 } } else { _pZ.type = _lZ._sZ; _rW[0] = new _XZ(); _rW[0]._8h = this._P01; _rW[0].id._SX = 0; _rW[0].id._TX = _i11.index; _rW[0].id._bZ = _aZ._eZ; _rW[0].id._cZ = _aZ._fZ; _rW[1] = new _XZ(); _rW[1]._8h = this._Q01; _rW[1].id._SX = 0; _rW[1].id._TX = _i11.index; _rW[1].id._bZ = _aZ._eZ; _rW[1].id._cZ = _aZ._fZ; _j11._fW = _i11.index; _j11._gW = _j11._fW + 1 < this._L01._fg ? _j11._fW + 1 : 0; _j11._Th._w2 = this._L01._2h[_j11._fW]._w2; _j11._Th._x2 = this._L01._2h[_j11._fW]._x2; _j11._Uh._w2 = this._L01._2h[_j11._gW]._w2; _j11._Uh._x2 = this._L01._2h[_j11._gW]._x2; _j11._tV._w2 = this._L01._o_[_j11._fW]._w2; _j11._tV._x2 = this._L01._o_[_j11._fW]._x2 } _j11._I01._w2 = _j11._tV._x2; _j11._I01._x2 = -_j11._tV._w2; _j11._J01._w2 = -_j11._I01._w2; _j11._J01._x2 = -_j11._I01._x2; _j11._g01 = _j11._I01._w2 * _j11._Th._w2 + _j11._I01._x2 * _j11._Th._x2; _j11._h01 = _j11._J01._w2 * _j11._Uh._w2 + _j11._J01._x2 * _j11._Uh._x2; var _i01 = new Array(2); var _j01 = new Array(2); var _k01; _k01 = _l01(_i01, _rW, _j11._I01._w2, _j11._I01._x2, _j11._g01, _j11._fW); if (_k01 < _dS) { return } _k01 = _l01(_j01, _i01, _j11._J01._w2, _j11._J01._x2, _j11._h01, _j11._gW); if (_k01 < _dS) { return } if (_i11.type == _C01._E01) { _pZ._nZ._w2 = _j11._tV._w2; _pZ._nZ._x2 = _j11._tV._x2; _pZ._hZ._w2 = _j11._Th._w2; _pZ._hZ._x2 = _j11._Th._x2 } else { _pZ._nZ._w2 = _411._jW[_j11._fW]._w2; _pZ._nZ._x2 = _411._jW[_j11._fW]._x2; _pZ._hZ._w2 = _411._0W[_j11._fW]._w2; _pZ._hZ._x2 = _411._0W[_j11._fW]._x2 } var _oZ = 0; for (var _u2 = 0; _u2 < _dS; ++_u2) { var _n_ = _j11._tV._w2 * (_j01[_u2]._8h._w2 - _j11._Th._w2) + _j11._tV._x2 * (_j01[_u2]._8h._x2 - _j11._Th._x2); if (_n_ <= this._gV) { var _m01 = _pZ._mZ[_oZ] = new _gZ(); if (_i11.type == _C01._E01) { _m01._hZ._0T(_fU(this._M01, _j01[_u2]._8h)); _m01.id._0T(_j01[_u2].id) } else { _m01._hZ._w2 = _j01[_u2]._8h._w2; _m01._hZ._x2 = _j01[_u2]._8h._x2; _m01.id._bZ = _j01[_u2].id._cZ; _m01.id._cZ = _j01[_u2].id._bZ; _m01.id._SX = _j01[_u2].id._TX; _m01.id._TX = _j01[_u2].id._SX }++_oZ } } _pZ._oZ = _oZ }, _d11: function() { var _PU = new _C01(); _PU.type = _C01._E01; _PU.index = this.__01 ? 0 : 1; _PU._n_ = Number.MAX_VALUE; for (var _u2 = 0; _u2 < this._L01._fg; ++_u2) { var _ov = this._V01._w2 * (this._L01._2h[_u2]._w2 - this._P01._w2) + this._V01._x2 * (this._L01._2h[_u2]._x2 - this._P01._x2); if (_ov < _PU._n_) { _PU._n_ = _ov } } return _PU }, _f11: function() { var _PU = new _C01(); _PU.type = _C01._D01; _PU.index = -1; _PU._n_ = -Number.MAX_VALUE; var _k11 = -this._V01._x2; var _l11 = this._V01._w2; for (var _u2 = 0; _u2 < this._L01._fg; ++_u2) { var _li = -this._L01._o_[_u2]._w2; var _mi = -this._L01._o_[_u2]._x2; var _Au = _li * (this._L01._2h[_u2]._w2 - this._P01._w2) + _mi * (this._L01._2h[_u2]._x2 - this._P01._x2); var _Bu = _li * (this._L01._2h[_u2]._w2 - this._Q01._w2) + _mi * (this._L01._2h[_u2]._x2 - this._Q01._x2); var _ov = _oU(_Au, _Bu); if (_ov > this._gV) { _PU.type = _C01._F01; _PU.index = _u2; _PU._n_ = _ov; return _PU } if (_li * _k11 + _mi * _l11 >= 0.0) { if ((_li - this._Z01._w2) * this._V01._w2 + (_mi - this._Z01._x2) * this._V01._x2 < -_iS) { continue } } else { if ((_li - this._Y01._w2) * this._V01._w2 + (_mi - this._Y01._x2) * this._V01._x2 < -_iS) { continue } } if (_ov > _PU._n_) { _PU.type = _C01._F01; _PU.index = _u2; _PU._n_ = _ov; } } return _PU } }; _K01._m11 = 0; _K01._n11 = 1; _K01._o11 = 2; function _p11(_pZ, _X_, _AZ, _411, _CZ) { _p11._q11._311(_pZ, _X_, _AZ, _411, _CZ) } _p11._q11 = new _K01(); function _l01(_r11, _s11, _d01, _e01, _A2, _t11) { var _u11 = 0; var _v11 = (_d01 * _s11[0]._8h._w2 + _e01 * _s11[0]._8h._x2) - _A2; var _w11 = (_d01 * _s11[1]._8h._w2 + _e01 * _s11[1]._8h._x2) - _A2; if (_v11 <= 0.0) _r11[_u11++] = _s11[0]; if (_w11 <= 0.0) _r11[_u11++] = _s11[1]; if (_v11 * _w11 < 0.0) { var _x11 = _v11 / (_v11 - _w11); _r11[_u11] = new _XZ(); _r11[_u11]._8h._w2 = _s11[0]._8h._w2 + (_x11 * (_s11[1]._8h._w2 - _s11[0]._8h._w2)); _r11[_u11]._8h._x2 = _s11[0]._8h._x2 + (_x11 * (_s11[1]._8h._x2 - _s11[0]._8h._x2)); _r11[_u11].id._SX = _t11; _r11[_u11].id._TX = _s11[0].id._TX; _r11[_u11].id._bZ = _aZ._eZ; _r11[_u11].id._cZ = _aZ._fZ; ++_u11 } return _u11 } function _y11(_z11, _SX, _A11, _TX, _AZ, _CZ) { _y11._ez._VX._Tn(_z11, _SX); _y11._ez._WX._Tn(_A11, _TX); _y11._ez._XX = _AZ; _y11._ez._YX = _CZ; _y11._ez._ZX = !0; _y11._eg._fg = 0; _TY(_y11._gz, _y11._eg, _y11._ez); return _y11._gz._sV < 10.0 * _bS } _y11._ez = new _UX(); _y11._eg = new _QX(); _y11._gz = new __X(); function _pX(_Wg, _xf) { return !((_xf._FV._w2 - _Wg._GV._w2) > 0.0 || (_xf._FV._x2 - _Wg._GV._x2) > 0.0 || (_Wg._FV._w2 - _xf._GV._w2) > 0.0 || (_Wg._FV._x2 - _xf._GV._x2) > 0.0); } var _B11 = -1; function _C11() { this._nV = new __Z(); this._cX = null; this.parent = 0; this._D11 = this._E11 = this.height = 0 } _C11.prototype = { _F11: function() { return this._D11 == _B11 } }; function _4X() { this._G11 = _B11; this._H11 = 16; this._I11 = 0; this._J11 = new Array(this._H11); for (var _u2 = 0; _u2 < this._H11 - 1; ++_u2) { this._J11[_u2] = new _C11(); this._J11[_u2].parent = _u2 + 1; this._J11[_u2].height = -1 } this._J11[this._H11 - 1] = new _C11(); this._J11[this._H11 - 1].parent = _B11; this._J11[this._H11 - 1].height = -1; this._K11 = 0; this._L11 = 0; this._M11 = 0 } _4X._N11 = new _XS(_fS, _fS); _4X.prototype = { _bX: function(_nV, _cX) { var _dX = this._O11(); this._J11[_dX]._nV._FV._0T(_XS._4T(_nV._FV, _4X._N11)); this._J11[_dX]._nV._GV._0T(_XS._yn(_nV._GV, _4X._N11)); this._J11[_dX]._cX = _cX; this._J11[_dX].height = 0; this._P11(_dX); return _dX }, _fX: function(_dX) { _7S(0 <= _dX && _dX < this._H11); _7S(this._J11[_dX]._F11()); this._Q11(_dX); this._R11(_dX) }, _hX: function(_dX, _nV, _iX) { _7S(0 <= _dX && _dX < this._H11); _7S(this._J11[_dX]._F11()); if (this._J11[_dX]._nV._8_(_nV)) { return !1 } this._Q11(_dX); this._J11[_dX]._nV._0T(_nV); this._J11[_dX]._nV._FV._4T(_4X._N11); this._J11[_dX]._nV._GV._yn(_4X._N11); var _Bp = _XS._9u(_gS, _iX); if (_Bp._w2 < 0.0) { this._J11[_dX]._nV._FV._w2 += _Bp._w2 } else { this._J11[_dX]._nV._GV._w2 += _Bp._w2 } if (_Bp._x2 < 0.0) { this._J11[_dX]._nV._FV._x2 += _Bp._x2 } else { this._J11[_dX]._nV._GV._x2 += _Bp._x2 } this._P11(_dX); return !0 }, _lX: function(_dX) { _7S(0 <= _dX && _dX < this._H11); return this._J11[_dX]._cX }, _kX: function(_dX) { _7S(0 <= _dX && _dX < this._H11); return this._J11[_dX]._nV }, _vX: function(_sX, _nV) { var _go = []; _go.push(this._G11); while (_go.length > 0) { var _S11 = _go.pop(); if (_S11 == _B11) { continue } var _6O = this._J11[_S11]; if (_pX(_6O._nV, _nV)) { if (_6O._F11()) { var _T11 = _sX._JX(_S11); if (_T11 == !1) { return } } else { _go.push(_6O._D11); _go.push(_6O._E11) } } } }, _kV: function(_sX, _ez) { var _RU = _ez._RU; var _SU = _ez._SU; var _uf = _XS._4T(_SU, _RU); _7S(_uf._6T() > 0.0); _uf._7T(); var _8h = __T(1.0, _uf); var _U11 = _mU(_8h); var _DV = _ez._DV; var _V11 = new __Z(); { var _wf = _XS._yn(_RU, _XS._9u(_DV, _XS._4T(_SU, _RU))); _V11._FV._0T(_pU(_RU, _wf)); _V11._GV._0T(_rU(_RU, _wf)) } var _go = []; _go.push(this._G11); while (_go.length > 0) { var _S11 = _go.pop(); if (_S11 == _B11) { continue } var _6O = this._J11[_S11]; if (_pX(_6O._nV, _V11) == !1) { continue } var _v2 = _6O._nV._2_(); var _z2 = _6O._nV._3_(); var _n_ = _lU(_XT(_8h, _XS._4T(_RU, _v2))) - _XT(_U11, _z2); if (_n_ > 0.0) { continue } if (_6O._F11()) { var _W11 = new _YZ(); _W11._RU._0T(_ez._RU); _W11._SU._0T(_ez._SU); _W11._DV = _DV; var value = _sX._X11(_W11, _S11); if (value == 0.0) { return } if (value > 0.0) { _DV = value; var _wf = _XS._yn(_RU, _XS._9u(_DV, _XS._4T(_SU, _RU))); _V11._FV._0T(_pU(_RU, _wf)); _V11._GV._0T(_rU(_RU, _wf)) } } else { _go.push(_6O._D11); _go.push(_6O._E11) } } }, _NW: function() { this._Y11(this._G11); this._Z11(this._G11); var __11 = 0; var _021 = this._K11; while (_021 != _B11) { _7S(0 <= _021 && _021 < this._H11); _021 = this._J11[_021].parent; ++__11 } _7S(this._CX() == this._121()); _7S(this._I11 + __11 == this._H11) }, _CX: function() { if (this._G11 == _B11) { return 0 } return this._J11[this._G11].height }, _EX: function() { var _221 = 0; for (var _u2 = 0; _u2 < this._H11; ++_u2) { var _6O = this._J11[_u2]; if (_6O.height <= 1) { continue } _7S(_6O._F11() == !1); var _D11 = _6O._D11; var _E11 = _6O._E11; var _321 = _lU(this._J11[_E11].height - this._J11[_D11].height); _221 = _qU(_221, _321) } return _221 }, _GX: function() { if (this._G11 == _B11) { return 0.0 } var _fe = this._J11[this._G11]; var _421 = _fe._nV._4_(); var _521 = 0.0; for (var _u2 = 0; _u2 < this._H11; ++_u2) { var _6O = this._J11[_u2]; if (_6O.height < 0) { continue } _521 += _6O._nV._4_() } return _521 / _421 }, _621: function() { var _721 = new Array(this._I11); var _fg = 0; for (var _u2 = 0; _u2 < this._H11; ++_u2) { if (this._J11[_u2].height < 0) { continue } if (this._J11[_u2]._F11()) { this._J11[_u2].parent = _B11; _721[_fg] = _u2; ++_fg } else { this._R11(_u2) } } while (_fg > 1) { var _821 = _aS; var _921 = -1, _a21 = -1; for (_u2 = 0; _u2 < _fg; ++_u2) { var _b21 = this._J11[_721[_u2]]._nV; for (var _Bf = _u2 + 1; _Bf < _fg; ++_Bf) { var _c21 = this._J11[_721[_Bf]]._nV; var _xf = new __Z(); _xf._5_(_b21, _c21); var _d21 = _xf._4_(); if (_d21 < _821) { _921 = _u2; _a21 = _Bf; _821 = _d21 } } } var _e21 = _721[_921]; var _f21 = _721[_a21]; var _D11 = this._J11[_e21]; var _E11 = this._J11[_f21]; var _g21 = this._O11(); var parent = this._J11[_g21]; parent._D11 = _e21; parent._E11 = _f21; parent.height = 1 + _qU(_D11.height, _E11.height); parent._nV._5_(_D11._nV, _E11._nV); parent.parent = _B11; _D11.parent = _g21; _E11.parent = _g21; _721[_a21] = _721[_fg - 1]; _721[_921] = _g21; --_fg } this._G11 = _721[0]; this._NW() }, _HX: function(_IX) { for (var _u2 = 0; _u2 < this._H11; ++_u2) { this._J11[_u2]._nV._FV._4T(_IX); this._J11[_u2]._nV._GV._4T(_IX); } }, _O11: function() { if (this._K11 == _B11) { _7S(this._I11 == this._H11); var _h21 = this._J11; this._H11 *= 2; this._J11 = _h21.concat(new Array(this._H11 - this._I11)); for (var _u2 = this._I11; _u2 < this._H11 - 1; ++_u2) { this._J11[_u2] = new _C11(); this._J11[_u2].parent = _u2 + 1; this._J11[_u2].height = -1 } this._J11[this._H11 - 1] = new _C11(); this._J11[this._H11 - 1].parent = _B11; this._J11[this._H11 - 1].height = -1; this._K11 = this._I11 } var _S11 = this._K11; this._K11 = this._J11[_S11].parent; this._J11[_S11].parent = _B11; this._J11[_S11]._D11 = _B11; this._J11[_S11]._E11 = _B11; this._J11[_S11].height = 0; this._J11[_S11]._cX = null; ++this._I11; return _S11 }, _R11: function(_S11) { _7S(0 <= _S11 && _S11 < this._H11); _7S(0 < this._I11); this._J11[_S11].parent = this._K11; this._J11[_S11].height = -1; this._K11 = _S11; --this._I11 }, _P11: function(_i21) { ++this._M11; if (this._G11 == _B11) { this._G11 = _i21; this._J11[this._G11].parent = _B11; return } var _j21 = this._J11[_i21]._nV; var index = this._G11; while (this._J11[index]._F11() == !1) { var _D11 = this._J11[index]._D11; var _E11 = this._J11[index]._E11; var _BW = this._J11[index]._nV._4_(); var _k21 = new __Z(); _k21._5_(this._J11[index]._nV, _j21); var _l21 = _k21._4_(); var _d21 = 2.0 * _l21; var _m21 = 2.0 * (_l21 - _BW); var _n21; var _nV; if (this._J11[_D11]._F11()) { _nV = new __Z(); _nV._5_(_j21, this._J11[_D11]._nV); _n21 = _nV._4_() + _m21 } else { _nV = new __Z(); _nV._5_(_j21, this._J11[_D11]._nV); var _o21 = this._J11[_D11]._nV._4_(); var _p21 = _nV._4_(); _n21 = (_p21 - _o21) + _m21 } var _q21; if (this._J11[_E11]._F11()) { _nV = new __Z(); _nV._5_(_j21, this._J11[_E11]._nV); _q21 = _nV._4_() + _m21 } else { _nV = new __Z(); _nV._5_(_j21, this._J11[_E11]._nV); var _o21 = this._J11[_E11]._nV._4_(); var _p21 = _nV._4_(); _q21 = _p21 - _o21 + _m21 } if (_d21 < _n21 && _d21 < _q21) { break } if (_n21 < _q21) { index = _D11 } else { index = _E11 } } var _r21 = index; var _s21 = this._J11[_r21].parent; var _t21 = this._O11(); this._J11[_t21].parent = _s21; this._J11[_t21]._cX = null; this._J11[_t21]._nV._5_(_j21, this._J11[_r21]._nV); this._J11[_t21].height = this._J11[_r21].height + 1; if (_s21 != _B11) { if (this._J11[_s21]._D11 == _r21) { this._J11[_s21]._D11 = _t21 } else { this._J11[_s21]._E11 = _t21 } this._J11[_t21]._D11 = _r21; this._J11[_t21]._E11 = _i21; this._J11[_r21].parent = _t21; this._J11[_i21].parent = _t21 } else { this._J11[_t21]._D11 = _r21; this._J11[_t21]._E11 = _i21; this._J11[_r21].parent = _t21; this._J11[_i21].parent = _t21; this._G11 = _t21; } index = this._J11[_i21].parent; while (index != _B11) { index = this._u21(index); var _D11 = this._J11[index]._D11; var _E11 = this._J11[index]._E11; _7S(_D11 != _B11); _7S(_E11 != _B11); this._J11[index].height = 1 + _qU(this._J11[_D11].height, this._J11[_E11].height); this._J11[index]._nV._5_(this._J11[_D11]._nV, this._J11[_E11]._nV); index = this._J11[index].parent } }, _Q11: function(_i21) { if (_i21 == this._G11) { this._G11 = _B11; return } var parent = this._J11[_i21].parent; var _v21 = this._J11[parent].parent; var _r21; if (this._J11[parent]._D11 == _i21) { _r21 = this._J11[parent]._E11 } else { _r21 = this._J11[parent]._D11 } if (_v21 != _B11) { if (this._J11[_v21]._D11 == parent) { this._J11[_v21]._D11 = _r21 } else { this._J11[_v21]._E11 = _r21 } this._J11[_r21].parent = _v21; this._R11(parent); var index = _v21; while (index != _B11) { index = this._u21(index); var _D11 = this._J11[index]._D11; var _E11 = this._J11[index]._E11; this._J11[index]._nV._5_(this._J11[_D11]._nV, this._J11[_E11]._nV); this._J11[index].height = 1 + _qU(this._J11[_D11].height, this._J11[_E11].height); index = this._J11[index].parent } } else { this._G11 = _r21; this._J11[_r21].parent = _B11; this._R11(parent) } }, _u21: function(_w21) { _7S(_w21 != _B11); var _8S = this._J11[_w21]; if (_8S._F11() || _8S.height < 2) { return _w21 } var _x21 = _8S._D11; var _y21 = _8S._E11; _7S(0 <= _x21 && _x21 < this._H11); _7S(0 <= _y21 && _y21 < this._H11); var _nT = this._J11[_x21]; var _hU = this._J11[_y21]; var _321 = _hU.height - _nT.height; if (_321 > 1) { var _z21 = _hU._D11; var _A21 = _hU._E11; var _B21 = this._J11[_z21]; var _C21 = this._J11[_A21]; _7S(0 <= _z21 && _z21 < this._H11); _7S(0 <= _A21 && _A21 < this._H11); _hU._D11 = _w21; _hU.parent = _8S.parent; _8S.parent = _y21; if (_hU.parent != _B11) { if (this._J11[_hU.parent]._D11 == _w21) { this._J11[_hU.parent]._D11 = _y21; } else { _7S(this._J11[_hU.parent]._E11 == _w21); this._J11[_hU.parent]._E11 = _y21 } } else { this._G11 = _y21 } if (_B21.height > _C21.height) { _hU._E11 = _z21; _8S._E11 = _A21; _C21.parent = _w21; _8S._nV._5_(_nT._nV, _C21._nV); _hU._nV._5_(_8S._nV, _B21._nV); _8S.height = 1 + _qU(_nT.height, _C21.height); _hU.height = 1 + _qU(_8S.height, _B21.height) } else { _hU._E11 = _A21; _8S._E11 = _z21; _B21.parent = _w21; _8S._nV._5_(_nT._nV, _B21._nV); _hU._nV._5_(_8S._nV, _C21._nV); _8S.height = 1 + _qU(_nT.height, _B21.height); _hU.height = 1 + _qU(_8S.height, _C21.height) } return _y21; } if (_321 < -1) { var _D21 = _nT._D11; var _E21 = _nT._E11; var _FW = this._J11[_D21]; var _F21 = this._J11[_E21]; _7S(0 <= _D21 && _D21 < this._H11); _7S(0 <= _E21 && _E21 < this._H11); _nT._D11 = _w21; _nT.parent = _8S.parent; _8S.parent = _x21; if (_nT.parent != _B11) { if (this._J11[_nT.parent]._D11 == _w21) { this._J11[_nT.parent]._D11 = _x21 } else { _7S(this._J11[_nT.parent]._E11 == _w21); this._J11[_nT.parent]._E11 = _x21 } } else { this._G11 = _x21 } if (_FW.height > _F21.height) { _nT._E11 = _D21; _8S._D11 = _E21; _F21.parent = _w21; _8S._nV._5_(_hU._nV, _F21._nV); _nT._nV._5_(_8S._nV, _FW._nV); _8S.height = 1 + _qU(_hU.height, _F21.height); _nT.height = 1 + _qU(_8S.height, _FW.height) } else { _nT._E11 = _E21; _8S._D11 = _D21; _FW.parent = _w21; _8S._nV._5_(_hU._nV, _FW._nV); _nT._nV._5_(_8S._nV, _F21._nV); _8S.height = 1 + _qU(_hU.height, _FW.height); _nT.height = 1 + _qU(_8S.height, _F21.height) } return _x21 } return _w21 }, _121: function(_S11) { if (typeof(_S11) === 'undefined') _S11 = this._G11; _7S(0 <= _S11 && _S11 < this._H11); var _6O = this._J11[_S11]; if (_6O._F11()) { return 0 } var _G21 = this._121(_6O._D11); var _H21 = this._121(_6O._E11); return 1 + _qU(_G21, _H21) }, _Y11: function(index) { if (index == _B11) { return } if (index == this._G11) { _7S(this._J11[index].parent == _B11) } var _6O = this._J11[index]; var _D11 = _6O._D11; var _E11 = _6O._E11; if (_6O._F11()) { _7S(_D11 == _B11); _7S(_E11 == _B11); _7S(_6O.height == 0); return } _7S(0 <= _D11 && _D11 < this._H11); _7S(0 <= _E11 && _E11 < this._H11); _7S(this._J11[_D11].parent == index); _7S(this._J11[_E11].parent == index); this._Y11(_D11); this._Y11(_E11) }, _Z11: function(index) { if (index == _B11) { return } var _6O = this._J11[index]; var _D11 = _6O._D11; var _E11 = _6O._E11; if (_6O._F11()) { _7S(_D11 == _B11); _7S(_E11 == _B11); _7S(_6O.height == 0); return } _7S(0 <= _D11 && _D11 < this._H11); _7S(0 <= _E11 && _E11 < this._H11); var _G21 = this._J11[_D11].height; var _H21 = this._J11[_E11].height; var height; height = 1 + _qU(_G21, _H21); _7S(_6O.height == height); var _nV = new __Z(); _nV._5_(this._J11[_D11]._nV, this._J11[_E11]._nV); _7S(_XS._eT(_nV._FV, _6O._nV._FV)); _7S(_XS._eT(_nV._GV, _6O._nV._GV)); this._Z11(_D11); this._Z11(_E11) } }; function _I21() { this._VX = new _KX(); this._WX = new _KX(); this._J21 = new _NT(); this._K21 = new _NT(); this._L21 = 0 }; function _M21() { this._cF = 0; this._wf = 0 }; _M21._D01 = 0; _M21._N21 = 1; _M21._O21 = 2; _M21._P21 = 3; _M21._Q21 = 4; function _R21() { this._S21 = null; this._T21 = null; this._U21 = null; this._V21 = null; this._fV = 0; this._W21 = new _XS(); this._X21 = new _XS() } var _Y21 = new _LT(); var _Z21 = new _LT(); _R21.prototype = { _zZ: function(_eg, _VX, _J21, _WX, _K21, _d_) { this._S21 = _VX; this._T21 = _WX; var _fg = _eg._fg; _7S(0 < _fg && _fg < 3); this._U21 = _J21; this._V21 = _K21; this._U21._TT(_Y21, _d_); this._V21._TT(_Z21, _d_); if (_fg == 1) { this._fV = _R21.__21; var _031 = this._S21._KV(_eg._SX[0]); var _131 = this._T21._KV(_eg._TX[0]); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; this._X21._w2 = _GZ - _EZ; this._X21._x2 = _HZ - _FZ; var _ov = this._X21._7T(); return _ov } else if (_eg._SX[0] == _eg._SX[1]) { this._fV = _R21._sZ; var _231 = _WX._KV(_eg._TX[0]); var _331 = _WX._KV(_eg._TX[1]); this._X21._w2 = 1.0 * (_331._x2 - _231._x2); this._X21._x2 = -1.0 * (_331._w2 - _231._w2); this._X21._7T(); var _d01 = _Z21._rz._v2 * this._X21._w2 - _Z21._rz._ov * this._X21._x2; var _e01 = _Z21._rz._ov * this._X21._w2 + _Z21._rz._v2 * this._X21._x2; this._W21._w2 = 0.5 * (_231._w2 + _331._w2); this._W21._x2 = 0.5 * (_231._x2 + _331._x2); var _GZ = (_Z21._rz._v2 * this._W21._w2 - _Z21._rz._ov * this._W21._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * this._W21._w2 + _Z21._rz._v2 * this._W21._x2) + _Z21._yA._x2; var _031 = _VX._KV(_eg._SX[0]); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; var _ov = (_EZ - _GZ) * _d01 + (_FZ - _HZ) * _e01; if (_ov < 0.0) { this._X21._w2 = -this._X21._w2; this._X21._x2 = -this._X21._x2; _ov = -_ov } return _ov } else { this._fV = _R21._rZ; var _431 = this._S21._KV(_eg._SX[0]); var _531 = this._S21._KV(_eg._SX[1]); this._X21._w2 = 1.0 * (_531._x2 - _431._x2); this._X21._x2 = -1.0 * (_531._w2 - _431._w2); this._X21._7T(); var _d01 = _Y21._rz._v2 * this._X21._w2 - _Y21._rz._ov * this._X21._x2; var _e01 = _Y21._rz._ov * this._X21._w2 + _Y21._rz._v2 * this._X21._x2; this._W21._w2 = 0.5 * (_431._w2 + _531._w2); this._W21._x2 = 0.5 * (_431._x2 + _531._x2); var _EZ = (_Y21._rz._v2 * this._W21._w2 - _Y21._rz._ov * this._W21._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * this._W21._w2 + _Y21._rz._v2 * this._W21._x2) + _Y21._yA._x2; var _131 = this._T21._KV(_eg._TX[0]); var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; var _ov = (_GZ - _EZ) * _d01 + (_HZ - _FZ) * _e01; if (_ov < 0.0) { this._X21._w2 = -this._X21._w2; this._X21._x2 = -this._X21._x2; _ov = -_ov } return _ov } }, _631: function(_731, _wf) { this._U21._TT(_Y21, _wf); this._V21._TT(_Z21, _wf); switch (this._fV) { case _R21.__21: { var _831 = _Y21._rz._v2 * this._X21._w2 + _Y21._rz._ov * this._X21._x2; var _931 = -_Y21._rz._ov * this._X21._w2 + _Y21._rz._v2 * this._X21._x2; var _a31 = _Z21._rz._v2 * -this._X21._w2 + _Z21._rz._ov * -this._X21._x2; var _b31 = -_Z21._rz._ov * -this._X21._w2 + _Z21._rz._v2 * -this._X21._x2; _731[0] = this._S21._HV(_831, _931); _731[1] = this._T21._HV(_a31, _b31); var _031 = this._S21._KV(_731[0]); var _131 = this._T21._KV(_731[1]); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; return (_GZ - _EZ) * this._X21._w2 + (_HZ - _FZ) * this._X21._x2 } case _R21._rZ: { var _d01 = _Y21._rz._v2 * this._X21._w2 - _Y21._rz._ov * this._X21._x2; var _e01 = _Y21._rz._ov * this._X21._w2 + _Y21._rz._v2 * this._X21._x2; var _EZ = (_Y21._rz._v2 * this._W21._w2 - _Y21._rz._ov * this._W21._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * this._W21._w2 + _Y21._rz._v2 * this._W21._x2) + _Y21._yA._x2; var _a31 = _Z21._rz._v2 * -_d01 + _Z21._rz._ov * -_e01; var _b31 = -_Z21._rz._ov * -_d01 + _Z21._rz._v2 * -_e01; _731[0] = -1; _731[1] = this._T21._HV(_a31, _b31); var _131 = this._T21._KV(_731[1]); var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; return (_GZ - _EZ) * _d01 + (_HZ - _FZ) * _e01 } case _R21._sZ: { var _d01 = _Z21._rz._v2 * this._X21._w2 - _Z21._rz._ov * this._X21._x2; var _e01 = _Z21._rz._ov * this._X21._w2 + _Z21._rz._v2 * this._X21._x2; var _GZ = (_Z21._rz._v2 * this._W21._w2 - _Z21._rz._ov * this._W21._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * this._W21._w2 + _Z21._rz._v2 * this._W21._x2) + _Z21._yA._x2; var _831 = _Y21._rz._v2 * -_d01 + _Y21._rz._ov * -_e01; var _b31 = -_Y21._rz._ov * -_d01 + _Y21._rz._v2 * -_e01; _731[1] = -1; _731[0] = this._S21._HV(_831, _b31); var _031 = this._S21._KV(_731[0]); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; return (_EZ - _GZ) * _d01 + (_FZ - _HZ) * _e01; } default: _7S(!1); _731[0] = -1; _731[1] = -1; return 0.0 } }, _c31: function(_SX, _TX, _wf) { this._U21._TT(_Y21, _wf); this._V21._TT(_Z21, _wf); switch (this._fV) { case _R21.__21: { var _031 = this._S21._KV(_SX); var _131 = this._T21._KV(_TX); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; var _n_ = (_GZ - _EZ) * this._X21._w2 + (_HZ - _FZ) * this._X21._x2; return _n_; } case _R21._rZ: { var _d01 = _Y21._rz._v2 * this._X21._w2 - _Y21._rz._ov * this._X21._x2; var _e01 = _Y21._rz._ov * this._X21._w2 + _Y21._rz._v2 * this._X21._x2; var _EZ = (_Y21._rz._v2 * this._W21._w2 - _Y21._rz._ov * this._W21._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * this._W21._w2 + _Y21._rz._v2 * this._W21._x2) + _Y21._yA._x2; var _131 = this._T21._KV(_TX); var _GZ = (_Z21._rz._v2 * _131._w2 - _Z21._rz._ov * _131._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * _131._w2 + _Z21._rz._v2 * _131._x2) + _Z21._yA._x2; var _n_ = (_GZ - _EZ) * _d01 + (_HZ - _FZ) * _e01; return _n_ } case _R21._sZ: { var _d01 = _Z21._rz._v2 * this._X21._w2 - _Z21._rz._ov * this._X21._x2; var _e01 = _Z21._rz._ov * this._X21._w2 + _Z21._rz._v2 * this._X21._x2; var _GZ = (_Z21._rz._v2 * this._W21._w2 - _Z21._rz._ov * this._W21._x2) + _Z21._yA._w2; var _HZ = (_Z21._rz._ov * this._W21._w2 + _Z21._rz._v2 * this._W21._x2) + _Z21._yA._x2; var _031 = this._S21._KV(_SX); var _EZ = (_Y21._rz._v2 * _031._w2 - _Y21._rz._ov * _031._x2) + _Y21._yA._w2; var _FZ = (_Y21._rz._ov * _031._w2 + _Y21._rz._v2 * _031._x2) + _Y21._yA._x2; var _n_ = (_EZ - _GZ) * _d01 + (_FZ - _HZ) * _e01; return _n_ } default: _7S(!1); return 0.0 } } }; _R21.__21 = 0; _R21._rZ = 1; _R21._sZ = 2; var _d31 = _OR._0S("toi", "solveTOI"); function _e31(_gz, _ez) { _d31.start(); ++_e31._f31; _gz._cF = _M21._D01; _gz._wf = _ez._L21; var _VX = _ez._VX; var _WX = _ez._WX; _e31._g31._0T(_ez._J21); _e31._h31._0T(_ez._K21); _e31._g31._7T(); _e31._h31._7T(); var _L21 = _ez._L21; var _W_ = _VX._gV + _WX._gV; var target = _qU(_hS, _W_ - 3.0 * _hS); var _i31 = 0.25 * _hS; _7S(target > _i31); var _d_ = 0.0; var _j31 = 20; var _0Z = 0; var _eg = new _QX(); _eg._fg = 0; var _k31 = new _UX(); _k31._VX._0T(_ez._VX); _k31._WX._0T(_ez._WX); _k31._ZX = !1; for (;;) { _e31._g31._TT(_k31._XX, _d_); _e31._h31._TT(_k31._YX, _d_); var _l31 = new __X(); _TY(_l31, _eg, _k31); if (_l31._sV <= 0.0) { _gz._cF = _M21._O21; _gz._wf = 0.0; break } if (_l31._sV < target + _i31) { _gz._cF = _M21._P21; _gz._wf = _d_; break } var _m31 = new _R21(); _m31._zZ(_eg, _VX, _e31._g31, _WX, _e31._h31, _d_); var _n31 = !1; var _e_ = _L21; var _o31 = 0; for (;;) { var _731 = []; var _Bu = _m31._631(_731, _e_); if (_Bu > target + _i31) { _gz._cF = _M21._Q21; _gz._wf = _L21; _n31 = !0; break } if (_Bu > target - _i31) { _d_ = _e_; break } var _Au = _m31._c31(_731[0], _731[1], _d_); if (_Au < target - _i31) { _gz._cF = _M21._N21; _gz._wf = _d_; _n31 = !0; break } if (_Au <= target + _i31) { _gz._cF = _M21._P21; _gz._wf = _d_; _n31 = !0; break } var _p31 = 0; var _xN = _d_, _yN = _e_; for (;;) { var _wf; if (_p31 & 1) { _wf = _xN + (target - _Au) * (_yN - _xN) / (_Bu - _Au) } else { _wf = 0.5 * (_xN + _yN) }++_p31; ++_e31._q31; var _ov = _m31._c31(_731[0], _731[1], _wf); if (_lU(_ov - target) < _i31) { _e_ = _wf; break } if (_ov > target) { _xN = _wf; _Au = _ov } else { _yN = _wf; _Bu = _ov } if (_p31 == 50) { break } } _e31._r31 = _qU(_e31._r31, _p31); ++_o31; if (_o31 == _eS) { break } }++_0Z; ++_e31._s31; if (_n31) { break } if (_0Z == _j31) { _gz._cF = _M21._N21; _gz._wf = _d_; break } } _e31._t31 = _qU(_e31._t31, _0Z); _d31.stop(); _e31._u31 = _qU(_e31._u31, _d31._UR); _e31._v31 += _d31._UR } _e31._g31 = new _NT(); _e31._h31 = new _NT(); _e31._v31 = 0; _e31._u31 = 0; _e31._f31 = 0; _e31._s31 = 0; _e31._t31 = 0; _e31._q31 = 0; _e31._r31 = 0; function _w31() { this.type = _x31._y31; this.position = new _XS(0.0, 0.0); this._Cg = 0.0; this._z31 = new _XS(0.0, 0.0); this._A31 = 0.0; this._B31 = 0.0; this._C31 = 0.0; this._D31 = !0; this._E31 = !0; this._F31 = !1; this._G31 = !1; this._lE = !0; this._cX = null; this._H31 = 1.0; Object.seal(this) } _w31.prototype = { _dT: function(data) { this.type = data['type']; this.position._dT(data['position']); this._Cg = data['angle']; this._z31._dT(data['linearVelocity']); this._A31 = data['angularVelocity']; this._B31 = data['linearDamping']; this._C31 = data['angularDamping']; this._D31 = data['allowSleep']; this._E31 = data['awake']; this._F31 = data['fixedRotation']; this._G31 = data['bullet']; this._lE = data['active']; this._H31 = data['gravityScale'] } }; function _x31(_I31, _J31) { _7S(_I31.position._9T()); _7S(_I31._z31._9T()); _7S(_NS(_I31._Cg)); _7S(_NS(_I31._A31)); _7S(_NS(_I31._C31) && _I31._C31 >= 0.0); _7S(_NS(_I31._B31) && _I31._B31 >= 0.0); this._K31 = 0; this._L31 = 0; if (_I31._G31) { this._L31 |= _x31._M31 } if (_I31._F31) { this._L31 |= _x31._N31 } if (_I31._D31) { this._L31 |= _x31._O31 } if (_I31._E31) { this._L31 |= _x31._P31 } if (_I31._lE) { this._L31 |= _x31._Q31 } this._R31 = _J31; this._M01 = new _LT(); this._M01._yA._0T(_I31.position); this._M01._rz._Tn(_I31._Cg); this._S31 = new _LT(); this._S31._0T(this._M01); this._T31 = new _NT(); this._T31._OT._YS(); this._T31._PT._0T(this._M01._yA); this._T31._v2._0T(this._M01._yA); this._T31._RT = _I31._Cg; this._T31._Wg = _I31._Cg; this._T31._ST = 0.0; this._U31 = null; this._V31 = null; this._W31 = null; this._X31 = null; this._Y31 = _I31._z31._4e(); this._Z31 = _I31._A31; this.__31 = _I31._B31; this._041 = _I31._C31; this._141 = _I31._H31; this._241 = new _XS(); this._341 = 0.0; this._441 = 0.0; this._fV = _I31.type; if (this._fV == _x31._541) { this._641 = 1.0; this._741 = 1.0 } else { this._641 = 0.0; this._741 = 0.0 } this._841 = 0.0; this._941 = 0.0; this._a41 = _I31._cX; this._b41 = null; this._c41 = 0 } _x31._y31 = 0; _x31._d41 = 1; _x31._541 = 2; _x31._e41 = 0x0001; _x31._P31 = 0x0002; _x31._O31 = 0x0004; _x31._M31 = 0x0008; _x31._N31 = 0x0010; _x31._Q31 = 0x0020; _x31._f41 = 0x0040; _x31._g41 = new _XS(); _x31._h41 = new _LT(); _x31.prototype = { _i41: function(_j41, _qV) { if (typeof(_qV) !== 'undefined') { var _k41 = new _l41(); _k41._BV = _j41; _k41._qV = _qV; return this._i41(_k41) } _7S(this._R31._m41() == !1); if (this._R31._m41() == !0) { return null } var _cI = new _n41(); _cI._o41(this, _j41); if (this._L31 & _x31._Q31) { var _p41 = this._R31._q41._r41; _cI._s41(_p41, this._M01) } _cI._X31 = this._b41; this._b41 = _cI; ++this._c41; _cI._t41 = this; if (_cI._u41 > 0.0) { this._v41() } this._R31._L31 |= _w41._x41; return _cI }, _y41: function(_cI) { _7S(this._R31._m41() == !1); if (this._R31._m41() == !0) { return } _7S(_cI._t41 == this); _7S(this._c41 > 0); var _6O = this._b41; var _z41 = !1; while (_6O != null) { if (_6O == _cI) { this._b41 = _6O = _cI._X31; _z41 = !0; break } _6O = _6O._X31 } _7S(_z41); var _eW = this._V31; while (_eW) { var _v2 = _eW._A41; _eW = _eW._Yn; var _B41 = _v2._C41(); var _D41 = _v2._E41(); if (_cI == _B41 || _cI == _D41) { this._R31._q41._F41(_v2) } } if (this._L31 & _x31._Q31) { var _p41 = this._R31._q41._r41; _cI._G41(_p41) } _cI._F41(); _cI._t41 = null; _cI._X31 = null; --this._c41; this._v41() }, _H41: function(position, _Cg) { _7S(this._R31._m41() == !1); if (this._R31._m41() == !0) { return } this._M01._rz._Tn(_Cg); this._M01._yA._0T(position); this._S31._0T(this._M01); this._T31._v2._0T(_dU(this._M01, this._T31._OT)); this._T31._Wg = _Cg; this._T31._PT._0T(this._T31._v2); this._T31._RT = _Cg; var _p41 = this._R31._q41._r41; for (var _1w = this._b41; _1w; _1w = _1w._X31) { _1w._I41(_p41, this._M01, this._M01) } }, _TT: function() { return this._M01 }, _2I: function() { return this._M01._yA }, _IT: function() { return this._T31._Wg }, _J41: function() { return this._T31._v2 }, _K41: function() { return this._T31._OT }, _L41: function(_8h) { if (this._fV == _x31._y31) { return } if (_XT(_8h, _8h) > 0.0) { this._AI(!0) } this._Y31 = _8h }, _M41: function() { return this._Y31 }, _N41: function(_y2) { if (this._fV == _x31._y31) { return } if (_y2 * _y2 > 0.0) { this._AI(!0) } this._Z31 = _y2 }, _O41: function() { return this._Z31 }, _P41: function(_Q41, _kZ, _R41) { if (this._fV != _x31._541) { return } if (_R41 && (this._L31 & _x31._P31) == 0) { this._AI(!0) } if (this._L31 & _x31._P31) { this._241._yn(_Q41); this._341 += _YT(_XS._4T(_kZ, this._T31._v2), _Q41) } }, _S41: function(_Q41, _R41) { if (this._fV != _x31._541) { return } if (_R41 && (this._L31 & _x31._P31) == 0) { this._AI(!0) } if (this._L31 & _x31._P31) { this._241._yn(_Q41) } }, _T41: function(_U41, _R41) { if (this._fV != _x31._541) { return } if (_R41 && (this._L31 & _x31._P31) == 0) { this._AI(!0) } if (this._L31 & _x31._P31) { this._341 += _U41 } }, _V41: function(_W41, _kZ, _R41) { if (this._fV != _x31._541) { return } if (_R41 && (this._L31 & _x31._P31) == 0) { this._AI(!0) } if (this._L31 & _x31._P31) { this._Y31._yn(_XS._9u(this._741, _W41)); this._Z31 += this._941 * _YT(_XS._4T(_kZ, this._T31._v2), _W41) } }, _X41: function(_W41, _R41) { if (this._fV != _x31._541) { return } if (_R41 && (this._L31 & _x31._P31) == 0) { this._AI(!0) } if (this._L31 & _x31._P31) { this._Z31 += this._941 * _W41 } }, _Y41: function() { return this._641 }, _Z41: function() { return this._841 + this._641 * _XT(this._T31._OT, this._T31._OT) }, __41: function(data) { data._cV = this._641; data._dV = this._841 + this._641 * _XT(this._T31._OT, this._T31._OT); data._MU = this._T31._OT }, _051: function(_pV) { _7S(this._R31._m41() == !1); if (this._R31._m41() == !0) { return } if (this._fV != _x31._541) { return } this._741 = 0.0; this._841 = 0.0; this._941 = 0.0; this._641 = _pV._cV; if (this._641 <= 0.0) { this._641 = 1.0 } this._741 = 1.0 / this._641; if (_pV._dV > 0.0 && (this._L31 & _x31._N31) == 0) { this._841 = _pV._dV - this._641 * _XT(_pV._MU, _pV._MU); _7S(this._841 > 0.0); this._941 = 1.0 / this._841 } _x31._g41._0T(this._T31._v2); this._T31._OT._0T(_pV._MU); this._T31._PT._0T(_dU(this._M01, this._T31._OT)); this._T31._v2._0T(this._T31._PT); this._Y31._yn(__T(this._Z31, _XS._4T(this._T31._v2, _x31._g41))) }, _v41: function() { this._641 = 0.0; this._741 = 0.0; this._841 = 0.0; this._941 = 0.0; this._T31._OT._YS(); if (this._fV == _x31._y31 || this._fV == _x31._d41) { this._T31._PT._0T(this._M01._yA); this._T31._v2._0T(this._M01._yA); this._T31._RT = this._T31._Wg; return } _7S(this._fV == _x31._541); var _OT = new _XS(0, 0); for (var _1w = this._b41; _1w; _1w = _1w._X31) { if (_1w._u41 == 0.0) { continue } var _pV = new _bV(); _1w.__41(_pV); this._641 += _pV._cV; _OT._yn(_XS._9u(_pV._cV, _pV._MU)); this._841 += _pV._dV } if (this._641 > 0.0) { this._741 = 1.0 / this._641; _OT._9u(this._741) } else { this._641 = 1.0; this._741 = 1.0 } if (this._841 > 0.0 && (this._L31 & _x31._N31) == 0) { this._841 -= this._641 * _XT(_OT, _OT); _7S(this._841 > 0.0); this._941 = 1.0 / this._841 } else { this._841 = 0.0; this._941 = 0.0 } _x31._g41._0T(this._T31._v2); this._T31._OT._0T(_OT); this._T31._PT._0T(_dU(this._M01, this._T31._OT)); this._T31._v2._0T(this._T31._PT); this._Y31._yn(__T(this._Z31, _XS._4T(this._T31._v2, _x31._g41))) }, _151: function(_hZ) { return _dU(this._M01, _hZ) }, _251: function(_351) { return _bU(this._M01._rz, _351) }, _451: function(_551) { return _fU(this._M01, _551) }, _651: function(_751) { return _cU(this._M01._rz, _751) }, _851: function(_551) { return _XS._yn(this._Y31, __T(this._Z31, _XS._4T(_551, this._T31._v2))) }, _951: function(_hZ) { return this._851(this._151(_hZ)) }, _a51: function() { return this.__31 }, _vI: function(_B31) { this.__31 = _B31 }, _b51: function() { return this._041 }, _xI: function(_C31) { this._041 = _C31 }, _c51: function() { return this._141 }, _d51: function(scale) { this._141 = scale }, _e51: function(type) { _7S(this._R31._m41() == !1); if (this._R31._m41() == !0) { return } if (this._fV == type) { return } this._fV = type; this._v41(); if (this._fV == _x31._y31) { this._Y31._YS(); this._Z31 = 0.0; this._T31._RT = this._T31._Wg; this._T31._PT._0T(this._T31._v2); this._f51() } this._AI(!0); this._241._YS(); this._341 = 0.0; var _g51 = this._V31; while (_g51) { var _h51 = _g51; _g51 = _g51._Yn; this._R31._q41._F41(_h51._A41) } this._V31 = null; var _p41 = this._R31._q41._r41; for (var _1w = this._b41; _1w; _1w = _1w._X31) { var _i51 = _1w._6X; for (var _u2 = 0; _u2 < _i51; ++_u2) { _p41._jX(_1w._j51[_u2]._dX) } } }, _hV: function() { return this._fV; }, _k51: function(_l51) { if (_l51) { this._L31 |= _x31._M31 } else { this._L31 &= ~_x31._M31 } }, _m51: function() { return (this._L31 & _x31._M31) == _x31._M31 }, _n51: function(_l51) { if (_l51) { this._L31 |= _x31._O31 } else { this._L31 &= ~_x31._O31; this._AI(!0) } }, _o51: function() { return (this._L31 & _x31._O31) == _x31._O31 }, _AI: function(_l51) { if (_l51) { if ((this._L31 & _x31._P31) == 0) { this._L31 |= _x31._P31; this._441 = 0.0 } } else { this._L31 &= ~_x31._P31; this._441 = 0.0; this._Y31._YS(); this._Z31 = 0.0; this._241._YS(); this._341 = 0.0 } }, _p51: function() { return (this._L31 & _x31._P31) == _x31._P31 }, _q51: function(_l51) { _7S(this._R31._m41() == !1); if (_l51 == this._r51()) { return } if (_l51) { this._L31 |= _x31._Q31; var _p41 = this._R31._q41._r41; for (var _1w = this._b41; _1w; _1w = _1w._X31) { _1w._s41(_p41, this._M01) } } else { this._L31 &= ~_x31._Q31; var _p41 = this._R31._q41._r41; for (var _1w = this._b41; _1w; _1w = _1w._X31) { _1w._G41(_p41) } var _g51 = this._V31; while (_g51) { var _h51 = _g51; _g51 = _g51._Yn; this._R31._q41._F41(_h51._A41) } this._V31 = null } }, _r51: function() { return (this._L31 & _x31._Q31) == _x31._Q31; }, _s51: function(_l51) { var status = (this._L31 & _x31._N31) == _x31._N31; if (status == _l51) { return } if (_l51) { this._L31 |= _x31._N31 } else { this._L31 &= ~_x31._N31 } this._Z31 = 0.0; this._v41() }, _t51: function() { return (this._L31 & _x31._N31) == _x31._N31 }, _u51: function() { return this._b41 }, _v51: function() { return this._U31 }, _w51: function() { return this._V31 }, _x51: function() { return this._X31 }, _lX: function() { return this._a41 }, _y51: function(data) { this._a41 = data }, _z51: function() { return this._R31 }, _f51: function() { _x31._h41._rz._Tn(this._T31._RT); _x31._h41._yA._0T(_XS._4T(this._T31._PT, _bU(_x31._h41._rz, this._T31._OT))); var _p41 = this._R31._q41._r41; for (var _1w = this._b41; _1w; _1w = _1w._X31) { _1w._I41(_p41, _x31._h41, this._M01) } }, _A51: function() { this._M01._rz._Tn(this._T31._Wg); this._M01._yA._0T(_XS._4T(this._T31._v2, _bU(this._M01._rz, this._T31._OT))) }, _B51: function(_0_) { if (this._fV != _x31._541 && _0_._fV != _x31._541) { return !1 } for (var _C51 = this._U31; _C51; _C51 = _C51._Yn) { if (_C51._0_ == _0_) { if (_C51._D51._E51 == !1) { return !1 } } } return !0 }, _VT: function(alpha) { this._T31._VT(alpha); this._T31._v2._0T(this._T31._PT); this._T31._Wg = this._T31._RT; this._M01._rz._Tn(this._T31._Wg); this._M01._yA._0T(_XS._4T(this._T31._v2, _bU(this._M01._rz, this._T31._OT))) }, _bT: function(_cT) { var _Nw = _cT || {}; _Nw['fixtures'] = null; _Nw['type'] = this._fV; _Nw['position'] = this._2I()._bT(); _Nw['angle'] = this._IT(); _Nw['linearVelocity'] = this._M41()._bT(); _Nw['angularVelocity'] = this._O41(); _Nw['linearDamping'] = this._a51(); _Nw['angularDamping'] = this._b51(); _Nw['allowSleep'] = this._o51(); _Nw['awake'] = this._p51(); _Nw['fixedRotation'] = this._t51(); _Nw['bullet'] = this._m51(); _Nw['active'] = this._r51(); _Nw['gravityScale'] = this._c51(); return _Nw } }; function _F51() { this._G51 = 0x0001; this._H51 = 0xFFFF; this._I51 = 0 } _F51.prototype = { _4e: function() { var _J51 = new _F51(); _J51._G51 = this._G51; _J51._H51 = this._H51; _J51._I51 = this._I51; return _J51 }, _0T: function(_J51) { this._G51 = _J51._G51; this._H51 = _J51._H51; this._I51 = _J51._I51 }, _bT: function(_cT) { var _Nw = _cT || {}; _Nw['categoryBits'] = this._G51; _Nw['maskBits'] = this._H51; _Nw['groupIndex'] = this._I51; return _Nw }, _dT: function(data) { this._G51 = data['categoryBits']; this._H51 = data['maskBits']; this._I51 = data['groupIndex'] } }; function _l41() { this._BV = null; this._cX = null; this._K51 = 0.2; this._L51 = 0.0; this._qV = 0.0; this._M51 = !1; this._J51 = new _F51(); Object.seal(this) } _l41.prototype = { _dT: function(data) { this._K51 = data['friction']; this._L51 = data['restitution']; this._qV = data['density']; this._M51 = data['isSensor']; this._J51._dT(data['filter']) } }; function _N51() { this._nV = new __Z(); this._cI = null; this._lV = 0; this._dX = 0 }; function _n41() { this._a41 = null; this._t41 = null; this._X31 = null; this._j51 = null; this._6X = 0; this._O51 = null; this._u41 = 0.0; this._P51 = new _F51(); this._Q51 = !1; this._R51 = 0; this._S51 = 0 } _n41.prototype = { _hV: function() { return this._O51._hV() }, _T51: function() { return this._O51 }, _sI: function(_U51) { if (_U51 != this._Q51) { this._t41._AI(!0); this._Q51 = _U51 } }, _V51: function() { return this._Q51 }, _W51: function(_J51) { this._P51 = _J51; this._X51() }, _Y51: function() { return this._P51 }, _X51: function() { if (this._t41 == null) { return } var _eW = this._t41._w51(); while (_eW) { var _A41 = _eW._A41; var _B41 = _A41._C41(); var _D41 = _A41._E41(); if (_B41 == this || _D41 == this) { _A41._Z51() } _eW = _eW._Yn } var _J31 = this._t41._z51(); if (_J31 == null) { return } var _p41 = _J31._q41._r41; for (var _u2 = 0; _u2 < this._6X; ++_u2) { _p41._jX(this._j51[_u2]._dX) } }, __51: function() { return this._t41 }, _x51: function() { return this._X31 }, _lX: function() { return this._a41 }, _y51: function(data) { this._a41 = data }, _jV: function(_yA) { return this._O51._jV(this._t41._TT(), _yA) }, _kV: function(_gz, _ez, _lV) { return this._O51._kV(_gz, _ez, this._t41._TT(), _lV) }, __41: function(_pV) { this._O51._oV(_pV, this._u41) }, _gI: function(_qV) { _7S(_NS(_qV) && _qV >= 0.0); this._u41 = _qV }, _061: function() { return this._u41 }, _161: function() { return this._R51 }, _mI: function(_K51) { this._R51 = _K51 }, _261: function() { return this._S51 }, _jI: function(_L51) { this._S51 = _L51 }, _361: function(_lV) { _7S(0 <= _lV && _lV < this._6X); return this._j51[_lV]._nV }, _o41: function(body, _j41) { this._a41 = _j41._cX; this._R51 = _j41._K51; this._S51 = _j41._L51; this._t41 = body; this._X31 = null; this._P51._0T(_j41._J51); this._Q51 = _j41._M51; this._O51 = _j41._BV._4e(); var _461 = this._O51._iV(); this._j51 = new Array(_461); for (var _u2 = 0; _u2 < _461; ++_u2) { this._j51[_u2] = new _N51(); this._j51[_u2]._cI = null; this._j51[_u2]._dX = _2X._tX } this._6X = 0; this._u41 = _j41._qV }, _F41: function() { _7S(this._6X == 0); this._j51 = null; this._O51 = null }, _s41: function(_p41, _MT) { _7S(this._6X == 0); this._6X = this._O51._iV(); for (var _u2 = 0; _u2 < this._6X; ++_u2) { var _561 = this._j51[_u2]; this._O51._mV(_561._nV, _MT, _u2); _561._dX = _p41._bX(_561._nV, _561); _561._cI = this; _561._lV = _u2 } }, _G41: function(_p41) { for (var _u2 = 0; _u2 < this._6X; ++_u2) { var _561 = this._j51[_u2]; _p41._fX(_561._dX); _561._dX = _2X._tX } this._6X = 0 }, _I41: function(_p41, _661, _761) { if (this._6X == 0) { return } for (var _u2 = 0; _u2 < this._6X; ++_u2) { var _561 = this._j51[_u2]; var _6_ = new __Z(), _7_ = new __Z(); this._O51._mV(_6_, _661, _561._lV); this._O51._mV(_7_, _761, _561._lV); _561._nV._5_(_6_, _7_); var _iX = _XS._4T(_761._yA, _661._yA); _p41._hX(_561._dX, _561._nV, _iX) } }, _rV: function(_yA, _Bp, _df, _lV) { this._O51._rV(this._t41._TT(), _yA, _Bp, _df, _lV) }, _bT: function(_cT) { var _Nw = _cT || {}; _Nw['shape'] = null; _Nw['friction'] = this._R51; _Nw['restitution'] = this._S51; _Nw['density'] = this._u41; _Nw['isSensor'] = this._Q51; _Nw['filter'] = this._P51._bT(); return _Nw } }; function _861() {} _861.prototype = { _961: function(_D51) {}, _a61: function(_cI) {}, _b61: function(_aL) {}, _c61: function(index) {} }; function _d61() {} _d61.prototype = { _B51: function(_B41, _D41) { var _e61 = _B41._Y51(); var _f61 = _D41._Y51(); if (_e61._I51 == _f61._I51 && _e61._I51 != 0) { return _e61._I51 > 0 } var _g61 = (_e61._H51 & _f61._G51) != 0 && (_e61._G51 & _f61._H51) != 0; return _g61 } }; function _h61() { this._i61 = new Array(_dS); this._j61 = new Array(_dS); this._fg = 0 } function _k61() {} _k61.prototype = { _l61: function(_A41) {}, _m61: function(_A41) {}, _n61: function(_A41, _o61) {}, _p61: function(_A41, _W41) {} }; function _q61() {} _q61.prototype = { _r61: function(_cI) { return !1 }, _s61: function(index) { return !1 } }; function _t61() {} _t61.prototype = { _r61: function(_cI, _kZ, _tV, _EV) {}, _s61: function(index, _kZ, _tV, _EV) { return 0 } }; function _u61() { this._v61 = 0; this._w61 = 0; this._x61 = 0; this._y61 = 0; this._z61 = 0; this._A61 = !1 } function _B61() { this._v2 = new _XS(); this._Wg = 0 } function _C61() { this._8h = new _XS(); this._y2 = 0 } function _D61() { this._JR = new _u61(); this._E61 = null; this._F61 = null } var _G61 = _OR._0S("step"); var _H61 = _OR._0S("collide", "step"); var _I61 = _OR._0S("solve", "step"); var _J61 = _OR._0S("solveTOI", "step"); var _K61 = _OR._0S("broadphase", "step"); function _w41(_sb) { this._q41 = new _L61(); this._M61 = null; this._N61 = null; this._O61 = null; this._U31 = null; this._P61 = 0; this._Q61 = 0; this._R61 = !0; this._S61 = !0; this._T61 = !1; this._U61 = !0; this._V61 = !0; this._W61 = _sb; this._L31 = _w41._X61; this._Y61 = 0.0; this._Z61 = new _u61(); this.__61 = new _071(); this._171 = new _271(); this._171._R31 = this } function _371() { this._p41 = null; this._sX = null } _371.prototype = { _JX: function(_dX) { var _561 = this._p41._lX(_dX); return this._sX._r61(_561._cI) } }; function _471() { this._p41 = null; this._sX = null } _471.prototype = { _X11: function(_ez, _dX) { var _cX = this._p41._lX(_dX); var _561 = _cX; var _cI = _561._cI; var index = _561._lV; var _gz = new _ZZ(); var _lf = _cI._kV(_gz, _ez, index); if (_lf) { var _EV = _gz._EV; var _kZ = _XS._yn(_XS._9u((1.0 - _EV), _ez._RU), _XS._9u(_EV, _ez._SU)); return this._sX._r61(_cI, _kZ, _gz._tV, _EV) } return _ez._DV } }; _w41._571 = new _NT(); _w41._671 = new _NT(); _w41._771 = new _NT(); _w41.prototype = { _F41: function() { var _xf = this._O61; while (_xf) { var _871 = _xf._X31; var _1w = _xf._b41; while (_1w) { var _971 = _1w._X31; _1w._6X = 0; _1w._F41(); _1w = _971 } _xf = _871 } }, _a71: function(listener) { this._M61 = listener }, _b71: function(_J51) { this._q41._c71 = _J51 }, _d71: function(listener) { this._q41._e71 = listener; }, _f71: function(_g71) { this._N61 = _g71 }, _SI: function(_j41) { _7S(this._m41() == !1); if (this._m41()) { return null } var _xf = new _x31(_j41, this); _xf._W31 = null; _xf._X31 = this._O61; if (this._O61) { this._O61._W31 = _xf } this._O61 = _xf; ++this._P61; return _xf }, _h71: function(_xf) { _7S(this._P61 > 0); _7S(this._m41() == !1); if (this._m41()) { return } var _i71 = _xf._U31; while (_i71) { var _j71 = _i71; _i71 = _i71._Yn; if (this._M61) { this._M61._961(_j71._D51) } this._k71(_j71._D51); _xf._U31 = _i71 } _xf._U31 = null; var _g51 = _xf._V31; while (_g51) { var _h51 = _g51; _g51 = _g51._Yn; this._q41._F41(_h51._A41) } _xf._V31 = null; var _1w = _xf._b41; while (_1w) { var _l71 = _1w; _1w = _1w._X31; if (this._M61) { this._M61._a61(_l71) } _l71._G41(this._q41._r41); _l71._F41(); _xf._b41 = _1w; _xf._c41 -= 1 } _xf._b41 = null; _xf._c41 = 0; if (_xf._W31) { _xf._W31._X31 = _xf._X31 } if (_xf._X31) { _xf._X31._W31 = _xf._W31 } if (_xf == this._O61) { this._O61 = _xf._X31 } _xf._m71 = !0; --this._P61 }, _n71: function(_j41) { _7S(this._m41() == !1); if (this._m41()) { return null } var _Bf = _o71._o41(_j41); _Bf._W31 = null; _Bf._X31 = this._U31; if (this._U31) { this._U31._W31 = _Bf } this._U31 = _Bf; ++this._Q61; _Bf._p71._D51 = _Bf; _Bf._p71._0_ = _Bf._q71; _Bf._p71._r71 = null; _Bf._p71._Yn = _Bf._s71._U31; if (_Bf._s71._U31) _Bf._s71._U31._r71 = _Bf._p71; _Bf._s71._U31 = _Bf._p71; _Bf._t71._D51 = _Bf; _Bf._t71._0_ = _Bf._s71; _Bf._t71._r71 = null; _Bf._t71._Yn = _Bf._q71._U31; if (_Bf._q71._U31) _Bf._q71._U31._r71 = _Bf._t71; _Bf._q71._U31 = _Bf._t71; var _u71 = _j41._u71; var _v71 = _j41._v71; if (_j41._w71 == !1) { var _eW = _v71._w51(); while (_eW) { if (_eW._0_ == _u71) { _eW._A41._Z51() } _eW = _eW._Yn; } } return _Bf }, _k71: function(_Bf) { _7S(this._m41() == !1); if (this._m41()) { return } var _w71 = _Bf._E51; if (_Bf._W31) { _Bf._W31._X31 = _Bf._X31 } if (_Bf._X31) { _Bf._X31._W31 = _Bf._W31 } if (_Bf == this._U31) { this._U31 = _Bf._X31 } var _u71 = _Bf._s71; var _v71 = _Bf._q71; _u71._AI(!0); _v71._AI(!0); if (_Bf._p71._r71) { _Bf._p71._r71._Yn = _Bf._p71._Yn } if (_Bf._p71._Yn) { _Bf._p71._Yn._r71 = _Bf._p71._r71 } if (_Bf._p71 == _u71._U31) { _u71._U31 = _Bf._p71._Yn } _Bf._p71._r71 = null; _Bf._p71._Yn = null; if (_Bf._t71._r71) { _Bf._t71._r71._Yn = _Bf._t71._Yn; } if (_Bf._t71._Yn) { _Bf._t71._Yn._r71 = _Bf._t71._r71 } if (_Bf._t71 == _v71._U31) { _v71._U31 = _Bf._t71._Yn } _Bf._t71._r71 = null; _Bf._t71._Yn = null; _o71._F41(_Bf); _7S(this._Q61 > 0); --this._Q61; if (_w71 == !1) { var _eW = _v71._w51(); while (_eW) { if (_eW._0_ == _u71) { _eW._A41._Z51() } _eW = _eW._Yn } } }, _x71: function(_v61, _y61, _z61) { _G61.start(); if (this._L31 & _w41._x41) { this._q41._y71(); this._L31 &= ~_w41._x41 } this._L31 |= _w41._z71; this._Z61._v61 = _v61; this._Z61._y61 = _y61; this._Z61._z61 = _z61; if (_v61 > 0.0) { this._Z61._w61 = 1.0 / _v61; } else { this._Z61._w61 = 0.0 } this._Z61._x61 = this._Y61 * _v61; this._Z61._A61 = this._R61; { _H61.start(); this._q41._311(); _H61.stop() } if (this._U61 && this._Z61._v61 > 0.0) { _I61.start(); this._171._pT(this._Z61); this._pT(this._Z61); _I61.stop() } if (this._S61 && this._Z61._v61 > 0.0) { _J61.start(); this._A71(this._Z61); _J61.stop() } if (this._Z61._v61 > 0.0) { this._Y61 = this._Z61._w61 } if (this._L31 & _w41._X61) { this._B71() } this._L31 &= ~_w41._z71; _G61.stop() }, _B71: function() { for (var body = this._O61; body; body = body._x51()) { body._241._w2 = body._241._x2 = 0; body._341 = 0.0 } }, _C71: function() { if (this._N61 == null) { return } var _VP = this._N61._EU(); if (_VP & _BU._XU) { for (var _xf = this._O61; _xf; _xf = _xf._x51()) { var _MT = _xf._TT(); for (var _1w = _xf._u51(); _1w; _1w = _1w._x51()) { if (_xf._r51() == !1) { this._D71(_1w, _MT, new _AU(0.5, 0.5, 0.3)) } else if (_xf._hV() == _x31._y31) { this._D71(_1w, _MT, new _AU(0.5, 0.9, 0.5)) } else if (_xf._hV() == _x31._d41) { this._D71(_1w, _MT, new _AU(0.5, 0.5, 0.9)) } else if (_xf._p51() == !1) { this._D71(_1w, _MT, new _AU(0.6, 0.6, 0.6)) } else { this._D71(_1w, _MT, new _AU(0.9, 0.7, 0.7)) } } } this._E71(this._171) } if (_VP & _BU._YU) { for (var _Bf = this._U31; _Bf; _Bf = _Bf._x51()) { this._F71(_Bf) } } if (_VP & _BU._6V) { var _Ng = new _AU(0.3, 0.9, 0.9); for (var _v2 = this._q41._V31; _v2; _v2 = _v2._x51()) { var _B41 = _v2._C41(); var _D41 = _v2._E41(); var _G71 = _B41._361(_v2._H71())._2_(); var _I71 = _D41._361(_v2._J71())._2_(); this._N61._QU(_G71, _I71, _Ng) } } if (_VP & _BU._ZU) { var _Ng = new _AU(0.9, 0.3, 0.9); var _K71 = new _AU(0.3, 0.3, 0.9); var _L71 = this._q41._r41; for (var _xf = this._O61; _xf; _xf = _xf._x51()) { if (_xf._r51() == !1) { continue } for (var _1w = _xf._u51(); _1w; _1w = _1w._x51()) { for (var _u2 = 0; _u2 < _1w._6X; ++_u2) { var _561 = _1w._j51[_u2]; var _nV = _L71._kX(_561._dX); var _TW = []; _TW[0] = new _XS(_nV._FV._w2, _nV._FV._x2); _TW[1] = new _XS(_nV._GV._w2, _nV._FV._x2); _TW[2] = new _XS(_nV._GV._w2, _nV._GV._x2); _TW[3] = new _XS(_nV._FV._w2, _nV._GV._x2); this._N61._IU(_TW, 4, _Ng); var _M71 = new __Z(); _1w._T51()._mV(_M71, _xf._TT(), 0); var _TW = []; _TW[0] = new _XS(_M71._FV._w2, _M71._FV._x2); _TW[1] = new _XS(_M71._GV._w2, _M71._FV._x2); _TW[2] = new _XS(_M71._GV._w2, _M71._GV._x2); _TW[3] = new _XS(_M71._FV._w2, _M71._GV._x2); this._N61._IU(_TW, 4, _K71); } } } } if (_VP & _BU.__U) { for (var _xf = this._O61; _xf; _xf = _xf._x51()) { var _MT = _xf._TT()._4e(); _MT._yA = _xf._J41(); this._N61._TU(_MT) } } }, _N71: function(_sX, _nV) { var _O71 = new _371(); _O71._p41 = this._q41._r41; _O71._sX = _sX; this._q41._r41._vX(_O71, _nV); this._171._N71(_sX, _nV) }, _kV: function(_sX, _P71, _Q71) { var _O71 = new _471(); _O71._p41 = this._q41._r41; _O71._sX = _sX; var _ez = new _YZ(); _ez._DV = 1.0; _ez._RU = _P71; _ez._SU = _Q71; this._q41._r41._kV(_O71, _ez); this._171._kV(_sX, _P71, _Q71) }, _R71: function() { return this._O61 }, _v51: function() { return this._U31 }, _w51: function() { return this._q41._V31 }, _S71: function(_l51) { if (_l51 == this._V61) { return } this._V61 = _l51; if (this._V61 == !1) { for (var _xf = this._O61; _xf; _xf = _xf._X31) { _xf._AI(!0) } } }, _T71: function() { return this._V61 }, _U71: function(_l51) { this._R61 = _l51 }, _V71: function() { return this._R61 }, _W71: function(_l51) { this._S61 = _l51 }, _X71: function() { return this._S61 }, _Y71: function(_l51) { this._T61 = _l51 }, _Z71: function() { return this._T61 }, _qX: function() { return this._q41._r41._qX() }, __71: function() { return this._P61 }, _081: function() { return this._Q61 }, _181: function() { return this._q41._281 }, _BX: function() { return this._q41._r41._BX() }, _DX: function() { return this._q41._r41._DX() }, _FX: function() { return this._q41._r41._FX() }, _381: function(_sb) { this._W61 = _sb }, _481: function() { return this._W61 }, _m41: function() { return (this._L31 & _w41._z71) == _w41._z71 }, _581: function(_l51) { if (_l51) { this._L31 |= _w41._X61 } else { this._L31 &= ~_w41._X61 } }, _681: function() { return (this._L31 & _w41._X61) == _w41._X61 }, _HX: function(_IX) { _7S((this._L31 & _w41._z71) == 0); if ((this._L31 & _w41._z71) == _w41._z71) { return } for (var _xf = this._O61; _xf; _xf = _xf._X31) { _xf._M01._yA._4T(_IX); _xf._T31._PT._4T(_IX); _xf._T31._v2._4T(_IX) } for (var _Bf = this._U31; _Bf; _Bf = _Bf._X31) { _Bf._HX(_IX) } this._q41._r41._HX(_IX) }, _781: function() { return this._q41 }, _pT: function(_JR) { for (var _xf = this._O61; _xf; _xf = _xf._X31) { _xf._S31._0T(_xf._M01) } this.__61._zZ(this._P61, this._q41._281, this._Q61, this._q41._e71); for (var _xf = this._O61; _xf; _xf = _xf._X31) { _xf._L31 &= ~_x31._e41 } for (var _v2 = this._q41._V31; _v2; _v2 = _v2._X31) { _v2._L31 &= ~_881._e41 } for (var _Bf = this._U31; _Bf; _Bf = _Bf._X31) { _Bf._981 = !1 } var _a81 = this._P61; var _go = new Array(_a81); for (var _b81 = this._O61; _b81; _b81 = _b81._X31) { if (_b81._L31 & _x31._e41) { continue } if (_b81._p51() == !1 || _b81._r51() == !1) { continue } if (_b81._hV() == _x31._y31) { continue } this.__61._am(); var _c81 = 0; _go[_c81++] = _b81; _b81._L31 |= _x31._e41; while (_c81 > 0) { var _xf = _go[--_c81]; _7S(_xf._r51() == !0); this.__61._d81(_xf); _xf._AI(!0); if (_xf._hV() == _x31._y31) { continue } for (var _g51 = _xf._V31; _g51; _g51 = _g51._Yn) { var _A41 = _g51._A41; if (_A41._L31 & _881._e41) { continue } if (_A41._e81() == !1 || _A41._f81() == !1) { continue } var _g81 = _A41._h81._Q51; var _i81 = _A41._j81._Q51; if (_g81 || _i81) { continue } this.__61._k81(_A41); _A41._L31 |= _881._e41; var _0_ = _g51._0_; if (_0_._L31 & _x31._e41) { continue } _7S(_c81 < _a81); _go[_c81++] = _0_; _0_._L31 |= _x31._e41 } for (var _i71 = _xf._U31; _i71; _i71 = _i71._Yn) { if (_i71._D51._981 == !0) { continue } var _0_ = _i71._0_; if (_0_._r51() == !1) { continue } this.__61._l81(_i71._D51); _i71._D51._981 = !0; if (_0_._L31 & _x31._e41) { continue } _7S(_c81 < _a81); _go[_c81++] = _0_; _0_._L31 |= _x31._e41 } } this.__61._pT(_JR, this._W61, this._V61); for (var _u2 = 0; _u2 < this.__61._P61; ++_u2) { var _xf = this.__61._m81[_u2]; if (_xf._hV() == _x31._y31) { _xf._L31 &= ~_x31._e41 } } } { _K61.start(); for (var _xf = this._O61; _xf; _xf = _xf._x51()) { if ((_xf._L31 & _x31._e41) == 0) { continue } if (_xf._hV() == _x31._y31) { continue } _xf._f51() } this._q41._y71(); _K61.stop() } }, _A71: function(_JR) { this.__61._zZ(2 * _lS, _lS, 0, this._q41._e71); if (this._U61) { for (var _xf = this._O61; _xf; _xf = _xf._X31) { _xf._L31 &= ~_x31._e41; _xf._T31._ST = 0.0 } for (var _v2 = this._q41._V31; _v2; _v2 = _v2._X31) { _v2._L31 &= ~(_881._f41 | _881._e41); _v2._n81 = 0; _v2._o81 = 1.0 } } for (;;) { var _p81 = null; var _q81 = 1.0; for (var _v2 = this._q41._V31; _v2; _v2 = _v2._X31) { if (_v2._e81() == !1) { continue } if (_v2._n81 > _kS) { continue } var alpha = 1.0; if (_v2._L31 & _881._f41) { alpha = _v2._o81 } else { var _r81 = _v2._C41(); var _s81 = _v2._E41(); if (_r81._V51() || _s81._V51()) { continue } var _t81 = _r81.__51(); var _u81 = _s81.__51(); var _bZ = _t81._fV; var _cZ = _u81._fV; _7S(_bZ == _x31._541 || _cZ == _x31._541); var _v81 = _t81._p51() && _bZ != _x31._y31; var _w81 = _u81._p51() && _cZ != _x31._y31; if (_v81 == !1 && _w81 == !1) { continue } var _x81 = _t81._m51() || _bZ != _x31._541; var _y81 = _u81._m51() || _cZ != _x31._541; if (_x81 == !1 && _y81 == !1) { continue } var _ST = _t81._T31._ST; if (_t81._T31._ST < _u81._T31._ST) { _ST = _u81._T31._ST; _t81._T31._VT(_ST) } else if (_u81._T31._ST < _t81._T31._ST) { _ST = _t81._T31._ST; _u81._T31._VT(_ST) } _7S(_ST < 1.0); var _SX = _v2._H71(); var _TX = _v2._J71(); var _ez = new _I21(); _ez._VX._Tn(_r81._T51(), _SX); _ez._WX._Tn(_s81._T51(), _TX); _ez._J21._0T(_t81._T31); _ez._K21._0T(_u81._T31); _ez._L21 = 1.0; var _gz = new _M21(); _e31(_gz, _ez); var _UT = _gz._wf; if (_gz._cF == _M21._P21) { alpha = _oU(_ST + (1.0 - _ST) * _UT, 1.0) } else { alpha = 1.0 } _v2._o81 = alpha; _v2._L31 |= _881._f41 } if (alpha < _q81) { _p81 = _v2; _q81 = alpha } } if (_p81 == null || 1.0 - 10.0 * _bS < _q81) { this._U61 = !0; break } var _r81 = _p81._C41(); var _s81 = _p81._E41(); var _t81 = _r81.__51(); var _u81 = _s81.__51(); _w41._571._0T(_t81._T31); _w41._671._0T(_u81._T31); _t81._VT(_q81); _u81._VT(_q81); _p81._bm(this._q41._e71); _p81._L31 &= ~_881._f41; ++_p81._n81; if (_p81._e81() == !1 || _p81._f81() == !1) { _p81._z81(!1); _t81._T31._0T(_w41._571); _u81._T31._0T(_w41._671); _t81._A51(); _u81._A51(); continue } _t81._AI(!0); _u81._AI(!0); this.__61._am(); this.__61._d81(_t81); this.__61._d81(_u81); this.__61._k81(_p81); _t81._L31 |= _x31._e41; _u81._L31 |= _x31._e41; _p81._L31 |= _881._e41; var _A81 = [_t81, _u81]; for (var _u2 = 0; _u2 < 2; ++_u2) { var body = _A81[_u2]; if (body._fV == _x31._541) { for (var _g51 = body._V31; _g51; _g51 = _g51._Yn) { if (this.__61._P61 == this.__61._B81) { break } if (this.__61._281 == this.__61._C81) { break } var _A41 = _g51._A41; if (_A41._L31 & _881._e41) { continue } var _0_ = _g51._0_; if (_0_._fV == _x31._541 && body._m51() == !1 && _0_._m51() == !1) { continue } var _g81 = _A41._h81._Q51; var _i81 = _A41._j81._Q51; if (_g81 || _i81) { continue } _w41._771._0T(_0_._T31); if ((_0_._L31 & _x31._e41) == 0) { _0_._VT(_q81) } _A41._bm(this._q41._e71); if (_A41._e81() == !1) { _0_._T31._0T(_w41._771); _0_._A51(); continue } if (_A41._f81() == !1) { _0_._T31._0T(_w41._771); _0_._A51(); continue } _A41._L31 |= _881._e41; this.__61._k81(_A41); if (_0_._L31 & _x31._e41) { continue } _0_._L31 |= _x31._e41; if (_0_._fV != _x31._y31) { _0_._AI(!0) } this.__61._d81(_0_) } } } var _D81 = new _u61(); _D81._v61 = (1.0 - _q81) * _JR._v61; _D81._w61 = 1.0 / _D81._v61; _D81._x61 = 1.0; _D81._z61 = 20; _D81._y61 = _JR._y61; _D81._A61 = !1; this.__61._A71(_D81, _t81._K31, _u81._K31); for (var _u2 = 0; _u2 < this.__61._P61; ++_u2) { var body = this.__61._m81[_u2]; body._L31 &= ~_x31._e41; if (body._fV != _x31._541) { continue } body._f51(); for (var _g51 = body._V31; _g51; _g51 = _g51._Yn) { _g51._A41._L31 &= ~(_881._f41 | _881._e41); } } this._q41._y71(); if (this._T61) { this._U61 = !1; break } } }, _F71: function(_D51) { var _u71 = _D51._E81(); var _v71 = _D51._F81(); var _y_ = _u71._TT(); var _A_ = _v71._TT(); var _hf = _y_._yA; var _jf = _A_._yA; var _RU = _D51._G81(); var _SU = _D51._H81(); var _Ng = new _AU(0.5, 0.8, 0.8); switch (_D51._hV()) { case _o71._I81: this._N61._QU(_RU, _SU, _Ng); break; case _o71._J81: { var _K81 = _D51; var _Au = _K81._L81(); var _Bu = _K81._M81(); this._N61._QU(_Au, _RU, _Ng); this._N61._QU(_Bu, _SU, _Ng); this._N61._QU(_Au, _Bu, _Ng) } break; case _o71._N81: break; case _o71._O81: this._N61._P81(_D51._Q81(), 5.0, _Ng); default: this._N61._QU(_hf, _RU, _Ng); this._N61._QU(_RU, _SU, _Ng); this._N61._QU(_jf, _SU, _Ng) } }, _D71: function(_cI, _MT, _Ng) { switch (_cI._hV()) { case _eV._uV: { var _LX = _cI._T51(); var _MU = _dU(_MT, _LX._AV); var _NU = _LX._gV; var _PU = _bU(_MT._rz, new _XS(1.0, 0.0)); this._N61._OU(_MU, _NU, _PU, _Ng) } break; case _eV._vV: { var _eW = _cI._T51(); var _Th = _dU(_MT, _eW._OV); var _Uh = _dU(_MT, _eW._PV); this._N61._QU(_Th, _Uh, _Ng) } break; case _eV._xV: { var _NX = _cI._T51(); var _fg = _NX._1W; var _2h = _NX._0W; var _Th = _dU(_MT, _2h[0]); for (var _u2 = 1; _u2 < _fg; ++_u2) { var _Uh = _dU(_MT, _2h[_u2]); this._N61._QU(_Th, _Uh, _Ng); _Th = _Uh } } break; case _eV._wV: { var _R81 = _cI._T51(); var _JU = _R81._1W; _7S(_JU <= _eS); var _2h = new Array(_eS); for (var _u2 = 0; _u2 < _JU; ++_u2) { _2h[_u2] = _dU(_MT, _R81._0W[_u2]) } this._N61._KU(_2h, _JU, _Ng) } break; default: break } }, _S81: function() { return this._171._S81() }, _T81: function(_fg) { this._171._T81(_fg) }, _U81: function(_qV) { this._171._U81(_qV) }, _V81: function() { return this._171._V81() }, _W81: function(_H31) { this._171._W81(_H31) }, _X81: function() { return this._171._X81() }, _Y81: function(_Z81) { this._171._Y81(_Z81) }, __81: function() { return this._171.__81() }, _091: function(_NU) { this._171._091(_NU) }, _191: function() { return this._171._191() }, _291: function(_j41) { _7S(this._m41() == !1); if (this._m41()) { return 0 } var _yA = this._171._291(_j41); return _yA }, _391: function(index, _491) { this._171._391(index, _491) }, _591: function(_BV, _MT, _491) { _7S(this._m41() == !1); if (this._m41()) { return 0 } return this._171._591(_BV, _MT, _491) }, _691: function(_j41) { _7S(this._m41() == !1); if (this._m41()) { return null } var _Vg = this._171._691(_j41); return _Vg }, _791: function(_891, _991) { _7S(this._m41() == !1); if (this._m41()) { return } this._171._791(_891, _991) }, _a91: function(_aL, _491) { _7S(this._m41() == !1); if (this._m41()) { return } this._171._a91(_aL, _491) }, _b91: function() { return this._171._b91() }, _c91: function() { return this._171._c91() }, _d91: function() { return this._171._d91() }, _e91: function() { return this._171._e91() }, _f91: function() { return this._171._f91() }, _g91: function() { return this._171._g91() }, _h91: function(buffer, _i91) { this._171._h91(buffer, _i91) }, _j91: function(buffer, _i91) { this._171._j91(buffer, _i91) }, _k91: function(buffer, _i91) { this._171._k91(buffer, _i91) }, _l91: function(buffer, _i91) { this._171._l91(buffer, _i91) }, _m91: function(buffer, _i91) { this._171._m91(buffer, _i91) }, _n91: function() { return this._171._o91 }, _p91: function() { return this._171._281 }, _q91: function() { return this._171._r91 }, _s91: function() { return this._171._t91 }, _u91: function() { return this._171._u91() }, _v91: function() { return this._171._v91() }, _w91: function() { return this._171._w91(); }, _x91: function() { return this._171._x91() }, _E71: function(_y91) { var _z91 = _y91._x91(); if (_z91) { var _A91 = _y91._191(); var _B91 = _y91._c91(); if (_y91._C91.data) { var _D91 = _y91._e91(); this._N61._UU(_B91, _A91, _D91, _z91) } else { this._N61._UU(_B91, _A91, null, _z91) } } } }; _w41._x41 = 0x0001; _w41._z71 = 0x0002; _w41._X61 = 0x0004; function _E91(_i91) { this._F91 = new Array(_i91); this.__01 = 0; this._G91 = 0; this._H91 = _i91 } _E91.prototype = { _I91: function(_Zn) { if (this._G91 >= this._H91) return; this._F91[this._G91++] = _Zn }, _J91: function() { _7S(this.__01 < this._G91); this.__01++ }, _K91: function() { return this.__01 >= this._G91 }, _L91: function() { return this._F91[this.__01] } }; function _M91(_N91) { this._O91 = new Array(_N91); this._P91 = 0; this._Q91 = 0; this._R91 = 0; this._S91 = null } _M91._T91 = function() { this._MU = new _XS(); this._U91 = 0 }; _M91._V91 = function(_w2, _x2, _u2, _Vg) { this._W91 = _w2; this._X91 = _x2; this._Y91 = _u2; this._Z91 = _Vg }; _M91.prototype = { __91: function(_MU, _U91) { var _Vg = (this._O91[this._P91++] = new _M91._T91()); _Vg._MU._0T(_MU); _Vg._U91 = _U91 }, _0a1: function(_NU) { _7S(this._S91 == null); var _1a1 = 1 / _NU; var _xW = new _XS(+_aS, +_aS); var _yW = new _XS(-_aS, -_aS); for (var _dZ = 0; _dZ < this._P91; _dZ++) { var _Vg = this._O91[_dZ]; _xW._0T(_pU(_xW, _Vg._MU)); _yW._0T(_rU(_yW, _Vg._MU)) } this._Q91 = 1 + ((_1a1 * (_yW._w2 - _xW._w2)) >>> 0); this._R91 = 1 + ((_1a1 * (_yW._x2 - _xW._x2)) >>> 0); this._S91 = new Array(this._Q91 * this._R91); for (var _u2 = 0; _u2 < this._Q91 * this._R91; _u2++) this._S91[_u2] = null; var _do = new _E91(this._Q91 * this._Q91); for (var _dZ = 0; _dZ < this._P91; _dZ++) { var _Vg = this._O91[_dZ]; _Vg._MU._0T(_XS._9u(_1a1, _XS._4T(_Vg._MU, _xW))); var _w2 = _qU(0, _oU(Math.floor(_Vg._MU._w2), this._Q91 - 1)); var _x2 = _qU(0, _oU(Math.floor(_Vg._MU._x2), this._R91 - 1)); _do._I91(new _M91._V91(_w2, _x2, _w2 + _x2 * this._Q91, _Vg)) } while (!_do._K91()) { var _w2 = _do._L91()._W91; var _x2 = _do._L91()._X91; var _u2 = _do._L91()._Y91; var _Vg = _do._L91()._Z91; _do._J91(); if (!this._S91[_u2]) { this._S91[_u2] = _Vg; if (_w2 > 0) { _do._I91(new _M91._V91(_w2 - 1, _x2, _u2 - 1, _Vg)) } if (_x2 > 0) { _do._I91(new _M91._V91(_w2, _x2 - 1, _u2 - this._Q91, _Vg)) } if (_w2 < this._Q91 - 1) { _do._I91(new _M91._V91(_w2 + 1, _x2, _u2 + 1, _Vg)) } if (_x2 < this._R91 - 1) { _do._I91(new _M91._V91(_w2, _x2 + 1, _u2 + this._Q91, _Vg)) } } } var _2a1 = this._Q91 + this._R91; for (var _3a1 = 0; _3a1 < _2a1; _3a1++) { for (var _x2 = 0; _x2 < this._R91; _x2++) { for (var _w2 = 0; _w2 < this._Q91 - 1; _w2++) { var _u2 = _w2 + _x2 * this._Q91; var _Wg = this._S91[_u2]; var _xf = this._S91[_u2 + 1]; if (_Wg != _xf) { _do._I91(new _M91._V91(_w2, _x2, _u2, _xf)); _do._I91(new _M91._V91(_w2 + 1, _x2, _u2 + 1, _Wg)) } } } for (var _x2 = 0; _x2 < this._R91 - 1; _x2++) { for (var _w2 = 0; _w2 < this._Q91; _w2++) { var _u2 = _w2 + _x2 * this._Q91; var _Wg = this._S91[_u2]; var _xf = this._S91[_u2 + this._Q91]; if (_Wg != _xf) { _do._I91(new _M91._V91(_w2, _x2, _u2, _xf)); _do._I91(new _M91._V91(_w2, _x2 + 1, _u2 + this._Q91, _Wg)) } } } var _4a1 = !1; while (!_do._K91()) { var _w2 = _do._L91()._W91; var _x2 = _do._L91()._X91; var _u2 = _do._L91()._Y91; var _dZ = _do._L91()._Z91; _do._J91(); var _Wg = this._S91[_u2]; var _xf = _dZ; if (_Wg != _xf) { var _5a1 = _Wg._MU._w2 - _w2; var _6a1 = _Wg._MU._x2 - _x2; var _7a1 = _xf._MU._w2 - _w2; var _8a1 = _xf._MU._x2 - _x2; var _yN = _5a1 * _5a1 + _6a1 * _6a1; var _wy = _7a1 * _7a1 + _8a1 * _8a1; if (_yN > _wy) { this._S91[_u2] = _xf; if (_w2 > 0) { _do._I91(new _M91._V91(_w2 - 1, _x2, _u2 - 1, _xf)) } if (_x2 > 0) { _do._I91(new _M91._V91(_w2, _x2 - 1, _u2 - this._Q91, _xf)) } if (_w2 < this._Q91 - 1) { _do._I91(new _M91._V91(_w2 + 1, _x2, _u2 + 1, _xf)) } if (_x2 < this._R91 - 1) { _do._I91(new _M91._V91(_w2, _x2 + 1, _u2 + this._Q91, _xf)); } _4a1 = !0 } } } if (!_4a1) { break } } }, _9a1: function(_sX) { for (var _x2 = 0; _x2 < this._R91 - 1; _x2++) { for (var _w2 = 0; _w2 < this._Q91 - 1; _w2++) { var _u2 = _w2 + _x2 * this._Q91; var _Wg = this._S91[_u2]; var _xf = this._S91[_u2 + 1]; var _v2 = this._S91[_u2 + this._Q91]; var _Bp = this._S91[_u2 + 1 + this._Q91]; if (_xf != _v2) { if (_Wg != _xf && _Wg != _v2) { _sX(_Wg._U91, _xf._U91, _v2._U91) } if (_Bp != _xf && _Bp != _v2) { _sX(_xf._U91, _Bp._U91, _v2._U91) } } } } } }; function _aa1(_uf, _Vg, _xf, _Wg) { if (_uf instanceof _AU) { this._uf = (255 * _uf._uf); this._Vg = (255 * _uf._Vg); this._xf = (255 * _uf._xf); this._Wg = 255 } else if (typeof(_uf) !== 'undefined') { this._uf = _uf; this._Vg = _Vg; this._xf = _xf; this._Wg = _Wg } else this._uf = this._Vg = this._xf = this._Wg = 0 } _aa1.prototype = { _ba1: function() { return !this._uf && !this._Vg && !this._xf && !this._Wg }, _ca1: function() { return new _AU(1.0 / 255 * this._uf, 1.0 / 255 * this._Vg, 1.0 / 255 * this._xf) }, _Tn: function(_da1, _ea1, _fa1, _ga1) { if (_da1 instanceof _AU) { this._uf = (255 * _da1._uf); this._Vg = (255 * _da1._Vg); this._xf = (255 * _da1._xf); this._Wg = 255 } else { this._uf = _da1; this._Vg = _ea1; this._xf = _fa1; this._Wg = _ga1 } }, _0T: function(_ha1) { this._uf = _ha1._uf; this._Vg = _ha1._Vg; this._xf = _ha1._xf; this._Wg = _ha1._Wg }, _4e: function() { return new _aa1(this._uf, this._Vg, this._xf, this._Wg) } }; _aa1._ia1 = new _aa1(); function _ja1() { this._VP = 0; this.position = new _XS(); this._UJ = new _XS(); this._Ng = new _aa1(); this._cX = null } _ja1._ka1 = 0; _ja1._la1 = 1 << 1; _ja1._ma1 = 1 << 2; _ja1._na1 = 1 << 3; _ja1._oa1 = 1 << 4; _ja1._pa1 = 1 << 5; _ja1._qa1 = 1 << 6; _ja1._ra1 = 1 << 7; _ja1._sa1 = 1 << 8; _ja1._ta1 = 1 << 9; function _ua1() { this._VP = 0; this._va1 = 0; this.position = new _XS(); this._Cg = 0; this._z31 = new _XS(); this._A31 = 0; this._Ng = new _aa1(); this._wa1 = 1; this._BV = null; this._xa1 = !0; this._cX = null } function _ya1() { this._za1 = null; this._Aa1 = 0; this._Ba1 = 0; this._Ca1 = 0; this._Da1 = 1.0; this._W31 = null; this._X31 = null; this._Ea1 = -1; this._641 = 0; this._Fa1 = 0; this._Ga1 = new _XS(); this._Y31 = new _XS(); this._Z31 = 0; this._Ha1 = new _LT(); this._Ha1._lT(); this._Ia1 = !0; this._Ja1 = !1; this._Ka1 = !1; this._a41 = null } _ya1.prototype = { _x51: function() { return this._X31 }, _x91: function() { return this._Ba1 - this._Aa1 }, _La1: function() { return this._Aa1 }, _Ma1: function() { return this._Ca1; }, _Na1: function(_VP) { this._Ca1 = _VP }, _Y41: function() { this._Oa1(); return this._641 }, _Z41: function() { this._Oa1(); return this._Fa1 }, _2_: function() { this._Oa1(); return this._Ga1 }, _M41: function() { this._Oa1(); return this._Y31 }, _O41: function() { this._Oa1(); return this._Z31 }, _TT: function() { return this._Ha1 }, _2I: function() { return this._Ha1._yA }, _IT: function() { return this._Ha1._rz._IT() }, _lX: function() { return this._a41 }, _y51: function(data) { this._a41 = data }, _Oa1: function() { if (this._Ea1 != this._za1._Ea1) { var _gf = this._za1._Pa1(); this._641 = 0; this._Ga1._YS(); this._Y31._YS(); for (var _u2 = this._Aa1; _u2 < this._Ba1; _u2++) { this._641 += _gf; this._Ga1._yn(_XS._9u(_gf, this._za1._Qa1.data[_u2])); this._Y31._yn(_XS._9u(_gf, this._za1._Ra1.data[_u2])) } if (this._641 > 0) { this._Ga1._9u(1 / this._641); this._Y31._9u(1 / this._641) } this._Fa1 = 0; this._Z31 = 0; for (var _u2 = this._Aa1; _u2 < this._Ba1; _u2++) { var _yA = _XS._4T(this._za1._Qa1.data[_u2], this._Ga1); var _8h = _XS._4T(this._za1._Ra1.data[_u2], this._Y31); this._Fa1 += _gf * _XT(_yA, _yA); this._Z31 += _gf * _YT(_yA, _8h) } if (this._Fa1 > 0) { this._Z31 *= 1 / this._Fa1 } this._Ea1 = this._za1._Ea1 } } }; _ya1._Sa1 = 1 << 0; _ya1._Ta1 = 1 << 1; function _Ua1() { this._SX = this._TX = 0; this._VP = 0; this._Va1 = 0.0; this._tV = new _XS() }; function _Wa1() { this.index = 0; this.body = null; this._Va1 = 0.0; this._tV = new _XS(); this._cV = 0.0 }; function _271() { this._Ea1 = 0; this._Xa1 = 0; this._Ya1 = 0; this._u41 = 1; this._Za1 = 1; this._141 = 1; this.__a1 = 1; this._0b1 = 1; this._1b1 = 1; this._1W = 0; this._2b1 = 0; this._3b1 = 0; this._4b1 = new _271._5b1(); this._Qa1 = new _271._5b1(); this._Ra1 = new _271._5b1(); this._6b1 = null; this._7b1 = null; this._8b1 = null; this._C91 = new _271._5b1(); this._9b1 = null; this._ab1 = new _271._5b1(); this._6X = 0; this._bb1 = 0; this._cb1 = null; this._281 = 0; this._C81 = 0; this._o91 = null; this._t91 = 0; this._db1 = 0; this._r91 = null; this._7X = 0; this._eb1 = 0; this._8X = null; this._fb1 = 0; this._gb1 = 0; this._hb1 = null; this._ib1 = 0; this._jb1 = null; this._kb1 = 0.05; this._lb1 = 1.0; this._mb1 = 0.25; this._nb1 = 0.25; this._ob1 = 0.25; this._pb1 = 0.1; this._qb1 = 0.2; this._rb1 = 0.5; this._sb1 = 0.5; this._tb1 = 0.5; this._R31 = null } _271._5b1 = function() { this.data = null; this._ub1 = 0 }; _271._vb1 = function() { this.index = 0; this._U91 = 0 }; _271._vb1._wb1 = function(_Wg, _xf) { return _Wg._U91 < _xf._U91 }; _271._vb1._xb1 = function(_Wg, _xf) { return _Wg < _xf._U91 }; _271._vb1._yb1 = function(_Wg, _xf) { return _Wg._U91 < _xf }; _271._zb1 = function() { this._SX = this._TX = 0; this._VP = 0; this._wa1 = 0.0; this._sV = 0.0 }; _271._Ab1 = function() { this._SX = this._TX = this._Bb1 = 0; this._VP = 0; this._wa1 = 0.0; this._Cb1 = new _XS(), this._Db1 = new _XS(), this._ha1 = new _XS(); this._Eb1 = 0.0, this._Fb1 = 0.0, this._Gb1 = 0.0, this._ov = 0.0 }; _271._Hb1 = _ja1._na1; _271._Ib1 = _ja1._oa1; _271._Jb1 = _ja1._qa1; _271._Kb1 = 12; _271._Lb1 = 12; _271._Mb1 = 8 * 4; _271._Nb1 = 1 << (_271._Lb1 - 1); _271._Ob1 = _271._Mb1 - _271._Lb1; _271._Pb1 = _271._Mb1 - _271._Lb1 - _271._Kb1; _271._Qb1 = 1 << _271._Pb1; _271._Rb1 = _271._Qb1 * (1 << (_271._Kb1 - 1)); _271._Sb1 = (1 << _271._Kb1) - 1; _271._Tb1 = (1 << _271._Lb1) - 1; function _Ub1(_w2, _x2) { return ((_x2 + _271._Nb1) << _271._Ob1) + (_271._Qb1 * _w2 + _271._Rb1) >>> 0 } function _Vb1(_U91, _w2, _x2) { return _U91 + (_x2 << _271._Ob1) + (_w2 << _271._Pb1) } function _Wb1(_i91, _Xb1) { return _Xb1 && _i91 > _Xb1 ? _Xb1 : _i91 } function _Yb1(_A41) { return (_A41._VP & _ja1._la1) == _ja1._la1 } _271.prototype = { _Zb1: function(__b1, _0c1, _1c1) { _7S(_1c1 > _0c1); var _2c1 = (__b1) ? __b1.slice() : []; _2c1.length = _1c1; return _2c1 }, _3c1: function(buffer, _ub1, _0c1, _1c1, _4c1) { _7S(_1c1 > _0c1); _7S(!_ub1 || _1c1 <= _ub1); if ((!_4c1 || buffer) && !_ub1) { buffer = this._Zb1(buffer, _0c1, _1c1) } return buffer }, _5c1: function(buffer, _0c1, _1c1, _4c1) { _7S(_1c1 > _0c1); return this._3c1(buffer.data, buffer._ub1, _0c1, _1c1, _4c1) }, _6c1: function(buffer) { if (!buffer) { buffer = new Array(this._2b1); for (var _u2 = 0; _u2 < this._2b1; _u2++) { buffer[_u2] = 0 } } return buffer }, _291: function(_j41) { if (this._1W >= this._2b1) { var _i91 = this._1W ? 2 * this._1W : _ES; _i91 = _Wb1(_i91, this._3b1); _i91 = _Wb1(_i91, this._4b1._ub1); _i91 = _Wb1(_i91, this._Qa1._ub1); _i91 = _Wb1(_i91, this._Ra1._ub1); _i91 = _Wb1(_i91, this._C91._ub1); _i91 = _Wb1(_i91, this._ab1._ub1); if (this._2b1 < _i91) { this._4b1.data = this._5c1(this._4b1, this._2b1, _i91, !1); this._Qa1.data = this._5c1(this._Qa1, this._2b1, _i91, !1); this._Ra1.data = this._5c1(this._Ra1, this._2b1, _i91, !1); this._6b1 = this._3c1(this._6b1, 0, this._2b1, _i91, !1); this._7b1 = this._3c1(this._7b1, 0, this._2b1, _i91, !0); this._8b1 = this._3c1(this._8b1, 0, this._2b1, _i91, !0); this._C91.data = this._5c1(this._C91, this._2b1, _i91, !0); this._9b1 = this._3c1(this._9b1, 0, this._2b1, _i91, !1); this._ab1.data = this._5c1(this._ab1, this._2b1, _i91, !0); this._2b1 = _i91 } } if (this._1W >= this._2b1) { return _yS } var index = this._1W++; this._4b1.data[index] = _j41._VP; this._Qa1.data[index] = _j41.position._4e(); this._Ra1.data[index] = _j41._UJ._4e(); this._9b1[index] = null; if (this._8b1) { this._8b1[index] = 0 } if (this._C91.data || !_j41._Ng._ba1()) { this._C91.data = this._6c1(this._C91.data); this._C91.data[index] = _j41._Ng._4e() } if (this._ab1.data || _j41._cX) { this._ab1.data = this._6c1(this._ab1.data); this._ab1.data[index] = _j41._cX } if (this._6X >= this._bb1) { var _0c1 = this._bb1; var _1c1 = this._6X ? 2 * this._6X : _ES; this._cb1 = this._Zb1(this._cb1, _0c1, _1c1); this._bb1 = _1c1 } this._cb1[this._6X] = new _271._vb1(); this._cb1[this._6X++].index = index; return index }, _391: function(index, _491) { var _VP = _ja1._la1; if (_491) { _VP |= _ja1._ta1 } this._4b1.data[index] |= _VP }, _591: function(_BV, _MT, _491) { function _7c1(_y91, _BV, _MT, _491) { this._za1 = _y91; this._O51 = _BV; this._M01 = _MT; this._8c1 = _491; this._m71 = 0 } _7c1.prototype = { _r61: function(_cI) { return !1 }, _s61: function(index) { _7S(index >= 0 && index < this._za1._1W); if (this._O51._jV(this._M01, this._za1._Qa1.data[index])) { this._za1._391(index, this._8c1); this._m71++ } return !0 }, _9c1: function() { return this._m71 } }; var _sX = new _7c1(this, _BV, _MT, _491); var _nV = new __Z(); _BV._mV(_nV, _MT, 0); this._R31._N71(_sX, _nV); return _sX._9c1() }, _a91: function(_aL, _491) { for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { this._391(_u2, _491) } }, _691: function(_ac1) { var _Jh = this._bc1(); var identity = new _LT(); identity._lT(); var transform = identity._4e(); var _cc1 = this._1W; if (_ac1._BV) { var _dc1 = new _ja1(); _dc1._VP = _ac1._VP; _dc1._Ng = _ac1._Ng; _dc1._cX = _ac1._cX; var _BV = _ac1._BV; transform._Tn(_ac1.position, _ac1._Cg); var _nV = new __Z(); var _461 = _BV._iV(); for (var _lV = 0; _lV < _461; _lV++) { if (_lV == 0) { _BV._mV(_nV, identity, _lV) } else { var _ec1 = new __Z(); _BV._mV(_ec1, identity, _lV); _nV._5_(_ec1) } } for (var _x2 = Math.floor(_nV._FV._x2 / _Jh) * _Jh; _x2 < _nV._GV._x2; _x2 += _Jh) { for (var _w2 = Math.floor(_nV._FV._w2 / _Jh) * _Jh; _w2 < _nV._GV._w2; _w2 += _Jh) { var _yA = new _XS(_w2, _x2); if (_BV._jV(identity, _yA)) { _yA = _dU(transform, _yA); _dc1.position._0T(_yA); _dc1._UJ._0T(_XS._yn(_ac1._z31, __T(_ac1._A31, _XS._4T(_yA, _ac1.position)))); this._291(_dc1) } } } } var lastIndex = this._1W; var _aL = new _ya1(); _aL._za1 = this; _aL._Aa1 = _cc1; _aL._Ba1 = lastIndex; _aL._Ca1 = _ac1._va1; _aL._Da1 = _ac1._wa1; _aL._a41 = _ac1._cX; _aL._Ha1 = transform; _aL._Ia1 = _ac1._xa1; _aL._W31 = null; _aL._X31 = this._jb1; if (this._jb1) { this._jb1._W31 = _aL } this._jb1 = _aL; ++this._ib1; for (var _u2 = _cc1; _u2 < lastIndex; _u2++) { this._9b1[_u2] = _aL } this._fc1(!0); if (_ac1._VP & _271._Hb1) { for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (_Wg > _xf) { var _gc1 = _Wg; _Wg = _xf; _xf = _gc1 } if (_cc1 <= _Wg && _xf < lastIndex) { if (this._7X >= this._eb1) { var _0c1 = this._eb1; var _1c1 = this._7X ? 2 * this._7X : _ES; this._8X = this._Zb1(this._8X, _0c1, _1c1); this._eb1 = _1c1 } var _AX = this._8X[this._7X] = new _271._zb1(); _AX._SX = _Wg; _AX._TX = _xf; _AX._VP = _A41._VP; _AX._wa1 = _ac1._wa1; _AX._sV = _2U(this._Qa1.data[_Wg], this._Qa1.data[_xf]); this._7X++ } } } if (_ac1._VP & _271._Ib1) { var _hc1 = new _M91(lastIndex - _cc1); for (var _u2 = _cc1; _u2 < lastIndex; _u2++) { _hc1.__91(this._Qa1.data[_u2], _u2) } _hc1._0a1(_Jh / 2); var _sX = function _ic1(_Wg, _xf, _v2) { var _Cb1 = this._Qa1.data[_Wg]; var _Db1 = this._Qa1.data[_xf]; var _ha1 = this._Qa1.data[_v2]; var _jc1 = _XS._4T(_Cb1, _Db1); var _kc1 = _XS._4T(_Db1, _ha1); var _lc1 = _XS._4T(_ha1, _Cb1); var _mc1 = _DS * this._1b1; if (_nc1(_jc1, _jc1) < _mc1 && _nc1(_kc1, _kc1) < _mc1 && _nc1(_lc1, _lc1) < _mc1) { if (this._fb1 >= this._gb1) { var _0c1 = this._gb1; var _1c1 = this._fb1 ? 2 * this._fb1 : _ES; this._hb1 = this._Zb1(this._hb1, _0c1, _1c1); this._gb1 = _1c1 } var _oc1 = this._hb1[this._fb1]; _oc1._SX = _Wg; _oc1._TX = _xf; _oc1._Bb1 = _v2; _oc1._VP = this._4b1.data[_Wg] | this._4b1.data[_xf] | this._4b1.data[_v2]; _oc1._wa1 = _ac1._wa1; var _pc1 = _XS._9u(1.0 / 3.0, _XS._yn(_Cb1, _XS._yn(_Db1, _ha1))); _oc1._Cb1 = _XS._4T(_Cb1, _pc1); _oc1._Db1 = _XS._4T(_Db1, _pc1); _oc1._ha1 = _XS._4T(_ha1, _pc1); _oc1._Eb1 = -_XT(_lc1, _jc1); _oc1._Fb1 = -_XT(_jc1, _kc1); _oc1._Gb1 = -_XT(_kc1, _lc1); _oc1._ov = _YT(_Cb1, _Db1) + _YT(_Db1, _ha1) + _YT(_ha1, _Cb1); this._fb1++ } }; _hc1._9a1(_sX) } if (_ac1._va1 & _ja1._Sa1) { _qc1(_aL) } return _aL }, _791: function(_891, _991) { _7S(_891 != _991); this._rc1(_991._Aa1, _991._Ba1, this._1W); _7S(_991._Ba1 == this._1W); this._rc1(_891._Aa1, _891._Ba1, _991._Aa1); this._7S(_891._Ba1 == _991._Aa1); var _sc1 = 0; for (var _u2 = _891._Aa1; _u2 < _991._Ba1; _u2++) { _sc1 |= this._4b1.data[_u2] } this._fc1(!0); if (_sc1 & _271._Hb1) { for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (_Wg > _xf) { var _gc1 = _Wg; _Wg = _xf; _xf = _gc1 } if (_891._Aa1 <= _Wg && _Wg < _891._Ba1 && _991._Aa1 <= _xf && _xf < _991._Ba1) { if (this._7X >= this._eb1) { var _0c1 = this._eb1; var _1c1 = this._7X ? 2 * this._7X : _ES; this._8X = this._Zb1(this._8X, _0c1, _1c1); this._eb1 = _1c1 } var _AX = this._8X[this._7X] = new _271._zb1(); _AX._SX = _Wg; _AX._TX = _xf; _AX._VP = _A41._VP; _AX._wa1 = _oU(_891._Da1, _991._Da1); _AX._sV = _2U(this._Qa1.data[_Wg], this._Qa1.data[_xf]); this._7X++ } } } if (_sc1 & _271._Ib1) { var _hc1 = new _M91(_991._Ba1 - _891._Aa1); for (var _u2 = _891._Aa1; _u2 < _991._Ba1; _u2++) { if (!(this._4b1.data[_u2] & _ja1._la1)) { _hc1.__91(this._Qa1.data[_u2], _u2) } } _hc1._0a1(this._bc1() / 2); var _sX = new _tc1(); _sX._y91 = this; _sX._891 = _891; _sX._991 = _991; _hc1._9a1(_sX) } for (var _u2 = _991._Aa1; _u2 < _991._Ba1; _u2++) { this._9b1[_u2] = _891 } var _va1 = _891._Ca1 | _991._Ca1; _891._Ca1 = _va1; _891._Ba1 = _991._Ba1; _991._Aa1 = _991._Ba1; this._uc1(_991); if (_va1 & _ja1._Sa1) { this._qc1(_891) } }, _uc1: function(_aL) { _7S(this._ib1 > 0); _7S(_aL); if (this._R31._M61) { this._R31._M61._vc1(_aL) } for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { this._9b1[_u2] = null } if (_aL._W31) { _aL._W31._X31 = _aL._X31 } if (_aL._X31) { _aL._X31._W31 = _aL._W31 } if (_aL == this._jb1) { this._jb1 = _aL._X31 }--this._ib1 }, _qc1: function(_aL) { for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { this._6b1[_u2] = 0 } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (_Wg >= _aL._Aa1 && _Wg < _aL._Ba1 && _xf >= _aL._Aa1 && _xf < _aL._Ba1) { var _y2 = _A41._Va1; this._6b1[_Wg] += _y2; this._6b1[_xf] += _y2 } } this._8b1 = this._6c1(this._8b1); for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { var _y2 = this._6b1[_u2]; this._8b1[_u2] = _y2 < 0.8 ? 0 : _aS } var _wc1 = _aL._x91(); for (var _wf = 0; _wf < _wc1; _wf++) { var _4a1 = !1; for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (_Wg >= _aL._Aa1 && _Wg < _aL._Ba1 && _xf >= _aL._Aa1 && _xf < _aL._Ba1) { var _uf = 1 - _A41._Va1; var _xc1 = this._8b1[_Wg]; var _yc1 = this._8b1[_xf]; var _zc1 = _yc1 + _uf; var _Ac1 = _xc1 + _uf; if (_xc1 > _zc1) { _xc1 = _zc1; _4a1 = !0 } if (_yc1 > _Ac1) { _yc1 = _Ac1; _4a1 = !0 } this._8b1[_Wg] = _xc1; this._8b1[_xf] = _yc1 } } if (!_4a1) { break } } for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { var _yA = this._8b1[_u2]; if (_yA < _aS) { _yA *= this.__a1 } else { _yA = 0 } this._8b1[_u2] = _yA } }, _k81: function(_Wg, _xf) { var _Bp = _XS._4T(this._Qa1.data[_xf], this._Qa1.data[_Wg]); var _Bc1 = _XT(_Bp, _Bp); if (_Bc1 < this._1b1) { if (this._281 >= this._C81) { var _0c1 = this._C81; var _1c1 = this._281 ? 2 * this._281 : _ES; this._o91 = this._Zb1(this._o91, _0c1, _1c1); this._C81 = _1c1 } var _Cc1 = _WS(_Bc1); var _A41 = this._o91[this._281] = new _Ua1(); _A41._SX = _Wg; _A41._TX = _xf; _A41._VP = this._4b1.data[_Wg] | this._4b1.data[_xf]; _A41._Va1 = 1 - _Bc1 * _Cc1 * this._0b1; _A41._tV._0T(_XS._9u(_Cc1, _Bp)); this._281++ } }, _fc1: function(_Dc1) { var _Ec1 = 0; var _Fc1 = this._6X; for (var _Gc1 = _Ec1; _Gc1 < _Fc1; ++_Gc1) { var _561 = this._cb1[_Gc1]; var _u2 = _561.index; var _yA = this._Qa1.data[_u2]; _561._U91 = _Ub1(this._0b1 * _yA._w2, this._0b1 * _yA._x2) } this._cb1._DR(_Ec1, _Fc1, function(_Wg, _xf) { return _271._vb1._wb1(_Wg, _xf) }); this._281 = 0; for (var _Wg = _Ec1, _v2 = _Ec1; _Wg < _Fc1; _Wg++) { var _Hc1 = _Vb1(this._cb1[_Wg]._U91, 1, 0); for (var _xf = _Wg + 1; _xf < _Fc1; _xf++) { if (_Hc1 < this._cb1[_xf]._U91) break; this._k81(this._cb1[_Wg].index, this._cb1[_xf].index); } var _Ic1 = _Vb1(this._cb1[_Wg]._U91, -1, 1); for (; _v2 < _Fc1; _v2++) { if (_Ic1 <= this._cb1[_v2]._U91) break } var _Jc1 = _Vb1(this._cb1[_Wg]._U91, 1, 1); for (var _xf = _v2; _xf < _Fc1; _xf++) { if (_Jc1 < this._cb1[_xf]._U91) break; this._k81(this._cb1[_Wg].index, this._cb1[_xf].index) } } if (_Dc1) { this._281 = this._o91._GR(_Yb1, this._281) } }, _Kc1: function() { var _nV = new __Z(); _nV._FV._w2 = +_aS; _nV._FV._x2 = +_aS; _nV._GV._w2 = -_aS; _nV._GV._x2 = -_aS; for (var _u2 = 0; _u2 < this._1W; _u2++) { var _yA = this._Qa1.data[_u2]; _nV._FV._0T(_pU(_nV._FV, _yA)); _nV._GV._0T(_rU(_nV._GV, _yA)); } _nV._FV._w2 -= this.__a1; _nV._FV._x2 -= this.__a1; _nV._GV._w2 += this.__a1; _nV._GV._x2 += this.__a1; this._t91 = 0; function _Lc1(_y91) { this._za1 = _y91 } _Lc1.prototype = { _r61: function(_cI) { if (_cI._V51()) { return !0 } var _BV = _cI._T51(); var _xf = _cI.__51(); var _L71 = _xf._J41(); var _Mc1 = _xf._Y41(); var _Nc1 = _xf._Z41() - _Mc1 * _xf._K41()._6T(); var _Oc1 = _Mc1 > 0 ? 1 / _Mc1 : 0; var _Pc1 = _Nc1 > 0 ? 1 / _Nc1 : 0; var _461 = _BV._iV(); for (var _lV = 0; _lV < _461; _lV++) { var _nV = _cI._361(_lV)._4e(); _nV._FV._w2 -= this._za1.__a1; _nV._FV._x2 -= this._za1.__a1; _nV._GV._w2 += this._za1.__a1; _nV._GV._x2 += this._za1.__a1; var _Ec1 = 0; var _Fc1 = this._za1._6X; var _Qc1 = this._za1._cb1._IR(_Ec1, _Fc1, _Ub1(this._za1._0b1 * _nV._FV._w2, this._za1._0b1 * _nV._FV._x2), function(_Wg, _xf) { return _271._vb1._yb1(_Wg, _xf) }); var _Rc1 = this._za1._cb1._LR(_Qc1, _Fc1, _Ub1(this._za1._0b1 * _nV._GV._w2, this._za1._0b1 * _nV._GV._x2), function(_Wg, _xf) { return _271._vb1._xb1(_Wg, _xf) }); for (var _561 = _Qc1; _561 != _Rc1; ++_561) { var _Sc1 = this._za1._cb1[_561]; var _Wg = _Sc1.index; var _Tc1 = this._za1._Qa1.data[_Wg]; if (_nV._FV._w2 <= _Tc1._w2 && _Tc1._w2 <= _nV._GV._w2 && _nV._FV._x2 <= _Tc1._x2 && _Tc1._x2 <= _nV._GV._x2) { var _Bp = [0]; var _df = new _XS(); _cI._rV(_Tc1, _Bp, _df, _lV); if (_Bp[0] < this._za1.__a1) { var _Uc1 = this._za1._4b1.data[_Wg] & _ja1._ma1 ? 0 : this._za1._Vc1(); var _Wc1 = _XS._4T(_Tc1, _L71); var _Xc1 = _YT(_Wc1, _df); if (this._za1._t91 >= this._za1._db1) { var _0c1 = this._za1._db1; var _1c1 = this._za1._t91 ? 2 * this._za1._t91 : _ES; this._za1._r91 = this._za1._Zb1(this._za1._r91, _0c1, _1c1); this._za1._db1 = _1c1 } var _A41 = this._za1._r91[this._za1._t91] = new _Wa1(); _A41.index = _Wg; _A41.body = _xf; _A41._Va1 = 1 - _Bp[0] * this._za1._0b1; _A41._tV._0T(_df._1T()); _A41._cV = 1 / (_Uc1 + _Oc1 + _Pc1 * _Xc1 * _Xc1); this._za1._t91++ } } } } return !0 }, _s61: function(_u2) { return !1 } }; var _sX = new _Lc1(this); this._R31._N71(_sX, _nV) }, _pT: function(_JR) { ++this._Ea1; if (this._1W == 0) { return } this._Xa1 = 0; for (var _u2 = 0; _u2 < this._1W; _u2++) { this._Xa1 |= this._4b1.data[_u2] } if (this._Xa1 & _ja1._la1) { this._Yc1() } this._Ya1 = 0; for (var _aL = this._jb1; _aL; _aL = _aL._x51()) { this._Ya1 |= _aL._Ca1 } var _sb = _XS._9u(_JR._v61 * this._141, this._R31._481()); var _Zc1 = this.__c1(_JR); for (var _u2 = 0; _u2 < this._1W; _u2++) { var _8h = this._Ra1.data[_u2]; _8h._yn(_sb); var _Uh = _XT(_8h, _8h); if (_Uh > _Zc1) { _8h._9u(_US(_Zc1 / _Uh)) } } this._0d1(_JR); if (this._Ya1 & _ya1._Ta1) { this._1d1(_JR) } if (this._Xa1 & _ja1._ma1) { this._2d1(_JR) } for (var _u2 = 0; _u2 < this._1W; _u2++) { this._Qa1.data[_u2]._yn(_XS._9u(_JR._v61, this._Ra1.data[_u2])) } this._Kc1(); this._fc1(!1); if (this._Xa1 & _ja1._pa1) { this._3d1(_JR) } if (this._Xa1 & _ja1._qa1) { this._4d1(_JR) } if (this._Xa1 & _ja1._ra1) { this._5d1(_JR) } if (this._Xa1 & _ja1._oa1) { this._6d1(_JR) } if (this._Xa1 & _ja1._na1) { this._7d1(_JR) } if (this._Ya1 & _ya1._Sa1) { this._8d1(_JR) } if (this._Xa1 & _ja1._sa1) { this._9d1(_JR) } this._ad1(_JR); this._bd1(_JR) }, _0d1: function(_JR) { var _nV = new __Z(); _nV._FV._w2 = +_aS; _nV._FV._x2 = +_aS; _nV._GV._w2 = -_aS; _nV._GV._x2 = -_aS; for (var _u2 = 0; _u2 < this._1W; _u2++) { var _8h = this._Ra1.data[_u2]; var _RU = this._Qa1.data[_u2]; var _SU = _XS._yn(_RU, _XS._9u(_JR._v61, _8h)); _nV._FV = _pU(_nV._FV, _pU(_RU, _SU)); _nV._GV = _rU(_nV._GV, _rU(_RU, _SU)) } function _cd1(_y91, _JR) { this._za1 = _y91; this._dd1 = _JR } _cd1.prototype = { _r61: function(_cI) { if (_cI._V51()) { return !0 } var _BV = _cI._T51(); var body = _cI.__51(); var _Ec1 = 0; var _Fc1 = this._za1._6X; var _461 = _BV._iV(); for (var _lV = 0; _lV < _461; _lV++) { var _nV = _cI._361(_lV)._4e(); _nV._FV._w2 -= this._za1.__a1; _nV._FV._x2 -= this._za1.__a1; _nV._GV._w2 += this._za1.__a1; _nV._GV._x2 += this._za1.__a1; var _Qc1 = this._za1._cb1._IR(_Ec1, _Fc1, _Ub1(this._za1._0b1 * _nV._FV._w2, this._za1._0b1 * _nV._FV._x2), function(_Wg, _xf) { return _271._vb1._yb1(_Wg, _xf) }); var _Rc1 = this._za1._cb1._LR(_Qc1, _Fc1, _Ub1(this._za1._0b1 * _nV._GV._w2, this._za1._0b1 * _nV._GV._x2), function(_Wg, _xf) { return _271._vb1._xb1(_Wg, _xf) }); for (var _561 = _Qc1; _561 != _Rc1; ++_561) { var _Sc1 = this._za1._cb1[_561]; var _Wg = _Sc1.index; var _Tc1 = this._za1._Qa1.data[_Wg]; if (_nV._FV._w2 <= _Tc1._w2 && _Tc1._w2 <= _nV._GV._w2 && _nV._FV._x2 <= _Tc1._x2 && _Tc1._x2 <= _nV._GV._x2) { var _ed1 = this._za1._Ra1.data[_Wg]; var _gz = new _ZZ(); var _ez = new _YZ(); _ez._RU = _dU(body._M01, _fU(body._S31, _Tc1)); _ez._SU = _XS._yn(_Tc1, _XS._9u(this._dd1._v61, _ed1)); _ez._DV = 1; if (_cI._kV(_gz, _ez, _lV)) { var _yA = _XS._yn(_XS._yn(_XS._9u((1 - _gz._EV), _ez._RU), _XS._9u(_gz._EV, _ez._SU)), _XS._9u(_hS, _gz._tV)); var _8h = _XS._9u(this._dd1._w61, _XS._4T(_yA, _Tc1)); this._za1._Ra1.data[_Wg]._0T(_8h); var _1w = _XS._9u(this._za1._Pa1(), _XS._4T(_ed1, _8h)); _1w = _XS._9u(_XT(_1w, _gz._tV), _gz._tV); body._V41(_1w, _yA, !0) } } } } return !0 }, _s61: function(_u2) { return !1 } }; var _sX = new _cd1(this, _JR); this._R31._N71(_sX, _nV) }, _ad1: function(_JR) { for (var _u2 = 0; _u2 < this._1W; _u2++) { this._6b1[_u2] = 0 } for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; var _Wg = _A41.index; var _y2 = _A41._Va1; this._6b1[_Wg] += _y2 } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; this._6b1[_Wg] += _y2; this._6b1[_xf] += _y2 } if (this._Xa1 & _271._Jb1) { for (var _u2 = 0; _u2 < this._1W; _u2++) { if (this._4b1.data[_u2] & _271._Jb1) { this._6b1[_u2] = 0 } } } var _fd1 = this._kb1 * this._gd1(_JR); for (var _u2 = 0; _u2 < this._1W; _u2++) { var _y2 = this._6b1[_u2]; var _z2 = _fd1 * _qU(0.0, _oU(_y2, _BS) - _AS); this._6b1[_u2] = _z2 } var _hd1 = _JR._v61 / (this._u41 * this.__a1); for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; var _Wg = _A41.index; var _xf = _A41.body; var _y2 = _A41._Va1; var _gf = _A41._cV; var _df = _A41._tV; var _yA = this._Qa1.data[_Wg]; var _z2 = this._6b1[_Wg] + _fd1 * _y2; var _1w = _XS._9u(_hd1 * _y2 * _gf * _z2, _df); this._Ra1.data[_Wg]._4T(_XS._9u(this._Vc1(), _1w)); _xf._V41(_1w, _yA, !0) } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; var _df = _A41._tV; var _z2 = this._6b1[_Wg] + this._6b1[_xf]; var _1w = _XS._9u(_hd1 * _y2 * _z2, _df); this._Ra1.data[_Wg]._4T(_1w); this._Ra1.data[_xf]._yn(_1w) } }, _bd1: function(_JR) { var _Z81 = this._lb1; for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; var _Wg = _A41.index; var _xf = _A41.body; var _y2 = _A41._Va1; var _gf = _A41._cV; var _df = _A41._tV; var _yA = this._Qa1.data[_Wg]; var _8h = _XS._4T(_xf._851(_yA), this._Ra1.data[_Wg]); var _id1 = _XT(_8h, _df); if (_id1 < 0) { var _1w = _XS._9u(_Z81 * _y2 * _gf * _id1, _df); this._Ra1.data[_Wg]._yn(_XS._9u(this._Vc1(), _1w)); _xf._V41(_1w._1T(), _yA, !0) } } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; var _df = _A41._tV; var _8h = _XS._4T(this._Ra1.data[_xf], this._Ra1.data[_Wg]); var _id1 = _XT(_8h, _df); if (_id1 < 0) { var _1w = _XS._9u(_Z81 * _y2 * _id1, _df); this._Ra1.data[_Wg]._yn(_1w); this._Ra1.data[_xf]._4T(_1w) } } }, _2d1: function(_JR) { for (var _u2 = 0; _u2 < this._1W; _u2++) { if (this._4b1.data[_u2] & _ja1._ma1) { this._Ra1.data[_u2]._YS() } } }, _1d1: function(_JR) { for (var _aL = this._jb1; _aL; _aL = _aL._x51()) { if (_aL._Ca1 & _ya1._Ta1) { _aL._Oa1(); var _E4 = new _HT(_JR._v61 * _aL._Z31); var transform = new _LT(_XS._yn(_aL._Ga1, _XS._4T(_XS._9u(_JR._v61, _aL._Y31), _bU(_E4, _aL._Ga1))), _E4); _aL._Ha1 = _gU(transform, _aL._Ha1); var _jd1 = new _LT(); _jd1._yA._w2 = _JR._w61 * transform._yA._w2; _jd1._yA._x2 = _JR._w61 * transform._yA._x2; _jd1._rz._ov = _JR._w61 * transform._rz._ov; _jd1._rz._v2 = _JR._w61 * (transform._rz._v2 - 1); for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { this._Ra1.data[_u2]._0T(_dU(_jd1, this._Qa1.data[_u2])) } } } }, _6d1: function(_JR) { var _kd1 = _JR._w61 * this._mb1; for (var _dZ = 0; _dZ < this._fb1; _dZ++) { var _oc1 = this._hb1[_dZ]; if (_oc1._VP & _ja1._oa1) { var _Wg = _oc1._SX; var _xf = _oc1._TX; var _v2 = _oc1._Bb1; var _gc1 = _oc1._Cb1; var _ld1 = _oc1._Db1; var _md1 = _oc1._ha1; var _Cb1 = this._Qa1.data[_Wg]; var _Db1 = this._Qa1.data[_xf]; var _ha1 = this._Qa1.data[_v2]; var _yA = _XS._9u(1 / 3, _XS._yn(_Cb1, _XS._yn(_Db1, _ha1))); var _uf = new _HT(); _uf._ov = _YT(_gc1, _Cb1) + _YT(_ld1, _Db1) + _YT(_md1, _ha1); _uf._v2 = _XT(_gc1, _Cb1) + _XT(_ld1, _Db1) + _XT(_md1, _ha1); var _sy = _uf._ov * _uf._ov + _uf._v2 * _uf._v2; var _nd1 = _WS(_sy); _uf._ov *= _nd1; _uf._v2 *= _nd1; var _wa1 = _kd1 * _oc1._wa1; this._Ra1.data[_Wg]._yn(_XS._9u(_wa1, (_XS._4T(_od1(_uf, _gc1), (_XS._4T(_Cb1, _yA)))))); this._Ra1.data[_xf]._yn(_XS._9u(_wa1, (_XS._4T(_od1(_uf, _ld1), (_XS._4T(_Db1, _yA)))))); this._Ra1.data[_v2]._yn(_XS._9u(_wa1, (_XS._4T(_od1(_uf, _md1), (_XS._4T(_ha1, _yA)))))) } } }, _7d1: function(_JR) { var _pd1 = _JR._w61 * this._nb1; for (var _dZ = 0; _dZ < this._7X; _dZ++) { var _AX = this._8X[_dZ]; if (_AX._VP & _ja1._na1) { var _Wg = _AX._SX; var _xf = _AX._TX; var _Bp = _XS._4T(this._Qa1.data[_xf], this._Qa1.data[_Wg]); var _qd1 = _AX._sV; var _ry = _Bp._5T(); var _wa1 = _pd1 * _AX._wa1; var _1w = _XS._9u(_wa1 * (_qd1 - _ry) / _ry, _Bp); this._Ra1.data[_Wg]._4T(_1w); this._Ra1.data[_xf]._yn(_1w) } } }, _5d1: function(_JR) { this._7b1 = this._6c1(this._7b1); for (var _u2 = 0; _u2 < this._1W; _u2++) { this._6b1[_u2] = 0; this._7b1[_u2] = new _XS() } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; if (_A41._VP & _ja1._ra1) { var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; var _df = _A41._tV; this._6b1[_Wg] += _y2; this._6b1[_xf] += _y2; this._7b1[_Wg]._4T(_XS._9u((1 - _y2) * _y2, _df)); this._7b1[_xf]._yn(_XS._9u((1 - _y2) * _y2, _df)) } } var _rd1 = this._pb1 * this._sd1(_JR); var _td1 = this._qb1 * this._sd1(_JR); for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; if (_A41._VP & _ja1._ra1) { var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; var _df = _A41._tV; var _z2 = this._6b1[_Wg] + this._6b1[_xf]; var _ov = _XS._4T(this._7b1[_xf], this._7b1[_Wg]); var _ud1 = (_rd1 * (_z2 - 2) + _td1 * _XT(_ov, _df)) * _y2; var _1w = _XS._9u(_ud1, _df); this._Ra1.data[_Wg]._4T(_1w); this._Ra1.data[_xf]._yn(_1w) } } }, _3d1: function(_JR) { var _vd1 = this._ob1; for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; var _Wg = _A41.index; if (this._4b1.data[_Wg] & _ja1._pa1) { var _xf = _A41.body; var _y2 = _A41._Va1; var _gf = _A41._cV; var _yA = this._Qa1.data[_Wg]; var _8h = _XS._4T(_xf._851(_yA), this._Ra1.data[_Wg]); var _1w = _XS._9u(_vd1 * _gf * _y2, _8h); this._Ra1.data[_Wg]._yn(_XS._9u(this._Vc1(), _1w)); _xf._V41(_1w._1T(), _yA, !0) } } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; if (_A41._VP & _ja1._pa1) { var _Wg = _A41._SX; var _xf = _A41._TX; var _y2 = _A41._Va1; var _8h = _XS._4T(this._Ra1.data[_xf], this._Ra1.data[_Wg]); var _1w = _XS._9u(_vd1 * _y2, _8h); this._Ra1.data[_Wg]._yn(_1w); this._Ra1.data[_xf]._4T(_1w) } } }, _4d1: function(_JR) { var _wd1 = this._rb1 * this._sd1(_JR); var _xd1 = 1.0 - _zS; for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; var _Wg = _A41.index; if (this._4b1.data[_Wg] & _ja1._qa1) { var _y2 = _A41._Va1; if (_y2 > _xd1) { var _xf = _A41.body; var _gf = _A41._cV; var _yA = this._Qa1.data[_Wg]; var _df = _A41._tV; var _1w = _XS._9u(_wd1 * _gf * (_y2 - _xd1), _df); this._Ra1.data[_Wg]._4T(_XS._9u(this._Vc1(), _1w)); _xf._V41(_1w, _yA, !0) } } } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; if (_A41._VP & _ja1._qa1) { var _y2 = _A41._Va1; if (_y2 > _xd1) { var _Wg = _A41._SX; var _xf = _A41._TX; var _df = _A41._tV; var _1w = _XS._9u(_wd1 * (_y2 - _xd1), _df); this._Ra1.data[_Wg]._4T(_1w); this._Ra1.data[_xf]._yn(_1w) } } } }, _8d1: function(_JR) { this._8b1 = this._6c1(this._8b1); var _yd1 = _JR._w61 * this._sb1; for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (this._9b1[_Wg] != this._9b1[_xf]) { var _y2 = _A41._Va1; var _df = _A41._tV; var _z2 = this._8b1[_Wg] + this._8b1[_xf]; var _1w = _XS._9u(_yd1 * _z2 * _y2, _df); this._Ra1.data[_Wg]._4T(_1w); this._Ra1.data[_xf]._yn(_1w) } } }, _9d1: function(_JR) { this._C91.data = this._6c1(this._C91.data); var _zd1 = Math.floor(256 * this._tb1); for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; if (this._4b1.data[_Wg] & this._4b1.data[_xf] & _ja1._sa1) { var _Ad1 = this._C91.data[_Wg]; var _Bd1 = this._C91.data[_xf]; var _Cd1 = (_zd1 * (_Bd1._uf - _Ad1._uf)) >> 8; var _Dd1 = (_zd1 * (_Bd1._Vg - _Ad1._Vg)) >> 8; var _Ed1 = (_zd1 * (_Bd1._xf - _Ad1._xf)) >> 8; var _Fd1 = (_zd1 * (_Bd1._Wg - _Ad1._Wg)) >> 8; _Ad1._uf += _Cd1; _Ad1._Vg += _Dd1; _Ad1._xf += _Ed1; _Ad1._Wg += _Fd1; _Bd1._uf -= _Cd1; _Bd1._Vg -= _Dd1; _Bd1._xf -= _Ed1; _Bd1._Wg -= _Fd1 } } }, _Yc1: function() { var _Gd1 = 0; var _Hd1 = new Array(this._1W); for (var _u2 = 0; _u2 < this._1W; _u2++) { var _VP = this._4b1.data[_u2]; if (_VP & _ja1._la1) { var _Id1 = this._R31._M61; if ((_VP & _ja1._ta1) && _Id1) { _Id1._c61(_u2) } _Hd1[_u2] = _yS } else { _Hd1[_u2] = _Gd1; if (_u2 != _Gd1) { this._4b1.data[_Gd1] = this._4b1.data[_u2]; this._Qa1.data[_Gd1] = this._Qa1.data[_u2]; this._Ra1.data[_Gd1] = this._Ra1.data[_u2]; this._9b1[_Gd1] = this._9b1[_u2]; if (this._8b1) { this._8b1[_Gd1] = this._8b1[_u2] } if (this._C91.data) { this._C91.data[_Gd1] = this._C91.data[_u2] } if (this._ab1.data) { this._ab1.data[_Gd1] = this._ab1.data[_u2] } } _Gd1++ } } var _Jd1 = { _Kd1: function(_561) { return _561.index < 0 }, _Ld1: function(_A41) { return _A41._SX < 0 || _A41._TX < 0 }, _Md1: function(_A41) { return _A41.index < 0 }, _Nd1: function(_AX) { return _AX._SX < 0 || _AX._TX < 0; }, _Od1: function(_oc1) { return _oc1._SX < 0 || _oc1._TX < 0 || _oc1._Bb1 < 0 } }; for (var _dZ = 0; _dZ < this._6X; _dZ++) { var _561 = this._cb1[_dZ]; _561.index = _Hd1[_561.index] } if (this._cb1) { this._6X = this._cb1._GR(_Jd1._Kd1, this._6X) } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; _A41._SX = _Hd1[_A41._SX]; _A41._TX = _Hd1[_A41._TX] } if (this._o91) { this._281 = this._o91._GR(_Jd1._Ld1, this._281) } for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; _A41.index = _Hd1[_A41.index] } if (this._r91) { this._t91 = this._r91._GR(_Jd1._Md1, this._t91) } for (var _dZ = 0; _dZ < this._7X; _dZ++) { var _AX = this._8X[_dZ]; _AX._SX = _Hd1[_AX._SX]; _AX._TX = _Hd1[_AX._TX] } if (this._8X) { this._7X = this._8X._GR(_Jd1._Nd1, this._7X) } for (var _dZ = 0; _dZ < this._fb1; _dZ++) { var _oc1 = this._hb1[_dZ]; _oc1._SX = _Hd1[_oc1._SX]; _oc1._TX = _Hd1[_oc1._TX]; _oc1._Bb1 = _Hd1[_oc1._Bb1] } if (this._hb1) { this._fb1 = this._hb1._GR(_Jd1._Od1, this._fb1) } for (var _aL = this._jb1; _aL; _aL = _aL._x51()) { var _cc1 = _Gd1; var lastIndex = 0; var _Pd1 = !1; for (var _u2 = _aL._Aa1; _u2 < _aL._Ba1; _u2++) { var _Bf = _Hd1[_u2]; if (_Bf >= 0) { _cc1 = _oU(_cc1, _Bf); lastIndex = _qU(lastIndex, _Bf + 1) } else { _Pd1 = !0 } } if (_cc1 < lastIndex) { _aL._Aa1 = _cc1; _aL._Ba1 = lastIndex; if (_Pd1) { if (_aL._Ca1 & _ya1._Ta1) { _aL._Ka1 = !0 } } } else { _aL._Aa1 = 0; _aL._Ba1 = 0; if (_aL._Ia1) { _aL._Ja1 = !0 } } } this._1W = _Gd1; for (var _aL = this._jb1; _aL;) { var _Yn = _aL._x51(); if (_aL._Ja1) { this._uc1(_aL) } else if (_aL._Ka1) {} _aL = _Yn } }, _rc1: function(start, _Qd1, end) { if (start == _Qd1 || _Qd1 == end) { return } function _Hd1(_u2) { if (_u2 < start) { return _u2 } else if (_u2 < _Qd1) { return _u2 + end - _Qd1 } else if (_u2 < end) { return _u2 + start - _Qd1; } else { return _u2 } } this._4b1.data.rotate(start, _Qd1, end); this._Qa1.data.rotate(start, _Qd1, end); this._Ra1.data.rotate(start, _Qd1, end); this._9b1.rotate(start, _Qd1, end); if (this._8b1) { this._8b1.rotate(start, _Qd1, end) } if (this._C91.data) { this._C91.data.rotate(start, _Qd1, end) } if (this._ab1.data) { this._ab1.data.rotate(start, _Qd1, end) } for (var _dZ = 0; _dZ < this._6X; _dZ++) { var _561 = this._cb1[_dZ]; _561.index = _Hd1(_561.index) } for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; _A41._SX = _Hd1(_A41._SX); _A41._TX = _Hd1(_A41._TX); } for (var _dZ = 0; _dZ < this._t91; _dZ++) { var _A41 = this._r91[_dZ]; _A41.index = _Hd1(_A41.index) } for (var _dZ = 0; _dZ < this._7X; _dZ++) { var _AX = this._8X[_dZ]; _AX._SX = _Hd1(_AX._SX); _AX._TX = _Hd1(_AX._TX) } for (var _dZ = 0; _dZ < this._fb1; _dZ++) { var _oc1 = this._hb1[_dZ]; _oc1._SX = _Hd1(_oc1._SX); _oc1._TX = _Hd1(_oc1._TX); _oc1._Bb1 = _Hd1(_oc1._Bb1) } for (var _aL = this._jb1; _aL; _aL = _aL._x51()) { _aL._Aa1 = _Hd1(_aL._Aa1); _aL._Ba1 = _Hd1(_aL._Ba1 - 1) + 1 } }, _091: function(_NU) { this.__a1 = 2 * _NU; this._1b1 = this.__a1 * this.__a1; this._0b1 = 1 / this.__a1; }, _U81: function(_qV) { this._u41 = _qV; this._Za1 = 1 / this._u41 }, _V81: function() { return this._u41 }, _W81: function(_H31) { this._141 = _H31 }, _X81: function() { return this._141 }, _Y81: function(_Z81) { this._lb1 = _Z81 }, __81: function() { return this._lb1 }, _191: function() { return this.__a1 / 2 }, _sd1: function(_JR) { return this.__a1 * _JR._w61 }, __c1: function(_JR) { var _UJ = this._sd1(_JR); return _UJ * _UJ }, _gd1: function(_JR) { return this._u41 * this.__c1(_JR) }, _bc1: function() { return _zS * this.__a1 }, _Pa1: function() { var _Jh = this._bc1(); return this._u41 * _Jh * _Jh; }, _Vc1: function() { return 1.777777 * this._Za1 * this._0b1 * this._0b1 }, _b91: function() { return this._4b1.data }, _c91: function() { return this._Qa1.data }, _d91: function() { return this._Ra1.data }, _e91: function() { this._C91.data = this._6c1(this._C91.data); return this._C91.data }, _f91: function() { this._ab1.data = this._6c1(this._ab1.data); return this._ab1.data }, _S81: function() { return this._3b1 }, _T81: function(_fg) { _7S(this._1W <= _fg); this._3b1 = _fg }, _g91: function() { return this._9b1 }, _Rd1: function(buffer, _Sd1, _1c1) { _7S((_Sd1 && _1c1) || (!_Sd1 && !_1c1)); if (!buffer._ub1) {} buffer.data = _Sd1; buffer._ub1 = _1c1 }, _h91: function(buffer, _i91) { this._Rd1(this._4b1, buffer, _i91) }, _j91: function(buffer, _i91) { this._Rd1(this._Qa1, buffer, _i91) }, _k91: function(buffer, _i91) { this._Rd1(this._Ra1, buffer, _i91) }, _l91: function(buffer, _i91) { this._Rd1(this._C91, buffer, _i91) }, _m91: function(buffer, _i91) { this._Rd1(this._ab1, buffer, _i91) }, _N71: function(_sX, _nV) { if (this._6X == 0) { return } var _Ec1 = 0; var _Fc1 = this._6X; var _Qc1 = this._cb1._IR(_Ec1, _Fc1, _Ub1(this._0b1 * _nV._FV._w2, this._0b1 * _nV._FV._x2), function(_Wg, _xf) { return _271._vb1._yb1(_Wg, _xf) }); var _Rc1 = this._cb1._LR(_Qc1, _Fc1, _Ub1(this._0b1 * _nV._GV._w2, this._0b1 * _nV._GV._x2), function(_Wg, _xf) { return _271._vb1._xb1(_Wg, _xf) }); for (var _561 = _Qc1; _561 < _Rc1; ++_561) { var _Sc1 = this._cb1[_561]; var _u2 = _Sc1.index; var _yA = this._Qa1.data[_u2]; if (_nV._FV._w2 < _yA._w2 && _yA._w2 < _nV._GV._w2 && _nV._FV._x2 < _yA._x2 && _yA._x2 < _nV._GV._x2) { if (!_sX._s61(_u2)) { break } } } }, _kV: function(_sX, _P71, _Q71) { if (this._6X == 0) { return } var _Ec1 = 0; var _Fc1 = this._6X; var _Qc1 = this._cb1._IR(_Ec1, _Fc1, _Ub1(this._0b1 * _oU(_P71._w2, _Q71._w2) - 1, this._0b1 * _oU(_P71._x2, _Q71._x2) - 1), function(_Wg, _xf) { return _271._vb1._yb1(_Wg, _xf) }); var _Rc1 = this._cb1._LR(_Ec1, _Fc1, _Ub1(this._0b1 * _qU(_P71._w2, _Q71._w2) + 1, this._0b1 * _qU(_P71._x2, _Q71._x2) + 1), function(_Wg, _xf) { return _271._vb1._xb1(_Wg, _xf) }); var _EV = 1; var _8h = _XS._4T(_Q71, _P71); var _Uh = _XT(_8h, _8h); for (var _561 = _Qc1; _561 < _Rc1; ++_561) { var _Sc1 = this._cb1[_561]; var _u2 = _Sc1.index; var _yA = _XS._4T(_P71, this._Qa1.data[_u2]); var _Td1 = _XT(_yA, _8h); var _SU = _XT(_yA, _yA); var _Ud1 = _Td1 * _Td1 - _Uh * (_SU - this._1b1); if (_Ud1 >= 0) { var _Vd1 = _US(_Ud1); var _wf = (-_Td1 - _Vd1) / _Uh; if (_wf > _EV) { continue } if (_wf < 0) { _wf = (-_Td1 + _Vd1) / _Uh; if (_wf < 0 || _wf > _EV) { continue } } var _df = _XS._yn(_yA, _XS._4T(_wf, _8h)); _df._7T(); var _1w = _sX._s61(_u2, _XS._yn(_P71, _XS._9u(_wf, _8h)), _df, _wf); _EV = _oU(_EV, _1w); if (_EV <= 0) { break } } } }, _u91: function() { var _Wd1 = 0; for (var _dZ = 0; _dZ < this._281; _dZ++) { var _A41 = this._o91[_dZ]; var _Wg = _A41._SX; var _xf = _A41._TX; var _df = _A41._tV; var _8h = _XS._4T(this._Ra1.data[_xf], this._Ra1.data[_Wg]); var _id1 = _XT(_8h, _df); if (_id1 < 0) { _Wd1 += _id1 * _id1; } } return 0.5 * this._Pa1() * _Wd1 }, _v91: function() { return this._jb1 }, _w91: function() { return this._ib1 }, _x91: function() { return this._1W } }; function _Xd1(_Yd1, _Zd1) { return _US(_Yd1 * _Zd1) } function __d1(_0e1, _1e1) { return _0e1 > _1e1 ? _0e1 : _1e1 } function _2e1() { this._m31 = null; this._3e1 = !1 }; function _4e1() { this._0_ = null; this._A41 = null; this._r71 = null; this._Yn = null }; function _881() { this._5e1 = new _4e1(); this._6e1 = new _4e1(); this._7e1 = new _lZ() } _881._8e1 = new _lZ(); _881.prototype = { _o41: function(_r81, _SX, _s81, _TX) { this._o81 = 0; this._L31 = _881._9e1; this._h81 = _r81 || null; this._j81 = _s81 || null; this._ae1 = _SX || 0; this._be1 = _TX || 0; this._7e1._oZ = 0; this._W31 = null; this._X31 = null; this._5e1._A41 = null; this._5e1._r71 = null; this._5e1._Yn = null; this._5e1._0_ = null; this._6e1._A41 = null; this._6e1._r71 = null; this._6e1._Yn = null; this._6e1._0_ = null; this._n81 = 0; if (_r81) { this._R51 = _Xd1(this._h81._R51, this._j81._R51); this._S51 = __d1(this._h81._S51, this._j81._S51) } else { this._R51 = 0; this._S51 = 0 } this._ce1 = 0.0 }, _de1: function() { return this._7e1 }, _ee1: function(_fe1) { var _u71 = this._h81.__51(); var _v71 = this._j81.__51(); var _z11 = this._h81._T51(); var _A11 = this._j81._T51(); _fe1._zZ(this._7e1, _u71._TT(), _z11._gV, _v71._TT(), _A11._gV) }, _f81: function() { return (this._L31 & _881._ge1) == _881._ge1 }, _z81: function(_l51) { if (_l51) { this._L31 |= _881._9e1 } else { this._L31 &= ~_881._9e1 } }, _e81: function() { return (this._L31 & _881._9e1) == _881._9e1 }, _x51: function() { return this._X31 }, _C41: function() { return this._h81 }, _H71: function() { return this._ae1 }, _E41: function() { return this._j81 }, _J71: function() { return this._be1 }, _mI: function(_K51) { this._R51 = _K51 }, _161: function() { return this._R51 }, _he1: function() { this._R51 = _Xd1(this._h81._R51, this._j81._R51) }, _jI: function(_L51) { this._S51 = _L51 }, _261: function() { return this._S51 }, _ie1: function() { this._S51 = __d1(this._h81._S51, this._j81._S51) }, _je1: function(_Rc) { this._ce1 = _Rc }, _ke1: function() { return this._ce1 }, _c31: function(_pZ, _AZ, _CZ) {}, _Z51: function() { this._L31 |= _881._le1 }, _me1: null, _bm: function(listener) { _881._8e1._0T(this._7e1); this._L31 |= _881._9e1; var _ne1 = !1; var _oe1 = (this._L31 & _881._ge1) == _881._ge1; var _g81 = this._h81._V51(); var _i81 = this._j81._V51(); var _U51 = _g81 || _i81; var _u71 = this._h81.__51(); var _v71 = this._j81.__51(); var _AZ = _u71._TT(); var _CZ = _v71._TT(); if (_U51) { var _z11 = this._h81._T51(); var _A11 = this._j81._T51(); _ne1 = _y11(_z11, this._ae1, _A11, this._be1, _AZ, _CZ); this._7e1._oZ = 0 } else { this._c31(this._7e1, _AZ, _CZ); _ne1 = this._7e1._oZ > 0; for (var _u2 = 0; _u2 < this._7e1._oZ; ++_u2) { var _pe1 = this._7e1._mZ[_u2]; _pe1._iZ = 0.0; _pe1._jZ = 0.0; var _qe1 = _pe1.id; for (var _Bf = 0; _Bf < _881._8e1._oZ; ++_Bf) { var _re1 = _881._8e1._mZ[_Bf]; if (_re1.id._hn() == _qe1._hn()) { _pe1._iZ = _re1._iZ; _pe1._jZ = _re1._jZ; break } } } if (_ne1 != _oe1) { _u71._AI(!0); _v71._AI(!0) } } if (_ne1) { this._L31 |= _881._ge1 } else { this._L31 &= ~_881._ge1 } if (_oe1 == !1 && _ne1 == !0 && listener) { listener._l61(this) } if (_oe1 == !0 && _ne1 == !1 && listener) { listener._m61(this) } if (_U51 == !1 && _ne1 && listener) { listener._n61(this, _881._8e1) } } }; _881._e41 = 0x0001; _881._ge1 = 0x0002; _881._9e1 = 0x0004; _881._le1 = 0x0008; _881._se1 = 0x0010; _881._f41 = 0x0020; function _te1() { this.parent.call(this) } _te1.prototype = { _c31: function(_pZ, _AZ, _CZ) { _f_(_pZ, this._h81._T51(), _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _ue1, _D41, _ve1) { this.parent.prototype._o41.call(this, _B41, 0, _D41, 0); _7S(this._h81._hV() == _eV._uV); _7S(this._j81._hV() == _eV._uV) } }; _te1._BR(_881); var _we1 = new _MV(); function _xe1() { this.parent.call(this) } _xe1.prototype = { _c31: function(_pZ, _AZ, _CZ) { var _NX = this._h81._T51(); _NX._dW(_we1, this._ae1); _o01(_pZ, _we1, _AZ, this._j81._T51(), _CZ); }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, _SX, _D41, _TX); _7S(this._h81._hV() == _eV._xV); _7S(this._j81._hV() == _eV._uV) } }; _xe1._BR(_881); function _ye1() { this.parent.call(this) } _ye1.prototype = { _c31: function(_pZ, _AZ, _CZ) { var _NX = this._h81._T51(); _NX._dW(_we1, this._ae1); _p11(_pZ, _we1, _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, _SX, _D41, _TX); _7S(this._h81._hV() == _eV._xV); _7S(this._j81._hV() == _eV._wV) } }; _ye1._o41 = function(_B41, _SX, _D41, _TX) { return new _ye1(_B41, _SX, _D41, _TX) }; _ye1._BR(_881); function _ze1() { this.parent.call(this) } _ze1.prototype = { _c31: function(_pZ, _AZ, _CZ) { _o01(_pZ, this._h81._T51(), _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, 0, _D41, 0); _7S(this._h81._hV() == _eV._vV); _7S(this._j81._hV() == _eV._uV) } }; _ze1._o41 = function(_B41, _SX, _D41, _TX) { return new _ze1(_B41, _D41) }; _ze1._BR(_881); function _Ae1() { this.parent.call(this) } _Ae1.prototype = { _c31: function(_pZ, _AZ, _CZ) { _p11(_pZ, this._h81._T51(), _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, 0, _D41, 0); _7S(this._h81._hV() == _eV._vV); _7S(this._j81._hV() == _eV._wV) } }; _Ae1._o41 = function(_B41, _SX, _D41, _TX) { return new _Ae1(_B41, _D41) }; _Ae1._BR(_881); function _Be1() { this.parent.call(this) } _Be1.prototype = { _c31: function(_pZ, _AZ, _CZ) { _j_(_pZ, this._h81._T51(), _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, 0, _D41, 0); _7S(this._h81._hV() == _eV._wV); _7S(this._j81._hV() == _eV._uV) } }; _Be1._o41 = function(_B41, _SX, _D41, _TX) { return new _Be1(_B41, _D41) }; _Be1._BR(_881); function _Ce1() { this.parent.call(this) } _Ce1.prototype = { _c31: function(_pZ, _AZ, _CZ) { _T_(_pZ, this._h81._T51(), _AZ, this._j81._T51(), _CZ) }, _o41: function(_B41, _SX, _D41, _TX) { this.parent.prototype._o41.call(this, _B41, 0, _D41, 0); _7S(this._h81._hV() == _eV._wV); _7S(this._j81._hV() == _eV._wV) } }; _Ce1._o41 = function(_B41, _SX, _D41, _TX) { return new _Ce1(_B41, _D41) }; _Ce1._BR(_881); _881._De1 = function(_m31, _Ee1, _Fe1) { _7S(0 <= _Ee1 && _Ee1 < _eV._yV); _7S(0 <= _Fe1 && _Fe1 < _eV._yV); if (!_881._Ge1[_Ee1]) _881._Ge1[_Ee1] = []; _881._Ge1[_Ee1][_Fe1] = new _2e1(); _881._Ge1[_Ee1][_Fe1]._m31 = _m31; _881._Ge1[_Ee1][_Fe1]._3e1 = !0; if (_Ee1 != _Fe1) { if (!_881._Ge1[_Fe1]) _881._Ge1[_Fe1] = []; _881._Ge1[_Fe1][_Ee1] = new _2e1(); _881._Ge1[_Fe1][_Ee1]._m31 = _m31; _881._Ge1[_Fe1][_Ee1]._3e1 = !1 } _m31._He1 = []; _m31._Ie1 = 2 }; _881._Je1 = function() { _881._De1(_te1, _eV._uV, _eV._uV); _881._De1(_Be1, _eV._wV, _eV._uV); _881._De1(_Ce1, _eV._wV, _eV._wV); _881._De1(_ze1, _eV._vV, _eV._uV); _881._De1(_Ae1, _eV._vV, _eV._wV); _881._De1(_xe1, _eV._xV, _eV._uV); _881._De1(_ye1, _eV._xV, _eV._wV) }; _881._Ke1 = function(_m31) { var _A41; if (_A41 = _m31._He1.pop()) return _A41; for (var _u2 = 0; _u2 < _m31._Ie1 - 1; ++_u2) _m31._He1.push(new _m31()); { _m31._Ie1 += 32 } return new _m31() }; _881._o41 = function(_B41, _SX, _D41, _TX) { if (_881._Le1 == !1) { _881._Je1(); _881._Le1 = !0 } var _Ee1 = _B41._hV(); var _Fe1 = _D41._hV(); _7S(0 <= _Ee1 && _Ee1 < _eV._yV); _7S(0 <= _Fe1 && _Fe1 < _eV._yV); var _m31 = _881._Ge1[_Ee1] ? _881._Ge1[_Ee1][_Fe1] ? _881._Ge1[_Ee1][_Fe1]._m31 : null : null; if (_m31) { var _A41 = _881._Ke1(_m31); if (_881._Ge1[_Ee1][_Fe1]._3e1) _A41._o41(_B41, _SX, _D41, _TX); else _A41._o41(_D41, _TX, _B41, _SX); return _A41 } return null }; _881._F41 = function(_A41) { _7S(_881._Le1 == !0); var _B41 = _A41._h81; var _D41 = _A41._j81; if (_A41._7e1._oZ > 0 && _B41._V51() == !1 && _D41._V51() == !1) { _B41.__51()._AI(!0); _D41.__51()._AI(!0) } var _bZ = _B41._hV(); var _cZ = _D41._hV(); _7S(0 <= _bZ && _cZ < _eV._yV); _7S(0 <= _bZ && _cZ < _eV._yV); _881._Ge1[_bZ][_cZ]._m31._He1.push(_A41) }; _881._Ge1 = []; _881._Le1 = !1; var _Me1 = new _d61(); var _Ne1 = new _k61(); function _L61() { this._r41 = new _2X(); this._V31 = null; this._281 = 0; this._c71 = _Me1; this._e71 = _Ne1 } _L61.prototype = { _zX: function(_Oe1, _Pe1) { var _VX = _Oe1; var _WX = _Pe1; var _B41 = _VX._cI; var _D41 = _WX._cI; var _SX = _VX._lV; var _TX = _WX._lV; var _u71 = _B41.__51(); var _v71 = _D41.__51(); if (_u71 == _v71) { return } var _eW = _v71._w51(); while (_eW) { if (_eW._0_ == _u71) { var _r81 = _eW._A41._C41(); var _s81 = _eW._A41._E41(); var _w21 = _eW._A41._H71(); var _x21 = _eW._A41._J71(); if (_r81 == _B41 && _s81 == _D41 && _w21 == _SX && _x21 == _TX) { return } if (_r81 == _D41 && _s81 == _B41 && _w21 == _TX && _x21 == _SX) { return } } _eW = _eW._Yn } if (_v71._B51(_u71) == !1) { return } if (this._c71 && this._c71._B51(_B41, _D41) == !1) { return } var _v2 = _881._o41(_B41, _SX, _D41, _TX); if (_v2 == null) { return } _B41 = _v2._C41(); _D41 = _v2._E41(); _SX = _v2._H71(); _TX = _v2._J71(); _u71 = _B41.__51(); _v71 = _D41.__51(); _v2._W31 = null; _v2._X31 = this._V31; if (this._V31 != null) { this._V31._W31 = _v2 } this._V31 = _v2; _v2._5e1._A41 = _v2; _v2._5e1._0_ = _v71; _v2._5e1._r71 = null; _v2._5e1._Yn = _u71._V31; if (_u71._V31 != null) { _u71._V31._r71 = _v2._5e1 } _u71._V31 = _v2._5e1; _v2._6e1._A41 = _v2; _v2._6e1._0_ = _u71; _v2._6e1._r71 = null; _v2._6e1._Yn = _v71._V31; if (_v71._V31 != null) { _v71._V31._r71 = _v2._6e1 } _v71._V31 = _v2._6e1; if (_B41._V51() == !1 && _D41._V51() == !1) { _u71._AI(!0); _v71._AI(!0) }++this._281 }, _y71: function() { this._r41._rX(this) }, _F41: function(_v2) { var _B41 = _v2._C41(); var _D41 = _v2._E41(); var _u71 = _B41.__51(); var _v71 = _D41.__51(); if (this._e71 && _v2._f81()) { this._e71._m61(_v2) } if (_v2._W31) { _v2._W31._X31 = _v2._X31 } if (_v2._X31) { _v2._X31._W31 = _v2._W31 } if (_v2 == this._V31) { this._V31 = _v2._X31 } if (_v2._5e1._r71) { _v2._5e1._r71._Yn = _v2._5e1._Yn } if (_v2._5e1._Yn) { _v2._5e1._Yn._r71 = _v2._5e1._r71; } if (_v2._5e1 == _u71._V31) { _u71._V31 = _v2._5e1._Yn } if (_v2._6e1._r71) { _v2._6e1._r71._Yn = _v2._6e1._Yn } if (_v2._6e1._Yn) { _v2._6e1._Yn._r71 = _v2._6e1._r71 } if (_v2._6e1 == _v71._V31) { _v71._V31 = _v2._6e1._Yn } _881._F41(_v2); --this._281 }, _311: function() { var _v2 = this._V31; while (_v2) { var _B41 = _v2._C41(); var _D41 = _v2._E41(); var _SX = _v2._H71(); var _TX = _v2._J71(); var _u71 = _B41.__51(); var _v71 = _D41.__51(); if (_v2._L31 & _881._le1) { if (_v71._B51(_u71) == !1) { var _Qe1 = _v2; _v2 = _Qe1._x51(); this._F41(_Qe1); continue } if (this._c71 && this._c71._B51(_B41, _D41) == !1) { var _Qe1 = _v2; _v2 = _Qe1._x51(); this._F41(_Qe1); continue } _v2._L31 &= ~_881._le1 } var _v81 = _u71._p51() && _u71._fV != _x31._y31; var _w81 = _v71._p51() && _v71._fV != _x31._y31; if (_v81 == !1 && _w81 == !1) { _v2 = _v2._x51(); continue } var _YW = _B41._j51[_SX]._dX; var _ZW = _D41._j51[_TX]._dX; var _Re1 = this._r41._mX(_YW, _ZW); if (_Re1 == !1) { var _Qe1 = _v2; _v2 = _Qe1._x51(); this._F41(_Qe1); continue } _v2._bm(this._e71); _v2 = _v2._x51() } } }; function _Se1() { this._7Z = new _XS(); this._8Z = new _XS(); this._iZ = 0; this._jZ = 0; this._Te1 = 0; this._Ue1 = 0; this._Ve1 = 0 } function _We1() { this._Xe1 = new Array(_dS); this._nZ = new _XS(); this._hZ = new _XS(); this._SX = 0; this._TX = 0; this._Ye1 = 0, this._Ze1 = 0; this.__e1 = new _XS(), this._0f1 = new _XS(); this._1f1 = 0, this._2f1 = 0; this.type = 0; this._BZ = 0, this._DZ = 0; this._oZ = 0 }; function _3f1() { this._mZ = new Array(_dS); for (var _u2 = 0; _u2 < this._mZ.length; ++_u2) this._mZ[_u2] = new _Se1(); this._tV = new _XS(); this._Te1 = new _hT(); this._4f1 = new _hT(); this._SX = 0; this._TX = 0; this._Ye1 = 0, this._Ze1 = 0; this._1f1 = 0, this._2f1 = 0; this._K51 = 0; this._L51 = 0; this._5f1 = 0; this._oZ = 0; this._6f1 = 0 } function _7f1() { this._tV = new _XS(); this._kZ = new _XS(); this._n_ = 0 } _7f1.prototype = { _zZ: function(_ha1, _AZ, _CZ, index) { _7S(_ha1._oZ > 0); switch (_ha1.type) { case _lZ._qZ: { var _EZ = (_AZ._rz._v2 * _ha1._hZ._w2 - _AZ._rz._ov * _ha1._hZ._x2) + _AZ._yA._w2; var _FZ = (_AZ._rz._ov * _ha1._hZ._w2 + _AZ._rz._v2 * _ha1._hZ._x2) + _AZ._yA._x2; var _GZ = (_CZ._rz._v2 * _ha1._Xe1[0]._w2 - _CZ._rz._ov * _ha1._Xe1[0]._x2) + _CZ._yA._w2; var _HZ = (_CZ._rz._ov * _ha1._Xe1[0]._w2 + _CZ._rz._v2 * _ha1._Xe1[0]._x2) + _CZ._yA._x2; this._kZ._w2 = 0.5 * (_EZ + _GZ); this._kZ._x2 = 0.5 * (_FZ + _HZ); this._tV._w2 = _GZ - _EZ; this._tV._x2 = _HZ - _FZ; var _8f1 = this._tV._w2; var _9f1 = this._tV._x2; this._tV._7T(); this._n_ = (_8f1 * this._tV._w2 + _9f1 * this._tV._x2) - _ha1._BZ - _ha1._DZ } break; case _lZ._rZ: { this._tV._w2 = _AZ._rz._v2 * _ha1._nZ._w2 - _AZ._rz._ov * _ha1._nZ._x2; this._tV._x2 = _AZ._rz._ov * _ha1._nZ._w2 + _AZ._rz._v2 * _ha1._nZ._x2; var _OZ = (_AZ._rz._v2 * _ha1._hZ._w2 - _AZ._rz._ov * _ha1._hZ._x2) + _AZ._yA._w2; var _PZ = (_AZ._rz._ov * _ha1._hZ._w2 + _AZ._rz._v2 * _ha1._hZ._x2) + _AZ._yA._x2; var _QZ = (_CZ._rz._v2 * _ha1._Xe1[index]._w2 - _CZ._rz._ov * _ha1._Xe1[index]._x2) + _CZ._yA._w2; var _RZ = (_CZ._rz._ov * _ha1._Xe1[index]._w2 + _CZ._rz._v2 * _ha1._Xe1[index]._x2) + _CZ._yA._x2; this._n_ = ((_QZ - _OZ) * this._tV._w2 + (_RZ - _PZ) * this._tV._x2) - _ha1._BZ - _ha1._DZ; this._kZ._w2 = _QZ; this._kZ._x2 = _RZ } break; case _lZ._sZ: { this._tV._w2 = _CZ._rz._v2 * _ha1._nZ._w2 - _CZ._rz._ov * _ha1._nZ._x2; this._tV._x2 = _CZ._rz._ov * _ha1._nZ._w2 + _CZ._rz._v2 * _ha1._nZ._x2; var _OZ = (_CZ._rz._v2 * _ha1._hZ._w2 - _CZ._rz._ov * _ha1._hZ._x2) + _CZ._yA._w2; var _PZ = (_CZ._rz._ov * _ha1._hZ._w2 + _CZ._rz._v2 * _ha1._hZ._x2) + _CZ._yA._x2; var _QZ = (_AZ._rz._v2 * _ha1._Xe1[index]._w2 - _AZ._rz._ov * _ha1._Xe1[index]._x2) + _AZ._yA._w2; var _RZ = (_AZ._rz._ov * _ha1._Xe1[index]._w2 + _AZ._rz._v2 * _ha1._Xe1[index]._x2) + _AZ._yA._x2; this._n_ = ((_QZ - _OZ) * this._tV._w2 + (_RZ - _PZ) * this._tV._x2) - _ha1._BZ - _ha1._DZ; this._kZ._w2 = _QZ; this._kZ._x2 = _RZ; this._tV._w2 = -this._tV._w2; this._tV._x2 = -this._tV._x2 } break } } }; function _af1() { this._JR = new _u61(); this._bf1 = null; this._fg = 0; this._E61 = null; this._F61 = null } function _cf1() { this._df1 = []; this._ef1 = [] } _cf1._ff1 = new _LT(); _cf1._gf1 = new _LT(); _cf1._hf1 = new _7f1(); _cf1.prototype = { _aK: function(_j41) { this._dd1 = _j41._JR; this._1W = _j41._fg; this._df1.length = this._1W; this._ef1.length = this._1W; this._if1 = _j41._E61; this._jf1 = _j41._F61; this._kf1 = _j41._bf1; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _A41 = this._kf1[_u2]; var _B41 = _A41._h81; var _D41 = _A41._j81; var _z11 = _B41._T51(); var _A11 = _D41._T51(); var _BZ = _z11._gV; var _DZ = _A11._gV; var _u71 = _B41.__51(); var _v71 = _D41.__51(); var _pZ = _A41._de1(); var _oZ = _pZ._oZ; _7S(_oZ > 0); var _lf1 = this._ef1[_u2] || new _3f1(); _lf1._K51 = _A41._R51; _lf1._L51 = _A41._S51; _lf1._5f1 = _A41._ce1; _lf1._SX = _u71._K31; _lf1._TX = _v71._K31; _lf1._Ye1 = _u71._741; _lf1._Ze1 = _v71._741; _lf1._1f1 = _u71._941; _lf1._2f1 = _v71._941; _lf1._6f1 = _u2; _lf1._oZ = _oZ; _lf1._4f1._YS(); _lf1._Te1._YS(); this._ef1[_u2] = _lf1; var _ha1 = this._df1[_u2] || new _We1(); _ha1._SX = _u71._K31; _ha1._TX = _v71._K31; _ha1._Ye1 = _u71._741; _ha1._Ze1 = _v71._741; _ha1.__e1._w2 = _u71._T31._OT._w2; _ha1.__e1._x2 = _u71._T31._OT._x2; _ha1._0f1._w2 = _v71._T31._OT._w2; _ha1._0f1._x2 = _v71._T31._OT._x2; _ha1._1f1 = _u71._941; _ha1._2f1 = _v71._941; _ha1._nZ._w2 = _pZ._nZ._w2; _ha1._nZ._x2 = _pZ._nZ._x2; _ha1._hZ._w2 = _pZ._hZ._w2; _ha1._hZ._x2 = _pZ._hZ._x2; _ha1._oZ = _oZ; _ha1._BZ = _BZ; _ha1._DZ = _DZ; _ha1.type = _pZ.type; this._df1[_u2] = _ha1; for (var _Bf = 0; _Bf < _oZ; ++_Bf) { var _m01 = _pZ._mZ[_Bf]; var _mf1 = _lf1._mZ[_Bf]; if (this._dd1._A61) { _mf1._iZ = this._dd1._x61 * _m01._iZ; _mf1._jZ = this._dd1._x61 * _m01._jZ } else { _mf1._iZ = 0.0; _mf1._jZ = 0.0 } _mf1._7Z._YS(); _mf1._8Z._YS(); _mf1._Te1 = 0.0; _mf1._Ue1 = 0.0; _mf1._Ve1 = 0.0; _ha1._Xe1[_Bf] = _m01._hZ } } }, _nf1: function() { for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _lf1 = this._ef1[_u2]; var _ha1 = this._df1[_u2]; var _BZ = _ha1._BZ; var _DZ = _ha1._DZ; var _pZ = this._kf1[_lf1._6f1]._de1(); var _SX = _lf1._SX; var _TX = _lf1._TX; var _of1 = _lf1._Ye1; var _pf1 = _lf1._Ze1; var _w21 = _lf1._1f1; var _x21 = _lf1._2f1; var __e1 = _ha1.__e1; var _0f1 = _ha1._0f1; var _G71 = this._if1[_SX]._v2; var _qf1 = this._if1[_SX]._Wg; var _rf1 = this._jf1[_SX]._8h; var _4Y = this._jf1[_SX]._y2; var _I71 = this._if1[_TX]._v2; var _sf1 = this._if1[_TX]._Wg; var _tf1 = this._jf1[_TX]._8h; var _5Y = this._jf1[_TX]._y2; _7S(_pZ._oZ > 0); _cf1._ff1._rz._Tn(_qf1); _cf1._gf1._rz._Tn(_sf1); _cf1._ff1._yA._w2 = _G71._w2 - (_cf1._ff1._rz._v2 * __e1._w2 - _cf1._ff1._rz._ov * __e1._x2); _cf1._ff1._yA._x2 = _G71._x2 - (_cf1._ff1._rz._ov * __e1._w2 + _cf1._ff1._rz._v2 * __e1._x2); _cf1._gf1._yA._w2 = _I71._w2 - (_cf1._gf1._rz._v2 * _0f1._w2 - _cf1._gf1._rz._ov * _0f1._x2); _cf1._gf1._yA._x2 = _I71._x2 - (_cf1._gf1._rz._ov * _0f1._w2 + _cf1._gf1._rz._v2 * _0f1._x2); var _fe1 = new _xZ(); _fe1._zZ(_pZ, _cf1._ff1, _BZ, _cf1._gf1, _DZ); _lf1._tV._w2 = _fe1._tV._w2; _lf1._tV._x2 = _fe1._tV._x2; var _oZ = _lf1._oZ; for (var _Bf = 0; _Bf < _oZ; ++_Bf) { var _mf1 = _lf1._mZ[_Bf]; _mf1._7Z._w2 = _fe1._mZ[_Bf]._w2 - _G71._w2; _mf1._7Z._x2 = _fe1._mZ[_Bf]._x2 - _G71._x2; _mf1._8Z._w2 = _fe1._mZ[_Bf]._w2 - _I71._w2; _mf1._8Z._x2 = _fe1._mZ[_Bf]._x2 - _I71._x2; var _uf1 = _mf1._7Z._w2 * _lf1._tV._x2 - _mf1._7Z._x2 * _lf1._tV._w2; var _vf1 = _mf1._8Z._w2 * _lf1._tV._x2 - _mf1._8Z._x2 * _lf1._tV._w2; var _wf1 = _of1 + _pf1 + _w21 * _uf1 * _uf1 + _x21 * _vf1 * _vf1; _mf1._Te1 = _wf1 > 0.0 ? 1.0 / _wf1 : 0.0; var _b01 = 1.0 * _lf1._tV._x2; var _c01 = -1.0 * _lf1._tV._w2; var _xf1 = _mf1._7Z._w2 * _c01 - _mf1._7Z._x2 * _b01; var _yf1 = _mf1._8Z._w2 * _c01 - _mf1._8Z._x2 * _b01; var _zf1 = _of1 + _pf1 + _w21 * _xf1 * _xf1 + _x21 * _yf1 * _yf1; _mf1._Ue1 = _zf1 > 0.0 ? 1.0 / _zf1 : 0.0; _mf1._Ve1 = 0.0; var _Af1 = _lf1._tV._w2 * (((_tf1._w2 + (-_5Y * _mf1._8Z._x2)) - _rf1._w2) - (-_4Y * _mf1._7Z._x2)) + _lf1._tV._x2 * (((_tf1._x2 + (_5Y * _mf1._8Z._w2)) - _rf1._x2) - (_4Y * _mf1._7Z._w2)); if (_Af1 < -_mS) { _mf1._Ve1 = -_lf1._L51 * _Af1 } } if (_lf1._oZ == 2) { var _Bf1 = _lf1._mZ[0]; var _Cf1 = _lf1._mZ[1]; var _Df1 = _Bf1._7Z._w2 * _lf1._tV._x2 - _Bf1._7Z._x2 * _lf1._tV._w2; var _Ef1 = _Bf1._8Z._w2 * _lf1._tV._x2 - _Bf1._8Z._x2 * _lf1._tV._w2; var _Ff1 = _Cf1._7Z._w2 * _lf1._tV._x2 - _Cf1._7Z._x2 * _lf1._tV._w2; var _Gf1 = _Cf1._8Z._w2 * _lf1._tV._x2 - _Cf1._8Z._x2 * _lf1._tV._w2; var _Hf1 = _of1 + _pf1 + _w21 * _Df1 * _Df1 + _x21 * _Ef1 * _Ef1; var _If1 = _of1 + _pf1 + _w21 * _Ff1 * _Ff1 + _x21 * _Gf1 * _Gf1; var _Jf1 = _of1 + _pf1 + _w21 * _Df1 * _Ff1 + _x21 * _Ef1 * _Gf1; var _Kf1 = 1000.0; if (_Hf1 * _Hf1 < _Kf1 * (_Hf1 * _If1 - _Jf1 * _Jf1)) { _lf1._4f1._0L._w2 = _Hf1; _lf1._4f1._0L._x2 = _Jf1; _lf1._4f1._kT._w2 = _Jf1; _lf1._4f1._kT._x2 = _If1; _lf1._Te1._0T(_lf1._4f1._mT()) } else { _lf1._oZ = 1 } } } }, _Lf1: function() { for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _lf1 = this._ef1[_u2]; var _SX = _lf1._SX; var _TX = _lf1._TX; var _of1 = _lf1._Ye1; var _w21 = _lf1._1f1; var _pf1 = _lf1._Ze1; var _x21 = _lf1._2f1; var _oZ = _lf1._oZ; var _rf1 = this._jf1[_SX]._8h; var _4Y = this._jf1[_SX]._y2; var _tf1 = this._jf1[_TX]._8h; var _5Y = this._jf1[_TX]._y2; var _tV = _lf1._tV; var _b01 = 1.0 * _tV._x2; var _c01 = -1.0 * _tV._w2; for (var _Bf = 0; _Bf < _oZ; ++_Bf) { var _mf1 = _lf1._mZ[_Bf]; var _A01 = (_mf1._iZ * _tV._w2) + (_mf1._jZ * _b01); var _B01 = (_mf1._iZ * _tV._x2) + (_mf1._jZ * _c01); _4Y -= _w21 * (_mf1._7Z._w2 * _B01 - _mf1._7Z._x2 * _A01); _rf1._w2 -= _of1 * _A01; _rf1._x2 -= _of1 * _B01; _5Y += _x21 * (_mf1._8Z._w2 * _B01 - _mf1._8Z._x2 * _A01); _tf1._w2 += _pf1 * _A01; _tf1._x2 += _pf1 * _B01 } this._jf1[_SX]._y2 = _4Y; this._jf1[_TX]._y2 = _5Y } }, _Mf1: function() { for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _lf1 = this._ef1[_u2]; var _SX = _lf1._SX; var _TX = _lf1._TX; var _of1 = _lf1._Ye1; var _w21 = _lf1._1f1; var _pf1 = _lf1._Ze1; var _x21 = _lf1._2f1; var _oZ = _lf1._oZ; var _rf1 = this._jf1[_SX]._8h; var _4Y = this._jf1[_SX]._y2; var _tf1 = this._jf1[_TX]._8h; var _5Y = this._jf1[_TX]._y2; var _tV = _lf1._tV; var _b01 = 1.0 * _tV._x2; var _c01 = -1.0 * _tV._w2; var _K51 = _lf1._K51; _7S(_oZ == 1 || _oZ == 2); for (var _Bf = 0; _Bf < _oZ; ++_Bf) { var _mf1 = _lf1._mZ[_Bf]; var _Nf1 = _tf1._w2 + (-_5Y * _mf1._8Z._x2) - _rf1._w2 - (-_4Y * _mf1._7Z._x2); var _Of1 = _tf1._x2 + (_5Y * _mf1._8Z._w2) - _rf1._x2 - (_4Y * _mf1._7Z._w2); var _Pf1 = (_Nf1 * _b01 + _Of1 * _c01) - _lf1._5f1; var _Qf1 = _mf1._Ue1 * (-_Pf1); var _Rf1 = _K51 * _mf1._iZ; var _Sf1 = _sU(_mf1._jZ + _Qf1, -_Rf1, _Rf1); _Qf1 = _Sf1 - _mf1._jZ; _mf1._jZ = _Sf1; var _A01 = _Qf1 * _b01; var _B01 = _Qf1 * _c01; _rf1._w2 -= _of1 * _A01; _rf1._x2 -= _of1 * _B01; _4Y -= _w21 * (_mf1._7Z._w2 * _B01 - _mf1._7Z._x2 * _A01); _tf1._w2 += _pf1 * _A01; _tf1._x2 += _pf1 * _B01; _5Y += _x21 * (_mf1._8Z._w2 * _B01 - _mf1._8Z._x2 * _A01); } if (_lf1._oZ == 1) { _mf1 = _lf1._mZ[0]; _Nf1 = _tf1._w2 + (-_5Y * _mf1._8Z._x2) - _rf1._w2 - (-_4Y * _mf1._7Z._x2); _Of1 = _tf1._x2 + (_5Y * _mf1._8Z._w2) - _rf1._x2 - (_4Y * _mf1._7Z._w2); var _id1 = _Nf1 * _tV._w2 + _Of1 * _tV._x2; var _Qf1 = -_mf1._Te1 * (_id1 - _mf1._Ve1); var _Sf1 = _qU(_mf1._iZ + _Qf1, 0.0); _Qf1 = _Sf1 - _mf1._iZ; _mf1._iZ = _Sf1; _A01 = _Qf1 * _tV._w2; _B01 = _Qf1 * _tV._x2; _rf1._w2 -= _of1 * _A01; _rf1._x2 -= _of1 * _B01; _4Y -= _w21 * (_mf1._7Z._w2 * _B01 - _mf1._7Z._x2 * _A01); _tf1._w2 += _pf1 * _A01; _tf1._x2 += _pf1 * _B01; _5Y += _x21 * (_mf1._8Z._w2 * _B01 - _mf1._8Z._x2 * _A01) } else { var _Tf1 = _lf1._mZ[0]; var _Uf1 = _lf1._mZ[1]; var _5a1 = _Tf1._iZ; var _6a1 = _Uf1._iZ; _7S(_5a1 >= 0.0 && _6a1 >= 0.0); var _Vf1 = _tf1._w2 + (-_5Y * _Tf1._8Z._x2) - _rf1._w2 - (-_4Y * _Tf1._7Z._x2); var _Wf1 = _tf1._x2 + (_5Y * _Tf1._8Z._w2) - _rf1._x2 - (_4Y * _Tf1._7Z._w2); var _Xf1 = _tf1._w2 + (-_5Y * _Uf1._8Z._x2) - _rf1._w2 - (-_4Y * _Uf1._7Z._x2); var _Yf1 = _tf1._x2 + (_5Y * _Uf1._8Z._w2) - _rf1._x2 - (_4Y * _Uf1._7Z._w2); var _Zf1 = _Vf1 * _tV._w2 + _Wf1 * _tV._x2; var __f1 = _Xf1 * _tV._w2 + _Yf1 * _tV._x2; var _7a1 = _Zf1 - _Tf1._Ve1; var _8a1 = __f1 - _Uf1._Ve1; _7a1 -= _lf1._4f1._0L._w2 * _5a1 + _lf1._4f1._kT._w2 * _6a1; _8a1 -= _lf1._4f1._0L._x2 * _5a1 + _lf1._4f1._kT._x2 * _6a1; for (;;) { var _Cf = -(_lf1._Te1._0L._w2 * _7a1 + _lf1._Te1._kT._w2 * _8a1); var _0g1 = -(_lf1._Te1._0L._x2 * _7a1 + _lf1._Te1._kT._x2 * _8a1); if (_Cf >= 0.0 && _0g1 >= 0.0) { var _zh = _Cf - _5a1; var _Ah = _0g1 - _6a1; var _1g1 = _zh * _tV._w2; var _2g1 = _zh * _tV._x2; var _3g1 = _Ah * _tV._w2; var _4g1 = _Ah * _tV._x2; _rf1._w2 -= _of1 * (_1g1 + _3g1); _rf1._x2 -= _of1 * (_2g1 + _4g1); _4Y -= _w21 * ((_Tf1._7Z._w2 * _2g1 - _Tf1._7Z._x2 * _1g1) + (_Uf1._7Z._w2 * _4g1 - _Uf1._7Z._x2 * _3g1)); _tf1._w2 += _pf1 * (_1g1 + _3g1); _tf1._x2 += _pf1 * (_2g1 + _4g1); _5Y += _x21 * ((_Tf1._8Z._w2 * _2g1 - _Tf1._8Z._x2 * _1g1) + (_Uf1._8Z._w2 * _4g1 - _Uf1._8Z._x2 * _3g1)); _Tf1._iZ = _Cf; _Uf1._iZ = _0g1; break } _Cf = -_Tf1._Te1 * _7a1; _0g1 = 0.0; _Zf1 = 0.0; __f1 = _lf1._4f1._0L._x2 * _Cf + _8a1; if (_Cf >= 0.0 && __f1 >= 0.0) { _zh = _Cf - _5a1; _Ah = _0g1 - _6a1; _1g1 = _zh * _tV._w2; _2g1 = _zh * _tV._x2; _3g1 = _Ah * _tV._w2; _4g1 = _Ah * _tV._x2; _rf1._w2 -= _of1 * (_1g1 + _3g1); _rf1._x2 -= _of1 * (_2g1 + _4g1); _4Y -= _w21 * ((_Tf1._7Z._w2 * _2g1 - _Tf1._7Z._x2 * _1g1) + (_Uf1._7Z._w2 * _4g1 - _Uf1._7Z._x2 * _3g1)); _tf1._w2 += _pf1 * (_1g1 + _3g1); _tf1._x2 += _pf1 * (_2g1 + _4g1); _5Y += _x21 * ((_Tf1._8Z._w2 * _2g1 - _Tf1._8Z._x2 * _1g1) + (_Uf1._8Z._w2 * _4g1 - _Uf1._8Z._x2 * _3g1)); _Tf1._iZ = _Cf; _Uf1._iZ = _0g1; break } _Cf = 0.0; _0g1 = -_Uf1._Te1 * _8a1; _Zf1 = _lf1._4f1._kT._w2 * _0g1 + _7a1; __f1 = 0.0; if (_0g1 >= 0.0 && _Zf1 >= 0.0) { _zh = _Cf - _5a1; _Ah = _0g1 - _6a1; _1g1 = _zh * _tV._w2; _2g1 = _zh * _tV._x2; _3g1 = _Ah * _tV._w2; _4g1 = _Ah * _tV._x2; _rf1._w2 -= _of1 * (_1g1 + _3g1); _rf1._x2 -= _of1 * (_2g1 + _4g1); _4Y -= _w21 * ((_Tf1._7Z._w2 * _2g1 - _Tf1._7Z._x2 * _1g1) + (_Uf1._7Z._w2 * _4g1 - _Uf1._7Z._x2 * _3g1)); _tf1._w2 += _pf1 * (_1g1 + _3g1); _tf1._x2 += _pf1 * (_2g1 + _4g1); _5Y += _x21 * ((_Tf1._8Z._w2 * _2g1 - _Tf1._8Z._x2 * _1g1) + (_Uf1._8Z._w2 * _4g1 - _Uf1._8Z._x2 * _3g1)); _Tf1._iZ = _Cf; _Uf1._iZ = _0g1; break } _Cf = 0.0; _0g1 = 0.0; _Zf1 = _7a1; __f1 = _8a1; if (_Zf1 >= 0.0 && __f1 >= 0.0) { _zh = _Cf - _5a1; _Ah = _0g1 - _6a1; _1g1 = _zh * _tV._w2; _2g1 = _zh * _tV._x2; _3g1 = _Ah * _tV._w2; _4g1 = _Ah * _tV._x2; _rf1._w2 -= _of1 * (_1g1 + _3g1); _rf1._x2 -= _of1 * (_2g1 + _4g1); _4Y -= _w21 * ((_Tf1._7Z._w2 * _2g1 - _Tf1._7Z._x2 * _1g1) + (_Uf1._7Z._w2 * _4g1 - _Uf1._7Z._x2 * _3g1)); _tf1._w2 += _pf1 * (_1g1 + _3g1); _tf1._x2 += _pf1 * (_2g1 + _4g1); _5Y += _x21 * ((_Tf1._8Z._w2 * _2g1 - _Tf1._8Z._x2 * _1g1) + (_Uf1._8Z._w2 * _4g1 - _Uf1._8Z._x2 * _3g1)); _Tf1._iZ = _Cf; _Uf1._iZ = _0g1; break } break } } this._jf1[_SX]._y2 = _4Y; this._jf1[_TX]._y2 = _5Y } }, _5g1: function() { for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _lf1 = this._ef1[_u2]; var _pZ = this._kf1[_lf1._6f1]._de1(); for (var _Bf = 0; _Bf < _lf1._oZ; ++_Bf) { _pZ._mZ[_Bf]._iZ = _lf1._mZ[_Bf]._iZ; _pZ._mZ[_Bf]._jZ = _lf1._mZ[_Bf]._jZ } } }, _6g1: function() { var _7g1 = 0.0; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _ha1 = this._df1[_u2]; var _SX = _ha1._SX; var _TX = _ha1._TX; var __e1 = _ha1.__e1; var _of1 = _ha1._Ye1; var _w21 = _ha1._1f1; var _0f1 = _ha1._0f1; var _pf1 = _ha1._Ze1; var _x21 = _ha1._2f1; var _oZ = _ha1._oZ; var _G71 = this._if1[_SX]._v2; var _qf1 = this._if1[_SX]._Wg; var _I71 = this._if1[_TX]._v2; var _sf1 = this._if1[_TX]._Wg; for (var _Bf = 0; _Bf < _oZ; ++_Bf) { _cf1._ff1._rz._Tn(_qf1); _cf1._gf1._rz._Tn(_sf1); _cf1._ff1._yA._w2 = _G71._w2 - (_cf1._ff1._rz._v2 * __e1._w2 - _cf1._ff1._rz._ov * __e1._x2); _cf1._ff1._yA._x2 = _G71._x2 - (_cf1._ff1._rz._ov * __e1._w2 + _cf1._ff1._rz._v2 * __e1._x2); _cf1._gf1._yA._w2 = _I71._w2 - (_cf1._gf1._rz._v2 * _0f1._w2 - _cf1._gf1._rz._ov * _0f1._x2); _cf1._gf1._yA._x2 = _I71._x2 - (_cf1._gf1._rz._ov * _0f1._w2 + _cf1._gf1._rz._v2 * _0f1._x2); _cf1._hf1._zZ(_ha1, _cf1._ff1, _cf1._gf1, _Bf); var _tV = _cf1._hf1._tV; var _kZ = _cf1._hf1._kZ; var _n_ = _cf1._hf1._n_; var _8g1 = _kZ._w2 - _G71._w2; var _9g1 = _kZ._x2 - _G71._x2; var _ag1 = _kZ._w2 - _I71._w2; var _bg1 = _kZ._x2 - _I71._x2; _7g1 = _oU(_7g1, _n_); var _hU = _sU(_tS * (_n_ + _hS), -_nS, 0.0); var _uf1 = _8g1 * _tV._x2 - _9g1 * _tV._w2; var _vf1 = _ag1 * _tV._x2 - _bg1 * _tV._w2; var _4f1 = _of1 + _pf1 + _w21 * _uf1 * _uf1 + _x21 * _vf1 * _vf1; var _W41 = _4f1 > 0.0 ? -_hU / _4f1 : 0.0; var _A01 = _W41 * _tV._w2; var _B01 = _W41 * _tV._x2; _G71._w2 -= _of1 * _A01; _G71._x2 -= _of1 * _B01; _qf1 -= _w21 * (_8g1 * _B01 - _9g1 * _A01); _I71._w2 += _pf1 * _A01; _I71._x2 += _pf1 * _B01; _sf1 += _x21 * (_ag1 * _B01 - _bg1 * _A01) } this._if1[_SX]._Wg = _qf1; this._if1[_TX]._Wg = _sf1 } return _7g1 >= -3.0 * _hS }, _cg1: function(_dg1, _eg1) { var _7g1 = 0.0; for (var _u2 = 0; _u2 < this._1W; ++_u2) { var _ha1 = this._df1[_u2]; var _SX = _ha1._SX; var _TX = _ha1._TX; var __e1 = _ha1.__e1; var _0f1 = _ha1._0f1; var _oZ = _ha1._oZ; var _of1 = 0.0; var _w21 = 0.0; if (_SX == _dg1 || _SX == _eg1) { _of1 = _ha1._Ye1; _w21 = _ha1._1f1 } var _pf1 = 0.0; var _x21 = 0.0; if (_TX == _dg1 || _TX == _eg1) { _pf1 = _ha1._Ze1; _x21 = _ha1._2f1 } var _G71 = this._if1[_SX]._v2; var _qf1 = this._if1[_SX]._Wg; var _I71 = this._if1[_TX]._v2; var _sf1 = this._if1[_TX]._Wg; for (var _Bf = 0; _Bf < _oZ; ++_Bf) { _cf1._ff1._rz._Tn(_qf1); _cf1._gf1._rz._Tn(_sf1); _cf1._ff1._yA._0T(_XS._4T(_G71, _bU(_cf1._ff1._rz, __e1))); _cf1._gf1._yA._0T(_XS._4T(_I71, _bU(_cf1._gf1._rz, _0f1))); _cf1._hf1._zZ(_ha1, _cf1._ff1, _cf1._gf1, _Bf); var _tV = _cf1._hf1._tV; var _kZ = _cf1._hf1._kZ; var _n_ = _cf1._hf1._n_; var _7Z = _XS._4T(_kZ, _G71); var _8Z = _XS._4T(_kZ, _I71); _7g1 = _oU(_7g1, _n_); var _hU = _sU(_uS * (_n_ + _hS), -_nS, 0.0); var _uf1 = _YT(_7Z, _tV); var _vf1 = _YT(_8Z, _tV); var _4f1 = _of1 + _pf1 + _w21 * _uf1 * _uf1 + _x21 * _vf1 * _vf1; var _W41 = _4f1 > 0.0 ? -_hU / _4f1 : 0.0; var _q01 = _XS._9u(_W41, _tV); _G71._4T(_XS._9u(_of1, _q01)); _qf1 -= _w21 * _YT(_7Z, _q01); _I71._yn(_XS._9u(_pf1, _q01)); _sf1 += _x21 * _YT(_8Z, _q01) } this._if1[_SX]._Wg = _qf1; this._if1[_TX]._Wg = _sf1 } return _7g1 >= -1.5 * _hS } }; function _071() { this._m81 = []; this._kf1 = []; this._fg1 = []; this._jf1 = []; this._if1 = [] } var _gg1 = _OR._0S("solve initialization", "solve"); var _hg1 = _OR._0S("warm starting", "solve initialization"); var _ig1 = _OR._0S("solve velocities", "solve"); var _jg1 = _OR._0S("solve positions", "solve"); _071._kg1 = new _D61(); _071._lg1 = new _af1(); _071._mg1 = new _cf1(); _071.prototype = { _am: function() { this._P61 = 0; this._281 = 0; this._Q61 = 0 }, _zZ: function(_ng1, _og1, _pg1, listener) { this._qg1 = listener; this._B81 = _ng1; this._C81 = _og1; this._rg1 = _pg1; this._P61 = 0; this._281 = 0; this._Q61 = 0; this._m81.length = _ng1; this._kf1.length = _og1; this._fg1.length = _pg1; this._jf1.length = _ng1; this._if1.length = _ng1 }, _pT: function(_JR, _sb, _D31) { _gg1.start(); var _z2 = _JR._v61; for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _xf = this._m81[_u2]; this._if1[_u2]._v2._0T(_xf._T31._v2); var _Wg = _xf._T31._Wg; this._jf1[_u2]._8h._0T(_xf._Y31); var _y2 = _xf._Z31; _xf._T31._PT._0T(_xf._T31._v2); _xf._T31._RT = _xf._T31._Wg; if (_xf._fV == _x31._541) { this._jf1[_u2]._8h._w2 += _z2 * ((_xf._141 * _sb._w2) + (_xf._741 * _xf._241._w2)); this._jf1[_u2]._8h._x2 += _z2 * ((_xf._141 * _sb._x2) + (_xf._741 * _xf._241._x2)); _y2 += _z2 * _xf._941 * _xf._341; this._jf1[_u2]._8h._w2 *= 1.0 / (1.0 + _z2 * _xf.__31); this._jf1[_u2]._8h._x2 *= 1.0 / (1.0 + _z2 * _xf.__31); _y2 *= 1.0 / (1.0 + _z2 * _xf._041) } this._if1[_u2]._Wg = _Wg; this._jf1[_u2]._y2 = _y2 } _071._kg1._JR = _JR; _071._kg1._E61 = this._if1; _071._kg1._F61 = this._jf1; _071._lg1._JR = _JR; _071._lg1._bf1 = this._kf1; _071._lg1._fg = this._281; _071._lg1._E61 = this._if1; _071._lg1._F61 = this._jf1; _071._lg1._sg1 = this._tg1; _071._mg1._aK(_071._lg1); _071._mg1._nf1(); if (_JR._A61) { _hg1.start(); _071._mg1._Lf1(); _hg1.stop() } for (var _u2 = 0; _u2 < this._Q61; ++_u2) { this._fg1[_u2]._ug1(_071._kg1) } _gg1.stop(); _ig1.start(); for (var _u2 = 0; _u2 < _JR._y61; ++_u2) { for (var _Bf = 0; _Bf < this._Q61; ++_Bf) { this._fg1[_Bf]._Mf1(_071._kg1) } _071._mg1._Mf1() } _071._mg1._5g1(); _ig1.stop(); _jg1.start(); for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _v2 = this._if1[_u2]._v2; var _Wg = this._if1[_u2]._Wg; var _8h = this._jf1[_u2]._8h; var _y2 = this._jf1[_u2]._y2; var _vg1 = _z2 * _8h._w2; var _wg1 = _z2 * _8h._x2; var _xg1 = _vg1 * _vg1 + _wg1 * _wg1; if (_xg1 > _qS) { var _yg1 = _pS / _US(_xg1); _8h._w2 *= _yg1; _8h._x2 *= _yg1 } var _E4 = _z2 * _y2; if (_E4 * _E4 > _sS) { var _yg1 = _rS / _lU(_E4); _y2 *= _yg1 } _v2._w2 += _z2 * _8h._w2; _v2._x2 += _z2 * _8h._x2; _Wg += _z2 * _y2; this._if1[_u2]._Wg = _Wg; this._jf1[_u2]._y2 = _y2 } var _zg1 = !1; for (var _u2 = 0; _u2 < _JR._z61; ++_u2) { var _Ag1 = _071._mg1._6g1(); var _Bg1 = !0; for (var _Bf = 0; _Bf < this._Q61; ++_Bf) { var _Cg1 = this._fg1[_Bf]._6g1(_071._kg1); _Bg1 = _Bg1 && _Cg1 } if (_Ag1 && _Bg1) { _zg1 = !0; break } } for (var _u2 = 0; _u2 < this._P61; ++_u2) { var body = this._m81[_u2]; body._T31._v2._0T(this._if1[_u2]._v2); body._T31._Wg = this._if1[_u2]._Wg; body._Y31._0T(this._jf1[_u2]._8h); body._Z31 = this._jf1[_u2]._y2; body._A51() } _jg1.stop(); this._Dg1(_071._mg1._ef1); if (_D31) { var _Eg1 = _aS; var _Fg1 = _wS * _wS; var _Gg1 = _xS * _xS; for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _xf = this._m81[_u2]; if (_xf._hV() == _x31._y31) { continue } if ((_xf._L31 & _x31._O31) == 0 || _xf._Z31 * _xf._Z31 > _Gg1 || _XT(_xf._Y31, _xf._Y31) > _Fg1) { _xf._441 = 0.0; _Eg1 = 0.0 } else { _xf._441 += _z2; _Eg1 = _oU(_Eg1, _xf._441) } } if (_Eg1 >= _vS && _zg1) { for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _xf = this._m81[_u2]; _xf._AI(!1) } } } }, _A71: function(_D81, _dg1, _eg1) { _7S(_dg1 < this._P61); _7S(_eg1 < this._P61); for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _xf = this._m81[_u2]; this._if1[_u2]._v2._0T(_xf._T31._v2); this._if1[_u2]._Wg = _xf._T31._Wg; this._jf1[_u2]._8h._0T(_xf._Y31); this._jf1[_u2]._y2 = _xf._Z31 } _071._lg1._bf1 = this._kf1; _071._lg1._fg = this._281; _071._lg1._JR = _D81; _071._lg1._E61 = this._if1; _071._lg1._F61 = this._jf1; _071._mg1._aK(_071._lg1); for (var _u2 = 0; _u2 < _D81._z61; ++_u2) { var _Ag1 = _071._mg1._cg1(_dg1, _eg1); if (_Ag1) { break } } this._m81[_dg1]._T31._PT._0T(this._if1[_dg1]._v2); this._m81[_dg1]._T31._RT = this._if1[_dg1]._Wg; this._m81[_eg1]._T31._PT._0T(this._if1[_eg1]._v2); this._m81[_eg1]._T31._RT = this._if1[_eg1]._Wg; _071._mg1._nf1(); for (var _u2 = 0; _u2 < _D81._y61; ++_u2) { _071._mg1._Mf1() } var _z2 = _D81._v61; for (var _u2 = 0; _u2 < this._P61; ++_u2) { var _v2 = this._if1[_u2]._v2; var _Wg = this._if1[_u2]._Wg; var _8h = this._jf1[_u2]._8h; var _y2 = this._jf1[_u2]._y2; var _Hg1 = _XS._9u(_z2, _8h); if (_XT(_Hg1, _Hg1) > _qS) { var _yg1 = _pS / _Hg1._5T(); _8h._9u(_yg1) } var _E4 = _z2 * _y2; if (_E4 * _E4 > _sS) { var _yg1 = _rS / _lU(_E4); _y2 *= _yg1 } _v2._yn(_XS._9u(_z2, _8h)); _Wg += _z2 * _y2; this._if1[_u2]._Wg = _Wg; this._jf1[_u2]._y2 = _y2; var body = this._m81[_u2]; body._T31._v2._0T(_v2); body._T31._Wg = _Wg; body._Y31._0T(_8h); body._Z31 = _y2; body._A51() } this._Dg1(_071._mg1._ef1) }, _d81: function(body) { _7S(this._P61 < this._B81); body._K31 = this._P61; this._m81[this._P61] = body; if (!this._if1[this._P61]) { this._if1[this._P61] = new _B61(); this._jf1[this._P61] = new _C61() }++this._P61 }, _k81: function(_A41) { _7S(this._281 < this._C81); this._kf1[this._281++] = _A41 }, _l81: function(_D51) { _7S(this._Q61 < this._rg1); this._fg1[this._Q61++] = _D51 }, _Dg1: function(_Ig1) { if (this._qg1 == null) { return } for (var _u2 = 0; _u2 < this._281; ++_u2) { var _v2 = this._kf1[_u2]; var _lf1 = _Ig1[_u2]; var _W41 = new _h61(); _W41._fg = _lf1._oZ; for (var _Bf = 0; _Bf < _lf1._oZ; ++_Bf) { _W41._i61[_Bf] = _lf1._mZ[_Bf]._iZ; _W41._j61[_Bf] = _lf1._mZ[_Bf]._jZ } this._qg1._p61(_v2, _W41) } } }; function _Jg1() { this._Kg1 = new _XS(); this._Lg1 = 0; this._Mg1 = 0 }; function _Ng1() { this._0_ = null; this._D51 = null; this._r71 = null; this._Yn = null }; function _Og1() { this.type = _o71._Pg1; this._cX = null; this._u71 = null; this._v71 = null; this._w71 = !1 }; _Og1.prototype = { _dT: function(data, _A81, _Qg1) { this._u71 = _A81[data['bodyA']]; this._v71 = _A81[data['bodyB']]; this._w71 = data['collideConnected'] } }; function _o71(_j41) { _7S(_j41._u71 != _j41._v71); this._fV = _j41.type; this._W31 = null; this._X31 = null; this._s71 = _j41._u71; this._q71 = _j41._v71; this._Yw = 0; this._E51 = _j41._w71; this._981 = !1; this._a41 = _j41._cX; this._p71 = new _Ng1(); this._p71._D51 = null; this._p71._0_ = null; this._p71._r71 = null; this._p71._Yn = null; this._t71 = new _Ng1(); this._t71._D51 = null; this._t71._0_ = null; this._t71._r71 = null; this._t71._Yn = null } _o71.prototype = { _hV: function() { return this._fV; }, _E81: function() { return this._s71 }, _F81: function() { return this._q71 }, _G81: function() {}, _H81: function() {}, _Rg1: function(_w61) {}, _Sg1: function(_w61) {}, _x51: function() { return this._X31 }, _lX: function() { return this._a41 }, _y51: function(data) { this._a41 = data }, _r51: function() { return this._s71._r51() && this._q71._r51() }, _Tg1: function() { return this._E51 }, _HX: function(_IX) {}, _ug1: function(data) {}, _Mf1: function(data) {}, _6g1: function(data) {}, _bT: function(_cT) { var _Nw = _cT || {}; _Nw['bodyA'] = null; _Nw['bodyB'] = null; _Nw['type'] = this._fV; _Nw['collideConnected'] = this._E51; return _Nw } }; _o71._Ug1 = 0; _o71._Vg1 = 1; _o71._Wg1 = 2; _o71._Xg1 = 3; _o71._Pg1 = 0; _o71._Yg1 = 1; _o71._Zg1 = 2; _o71._I81 = 3; _o71._J81 = 4; _o71._N81 = 5; _o71.__g1 = 6; _o71._0h1 = 7; _o71._1h1 = 8; _o71._2h1 = 9; _o71._3h1 = 10; _o71._O81 = 11; _o71._o41 = function(_j41) { var _D51 = null; switch (_j41.type) { case _o71._I81: _D51 = new _4h1(_j41); break; case _o71._N81: _D51 = new _5h1(_j41); break; case _o71._Zg1: _D51 = new _6h1(_j41); break; case _o71._Yg1: _D51 = new _7h1(_j41); break; case _o71._J81: _D51 = new _8h1(_j41); break; case _o71.__g1: _D51 = new _9h1(_j41); break; case _o71._0h1: _D51 = new _ah1(_j41); break; case _o71._1h1: _D51 = new _bh1(_j41); break; case _o71._2h1: _D51 = new _ch1(_j41); break; case _o71._3h1: _D51 = new _dh1(_j41); break; case _o71._O81: _D51 = new _eh1(_j41); break; default: _7S(!1); break } return _D51 }; _o71._F41 = function(_D51) {}; function _fh1() { this.parent.call(this); this.type = _o71._Yg1; this._gh1 = new _XS(); this._hh1 = new _XS(); this._ih1 = 0.0; this._jh1 = 0.0; this._kh1 = 0.0; this._lh1 = 0.0; this._mh1 = 0.0; this._nh1 = !1; this._oh1 = !1; Object.seal(this); } _fh1.prototype = { _zZ: function(_t81, _u81, anchor) { this._u71 = _t81; this._v71 = _u81; this._gh1 = this._u71._451(anchor); this._hh1 = this._v71._451(anchor); this._ih1 = this._v71._IT() - this._u71._IT() }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._ih1 = data['referenceAngle']; this._jh1 = data['lowerAngle']; this._kh1 = data['upperAngle']; this._lh1 = data['maxMotorTorque']; this._mh1 = data['motorSpeed']; this._nh1 = data['enableLimit']; this._oh1 = data['enableMotor'] } }; _fh1._BR(_Og1); function _7h1(_j41) { this.parent.call(this, _j41); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._rh1 = _j41._ih1; this._sh1 = new _fT(); this._th1 = 0.0; this._uh1 = _j41._jh1; this._vh1 = _j41._kh1; this._wh1 = _j41._lh1; this._xh1 = _j41._mh1; this._yh1 = _j41._nh1; this._zh1 = _j41._oh1; this._Ah1 = _o71._Ug1; this._ae1 = 0; this._be1 = 0; this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._641 = new _uT(); this._Jh1 = 0 } _7h1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _Mh1: function() { return this._rh1 }, _Nh1: function() { var _t81 = this._s71; var _u81 = this._q71; return _u81._T31._Wg - _t81._T31._Wg - this._rh1 }, _Oh1: function() { var _t81 = this._s71; var _u81 = this._q71; return _u81._Z31 - _t81._Z31 }, _Ph1: function() { return this._yh1 }, _Qh1: function(_l51) { if (_l51 != this._yh1) { this._s71._AI(!0); this._q71._AI(!0); this._yh1 = _l51; this._sh1._ei = 0.0 } }, _Rh1: function() { return this._uh1 }, _Sh1: function() { return this._vh1 }, _Th1: function(_xW, _yW) { _7S(_xW <= _yW); if (_xW != this._uh1 || _yW != this._vh1) { this._s71._AI(!0); this._q71._AI(!0); this._sh1._ei = 0.0; this._uh1 = _xW; this._vh1 = _yW } }, _Uh1: function() { return this._zh1 }, _Vh1: function(_l51) { this._s71._AI(!0); this._q71._AI(!0); this._zh1 = _l51 }, _Wh1: function(_Rc) { this._s71._AI(!0); this._q71._AI(!0); this._xh1 = _Rc }, _Xh1: function() { return this._xh1; }, _Yh1: function(_U41) { this._s71._AI(!0); this._q71._AI(!0); this._wh1 = _U41 }, _Zh1: function() { return this._wh1 }, _Rg1: function(_w61) { var _q01 = new _XS(this._sh1._w2, this._sh1._x2); return _XS._9u(_w61, _q01) }, _Sg1: function(_w61) { return _w61 * this._sh1._ei }, __h1: function(_w61) { return _w61 * this._th1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1 = this._s71._T31._OT; this._Eh1 = this._q71._T31._OT; this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1 = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); this._Ch1 = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _F31 = (_w21 + _x21 == 0.0); this._641._0L._w2 = _of1 + _pf1 + this._Bh1._x2 * this._Bh1._x2 * _w21 + this._Ch1._x2 * this._Ch1._x2 * _x21; this._641._kT._w2 = -this._Bh1._x2 * this._Bh1._w2 * _w21 - this._Ch1._x2 * this._Ch1._w2 * _x21; this._641._wT._w2 = -this._Bh1._x2 * _w21 - this._Ch1._x2 * _x21; this._641._0L._x2 = this._641._kT._w2; this._641._kT._x2 = _of1 + _pf1 + this._Bh1._w2 * this._Bh1._w2 * _w21 + this._Ch1._w2 * this._Ch1._w2 * _x21; this._641._wT._x2 = this._Bh1._w2 * _w21 + this._Ch1._w2 * _x21; this._641._0L._ei = this._641._wT._w2; this._641._kT._ei = this._641._wT._x2; this._641._wT._ei = _w21 + _x21; this._Jh1 = _w21 + _x21; if (this._Jh1 > 0.0) { this._Jh1 = 1.0 / this._Jh1 } if (this._zh1 == !1 || _F31) { this._th1 = 0.0 } if (this._yh1 && _F31 == !1) { var _2i1 = _sf1 - _qf1 - this._rh1; if (_lU(this._vh1 - this._uh1) < 2.0 * _iS) { this._Ah1 = _o71._Xg1 } else if (_2i1 <= this._uh1) { if (this._Ah1 != _o71._Vg1) { this._sh1._ei = 0.0 } this._Ah1 = _o71._Vg1 } else if (_2i1 >= this._vh1) { if (this._Ah1 != _o71._Wg1) { this._sh1._ei = 0.0 } this._Ah1 = _o71._Wg1 } else { this._Ah1 = _o71._Ug1; this._sh1._ei = 0.0 } } else { this._Ah1 = _o71._Ug1 } if (data._JR._A61) { this._sh1._9u(data._JR._x61); this._th1 *= data._JR._x61; var _q01 = new _XS(this._sh1._w2, this._sh1._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + this._th1 + this._sh1._ei); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + this._th1 + this._sh1._ei) } else { this._sh1._YS(); this._th1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _F31 = (_w21 + _x21 == 0.0); if (this._zh1 && this._Ah1 != _o71._Xg1 && _F31 == !1) { var _3i1 = _5Y - _4Y - this._xh1; var _W41 = -this._Jh1 * _3i1; var _4i1 = this._th1; var _5i1 = data._JR._v61 * this._wh1; this._th1 = _sU(this._th1 + _W41, -_5i1, _5i1); _W41 = this._th1 - _4i1; _4Y -= _w21 * _W41; _5Y += _x21 * _W41 } if (this._yh1 && this._Ah1 != _o71._Ug1 && _F31 == !1) { var _6i1 = _XS._4T(_XS._4T(_XS._yn(_tf1, __T(_5Y, this._Ch1)), _rf1), __T(_4Y, this._Bh1)); var _7i1 = _5Y - _4Y; var _3i1 = new _fT(_6i1._w2, _6i1._x2, _7i1); var _W41 = this._641._xT(_3i1)._1T(); if (this._Ah1 == _o71._Xg1) { this._sh1._yn(_W41) } else if (this._Ah1 == _o71._Vg1) { var _Sf1 = this._sh1._ei + _W41._ei; if (_Sf1 < 0.0) { var _8i1 = _XS._yn(_6i1._1T(), _XS._9u(this._sh1._ei, new _XS(this._641._wT._w2, this._641._wT._x2))); var _9i1 = this._641._AT(_8i1); _W41._w2 = _9i1._w2; _W41._x2 = _9i1._x2; _W41._ei = -this._sh1._ei; this._sh1._w2 += _9i1._w2; this._sh1._x2 += _9i1._x2; this._sh1._ei = 0.0 } else { this._sh1._yn(_W41) } } else if (this._Ah1 == _o71._Wg1) { var _Sf1 = this._sh1._ei + _W41._ei; if (_Sf1 > 0.0) { var _8i1 = _XS._yn(_6i1._1T(), _XS._9u(this._sh1._ei, new _XS(this._641._wT._w2, this._641._wT._x2))); var _9i1 = this._641._AT(_8i1); _W41._w2 = _9i1._w2; _W41._x2 = _9i1._x2; _W41._ei = -this._sh1._ei; this._sh1._w2 += _9i1._w2; this._sh1._x2 += _9i1._x2; this._sh1._ei = 0.0 } else { this._sh1._yn(_W41) } } var _q01 = new _XS(_W41._w2, _W41._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + _W41._ei); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + _W41._ei) } else { var _3i1 = _XS._4T(_XS._4T(_XS._yn(_tf1, __T(_5Y, this._Ch1)), _rf1), __T(_4Y, this._Bh1)); var _W41 = this._641._AT(_3i1._1T()); this._sh1._w2 += _W41._w2; this._sh1._x2 += _W41._x2; _rf1._4T(_XS._9u(_of1, _W41)); _4Y -= _w21 * _YT(this._Bh1, _W41); _tf1._yn(_XS._9u(_pf1, _W41)); _5Y += _x21 * _YT(this._Ch1, _W41) } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _ai1 = 0.0; var _bi1 = 0.0; var _F31 = (this._Hh1 + this._Ih1 == 0.0); if (this._yh1 && this._Ah1 != _o71._Ug1 && _F31 == !1) { var _Cg = _sf1 - _qf1 - this._rh1; var _ci1 = 0.0; if (this._Ah1 == _o71._Xg1) { var _hU = _sU(_Cg - this._uh1, -_oS, _oS); _ci1 = -this._Jh1 * _hU; _ai1 = _lU(_hU) } else if (this._Ah1 == _o71._Vg1) { var _hU = _Cg - this._uh1; _ai1 = -_hU; _hU = _sU(_hU + _iS, -_oS, 0.0); _ci1 = -this._Jh1 * _hU } else if (this._Ah1 == _o71._Wg1) { var _hU = _Cg - this._vh1; _ai1 = _hU; _hU = _sU(_hU - _iS, 0.0, _oS); _ci1 = -this._Jh1 * _hU } _qf1 -= this._Hh1 * _ci1; _sf1 += this._Ih1 * _ci1 } { _0i1._Tn(_qf1); _1i1._Tn(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _hU = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); _bi1 = _hU._5T(); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _4f1 = new _hT(); _4f1._0L._w2 = _of1 + _pf1 + _w21 * _7Z._x2 * _7Z._x2 + _x21 * _8Z._x2 * _8Z._x2; _4f1._0L._x2 = -_w21 * _7Z._w2 * _7Z._x2 - _x21 * _8Z._w2 * _8Z._x2; _4f1._kT._w2 = _4f1._0L._x2; _4f1._kT._x2 = _of1 + _pf1 + _w21 * _7Z._w2 * _7Z._w2 + _x21 * _8Z._w2 * _8Z._w2; var _W41 = _4f1._pT(_hU)._1T(); _G71._4T(_XS._9u(_of1, _W41)); _qf1 -= _w21 * _YT(_7Z, _W41); _I71._yn(_XS._9u(_pf1, _W41)); _sf1 += _x21 * _YT(_8Z, _W41) } data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _bi1 <= _hS && _ai1 <= _iS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['referenceAngle'] = this._rh1; _Nw['lowerAngle'] = this._uh1; _Nw['upperAngle'] = this._vh1; _Nw['maxMotorTorque'] = this._wh1; _Nw['motorSpeed'] = this._xh1; _Nw['enableLimit'] = this._yh1; _Nw['enableMotor'] = this._zh1; return _Nw } }; _7h1._BR(_o71); function _di1() { this.parent.call(this); this.type = _o71._N81; this.target = new _XS(0.0, 0.0); this._ei1 = 0.0; this._fi1 = 5.0; this._gi1 = 0.7; Object.seal(this) } _di1._BR(_Og1); function _5h1(_j41) { this.parent.call(this, _j41); _7S(_j41.target._9T()); _7S(_NS(_j41._ei1) && _j41._ei1 >= 0.0); _7S(_NS(_j41._fi1) && _j41._fi1 >= 0.0); _7S(_NS(_j41._gi1) && _j41._gi1 >= 0.0); this._hi1 = _j41.target._4e(); this._qh1 = _fU(this._q71._TT(), this._hi1); this._ii1 = _j41._ei1; this._sh1 = new _XS(); this._ji1 = _j41._fi1; this._ki1 = _j41._gi1; this._li1 = 0.0; this._mi1 = 0.0; this._ae1 = 0; this._be1 = 0; this._Ch1 = new _XS(); this._Eh1 = new _XS(); this._Gh1 = 0; this._Ih1 = 0; this._641 = new _hT(); this._ni1 = new _XS() } _5h1.prototype = { _G81: function() { return this._hi1 }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { return _XS._9u(_w61, this._sh1) }, _Sg1: function(_w61) { return _w61 * 0.0 }, _oi1: function(target) { if (this._q71._p51() == !1) { this._q71._AI(!0) } this._hi1._0T(target) }, _pi1: function() { return this._hi1 }, _qi1: function(_Q41) { this._ii1 = _Q41 }, _ri1: function() { return this._ii1 }, _si1: function(_ti1) { this._ji1 = _ti1 }, _ui1: function() { return this._ji1 }, _vi1: function(_yg1) { this._ki1 = _yg1 }, _wi1: function() { return this._ki1 }, _HX: function(_IX) { this._hi1._4T(_IX) }, _ug1: function(data) { this._be1 = this._q71._K31; this._Eh1._0T(this._q71._T31._OT); this._Gh1 = this._q71._741; this._Ih1 = this._q71._941; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _1i1 = new _HT(_sf1); var _cV = this._q71._Y41(); var _xi1 = 2.0 * _cS * this._ji1; var _Bp = 2.0 * _cV * this._ki1 * _xi1; var _dZ = _cV * (_xi1 * _xi1); var _z2 = data._JR._v61; _7S(_Bp + _z2 * _dZ > _bS); this._mi1 = _z2 * (_Bp + _z2 * _dZ); if (this._mi1 != 0.0) { this._mi1 = 1.0 / this._mi1 } this._li1 = _z2 * _dZ * this._mi1; this._Ch1._0T(_bU(_1i1, _XS._4T(this._qh1, this._Eh1))); var _4f1 = new _hT(); _4f1._0L._w2 = this._Gh1 + this._Ih1 * this._Ch1._x2 * this._Ch1._x2 + this._mi1; _4f1._0L._x2 = -this._Ih1 * this._Ch1._w2 * this._Ch1._x2; _4f1._kT._w2 = _4f1._0L._x2; _4f1._kT._x2 = this._Gh1 + this._Ih1 * this._Ch1._w2 * this._Ch1._w2 + this._mi1; this._641._0T(_4f1._mT()); this._ni1._0T(_XS._4T(_XS._yn(_I71, this._Ch1), this._hi1)); this._ni1._9u(this._li1); _5Y *= 0.98; if (data._JR._A61) { this._sh1._9u(data._JR._x61); _tf1._yn(_XS._9u(this._Gh1, this._sh1)); _5Y += this._Ih1 * _YT(this._Ch1, this._sh1) } else { this._sh1._YS() } data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _3i1 = _XS._yn(_tf1, __T(_5Y, this._Ch1)); var _W41 = _0U(this._641, (_XS._yn(_XS._yn(_3i1, this._ni1), _XS._9u(this._mi1, this._sh1)))._1T()); var _4i1 = this._sh1._4e(); this._sh1._yn(_W41); var _5i1 = data._JR._v61 * this._ii1; if (this._sh1._6T() > _5i1 * _5i1) { this._sh1._9u(_5i1 / this._sh1._5T()) } _W41._0T(_XS._4T(this._sh1, _4i1)); _tf1._yn(_XS._9u(this._Gh1, _W41)); _5Y += this._Ih1 * _YT(this._Ch1, _W41); data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { return !0 } }; _5h1._BR(_o71); function _yi1() { this.parent.call(this); this.type = _o71._I81; this._gh1 = new _XS(0.0, 0.0); this._hh1 = new _XS(0.0, 0.0); this.length = 1.0; this._fi1 = 0.0; this._gi1 = 0.0; Object.seal(this) } _yi1.prototype = { _zZ: function(_vy, _wy, _zi1, _Ai1) { this._u71 = _vy; this._v71 = _wy; this._gh1 = this._u71._451(_zi1); this._hh1 = this._v71._451(_Ai1); var _Bp = _XS._4T(_Ai1, _zi1); this.length = _Bp._5T() }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this.length = data['length']; this._fi1 = data['frequencyHz']; this._gi1 = data['dampingRatio'] } }; _yi1._BR(_Og1); function _4h1(_j41) { this.parent.call(this, _j41); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._Bi1 = _j41.length; this._ji1 = _j41._fi1; this._ki1 = _j41._gi1; this._sh1 = 0.0; this._mi1 = 0.0; this._Ci1 = 0.0; this._ae1 = 0; this._be1 = 0; this._Di1 = new _XS(); this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._641 = 0 } _4h1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { var _B21 = _XS._9u((_w61 * this._sh1), this._Di1); return _B21 }, _Sg1: function(_w61) { return 0.0 }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _Ei1: function(length) { this._Bi1 = length }, _Fi1: function() { return this._Bi1 }, _si1: function(_ti1) { this._ji1 = _ti1 }, _ui1: function() { return this._ji1 }, _vi1: function(_yg1) { this._ki1 = _yg1 }, _wi1: function() { return this._ki1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1 = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); this._Ch1 = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); this._Di1 = _XS._4T(_XS._4T(_XS._yn(_I71, this._Ch1), _G71), this._Bh1); var length = this._Di1._5T(); if (length > _hS) { this._Di1._9u(1.0 / length); } else { this._Di1._Tn(0.0, 0.0) } var _Gi1 = _YT(this._Bh1, this._Di1); var _Hi1 = _YT(this._Ch1, this._Di1); var _Ii1 = this._Fh1 + this._Hh1 * _Gi1 * _Gi1 + this._Gh1 + this._Ih1 * _Hi1 * _Hi1; this._641 = _Ii1 != 0.0 ? 1.0 / _Ii1 : 0.0; if (this._ji1 > 0.0) { var _hU = length - this._Bi1; var _xi1 = 2.0 * _cS * this._ji1; var _Bp = 2.0 * this._641 * this._ki1 * _xi1; var _dZ = this._641 * _xi1 * _xi1; var _z2 = data._JR._v61; this._mi1 = _z2 * (_Bp + _z2 * _dZ); this._mi1 = this._mi1 != 0.0 ? 1.0 / this._mi1 : 0.0; this._Ci1 = _hU * _z2 * _dZ * this._mi1; _Ii1 += this._mi1; this._641 = _Ii1 != 0.0 ? 1.0 / _Ii1 : 0.0 } else { this._mi1 = 0.0; this._Ci1 = 0.0 } if (data._JR._A61) { this._sh1 *= data._JR._x61; var _q01 = _XS._9u(this._sh1, this._Di1); _rf1._4T(_XS._9u(this._Fh1, _q01)); _4Y -= this._Hh1 * _YT(this._Bh1, _q01); _tf1._yn(_XS._9u(this._Gh1, _q01)); _5Y += this._Ih1 * _YT(this._Ch1, _q01) } else { this._sh1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _Ji1 = _XS._yn(_rf1, __T(_4Y, this._Bh1)); var _Ki1 = _XS._yn(_tf1, __T(_5Y, this._Ch1)); var _3i1 = _XT(this._Di1, _XS._4T(_Ki1, _Ji1)); var _W41 = -this._641 * (_3i1 + this._Ci1 + this._mi1 * this._sh1); this._sh1 += _W41; var _q01 = _XS._9u(_W41, this._Di1); _rf1._4T(_XS._9u(this._Fh1, _q01)); _4Y -= this._Hh1 * _YT(this._Bh1, _q01); _tf1._yn(_XS._9u(this._Gh1, _q01)); _5Y += this._Ih1 * _YT(this._Ch1, _q01); data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y; }, _6g1: function(data) { if (this._ji1 > 0.0) { return !0 } var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _6h = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); var length = _6h._7T(); var _hU = length - this._Bi1; _hU = _sU(_hU, -_nS, _nS); var _W41 = -this._641 * _hU; var _q01 = _XS._9u(_W41, _6h); _G71._4T(_XS._9u(this._Fh1, _q01)); _qf1 -= this._Hh1 * _YT(_7Z, _q01); _I71._yn(_XS._9u(this._Gh1, _q01)); _sf1 += this._Ih1 * _YT(_8Z, _q01); data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _lU(_hU) < _hS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['length'] = this._Bi1; _Nw['frequencyHz'] = this._ji1; _Nw['dampingRatio'] = this._ki1; return _Nw } }; _4h1._BR(_o71); function _Li1() { this.parent.call(this); this.type = _o71._Zg1; this._gh1 = new _XS(); this._hh1 = new _XS(); this._Mi1 = new _XS(1.0, 0.0); this._ih1 = 0.0; this._nh1 = !1; this._Ni1 = 0.0; this._Oi1 = 0.0; this._oh1 = !1; this._Pi1 = 0.0; this._mh1 = 0.0; Object.seal(this) } _Li1.prototype = { _zZ: function(_t81, _u81, anchor, _PU) { this._u71 = _t81; this._v71 = _u81; this._gh1 = this._u71._451(anchor); this._hh1 = this._v71._451(anchor); this._Mi1 = this._u71._651(_PU); this._ih1 = this._v71._IT() - this._u71._IT() }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._Mi1._dT(data['localAxisA']); this._ih1 = data['referenceAngle']; this._nh1 = data['enableLimit']; this._Ni1 = data['lowerTranslation']; this._Oi1 = data['upperTranslation']; this._oh1 = data['enableMotor']; this._Pi1 = data['maxMotorForce']; this._mh1 = data['motorSpeed'] } }; _Li1._BR(_Og1); function _6h1(_j41) { this.parent.call(this, _j41); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._Qi1 = _j41._Mi1._4e(); this._Qi1._7T(); this._Ri1 = __T(1.0, this._Qi1); this._rh1 = _j41._ih1; this._sh1 = new _fT(); this._Jh1 = 0.0; this._th1 = 0.0; this._Si1 = _j41._Ni1; this._Ti1 = _j41._Oi1; this._Ui1 = _j41._Pi1; this._xh1 = _j41._mh1; this._yh1 = _j41._nh1; this._zh1 = _j41._oh1; this._Ah1 = _o71._Ug1; this._X21 = new _XS(); this._Vi1 = new _XS(); this._ae1 = 0; this._be1 = 0; this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._Wi1 = 0, this._Xi1 = 0; this._Yi1 = 0, this._Zi1 = 0; this.__i1 = new _uT(); this._Jh1 = 0 } _6h1.prototype = { _G81: function() { return this._s71._151(this._ph1); }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { return _XS._9u(_w61, _XS._yn(_XS._9u(this._sh1._w2, this._Vi1), _XS._9u((this._th1 + this._sh1._ei), this._X21))) }, _Sg1: function(_w61) { return _w61 * this._sh1._x2 }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _0j1: function() { return this._Qi1 }, _Mh1: function() { return this._rh1 }, _1j1: function() { var _lY = this._s71._151(this._ph1); var _mY = this._q71._151(this._qh1); var _Bp = _XS._4T(_mY, _lY); var _PU = this._s71._251(this._Qi1); var _Hg1 = _XT(_Bp, _PU); return _Hg1 }, _Oh1: function() { var _t81 = this._s71; var _u81 = this._q71; var _7Z = _bU(_t81._M01._rz, _XS._4T(this._ph1, _t81._T31._OT)); var _8Z = _bU(_u81._M01._rz, _XS._4T(this._qh1, _u81._T31._OT)); var _RU = _XS._yn(_t81._T31._v2, _7Z); var _SU = _XS._yn(_u81._T31._v2, _8Z); var _Bp = _XS._4T(_SU, _RU); var _PU = _bU(_t81._M01._rz, this._Qi1); var _rf1 = _t81._Y31; var _tf1 = _u81._Y31; var _4Y = _t81._Z31; var _5Y = _u81._Z31; var _Rc = _XT(_Bp, __T(_4Y, _PU)) + _XT(_PU, _XS._4T(_XS._4T(_XS._yn(_tf1, __T(_5Y, _8Z)), _rf1), __T(_4Y, _7Z))); return _Rc }, _Ph1: function() { return this._yh1 }, _Qh1: function(_l51) { if (_l51 != this._yh1) { this._s71._AI(!0); this._q71._AI(!0); this._yh1 = _l51; this._sh1._ei = 0.0 } }, _Rh1: function() { return this._Si1 }, _Sh1: function() { return this._Ti1 }, _Th1: function(_xW, _yW) { _7S(_xW <= _yW); if (_xW != this._Si1 || _yW != this._Ti1) { this._s71._AI(!0); this._q71._AI(!0); this._Si1 = _xW; this._Ti1 = _yW; this._sh1._ei = 0.0 } }, _Uh1: function() { return this._zh1 }, _Vh1: function(_l51) { this._s71._AI(!0); this._q71._AI(!0); this._zh1 = _l51 }, _Wh1: function(_Rc) { this._s71._AI(!0); this._q71._AI(!0); this._xh1 = _Rc }, _Xh1: function() { return this._xh1 }, _2j1: function(_Q41) { this._s71._AI(!0); this._q71._AI(!0); this._Ui1 = _Q41 }, _3j1: function() { return this._Ui1 }, _4j1: function(_w61) { return _w61 * this._th1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1 = this._s71._T31._OT; this._Eh1 = this._q71._T31._OT; this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _Bp = _XS._yn(_XS._4T(_I71, _G71), _XS._4T(_8Z, _7Z)); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; { this._X21 = _bU(_0i1, this._Qi1); this._Yi1 = _YT(_XS._yn(_Bp, _7Z), this._X21); this._Zi1 = _YT(_8Z, this._X21); this._Jh1 = _of1 + _pf1 + _w21 * this._Yi1 * this._Yi1 + _x21 * this._Zi1 * this._Zi1; if (this._Jh1 > 0.0) { this._Jh1 = 1.0 / this._Jh1 } } { this._Vi1 = _bU(_0i1, this._Ri1); this._Wi1 = _YT(_XS._yn(_Bp, _7Z), this._Vi1); this._Xi1 = _YT(_8Z, this._Vi1); var _Hf1 = _of1 + _pf1 + _w21 * this._Wi1 * this._Wi1 + _x21 * this._Xi1 * this._Xi1; var _Jf1 = _w21 * this._Wi1 + _x21 * this._Xi1; var _5j1 = _w21 * this._Wi1 * this._Yi1 + _x21 * this._Xi1 * this._Zi1; var _If1 = _w21 + _x21; if (_If1 == 0.0) { _If1 = 1.0 } var _6j1 = _w21 * this._Yi1 + _x21 * this._Zi1; var _7j1 = _of1 + _pf1 + _w21 * this._Yi1 * this._Yi1 + _x21 * this._Zi1 * this._Zi1; this.__i1._0L._Tn(_Hf1, _Jf1, _5j1); this.__i1._kT._Tn(_Jf1, _If1, _6j1); this.__i1._wT._Tn(_5j1, _6j1, _7j1) } if (this._yh1) { var _8j1 = _XT(this._X21, _Bp); if (_lU(this._Ti1 - this._Si1) < 2.0 * _hS) { this._Ah1 = _o71._Xg1 } else if (_8j1 <= this._Si1) { if (this._Ah1 != _o71._Vg1) { this._Ah1 = _o71._Vg1; this._sh1._ei = 0.0 } } else if (_8j1 >= this._Ti1) { if (this._Ah1 != _o71._Wg1) { this._Ah1 = _o71._Wg1; this._sh1._ei = 0.0 } } else { this._Ah1 = _o71._Ug1; this._sh1._ei = 0.0 } } else { this._Ah1 = _o71._Ug1; this._sh1._ei = 0.0 } if (this._zh1 == !1) { this._th1 = 0.0; } if (data._JR._A61) { this._sh1._9u(data._JR._x61); this._th1 *= data._JR._x61; var _q01 = _XS._yn(_XS._9u(this._sh1._w2, this._Vi1), _XS._9u((this._th1 + this._sh1._ei), this._X21)); var _9j1 = this._sh1._w2 * this._Wi1 + this._sh1._x2 + (this._th1 + this._sh1._ei) * this._Yi1; var _aj1 = this._sh1._w2 * this._Xi1 + this._sh1._x2 + (this._th1 + this._sh1._ei) * this._Zi1; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } else { this._sh1._YS(); this._th1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; if (this._zh1 && this._Ah1 != _o71._Xg1) { var _3i1 = _XT(this._X21, _XS._4T(_tf1, _rf1)) + this._Zi1 * _5Y - this._Yi1 * _4Y; var _W41 = this._Jh1 * (this._xh1 - _3i1); var _4i1 = this._th1; var _5i1 = data._JR._v61 * this._Ui1; this._th1 = _sU(this._th1 + _W41, -_5i1, _5i1); _W41 = this._th1 - _4i1; var _q01 = _XS._9u(_W41, this._X21); var _9j1 = _W41 * this._Yi1; var _aj1 = _W41 * this._Zi1; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } var _6i1 = new _XS(); _6i1._w2 = _XT(this._Vi1, _XS._4T(_tf1, _rf1)) + this._Xi1 * _5Y - this._Wi1 * _4Y; _6i1._x2 = _5Y - _4Y; if (this._yh1 && this._Ah1 != _o71._Ug1) { var _7i1; _7i1 = _XT(this._X21, _XS._4T(_tf1, _rf1)) + this._Zi1 * _5Y - this._Yi1 * _4Y; var _3i1 = new _fT(_6i1._w2, _6i1._x2, _7i1); var _bj1 = this._sh1._4e(); var _cj1 = this.__i1._xT(_3i1._1T()); this._sh1._yn(_cj1); if (this._Ah1 == _o71._Vg1) { this._sh1._ei = _qU(this._sh1._ei, 0.0) } else if (this._Ah1 == _o71._Wg1) { this._sh1._ei = _oU(this._sh1._ei, 0.0) } var _xf = _XS._4T(_6i1._1T(), _XS._9u((this._sh1._ei - _bj1._ei), new _XS(this.__i1._wT._w2, this.__i1._wT._x2))); var _dj1 = _XS._yn(this.__i1._AT(_xf), new _XS(_bj1._w2, _bj1._x2)); this._sh1._w2 = _dj1._w2; this._sh1._x2 = _dj1._x2; _cj1 = _fT._4T(this._sh1, _bj1); var _q01 = _XS._yn(_XS._9u(_cj1._w2, this._Vi1), _XS._9u(_cj1._ei, this._X21)); var _9j1 = _cj1._w2 * this._Wi1 + _cj1._x2 + _cj1._ei * this._Yi1; var _aj1 = _cj1._w2 * this._Xi1 + _cj1._x2 + _cj1._ei * this._Zi1; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } else { var _cj1 = this.__i1._AT(_6i1._1T()); this._sh1._w2 += _cj1._w2; this._sh1._x2 += _cj1._x2; var _q01 = _XS._9u(_cj1._w2, this._Vi1); var _9j1 = _cj1._w2 * this._Wi1 + _cj1._x2; var _aj1 = _cj1._w2 * this._Xi1 + _cj1._x2; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _Bp = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); var _PU = _bU(_0i1, this._Qi1); var _xN = _YT(_XS._yn(_Bp, _7Z), _PU); var _yN = _YT(_8Z, _PU); var _ej1 = _bU(_0i1, this._Ri1); var _Au = _YT(_XS._yn(_Bp, _7Z), _ej1); var _Bu = _YT(_8Z, _ej1); var _W41 = new _fT(); var _fj1 = new _XS(); _fj1._w2 = _XT(_ej1, _Bp); _fj1._x2 = _sf1 - _qf1 - this._rh1; var _gj1 = _lU(_fj1._w2); var _ai1 = _lU(_fj1._x2); var _lE = !1; var _hj1 = 0.0; if (this._yh1) { var _Hg1 = _XT(_PU, _Bp); if (_lU(this._Ti1 - this._Si1) < 2.0 * _hS) { _hj1 = _sU(_Hg1, -_nS, _nS); _gj1 = _qU(_gj1, _lU(_Hg1)); _lE = !0 } else if (_Hg1 <= this._Si1) { _hj1 = _sU(_Hg1 - this._Si1 + _hS, -_nS, 0.0); _gj1 = _qU(_gj1, this._Si1 - _Hg1); _lE = !0 } else if (_Hg1 >= this._Ti1) { _hj1 = _sU(_Hg1 - this._Ti1 - _hS, 0.0, _nS); _gj1 = _qU(_gj1, _Hg1 - this._Ti1); _lE = !0 } } if (_lE) { var _Hf1 = _of1 + _pf1 + _w21 * _Au * _Au + _x21 * _Bu * _Bu; var _Jf1 = _w21 * _Au + _x21 * _Bu; var _5j1 = _w21 * _Au * _xN + _x21 * _Bu * _yN; var _If1 = _w21 + _x21; if (_If1 == 0.0) { _If1 = 1.0 } var _6j1 = _w21 * _xN + _x21 * _yN; var _7j1 = _of1 + _pf1 + _w21 * _xN * _xN + _x21 * _yN * _yN; var _4f1 = new _uT(); _4f1._0L._Tn(_Hf1, _Jf1, _5j1); _4f1._kT._Tn(_Jf1, _If1, _6j1); _4f1._wT._Tn(_5j1, _6j1, _7j1); var _hU = new _fT(); _hU._w2 = _fj1._w2; _hU._x2 = _fj1._x2; _hU._ei = _hj1; _W41 = _4f1._xT(_hU._1T()) } else { var _Hf1 = _of1 + _pf1 + _w21 * _Au * _Au + _x21 * _Bu * _Bu; var _Jf1 = _w21 * _Au + _x21 * _Bu; var _If1 = _w21 + _x21; if (_If1 == 0.0) { _If1 = 1.0 } var _4f1 = new _hT(); _4f1._0L._Tn(_Hf1, _Jf1); _4f1._kT._Tn(_Jf1, _If1); var _ij1 = _4f1._pT(_fj1._1T()); _W41._w2 = _ij1._w2; _W41._x2 = _ij1._x2; _W41._ei = 0.0 } var _q01 = _XS._yn(_XS._9u(_W41._w2, _ej1), _XS._9u(_W41._ei, _PU)); var _9j1 = _W41._w2 * _Au + _W41._x2 + _W41._ei * _xN; var _aj1 = _W41._w2 * _Bu + _W41._x2 + _W41._ei * _yN; _G71._4T(_XS._9u(_of1, _q01)); _qf1 -= _w21 * _9j1; _I71._yn(_XS._9u(_pf1, _q01)); _sf1 += _x21 * _aj1; data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _gj1 <= _hS && _ai1 <= _iS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['localAxisA'] = this._Qi1._bT(); _Nw['referenceAngle'] = this._rh1; _Nw['enableLimit'] = this._yh1; _Nw['lowerTranslation'] = this._Si1; _Nw['upperTranslation'] = this._Ti1; _Nw['enableMotor'] = this._zh1; _Nw['maxMotorForce'] = this._Ui1; _Nw['motorSpeed'] = this._xh1; return _Nw } }; _6h1._BR(_o71); function _jj1() { this.parent.call(this); this.type = _o71._2h1; this._gh1 = new _XS(); this._hh1 = new _XS(); this._ei1 = 0.0; this._kj1 = 0.0; Object.seal(this) } _jj1.prototype = { _zZ: function(_t81, _u81, anchor) { this._u71 = _t81; this._v71 = _u81; this._gh1._0T(this._u71._451(anchor)); this._hh1._0T(this._v71._451(anchor)) }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._ei1 = data['maxForce']; this._kj1 = data['maxTorque'] } }; _jj1._BR(_Og1); function _ch1(_j41) { this.parent.call(this, _j41); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._lj1 = new _XS(); this._mj1 = 0.0; this._ii1 = _j41._ei1; this._nj1 = _j41._kj1; this._ae1 = 0; this._be1 = 0; this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._oj1 = new _hT(); this._pj1 = 0 } _ch1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { return _XS._9u(_w61, this._lj1) }, _Sg1: function(_w61) { return _w61 * this._mj1 }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _qi1: function(_Q41) { _7S(_NS(_Q41) && _Q41 >= 0.0); this._ii1 = _Q41 }, _ri1: function() { return this._ii1 }, _qj1: function(_U41) { _7S(_NS(_U41) && _U41 >= 0.0); this._nj1 = _U41 }, _rj1: function() { return this._nj1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1 = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); this._Ch1 = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _4f1 = new _hT(); _4f1._0L._w2 = _of1 + _pf1 + _w21 * this._Bh1._x2 * this._Bh1._x2 + _x21 * this._Ch1._x2 * this._Ch1._x2; _4f1._0L._x2 = -_w21 * this._Bh1._w2 * this._Bh1._x2 - _x21 * this._Ch1._w2 * this._Ch1._x2; _4f1._kT._w2 = _4f1._0L._x2; _4f1._kT._x2 = _of1 + _pf1 + _w21 * this._Bh1._w2 * this._Bh1._w2 + _x21 * this._Ch1._w2 * this._Ch1._w2; this._oj1 = _4f1._mT(); this._pj1 = _w21 + _x21; if (this._pj1 > 0.0) { this._pj1 = 1.0 / this._pj1 } if (data._JR._A61) { this._lj1._9u(data._JR._x61); this._mj1 *= data._JR._x61; var _q01 = new _XS(this._lj1._w2, this._lj1._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + this._mj1); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + this._mj1) } else { this._lj1._YS(); this._mj1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _z2 = data._JR._v61; { var _3i1 = _5Y - _4Y; var _W41 = -this._pj1 * _3i1; var _4i1 = this._mj1; var _5i1 = _z2 * this._nj1; this._mj1 = _sU(this._mj1 + _W41, -_5i1, _5i1); _W41 = this._mj1 - _4i1; _4Y -= _w21 * _W41; _5Y += _x21 * _W41 } { var _3i1 = _XS._yn(_tf1, _XS._4T(__T(_5Y, this._Ch1), _XS._4T(_rf1, __T(_4Y, this._Bh1)))); var _W41 = _0U(this._oj1, _3i1)._1T(); var _4i1 = this._lj1._4e(); this._lj1._yn(_W41); var _5i1 = _z2 * this._ii1; if (this._lj1._6T() > _5i1 * _5i1) { this._lj1._7T(); this._lj1._9u(_5i1) } _W41 = _XS._4T(this._lj1, _4i1); _rf1._4T(_XS._9u(_of1, _W41)); _4Y -= _w21 * _YT(this._Bh1, _W41); _tf1._yn(_XS._9u(_pf1, _W41)); _5Y += _x21 * _YT(this._Ch1, _W41) } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { return !0 }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['maxForce'] = this._ii1; _Nw['maxTorque'] = this._nj1; return _Nw } }; _ch1._BR(_o71); function _sj1() { this.parent.call(this); this.type = _o71._1h1; this._gh1 = new _XS(0.0, 0.0); this._hh1 = new _XS(0.0, 0.0); this._ih1 = 0.0; this._fi1 = 0.0; this._gi1 = 0.0; Object.seal(this) } _sj1.prototype = { _zZ: function(_t81, _u81, anchor) { this._u71 = _t81; this._v71 = _u81; this._gh1._0T(this._u71._451(anchor)); this._hh1._0T(this._v71._451(anchor)); this._ih1 = this._v71._IT() - this._u71._IT(); }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._ih1 = data['referenceAngle']; this._fi1 = data['frequencyHz']; this._gi1 = data['dampingRatio'] } }; _sj1._BR(_Og1); function _bh1(_j41) { this.parent.call(this, _j41); this._Ci1 = 0; this._mi1 = 0; this._ae1 = 0; this._be1 = 0; this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._641 = new _uT(); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._rh1 = _j41._ih1; this._ji1 = _j41._fi1; this._ki1 = _j41._gi1; this._sh1 = new _fT() } _bh1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { var _q01 = new _XS(this._sh1._w2, this._sh1._x2); return _XS._9u(_w61, _q01) }, _Sg1: function(_w61) { return _w61 * this._sh1._ei }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _Mh1: function() { return this._rh1 }, _si1: function(_ti1) { this._ji1 = _ti1 }, _ui1: function() { return this._ji1 }, _vi1: function(_yg1) { this._ki1 = _yg1 }, _wi1: function() { return this._ki1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1._0T(_bU(_0i1, _XS._4T(this._ph1, this._Dh1))); this._Ch1._0T(_bU(_1i1, _XS._4T(this._qh1, this._Eh1))); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _4f1 = new _uT(); _4f1._0L._w2 = _of1 + _pf1 + this._Bh1._x2 * this._Bh1._x2 * _w21 + this._Ch1._x2 * this._Ch1._x2 * _x21; _4f1._kT._w2 = -this._Bh1._x2 * this._Bh1._w2 * _w21 - this._Ch1._x2 * this._Ch1._w2 * _x21; _4f1._wT._w2 = -this._Bh1._x2 * _w21 - this._Ch1._x2 * _x21; _4f1._0L._x2 = _4f1._kT._w2; _4f1._kT._x2 = _of1 + _pf1 + this._Bh1._w2 * this._Bh1._w2 * _w21 + this._Ch1._w2 * this._Ch1._w2 * _x21; _4f1._wT._x2 = this._Bh1._w2 * _w21 + this._Ch1._w2 * _x21; _4f1._0L._ei = _4f1._wT._w2; _4f1._kT._ei = _4f1._wT._x2; _4f1._wT._ei = _w21 + _x21; if (this._ji1 > 0.0) { _4f1._BT(this._641); var _tj1 = _w21 + _x21; var _gf = _tj1 > 0.0 ? 1.0 / _tj1 : 0.0; var _hU = _sf1 - _qf1 - this._rh1; var _xi1 = 2.0 * _cS * this._ji1; var _Bp = 2.0 * _gf * this._ki1 * _xi1; var _dZ = _gf * _xi1 * _xi1; var _z2 = data._JR._v61; this._mi1 = _z2 * (_Bp + _z2 * _dZ); this._mi1 = this._mi1 != 0.0 ? 1.0 / this._mi1 : 0.0; this._Ci1 = _hU * _z2 * _dZ * this._mi1; _tj1 += this._mi1; this._641._wT._ei = _tj1 != 0.0 ? 1.0 / _tj1 : 0.0 } else { _4f1._DT(this._641); this._mi1 = 0.0; this._Ci1 = 0.0 } if (data._JR._A61) { this._sh1._9u(data._JR._x61); var _q01 = new _XS(this._sh1._w2, this._sh1._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + this._sh1._ei); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + this._sh1._ei) } else { this._sh1._YS() } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; if (this._ji1 > 0.0) { var _7i1 = _5Y - _4Y; var _uj1 = -this._641._wT._ei * (_7i1 + this._Ci1 + this._mi1 * this._sh1._ei); this._sh1._ei += _uj1; _4Y -= _w21 * _uj1; _5Y += _x21 * _uj1; var _6i1 = _XS._4T(_XS._4T(_XS._yn(_tf1, __T(_5Y, this._Ch1)), _rf1), __T(_4Y, this._Bh1)); var _ij1 = _7U(this._641, _6i1)._1T(); this._sh1._w2 += _ij1._w2; this._sh1._x2 += _ij1._x2; var _q01 = _ij1._4e(); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _YT(this._Bh1, _q01); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _YT(this._Ch1, _q01) } else { var _6i1 = _XS._4T(_XS._4T(_XS._yn(_tf1, __T(_5Y, this._Ch1)), _rf1), __T(_4Y, this._Bh1)); var _7i1 = _5Y - _4Y; var _3i1 = new _fT(_6i1._w2, _6i1._x2, _7i1); var _W41 = _6U(this._641, _3i1)._1T(); this._sh1._yn(_W41); var _q01 = new _XS(_W41._w2, _W41._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + _W41._ei); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + _W41._ei) } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y; }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _bi1, _ai1; var _4f1 = new _uT(); _4f1._0L._w2 = _of1 + _pf1 + _7Z._x2 * _7Z._x2 * _w21 + _8Z._x2 * _8Z._x2 * _x21; _4f1._kT._w2 = -_7Z._x2 * _7Z._w2 * _w21 - _8Z._x2 * _8Z._w2 * _x21; _4f1._wT._w2 = -_7Z._x2 * _w21 - _8Z._x2 * _x21; _4f1._0L._x2 = _4f1._kT._w2; _4f1._kT._x2 = _of1 + _pf1 + _7Z._w2 * _7Z._w2 * _w21 + _8Z._w2 * _8Z._w2 * _x21; _4f1._wT._x2 = _7Z._w2 * _w21 + _8Z._w2 * _x21; _4f1._0L._ei = _4f1._wT._w2; _4f1._kT._ei = _4f1._wT._x2; _4f1._wT._ei = _w21 + _x21; if (this._ji1 > 0.0) { var _fj1 = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); _bi1 = _fj1._5T(); _ai1 = 0.0; var _q01 = _4f1._AT(_fj1)._1T(); _G71._4T(_XS._9u(_of1, _q01)); _qf1 -= _w21 * _YT(_7Z, _q01); _I71._yn(_XS._9u(_pf1, _q01)); _sf1 += _x21 * _YT(_8Z, _q01) } else { var _fj1 = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); var _hj1 = _sf1 - _qf1 - this._rh1; _bi1 = _fj1._5T(); _ai1 = _lU(_hj1); var _hU = new _fT(_fj1._w2, _fj1._x2, _hj1); var _W41 = _4f1._xT(_hU)._1T(); var _q01 = new _XS(_W41._w2, _W41._x2); _G71._4T(_XS._9u(_of1, _q01)); _qf1 -= _w21 * (_YT(_7Z, _q01) + _W41._ei); _I71._yn(_XS._9u(_pf1, _q01)); _sf1 += _x21 * (_YT(_8Z, _q01) + _W41._ei) } data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _bi1 <= _hS && _ai1 <= _iS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['referenceAngle'] = this._rh1; _Nw['frequencyHz'] = this._ji1; _Nw['dampingRatio'] = this._ki1; return _Nw } }; _bh1._BR(_o71); function _vj1() { this.parent.call(this); this.type = _o71._0h1; this._gh1 = new _XS(); this._hh1 = new _XS(); this._Mi1 = new _XS(1.0, 0.0); this._oh1 = !1; this._lh1 = 0.0; this._mh1 = 0.0; this._fi1 = 2.0; this._gi1 = 0.7; Object.seal(this) } _vj1.prototype = { _zZ: function(_t81, _u81, anchor, _PU) { this._u71 = _t81; this._v71 = _u81; this._gh1._0T(this._u71._451(anchor)); this._hh1._0T(this._v71._451(anchor)); this._Mi1._0T(this._u71._651(_PU)); }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._Mi1._dT(data['localAxisA']); this._oh1 = data['enableMotor']; this._lh1 = data['maxMotorTorque']; this._mh1 = data['motorSpeed']; this._fi1 = data['frequencyHz']; this._gi1 = data['dampingRatio'] } }; _vj1._BR(_Og1); function _ah1(_j41) { this.parent.call(this, _j41); this._ae1 = 0; this._be1 = 0; this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._Qi1 = _j41._Mi1._4e(); this._Ri1 = __T(1.0, this._Qi1); this._641 = 0.0; this._sh1 = 0.0; this._Jh1 = 0.0; this._th1 = 0.0; this._wj1 = 0.0; this._xj1 = 0.0; this._wh1 = _j41._lh1; this._xh1 = _j41._mh1; this._zh1 = _j41._oh1; this._ji1 = _j41._fi1; this._ki1 = _j41._gi1; this._Ci1 = 0.0; this._mi1 = 0.0; this._yj1 = new _XS(); this._zj1 = new _XS(); this._Aj1 = this._Bj1 = 0; this._Cj1 = this._Dj1 = 0 } _ah1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1); }, _Rg1: function(_w61) { return _XS._9u(_w61, _XS._yn(_XS._9u(this._sh1, this._zj1), _XS._9u(this._xj1, this._yj1))) }, _Sg1: function(_w61) { return _w61 * this._th1 }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _0j1: function() { return this._Qi1 }, _1j1: function() { var _t81 = this._s71; var _u81 = this._q71; var _lY = _t81._151(this._ph1); var _mY = _u81._151(this._qh1); var _Bp = _XS._4T(_mY, _lY); var _PU = _t81._251(this._Qi1); var _Hg1 = _XT(_Bp, _PU); return _Hg1 }, _Oh1: function() { var _4Y = this._s71._Z31; var _5Y = this._q71._Z31; return _5Y - _4Y }, _Uh1: function() { return this._zh1 }, _Vh1: function(_l51) { this._s71._AI(!0); this._q71._AI(!0); this._zh1 = _l51 }, _Wh1: function(_Rc) { this._s71._AI(!0); this._q71._AI(!0); this._xh1 = _Rc }, _Xh1: function() { return this._xh1 }, _Yh1: function(_U41) { this._s71._AI(!0); this._q71._AI(!0); this._wh1 = _U41 }, _Zh1: function() { return this._wh1 }, __h1: function(_w61) { return _w61 * this._th1 }, _Ej1: function(_ti1) { this._ji1 = _ti1 }, _Fj1: function() { return this._ji1 }, _Gj1: function(_yg1) { this._ki1 = _yg1 }, _Hj1: function() { return this._ki1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _Bp = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); { this._zj1._0T(_bU(_0i1, this._Ri1)); this._Cj1 = _YT(_XS._yn(_Bp, _7Z), this._zj1); this._Dj1 = _YT(_8Z, this._zj1); this._641 = _of1 + _pf1 + _w21 * this._Cj1 * this._Cj1 + _x21 * this._Dj1 * this._Dj1; if (this._641 > 0.0) { this._641 = 1.0 / this._641; } } this._wj1 = 0.0; this._Ci1 = 0.0; this._mi1 = 0.0; if (this._ji1 > 0.0) { this._yj1._0T(_bU(_0i1, this._Qi1)); this._Aj1 = _YT(_XS._yn(_Bp, _7Z), this._yj1); this._Bj1 = _YT(_8Z, this._yj1); var _Ii1 = _of1 + _pf1 + _w21 * this._Aj1 * this._Aj1 + _x21 * this._Bj1 * this._Bj1; if (_Ii1 > 0.0) { this._wj1 = 1.0 / _Ii1; var _hU = _XT(_Bp, this._yj1); var _xi1 = 2.0 * _cS * this._ji1; var _Bp = 2.0 * this._wj1 * this._ki1 * _xi1; var _dZ = this._wj1 * _xi1 * _xi1; var _z2 = data._JR._v61; this._mi1 = _z2 * (_Bp + _z2 * _dZ); if (this._mi1 > 0.0) { this._mi1 = 1.0 / this._mi1 } this._Ci1 = _hU * _z2 * _dZ * this._mi1; this._wj1 = _Ii1 + this._mi1; if (this._wj1 > 0.0) { this._wj1 = 1.0 / this._wj1 } } } else { this._xj1 = 0.0 } if (this._zh1) { this._Jh1 = _w21 + _x21; if (this._Jh1 > 0.0) { this._Jh1 = 1.0 / this._Jh1 } } else { this._Jh1 = 0.0; this._th1 = 0.0 } if (data._JR._A61) { this._sh1 *= data._JR._x61; this._xj1 *= data._JR._x61; this._th1 *= data._JR._x61; var _q01 = _XS._yn(_XS._9u(this._sh1, this._zj1), _XS._9u(this._xj1, this._yj1)); var _9j1 = this._sh1 * this._Cj1 + this._xj1 * this._Aj1 + this._th1; var _aj1 = this._sh1 * this._Dj1 + this._xj1 * this._Bj1 + this._th1; _rf1._4T(_XS._9u(this._Fh1, _q01)); _4Y -= this._Hh1 * _9j1; _tf1._yn(_XS._9u(this._Gh1, _q01)); _5Y += this._Ih1 * _aj1 } else { this._sh1 = 0.0; this._xj1 = 0.0; this._th1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; { var _3i1 = _XT(this._yj1, _XS._4T(_tf1, _rf1)) + this._Bj1 * _5Y - this._Aj1 * _4Y; var _W41 = -this._wj1 * (_3i1 + this._Ci1 + this._mi1 * this._xj1); this._xj1 += _W41; var _q01 = _XS._9u(_W41, this._yj1); var _9j1 = _W41 * this._Aj1; var _aj1 = _W41 * this._Bj1; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } { var _3i1 = _5Y - _4Y - this._xh1; var _W41 = -this._Jh1 * _3i1; var _4i1 = this._th1; var _5i1 = data._JR._v61 * this._wh1; this._th1 = _sU(this._th1 + _W41, -_5i1, _5i1); _W41 = this._th1 - _4i1; _4Y -= _w21 * _W41; _5Y += _x21 * _W41 } { var _3i1 = _XT(this._zj1, _XS._4T(_tf1, _rf1)) + this._Dj1 * _5Y - this._Cj1 * _4Y; var _W41 = -this._641 * _3i1; this._sh1 += _W41; var _q01 = _XS._9u(_W41, this._zj1); var _9j1 = _W41 * this._Cj1; var _aj1 = _W41 * this._Dj1; _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * _9j1; _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * _aj1 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _Bp = _XS._yn(_XS._4T(_I71, _G71), _XS._4T(_8Z, _7Z)); var _6a1 = _bU(_0i1, this._Ri1); var _Ij1 = _YT(_XS._yn(_Bp, _7Z), _6a1); var _Jj1 = _YT(_8Z, _6a1); var _hU = _XT(_Bp, _6a1); var _dZ = this._Fh1 + this._Gh1 + this._Hh1 * this._Cj1 * this._Cj1 + this._Ih1 * this._Dj1 * this._Dj1; var _W41; if (_dZ != 0.0) { _W41 = -_hU / _dZ } else { _W41 = 0.0 } var _q01 = _XS._9u(_W41, _6a1); var _9j1 = _W41 * _Ij1; var _aj1 = _W41 * _Jj1; _G71._4T(_XS._9u(this._Fh1, _q01)); _qf1 -= this._Hh1 * _9j1; _I71._yn(_XS._9u(this._Gh1, _q01)); _sf1 += this._Ih1 * _aj1; data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _lU(_hU) <= _hS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['localAxisA'] = this._Kj1._bT(); _Nw['enableMotor'] = this._zh1; _Nw['maxMotorTorque'] = this._wh1; _Nw['motorSpeed'] = this._xh1; _Nw['frequencyHz'] = this._ji1; _Nw['dampingRatio'] = this._ki1; return _Nw } }; _ah1._BR(_o71); function _Lj1() { this.parent.call(this); this.type = _o71.__g1; this._Mj1 = null; this._Nj1 = null; this._yg1 = 1.0; Object.seal(this) } _Lj1.prototype = { _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._Mj1 = data['joint1']; this._Nj1 = data['joint2']; this._yg1 = data['ratio'] } }; _Lj1._BR(_Og1); function _9h1(_j41) { this.parent.call(this, _j41); this._Oj1 = _j41._Mj1; this._Pj1 = _j41._Nj1; this._Qj1 = this._Oj1._hV(); this._Rj1 = this._Pj1._hV(); _7S(this._Qj1 == _o71._Yg1 || this._Qj1 == _o71._Zg1); _7S(this._Rj1 == _o71._Yg1 || this._Rj1 == _o71._Zg1); var _Sj1, _Tj1; this._Uj1 = this._Oj1._E81(); this._s71 = this._Oj1._F81(); var _AZ = this._s71._M01; var _qf1 = this._s71._T31._Wg; var _Vj1 = this._Uj1._M01; var _Wj1 = this._Uj1._T31._Wg; this._ph1 = new _XS(); this._qh1 = new _XS(); this._Xj1 = new _XS(); this._Yj1 = new _XS(); this._Zj1 = new _XS(); this.__j1 = new _XS(); if (this._Qj1 == _o71._Yg1) { var _0k1 = _j41._Mj1; this._Xj1._0T(_0k1._ph1); this._ph1._0T(_0k1._qh1); this._1k1 = _0k1._rh1; this._Zj1._YS(); _Sj1 = _qf1 - _Wj1 - this._1k1 } else { var _2k1 = _j41._Mj1; this._Xj1._0T(_2k1._ph1); this._ph1._0T(_2k1._qh1); this._1k1 = _2k1._rh1; this._Zj1._0T(_2k1._Qi1); var _3k1 = this._Xj1; var _lY = _cU(_Vj1._rz, _XS._yn(_bU(_AZ._rz, this._ph1), _XS._4T(_AZ._yA, _Vj1._yA))); _Sj1 = _XT(_XS._4T(_lY, _3k1), this._Zj1) } this._4k1 = this._Pj1._E81(); this._q71 = this._Pj1._F81(); var _CZ = this._q71._M01; var _sf1 = this._q71._T31._Wg; var _5k1 = this._4k1._M01; var _6k1 = this._4k1._T31._Wg; if (this._Rj1 == _o71._Yg1) { var _0k1 = _j41._Nj1; this._Yj1._0T(_0k1._ph1); this._qh1._0T(_0k1._qh1); this._7k1 = _0k1._rh1; this.__j1._YS(); _Tj1 = _sf1 - _6k1 - this._7k1 } else { var _2k1 = _j41._Nj1; this._Yj1._0T(_2k1._ph1); this._qh1._0T(_2k1._qh1); this._7k1 = _2k1._rh1; this.__j1._0T(_2k1._Qi1); var _8k1 = this._Yj1; var _mY = _cU(_5k1._rz, _XS._yn(_bU(_CZ._rz, this._qh1), _XS._4T(_CZ._yA, _5k1._yA))); _Tj1 = _XT(_XS._4T(_mY, _8k1), this.__j1) } this._9k1 = _j41._yg1; this._ak1 = _Sj1 + this._9k1 * _Tj1; this._sh1 = 0.0; this._ae1 = this._be1 = this._bk1 = this._ck1 = 0; this._dk1 = new _XS(); this._ek1 = new _XS(); this._fk1 = new _XS(); this._gk1 = new _XS(); this._hk1 = this._ik1 = this._jk1 = this._kk1 = 0; this._lk1 = this._mk1 = this._nk1 = this._ok1 = 0; this._pk1 = new _XS(), this._qk1 = new _XS(); this._rk1 = this._sk1 = this._tk1 = this._uk1 = 0; this._641 = 0 } _9h1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { var _q01 = _XS._9u(this._sh1, this._pk1); return _XS._9u(_w61, _q01) }, _Sg1: function(_w61) { var _vk1 = this._sh1 * this._rk1; return _w61 * _vk1 }, _wk1: function() { return this._Oj1 }, _xk1: function() { return this._Pj1 }, _yk1: function(_yg1) { _7S(_NS(_yg1)); this._9k1 = _yg1 }, _zk1: function() { return this._9k1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._bk1 = this._Uj1._K31; this._ck1 = this._4k1._K31; this._dk1._0T(this._s71._T31._OT); this._ek1._0T(this._q71._T31._OT); this._fk1._0T(this._Uj1._T31._OT); this._gk1._0T(this._4k1._T31._OT); this._hk1 = this._s71._741; this._ik1 = this._q71._741; this._jk1 = this._Uj1._741; this._kk1 = this._4k1._741; this._lk1 = this._s71._941; this._mk1 = this._q71._941; this._nk1 = this._Uj1._941; this._ok1 = this._4k1._941; var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _Wj1 = data._E61[this._bk1]._Wg; var _Ak1 = data._F61[this._bk1]._8h._4e(); var _Bk1 = data._F61[this._bk1]._y2; var _6k1 = data._E61[this._ck1]._Wg; var _Ck1 = data._F61[this._ck1]._8h._4e(); var _Dk1 = data._F61[this._ck1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1), _Ek1 = new _HT(_Wj1), _Fk1 = new _HT(_6k1); this._641 = 0.0; if (this._Qj1 == _o71._Yg1) { this._pk1._YS(); this._rk1 = 1.0; this._tk1 = 1.0; this._641 += this._lk1 + this._nk1 } else { var _6h = _bU(_Ek1, this._Zj1); var _Gk1 = _bU(_Ek1, _XS._4T(this._Xj1, this._fk1)); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._dk1)); this._pk1._0T(_6h); this._tk1 = _YT(_Gk1, _6h); this._rk1 = _YT(_7Z, _6h); this._641 += this._jk1 + this._hk1 + this._nk1 * this._tk1 * this._tk1 + this._lk1 * this._rk1 * this._rk1 } if (this._Rj1 == _o71._Yg1) { this._qk1._YS(); this._sk1 = this._9k1; this._uk1 = this._9k1; this._641 += this._9k1 * this._9k1 * (this._mk1 + this._ok1) } else { var _6h = _bU(_Fk1, this.__j1); var _Hk1 = _bU(_Fk1, _XS._4T(this._Yj1, this._gk1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._ek1)); this._qk1._0T(_XS._9u(this._9k1, _6h)); this._uk1 = this._9k1 * _YT(_Hk1, _6h); this._sk1 = this._9k1 * _YT(_8Z, _6h); this._641 += this._9k1 * this._9k1 * (this._kk1 + this._ik1) + this._ok1 * this._uk1 * this._uk1 + this._mk1 * this._sk1 * this._sk1 } this._641 = this._641 > 0.0 ? 1.0 / this._641 : 0.0; if (data._JR._A61) { _rf1._yn(_XS._9u((this._hk1 * this._sh1), this._pk1)); _4Y += this._lk1 * this._sh1 * this._rk1; _tf1._yn(_XS._9u((this._ik1 * this._sh1), this._qk1)); _5Y += this._mk1 * this._sh1 * this._sk1; _Ak1._4T(_XS._9u((this._jk1 * this._sh1), this._pk1)); _Bk1 -= this._nk1 * this._sh1 * this._tk1; _Ck1._4T(_XS._9u((this._kk1 * this._sh1), this._qk1)); _Dk1 -= this._ok1 * this._sh1 * this._uk1 } else { this._sh1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y; data._F61[this._bk1]._8h._0T(_Ak1); data._F61[this._bk1]._y2 = _Bk1; data._F61[this._ck1]._8h._0T(_Ck1); data._F61[this._ck1]._y2 = _Dk1 }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _Ak1 = data._F61[this._bk1]._8h._4e(); var _Bk1 = data._F61[this._bk1]._y2; var _Ck1 = data._F61[this._ck1]._8h._4e(); var _Dk1 = data._F61[this._ck1]._y2; var _3i1 = _XT(this._pk1, _XS._4T(_rf1, _Ak1)) + _XT(this._qk1, _XS._4T(_tf1, _Ck1)); _3i1 += (this._rk1 * _4Y - this._tk1 * _Bk1) + (this._sk1 * _5Y - this._uk1 * _Dk1); var _W41 = -this._641 * _3i1; this._sh1 += _W41; _rf1._yn(_XS._9u((this._hk1 * _W41), this._pk1)); _4Y += this._lk1 * _W41 * this._rk1; _tf1._yn(_XS._9u((this._ik1 * _W41), this._qk1)); _5Y += this._mk1 * _W41 * this._sk1; _Ak1._4T(_XS._9u((this._jk1 * _W41), this._pk1)); _Bk1 -= this._nk1 * _W41 * this._tk1; _Ck1._4T(_XS._9u((this._kk1 * _W41), this._qk1)); _Dk1 -= this._ok1 * _W41 * this._uk1; data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y; data._F61[this._bk1]._8h._0T(_Ak1); data._F61[this._bk1]._y2 = _Bk1; data._F61[this._ck1]._8h._0T(_Ck1); data._F61[this._ck1]._y2 = _Dk1; }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _Ik1 = data._E61[this._bk1]._v2._4e(); var _Wj1 = data._E61[this._bk1]._Wg; var _Jk1 = data._E61[this._ck1]._v2._4e(); var _6k1 = data._E61[this._ck1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1), _Ek1 = new _HT(_Wj1), _Fk1 = new _HT(_6k1); var _gj1 = 0.0; var _Sj1, _Tj1; var _Kk1 = new _XS(), _Lk1 = new _XS(); var _Mk1, _Nk1, _Ok1, _Pk1; var _cV = 0.0; if (this._Qj1 == _o71._Yg1) { _Kk1._YS(); _Mk1 = 1.0; _Ok1 = 1.0; _cV += this._lk1 + this._nk1; _Sj1 = _qf1 - _Wj1 - this._1k1 } else { var _6h = _bU(_Ek1, this._Zj1); var _Gk1 = _bU(_Ek1, _XS._4T(this._Xj1, this._fk1)); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._dk1)); _Kk1._0T(_6h); _Ok1 = _YT(_Gk1, _6h); _Mk1 = _YT(_7Z, _6h); _cV += this._jk1 + this._hk1 + this._nk1 * _Ok1 * _Ok1 + this._lk1 * _Mk1 * _Mk1; var _3k1 = _XS._4T(this._Xj1, this._fk1); var _lY = _cU(_Ek1, _XS._yn(_7Z, _XS._4T(_G71, _Ik1))); _Sj1 = _XT(_XS._4T(_lY, _3k1), this._Zj1) } if (this._Rj1 == _o71._Yg1) { _Lk1._YS(); _Nk1 = this._9k1; _Pk1 = this._9k1; _cV += this._9k1 * this._9k1 * (this._mk1 + this._ok1); _Tj1 = _sf1 - _6k1 - this._7k1 } else { var _6h = _bU(_Fk1, this.__j1); var _Hk1 = _bU(_Fk1, _XS._4T(this._Yj1, this._gk1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._ek1)); _Lk1._0T(_XS._9u(this._9k1, _6h)); _Pk1 = this._9k1 * _YT(_Hk1, _6h); _Nk1 = this._9k1 * _YT(_8Z, _6h); _cV += this._9k1 * this._9k1 * (this._kk1 + this._ik1) + this._ok1 * _Pk1 * _Pk1 + this._mk1 * _Nk1 * _Nk1; var _8k1 = _XS._4T(this._Yj1, this._gk1); var _mY = _cU(_Fk1, _XS._yn(_8Z, _XS._4T(_I71, _Jk1))); _Tj1 = _XT(_XS._4T(_mY, _8k1), this.__j1) } var _hU = (_Sj1 + this._9k1 * _Tj1) - this._ak1; var _W41 = 0.0; if (_cV > 0.0) { _W41 = -_hU / _cV } _G71._yn(_XS._9u(this._hk1, _XS._9u(_W41, _Kk1))); _qf1 += this._lk1 * _W41 * _Mk1; _I71._yn(_XS._9u(this._ik1, _XS._9u(_W41, _Lk1))); _sf1 += this._mk1 * _W41 * _Nk1; _Ik1._4T(_XS._9u(this._jk1, _XS._9u(_W41, _Kk1))); _Wj1 -= this._nk1 * _W41 * _Ok1; _Jk1._4T(_XS._9u(this._kk1, _XS._9u(_W41, _Lk1))); _6k1 -= this._ok1 * _W41 * _Pk1; data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; data._E61[this._bk1]._v2._0T(_Ik1); data._E61[this._bk1]._Wg = _Wj1; data._E61[this._ck1]._v2._0T(_Jk1); data._E61[this._ck1]._Wg = _6k1; return _gj1 < _hS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['joint1'] = this._Oj1._Qk1; _Nw['joint2'] = this._Pj1._Qk1; _Nw['ratio'] = this._9k1; return _Nw } }; _9h1._BR(_o71); function _Rk1() { this.parent.call(this); this.type = _o71._O81; this._Sk1 = new _XS(); this._Tk1 = 0.0; this._ei1 = 1.0; this._kj1 = 1.0; this._Uk1 = 0.3; Object.seal(this) } _Rk1.prototype = { _zZ: function(_t81, _u81) { this._u71 = _t81; this._v71 = _u81; var _Vk1 = this._v71._2I(); this._Sk1._0T(this._u71._451(_Vk1)); var _Wk1 = this._u71._IT(); var _Xk1 = this._v71._IT(); this._Tk1 = _Xk1 - _Wk1 }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._Sk1._dT(data['linearOffset']); this._Tk1 = data['angularOffset']; this._ei1 = data['maxForce']; this._kj1 = data['maxTorque']; this._Uk1 = data['correctionFactor'] } }; _Rk1._BR(_Og1); function _eh1(_j41) { this.parent.call(this, _j41); this._Yk1 = _j41._Sk1._4e(); this._Zk1 = _j41._Tk1; this._lj1 = new _XS(); this._mj1 = 0.0; this._ii1 = _j41._ei1; this._nj1 = _j41._kj1; this.__k1 = _j41._Uk1; this._ae1 = 0; this._be1 = 0; this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._0l1 = new _XS(); this._1l1 = 0; this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._oj1 = new _hT(); this._pj1 = 0 } _eh1.prototype = { _G81: function() { return this._s71._2I() }, _H81: function() { return this._q71._2I() }, _Rg1: function(_w61) { return _XS._9u(_w61, this._lj1) }, _Sg1: function(_w61) { return _w61 * this._mj1 }, _2l1: function(_Sk1) { if (_Sk1._w2 != this._Yk1._w2 || _Sk1._x2 != this._Yk1._x2) { this._s71._AI(!0); this._q71._AI(!0); this._Yk1._0T(_Sk1) } }, _Q81: function() { return this._Yk1 }, _3l1: function(_Tk1) { if (_Tk1 != this._Zk1) { this._s71._AI(!0); this._q71._AI(!0); this._Zk1 = _Tk1 } }, _4l1: function() { return this._Zk1 }, _qi1: function(_Q41) { _7S(_NS(_Q41) && _Q41 >= 0.0); this._ii1 = _Q41 }, _ri1: function() { return this._ii1 }, _qj1: function(_U41) { _7S(_NS(_U41) && _U41 >= 0.0); this._nj1 = _U41 }, _rj1: function() { return this._nj1 }, _5l1: function(_6l1) { _7S(_NS(_6l1) && 0.0 <= _6l1 && _6l1 <= 1.0); this.__k1 = _6l1 }, _7l1: function() { return this.__k1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1._0T(_bU(_0i1, this._Dh1._1T())); this._Ch1._0T(_bU(_1i1, this._Eh1._1T())); var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _4f1 = new _hT(); _4f1._0L._w2 = _of1 + _pf1 + _w21 * this._Bh1._x2 * this._Bh1._x2 + _x21 * this._Ch1._x2 * this._Ch1._x2; _4f1._0L._x2 = -_w21 * this._Bh1._w2 * this._Bh1._x2 - _x21 * this._Ch1._w2 * this._Ch1._x2; _4f1._kT._w2 = _4f1._0L._x2; _4f1._kT._x2 = _of1 + _pf1 + _w21 * this._Bh1._w2 * this._Bh1._w2 + _x21 * this._Ch1._w2 * this._Ch1._w2; this._oj1._0T(_4f1._mT()); this._pj1 = _w21 + _x21; if (this._pj1 > 0.0) { this._pj1 = 1.0 / this._pj1 } this._0l1._w2 = _I71._w2 + this._Ch1._w2 - _G71._w2 - this._Bh1._w2 - (_0i1._v2 * this._Yk1._w2 - _0i1._ov * this._Yk1._x2); this._0l1._x2 = _I71._x2 + this._Ch1._x2 - _G71._x2 - this._Bh1._x2 - (_0i1._ov * this._Yk1._w2 + _0i1._v2 * this._Yk1._x2); this._1l1 = _sf1 - _qf1 - this._Zk1; if (data._JR._A61) { this._lj1._9u(data._JR._x61); this._mj1 *= data._JR._x61; var _q01 = new _XS(this._lj1._w2, this._lj1._x2); _rf1._4T(_XS._9u(_of1, _q01)); _4Y -= _w21 * (_YT(this._Bh1, _q01) + this._mj1); _tf1._yn(_XS._9u(_pf1, _q01)); _5Y += _x21 * (_YT(this._Ch1, _q01) + this._mj1) } else { this._lj1._YS(); this._mj1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _of1 = this._Fh1, _pf1 = this._Gh1; var _w21 = this._Hh1, _x21 = this._Ih1; var _z2 = data._JR._v61; var _8l1 = data._JR._w61; { var _3i1 = _5Y - _4Y + _8l1 * this.__k1 * this._1l1; var _W41 = -this._pj1 * _3i1; var _4i1 = this._mj1; var _5i1 = _z2 * this._nj1; this._mj1 = _sU(this._mj1 + _W41, -_5i1, _5i1); _W41 = this._mj1 - _4i1; _4Y -= _w21 * _W41; _5Y += _x21 * _W41 } { var _3i1 = new _XS(_tf1._w2 + (-_5Y * this._Ch1._w2) - _rf1._w2 - (-_4Y * this._Bh1._w2) + _8l1 * this.__k1 * this._0l1._w2, _tf1._x2 + (_5Y * this._Ch1._x2) - _rf1._x2 - (_4Y * this._Bh1._x2) + _8l1 * this.__k1 * this._0l1._x2); var _W41 = _0U(this._oj1, _3i1)._1T(); var _4i1 = this._lj1._4e(); this._lj1._yn(_W41); var _5i1 = _z2 * this._ii1; if (this._lj1._6T() > _5i1 * _5i1) { this._lj1._7T(); this._lj1._9u(_5i1) } _W41._0T(_XS._4T(this._lj1, _4i1)); _rf1._4T(_XS._9u(_of1, _W41)); _4Y -= _w21 * _YT(this._Bh1, _W41); _tf1._yn(_XS._9u(_pf1, _W41)); _5Y += _x21 * _YT(this._Ch1, _W41) } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { return !0 }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['linearOffset'] = this._Yk1._bT(); _Nw['angularOffset'] = this._Zk1; _Nw['maxForce'] = this._ii1; _Nw['maxTorque'] = this._nj1; _Nw['correctionFactor'] = this.__k1; return _Nw } }; _eh1._BR(_o71); var _9l1 = 2.0; function _al1() { this.parent.call(this); this.type = _o71._J81; this._bl1 = new _XS(-1.0, 1.0); this._cl1 = new _XS(1.0, 1.0); this._gh1 = new _XS(-1.0, 0.0); this._hh1 = new _XS(1.0, 0.0); this._dl1 = 0.0; this._el1 = 0.0; this._yg1 = 1.0; this._w71 = !0; Object.seal(this) } _al1.prototype = { _zZ: function(_t81, _u81, _fl1, _gl1, _hl1, _il1, _uf) { this._u71 = _t81; this._v71 = _u81; this._bl1._0T(_fl1); this._cl1._0T(_gl1); this._gh1._0T(this._u71._451(_hl1)); this._hh1._0T(this._v71._451(_il1)); var _jl1 = _XS._4T(_hl1, _fl1); this._dl1 = _jl1._5T(); var _kl1 = _XS._4T(_il1, _gl1); this._el1 = _kl1._5T(); this._yg1 = _uf; _7S(this._yg1 > _bS) }, _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._bl1._dT(data['groundAnchorA']); this._cl1._dT(data['groundAnchorB']); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._dl1 = data['lengthA']; this._el1 = data['lengthB']; this._yg1 = data['ratio'] } }; _al1._BR(_Og1); function _8h1(_j41) { this.parent.call(this, _j41); this._ae1 = 0; this._be1 = 0; this._ll1 = new _XS(); this._ml1 = new _XS(); this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0; this._641 = 0; this._nl1 = _j41._bl1._4e(); this._ol1 = _j41._cl1._4e(); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._pl1 = _j41._dl1; this._ql1 = _j41._el1; _7S(_j41._yg1 != 0.0); this._9k1 = _j41._yg1; this._ak1 = _j41._dl1 + this._9k1 * _j41._el1; this._sh1 = 0.0 } _8h1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1); }, _Rg1: function(_w61) { var _q01 = _XS._9u(this._sh1, this._ml1); return _XS._9u(_w61, _q01) }, _Sg1: function(_w61) { return 0.0 }, _L81: function() { return this._nl1 }, _M81: function() { return this._ol1 }, _rl1: function() { return this._pl1 }, _sl1: function() { return this._ql1 }, _zk1: function() { return this._9k1 }, _tl1: function() { var _yA = this._s71._151(this._ph1); var _ov = this._nl1; var _Bp = _XS._4T(_yA, _ov); return _Bp._5T() }, _ul1: function() { var _yA = this._q71._151(this._qh1); var _ov = this._ol1; var _Bp = _XS._4T(_yA, _ov); return _Bp._5T(); }, _HX: function(_IX) { this._nl1._4T(_IX); this._ol1._4T(_IX) }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1._0T(_bU(_0i1, _XS._4T(this._ph1, this._Dh1))); this._Ch1._0T(_bU(_1i1, _XS._4T(this._qh1, this._Eh1))); this._ll1._0T(_XS._yn(_G71, _XS._4T(this._Bh1, this._nl1))); this._ml1._0T(_XS._yn(_I71, _XS._4T(this._Ch1, this._ol1))); var _dl1 = this._ll1._5T(); var _el1 = this._ml1._5T(); if (_dl1 > 10.0 * _hS) { this._ll1._9u(1.0 / _dl1) } else { this._ll1._YS() } if (_el1 > 10.0 * _hS) { this._ml1._9u(1.0 / _el1) } else { this._ml1._YS(); } var _vl1 = _YT(this._Bh1, this._ll1); var _wl1 = _YT(this._Ch1, this._ml1); var _of1 = this._Fh1 + this._Hh1 * _vl1 * _vl1; var _pf1 = this._Gh1 + this._Ih1 * _wl1 * _wl1; this._641 = _of1 + this._9k1 * this._9k1 * _pf1; if (this._641 > 0.0) { this._641 = 1.0 / this._641 } if (data._JR._A61) { this._sh1 *= data._JR._x61; var _xl1 = _XS._9u(-(this._sh1), this._ll1); var _yl1 = _XS._9u((-this._9k1 * this._sh1), this._ml1); _rf1._yn(_XS._9u(this._Fh1, _xl1)); _4Y += this._Hh1 * _YT(this._Bh1, _xl1); _tf1._yn(_XS._9u(this._Gh1, _yl1)); _5Y += this._Ih1 * _YT(this._Ch1, _yl1) } else { this._sh1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _Ji1 = _XS._yn(_rf1, __T(_4Y, this._Bh1)); var _Ki1 = _XS._yn(_tf1, __T(_5Y, this._Ch1)); var _3i1 = -_XT(this._ll1, _Ji1) - this._9k1 * _XT(this._ml1, _Ki1); var _W41 = -this._641 * _3i1; this._sh1 += _W41; var _xl1 = _XS._9u(-_W41, this._ll1); var _yl1 = _XS._9u(-this._9k1, _XS._9u(_W41, this._ml1)); _rf1._yn(_XS._9u(this._Fh1, _xl1)); _4Y += this._Hh1 * _YT(this._Bh1, _xl1); _tf1._yn(_XS._9u(this._Gh1, _yl1)); _5Y += this._Ih1 * _YT(this._Ch1, _yl1); data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _zl1 = _XS._yn(_G71, _XS._4T(_7Z, this._nl1)); var _Al1 = _XS._yn(_I71, _XS._4T(_8Z, this._ol1)); var _dl1 = _zl1._5T(); var _el1 = _Al1._5T(); if (_dl1 > 10.0 * _hS) { _zl1._9u(1.0 / _dl1) } else { _zl1._YS() } if (_el1 > 10.0 * _hS) { _Al1._9u(1.0 / _el1) } else { _Al1._YS() } var _vl1 = _YT(_7Z, _zl1); var _wl1 = _YT(_8Z, _Al1); var _of1 = this._Fh1 + this._Hh1 * _vl1 * _vl1; var _pf1 = this._Gh1 + this._Ih1 * _wl1 * _wl1; var _cV = _of1 + this._9k1 * this._9k1 * _pf1; if (_cV > 0.0) { _cV = 1.0 / _cV } var _hU = this._ak1 - _dl1 - this._9k1 * _el1; var _gj1 = _lU(_hU); var _W41 = -_cV * _hU; var _xl1 = _XS._9u(-_W41, _zl1); var _yl1 = _XS._9u(-this._9k1, _XS._9u(_W41, _Al1)); _G71._yn(_XS._9u(this._Fh1, _xl1)); _qf1 += this._Hh1 * _YT(_7Z, _xl1); _I71._yn(_XS._9u(this._Gh1, _yl1)); _sf1 += this._Ih1 * _YT(_8Z, _yl1); data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return _gj1 < _hS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['groundAnchorA'] = this._nl1._bT(); _Nw['groundAnchorB'] = this._ol1._bT(); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['lengthA'] = this._pl1; _Nw['lengthB'] = this._ql1; _Nw['ratio'] = this._9k1; return _Nw } }; _8h1._BR(_o71); function _Bl1() { this.parent.call(this); this.type = _o71._3h1; this._gh1 = new _XS(-1.0, 0.0); this._hh1 = new _XS(1.0, 0.0); this._Cl1 = 0.0; Object.seal(this) } _Bl1.prototype = { _dT: function(data, _A81, _Qg1) { this.parent.prototype._dT.call(this, data, _A81, _Qg1); this._gh1._dT(data['localAnchorA']); this._hh1._dT(data['localAnchorB']); this._Cl1 = data['maxLength'] } }; _Bl1._BR(_Og1); function _dh1(_j41) { this.parent.call(this, _j41); this._ph1 = _j41._gh1._4e(); this._qh1 = _j41._hh1._4e(); this._Dl1 = _j41._Cl1; this._641 = 0.0; this._sh1 = 0.0; this._El1 = _o71._Ug1; this._Bi1 = 0.0; this._ae1 = 0; this._be1 = 0; this._Di1 = new _XS(); this._Bh1 = new _XS(); this._Ch1 = new _XS(); this._Dh1 = new _XS(); this._Eh1 = new _XS(); this._Fh1 = 0; this._Gh1 = 0; this._Hh1 = 0; this._Ih1 = 0 } _dh1.prototype = { _G81: function() { return this._s71._151(this._ph1) }, _H81: function() { return this._q71._151(this._qh1) }, _Rg1: function(_w61) { var _B21 = _XS._9u((_w61 * this._sh1), this._Di1); return _B21 }, _Sg1: function(_w61) { return 0.0 }, _Kh1: function() { return this._ph1 }, _Lh1: function() { return this._qh1 }, _Fl1: function(length) { this._Dl1 = length }, _Gl1: function() { return this._Dl1 }, _Hl1: function() { return this._El1 }, _ug1: function(data) { this._ae1 = this._s71._K31; this._be1 = this._q71._K31; this._Dh1._0T(this._s71._T31._OT); this._Eh1._0T(this._q71._T31._OT); this._Fh1 = this._s71._741; this._Gh1 = this._q71._741; this._Hh1 = this._s71._941; this._Ih1 = this._q71._941; var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); this._Bh1._0T(_bU(_0i1, _XS._4T(this._ph1, this._Dh1))); this._Ch1._0T(_bU(_1i1, _XS._4T(this._qh1, this._Eh1))); this._Di1._0T(_XS._4T(_XS._4T(_XS._yn(_I71, this._Ch1), _G71), this._Bh1)); this._Bi1 = this._Di1._5T(); var _hU = this._Bi1 - this._Dl1; if (_hU > 0.0) { this._El1 = _o71._Wg1 } else { this._El1 = _o71._Ug1 } if (this._Bi1 > _hS) { this._Di1._9u(1.0 / this._Bi1) } else { this._Di1._YS(); this._641 = 0.0; this._sh1 = 0.0; return } var _Il1 = _YT(this._Bh1, this._Di1); var _Jl1 = _YT(this._Ch1, this._Di1); var _Ii1 = this._Fh1 + this._Hh1 * _Il1 * _Il1 + this._Gh1 + this._Ih1 * _Jl1 * _Jl1; this._641 = _Ii1 != 0.0 ? 1.0 / _Ii1 : 0.0; if (data._JR._A61) { this._sh1 *= data._JR._x61; var _q01 = _XS._9u(this._sh1, this._Di1); _rf1._4T(_XS._9u(this._Fh1, _q01)); _4Y -= this._Hh1 * _YT(this._Bh1, _q01); _tf1._yn(_XS._9u(this._Gh1, _q01)); _5Y += this._Ih1 * _YT(this._Ch1, _q01) } else { this._sh1 = 0.0 } data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _Mf1: function(data) { var _rf1 = data._F61[this._ae1]._8h._4e(); var _4Y = data._F61[this._ae1]._y2; var _tf1 = data._F61[this._be1]._8h._4e(); var _5Y = data._F61[this._be1]._y2; var _Ji1 = _XS._yn(_rf1, __T(_4Y, this._Bh1)); var _Ki1 = _XS._yn(_tf1, __T(_5Y, this._Ch1)); var _hU = this._Bi1 - this._Dl1; var _3i1 = _XT(this._Di1, _XS._4T(_Ki1, _Ji1)); if (_hU < 0.0) { _3i1 += data._JR._w61 * _hU } var _W41 = -this._641 * _3i1; var _4i1 = this._sh1; this._sh1 = _oU(0.0, this._sh1 + _W41); _W41 = this._sh1 - _4i1; var _q01 = _XS._9u(_W41, this._Di1); _rf1._4T(_XS._9u(this._Fh1, _q01)); _4Y -= this._Hh1 * _YT(this._Bh1, _q01); _tf1._yn(_XS._9u(this._Gh1, _q01)); _5Y += this._Ih1 * _YT(this._Ch1, _q01); data._F61[this._ae1]._8h._0T(_rf1); data._F61[this._ae1]._y2 = _4Y; data._F61[this._be1]._8h._0T(_tf1); data._F61[this._be1]._y2 = _5Y }, _6g1: function(data) { var _G71 = data._E61[this._ae1]._v2._4e(); var _qf1 = data._E61[this._ae1]._Wg; var _I71 = data._E61[this._be1]._v2._4e(); var _sf1 = data._E61[this._be1]._Wg; var _0i1 = new _HT(_qf1), _1i1 = new _HT(_sf1); var _7Z = _bU(_0i1, _XS._4T(this._ph1, this._Dh1)); var _8Z = _bU(_1i1, _XS._4T(this._qh1, this._Eh1)); var _6h = _XS._4T(_XS._4T(_XS._yn(_I71, _8Z), _G71), _7Z); var length = _6h._7T(); var _hU = length - this._Dl1; _hU = _sU(_hU, 0.0, _nS); var _W41 = -this._641 * _hU; var _q01 = _XS._9u(_W41, _6h); _G71._4T(_XS._9u(this._Fh1, _q01)); _qf1 -= this._Hh1 * _YT(_7Z, _q01); _I71._yn(_XS._9u(this._Gh1, _q01)); _sf1 += this._Ih1 * _YT(_8Z, _q01); data._E61[this._ae1]._v2._0T(_G71); data._E61[this._ae1]._Wg = _qf1; data._E61[this._be1]._v2._0T(_I71); data._E61[this._be1]._Wg = _sf1; return length - this._Dl1 < _hS }, _bT: function(_cT) { var _Nw = _cT || {}; this.parent.prototype._bT.call(this, _Nw); _Nw['localAnchorA'] = this._ph1._bT(); _Nw['localAnchorB'] = this._qh1._bT(); _Nw['maxLength'] = this._Dl1; return _Nw } }; _dh1._BR(_o71); var _Kl1 = Math.exp; function _Ll1() { this._2h = null; this._fg = 0; this._Ml1 = null; this._sb = new _XS(); this._Z81 = 0.1; this._Nl1 = 0.9; this._Ol1 = 0.1 } function _Pl1() { this._1W = 0; this._Ql1 = null; this._Rl1 = null; this._Sl1 = null; this._Tl1 = null; this._Ul1 = null; this._Vl1 = null; this._Wl1 = 0; this._W61 = new _XS(); this._Xl1 = 1.0; this._Yl1 = 0.1 } _Pl1.prototype = { _zZ: function(_j41) { _7S(_j41._fg >= 3); this._1W = _j41._fg; this._Ql1 = new Array(this._1W); this._Rl1 = new Array(this._1W); this._Sl1 = new Array(this._1W); this._Tl1 = new Array(this._1W); for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._Ql1[_u2] = _j41._2h[_u2]._4e(); this._Rl1[_u2] = _j41._2h[_u2]._4e(); this._Sl1[_u2] = new _XS(); var _gf = _j41._Ml1[_u2]; if (_gf > 0.0) { this._Tl1[_u2] = 1.0 / _gf; } else { this._Tl1[_u2] = 0.0 } } var _C_ = this._1W - 1; var _Zl1 = this._1W - 2; this._Ul1 = new Array(_C_); this._Vl1 = new Array(_Zl1); for (var _u2 = 0; _u2 < _C_; ++_u2) { var _RU = this._Ql1[_u2]; var _SU = this._Ql1[_u2 + 1]; this._Ul1[_u2] = _2U(_RU, _SU) } for (var _u2 = 0; _u2 < _Zl1; ++_u2) { var _RU = this._Ql1[_u2]; var _SU = this._Ql1[_u2 + 1]; var _WW = this._Ql1[_u2 + 2]; var _LV = _XS._4T(_SU, _RU); var _Bc1 = _XS._4T(_WW, _SU); var _Wg = _YT(_LV, _Bc1); var _xf = _XT(_LV, _Bc1); this._Vl1[_u2] = _VS(_Wg, _xf) } this._W61 = _j41._sb._4e(); this._Wl1 = _j41._Z81; this._Xl1 = _j41._Nl1; this._Yl1 = _j41._Ol1 }, _x71: function(_z2, _2Y) { if (_z2 == 0.0) { return } var _Bp = _Kl1(-_z2 * this._Wl1); for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._Rl1[_u2]._0T(this._Ql1[_u2]); if (this._Tl1[_u2] > 0.0) { this._Sl1[_u2]._yn(_XS._9u(_z2, this._W61)) } this._Sl1[_u2]._9u(_Bp); this._Ql1[_u2]._yn(_XS._9u(_z2, this._Sl1[_u2])) } for (var _u2 = 0; _u2 < _2Y; ++_u2) { this.__l1(); this._0m1(); this.__l1() } var _8l1 = 1.0 / _z2; for (var _u2 = 0; _u2 < this._1W; ++_u2) { this._Sl1[_u2] = _XS._9u(_8l1, _XS._4T(this._Ql1[_u2], this._Rl1[_u2])) } }, _JV: function() { return this._1W }, _1m1: function() { return this._Ql1 }, _Ig: function(_2m1) { var _v2 = new _AU(0.4, 0.5, 0.7); for (var _u2 = 0; _u2 < this._1W - 1; ++_u2) { _2m1._QU(this._Ql1[_u2], this._Ql1[_u2 + 1], _v2) } }, _3m1: function(_Cg) { var _Zl1 = this._1W - 2; for (var _u2 = 0; _u2 < _Zl1; ++_u2) { this._Vl1[_u2] = _Cg } }, __l1: function() { var _C_ = this._1W - 1; for (var _u2 = 0; _u2 < _C_; ++_u2) { var _RU = this._Ql1[_u2]; var _SU = this._Ql1[_u2 + 1]; var _Bp = _XS._4T(_SU, _RU); var _vk1 = _Bp._7T(); var _4m1 = this._Tl1[_u2]; var _5m1 = this._Tl1[_u2 + 1]; if (_4m1 + _5m1 == 0.0) { continue } var _Au = _4m1 / (_4m1 + _5m1); var _Bu = _5m1 / (_4m1 + _5m1); _RU._4T(_XS._9u(this._Xl1 * _Au * (this._Ul1[_u2] - _vk1), _Bp)); _SU._yn(_XS._9u(this._Xl1 * _Bu * (this._Ul1[_u2] - _vk1), _Bp)) } }, _0m1: function() { var _Zl1 = this._1W - 2; for (var _u2 = 0; _u2 < _Zl1; ++_u2) { var _RU = this._Ql1[_u2]; var _SU = this._Ql1[_u2 + 1]; var _WW = this._Ql1[_u2 + 2]; var _6m1 = this._Tl1[_u2]; var _7m1 = this._Tl1[_u2 + 1]; var _8m1 = this._Tl1[_u2 + 2]; var _LV = _XS._4T(_SU, _RU); var _Bc1 = _XS._4T(_WW, _SU); var _9m1 = _LV._6T(); var _am1 = _Bc1._6T(); if (_9m1 * _am1 == 0.0) { continue } var _Wg = _YT(_LV, _Bc1); var _xf = _XT(_LV, _Bc1); var _Cg = _VS(_Wg, _xf); var _bm1 = _XS._9u((-1.0 / _9m1), _LV._aT()); var _cm1 = _XS._9u((1.0 / _am1), _Bc1._aT()); var _dm1 = _XS._1T(_bm1); var _em1 = _XS._4T(_bm1, _cm1); var _fm1 = _cm1; var _cV = _6m1 * _XT(_dm1, _dm1) + _7m1 * _XT(_em1, _em1) + _8m1 * _XT(_fm1, _fm1); if (_cV == 0.0) { continue } _cV = 1.0 / _cV; var _hU = _Cg - this._Vl1[_u2]; while (_hU > _cS) { _Cg -= 2 * _cS; _hU = _Cg - this._Vl1[_u2] } while (_hU < -_cS) { _Cg += 2.0 * _cS; _hU = _Cg - this._Vl1[_u2] } var _W41 = -this._Yl1 * _cV * _hU; _RU._yn(_XS._9u((_6m1 * _W41), _dm1)); _SU._yn(_XS._9u((_7m1 * _W41), _em1)); _WW._yn(_XS._9u((_8m1 * _W41), _fm1)) } } }; var _gm1 = { _hm1: function(_J31) { var _im1 = []; var _u2; var _jm1; var _xf; var _1w; var _BV; for (_xf = _J31._R71(); _xf; _xf = _xf._x51()) { for (_1w = _xf._u51(); _1w; _1w = _1w._x51()) { _BV = _1w._T51(); _1w._km1 = _im1.length; _im1.push(_BV._bT()) } } var _lm1 = []; for (_xf = _J31._R71(); _xf; _xf = _xf._x51()) { _xf._mm1 = []; for (_1w = _xf._u51(); _1w; _1w = _1w._x51()) { _jm1 = _1w._bT(); _jm1['shape'] = _1w._km1; delete _1w._km1; _xf._mm1.push(_lm1.length); _lm1.push(_jm1) } } var _A81 = []; for (_xf = _J31._R71(); _xf; _xf = _xf._x51()) { _jm1 = _xf._bT(); _jm1._lm1 = []; for (_u2 = 0; _u2 < _xf._mm1.length; ++_u2) _jm1._lm1.push(_xf._mm1[_u2]); delete _xf._mm1; _xf._nm1 = _A81.length; _A81.push(_jm1) }; var _Qg1 = []; var _Bf; for (_Bf = _J31._v51(), _u2 = 0; _Bf; _Bf = _Bf._x51(), ++_u2) _Bf._Qk1 = _u2; for (_Bf = _J31._v51(); _Bf; _Bf = _Bf._x51()) { if (_Bf._hV() === _o71._N81) continue; _jm1 = _Bf._bT(); _jm1['bodyA'] = _Bf._E81()._nm1; _jm1['bodyB'] = _Bf._F81()._nm1; _Qg1.push(_jm1) } for (_Bf = _J31._v51(); _Bf; _Bf = _Bf._x51()) delete _Bf._Qk1; for (_xf = _J31._R71(); _xf; _xf = _xf._x51()) delete _xf._nm1; var _on = { _im1: _im1, _lm1: _lm1, _A81: _A81, _Qg1: _Qg1 }; return _on }, _om1: function(_jm1, _J31, clear) { var _pm1 = JSON.parse(_jm1); if (clear) { for (var _xf = _J31._R71(); _xf;) { var _Yn = _xf._x51(); _J31._h71(_xf); _xf = _Yn } for (var _Bf = _J31._v51(); _Bf;) { var _Yn = _Bf._x51(); _J31._k71(_Bf); _Bf = _Yn } } var _im1 = []; for (var _u2 = 0; _u2 < _pm1._im1.length; ++_u2) { var _qm1 = _pm1._im1[_u2]; var _BV; switch (_qm1._fV) { case _eV._uV: _BV = new _zV(); break; case _eV._vV: _BV = new _MV(); break; case _eV._xV: _BV = new __V(); break; case _eV._wV: _BV = new _hW(); break } _BV._dT(_qm1); _im1.push(_BV) } var _lm1 = []; for (_u2 = 0; _u2 < _pm1._lm1.length; ++_u2) { var _rm1 = _pm1._lm1[_u2]; var _cI = new _l41(); _cI._dT(_rm1); _cI._BV = _im1[_rm1['shape']]; _lm1.push(_cI) } var _A81 = []; for (_u2 = 0; _u2 < _pm1._A81.length; ++_u2) { var _sm1 = _pm1._A81[_u2]; var _j41 = new _w31(); _j41._dT(_sm1); var body = _J31._SI(_j41); for (var _w2 = 0; _w2 < _sm1._lm1.length; ++_w2) body._i41(_lm1[_sm1._lm1[_w2]]); _A81.push(body) } var _Qg1 = []; var _tm1 = []; for (_u2 = 0; _u2 < _pm1._Qg1.length; ++_u2) { var _um1 = _pm1._Qg1[_u2]; var _vm1; switch (_um1.type) { case _o71._Yg1: _vm1 = new _fh1(); break; case _o71._Zg1: _vm1 = new _Li1(); break; case _o71._I81: _vm1 = new _yi1(); break; case _o71._J81: _vm1 = new _al1(); break; case _o71.__g1: _vm1 = new _Lj1(); break; case _o71._0h1: _vm1 = new _vj1(); break; case _o71._1h1: _vm1 = new _sj1(); break; case _o71._2h1: _vm1 = new _jj1(); break; case _o71._3h1: _vm1 = new _Bl1(); break; case _o71._O81: _vm1 = new _Rk1(); break; default: throw new _ym('unknown joint') } _vm1._dT(_um1, _A81); if (_um1.type === _o71.__g1) { _tm1.push([_vm1, _Qg1.length]); _Qg1.push(null) } else { var _D51 = _J31._n71(_vm1); _Qg1.push(_D51) } } for (_u2 = 0; _u2 < _tm1.length; ++_u2) { _tm1[_u2][0]._Mj1 = _Qg1[_tm1[_u2][0]._Mj1]; _tm1[_u2][0]._Nj1 = _Qg1[_tm1[_u2][0]._Nj1]; _D51 = _J31._n71(_tm1[_u2][0]); _Qg1[_tm1[_u2][1]] = _D51 } } }; var _wm1 = (function() { function _xm1(_Nw) { return new _XS(_Nw ? (_Nw._w2 || 0) : 0, _Nw ? (_Nw._x2 || 0) : 0) } function _ym1(_Nw) { var _zm1 = new Array(_Nw._w2.length); for (var _u2 = 0; _u2 < _zm1.length; ++_u2) _zm1[_u2] = new _XS(_Nw._w2[_u2], _Nw._x2[_u2]); return _zm1 } function _Am1(_Nw, _Bm1) { var name = _Nw.name; var _Pk; if (typeof(_Nw['int']) !== 'undefined') _Pk = _Nw['int']; else if (typeof(_Nw['float']) !== 'undefined') _Pk = _Nw['float']; else if (typeof(_Nw['string']) !== 'undefined') _Pk = _Nw['string']; else if (typeof(_Nw['bool']) !== 'undefined') _Pk = _Nw['bool']; else if (typeof(_Nw._Cm1) !== 'undefined') _Pk = _xm1(_Nw._Cm1); else throw new _ym("unknown property type"); if (_Bm1.hasOwnProperty(name)) throw new _ym("custom property possibly overwriting an existing one"); _Bm1[name] = _Pk } function _Dm1(_Nw, body) { var _j41 = new _l41(); _j41._qV = _Nw._qV || 0; _j41._J51._G51 = typeof(_Nw['filter-categoryBits']) === 'undefined' ? 1 : _Nw['filter-categoryBits']; _j41._J51._H51 = typeof(_Nw['filter-maskBits']) === 'undefined' ? 65535 : _Nw['filter-maskBits']; _j41._J51._I51 = typeof(_Nw['filter-groupIndex']) === 'undefined' ? 0 : _Nw['filter-groupIndex']; _j41._K51 = _Nw._K51 || 0; _j41._L51 = _Nw._L51 || 0; _j41._M51 = _Nw._U51 || 0; var _BV; if (typeof(_Nw._LX) !== 'undefined') { _BV = new _zV(); _BV._AV = _xm1(_Nw._LX._MU); _BV._gV = _Nw._LX._NU || 0 } else if (typeof(_Nw._MX) !== 'undefined') { var _2h = _ym1(_Nw._MX._2h); _BV = new _hW(); _BV._Tn(_2h, _2h.length) } else if (typeof(_Nw._NX) !== 'undefined') { var _2h = _ym1(_Nw._NX._2h); _BV = new __V(); _BV._1W = _2h.length; _BV._0W = _2h; if (_BV._5W = _Nw._NX._Em1) _BV._3W = _xm1(_Nw._NX._cW); if (_BV._4W = _Nw._NX._Fm1) _BV._2W = _xm1(_Nw._NX._aW) } else throw new _ym("unknown shape type"); _j41._BV = _BV; var _cI = body._i41(_j41); _cI.name = _Nw.name; if (_Nw._Gm1) for (var _u2 = 0; _u2 < _Nw._Gm1.length; ++_u2) _Am1(_Nw, _cI) } function _Hm1(_Nw, _J31) { var _j41 = new _w31(); _j41.type = _Nw.type || _x31._y31; _j41._Cg = _Nw._Cg || 0; _j41._C31 = _Nw._C31 || 0; _j41._A31 = _Nw._A31 || 0; _j41._E31 = _Nw._E31 || !1; _j41._G31 = _Nw._G31 || !1; _j41._F31 = _Nw._F31 || !1; _j41._B31 = _Nw._B31 || !1; _j41._z31 = _xm1(_Nw._z31); _j41._H31 = typeof(_Nw._H31) !== 'undefined' ? _Nw._H31 : 1; var _Im1 = new _bV(); _Im1._cV = _Nw['massData-mass'] || 0; _Im1._MU = _xm1(_Nw['massData-center']); _Im1._dV = _Nw['massData-I'] || 0; _j41.position = _xm1(_Nw.position); var body = _J31._SI(_j41); body.name = _Nw.name; body._051(_Im1); if (_Nw._cI) for (var _u2 = 0; _u2 < _Nw._cI.length; ++_u2) _Dm1(_Nw._cI[_u2], body); if (_Nw._Gm1) for (_u2 = 0; _u2 < _Nw._Gm1.length; ++_u2) _Am1(_Nw, body); return body } var _Jm1 = { 'revolute': _fh1, 'distance': _yi1, 'prismatic': _Li1, 'wheel': _vj1, 'rope': _Bl1, 'motor': _Rk1, 'weld': _sj1, 'friction': _jj1 }; function _Km1(_Nw, _J31, _A81) { if (!_Jm1[_Nw.type]) throw new _ym("unknown joint type"); var _Lm1 = new _Jm1[_Nw.type](); switch (_Lm1.type) { case _o71._Yg1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._nh1 = _Nw._nh1 || !1; _Lm1._oh1 = _Nw._oh1 || !1; _Lm1._jh1 = _Nw._Mm1 || 0; _Lm1._lh1 = _Nw._lh1 || 0; _Lm1._mh1 = _Nw._mh1 || 0; _Lm1._ih1 = _Nw._Nm1 || 0; _Lm1._kh1 = _Nw._Om1 || 0; break; case _o71._I81: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._gi1 = _Nw._gi1 || 0; _Lm1._fi1 = _Nw._Pm1 || 0; _Lm1.length = _Nw.length || 0; break; case _o71._Zg1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._nh1 = _Nw._nh1 || !1; _Lm1._oh1 = _Nw._oh1 || !1; _Lm1._Mi1 = _xm1(_Nw._Mi1); _Lm1._Ni1 = _Nw._Mm1 || 0; _Lm1._Pi1 = _Nw._Pi1 || 0; _Lm1._mh1 = _Nw._mh1 || 0; _Lm1._ih1 = _Nw._Nm1 || 0; _Lm1._Oi1 = _Nw._Om1 || 0; break; case _o71._0h1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._oh1 = _Nw._oh1 || !1; _Lm1._Mi1 = _xm1(_Nw._Mi1); _Lm1._lh1 = _Nw._lh1 || 0; _Lm1._mh1 = _Nw._mh1 || 0; _Lm1._gi1 = _Nw._Qm1 || 0; _Lm1._fi1 = _Nw._Rm1 || 0; break; case _o71._3h1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._Cl1 = _Nw._Cl1 || 0; break; case _o71._O81: _Lm1._Sk1 = _xm1(_Nw._hl1); _Lm1._Tk1 = _Nw._Nm1 || 0; _Lm1._ei1 = _Nw._ei1 || 0; _Lm1._kj1 = _Nw._kj1 || 0; _Lm1._Uk1 = _Nw._Uk1 || 0; break; case _o71._1h1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._ih1 = _Nw._Nm1 || 0; _Lm1._gi1 = _Nw._gi1 || 0; _Lm1._fi1 = _Nw._fi1 || 0; break; case _o71._2h1: _Lm1._gh1 = _xm1(_Nw._hl1); _Lm1._hh1 = _xm1(_Nw._il1); _Lm1._ei1 = _Nw._ei1 || 0; _Lm1._kj1 = _Nw._kj1 || 0; break; default: throw new _ym("wat?") } _Lm1._u71 = _A81[_Nw._u71 || 0]; _Lm1._v71 = _A81[_Nw._v71 || 0]; _Lm1._w71 = _Nw._w71 || !1; var _D51 = _J31._n71(_Lm1); _D51.name = _Nw.name; if (_Nw._Gm1) for (var _u2 = 0; _u2 < _Nw._Gm1.length; ++_u2) _Am1(_Nw, _D51); return _D51 } function _Sm1() { this._J31 = null; this._z61 = 0; this._y61 = 0; this._Tm1 = 0; this._lm1 = {}; this._A81 = {}; this._Qg1 = {}; Object.seal(this) } function _Um1(_Nw, _J31) { var _0z = new _Sm1(); _0z._J31 = _J31 = _J31 || new _w41(new _XS(0, 0)); _0z._z61 = _Nw._z61 || 0; _0z._y61 = _Nw._y61 || 0; _0z._Tm1 = _Nw._Tm1 || 0; if (_Nw._sb) _J31._381(_xm1(_Nw._sb)); _J31._S71(_Nw._D31 || !1); _J31._581(_Nw._Vm1 || !1); _J31._U71(_Nw._A61 || !1); _J31._W71(_Nw._Wm1 || !1); _J31._Y71(_Nw._Xm1 || !1); var _A81 = []; var _Ym1 = _Nw.body; if (_Ym1) { for (var _u2 = 0; _u2 < _Ym1.length; ++_u2) { var body = _Hm1(_Ym1[_u2], _J31); _A81.push(body); for (var _1w = body._u51(); _1w; _1w = _1w._x51()) { if (!_0z._lm1[_1w.name]) _0z._lm1[_1w.name] = []; _0z._lm1[_1w.name].push(_1w) } if (!_0z._A81[body.name]) _0z._A81[body.name] = []; _0z._A81[body.name].push(body) } } var _Qg1 = []; var _Zm1 = _Nw._D51; if (_Zm1) { for (_u2 = 0; _u2 < _Zm1.length; ++_u2) { var _D51 = _Km1(_Zm1[_u2], _J31, _A81); _Qg1.push(_D51); if (!_0z._Qg1[_D51.name]) _0z._Qg1[_D51.name] = []; _0z._Qg1[_D51.name].push(_D51) } } return _0z } var _on = { _Um1: _Um1 }; return _on })(); var __m1 = [{ "trimmed": "version", "name": "b2_version", "def": _MS }, { "trimmed": "Vec2", "name": "b2Vec2", "def": _XS }, { "trimmed": "Vec3", "name": "b2Vec3", "def": _fT }, { "trimmed": "Mat22", "name": "b2Mat22", "def": _hT }, { "trimmed": "Mat33", "name": "b2Mat33", "def": _uT }, { "trimmed": "Rot", "name": "b2Rot", "def": _HT }, { "trimmed": "Transform", "name": "b2Transform", "def": _LT }, { "trimmed": "Sweep", "name": "b2Sweep", "def": _NT }, { "trimmed": "Dot_v2_v2", "name": "b2Dot_v2_v2", "def": _XT }, { "trimmed": "Cross_v2_v2", "name": "b2Cross_v2_v2", "def": _YT }, { "trimmed": "Cross_v2_f", "name": "b2Cross_v2_f", "def": _ZT }, { "trimmed": "Cross_f_v2", "name": "b2Cross_f_v2", "def": __T }, { "trimmed": "Mul_m22_v2", "name": "b2Mul_m22_v2", "def": _0U }, { "trimmed": "MulT_m22_v2", "name": "b2MulT_m22_v2", "def": _1U }, { "trimmed": "Distance", "name": "b2Distance", "def": _2U }, { "trimmed": "DistanceSquared", "name": "b2DistanceSquared", "def": _3U }, { "trimmed": "Dot_v3_v3", "name": "b2Dot_v3_v3", "def": _yT }, { "trimmed": "Cross_v3_v3", "name": "b2Cross_v3_v3", "def": _zT }, { "trimmed": "Mul_m22_m22", "name": "b2Mul_m22_m22", "def": _4U }, { "trimmed": "MulT_m22_m22", "name": "b2MulT_m22_m22", "def": _5U }, { "trimmed": "Mul_m33_v3", "name": "b2Mul_m33_v3", "def": _6U }, { "trimmed": "Mul22_m33_v2", "name": "b2Mul22_m33_v2", "def": _7U }, { "trimmed": "Mul_r_r", "name": "b2Mul_r_r", "def": _8U }, { "trimmed": "MulT_r_r", "name": "b2MulT_r_r", "def": _aU }, { "trimmed": "Mul_r_v2", "name": "b2Mul_r_v2", "def": _bU }, { "trimmed": "MulT_r_v2", "name": "b2MulT_r_v2", "def": _cU }, { "trimmed": "Mul_t_v2", "name": "b2Mul_t_v2", "def": _dU }, { "trimmed": "Min_v2", "name": "b2Min_v2", "def": _pU }, { "trimmed": "Max_v2", "name": "b2Max_v2", "def": _rU }, { "trimmed": "Clamp", "name": "b2Clamp", "def": _sU }, { "trimmed": "MulT_t_v2", "name": "b2MulT_t_v2", "def": _fU }, { "trimmed": "Mul_t_t", "name": "b2Mul_t_t", "def": _gU }, { "trimmed": "MulT_t_t", "name": "b2MulT_t_t", "def": _iU }, { "trimmed": "Clamp_v2", "name": "b2Clamp_v2", "def": _tU }, { "trimmed": "NextPowerOfTwo", "name": "b2NextPowerOfTwo", "def": _uU }, { "trimmed": "Abs_v2", "name": "b2Abs_v2", "def": _mU }, { "trimmed": "Abs_m22", "name": "b2Abs_m22", "def": _nU }, { "trimmed": "IsPowerOfTwo", "name": "b2IsPowerOfTwo", "def": _vU }, { "trimmed": "RandomFloat", "name": "b2RandomFloat", "def": _xU }, { "trimmed": "Timer", "name": "b2Timer", "def": _7V }, { "trimmed": "Color", "name": "b2Color", "def": _AU }, { "trimmed": "Draw", "name": "b2Draw", "def": _BU }, { "trimmed": "ContactID", "name": "b2ContactID", "def": _aZ }, { "trimmed": "ManifoldPoint", "name": "b2ManifoldPoint", "def": _gZ }, { "trimmed": "Manifold", "name": "b2Manifold", "def": _lZ }, { "trimmed": "WorldManifold", "name": "b2WorldManifold", "def": _xZ }, { "trimmed": "GetPointStates", "name": "b2GetPointStates", "def": _SZ }, { "trimmed": "ClipVertex", "name": "b2ClipVertex", "def": _XZ }, { "trimmed": "RayCastInput", "name": "b2RayCastInput", "def": _YZ }, { "trimmed": "RayCastOutput", "name": "b2RayCastOutput", "def": _ZZ }, { "trimmed": "AABB", "name": "b2AABB", "def": __Z }, { "trimmed": "CollideCircles", "name": "b2CollideCircles", "def": _f_ }, { "trimmed": "CollidePolygonAndCircle", "name": "b2CollidePolygonAndCircle", "def": _j_ }, { "trimmed": "FindMaxSeparation", "name": "b2FindMaxSeparation", "def": _v_ }, { "trimmed": "FindIncidentEdge", "name": "b2FindIncidentEdge", "def": _J_ }, { "trimmed": "CollidePolygons", "name": "b2CollidePolygons", "def": _T_ }, { "trimmed": "CollideEdgeAndCircle", "name": "b2CollideEdgeAndCircle", "def": _o01 }, { "trimmed": "EPAxis", "name": "b2EPAxis", "def": _C01 }, { "trimmed": "TempPolygon", "name": "b2TempPolygon", "def": _G01 }, { "trimmed": "ReferenceFace", "name": "b2ReferenceFace", "def": _H01 }, { "trimmed": "EPCollider", "name": "b2EPCollider", "def": _K01 }, { "trimmed": "CollideEdgeAndPolygon", "name": "b2CollideEdgeAndPolygon", "def": _p11 }, { "trimmed": "ClipSegmentToLine", "name": "b2ClipSegmentToLine", "def": _l01 }, { "trimmed": "TestShapeOverlap", "name": "b2TestShapeOverlap", "def": _y11 }, { "trimmed": "TestOverlap", "name": "b2TestOverlap", "def": _pX }, { "trimmed": "Shape", "name": "b2Shape", "def": _eV }, { "trimmed": "MassData", "name": "b2MassData", "def": _bV }, { "trimmed": "CircleShape", "name": "b2CircleShape", "def": _zV }, { "trimmed": "EdgeShape", "name": "b2EdgeShape", "def": _MV }, { "trimmed": "ChainShape", "name": "b2ChainShape", "def": __V }, { "trimmed": "PolygonShape", "name": "b2PolygonShape", "def": _hW }, { "trimmed": "Pair", "name": "b2Pair", "def": _XW }, { "trimmed": "PairLessThan", "name": "b2PairLessThan", "def": __W }, { "trimmed": "BroadPhase", "name": "b2BroadPhase", "def": _2X }, { "trimmed": "DistanceProxy", "name": "b2DistanceProxy", "def": _KX }, { "trimmed": "SimplexCache", "name": "b2SimplexCache", "def": _QX }, { "trimmed": "DistanceInput", "name": "b2DistanceInput", "def": _UX }, { "trimmed": "DistanceOutput", "name": "b2DistanceOutput", "def": __X }, { "trimmed": "SimplexVertex", "name": "b2SimplexVertex", "def": _3Y }, { "trimmed": "Simplex", "name": "b2Simplex", "def": _6Y }, { "trimmed": "DistanceFunc", "name": "b2DistanceFunc", "def": _TY }, { "trimmed": "TreeNode", "name": "b2TreeNode", "def": _C11 }, { "trimmed": "DynamicTree", "name": "b2DynamicTree", "def": _4X }, { "trimmed": "TOIInput", "name": "b2TOIInput", "def": _I21 }, { "trimmed": "TOIOutput", "name": "b2TOIOutput", "def": _M21 }, { "trimmed": "SeparationFunction", "name": "b2SeparationFunction", "def": _R21 }, { "trimmed": "TimeOfImpact", "name": "b2TimeOfImpact", "def": _e31 }, { "trimmed": "BodyDef", "name": "b2BodyDef", "def": _w31 }, { "trimmed": "Body", "name": "b2Body", "def": _x31 }, { "trimmed": "Filter", "name": "b2Filter", "def": _F51 }, { "trimmed": "FixtureDef", "name": "b2FixtureDef", "def": _l41 }, { "trimmed": "Fixture", "name": "b2Fixture", "def": _n41 }, { "trimmed": "DestructionListener", "name": "b2DestructionListener", "def": _861 }, { "trimmed": "ContactFilter", "name": "b2ContactFilter", "def": _d61 }, { "trimmed": "ContactImpulse", "name": "b2ContactImpulse", "def": _h61 }, { "trimmed": "ContactListener", "name": "b2ContactListener", "def": _k61 }, { "trimmed": "QueryCallback", "name": "b2QueryCallback", "def": _q61 }, { "trimmed": "RayCastCallback", "name": "b2RayCastCallback", "def": _t61 }, { "trimmed": "TimeStep", "name": "b2TimeStep", "def": _u61 }, { "trimmed": "Position", "name": "b2Position", "def": _B61 }, { "trimmed": "Velocity", "name": "b2Velocity", "def": _C61 }, { "trimmed": "SolverData", "name": "b2SolverData", "def": _D61 }, { "trimmed": "World", "name": "b2World", "def": _w41 }, { "trimmed": "MixFriction", "name": "b2MixFriction", "def": _Xd1 }, { "trimmed": "MixRestitution", "name": "b2MixRestitution", "def": __d1 }, { "trimmed": "ContactRegister", "name": "b2ContactRegister", "def": _2e1 }, { "trimmed": "ContactEdge", "name": "b2ContactEdge", "def": _4e1 }, { "trimmed": "Contact", "name": "b2Contact", "def": _881 }, { "trimmed": "CircleContact", "name": "b2CircleContact", "def": _te1 }, { "trimmed": "PolygonContact", "name": "b2PolygonContact", "def": _Ce1 }, { "trimmed": "ChainAndCircleContact", "name": "b2ChainAndCircleContact", "def": _xe1 }, { "trimmed": "ChainAndPolygonContact", "name": "b2ChainAndPolygonContact", "def": _ye1 }, { "trimmed": "EdgeAndCircleContact", "name": "b2EdgeAndCircleContact", "def": _ze1 }, { "trimmed": "EdgeAndPolygonContact", "name": "b2EdgeAndPolygonContact", "def": _Ae1 }, { "trimmed": "PolygonAndCircleContact", "name": "b2PolygonAndCircleContact", "def": _Be1 }, { "trimmed": "defaultFilter", "name": "b2_defaultFilter", "def": _Me1 }, { "trimmed": "defaultListener", "name": "b2_defaultListener", "def": _Ne1 }, { "trimmed": "ContactManager", "name": "b2ContactManager", "def": _L61 }, { "trimmed": "VelocityConstraintPoint", "name": "b2VelocityConstraintPoint", "def": _Se1 }, { "trimmed": "ContactPositionConstraint", "name": "b2ContactPositionConstraint", "def": _We1 }, { "trimmed": "ContactVelocityConstraint", "name": "b2ContactVelocityConstraint", "def": _3f1 }, { "trimmed": "PositionSolverManifold", "name": "b2PositionSolverManifold", "def": _7f1 }, { "trimmed": "ContactSolverDef", "name": "b2ContactSolverDef", "def": _af1 }, { "trimmed": "ContactSolver", "name": "b2ContactSolver", "def": _cf1 }, { "trimmed": "Island", "name": "b2Island", "def": _071 }, { "trimmed": "Jacobian", "name": "b2Jacobian", "def": _Jg1 }, { "trimmed": "JointEdge", "name": "b2JointEdge", "def": _Ng1 }, { "trimmed": "JointDef", "name": "b2JointDef", "def": _Og1 }, { "trimmed": "Joint", "name": "b2Joint", "def": _o71 }, { "trimmed": "RevoluteJointDef", "name": "b2RevoluteJointDef", "def": _fh1 }, { "trimmed": "RevoluteJoint", "name": "b2RevoluteJoint", "def": _7h1 }, { "trimmed": "MouseJointDef", "name": "b2MouseJointDef", "def": _di1 }, { "trimmed": "MouseJoint", "name": "b2MouseJoint", "def": _5h1 }, { "trimmed": "DistanceJointDef", "name": "b2DistanceJointDef", "def": _yi1 }, { "trimmed": "DistanceJoint", "name": "b2DistanceJoint", "def": _4h1 }, { "trimmed": "PrismaticJointDef", "name": "b2PrismaticJointDef", "def": _Li1 }, { "trimmed": "PrismaticJoint", "name": "b2PrismaticJoint", "def": _6h1 }, { "trimmed": "FrictionJointDef", "name": "b2FrictionJointDef", "def": _jj1 }, { "trimmed": "FrictionJoint", "name": "b2FrictionJoint", "def": _ch1 }, { "trimmed": "WeldJointDef", "name": "b2WeldJointDef", "def": _sj1 }, { "trimmed": "WeldJoint", "name": "b2WeldJoint", "def": _bh1 }, { "trimmed": "WheelJointDef", "name": "b2WheelJointDef", "def": _vj1 }, { "trimmed": "WheelJoint", "name": "b2WheelJoint", "def": _ah1 }, { "trimmed": "GearJointDef", "name": "b2GearJointDef", "def": _Lj1 }, { "trimmed": "GearJoint", "name": "b2GearJoint", "def": _9h1 }, { "trimmed": "MotorJointDef", "name": "b2MotorJointDef", "def": _Rk1 }, { "trimmed": "MotorJoint", "name": "b2MotorJoint", "def": _eh1 }, { "trimmed": "PulleyJointDef", "name": "b2PulleyJointDef", "def": _al1 }, { "trimmed": "PulleyJoint", "name": "b2PulleyJoint", "def": _8h1 }, { "trimmed": "RopeJointDef", "name": "b2RopeJointDef", "def": _Bl1 }, { "trimmed": "RopeJoint", "name": "b2RopeJoint", "def": _dh1 }, { "trimmed": "RopeDef", "name": "b2RopeDef", "def": _Ll1 }, { "trimmed": "Rope", "name": "b2Rope", "def": _Pl1 }, { "trimmed": "maxManifoldPoints", "name": "b2_maxManifoldPoints", "def": _dS }, { "trimmed": "maxPolygonVertices", "name": "b2_maxPolygonVertices", "def": _eS }, { "trimmed": "aabbExtension", "name": "b2_aabbExtension", "def": _fS }, { "trimmed": "aabbMultiplier", "name": "b2_aabbMultiplier", "def": _gS }, { "trimmed": "linearSlop", "name": "b2_linearSlop", "def": _hS }, { "trimmed": "angularSlop", "name": "b2_angularSlop", "def": _iS }, { "trimmed": "polygonRadius", "name": "b2_polygonRadius", "def": _jS }, { "trimmed": "maxSubSteps", "name": "b2_maxSubSteps", "def": _kS }, { "trimmed": "maxTOIContacts", "name": "b2_maxTOIContacts", "def": _lS }, { "trimmed": "velocityThreshold", "name": "b2_velocityThreshold", "def": _mS }, { "trimmed": "maxLinearCorrection", "name": "b2_maxLinearCorrection", "def": _nS }, { "trimmed": "maxAngularCorrection", "name": "b2_maxAngularCorrection", "def": _oS }, { "trimmed": "maxTranslation", "name": "b2_maxTranslation", "def": _pS }, { "trimmed": "maxTranslationSquared", "name": "b2_maxTranslationSquared", "def": _qS }, { "trimmed": "maxRotation", "name": "b2_maxRotation", "def": _rS }, { "trimmed": "maxRotationSquared", "name": "b2_maxRotationSquared", "def": _sS }, { "trimmed": "baumgarte", "name": "b2_baumgarte", "def": _tS }, { "trimmed": "toiBaugarte", "name": "b2_toiBaugarte", "def": _uS }, { "trimmed": "timeToSleep", "name": "b2_timeToSleep", "def": _vS }, { "trimmed": "linearSleepTolerance", "name": "b2_linearSleepTolerance", "def": _wS }, { "trimmed": "angularSleepTolerance", "name": "b2_angularSleepTolerance", "def": _xS }, { "trimmed": "epsilon", "name": "b2_epsilon", "def": _bS }, { "trimmed": "JsonSerializer", "name": "b2JsonSerializer", "def": _gm1 }, { "trimmed": "RUBELoader", "name": "b2RUBELoader", "def": _wm1 }, { "trimmed": "Profiler", "name": "b2Profiler", "def": _OR }, { "trimmed": "ParticleDef", "name": "b2ParticleDef", "def": _ja1 }, { "trimmed": "ParticleColor", "name": "b2ParticleColor", "def": _aa1 }, { "trimmed": "ParticleGroupDef", "name": "b2ParticleGroupDef", "def": _ua1 }, { "trimmed": "ParticleGroup", "name": "b2ParticleGroup", "def": _ya1 }, { "trimmed": "ParticleSystem", "name": "b2ParticleSystem", "def": _271 }]; if (typeof(_0n1) !== "undefined" && typeof(window) !== "undefined") { for (var _u2 = 0; _u2 < __m1.length; ++_u2) window[__m1[_u2]["name"]] = __m1[_u2]["def"] } else { var _wy = {}; for (var _u2 = 0; _u2 < __m1.length; ++_u2) _wy[__m1[_u2]["trimmed"]] = __m1[_u2]["def"]; if (typeof(_1n1) !== "undefined") _1n1._2n1 = _wy; else window["b2"] = _wy } })(); function _3n1() { var _4n1 = "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " fcolor = color;\n" + " texc = UV;\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}"; return _4n1 } function _5n1() { var _6n1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D(pTexure, texc).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n"; return _6n1 } function _7n1() { var _8n1 = "#define LIGHTS_MAX 8\n" + "#define MATRIX_VIEW 0\n" + "#define MATRIX_PROJECTION 1\n" + "#define MATRIX_WORLD 2\n" + "#define MATRIX_WORLD_VIEW 3\n" + "#define MATRIX_WORLD_VIEW_PROJECTION 4\n" + "#define MATRICES_MAX 5\n" + "#define FOG_SETTINGS 0\n" + "#define FOG_COLOUR 1\n" + "\n" + "uniform mat4 matrices[MATRICES_MAX];\n" + "uniform vec4 fogParameters[2];\n" + "\n" + "uniform vec4 dirlightdir[LIGHTS_MAX];\n" + "uniform vec4 pointlightpos[LIGHTS_MAX];\n" + "uniform vec4 lightcol[LIGHTS_MAX];\n" + "uniform vec4 ambientcol;\n" + "\n" + "attribute vec3 vertex;\n" + "attribute vec4 color;\n" + "attribute vec2 UV;\n" + "attribute vec3 normal;\n" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "float CalcFogFactor(vec4 pos)\n" + "{\n" + " vec4 viewpos = matrices[MATRIX_WORLD_VIEW] * pos;\n" + " vec4 fogParams = fogParameters[FOG_SETTINGS];\n" + " return (1.0 - ((fogParams.z - viewpos.z) * fogParams.y)) * fogParams.x;\n" + "}\n" + "\n" + "vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)\n" + "{\n" + " float dotresult = dot(ws_normal, dir.xyz);\n" + " dotresult = max(0.0, dotresult);\n" + " return dotresult * diffusecol;\n" + "}\n" + "\n" + "vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)\n" + "{\n" + " float atten = 0.0;\n" + "\n" + " vec3 diffvec = ws_pos - posrange.xyz;\n" + " float veclen = length(diffvec);\n" + " if (veclen <= posrange.w)\n" + " {\n" + " atten = 1.0 / (1.0 + (veclen / posrange.w));\n" + " }\n" + "\n" + " diffvec /= veclen;\n" + " float dotresult = dot(ws_normal, diffvec);\n" + " dotresult = max(0.0, dotresult);\n" + "\n" + " return (diffusecol * dotresult * atten);\n" + "}\n" + "\n" + "vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)\n" + "{\n" + " vec3 ws_normal;\n" + " vec3 ws_pos;\n" + " vec4 objectspacenormal4 = vec4(objectspacenormal, 0.0);\n" + "\n" + " ws_normal = (matrices[MATRIX_WORLD] * objectspacenormal4).xyz;\n" + " ws_normal = -normalize(ws_normal);\n" + " ws_pos = (matrices[MATRIX_WORLD] * objectspacepos).xyz;\n" + "\n" + " vec4 accumcol = vec4(0.0, 0.0, 0.0, 0.0);\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoDirLight(ws_normal, dirlightdir[i], lightcol[i]);\n" + " }\n" + " for(int i = 0; i < LIGHTS_MAX; i++)\n" + " {\n" + " accumcol += DoPointLight(ws_pos, ws_normal, pointlightpos[i], lightcol[i]);\n" + " }\n" + " accumcol *= vertexcolour;\n" + " accumcol += ambientcol;\n" + " return min(vec4(1.0, 1.0, 1.0, 1.0), accumcol);\n" + "}\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 pos = vec4(vertex.xyz, 1);\n" + " vec4 lcolor = DoLighting(color, pos, normal);\n" + " fcolor = vec4(lcolor.xyz, 1);\n" + " fogFactor = CalcFogFactor(pos);\n" + " fogColor = vec4(fogParameters[FOG_COLOUR].xyz, 1);\n" + " texc = UV;\n" + " gl_Position = matrices[MATRIX_WORLD_VIEW_PROJECTION] * pos;\n" + " gl_PointSize = 1.0;\n" + "}"; return _8n1 } function _9n1() { var _6n1 = "precision mediump float;\n" + "uniform sampler2D pTexure;\n" + "uniform bool alphaTestEnabled;\n" + "uniform float alphaRefValue;" + "\n" + "varying vec4 fcolor;\n" + "varying vec2 texc;\n" + "varying vec4 fogColor;\n" + "varying float fogFactor;\n" + "\n" + "void DoAlphaTest(vec4 SrcColour)\n" + "{\n" + " if (alphaTestEnabled)\n" + " {\n" + " if (SrcColour.a <= alphaRefValue)\n" + " {\n" + " discard;\n" + " }\n" + " }\n" + "}\n" + "\n" + "\n" + "void main(void)\n" + "{\n" + " vec4 color = texture2D( pTexure, texc ).rgba * fcolor.rgba;\n" + " DoAlphaTest(color);\n" + " gl_FragColor = vec4(mix(color.rgb, fogColor.rgb, fogFactor), color.a);\n" + "}\n"; return _6n1 } function _an1(_bn1, _uP) { var _cn1 = null; var _dn1 = null, _en1 = null; var _fn1 = 0; var _gn1, _hn1; var _in1, _jn1, _kn1 = []; var _ln1, _mn1, _nn1, _on1; var _pn1, _qn1; Object.defineProperties(this, { _rn1: { get: function() { return (_cn1 !== null && _cn1 !== undefined) } }, _Ih: { get: function() { return _in1 } }, _oj: { get: function() { return _jn1 } }, _sn1: { get: function() { return _gn1 } }, _tn1: { get: function() { return _hn1 } }, _un1: { get: function() { return _ln1 } }, _vn1: { get: function() { return _mn1 } }, _wn1: { get: function() { return _nn1 }, set: function(_Pk) { _nn1 = _Pk } }, _xn1: { get: function() { return _on1 }, set: function(_Pk) { _on1 = _Pk } } }); (function() { _cn1 = _yn1(_bn1, _uP); if (_cn1) { _zn1(_cn1); var _An1 = _cn1.getParameter(_cn1.MAX_TEXTURE_IMAGE_UNITS); _pn1 = (_An1 < _Gh._Bn1) ? _An1 : _Gh._Bn1; _qn1 = _cn1.getParameter(_cn1.MAX_TEXTURE_SIZE); _en1 = new _Cn1(_uP._Dn1); _dn1 = new _En1(_en1); _Fn1(); _Gn1(); _Hn1(); _en1._Ts(_gn1) } })(); function _zn1(_In1) { _Cn1.prototype._In1 = _In1; _En1.prototype._In1 = _In1; _8j.prototype._In1 = _In1; _Jn1.prototype._In1 = _In1; _Kn1.prototype._In1 = _In1; _Ln1.prototype._In1 = _In1; }; function _Mn1() { var userAgent = navigator.userAgent.toString().toLowerCase(); var _Nn1 = userAgent.indexOf("trident/"); if (_Nn1 >= 0) { var version = parseFloat(userAgent.slice(_Nn1 + "trident/".length)); if (version == 7) { return !0 } } return !1 } function _yn1(_bn1, _uP) { if (_Mn1()) return null; var _On1 = null; var _Pn1 = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"]; { for (var _u2 = 0; _u2 < _Pn1.length; _u2++) { try { var _Qn1 = { alpha: !0, stencil: _uP._Rn1, antialias: !1, premultipliedAlpha: !1, preserveDrawingBuffer: _uP._Sn1 }; _On1 = _bn1.getContext(_Pn1[_u2], _Qn1); if (_On1) { break } } catch (_0L) { return null } } } if (_On1) { _ln1 = _bn1.width; _mn1 = _bn1.height; _nn1 = _ln1; _on1 = _mn1 } return _On1 } function _Fn1() { var _Tn1 = new _Kn1(); _Tn1._Un1(); _Tn1._Vn1(); _Tn1._Wn1(); _in1 = _kn1.push(_Tn1) - 1; _dn1._Xn1(_in1); var _Yn1 = new _Kn1(); _Yn1._Zn1(); _Yn1._Vn1(); _Yn1._Wn1(); _Yn1.__n1(); _jn1 = _kn1.push(_Yn1) - 1; _dn1._Xn1(_jn1) }; this._0o1 = function(_1o1) { for (var _u2 in _kn1) { if (!_kn1.hasOwnProperty(_u2)) continue; if (_kn1[_u2]._eT(_1o1)) { return _u2 } } var _2o1 = _kn1.push(_1o1) - 1; _dn1._Xn1(_2o1); return _2o1; }; this._aj = function(_3k) { return _kn1[_3k] }; function _3o1(_4o1) { while (((_4o1 & 0x1) == 0) && (_4o1 > 1)) { _4o1 >>= 1 } return (_4o1 == 1) } this._5o1 = function() { return _qn1 }; this._6o1 = function(_7o1, _8o1, _9o1, _ao1) { _dn1._bo1(); _en1._6o1(_7o1, _8o1, _9o1, _ao1) }; function _co1(_do1, type, source) { var _ov = _cn1.createShader((type == 'vertex') ? _cn1.VERTEX_SHADER : _cn1.FRAGMENT_SHADER); _cn1.shaderSource(_ov, source); _cn1.compileShader(_ov); if (!_cn1.getShaderParameter(_ov, _cn1.COMPILE_STATUS)) { alert("Could not compile " + type + " shader:\n\n" + _cn1.getShaderInfoLog(_ov)); return } _cn1.attachShader(_do1, _ov) }; function _Gn1() { var _8n1 = _3n1(); var _6n1 = _5n1(); var _eo1 = _cn1.createProgram(); var error = _cn1.getError(); _co1(_eo1, "vertex", _8n1); _co1(_eo1, "fragment", _6n1); _cn1.linkProgram(_eo1); error = _cn1.getError(); if (!_cn1.getProgramParameter(_eo1, _cn1.LINK_STATUS)) { alert("Could not initialise shaders\n\n"); return !1 } _cn1.useProgram(_eo1); _gn1 = _eo1; _eo1._fo1 = []; _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "vertex")); _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "color")); _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "UV")); _eo1._go1 = _cn1.getUniformLocation(_eo1, "pTexure"); _eo1._ho1 = _cn1.getUniformLocation(_eo1, "matrices"); _eo1._io1 = _cn1.getUniformLocation(_eo1, "fogParameters"); _eo1._jo1 = _cn1.getUniformLocation(_eo1, "alphaTestEnabled"); _eo1._ko1 = _cn1.getUniformLocation(_eo1, "alphaRefValue"); return !0 } function _Hn1() { var _4n1 = _7n1(); var _6n1 = _9n1(); var _eo1 = _cn1.createProgram(); var error = _cn1.getError(); _co1(_eo1, "vertex", _4n1); _co1(_eo1, "fragment", _6n1); _cn1.linkProgram(_eo1); error = _cn1.getError(); if (!_cn1.getProgramParameter(_eo1, _cn1.LINK_STATUS)) { alert("Could not initialise 3D shader\n\n"); return !1 } _cn1.useProgram(_eo1); _eo1._lo1 = _cn1.getUniformLocation(_eo1, "ViewMatrix"); _hn1 = _eo1; _eo1._fo1 = []; _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "vertex")); _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "color")); _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "UV")); _eo1._fo1.push(_cn1.getAttribLocation(_eo1, "normal")); _eo1._go1 = _cn1.getUniformLocation(_eo1, "pTexure"); _eo1._ho1 = _cn1.getUniformLocation(_eo1, "matrices"); _eo1._mo1 = _cn1.getUniformLocation(_eo1, "dirlightdir"); _eo1._no1 = _cn1.getUniformLocation(_eo1, "pointlightpos"); _eo1._oo1 = _cn1.getUniformLocation(_eo1, "lightcol"); _eo1._po1 = _cn1.getUniformLocation(_eo1, "ambientcol"); _eo1._io1 = _cn1.getUniformLocation(_eo1, "fogParameters"); _eo1._jo1 = _cn1.getUniformLocation(_eo1, "alphaTestEnabled"); _eo1._ko1 = _cn1.getUniformLocation(_eo1, "alphaRefValue"); return !0 } this._qo1 = function(_ro1, _so1, _to1) { if (_ro1 == "None" || _so1 == "None") { var _uo1 = { _vo1: null, _wo1: null }; return _uo1 } var _eo1 = _cn1.createProgram(); var error = _cn1.getError(); _co1(_eo1, "vertex", _ro1); _co1(_eo1, "fragment", _so1); _cn1.linkProgram(_eo1); error = _cn1.getError(); if (!_cn1.getProgramParameter(_eo1, _cn1.LINK_STATUS)) { var _uo1 = { _vo1: null, _wo1: null }; return _uo1 } _cn1.useProgram(_eo1); _eo1._ho1 = _cn1.getUniformLocation(_eo1, "gm_Matrices"); _eo1._mo1 = _cn1.getUniformLocation(_eo1, "gm_Lights_Direction"); _eo1._no1 = _cn1.getUniformLocation(_eo1, "gm_Lights_PosRange"); _eo1._oo1 = _cn1.getUniformLocation(_eo1, "gm_Lights_Colour"); _eo1._po1 = _cn1.getUniformLocation(_eo1, "gm_AmbientColour"); _eo1._fo1 = []; for (var _xo1 = 0; _xo1 < _to1.length; _xo1++) { _eo1._fo1.push(_cn1.getAttribLocation(_eo1, _to1[_xo1])) } var _yo1 = "gm_BaseTexture"; var _zo1 = [_yo1]; var _Ao1 = 0; var _Bo1 = []; var _Co1 = _cn1.getUniformLocation(_eo1, _yo1); _cn1.uniform1iv(_Co1, [_Ao1++]); _eo1._go1 = _Co1; var _Do1 = _cn1.getProgramParameter(_eo1, _cn1.ACTIVE_UNIFORMS); for (var _6h = 0; _6h < _Do1; _6h++) { var _Eo1 = _cn1.getActiveUniform(_eo1, _6h); if ((_Eo1.type == _cn1.SAMPLER_2D) || (_Eo1.type == _cn1.SAMPLER_CUBE)) { if (_Eo1.name != _yo1) { _zo1[_Ao1] = _Eo1.name; var _xo1 = _cn1.getUniformLocation(_eo1, _Eo1.name); _cn1.uniform1iv(_xo1, [_Ao1++]) } } } _uo1 = { _vo1: _eo1, _wo1: _zo1 }; return _uo1 }; this._Fo1 = function() { _en1._8V(); _fn1++ }; this._Go1 = function() { _dn1._bo1(); _en1._ie++; _en1._Ho1(); _cn1.clearColor(1, 1, 1, 1); _cn1.colorMask(!1, !1, !1, !0); _cn1.clear(_cn1.COLOR_BUFFER_BIT); _cn1.colorMask(!0, !0, !0, !0) }; this._bo1 = function() { _dn1._bo1(); _en1._Ho1() }; this._Io1 = function(_an, _Jo1) { _dn1._bo1(); _en1._Io1(_an, _Jo1) }; this._Es = function(_Ko1) { _dn1._bo1(); _en1._Lo1(_Gh._Mo1, _Ko1) }; this._Is = function(_Ko1) { _dn1._bo1(); _en1._Lo1(_Gh._No1, _Ko1) }; this._8t = function(_Oo1) { _dn1._bo1(); _en1._Lo1(_Gh._Po1, _Oo1) }; this._Gs = function(_Ko1) { _dn1._bo1(); _en1._Lo1(_Gh._Qo1, _Ko1) }; this._Es = function(_Ko1) { _dn1._bo1(); _en1._Lo1(_Gh._Mo1, _Ko1) }; this._Qs = function(_Ro1, _So1, _To1, _Uo1) { _dn1._bo1(); var _Vo1 = { _Mp: _Ro1, _Np: _So1, _Op: _To1, alpha: _Uo1 }; _en1._Lo1(_Gh._Wo1, _Vo1) }; this._Ct = function(_xe, _Xo1, _Yo1, _Zo1) { _dn1._bo1(); _en1._Ct(_xe, _Xo1, _Yo1, _Zo1) }; this._Et = function(_xe, _Ko1, __o1) { _dn1._bo1(); _en1._Et(_xe, _Ko1, __o1) }; this._Gt = function(__o1) { _dn1._bo1(); _en1._0p1(__o1) }; this._It = function(_1p1) { _dn1._bo1(); _en1._2p1(_1p1) }; this._3p1 = function(_Rs, _4p1) { _dn1._bo1(); _en1._3p1(_Rs, _4p1) }; this._5p1 = function(_6p1, _7p1) { _dn1._bo1(); if (_7p1) { _en1._8p1(_6p1, _Gh._9p1, _Gh._ap1); _en1._8p1(_6p1, _Gh._bp1, _Gh._ap1) } else { _en1._8p1(_6p1, _Gh._9p1, _Gh._cp1); _en1._8p1(_6p1, _Gh._bp1, _Gh._cp1) } }; this._dp1 = function(_6p1, _ep1) { _dn1._bo1(); _en1._8p1(_6p1, _Gh._fp1, _ep1); _en1._8p1(_6p1, _Gh._gp1, _ep1) }; this._hp1 = function() { return _pn1 }; this._ip1 = function(_Rs) { _dn1._bo1(); _en1._Lo1(_Gh._jp1, _Rs) }; this._kp1 = function(__v) { _dn1._bo1(); _en1._Lo1(_Gh._lp1, __v) }; this._mp1 = function(_np1) { _dn1._bo1(); _en1._Lo1(_Gh._op1, _np1) }; this._pp1 = function(_qp1) { _dn1._bo1(); _en1._Lo1(_Gh._rp1, _qp1) }; this._Ts = function(_sp1) { _dn1._bo1(); _en1._Ts(_sp1) }; this._tp1 = function(_sp1, _up1) { return _cn1.getUniformLocation(_sp1, _up1) }; this._vp1 = function(_wp1, _xp1) { _dn1._bo1(); _en1._vp1(_wp1, _xp1) }; this._yp1 = function(_wp1, _xp1) { _dn1._bo1(); _en1._yp1(_wp1, _xp1) }; this._zp1 = function(_wp1, _xp1) { _dn1._bo1(); _en1._zp1(_wp1, _xp1) }; this._Ap1 = function(_wp1, _xp1, _Bp1) { _dn1._bo1(); _en1._Ap1(_wp1, _xp1, _Bp1) }; this._Cp1 = function(_wp1, _xp1, _Bp1) { _dn1._bo1(); _en1._Cp1(_wp1, _xp1, _Bp1) }; this._Dp1 = function(_cx) { _dn1._bo1(); _en1._Dp1(_cx) }; this._Ep1 = function(_Ak, _ye, _ze, _bn1) { _en1._Ep1(_Ak, _ye, _ze, _bn1) }; this._Fp1 = function(_6p1, _Ak) { _Gh._Gp1(_Ak instanceof _Jn1, "Texture is not a yyGLTexture", _Gh._Hp1); _dn1._bo1(); _en1._Fp1(_6p1, _Ak) }; this._0t = function(_ar) { _dn1._bo1(); _en1._Ip1(_ar) }; this._7t = function(_ar) { _dn1._bo1(); _en1._Jp1(_ar) }; this._Kp1 = function(_ar) { _dn1._bo1(); _en1._Lp1(_ar) }; this._Mp1 = function(_Np1) { var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _mj = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _mj); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _cn1.RGBA, _cn1.UNSIGNED_BYTE, _Np1); var _on = new _Jn1(_mj, _Np1.width, _Np1.height, _3o1(_Np1.width) && _3o1(_Np1.height)); _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); return _on }; this._Pp1 = function(_ej, _Qp1, _Rp1, _uj) { var _Vy = 0; if (_ej) { _Vy |= _cn1.COLOR_BUFFER_BIT; } if (_Qp1) { _Vy |= _cn1.DEPTH_BUFFER_BIT } _en1._Pp1(_Vy, _uj) }; this._Sp1 = function(_tP) { _dn1._bo1(); _en1._Sp1(_tP) }; function _Tp1(_Up1, _6n, _7n) { if ((_6n == 0) || (_7n == 0)) { return } var _Vp1 = _Up1[(_7n - 1) * _6n] & 0xffffff; for (_u2 = 0; _u2 < (_6n * _7n); _u2++) { if ((_Up1[_u2] & 0xffffff) == _Vp1) { _Up1[_u2] = _Up1[_u2] & 0xffffff } } } function _Wp1(_Cj) { var max = _qn1; var _k2 = 1; while (_k2 <= max) { if (_Cj <= _k2) return _k2; _k2 = _k2 << 1 } return max } this._Xp1 = function(_Np1, _ye, _ze, _6n, _7n, _Po, _Qo, _Yp1) { this._bo1(); var _Zp1 = new Uint8Array(_6n * _7n * 4); _cn1.readPixels(_ye, _on1 - (_ze + _7n), _6n, _7n, _cn1.RGBA, _cn1.UNSIGNED_BYTE, _Zp1); var __p1; if (_Yp1) { var _0q1 = new ArrayBuffer(_6n * _7n * 4); __p1 = new Uint8Array(_0q1); for (var _8h = 0; _8h < _7n; _8h++) { var _1q1 = _Zp1.subarray(_8h * _6n * 4, (_8h + 1) * _6n * 4); var _2q1 = __p1.subarray((_7n - 1 - _8h) * _6n * 4, (_7n - _8h) * _6n * 4); _2q1.set(_1q1) } if (_Po) { _Tp1(new Int32Array(_0q1), _6n, _7n) } } else { __p1 = _Zp1 } var _y2 = _Wp1(_6n); var _z2 = _Wp1(_7n); var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _mj = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _mj); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _y2, _z2, 0, _cn1.RGBA, _cn1.UNSIGNED_BYTE, null); _cn1.texSubImage2D(_cn1.TEXTURE_2D, 0, 0, 0, _6n, _7n, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MAG_FILTER, _cn1.NEAREST); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MIN_FILTER, _cn1.NEAREST); var _on = new _Jn1(_mj, _y2, _z2, (_y2 == _6n) && (_z2 == _7n)); _Np1.width = _y2; _Np1.height = _z2; _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); _en1._8V(); return _on }; this._3q1 = function(_Np1, _4q1, _ye, _ze, _6n, _7n, _Po, _Qo) { this._bo1(); var _5q1 = _cn1.getParameter(_cn1.FRAMEBUFFER_BINDING); var _0q1 = new ArrayBuffer(_6n * _7n * 4); var __p1 = new Uint8Array(_0q1); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _4q1); _cn1.readPixels(_ye, _ze, _6n, _7n, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _5q1); if (_Po) { _Tp1(new Int32Array(_0q1), _6n, _7n) } var _y2 = _Wp1(_6n); var _z2 = _Wp1(_7n); var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _mj = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _mj); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _y2, _z2, 0, _cn1.RGBA, _cn1.UNSIGNED_BYTE, null); _cn1.texSubImage2D(_cn1.TEXTURE_2D, 0, 0, 0, _6n, _7n, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MAG_FILTER, _cn1.NEAREST); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MIN_FILTER, _cn1.NEAREST); var _on = new _Jn1(_mj, _y2, _z2, (_y2 == _6n) && (_z2 == _7n)); _Np1.width = _y2; _Np1.height = _z2; _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); _en1._8V(); return _on }; this._6q1 = function(_Np1, _7q1, _6n, _7n) { var _y2 = _Wp1(_6n); var _z2 = _Wp1(_7n); var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _mj = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _mj); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _y2, _z2, 0, _cn1.RGBA, _cn1.UNSIGNED_BYTE, null); _cn1.texSubImage2D(_cn1.TEXTURE_2D, 0, 0, 0, _6n, _7n, _cn1.RGBA, _cn1.UNSIGNED_BYTE, _7q1); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MAG_FILTER, _cn1.NEAREST); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MIN_FILTER, _cn1.NEAREST); var _on = new _Jn1(_mj, _y2, _z2, (_y2 == _6n) && (_z2 == _7n)); _Np1.width = _y2; _Np1.height = _z2; _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); _en1._8V(); return _on }; this._8q1 = function(_Np1, _7q1, _6n, _7n) { var _0q1 = new ArrayBuffer(_6n * _7n * 4); var _9q1 = new DataView(_0q1); for (var _df = 0; _df < _6n * _7n; _df++) { _9q1.setUint32(_df * 4, ~~_7q1[_df], !0) } return this._6q1(_Np1, new Uint8Array(_0q1), _6n, _7n) }; this._aq1 = function(_Ak, _fj) { _Gh._Gp1(_Ak instanceof _Jn1, "Texture is not a yyGLTexture", _Gh._Hp1); var _mj = _Ak._bq1; var _y2 = _Ak._cq1; var _z2 = _Ak._dq1; var _5q1 = _cn1.getParameter(_cn1.FRAMEBUFFER_BINDING); var _eq1 = _cn1.createFramebuffer(); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _eq1); _cn1.framebufferTexture2D(_cn1.FRAMEBUFFER, _cn1.COLOR_ATTACHMENT0, _cn1.TEXTURE_2D, _mj, 0); var __p1 = new Uint8Array(_y2 * _z2 * 4); _cn1.readPixels(0, 0, _y2, _z2, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _5q1); _cn1.deleteFramebuffer(_eq1); for (var _u2 = 0; _u2 < (_y2 * _z2); _u2++) { __p1[(_u2 * 4) + 3] = _fj[_u2] } var _pY = _Wp1(_y2); var _Sy = _Wp1(_z2); var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _fq1 = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _fq1); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _pY, _Sy, 0, _cn1.RGBA, _cn1.UNSIGNED_BYTE, null); _cn1.texSubImage2D(_cn1.TEXTURE_2D, 0, 0, 0, _y2, _z2, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MAG_FILTER, _cn1.NEAREST); _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MIN_FILTER, _cn1.NEAREST); var _on = new _Jn1(_fq1, _pY, _Sy, (_pY == _y2) && (_Sy == _z2)); _cn1.deleteTexture(_Ak._bq1); _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); return _on }; this._gq1 = function(_ye, _ze) { this._bo1(); var __p1 = new Uint8Array(16); _cn1.readPixels(_ye, _on1 - _ze, 1, 1, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); var _Dg = (__p1[0]) | (__p1[1] << 8) | (__p1[2] << 16) | (__p1[3] << 24); _en1._8V(); return _Dg }; this._hq1 = function(_4q1, _ye, _ze) { this._bo1(); var _5q1 = _cn1.getParameter(_cn1.FRAMEBUFFER_BINDING); var __p1 = new Uint8Array(16); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _4q1); _cn1.readPixels(_ye, _ze, 1, 1, _cn1.RGBA, _cn1.UNSIGNED_BYTE, __p1); var _Dg = (__p1[0]) | (__p1[1] << 8) | (__p1[2] << 16) | (__p1[3] << 24); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _5q1); _en1._8V(); return _Dg }; this._iq1 = function(_6n, _7n) { var _Op1 = _cn1.getParameter(_cn1.TEXTURE_BINDING_2D); var _5q1 = _cn1.getParameter(_cn1.FRAMEBUFFER_BINDING); var _jq1 = _cn1.getParameter(_cn1.RENDERBUFFER_BINDING); { var _kq1 = _cn1.createFramebuffer(); _kq1.width = _6n; _kq1.height = _7n; _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _kq1); var _lq1 = _cn1.createTexture(); _cn1.bindTexture(_cn1.TEXTURE_2D, _lq1); _cn1.texImage2D(_cn1.TEXTURE_2D, 0, _cn1.RGBA, _6n, _7n, 0, _cn1.RGBA, _cn1.UNSIGNED_BYTE, null); var _mq1 = new _Jn1(_lq1, _6n, _7n, _3o1(_6n) && _3o1(_7n)); var _nq1 = _cn1.createRenderbuffer(); _cn1.bindRenderbuffer(_cn1.RENDERBUFFER, _nq1); _cn1.renderbufferStorage(_cn1.RENDERBUFFER, _cn1.DEPTH_STENCIL, _kq1.width, _kq1.height); _cn1.framebufferTexture2D(_cn1.FRAMEBUFFER, _cn1.COLOR_ATTACHMENT0, _cn1.TEXTURE_2D, _lq1, 0); _cn1.framebufferRenderbuffer(_cn1.FRAMEBUFFER, _cn1.DEPTH_STENCIL_ATTACHMENT, _cn1.RENDERBUFFER, _nq1) } _cn1.bindTexture(_cn1.TEXTURE_2D, _Op1); _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _5q1); _cn1.bindRenderbuffer(_cn1.RENDERBUFFER, _jq1); var _oq1 = { _pq1: _kq1, _qq1: _nq1, _bq1: _mq1 }; return _oq1 }; this._rq1 = function(_4q1) { _cn1.deleteFramebuffer(_4q1._pq1); _cn1.deleteRenderbuffer(_4q1._qq1); _cn1.deleteTexture(_4q1._bq1._bq1); _4q1._bq1 = null }; this._sq1 = function(_Ak) { _Gh._Gp1(_Ak instanceof _Jn1, "NULL texture is not a yyGLTexture", _Gh._Hp1); _en1._tq1 = _Ak }; this._Fh = function(__i, _Ak, _3k, _uq1) { _Gh._Gp1((_Ak == null) || (_Ak instanceof _Jn1), "Texture is not a yyGLTexture", _Gh._Hp1); return _dn1._Fh(__i, _Ak, _3k, _uq1, _kn1[_3k], _fn1) }; this._Bk = function(__i, _Ak, _vq1, _wq1) { _Gh._Gp1((_Ak == null) || (_Ak instanceof _Jn1), "Texture is not a yyGLTexture", _Gh._Hp1); _dn1._xq1(__i, _Ak, _vq1, _wq1) } } var _Gh = { _yq1: 8, _Bn1: 8, _zq1: -1, _Hh: 0, _4j: 1, _3j: 2, _1j: 3, _2j: 4, _0j: 5, _6k: 1, _bk: 2, _lk: 3, _jk: 4, _Aq1: 5, _Bq1: 6, _Cq1: 7, _Dq1: 8, _Eq1: 9, _Fq1: 10, _Gq1: 11, _Hq1: 12, _Iq1: 13, _Jq1: 14, _Kq1: 14, _nk: 1, _7k: 2, _9k: 3, _rk: 4, _ck: 5, _tk: 6, _Lq1: 6, _Mq1: 1, _Nq1: 2, _Oq1: 3, _Pq1: 4, _Qq1: 5, _Rq1: 6, _Sq1: 7, _Tq1: 8, _Uq1: 9, _Vq1: 10, _Wq1: 11, _Xq1: 12, _Yq1: 13, _Zq1: 14, __q1: 15, _0r1: 16, _1r1: 16, _2r1: 0, _Mo1: 1, _3r1: 2, _Qo1: 3, _4r1: 4, _5r1: 5, _6r1: 6, _No1: 7, _7r1: 8, _8r1: 9, _9r1: 10, _ar1: 11, _Wo1: 12, _jp1: 13, _br1: 14, _cr1: 15, _op1: 16, _lp1: 17, _rp1: 18, _dr1: 19, _er1: 20, _Po1: 21, _fr1: 21, _gr1: 1, _hr1: 2, _ir1: 3, _jr1: 4, _kr1: 5, _lr1: 6, _mr1: 7, _nr1: 8, _or1: 1, _pr1: 2, _qr1: 3, _rr1: 4, _sr1: 5, _tr1: 6, _ur1: 7, _vr1: 8, _ap1: 0, _cp1: 1, _fp1: 0, _gp1: 1, _9p1: 2, _bp1: 3, _wr1: 0, _xr1: 1, _at: 0, _9t: 1, _yr1: 0, _zr1: 1, _Hp1: 2, _Gp1: function(_Ar1, _Br1, _Cr1) { if (!_Ar1) { throw new _ym(_Br1) } } }; Object.freeze(_Gh); function _Cn1(_Dr1) { var _cn1 = this._In1; var _Er1 = 0, _Fr1 = 1, _Gr1 = 2, _Hr1 = 3, _Ir1 = 4, _Jr1 = 5, _Kr1 = 6, _Lr1 = 7, _Mr1 = 8, _Nr1 = 9, _Or1 = 10, _Pr1 = 11, _Qr1 = 12, _Rr1 = 13, _Sr1 = 14, _Tr1 = 15, _Ur1 = 16, _Vr1 = 17, _Wr1 = 18, _Xr1 = 19, _Yr1 = 20, _Zr1 = 21, __r1 = 22, _0s1 = 23, _1s1 = 24, _2s1 = 25, _3s1 = 26, _4s1 = 27, _5s1 = 28, _6s1 = 29; _7s1 = 30; var _8s1 = 0, _9s1 = 1, _as1 = 2, _bs1 = 3, _cs1 = 4, _ds1 = 5; var _es1 = 1, _fs1 = 2, _gs1 = 4, _hs1 = 8; var _is1 = []; var _js1 = [], _ks1, _ls1; var _ms1, _ns1 = [], _os1 = [], _ps1 = [], _qs1 = new Float32Array(_Gh._yq1 * 4), _rs1 = new Float32Array(_Gh._yq1 * 4), _ss1 = new Float32Array(_Gh._yq1 * 4), _ts1 = new Float32Array(4), _us1 = new Float32Array(8), _vs1 = !1, _ws1 = 0.0, _xs1; var _fn1 = 0, _ys1; Object.defineProperties(this, { _ie: { get: function() { return _fn1 }, set: function(_Pk) { _fn1 = _Pk } }, _tq1: { get: function() { return _ys1 }, set: function(_Pk) { _ys1 = _Pk } } }); (function() { _zs1(); var _An1 = _cn1.getParameter(_cn1.MAX_TEXTURE_IMAGE_UNITS); if (_An1 > _Gh._Bn1) { _An1 = _Gh._Bn1 } for (var _Ao1 = 0; _Ao1 < _An1; _Ao1++) { _ps1[_Ao1] = new _Ln1(_Dr1) } var _As1 = _Bs1(_Gh._gr1); _xs1 = { _mw: 0, _Cs1: 0xffffffff, _Ds1: 0xffffffff, _Es1: _Fs1(_Gh._vr1), _Gs1: _As1, _Hs1: _As1, _Is1: _As1 }; for (var _u2 = 0; _u2 < _ds1; _u2++) { _os1[_u2] = new _Ws() } _cn1.disable(_cn1.CULL_FACE); _cn1.disable(_cn1.DEPTH_TEST); _cn1.enable(_cn1.BLEND); _cn1.enable(_cn1.SCISSOR_TEST); _cn1.blendFunc(_cn1.SRC_ALPHA, _cn1.ONE_MINUS_SRC_ALPHA); _cn1.activeTexture(_cn1.TEXTURE0); _cn1.frontFace(_cn1.CW); _cn1.cullFace(_cn1.BACK); })(); function _zs1() { _js1 = []; _ls1 = undefined; _ks1 = undefined; _js1[0] = 1; _js1[1] = 1 }; this._8V = function() { _zs1() }; this._Ts = function(_Js1) { if (_Js1 != _ks1) { _ls1 = null; _is1.push(_Vr1); _is1.push(_Js1); _ks1 = _Js1 } }; this._Fp1 = function(_6p1, _Ak) { if (_js1[_6p1] == _Ak) { return } _js1[_6p1] = _Ak; _is1.push(_Fr1); _is1.push(_Ak); _is1.push(_6p1) }; this._Dp1 = function(_ev) { _is1.push(_ev) }; this._Ep1 = function(_Ak, _ye, _ze, _bn1) { _is1.push(_7s1); _is1.push(_Ak); _is1.push(_ye); _is1.push(_ze); _is1.push(_bn1) }; this._Ks1 = function(_Ls1) { if (_ls1 == _Ls1) return; _ls1 = _Ls1; _is1.push(_Qr1); _is1.push(_Ls1) }; this._Ms1 = function(_Ns1, _Os1) { _is1.push(_Gr1); _is1.push(_Ns1); _is1.push(_Os1) }; this._Ps1 = function(_Ns1, _Os1) { _is1.push(_Hr1); _is1.push(_Ns1); _is1.push(_Os1) }; this._Qs1 = function(_Ns1, _Os1) { _is1.push(_Ir1); _is1.push(_Ns1); _is1.push(_Os1) }; this._Rs1 = function(_Ns1, _Os1) { _is1.push(_Jr1); _is1.push(_Ns1); _is1.push(_Os1) }; this._Ss1 = function(_Ns1, _Os1) { _is1.push(_Kr1); _is1.push(_Ns1); _is1.push(_Os1) }; this._P81 = function(_Ns1, _Os1) { _is1.push(_Lr1); _is1.push(_Ns1); _is1.push(_Os1) }; this._Jp1 = function(_ar) { _is1.push(_Nr1); _is1.push(new _Ws(_ar)) }; this._Ip1 = function(_ar) { _is1.push(_Or1); _Ts1 = new _Ws(_ar); _is1.push(new _Ws(_ar)) }; this._Lp1 = function(_ar) { _is1.push(_Mr1); _is1.push(new _Ws(_ar)) }; this._6o1 = function(_ye, _ze, _6n, _7n) { _is1.push(_Pr1); _is1.push(_ye); _is1.push(_ze); _is1.push(_6n); _is1.push(_7n) }; this._Pp1 = function(_Us1, _uj) { _is1.push(_Rr1); _is1.push(_Us1); _is1.push(~~_uj) }; this._Sp1 = function(_Vs1) { _is1.push(_Sr1); _is1.push(_Vs1) }; this._Ws1 = function(_fj, _5A, _6A, _7A) { _is1.push(_Tr1); _is1.push(_fj); _is1.push(_5A); _is1.push(_6A); _is1.push(_7A) }; this._Io1 = function(_an, _Jo1) { _is1.push(_Ur1); _is1.push(_an); _is1.push(_Jo1) }; this._vp1 = function(_Xs1, _xp1) { _is1.push(_Wr1); _is1.push(_Xs1); _is1.push(_xp1) }; this._yp1 = function(_Xs1, _xp1) { _is1.push(_Xr1); _is1.push(_Xs1); _is1.push(_xp1) }; this._Ap1 = function(_Xs1, _xp1, _Bp1) { _is1.push(_Yr1); _is1.push(_Xs1); _is1.push(_xp1); _is1.push(_Bp1) }; this._Cp1 = function(_Xs1, _xp1, _Bp1) { _is1.push(_Zr1); _is1.push(_Xs1); _is1.push(_xp1); _is1.push(_Bp1) }; this._zp1 = function(_Xs1, _xp1) { _is1.push(__r1); _is1.push(_Xs1); _is1.push(_xp1) }; this._Lo1 = function(_Ys1, _Zs1) { _is1.push(_0s1); _is1.push(_Ys1); _is1.push(_Zs1) }; this._8p1 = function(_6p1, __s1, _0t1) { _is1.push(_1s1); _is1.push(_6p1); _is1.push(__s1); _is1.push(_0t1) }; this._Ct = function(_Sp, _1t1, _2t1, _3t1) { _is1.push(_2s1); _is1.push(_Sp); _is1.push(new Float32Array(_1t1)); _is1.push(new Float32Array(_2t1)); _is1.push(new Float32Array(_3t1)) }; this._0p1 = function(_w4) { _is1.push(_3s1); _is1.push(new Float32Array(_w4)); }; this._2p1 = function(_4t1) { _is1.push(_4s1); _is1.push(new Float32Array(_4t1)) }; this._Et = function(_Sp, enable, _w4) { _is1.push(_5s1); _is1.push(_Sp); _is1.push(enable); _is1.push(_w4) }; this._3p1 = function(_Rs, _5t1) { _is1.push(_6s1); _is1.push(_Rs); _is1.push(_5t1) }; function _6t1(_qy) { switch (_qy) { case _Gh._Mq1: return _cn1.ZERO; case _Gh._Nq1: return _cn1.ONE; case _Gh._Oq1: return _cn1.SRC_COLOR; case _Gh._Pq1: return _cn1.ONE_MINUS_SRC_COLOR; case _Gh._Qq1: return _cn1.SRC_ALPHA; case _Gh._Rq1: return _cn1.ONE_MINUS_SRC_ALPHA; case _Gh._Sq1: return _cn1.ONE_MINUS_DST_ALPHA; case _Gh._Tq1: return _cn1.DST_ALPHA; case _Gh._Uq1: return _cn1.DST_COLOR; case _Gh._Vq1: return _cn1.ONE_MINUS_DST_COLOR; case _Gh._Wq1: return _cn1.SRC_ALPHA_SATURATE; case _Gh._Xq1: return 0; case _Gh._Yq1: return 0; case _Gh._Zq1: return 0; case _Gh.__q1: return 0; case _Gh._0r1: return 0; case _Gh._1r1: return 0 } return 0 } function _Bs1(_qy) { switch (_qy) { case _Gh._gr1: return _cn1.KEEP; case _Gh._hr1: return _cn1.ZERO; case _Gh._ir1: return _cn1.REPLACE; case _Gh._jr1: return _cn1.INCR; case _Gh._kr1: return _cn1.DECR; case _Gh._lr1: return _cn1.INVERT; case _Gh._mr1: return _cn1.INCR; case _Gh._nr1: return _cn1.DECR; default: return _cn1.KEEP } } function _Fs1(_qy) { switch (_qy) { case _Gh._or1: return _cn1.NEVER; case _Gh._pr1: return _cn1.LESS; case _Gh._qr1: return _cn1.EQUAL; case _Gh._rr1: return _cn1.LEQUAL; case _Gh._sr1: return _cn1.GREATER; case _Gh._tr1: return _cn1.NOTEQUAL; case _Gh._ur1: return _cn1.GEQUAL; case _Gh._vr1: default: return _cn1.ALWAYS } } function _7t1(_Ys1, _Zs1) { switch (_Ys1) { case _Gh._Mo1: if (_Zs1) { _cn1.enable(_cn1.DEPTH_TEST) } else { _cn1.disable(_cn1.DEPTH_TEST); } break; case _Gh._Qo1: _cn1.depthMask(_Zs1); break; case _Gh._Po1: _cn1.frontFace((_Zs1 === _Gh._at) ? _cn1.CW : _cn1.CCW); break; case _Gh._No1: if (_Zs1) { _cn1.enable(_cn1.CULL_FACE) } else { _cn1.disable(_cn1.CULL_FACE) } break; case _Gh._Wo1: _cn1.colorMask(_Zs1._Mp, _Zs1._Np, _Zs1._Op, _Zs1.alpha); break; case _Gh._jp1: if (_Zs1) { _cn1.enable(_cn1.STENCIL_TEST) } else { _cn1.disable(_cn1.STENCIL_TEST) } break; case _Gh._br1: _xs1._Gs1 = _Bs1(_Zs1); _cn1.stencilOp(_xs1._Gs1, _xs1._Hs1, _xs1._Is1); break; case _Gh._cr1: _xs1._Hs1 = _Bs1(_Zs1); _cn1.stencilOp(_xs1._Gs1, _xs1._Hs1, _xs1._Is1); break; case _Gh._op1: _xs1._Is1 = _Bs1(_Zs1); _cn1.stencilOp(_xs1._Gs1, _xs1._Hs1, _xs1._Is1); break; case _Gh._lp1: _xs1._Es1 = _Fs1(_Zs1); _cn1.stencilFunc(_xs1._Es1, _xs1._mw, _xs1._Cs1); break; case _Gh._rp1: _xs1._mw = _Zs1; _cn1.stencilFunc(_xs1._Es1, _xs1._mw, _xs1._Cs1); break; case _Gh._dr1: _xs1._Cs1 = _Zs1; _cn1.stencilFunc(_xs1._Es1, _xs1._mw, _xs1._Cs1); break; case _Gh._er1: _cn1.stencilMask(_Zs1); break } } function _8t1() { if (_ms1 && _ms1._ho1) { _os1[_bs1]._9u(_os1[_as1], _os1[_8s1]); _os1[_cs1]._9u(_os1[_bs1], _os1[_9s1]); var _9t1 = new Float32Array(16 * _ds1); for (var _u2 = 0; _u2 < _ds1; _u2++) { _9t1.set(_os1[_u2]._gf, _u2 * 16) } _cn1.uniformMatrix4fv(_ms1._ho1, _cn1._at1, _9t1) } } function _bt1(_ct1) { if (_ct1 & _hs1) { if (_ms1._jo1 !== undefined) { _cn1.uniform1i(_ms1._jo1, _vs1) } if (_ms1._ko1 !== undefined) { _cn1.uniform1f(_ms1._ko1, _ws1) } } if ((_ct1 & _es1) && (_ms1._io1 !== undefined)) { _cn1.uniform4fv(_ms1._io1, _us1) } if (_ct1 & _fs1) { if (_ms1._no1 !== undefined) { _cn1.uniform4fv(_ms1._no1, _qs1) } if (_ms1._mo1 !== undefined) { _cn1.uniform4fv(_ms1._mo1, _rs1) } if (_ms1._oo1 !== undefined) { _cn1.uniform4fv(_ms1._oo1, _ss1) } } if ((_ct1 & _gs1) && (_ms1._po1 !== undefined)) { _cn1.uniform4fv(_ms1._po1, _ts1) } } function _dt1(_Ak, _6p1) { if (_Ak === null || _Ak === undefined) { return } var _et1 = _ps1[_6p1]; if (_et1 === null || _et1 === undefined) { return } var _ft1 = _et1._gt1; var _ht1 = _Ak._it1._gt1; if (_ft1[_Gh._fp1] != _ht1[_Gh._fp1]) { _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MAG_FILTER, (_ft1[_Gh._fp1] == _Gh._wr1) ? _cn1.LINEAR : _cn1.NEAREST); _ht1[_Gh._fp1] = _ft1[_Gh._fp1] } if (_ft1[_Gh._gp1] != _ht1[_Gh._gp1]) { _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_MIN_FILTER, (_ft1[_Gh._gp1] == _Gh._wr1) ? _cn1.LINEAR : _cn1.NEAREST); _ht1[_Gh._gp1] = _ft1[_Gh._gp1] } if (_ft1[_Gh._9p1] != _ht1[_Gh._9p1]) { if (_Ak._jt1) { var _kt1 = (_ft1[_Gh._9p1] == _Gh._cp1) ? _cn1.CLAMP_TO_EDGE : _cn1.REPEAT; _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_WRAP_S, _kt1) } else { debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_S") } _ht1[_Gh._9p1] = _ft1[_Gh._9p1] } if (_ft1[_Gh._bp1] != _ht1[_Gh._bp1]) { if (_Ak._jt1) { var _kt1 = (_ft1[_Gh._bp1] == _Gh._cp1) ? _cn1.CLAMP_TO_EDGE : _cn1.REPEAT; _cn1.texParameteri(_cn1.TEXTURE_2D, _cn1.TEXTURE_WRAP_T, _kt1) } else { debug("WARNING: Non-pow2 texture for TEXTURE_WRAP_T") } _ht1[_Gh._bp1] = _ft1[_Gh._bp1] } } this._Ho1 = function() { var _u2, error, _ww, _Bo1, _lt1, _Ao1, _hg, _Sp, _Dg, enable; _u2 = 0; while (_u2 < _is1.length) { switch (_is1[_u2]) { case _Vr1: { var _uo1 = _is1[_u2 + 1]; _u2 += 2; _ms1 = _uo1; _cn1.useProgram(_ms1); _8t1(); _bt1(0xff); break } case _Pr1: { _cn1.viewport(_is1[_u2 + 1], _is1[_u2 + 2], _is1[_u2 + 3], _is1[_u2 + 4]); _cn1.scissor(_is1[_u2 + 1], _is1[_u2 + 2], _is1[_u2 + 3], _is1[_u2 + 4]); _u2 += 5; break } case _Rr1: { _Dg = _is1[_u2 + 2]; _cn1.clearColor((_Dg & 0xff) / 255.0, ((_Dg >> 8) & 0xff) / 255.0, ((_Dg >> 16) & 0xff) / 255.0, ((_Dg >> 24) & 0xff) / 255.0); _cn1.clear(_is1[_u2 + 1]); _u2 += 3; break } case _Nr1: { _os1[_9s1] = _is1[_u2 + 1]; _8t1(); _u2 += 2; break } case _Or1: { _os1[_8s1] = _is1[_u2 + 1]; _8t1(); _u2 += 2; break } case _Mr1: { _os1[_as1] = _is1[_u2 + 1]; _8t1(); _u2 += 2; break } case _Fr1: { _hg = _is1[_u2 + 1]; _Ao1 = _is1[_u2 + 2]; _u2 += 3; if (_hg === null) { _hg = _ys1; _cn1.activeTexture(_cn1.TEXTURE0 + _Ao1); _cn1.bindTexture(_cn1.TEXTURE_2D, _hg._bq1); _cn1.uniform1i(_ms1._go1, 0); _ns1[_Ao1] = null } else { _cn1.activeTexture(_cn1.TEXTURE0 + _Ao1); _cn1.bindTexture(_cn1.TEXTURE_2D, _hg._bq1); _cn1.uniform1i(_ms1._go1, 0); _dt1(_hg, _Ao1); _ns1[_Ao1] = _hg } break } case _Qr1: { var _Eh = _is1[_u2 + 1]; _u2 += 2; if (_Eh._mt1) { _Eh._nt1() } _Eh._ot1 = this._ie; _cn1.bindBuffer(_cn1.ARRAY_BUFFER, _Eh._pt1); var _qt1 = _Eh._rt1; for (var _df = 0; _df < _ms1._fo1.length; _df++) { if (_ms1._fo1[_df] >= 0) { var _st1 = _qt1._Sj[_df]; _cn1.enableVertexAttribArray(_ms1._fo1[_df]); _cn1.vertexAttribPointer(_ms1._fo1[_df], _st1._tt1, _st1._ut1, _st1._vt1, _qt1._Yj, _st1._A2) } } } break; case _Gr1: { _cn1.drawArrays(_cn1.TRIANGLES, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Hr1: { _cn1.drawArrays(_cn1.TRIANGLE_FAN, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Ir1: { _cn1.drawArrays(_cn1.TRIANGLE_STRIP, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Jr1: { _cn1.drawArrays(_cn1.LINES, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Kr1: { _cn1.drawArrays(_cn1.LINE_STRIP, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Lr1: { _cn1.drawArrays(_cn1.POINTS, _is1[_u2 + 1], _is1[_u2 + 2]); _u2 += 3; break } case _Sr1: { _cn1.bindFramebuffer(_cn1.FRAMEBUFFER, _is1[_u2 + 1]); _u2 += 2; break } case _Tr1: { _cn1.colorMask(_is1[_u2 + 2], _is1[_u2 + 3], _is1[_u2 + 4], _is1[_u2 + 1]); _u2 += 5; break } case _Ur1: { _cn1.blendFunc(_6t1(_is1[_u2 + 1]), _6t1(_is1[_u2 + 2])); _u2 += 3; break } case _0s1: { var _wt1 = _is1[_u2 + 1]; var _xt1 = _is1[_u2 + 2]; _u2 += 3; _7t1(_wt1, _xt1); break } case _Wr1: { _ww = _is1[_u2 + 1]; _Bo1 = _is1[_u2 + 2]; _u2 += 3; switch (_Bo1.length) { case 1: _cn1.uniform1iv(_ww, _Bo1); break; case 2: _cn1.uniform2iv(_ww, _Bo1); break; case 3: _cn1.uniform3iv(_ww, _Bo1); break; case 4: _cn1.uniform4iv(_ww, _Bo1); break } break } case _Xr1: { _ww = _is1[_u2 + 1]; _Bo1 = _is1[_u2 + 2]; _u2 += 3; switch (_Bo1.length) { case 1: _cn1.uniform1fv(_ww, _Bo1); break; case 2: _cn1.uniform2fv(_ww, _Bo1); break; case 3: _cn1.uniform3fv(_ww, _Bo1); break; case 4: _cn1.uniform4fv(_ww, _Bo1); break } break } case _Yr1: { _ww = _is1[_u2 + 1]; _Bo1 = _is1[_u2 + 2]; _lt1 = _is1[_u2 + 3]; _u2 += 4; switch (_lt1) { case 1: _cn1.uniform1iv(_ww, _Bo1); break; case 2: _cn1.uniform2iv(_ww, _Bo1); break; case 3: _cn1.uniform3iv(_ww, _Bo1); break; case 4: _cn1.uniform4iv(_ww, _Bo1); break } break } case _Zr1: { _ww = _is1[_u2 + 1]; _Bo1 = _is1[_u2 + 2]; _lt1 = _is1[_u2 + 3]; _u2 += 4; switch (_lt1) { case 1: _cn1.uniform1fv(_ww, _Bo1); break; case 2: _cn1.uniform2fv(_ww, _Bo1); break; case 3: _cn1.uniform3fv(_ww, _Bo1); break; case 4: _cn1.uniform4fv(_ww, _Bo1); break } break } case __r1: { _ww = _is1[_u2 + 1]; _Bo1 = _is1[_u2 + 2]; _u2 += 3; switch (_Bo1.length) { case 2: _cn1.uniformMatrix2fv(_ww, !1, _Bo1); break; case 3: _cn1.uniformMatrix3fv(_ww, !1, _Bo1); break; case 4: _cn1.uniformMatrix4fv(_ww, !1, _Bo1); break } break } case _1s1: { _Ao1 = _is1[_u2 + 1]; var _cF = _is1[_u2 + 2]; var _yt1 = _is1[_u2 + 3]; _u2 += 4; var _et1 = _ps1[_Ao1]; _et1._gt1[_cF] = _yt1; _dt1(_ns1[_Ao1], _Ao1); break } case _2s1: { _Sp = _is1[_u2 + 1]; _qs1.set(_is1[_u2 + 2], _Sp * 4); _rs1.set(_is1[_u2 + 3], _Sp * 4); _ss1.set(_is1[_u2 + 4], _Sp * 4); _u2 += 5; _bt1(_fs1); break } case _3s1: { _ts1.set(_is1[_u2 + 1]); _u2 += 2; _bt1(_gs1); break } case _4s1: { _us1.set(_is1[_u2 + 1]); _u2 += 2; _bt1(_es1); break } case _5s1: { _Sp = _is1[_u2 + 1]; enable = _is1[_u2 + 2]; _Dg = _is1[_u2 + 3]; _u2 += 4; if (enable) { _ss1.set(_Dg, _Sp * 4) } else { var _vt = _Sp * 4; _ss1[_vt + 0] = 0; _ss1[_vt + 1] = 0; _ss1[_vt + 2] = 0; _ss1[_vt + 3] = 0 } _bt1(_fs1); break } case _6s1: { _vs1 = _is1[_u2 + 1]; _ws1 = _is1[_u2 + 2]; _u2 += 3; _bt1(_hs1); break } case _7s1: { _hg = _is1[_u2 + 1]; var _Cf = _is1[_u2 + 2]; var _Ef = _is1[_u2 + 3]; var canvas = _is1[_u2 + 4]; _u2 += 5; _cn1.activeTexture(_cn1.TEXTURE0); _cn1.bindTexture(_cn1.TEXTURE_2D, _hg._bq1); _cn1.texSubImage2D(_cn1.TEXTURE_2D, 0, _Cf, _Ef, _cn1.RGBA, _cn1.UNSIGNED_BYTE, canvas); if (_ns1.length > 0) { _cn1.bindTexture(_cn1.TEXTURE_2D, _ns1[0]._bq1) } break } } } _is1.length = 0 } } function _Jn1(_zt1, _bg, _cg, _At1) { var _cn1 = this._In1; var _Bt1, _Ct1, _Dt1, _Et1, _Ft1; Object.defineProperties(this, { _it1: { get: function() { return _Bt1 } }, _bq1: { get: function() { return _Ct1 } }, _cq1: { get: function() { return _Dt1 } }, _dq1: { get: function() { return _Et1 } }, _jt1: { get: function() { return _Ft1 } } }); (function() { _Ct1 = _zt1; _Dt1 = _bg; _Et1 = _cg; _Ft1 = _At1; _Bt1 = new _Ln1(); _Bt1._Gt1(_cn1.TEXTURE_2D) })() } function _Ln1(_Dr1) { var _cn1 = this._In1; var _Ht1 = []; Object.defineProperties(this, { _gt1: { get: function() { return _Ht1 } } }); (function() { if (_Dr1) { _Ht1[_Gh._fp1] = _Gh._wr1; _Ht1[_Gh._gp1] = _Gh._wr1 } else { _Ht1[_Gh._fp1] = _Gh._xr1; _Ht1[_Gh._gp1] = _Gh._xr1 } _Ht1[_Gh._9p1] = _Gh._cp1; _Ht1[_Gh._bp1] = _Gh._cp1 })(); this._Gt1 = function(_tP) { var _It1 = _Ht1; _cn1.texParameteri(_tP, _cn1.TEXTURE_MAG_FILTER, (_It1[_Gh._fp1] == _Gh._wr1) ? _cn1.LINEAR : _cn1.NEAREST); _cn1.texParameteri(_tP, _cn1.TEXTURE_MIN_FILTER, (_It1[_Gh._gp1] == _Gh._wr1) ? _cn1.LINEAR : _cn1.NEAREST); _cn1.texParameteri(_tP, _cn1.TEXTURE_WRAP_S, (_It1[_Gh._9p1] == _Gh._cp1) ? _cn1.CLAMP_TO_EDGE : _cn1.REPEAT); _cn1.texParameteri(_tP, _cn1.TEXTURE_WRAP_T, (_It1[_Gh._bp1] == _Gh._cp1) ? _cn1.CLAMP_TO_EDGE : _cn1.REPEAT) } } function _8j(_Cj, _Jt1, _Kt1) { var _cn1 = this._In1; this._Lt1; this._lj; this._pt1; this._Nh; this._Ph; this._tj; this._Rh; this._rt1 = _Jt1; this._ot1 = -1; this._Lh = 0; this._Mt1 = _Cj; this._mt1 = !1; _Nt1(this); function _Nt1(_uN) { _Ot1(_uN); _Pt1(_uN); if (_Kt1) { _Qt1(_uN) } } function _Ot1(_uN) { var _Rt1 = _uN._rt1._Yj; _uN._Lt1 = new ArrayBuffer(_Cj * _Rt1); _uN._lj = new Int8Array(_uN._Lt1) } function _Qt1(_uN) { _uN._pt1 = _cn1.createBuffer(); _cn1.bindBuffer(_cn1.ARRAY_BUFFER, _uN._pt1); _cn1.bufferData(_cn1.ARRAY_BUFFER, _uN._lj, _cn1.DYNAMIC_DRAW) } function _Pt1(_uN) { var _St1 = _uN._rt1._Sj; for (var _df = 0; _df < _St1.length; _df++) { var _st1 = _St1[_df]; switch (_st1._Uj) { case _Gh._6k: _uN._Nh = _Tt1(_st1._ut1, _uN._Lt1, _st1._A2); break; case _Gh._bk: _uN._Ph = _Tt1(_st1._ut1, _uN._Lt1, _st1._A2); break; case _Gh._lk: _uN._tj = _Tt1(_st1._ut1, _uN._Lt1, _st1._A2); break; case _Gh._jk: _uN._Rh = _Tt1(_st1._ut1, _uN._Lt1, _st1._A2); break } } } function _Tt1(_Ut1, _Vt1, _Wt1) { switch (_Ut1) { case _cn1.UNSIGNED_BYTE: return (new Int32Array(_Vt1, _Wt1)); break; case _cn1.FLOAT: return (new Float32Array(_Vt1, _Wt1)); break } return !1 } this._Xt1 = function(_vq1) { if (_vq1._Kh() === this._Kh()) { var _wk = _vq1._Lh * _vq1._Kh(); var _A2 = this._Lh * this._Kh(); if ((_A2 + _wk) > this._lj.length) { var _Yt1 = new ArrayBuffer(this._lj.length * 2); var _kj = new Int8Array(_Yt1); _kj.set(this._lj); this._lj = _kj; this._Lt1 = _Yt1; _Pt1(this) } this._lj.set(_vq1._lj.subarray(0, _wk), _A2); this._Lh += _vq1._Lh } }; this._uk = function() { if (this._Lh < this.max) { var _wk = this._Lh * this._Kh(); var _Zt1 = new ArrayBuffer(_wk); var __t1 = new Int8Array(_Zt1); __t1.set(this._lj.subarray(0, _wk)); this._lj = __t1; this._Lt1 = _Zt1 } this._pt1 = _cn1.createBuffer(); _cn1.bindBuffer(_cn1.ARRAY_BUFFER, this._pt1); _cn1.bufferData(_cn1.ARRAY_BUFFER, this._lj, _cn1.STATIC_DRAW); this._Nh = null; this._Ph = null; this._tj = null; this._Rh = null }; this._bj = function(_0u1) { if ((this._Lh + _0u1) > this.max) { var _1u1 = this.max * 2; this.max = _1u1; var __j = new ArrayBuffer(_1u1); var _1k = new Int8Array(__j); _1k.set(this._lj); this._Lt1 = __j; _Pt1(this) } this._Lh += _0u1 }; this._Kh = function() { return this._rt1._Yj }; this._nt1 = function() { _cn1.bindBuffer(_cn1.ARRAY_BUFFER, this._pt1); var _2u1 = new Int8Array(this._Lt1, 0, this._Lh * this._rt1._Yj); _cn1.bufferSubData(_cn1.ARRAY_BUFFER, 0, _2u1); this._Lh = 0; this._mt1 = !1 } } function _En1(_3u1) { var _cn1 = this._In1; var _4u1 = []; var _5u1 = 0, _js1 = null, _6u1 = null, _7u1 = _Gh._zq1, _ks1 = null; var _8u1 = _3u1; this._Xn1 = function(_3k) { if (_4u1[_3k]) { debug("WARNING: Vertex format has already been registered\n") } else { _4u1[_3k] = new _vn() } }; this._xq1 = function(__i, _Ak, _vq1, _wq1) { var _k2 = _vq1._Lh - _wq1; switch (__i) { case _Gh._Hh: _8u1._Fp1(0, _Ak); _8u1._Ks1(_vq1); _8u1._Ms1(_wq1, _k2); break; case _Gh._4j: _8u1._Fp1(0, _Ak); _8u1._Ks1(_vq1); _8u1._Ps1(_wq1, _k2); break; case _Gh._3j: _8u1._Fp1(0, _Ak); _8u1._Ks1(_vq1); _8u1._Qs1(_wq1, _k2); break; case _Gh._1j: _8u1._Fp1(0, null); _8u1._Ks1(_vq1); _8u1._Rs1(_wq1, _k2); break; case _Gh._2j: _8u1._Fp1(0, null); _8u1._Ks1(_vq1); _8u1._Ss1(_wq1, _k2); break; case _Gh._0j: _8u1._Fp1(0, null); _8u1._Ks1(_vq1); _8u1._P81(_wq1, _k2); break } }; this._bo1 = function() { if (_6u1 == null) return; this._xq1(_7u1, _js1, _6u1, _5u1); _6u1 = _js1 = null; _7u1 = _Gh._zq1 }; this._Fh = function(__i, _9u1, _3k, _au1, _Jt1, _bu1) { var _u2, _cu1, _Eh, _du1; _du1 = _9u1; if (_6u1 != null) { if ((_6u1._2o1 == _3k) && ((_6u1._Lh + _au1) <= _6u1._Mt1) && (_js1 == _du1) && (_7u1 == __i) && ((__i != _Gh._2j) && (__i != _Gh._3j) && (__i != _Gh._4j))) { return _6u1 } else { var _eu1 = _6u1; this._bo1(); if ((_eu1._2o1 == _3k) && ((_eu1._Lh + _au1) <= _eu1._Mt1)) { _6u1 = _eu1; _5u1 = _eu1._Lh; _7u1 = __i; _js1 = _du1; return _6u1 } } } _7u1 = __i; _js1 = _du1; _cu1 = _4u1[_3k]._Hn; for (_u2 = _cu1.length - 1; _u2 >= 0; _u2--) { _Eh = _cu1[_u2]; if ((_Eh._ot1 != _bu1) && (_Eh._Lh + _au1) <= _Eh._Mt1) { _Eh._mt1 = !0; _5u1 = _Eh._Lh; _6u1 = _Eh; return _Eh } } if (_au1 < _9j) { _au1 = _9j } _Eh = new _8j(_au1, _Jt1, !0); _Eh._2o1 = _3k; _Eh._mt1 = !0; _5u1 = _Eh._Lh; _6u1 = _Eh; _4u1[_3k]._yn(_Eh); return _Eh } } function _Kn1() { var _cn1 = this._In1; var _fu1 = 1; var _gu1 = [], _hu1 = 0, _iu1 = 0; Object.defineProperties(this, { _Sj: { get: function() { return _gu1 }, set: function(_Pk) { _gu1 = _Pk } }, _Xj: { get: function() { return _iu1 }, set: function(_Pk) { _iu1 = _Pk } }, _Yj: { get: function() { return _hu1 }, set: function(_Pk) { _hu1 = _Pk } } }); function _yn(_Pj, _Oj, _ju1) { _iu1 |= _ju1; var _st1 = { _A2: _hu1, type: _Pj, _Uj: _Oj, _Vj: _ju1, _ut1: 0, _tt1: 0 }; switch (_Pj) { case _Gh._ck: case _Gh._tk: _hu1 += 4; _st1._ut1 = _cn1.UNSIGNED_BYTE; _st1._tt1 = 4; _st1._vt1 = !0; break; case _Gh._nk: _hu1 += 4; _st1._ut1 = _cn1.FLOAT; _st1._tt1 = 1; _st1._vt1 = !1; break; case _Gh._7k: _hu1 += 8; _st1._ut1 = _cn1.FLOAT; _st1._tt1 = 2; _st1._vt1 = !1; break; case _Gh._9k: _hu1 += 12; _st1._ut1 = _cn1.FLOAT; _st1._tt1 = 3; _st1._vt1 = !1; break; case _Gh._rk: _hu1 += 16; _st1._ut1 = _cn1.FLOAT; _st1._tt1 = 4; _st1._vt1 = !1; break } _gu1.push(_st1) } this._Un1 = function() { _yn(_Gh._7k, _Gh._6k, _fu1); _fu1 = _fu1 << 1 }; this._Zn1 = function() { _yn(_Gh._9k, _Gh._6k, _fu1); _fu1 = _fu1 << 1 }; this._Vn1 = function() { _yn(_Gh._ck, _Gh._bk, _fu1); _fu1 = _fu1 << 1 }; this.__n1 = function() { _yn(_Gh._9k, _Gh._lk, _fu1); _fu1 = _fu1 << 1 }; this._Wn1 = function() { _yn(_Gh._7k, _Gh._jk, _fu1); _fu1 = _fu1 << 1 }; this._ku1 = function(_Pj, _Oj) { if ((_Pj < _Gh._nk) || (_Pj > _Gh._Lq1)) { debug("ERROR vertex_format_add_custom: illegal types"); return } if ((_Oj < _Gh._6k) || (_Oj > _Gh._Kq1)) { debug("ERROR vertex_format_add_custom: illegal usage"); return } _yn(_Pj, _Oj, _fu1); _fu1 = _fu1 << 1 }; this._eT = function(_1o1) { if (_gu1.length !== _1o1._Sj.length) { return !1 } for (var _u2 = 0; _u2 < _gu1.length; _u2++) { var _lu1 = _gu1[_u2]; var _mu1 = _1o1._Sj[_u2]; if ((_lu1._A2 !== _mu1._A2) || (_lu1.type !== _mu1.type) || (_lu1._Uj !== _mu1._Uj) || (_lu1._Vj !== _mu1._Vj) || (_lu1._ut1 !== _mu1._ut1) || (_lu1._tt1 !== _mu1._tt1)) { return !1 } } return !0 } } function _nu1() { _rD = _ou1; _tD = _pu1; _uD = _qu1; _vD = _ru1; _wD = _su1; _bo = function() { try { return window["GetHardwareId"]() } catch (e) { var id = 0xFF5025da3ad78cac9; return id.toString() } } } function _tu1() { _sD({ type: _fD, status: _kD }) } function _uu1() { _sD({ type: _fD, status: _lD }) } function _ou1(_vu1) { window["buildStoreProxyFile"](_vu1, _wu1, function() { window["activateStore"](function() { window["synchroniseProducts"](function(_xu1) { _sD({ type: _gD, _RD: _xu1 }) }, function(_xu1) { _sD({ type: _hD, _RD: _xu1 }) }, _uu1, _tu1) }, _tu1) }, _tu1) } function _pu1() { window["restorePurchases"](function(_yu1) { _sD({ type: _jD, _Ev: _yu1 }) }) } function _qu1(_dn, _zu1) { window["purchaseContent"](_dn, _zu1, function(_xu1) { _sD({ type: _hD, _RD: _xu1 }) }, function(_xu1) { _sD({ type: _hD, _RD: _xu1 }) }) } function _ru1(_dn) { window["consumeContent"](_dn, function(_xu1) { _sD({ type: _iD, _RD: _xu1 }) }, function(_xu1) { _sD({ type: _iD, _RD: _xu1 }) }) } function _su1(_dn) { var response = "{ \"response\":6 }"; _sD({ type: _gD, _RD: response }) } function _wu1(_vu1, _Au1) { var _Bu1 = "\r\n" + "\r\n" + " \r\n" + " \r\n" + " 00000000-0000-0000-0000-000000000000\r\n" + " \r\n" + " en-US\r\n" + " 3\r\n" + " \r\n" + " In-app purchases\r\n" + " AppDescription\r\n" + " 0.99\r\n" + " $\r\n" + " USD\r\n" + " \r\n" + " \r\n"; var _Cu1 = " \r\n" + " \r\n" + " PRODUCT_NAME\r\n" + " PRODUCT_PRICE\r\n" + " $\r\n" + " USD\r\n" + " \r\n" + " \r\n"; var _Du1 = " \r\n" + " \r\n" + " \r\n" + " true\r\n" + " false\r\n" + " \r\n"; var _Eu1 = " \r\n" + " PRODUCT_ACTIVE\r\n" + " \r\n"; var _Fu1 = " \r\n" + "\r\n"; var _Gu1 = _Bu1; for (var _yA = 0; _yA < _vu1.length; _yA++) { var product = _vu1[_yA]; var _zD = "1.00"; if ((product._zD != null) && (product._zD != undefined) && (product._zD != "")) { _zD = product._zD; if (typeof(_zD) == "number") { _zD = _zD.toString() } _zD = _zD.replace("$", ""); _zD = _zD.replace("�", "") } var _Hu1 = _Cu1.replace("PRODUCT_ID", product._yD); _Hu1 = _Hu1.replace("PRODUCT_NAME", product.title); _Hu1 = _Hu1.replace("PRODUCT_PRICE", _zD); _Gu1 += _Hu1 } _Gu1 += _Du1; for (var _yA = 0; _yA < _vu1.length; _yA++) { var product = _vu1[_yA]; var _Iu1 = _Au1[product._yD]; var _Ju1 = (_Iu1 == null || _Iu1 == undefined) ? !1 : _Iu1; var _Ku1 = _Eu1.replace("PRODUCT_ID", product._yD).replace("PRODUCT_ACTIVE", _Ju1 ? "true" : "false"); _Gu1 += _Ku1 } _Gu1 += _Fu1; return _Gu1 } var _Lu1 = null;; function _Mu1() { _Nu1 = !1; if (_8v) { var _Ou1 = _8v.document.getElementById('debug_console'); if ((_Ou1 != undefined) && (_Ou1 != null)) { _Ou1.style.display = "none" } } _7O = canvas.width = window.outerWidth; _8O = canvas.height = window.outerHeight; _Pu1 = !0 } var _Qu1 = []; function _Ru1(_Am) { for (var _Su1 = 0; _Su1 < _Qu1.length; _Su1++) { if (_Qu1[_Su1] === _Am) { return _Su1 } } return -1 } function _Tu1(_Uu1) { var _Cm = -1; var _Vu1 = !0; for (var _Su1 = 0; _Su1 < _Qu1.length; _Su1++) { if (_Qu1[_Su1] !== -1) { _Vu1 = !1; break } } for (var _Su1 = 0; _Su1 < _Qu1.length; _Su1++) { if (_Su1 === 0 && _Vu1 === !1) { continue } if ((_Qu1[_Su1] === _Uu1) || (_Qu1[_Su1] === -1)) { _Cm = _Su1; break } } if (_Cm == -1) { _Cm = _Qu1.length } _Qu1[_Cm] = _Uu1; _Dm[_Cm] = new _hm(); return _Cm } function _Wu1(_Xu1, _ye, _ze) { var _Cm = _Ru1(_Xu1); if (_Cm == 0) { return } if (_Cm == -1) { _Cm = _Yu1(_Xu1, _ye, _ze) } else { if (_Cm == 0) { if (_Pm != null) { _Qm = _ye; _Rm = _ze } _Sm = 1 } _Dm[_Cm]._w2 = _ye; _Dm[_Cm]._x2 = _ze; _Tm[_Cm]._w2 = _ye; _Tm[_Cm]._x2 = _ze } } function _Yu1(_Xu1, _ye, _ze) { var _Cm = _Tu1(_Xu1); if (_Cm == 0) { return } if (_Cm == 0) { if (_Pm != null) { _Qm = _ye; _Rm = _ze } _Sm = 1 } _Dm[_Cm]._w2 = _ye; _Dm[_Cm]._x2 = _ze; _Tm[_Cm]._w2 = _ye; _Tm[_Cm]._x2 = _ze; _Dm[_Cm].__k = 1; _Tm[_Cm]._Um = _Vm | _Wm | _Xm; return _Cm } function _Zu1(_Xu1, _ye, _ze) { var _Cm = _Ru1(_Xu1); _Qu1[_Cm] = -1; if (_Cm == 0) { return } if (_Cm == 0) { if (_Pm != null) { _Qm = _ye; _Rm = _ze } _Sm = 0 } _Dm[_Cm]._w2 = _ye; _Dm[_Cm]._x2 = _ze; _Tm[_Cm]._w2 = _ye; _Tm[_Cm]._x2 = _ze; _Dm[_Cm].__k = 0; _Tm[_Cm]._Um = 0 } function __u1(_Xu1, _ye, _ze) { var _Cm = _Ru1(_Xu1); _Zu1(_Xu1, _ye, _ze) } function gse(_0v1, _1v1) { switch (_0v1) { case "resize": return _Mu1; case "loading": if (!_cv._W4._o5) { _2v1 = _1v1; return !0 } return !1; case "onloaded": if (!_cv._W4._o5) { _3v1 = _1v1 } break; case "console": if (!_cv._W4._o5) { _4v1 = function() {}; _5v1 = function() {} } debug = _6v1; _dv = _7v1; break; case "pause": _8v1(_1v1); break; case "mousescale": _9v1 = function(_av1) { var _r2 = canvas.width / window.outerWidth; var _s2 = canvas.height / window.outerHeight; _Qm = _av1.pageX * _r2; _Rm = _av1.pageY * _s2; _Tm[_av1.button]._w2 = _Qm; _Tm[_av1.button]._x2 = _Rm }; break; case "ontouchmove": _Wu1(arguments[1], arguments[2], arguments[3]); break; case "ontouchdown": _Yu1(arguments[1], arguments[2], arguments[3]); break; case "ontouchup": _Zu1(arguments[1], arguments[2], arguments[3]); break; case "ontouchcancel": __u1(arguments[1], arguments[2], arguments[3]); break; case "browser": _KC = _bv1; _cv1 = _dv1; _vP = arguments[1]; _UC = _ev1; _fv1 = _gv1; break; case "cmd_line": _hv1(arguments[1]); break; case "iap": _nu1(); break; case "async": _iv1(arguments[1]); break; case "dpi": _Sz = _Tz = arguments[1]; break; case "language": _Ly = arguments[1]; break; case "ads": _FP = arguments[1]; _GP = arguments[2]; _HP = arguments[3]; return _jv1; case "analytics": _Zy = arguments[1]; __y = arguments[2]; return _kv1; } } function _jv1(_0F) { if (_cv._lv1) { var _mv1 = { "appId": _cv._lv1._nv1, "unitId": _cv._lv1._ov1[_0F]._pv1, "size": _cv._lv1._ov1[_0F]._k2 }; return _mv1 } return null } function _kv1() { if (_cv._qv1) { return _cv._qv1._nv1 } return null } function _hv1(_rv1) { if (_rv1 == "" || _rv1 == null || _rv1 == undefined) { return } try { var _Cn = _rv1.split('&'); for (var _sv1 in _Cn) { var _AX = _Cn[_sv1].split('='); _tv1[_tv1.length] = _AX[0]; _uv1[_uv1.length] = _AX[1]; _vv1++ } } catch (e) { alert(e._wv1 + ". Malformed command line parameters: \"" + _rv1 + "\"") } } function _iv1(_xv1) { _Vv = function(_qv) { _uv = "win8AsyncMessageDialog"; _Nv._yn(_qv.id, null, _Ov, _uv); _xv1[0](_qv._zv[0], function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = 1 }, function() { _wv = !1; _Jv(_qv.id) }) }; _Tv = function(_qv) { _uv = "win8AsyncQuestionDialog"; _Nv._yn(_qv.id, null, _Ov, _uv); _xv1[1](_qv._zv[0], function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = 1 }, function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = 0 }, function() { _wv = !1; _Jv(_qv.id) }) }; _Pv = function(_qv) { _uv = "win8AsyncInputDialog"; _Nv._yn(_qv.id, null, _Ov, _uv); _xv1[2](_qv._zv[0], function() { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = ""; _Cv._Bv = ""; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _Cv._Gv = 0 }, function() { _wv = !1; _Jv(_qv.id) }) }; _pv = function(_qv) { _uv = "win8AsyncLoginDialog"; _Nv._yn(_qv.id, null, _Ov, _uv); _xv1[3](function(_Av, _Bv) { var _Cv = _Dv(_uv); if (!_Cv) return; _Cv._Av = _Av; _Cv._Bv = _Bv; _Cv._Gv = 1; _Cv.value = 0; _Cv._Ev = ""; _Cv._Fv = !0; _wv = !1; _Jv(_qv.id) }) } } function _dv1(_Pj, _uC, _AC, _yv1) { try { var _EC = new XMLHttpRequest(); if (_yv1) { _Nv._yn(_wC, _uC, _xC, _EC) } _EC.open(_Pj, _uC); _EC.ontimeout = function(_vw) { _QC(_vw, _EC) }; _EC.onerror = function(_vw) { _QC(_vw, _EC) }; _EC.onload = function(_vw) { _RC(_vw, _EC) }; _EC._SC = function() {}; _EC.send(_AC) } catch (e) { return -1 } return _wC++ } function _6v1() { if (_7v) { for (var index = 0; index < arguments.length; ++index) {} } } function _7v1(_ev) { if (_7v) { if (!_0v[_ev]) { _0v[_ev] = !0; alert(_ev); } } } function _ev1(_uC, _VC) { var _EC = { responseText: "", status: -1 }; _Nv._yn(_wC, _uC, _xC, _EC); window["downloadFile"](_uC, _VC, function(_zv1) { _EC.responseText = _zv1; _EC.status = 200; _RC(null, _EC) }, function(e) { _EC.responseText = e.message; _EC.status = e._Av1; _QC(null, _EC) }); return _wC++ } function _gv1(_Bv1, _Cv1) { return window["unzipContent"](_Bv1, _Cv1, function(_Dv1, _Ev1) { debug("zip_unzip() returned " + _Dv1 + " entries successfully") }, function(_Dv1, _Ev1) { debug("zip_unzip() returned " + _Dv1 + " entries with errors") }) } function _Fv1(_Ng) { return (((_Ng._uf * 255) & 0xff) << 0) | (((_Ng._Vg * 255) & 0xff) << 8) | (((_Ng._xf * 255) & 0xff) << 16) } function _Gv1(_2h, _JU, _Ng) { _J8(_Fv1(_Ng)); var scale = 1.0 / this._Hv1._FI; for (var _df = 0; _df < _JU; ++_df) { var _Iv1 = _2h[_df]; var _Jv1 = _2h[(_df + 1) % _JU]; _1h(_Iv1._w2 * scale, _Iv1._x2 * scale, _Jv1._w2 * scale, _Jv1._x2 * scale) } } function _Kv1(_2h, _JU, _Ng) { _J8(_Fv1(_Ng)); var scale = 1.0 / this._Hv1._FI; var _Iv1 = _2h[0]; for (var _df = 2; _df < _JU; ++_df) { var _Jv1 = _2h[_df - 1]; var _Lv1 = _2h[_df]; _nB(_Iv1._w2 * scale, _Iv1._x2 * scale, _Jv1._w2 * scale, _Jv1._x2 * scale, _Lv1._w2 * scale, _Lv1._x2 * scale, !1) } } function _Mv1(_MU, _NU, _Ng) { _J8(_Fv1(_Ng)); var scale = 1.0 / this._Hv1._FI; _NB((_MU._w2 - _NU) * scale, (_MU._x2 - _NU) * scale, (_MU._w2 + _NU) * scale, (_MU._x2 + _NU) * scale, !0) } function _Nv1(_MU, _NU, _PU, _Ng) { _J8(_Fv1(_Ng)); var scale = 1.0 / this._Hv1._FI; _NB((_MU._w2 - _NU) * scale, (_MU._x2 - _NU) * scale, (_MU._w2 + _NU) * scale, (_MU._x2 + _NU) * scale, !1) } function _Ov1(_RU, _SU, _Ng) { _J8(_Fv1(_Ng)); var scale = 1.0 / this._Hv1._FI; _1h(_RU._w2 * scale, _RU._x2 * scale, _SU._w2 * scale, _SU._x2 * scale) } function _Pv1(_MT) { var _Qv1 = 0.4; var scale = 1.0 / this._Hv1._FI; var _RU = _MT._yA, _SU = new _Rv1._Sv1(); _SU._w2 = _RU._w2 + _Qv1 * _MT._rz._JT()._w2; _SU._x2 = _RU._x2 + _Qv1 * _MT._rz._JT()._x2; _J8(_Tv1); _1h(_RU._w2 * scale, _RU._x2 * scale, _SU._w2 * scale, _SU._x2 * scale); _SU._w2 = _RU._w2 + _Qv1 * _MT._rz._KT()._w2; _SU._x2 = _RU._x2 + _Qv1 * _MT._rz._KT()._x2; _J8(_Uv1); _1h(_RU._w2 * scale, _RU._x2 * scale, _SU._w2 * scale, _SU._x2 * scale) } function _Vv1(_VU, _NU, _WU, _fg) { for (var _df = 0; _df < _fg; _df++) { var scale = 1.0 / this._Hv1._FI; _J8(((_WU[_df]._uf & 0xff) << 0) | ((_WU[_df]._Vg & 0xff) << 8) | ((_WU[_df]._xf & 0xff) << 16)); _NB((_VU[_df]._w2 - _NU) * scale, (_VU[_df]._x2 - _NU) * scale, (_VU[_df]._w2 + _NU) * scale, (_VU[_df]._x2 + _NU) * scale, !0) } } function _9I(_bI) { this.__31 = 0; this._041 = 0; this._Wv1 = _bI; this._Xv1 = !1; this._Yv1 = !0; this._Zv1 = !1; this.__v1 = new _Rv1._0w1(); this._0W = null }; _9I.prototype._DI = function(_1w1) { this._0W = null; this.__v1._BV = new _Rv1._2w1(); this.__v1._BV._gV = _1w1 }; _9I.prototype._HI = function() { this._0W = []; this.__v1._BV = new _Rv1._3w1() }; _9I.prototype._LI = function(_ye, _ze) { var _JU = this._0W.length; this._0W[_JU] = new _Rv1._Sv1(_ye, _ze) }; _9I.prototype._4w1 = function() { if (this._0W === null || this._0W === undefined) { return !0 } if (this.__v1._BV._fV === _Rv1._5w1._wV) { if (this._0W.length > 2) { this.__v1._BV._Tn(this._0W, this._0W.length); return !0 } } else if (this.__v1._BV._fV === _Rv1._5w1._xV) { if (this._Zv1) { if (this._0W.length >= 3) { this.__v1._BV._7W(this._0W, this._0W.length); return !0 } } else { if (this._0W.length >= 2) { this.__v1._BV._8W(this._0W, this._0W.length); return !0 } } } return !1 }; _9I.prototype._pI = function(_oI) { this.__v1._J51._I51 = _oI }; _9I.prototype._mI = function(_lI) { this.__v1._K51 = _lI }; _9I.prototype._jI = function(_iI) { this.__v1._L51 = _iI }; _9I.prototype._gI = function(_fI) { this.__v1._qV = _fI }; _9I.prototype._sI = function(_6w1) { this.__v1._M51 = _6w1 }; _9I.prototype._vI = function(_uI) { this.__31 = _uI }; _9I.prototype._xI = function(_uI) { this._041 = _uI }; _9I.prototype._xI = function(_uI) { this._041 = _uI }; _9I.prototype._AI = function(_zI) { this._Yv1 = _zI }; _9I.prototype._dI = function() { this._Xv1 = !0 }; var _7w1 = 0, _8w1 = 1, _9w1 = 2, _aw1 = 3, _bw1 = 4, _cw1 = 5, _dw1 = 6, _ew1 = 7, _fw1 = 8, _gw1 = 9, _hw1 = 10, _iw1 = 11, _jw1 = 12, _kw1 = 13, _lw1 = 14, _mw1 = 15, _nw1 = 16, _ow1 = 17, _pw1 = 18, _qw1 = 19, _rw1 = 20, _sw1 = 21, _tw1 = 22, _uw1 = 23, _vw1 = 24; function _ww1(_xw1) { this._yw1 = _xw1 }; _ww1.prototype._Vh1 = function(_zw1) { if ((this._yw1 instanceof _Rv1._Aw1) || (this._yw1 instanceof _Rv1._Bw1) || (this._yw1 instanceof _Rv1._Cw1)) { this._yw1._E81()._AI(!0); this._yw1._F81()._AI(!0); this._yw1._Vh1(_zw1) } }; function _Dw1(_Ew1, _Fw1, _NI, _OI) { this._Gw1 = _Ew1; this._Hw1 = _Fw1; this._Iw1 = new _Rv1._Sv1(_NI, _OI); this._Jw1 = [] }; _Dw1.prototype._P41 = function(_Kw1, _Lw1, _Mw1, _Nw1) { this._Gw1._P41(new _Rv1._Sv1(_Mw1, _Nw1), new _Rv1._Sv1(_Kw1, _Lw1), !0) }; _Dw1.prototype._X41 = function(_Ow1) { this._Gw1._X41(_Ow1, !0) }; _Dw1.prototype._T41 = function(_Pw1) { this._Gw1._T41(_Pw1, !0) }; _Dw1.prototype._Qw1 = function(_Rw1) { var position = this._Gw1._2I(); this._Gw1._H41(position, (_Rw1 * Math.PI) / 180.0); this._Gw1._AI(!0) }; _Dw1.prototype._Sw1 = function(_Fn) { var _Cg = this._Gw1._IT(); var _Tw1 = this._Gw1._2I()._x2; this._Gw1._H41(new _Rv1._Sv1(_Fn, _Tw1), _Cg); this._Gw1._AI(!0) }; _Dw1.prototype._Uw1 = function(_Fn) { var _Cg = this._Gw1._IT(); var _Vw1 = this._Gw1._2I()._w2; this._Gw1._H41(new _Rv1._Sv1(_Vw1, _Fn), _Cg); this._Gw1._AI(!0) }; _Dw1.prototype._N41 = function(_Ww1) { this._Gw1._N41((_Ww1 * Math.PI) / 180.0); this._Gw1._AI(!0) }; _Dw1.prototype._Xw1 = function(_Yw1) { var _Zw1 = this._Gw1._M41(); this._Gw1._L41(new _Rv1._Sv1(_Yw1, _Zw1._x2)); this._Gw1._AI(!0) }; _Dw1.prototype.__w1 = function(_Yw1) { var _Zw1 = this._Gw1._M41(); this._Gw1._L41(new _Rv1._Sv1(_Zw1._w2, _Yw1)); this._Gw1._AI(!0) }; _Dw1.prototype._k51 = function(_0x1) { this._Gw1._k51(_0x1) }; _Dw1.prototype._s51 = function(_1x1) { this._Gw1._s51(_1x1) }; _Dw1.prototype._q51 = function(_2x1) { this._Gw1._q51(_2x1) }; _Dw1.prototype._3x1 = function(_4x1) { var _cI = this._Gw1._u51(); while ((_cI != null) && (_cI != undefined)) { var _BV = _cI._T51(); var _5x1 = this._Gw1._2I(); if (_BV instanceof _Rv1._2w1) { _NB((_5x1._w2 - _BV._gV) * _4x1, (_5x1._x2 - _BV._gV) * _4x1, (_5x1._w2 + _BV._gV) * _4x1, (_5x1._x2 + _BV._gV) * _4x1, !0) } else if (_BV instanceof _Rv1._3w1) { var _6x1 = Math.sin(this._Gw1._IT()); var _7x1 = Math.cos(this._Gw1._IT()); for (var _df = 0; _df < _BV._1W; ++_df) { var _Iv1 = _BV._0W[_df]; var _Jv1 = _BV._0W[(_df + 1) % _BV._1W]; _1h((_5x1._w2 + ((_Iv1._w2 * _7x1) - (_Iv1._x2 * _6x1))) * _4x1, (_5x1._x2 + ((_Iv1._w2 * _6x1) + (_Iv1._x2 * _7x1))) * _4x1, (_5x1._w2 + ((_Jv1._w2 * _7x1) - (_Jv1._x2 * _6x1))) * _4x1, (_5x1._x2 + ((_Jv1._w2 * _6x1) + (_Jv1._x2 * _7x1))) * _4x1) } } _cI = _cI._X31 } }; _Dw1.prototype._8x1 = function(_4x1) { var _C51 = this._Gw1._U31; while ((_C51 != null) && (_C51 != undefined)) { var _D51 = _C51._D51; if (_D51 instanceof _Rv1._Aw1) { this._9x1(_D51, _4x1) } else if (_D51 instanceof _Rv1._Bw1) { this._ax1(_D51, _4x1) } else if (_D51 instanceof _Rv1._bx1) { this._cx1(_D51, _4x1) } else if (_D51 instanceof _Rv1._dx1) { this._ex1(_D51, _4x1) } else if (_D51 instanceof _Rv1._fx1) { if (_D51._gx1 != null) { this._9x1(_D51._gx1, _4x1) } if (_D51._hx1 != null) { this._9x1(_D51._hx1, _4x1) } if (_D51._ix1 != null) { this._ax1(_D51._ix1, _4x1) } if (_D51._jx1 != null) { this._ax1(_D51._jx1, _4x1) } } _C51 = _C51._X31 } }; _Dw1.prototype._cx1 = function(_kx1, _4x1) { var _zi1 = _kx1._G81(); var _Ai1 = _kx1._H81(); _1h(_zi1._w2 * _4x1, _zi1._x2 * _4x1, _Ai1._w2 * _4x1, _Ai1._x2 * _4x1) }; _Dw1.prototype._9x1 = function(_kx1, _4x1) { var anchor = _kx1._G81(); _1h((anchor._w2 * _4x1) - 2, (anchor._x2 * _4x1) - 2, (anchor._w2 * _4x1) + 2, (anchor._x2 * _4x1) + 2); _1h((anchor._w2 * _4x1) - 2, (anchor._x2 * _4x1) + 2, (anchor._w2 * _4x1) + 2, (anchor._x2 * _4x1) - 2) }; _Dw1.prototype._ax1 = function(_kx1, _4x1) { var _zi1 = _kx1._G81(); var _Ai1 = this._Gw1._2I(); _1h(_zi1._w2 * _4x1, _zi1._x2 * _4x1, _Ai1._w2 * _4x1, _Ai1._x2 * _4x1) }; _Dw1.prototype._ex1 = function(_kx1, _4x1) { var anchor, _lx1; if (_kx1._mx1() == this._Gw1) { anchor = _kx1._G81(); _lx1 = _kx1._L81() } else { anchor = _kx1._H81(); _lx1 = _kx1._M81() } _1h(anchor._w2 * _4x1, anchor._x2 * _4x1, _lx1._w2 * _4x1, _lx1._x2 * _4x1); _1h(_kx1._L81()._w2 * _4x1, _kx1._L81()._x2 * _4x1, _kx1._M81()._w2 * _4x1, _kx1._M81()._x2 * _4x1) }; _Dw1.prototype._nx1 = function(_ox1) { for (var _u2 = 0; _u2 < this._Jw1.length; _u2++) { if (this._Jw1[_u2] == null || this._Jw1[_u2] == undefined) { this._Jw1[_u2] = _ox1; return _u2 } } return (this._Jw1.push(_ox1) - 1) }; _Dw1.prototype._px1 = function(_qx1) { if (this._Jw1[_qx1]) { this._Gw1._y41(this._Jw1[_qx1]); this._Jw1[_qx1] = undefined } }; _Dw1.prototype._161 = function(_qx1) { if (this._Jw1[_qx1]) { return this._Jw1[_qx1]._161() } return 0.0 }; _Dw1.prototype._061 = function(_qx1) { if (this._Jw1[_qx1]) { return this._Jw1[_qx1]._061(); } return 0.0 }; _Dw1.prototype._261 = function(_qx1) { if (this._Jw1[_qx1]) { return this._Jw1[_qx1]._261() } return 0.0 }; _Dw1.prototype._mI = function(_qx1, _en) { if (this._Jw1[_qx1]) { this._Jw1[_qx1]._mI(_en) } }; _Dw1.prototype._gI = function(_qx1, _en) { if (this._Jw1[_qx1]) { this._Jw1[_qx1]._gI(_en); this._Gw1._v41() } }; _Dw1.prototype._jI = function(_qx1, _en) { if (this._Jw1[_qx1]) { this._Jw1[_qx1]._jI(_en) } }; var _rx1 = 10, _sx1 = 32, _tx1 = (1 << 0), _ux1 = (1 << 1), _vx1 = (1 << 2), _wx1 = (1 << 3), _xx1 = (1 << 4), _yx1 = (1 << 5), _zx1 = (1 << 6); var _Rv1 = null; function _Ax1() { if (_Rv1 === null) { var _wy = window["b2"]; _Rv1 = {}; _Rv1.version = _wy["version"]; _Rv1._Sv1 = _wy["Vec2"]; _Rv1._Bx1 = _wy["Vec3"]; _Rv1._Cx1 = _wy["Mat22"]; _Rv1._Dx1 = _wy["Mat33"]; _Rv1._Ex1 = _wy["Rot"]; _Rv1._Fx1 = _wy["Transform"]; _Rv1._Gx1 = _wy["Sweep"]; _Rv1._Hx1 = _wy["Dot_v2_v2"]; _Rv1._Ix1 = _wy["Cross_v2_v2"]; _Rv1._Jx1 = _wy["Cross_v2_f"]; _Rv1._Kx1 = _wy["Cross_f_v2"]; _Rv1._Lx1 = _wy["Mul_m22_v2"]; _Rv1._Mx1 = _wy["MulT_m22_v2"]; _Rv1._Nx1 = _wy["Distance"]; _Rv1._Ox1 = _wy["DistanceSquared"]; _Rv1._Px1 = _wy["Dot_v3_v3"]; _Rv1._Qx1 = _wy["Cross_v3_v3"]; _Rv1._Rx1 = _wy["Mul_m22_m22"]; _Rv1._Sx1 = _wy["MulT_m22_m22"]; _Rv1._Tx1 = _wy["Mul_m33_v3"]; _Rv1._Ux1 = _wy["Mul22_m33_v2"]; _Rv1._Vx1 = _wy["Mul_r_r"]; _Rv1._Wx1 = _wy["MulT_r_r"]; _Rv1._Xx1 = _wy["Mul_r_v2"]; _Rv1._Yx1 = _wy["MulT_r_v2"]; _Rv1._Zx1 = _wy["Mul_t_v2"]; _Rv1.__x1 = _wy["Min_v2"]; _Rv1._0y1 = _wy["Max_v2"]; _Rv1._1y1 = _wy["Clamp"]; _Rv1._2y1 = _wy["MulT_t_v2"]; _Rv1._3y1 = _wy["Mul_t_t"]; _Rv1._4y1 = _wy["MulT_t_t"]; _Rv1._5y1 = _wy["Clamp_v2"]; _Rv1._6y1 = _wy["NextPowerOfTwo"]; _Rv1._7y1 = _wy["Abs_v2"]; _Rv1._8y1 = _wy["Abs_m22"]; _Rv1._9y1 = _wy["IsPowerOfTwo"]; _Rv1._ay1 = _wy["RandomFloat"]; _Rv1._by1 = _wy["Timer"]; _Rv1._cy1 = _wy["Color"]; _Rv1._Ig = _wy["Draw"]; _Rv1._dy1 = _wy["ContactID"]; _Rv1._ey1 = _wy["ManifoldPoint"]; _Rv1._fy1 = _wy["Manifold"]; _Rv1._gy1 = _wy["WorldManifold"]; _Rv1._hy1 = _wy["GetPointStates"]; _Rv1._iy1 = _wy["ClipVertex"]; _Rv1._jy1 = _wy["RayCastInput"]; _Rv1._ky1 = _wy["RayCastOutput"]; _Rv1._ly1 = _wy["AABB"]; _Rv1._my1 = _wy["CollideCircles"]; _Rv1._ny1 = _wy["CollidePolygonAndCircle"]; _Rv1._oy1 = _wy["FindMaxSeparation"]; _Rv1._py1 = _wy["FindIncidentEdge"]; _Rv1._qy1 = _wy["CollidePolygons"]; _Rv1._ry1 = _wy["CollideEdgeAndCircle"]; _Rv1._sy1 = _wy["EPAxis"]; _Rv1._ty1 = _wy["TempPolygon"]; _Rv1._uy1 = _wy["ReferenceFace"]; _Rv1._vy1 = _wy["EPCollider"]; _Rv1._wy1 = _wy["CollideEdgeAndPolygon"]; _Rv1._xy1 = _wy["ClipSegmentToLine"]; _Rv1._yy1 = _wy["TestShapeOverlap"]; _Rv1._mX = _wy["TestOverlap"]; _Rv1._5w1 = _wy["Shape"]; _Rv1._zy1 = _wy["MassData"]; _Rv1._2w1 = _wy["CircleShape"]; _Rv1._Ay1 = _wy["EdgeShape"]; _Rv1._By1 = _wy["ChainShape"]; _Rv1._3w1 = _wy["PolygonShape"]; _Rv1._zb1 = _wy["Pair"]; _Rv1._Cy1 = _wy["PairLessThan"]; _Rv1._Dy1 = _wy["BroadPhase"]; _Rv1._Ey1 = _wy["DistanceProxy"]; _Rv1._Fy1 = _wy["SimplexCache"]; _Rv1._Gy1 = _wy["DistanceInput"]; _Rv1._Hy1 = _wy["DistanceOutput"]; _Rv1._Iy1 = _wy["SimplexVertex"]; _Rv1._Jy1 = _wy["Simplex"]; _Rv1._Ky1 = _wy["DistanceFunc"]; _Rv1._Ly1 = _wy["TreeNode"]; _Rv1._My1 = _wy["DynamicTree"]; _Rv1._Ny1 = _wy["TOIInput"]; _Rv1._Oy1 = _wy["TOIOutput"]; _Rv1._Py1 = _wy["SeparationFunction"]; _Rv1._Qy1 = _wy["TimeOfImpact"]; _Rv1._Ry1 = _wy["BodyDef"]; _Rv1._Sy1 = _wy["Body"]; _Rv1._Ty1 = _wy["Filter"]; _Rv1._0w1 = _wy["FixtureDef"]; _Rv1._Uy1 = _wy["Fixture"]; _Rv1._Vy1 = _wy["DestructionListener"]; _Rv1._Wy1 = _wy["ContactFilter"]; _Rv1._Xy1 = _wy["ContactImpulse"]; _Rv1._Yy1 = _wy["ContactListener"]; _Rv1._JX = _wy["QueryCallback"]; _Rv1._X11 = _wy["RayCastCallback"]; _Rv1._Zy1 = _wy["TimeStep"]; _Rv1.__y1 = _wy["Position"]; _Rv1._0z1 = _wy["Velocity"]; _Rv1._1z1 = _wy["SolverData"]; _Rv1._2z1 = _wy["World"]; _Rv1._3z1 = _wy["MixFriction"]; _Rv1._4z1 = _wy["MixRestitution"]; _Rv1._5z1 = _wy["ContactRegister"]; _Rv1._6z1 = _wy["ContactEdge"]; _Rv1._7z1 = _wy["Contact"]; _Rv1._8z1 = _wy["CircleContact"]; _Rv1._9z1 = _wy["PolygonContact"]; _Rv1._az1 = _wy["ChainAndCircleContact"]; _Rv1._bz1 = _wy["ChainAndPolygonContact"]; _Rv1._cz1 = _wy["EdgeAndCircleContact"]; _Rv1._dz1 = _wy["EdgeAndPolygonContact"]; _Rv1._ez1 = _wy["PolygonAndCircleContact"]; _Rv1._fz1 = _wy["defaultFilter"]; _Rv1._gz1 = _wy["defaultListener"]; _Rv1._hz1 = _wy["ContactManager"]; _Rv1._iz1 = _wy["VelocityConstraintPoint"]; _Rv1._jz1 = _wy["ContactPositionConstraint"]; _Rv1._kz1 = _wy["ContactVelocityConstraint"]; _Rv1._lz1 = _wy["PositionSolverManifold"]; _Rv1._mz1 = _wy["ContactSolverDef"]; _Rv1._nz1 = _wy["ContactSolver"]; _Rv1._oz1 = _wy["Island"]; _Rv1._pz1 = _wy["Jacobian"]; _Rv1._qz1 = _wy["JointEdge"]; _Rv1._rz1 = _wy["JointDef"]; _Rv1._sz1 = _wy["Joint"]; _Rv1._tz1 = _wy["RevoluteJointDef"]; _Rv1._Aw1 = _wy["RevoluteJoint"]; _Rv1._uz1 = _wy["MouseJointDef"]; _Rv1._vz1 = _wy["MouseJoint"]; _Rv1._wz1 = _wy["DistanceJointDef"]; _Rv1._bx1 = _wy["DistanceJoint"]; _Rv1._xz1 = _wy["PrismaticJointDef"]; _Rv1._Bw1 = _wy["PrismaticJoint"]; _Rv1._yz1 = _wy["FrictionJointDef"]; _Rv1._zz1 = _wy["FrictionJoint"]; _Rv1._Az1 = _wy["WeldJointDef"]; _Rv1._Bz1 = _wy["WeldJoint"]; _Rv1._Cz1 = _wy["WheelJointDef"]; _Rv1._Cw1 = _wy["WheelJoint"]; _Rv1._Dz1 = _wy["GearJointDef"]; _Rv1._fx1 = _wy["GearJoint"]; _Rv1._Ez1 = _wy["MotorJointDef"]; _Rv1._Fz1 = _wy["MotorJoint"]; _Rv1._Gz1 = _wy["PulleyJointDef"]; _Rv1._dx1 = _wy["PulleyJoint"]; _Rv1._Hz1 = _wy["RopeJointDef"]; _Rv1._Iz1 = _wy["RopeJoint"]; _Rv1._Jz1 = _wy["RopeDef"]; _Rv1._Kz1 = _wy["Rope"]; _Rv1._Lz1 = _wy["maxManifoldPoints"]; _Rv1._Mz1 = _wy["maxPolygonVertices"]; _Rv1._Nz1 = _wy["aabbExtension"]; _Rv1._Oz1 = _wy["aabbMultiplier"]; _Rv1._Pz1 = _wy["linearSlop"]; _Rv1._Qz1 = _wy["angularSlop"]; _Rv1._Rz1 = _wy["polygonRadius"]; _Rv1._Sz1 = _wy["maxSubSteps"]; _Rv1._Tz1 = _wy["maxTOIContacts"]; _Rv1._Uz1 = _wy["velocityThreshold"]; _Rv1._Vz1 = _wy["maxLinearCorrection"]; _Rv1._Wz1 = _wy["maxAngularCorrection"]; _Rv1._Xz1 = _wy["maxTranslation"]; _Rv1._Yz1 = _wy["maxTranslationSquared"]; _Rv1._Zz1 = _wy["maxRotation"]; _Rv1.__z1 = _wy["maxRotationSquared"]; _Rv1._0A1 = _wy["baumgarte"]; _Rv1._1A1 = _wy["toiBaugarte"]; _Rv1._2A1 = _wy["timeToSleep"]; _Rv1._3A1 = _wy["linearSleepTolerance"]; _Rv1._4A1 = _wy["angularSleepTolerance"]; _Rv1._5A1 = _wy["epsilon"]; _Rv1._6A1 = _wy["JsonSerializer"]; _Rv1._7A1 = _wy["RUBELoader"]; _Rv1._8A1 = _wy["Profiler"]; _Rv1._9A1 = _wy["ParticleDef"]; _Rv1._aA1 = _wy["ParticleColor"]; _Rv1._bA1 = _wy["ParticleGroupDef"]; _Rv1._cA1 = _wy["ParticleGroup"]; _Rv1._dA1 = _wy["ParticleSystem"] } } function _eA1(_fA1) { var _fe1 = new _Rv1._gy1(); _fA1._ee1(_fe1); this._gA1 = _fA1._C41(); this._hA1 = _fA1._E41(); this._iA1 = []; this._jA1 = []; this._iA1[0] = _fA1._de1(); this._jA1[0] = _fe1 }; function _kA1(_lA1, _mA1, _nA1) { this._oA1 = _lA1; this._G51 = _mA1; this._H51 = _nA1 }; function _pA1(_qA1, _rA1) { _Ax1(); if (_Rv1 === null) { _Rv1 = window["b2"] } this._FI = _qA1; this._sA1 = _rA1; this._tA1 = _rx1; this._V31 = []; this._uA1 = []; this._vA1 = new _Rv1._bA1(); this._g71 = null; this._wA1 = !1; this._xA1 = []; for (var _u2 = 0; _u2 < _sx1; _u2++) { this._xA1[_u2] = new _kA1(-1, 0, 0) } var _sb = new _Rv1._Sv1(0, 10); this._R31 = new _Rv1._2z1(_sb); this._yA1(); this._zA1(); this._UU = _3g ? this._AA1 : this._BA1; this._CA1 = _3g ? this._DA1 : this._EA1; }; _pA1.prototype._yA1 = function() { var _kh = document.getElementById("canvas").getContext("2d"); if (_kh) { this._g71 = new _Rv1._Ig(); this._g71._CU(_Rv1._Ig._XU | _Rv1._Ig._YU); this._g71._Hv1 = this; this._g71._IU = _Gv1; this._g71._KU = _Kv1; this._g71._LU = _Mv1; this._g71._OU = _Nv1; this._g71._QU = _Ov1; this._g71._TU = _Pv1; this._g71._UU = _Vv1; this._R31._f71(this._g71) } }; _pA1.prototype._zA1 = function() { var _FA1 = new _Rv1._Yy1(); _FA1._GA1 = this; _FA1._l61 = function(_A41) { if (_A41._C41()._V51() || _A41._E41()._V51()) { this._GA1._HA1(_A41) } }; _FA1._n61 = function(_A41, _o61) {}; _FA1._m61 = function(_A41) {}; _FA1._p61 = function(_A41, _IA1) { this._GA1._HA1(_A41) }; this._R31._d71(_FA1) }; _pA1.prototype._HA1 = function(_fA1) { for (var _df = 0; _df < this._V31.length; _df++) { var _JA1 = this._V31[_df]; if ((_JA1._gA1 == _fA1._C41() && _JA1._hA1 == _fA1._E41()) || (_JA1._gA1 == _fA1._E41() && _JA1._hA1 == _fA1._C41())) { var _fe1 = new _Rv1._gy1(); _fA1._ee1(_fe1); _JA1._iA1[_JA1._iA1.length] = _fA1._de1(); _JA1._jA1[_JA1._jA1.length] = _fe1; return } } this._V31[this._V31.length] = new _eA1(_fA1) }; _pA1.prototype._381 = function(_KA1, _LA1) { this._R31._W61._w2 = _KA1; this._R31._W61._x2 = _LA1; if ((_KA1 != 0.0) || (_LA1 != 0.0)) { var _MA1 = this._R31._R71(); while ((_MA1 != null) && (_MA1 != undefined)) { if (_MA1._hV() === _Rv1._Sy1._541) { _MA1._AI(!0) } _MA1 = _MA1._x51() } } }; _pA1.prototype._NA1 = function() { var _Hn = _ke._AE._Hn; for (var index = 0; index < _Hn.length; index++) { var _jE = _Hn[index]; if (_jE._OA1 >= 0) { var _PA1 = _jE._QA1; if (_PA1 !== null && _PA1 !== undefined) { var _MA1 = _PA1._Gw1; if (_MA1._hV() !== _Rv1._Sy1._541) { if (_jE._RA1()) { _jE._Se(_SA1, 0, _jE, _jE) } _MA1._H41(new _Rv1._Sv1(_jE._w2 * this._FI, _jE._x2 * this._FI), _MA1._IT()) } } else { if (_jE._RA1()) { _jE._Se(_SA1, 0, _jE, _jE) } } } } }; _pA1.prototype._TA1 = function() { var _UA1 = 1.0 / this._FI; var _MA1 = this._R31._R71(); while ((_MA1 != null) && (_MA1 != undefined)) { var _jE = _MA1._lX(); if ((_jE != null) && (_jE != undefined)) { _jE._VA1(_MA1); var _Gn = _MA1._2I(); _jE._WA1 = _Gn._w2 * _UA1; _jE._XA1 = _Gn._x2 * _UA1 } _MA1 = _MA1._x51() } }; _pA1.prototype._bm = function(_YA1) { if (_YA1 <= 0) { return } this._NA1(); if (this._wA1 == !0) { return } this._TA1(); var _ZA1 = 1.0 / this._sA1; var __A1 = this._sA1 / _YA1; var _0B1 = __A1; while (_0B1 > 0.0) { var _1B1 = (_0B1 > 1.0) ? _ZA1 : (_ZA1 * _0B1); this._R31._x71(_1B1, this._tA1, this._tA1); _0B1 -= 1.0 } this._R31._B71(); this._2B1(); this._3B1() }; _pA1.prototype._2B1 = function() { var _UA1 = 1.0 / this._FI; var _MA1 = this._R31._R71(); while ((_MA1 != null) && (_MA1 != undefined)) { var _jE = _MA1._lX(); if ((_jE != null) && (_jE != undefined)) { _jE._VA1(_MA1) } _MA1 = _MA1._x51() } }; _pA1.prototype._3B1 = function() { var _UA1 = 1.0 / this._FI; for (var _u2 = 0; _u2 < this._V31.length; _u2++) { if (this._V31[_u2]._gA1 && this._V31[_u2]._hA1 && this._V31[_u2]._gA1.__51() && this._V31[_u2]._hA1.__51()) { var _4B1 = this._V31[_u2]._gA1.__51()._lX(); var _5B1 = this._V31[_u2]._hA1.__51()._lX(); _4B1._6B1 = 0; _4B1._7B1 = []; _4B1._8B1 = []; _4B1._9B1 = []; _4B1._aB1 = []; _5B1._6B1 = 0; _5B1._7B1 = []; _5B1._8B1 = []; _5B1._9B1 = []; _5B1._aB1 = []; var _bB1 = 0; for (var _cB1 = 0; _cB1 < this._V31[_u2]._iA1.length; _cB1++) { var _fe1 = this._V31[_u2]._jA1[_cB1]; for (var _Bf in _fe1._mZ) { if (!_fe1._mZ.hasOwnProperty(_Bf)) continue; _4B1._7B1[_bB1] = _fe1._mZ[_Bf]._w2 * _UA1; _4B1._8B1[_bB1] = _fe1._mZ[_Bf]._x2 * _UA1; _4B1._9B1[_bB1] = _fe1._tV._w2; _4B1._aB1[_bB1] = _fe1._tV._x2; _5B1._7B1[_bB1] = _fe1._mZ[_Bf]._w2 * _UA1; _5B1._8B1[_bB1] = _fe1._mZ[_Bf]._x2 * _UA1; _5B1._9B1[_bB1] = _fe1._tV._w2; _5B1._aB1[_bB1] = _fe1._tV._x2; _4B1._6B1++; _5B1._6B1++; _bB1++ } } _4B1._Se(_dB1, _5B1._eB1, _4B1, _5B1); _5B1._Se(_dB1, _4B1._eB1, _5B1, _4B1); _4B1._6B1 = 0; _4B1._7B1 = undefined; _4B1._8B1 = undefined; _4B1._9B1 = undefined; _4B1._aB1 = undefined; _5B1._6B1 = 0; _5B1._7B1 = undefined; _5B1._8B1 = undefined; _5B1._9B1 = undefined; _5B1._aB1 = undefined } } this._V31 = [] }; _pA1.prototype._SI = function(_ox1, _fB1, _NI, _OI) { var _PI = -1; if (!_ox1._4w1()) { return } var _gB1 = this._hB1(_fB1._eB1); if (_gB1 != -1) { _ox1.__v1._J51._G51 = this._xA1[_gB1]._G51; _ox1.__v1._J51._H51 = this._xA1[_gB1]._H51 } else { _ox1.__v1._J51._G51 = 0; _ox1.__v1._J51._H51 = 0 } var _iB1 = _fB1._QA1; if (_fB1._QA1) { var _MA1 = _iB1._Gw1; var _cI = _MA1._i41(_ox1.__v1); _PI = _iB1._nx1(_cI) } else { var _jB1 = new _Rv1._Ry1(); _jB1.type = (_ox1.__v1._qV == 0) ? (_ox1._Xv1 ? _Rv1._Sy1._d41 : _Rv1._Sy1._y31) : _Rv1._Sy1._541; _jB1._Cg = -_fB1._Q9 * _zf / 180.0; _jB1._B31 = _ox1.__31; _jB1._C31 = _ox1._041; _jB1._E31 = _ox1._Yv1; var _kB1 = _fB1._lB1(_jB1._Cg, { _w2: _NI, _x2: _OI }); _jB1.position._w2 = (_fB1._w2 - _kB1._w2) * this._FI; _jB1.position._x2 = (_fB1._x2 - _kB1._x2) * this._FI; _jB1._cX = _fB1; var _MA1 = this._R31._SI(_jB1); var _cI = _MA1._i41(_ox1.__v1); _iB1 = new _Dw1(_MA1, _gB1, _NI, _OI); _fB1._QA1 = _iB1; _fB1._VA1(_MA1); _PI = _iB1._nx1(_cI); this._mB1() } return _PI }; _pA1.prototype._h71 = function(_nB1) { this._R31._h71(_nB1._Gw1) }; _pA1.prototype._k71 = function(_oB1) { this._R31._k71(_oB1._yw1) }; _pA1.prototype._pB1 = function(_lA1) { for (var _df = 0; _df < _sx1; _df++) { if (this._xA1[_df]._oA1 == _lA1) { return _df } } return -1 }; _pA1.prototype._qB1 = function(_lA1) { var _rB1 = this._pB1(_lA1); if (_rB1 != -1) { return _rB1 } for (var _df = 0; _df < _sx1; _df++) { if (this._xA1[_df]._oA1 == -1) { this._xA1[_df]._oA1 = _lA1; this._xA1[_df]._G51 = (1 << _df); this._xA1[_df]._H51 = 0; return _df } } return -1 }; _pA1.prototype._sB1 = function(_lA1) { var _tB1 = []; for (var _uB1 in _vB1) { if (!_vB1.hasOwnProperty(_uB1)) continue; for (var _qe1 in _vB1[_uB1]) { if (!_vB1[_uB1].hasOwnProperty(_qe1)) continue; var _wB1 = -1; if (_uB1 == _lA1) { _wB1 = _qe1 } else if (_qe1 == _lA1) { _wB1 = _uB1 } if (_wB1 !== -1) { _tB1[_tB1.length] = _wB1 } } } return _tB1 }; _pA1.prototype._xB1 = function(_Ln, _yB1) { for (var _kx in _cy._zB1) { if (!_cy._zB1.hasOwnProperty(_kx)) continue; var _AB1 = _cy._zB1[_kx]; if (_AB1._RE === _Ln._TE) { if (this._sB1(_AB1._TE).length !== 0) { _yB1[_yB1.length] = _AB1._TE } this._xB1(_AB1, _yB1) } } }; _pA1.prototype._BB1 = function(_lA1) { var _tB1 = this._sB1(_lA1); var _CB1 = _lA1; var _DB1 = _cy._hn(_lA1); while ((_DB1._RE >= 0) && _cy._hn(_DB1._RE)) { _DB1 = _cy._hn(_DB1._RE); _tB1 = _tB1.concat(this._sB1(_DB1._TE)) } for (var _df = 0; _df < _tB1.length; _df++) { var _EB1 = _tB1[_df]; var _kx = _cy._hn(_EB1); this._xB1(_kx, _tB1) } return _tB1; }; _pA1.prototype._FB1 = function(_lA1, _Fw1) { var _tB1 = this._BB1(_lA1); for (var _GB1 = 0; _GB1 < _tB1.length; ++_GB1) { for (var _HB1 = 0; _HB1 < _sx1; ++_HB1) { if (this._xA1[_HB1]._oA1 == _tB1[_GB1]) { this._xA1[_Fw1]._H51 |= this._xA1[_HB1]._G51; this._xA1[_HB1]._H51 |= this._xA1[_Fw1]._G51 } } } }; _pA1.prototype._hB1 = function(_lA1) { var _gB1 = this._pB1(_lA1); if (_gB1 !== -1) { return _gB1 } var _tB1 = this._sB1(_lA1); var _oA1 = _lA1; if (_tB1.length === 0) { var _CB1 = _lA1; var _DB1 = _cy._hn(_lA1); while ((_DB1._RE >= 0) && _cy._hn(_DB1._RE)) { _DB1 = _cy._hn(_DB1._RE); _oA1 = _DB1._TE; _tB1 = this._sB1(_oA1); if (_tB1.length !== 0) { _gB1 = this._pB1(_oA1); break } } if (_tB1.length === 0) { return -1 } } if (_gB1 === -1) { _gB1 = this._qB1(_oA1); if (_gB1 === -1) { return -1 } } this._FB1(_lA1, _gB1); return _gB1 }; _pA1.prototype._mB1 = function() { var _MA1 = this._R31._R71(); while ((_MA1 != null) && (_MA1 != undefined)) { var _jE = _MA1._lX(); if ((_jE != null) && (_jE != undefined)) { var _IB1 = _jE._QA1._Hw1; if (_IB1 != -1) { var _JB1 = new _Rv1._Ty1(); _JB1._G51 = this._xA1[_IB1]._G51; _JB1._H51 = this._xA1[_IB1]._H51; var _cI = _MA1._u51(); while ((_cI != null) && (_cI != undefined)) { _JB1._I51 = _cI._Y51()._I51; _cI._W51(_JB1); _cI = _cI._X31 } } } _MA1 = _MA1._x51() } }; _pA1.prototype._mX = function(_to, _By, _ye, _ze, _Ce) { var _KB1 = new _Rv1._Fx1(); _KB1._Tn(new _Rv1._Sv1(_ye, _ze), _Ce); if ((_to._QA1 === null) || (_to._QA1 === undefined) || (_By._QA1 === null) || (_By._QA1 === undefined)) { return } var _LB1 = _to._QA1._Gw1; var _MB1 = _By._QA1._Gw1; var _NB1; for (_NB1 = _LB1._u51(); _NB1; _NB1 = _NB1._x51()) { var _OB1; for (_OB1 = _MB1._u51(); _OB1; _OB1 = _NB1._x51()) { if (_Rv1._yy1(_NB1._T51(), 0, _OB1._T51(), 0, _KB1, _MB1._TT())) { return !0 } } } return !1; }; _pA1.prototype._291 = function(_PB1, _ye, _ze, _QB1, _RB1, _uj, _fj, _SB1) { var _j41 = new _Rv1._9A1(); _j41._VP = _PB1; _j41.position._Tn(_ye * this._FI, _ze * this._FI); _j41._UJ._Tn(_QB1 * this._FI, _RB1 * this._FI); _j41._Ng._Tn((_uj & 0xff), (_uj & 0xff00) >> 8, (_uj & 0xff0000) >> 16, (_fj * 255.0)); _j41._cX = _SB1; return this._R31._291(_j41) }; _pA1.prototype._TB1 = function() { for (var _df = 0; _df < this._uA1.length; _df++) { var _aL = this._uA1[_df]; if (_aL === null || _aL === undefined) { return _df } } var _Sg = this._uA1.length; return _Sg }; _pA1.prototype._UB1 = function(_VB1) { if (_VB1 >= 0 && _VB1 < this._uA1.length) { return this._uA1[_VB1] } return null }; _pA1.prototype._791 = function(_WB1, _XB1) { var _YB1 = this._UB1(_WB1); var _ZB1 = this._UB1(_XB1); if ((_YB1 !== null) && (_ZB1 !== null)) { this._R31._791(_YB1, _ZB1); this._uA1[_XB1] = null } }; _pA1.prototype.__B1 = function(_uN, _0C1, _1C1, _2C1) { var _fg = this._R31._x91(); if (_1C1 < 0 || _1C1 >= _fg) return; if (_2C1 < _1C1) return; if (_2C1 > _fg) return; var _VP = this._R31._b91(); var _E61 = this._R31._c91(); var _F61 = this._R31._d91(); var _3C1 = this._R31._e91(); var _cX = this._R31._f91(); var _4C1 = _uN._5C1; var _6C1 = 1.0 / this._FI; for (var _df = _1C1; _df < _2C1; _df++) { if (_0C1 & (1 << 0)) { _uN._7C1(_8C1, _VP[_df]) } if (_0C1 & (1 << 1)) { _uN._7C1(_9C1, _E61[_df]._w2 * _6C1); _uN._7C1(_9C1, _E61[_df]._x2 * _6C1) } if (_0C1 & (1 << 2)) { _uN._7C1(_9C1, _F61[_df]._w2 * _6C1); _uN._7C1(_9C1, _F61[_df]._x2 * _6C1) } if (_0C1 & (1 << 3)) { _uN._7C1(_8C1, (_3C1[_df]._Wg << 24) | (_3C1[_df]._uf << 16) | (_3C1[_df]._Vg << 8) | _3C1[_df]._xf) } if (_0C1 & (1 << 4)) { _uN._7C1(_aC1, _cX[_df]); } } _uN._bC1(_cC1, _4C1) }; _pA1.prototype._Na1 = function(_VB1, _PB1) { var _aL = this._UB1(_VB1); if (_aL !== null && _aL !== undefined) { _aL._Na1(_PB1) } }; _pA1.prototype._Ma1 = function(_VB1) { var _aL = this._UB1(_VB1); if (_aL !== null && _aL !== undefined) { return _aL._Ma1() } return 0 }; _pA1.prototype._BA1 = function(_dC1, _SB1, _of, _eC1) { var _fg = this._R31._x91(); var _VP = this._R31._b91(); var _E61 = this._R31._c91(); var _3C1 = this._R31._e91(); var _cX = this._R31._f91(); var _6C1 = 1.0 / this._FI; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { var _Dg = (_3C1[_df]._xf & 0xff) | ((_3C1[_df]._Vg << 8) & 0xff00) | ((_3C1[_df]._uf << 16) & 0xff0000); _of._Ig(_df, _E61[_df]._w2 * _6C1, _E61[_df]._x2 * _6C1, 1.0, 1.0, 0, _Dg, _3C1[_df]._Wg / 255.0) } } }; _pA1.prototype._EA1 = function(_dC1, _SB1, _of, _eC1, _fr, _gr, _Ce, _uj, _fj) { var _fg = this._R31._x91(); var _VP = this._R31._b91(); var _E61 = this._R31._c91(); var _cX = this._R31._f91(); var _6C1 = 1.0 / this._FI; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { _of._Ig(_df, _E61[_df]._w2 * _6C1, _E61[_df]._x2 * _6C1, _fr, _gr, _Ce, _uj, _fj) } } }; _pA1.prototype._AA1 = function(_dC1, _SB1, _of, _eC1) { var _Zo = _of._RL[_eC1 % _of._fC1()]; if (!_Zo) { return } if (!_Zo._hg.complete) { return } if (!_Zo._hg._Bh) { _Ch(_Zo) } var _fg = this._R31._x91(); var _VP = this._R31._b91(); var _E61 = this._R31._c91(); var _3C1 = this._R31._e91(); var _cX = this._R31._f91(); var _6C1 = 1.0 / this._FI; var _gC1 = 0; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { _gC1++ } } if (_gC1 === 0) { return } var _Eh = _3g._Fh(_Gh._Hh, _Zo._hg._Bh, _3g._Ih, _gC1 * 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _gC1 * 6; var _Mh = _Eh._Nh; var _Oh = _Eh._Ph; var _Qh = _Eh._Rh; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; var _hf = -(_of._p1 - _Zo._O4); var _if = -(_of._q1 - _Zo._P4); var _jf = _hf + _Zo._Q4; var _kf = _if + _Zo._R4; var _hC1 = 0; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { var _w2 = _E61[_df]._w2 * _6C1; var _x2 = _E61[_df]._x2 * _6C1; _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _w2 + _hf; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _x2 + _if; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _w2 + _jf; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _x2 + _kf; var _Dg = (_3C1[_df]._xf & 0xff) | ((_3C1[_df]._Vg << 8) & 0xff00) | ((_3C1[_df]._uf << 16) & 0xff0000) | ((_3C1[_df]._Wg << 24) & 0xff000000); _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Dg; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _Zo._w2 / _Zo._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _Zo._x2 / _Zo._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_Zo._w2 + _Zo._y2) / _Zo._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_Zo._x2 + _Zo._z2) / _Zo._hg.height; var _iC1 = _Jh * 6; _Sh += _iC1; _Th += _iC1; _Uh += _iC1; _Vh += _iC1; _Wh += _iC1; _Xh += _iC1 } } }; _pA1.prototype._DA1 = function(_dC1, _SB1, _of, _eC1, _fr, _gr, _Ce, _uj, _fj) { _Ce = (_Ce * Math.PI) / 180.0; var _Zo = _of._RL[_eC1 % _of._fC1()]; if (!_Zo) { return } if (!_Zo._hg.complete) { return } if (!_Zo._hg._Bh) { _Ch(_Zo) } var _fg = this._R31._x91(); var _VP = this._R31._b91(); var _E61 = this._R31._c91(); var _cX = this._R31._f91(); var _6C1 = 1.0 / this._FI; var _gC1 = 0; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { _gC1++ } } if (_gC1 === 0) { return } var _Eh = _3g._Fh(_Gh._Hh, _Zo._hg._Bh, _3g._Ih, _gC1 * 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _gC1 * 6; var _Mh = _Eh._Nh; var _Oh = _Eh._Ph; var _Qh = _Eh._Rh; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; var _Dg = _uj | (((_fj * 255) & 0xff) << 24); var _hf = -_fr * (_of._p1 - _Zo._O4); var _if = -_gr * (_of._q1 - _Zo._P4); var _jf = _hf + (_fr * _Zo._Q4); var _kf = _if + (_gr * _Zo._R4); var _hC1 = 0; if (Math.abs(_Ce) < 0.0001) { for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { var _w2 = _E61[_df]._w2 * _6C1; var _x2 = _E61[_df]._x2 * _6C1; _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _w2 + _hf; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _x2 + _if; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _w2 + _jf; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _x2 + _kf; _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Dg; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _Zo._w2 / _Zo._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _Zo._x2 / _Zo._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_Zo._w2 + _Zo._y2) / _Zo._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_Zo._x2 + _Zo._z2) / _Zo._hg.height; var _iC1 = _Jh * 6; _Sh += _iC1; _Th += _iC1; _Uh += _iC1; _Vh += _iC1; _Wh += _iC1; _Xh += _iC1 } } } else { var _Xf = Math.sin(_Ce); var _Yf = Math.cos(_Ce); var _jC1 = _hf * _Yf; var _kC1 = _jf * _Yf; var _lC1 = _if * _Yf; var _mC1 = _kf * _Yf; var _nC1 = _hf * _Xf; var _oC1 = _jf * _Xf; var _pC1 = _if * _Xf; var _qC1 = _kf * _Xf; for (var _df = 0; _df < _fg; _df++) { if (((_VP[_df] === 0) || ((_VP[_df] & _dC1) !== 0)) && ((_SB1 === 0) || (_SB1 === _cX[_df]))) { var _w2 = _E61[_df]._w2 * _6C1; var _x2 = _E61[_df]._x2 * _6C1; _Mh[_Sh + 0] = _Mh[_Xh + 0] = _w2 + _jC1 + _pC1; _Mh[_Sh + 1] = _Mh[_Xh + 1] = _x2 - _nC1 + _lC1; _Mh[_Uh + 0] = _Mh[_Vh + 0] = _w2 + _kC1 + _qC1; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _x2 - _oC1 + _mC1; _Mh[_Th + 1] = _x2 - _oC1 + _lC1; _Mh[_Th + 0] = _w2 + _kC1 + _pC1; _Mh[_Wh + 0] = _w2 + _jC1 + _qC1; _Mh[_Wh + 1] = _x2 - _nC1 + _mC1; _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Dg; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _Zo._w2 / _Zo._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _Zo._x2 / _Zo._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_Zo._w2 + _Zo._y2) / _Zo._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_Zo._x2 + _Zo._z2) / _Zo._hg.height; var _iC1 = _Jh * 6; _Sh += _iC1; _Th += _iC1; _Uh += _iC1; _Vh += _iC1; _Wh += _iC1; _Xh += _iC1 } } } }; _pA1.prototype._x91 = function() { return this._R31._x91() }; _pA1.prototype._S81 = function() { return this._R31._S81(); }; _pA1.prototype._191 = function() { return this._R31._191() * (1.0 / this._FI) }; _pA1.prototype._V81 = function() { return this._R31._V81() }; _pA1.prototype.__81 = function() { return this._R31.__81() }; _pA1.prototype._X81 = function() { return this._R31._X81() }; _pA1.prototype._T81 = function(_rC1) { this._R31._T81(_rC1) }; _pA1.prototype._091 = function(_1w1) { this._R31._091(_1w1 * this._FI) }; _pA1.prototype._U81 = function(_fI) { this._R31._U81(_fI) }; _pA1.prototype._Y81 = function(_uI) { this._R31._Y81(_uI) }; _pA1.prototype._W81 = function(_4x1) { this._R31._W81(_4x1); }; var _7e = {}; _7e._sC1 = function(name, parent) { this.name = name; this.parent = parent }; _7e._sC1.prototype = { length: 0, _w2: 0, _x2: 0, _E4: 0, _r2: 1, _s2: 1, _tC1: !0, _uC1: !0 }; _7e._vC1 = function(name, _wC1) { this.name = name; this._wC1 = _wC1 }; _7e._vC1.prototype = { _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _xC1: null, _yC1: !1 }; _7e._Eg = function(_wC1, parent) { this.data = _wC1; this.parent = parent; this._zC1() }; _7e._Eg._Fg = !1; _7e._Eg.prototype = { _w2: 0, _x2: 0, _E4: 0, _r2: 1, _s2: 1, _AC1: 0, _BC1: 0, _CC1: 0, _DC1: 0, _vh: 0, _EC1: 0, _FC1: 0, _GC1: 1, _HC1: 1, _Ge: function(_Qe, _Re) { var parent = this.parent; if (parent != null) { this._CC1 = this._w2 * parent._AC1 + this._x2 * parent._BC1 + parent._CC1; this._EC1 = this._w2 * parent._DC1 + this._x2 * parent._vh + parent._EC1; if (this.data._tC1) { this._GC1 = parent._GC1 * this._r2; this._HC1 = parent._HC1 * this._s2 } else { this._GC1 = this._r2; this._HC1 = this._s2 } this._FC1 = this.data._uC1 ? parent._FC1 + this._E4 : this._E4 } else { this._CC1 = _Qe ? -this._w2 : this._w2; this._EC1 = _Re != _7e._Eg._Fg ? -this._x2 : this._x2; this._GC1 = this._r2; this._HC1 = this._s2; this._FC1 = this._E4 } var _IC1 = this._FC1 * Math.PI / 180; var cos = Math.cos(_IC1); var sin = Math.sin(_IC1); this._AC1 = cos * this._GC1; this._DC1 = sin * this._GC1; this._BC1 = -sin * this._HC1; this._vh = cos * this._HC1; if (_Qe) { this._AC1 = -this._AC1; this._BC1 = -this._BC1 } if (_Re != _7e._Eg._Fg) { this._DC1 = -this._DC1; this._vh = -this._vh } }, _zC1: function() { var data = this.data; this._w2 = data._w2; this._x2 = data._x2; this._E4 = data._E4; this._r2 = data._r2; this._s2 = data._s2 } }; _7e._JC1 = function(_KC1, _Ee, _4h) { this.data = _KC1; this._Ee = _Ee; this._4h = _4h; this._zC1() }; _7e._JC1.prototype = { _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _LC1: 0, _Ug: null, _MC1: [], _NC1: function(_Ug) { this._Ug = _Ug; this._LC1 = this._Ee._OC1; this._MC1.length = 0 }, _PC1: function(_OC1) { this._LC1 = this._Ee._OC1 - _OC1 }, _QC1: function() { return this._Ee._OC1 - this._LC1 }, _zC1: function() { var data = this.data; this._uf = data._uf; this._Vg = data._Vg; this._xf = data._xf; this._Wg = data._Wg; var _RC1 = this._Ee.data._Rg; for (var _u2 = 0, _df = _RC1.length; _u2 < _df; _u2++) { if (_RC1[_u2] == data) { this._NC1(!data._xC1 ? null : this._Ee._SC1(_u2, data._xC1)); break } } } }; _7e._TC1 = function(name) { this.name = name; this._UC1 = {} }; _7e._TC1.prototype = { _VC1: function(_WC1, name, _Ug) { this._UC1[_WC1 + ":" + name] = _Ug }, _XC1: function(_WC1, name) { return this._UC1[_WC1 + ":" + name] }, _YC1: function(_Ee, _ZC1) { for (var _OC in _ZC1._UC1) { var __C1 = _OC.indexOf(":"); var _WC1 = parseInt(_OC.substring(0, __C1)); var name = _OC.substring(__C1 + 1); var _Sg = _Ee._Rg[_WC1]; if (_Sg._Ug && _Sg._Ug.name == name) { var _Ug = this._XC1(_WC1, name); if (_Ug) _Sg._NC1(_Ug) } } } }; _7e._0D1 = function(name, _Ne, duration) { this.name = name; this._Ne = _Ne; this.duration = duration }; _7e._0D1.prototype = { apply: function(_Ee, _1D1, _OC1, loop, _2D1) { if (loop && this.duration != 0) { _OC1 %= this.duration; _1D1 %= this.duration } var _Ne = this._Ne; for (var _u2 = 0, _df = _Ne.length; _u2 < _df; _u2++) _Ne[_u2].apply(_Ee, _1D1, _OC1, _2D1, 1) }, _3D1: function(_Ee, _1D1, _OC1, loop, _2D1, alpha) { if (loop && this.duration != 0) { _OC1 %= this.duration; _1D1 %= this.duration } var _Ne = this._Ne; for (var _u2 = 0, _df = _Ne.length; _u2 < _df; _u2++) _Ne[_u2].apply(_Ee, _1D1, _OC1, _2D1, alpha) } }; _7e._4D1 = function(_5D1, target, _JR) { var _2o = 0; var _1o = Math.floor(_5D1.length / _JR) - 2; if (_1o == 0) return _JR; var current = _1o >>> 1; while (!0) { if (_5D1[(current + 1) * _JR] <= target) _2o = current + 1; else _1o = current; if (_2o == _1o) return (_2o + 1) * _JR; current = (_2o + _1o) >>> 1 } }; _7e._6D1 = function(_5D1, target, _JR) { for (var _u2 = 0, _n2 = _5D1.length - _JR; _u2 <= _n2; _u2 += _JR) if (_5D1[_u2] > target) return _u2; return -1 }; _7e._7D1 = function(_Je) { this._8D1 = []; this._8D1.length = (_Je - 1) * 6 }; _7e._7D1.prototype = { _9D1: function(_aD1) { this._8D1[_aD1 * 6] = 0 }, _bD1: function(_aD1) { this._8D1[_aD1 * 6] = -1 }, _cD1: function(_aD1, _dD1, _eD1, _fD1, _gD1) { var _hD1 = 1 / 10; var _iD1 = _hD1 * _hD1; var _jD1 = _iD1 * _hD1; var _kD1 = 3 * _hD1; var _lD1 = 3 * _iD1; var _mD1 = 6 * _iD1; var _nD1 = 6 * _jD1; var _oD1 = -_dD1 * 2 + _fD1; var _pD1 = -_eD1 * 2 + _gD1; var _qD1 = (_dD1 - _fD1) * 3 + 1; var _rD1 = (_eD1 - _gD1) * 3 + 1; var _u2 = _aD1 * 6; var _8D1 = this._8D1; _8D1[_u2] = _dD1 * _kD1 + _oD1 * _lD1 + _qD1 * _jD1; _8D1[_u2 + 1] = _eD1 * _kD1 + _pD1 * _lD1 + _rD1 * _jD1; _8D1[_u2 + 2] = _oD1 * _mD1 + _qD1 * _nD1; _8D1[_u2 + 3] = _pD1 * _mD1 + _rD1 * _nD1; _8D1[_u2 + 4] = _qD1 * _nD1; _8D1[_u2 + 5] = _rD1 * _nD1 }, _sD1: function(_aD1, _tD1) { _tD1 = _tD1 < 0 ? 0 : (_tD1 > 1 ? 1 : _tD1); var _uD1 = _aD1 * 6; var _8D1 = this._8D1; var _vD1 = _8D1[_uD1]; if (!_vD1) return _tD1; if (_vD1 == -1) return 0; var _wD1 = _8D1[_uD1 + 1]; var _xD1 = _8D1[_uD1 + 2]; var _yD1 = _8D1[_uD1 + 3]; var _zD1 = _8D1[_uD1 + 4]; var _AD1 = _8D1[_uD1 + 5]; var _w2 = _vD1, _x2 = _wD1; var _u2 = 10 - 2; while (!0) { if (_w2 >= _tD1) { var _BD1 = _w2 - _vD1; var _CD1 = _x2 - _wD1; return _CD1 + (_x2 - _CD1) * (_tD1 - _BD1) / (_w2 - _BD1) } if (_u2 == 0) break; _u2--; _vD1 += _xD1; _wD1 += _yD1; _xD1 += _zD1; _yD1 += _AD1; _w2 += _vD1; _x2 += _wD1 } return _x2 + (1 - _x2) * (_tD1 - _w2) / (1 - _w2) } }; _7e._DD1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je * 2 }; _7e._DD1.prototype = { _ED1: 0, _FD1: function() { return this.frames.length / 2; }, _GD1: function(_aD1, _OC1, _Cg) { _aD1 *= 2; this.frames[_aD1] = _OC1; this.frames[_aD1 + 1] = _Cg }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _4h = _Ee._ID1[this._ED1]; if (_OC1 >= frames[frames.length - 2]) { var _JD1 = _4h.data._E4 + frames[frames.length - 1] - _4h._E4; while (_JD1 > 180) _JD1 -= 360; while (_JD1 < -180) _JD1 += 360; _4h._E4 += _JD1 * alpha; return } var _aD1 = _7e._4D1(frames, _OC1, 2); var _KD1 = frames[_aD1 - 1]; var _LD1 = frames[_aD1]; var _tD1 = 1 - (_OC1 - _LD1) / (frames[_aD1 - 2] - _LD1); _tD1 = this._8D1._sD1(_aD1 / 2 - 1, _tD1); var _JD1 = frames[_aD1 + 1] - _KD1; while (_JD1 > 180) _JD1 -= 360; while (_JD1 < -180) _JD1 += 360; _JD1 = _4h.data._E4 + (_KD1 + _JD1 * _tD1) - _4h._E4; while (_JD1 > 180) _JD1 -= 360; while (_JD1 < -180) _JD1 += 360; _4h._E4 += _JD1 * alpha } }; _7e._MD1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je * 3 }; _7e._MD1.prototype = { _ED1: 0, _FD1: function() { return this.frames.length / 3 }, _GD1: function(_aD1, _OC1, _w2, _x2) { _aD1 *= 3; this.frames[_aD1] = _OC1; this.frames[_aD1 + 1] = _w2; this.frames[_aD1 + 2] = _x2 }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _4h = _Ee._ID1[this._ED1]; if (_OC1 >= frames[frames.length - 3]) { _4h._w2 += (_4h.data._w2 + frames[frames.length - 2] - _4h._w2) * alpha; _4h._x2 += (_4h.data._x2 + frames[frames.length - 1] - _4h._x2) * alpha; return } var _aD1 = _7e._4D1(frames, _OC1, 3); var _ND1 = frames[_aD1 - 2]; var _OD1 = frames[_aD1 - 1]; var _LD1 = frames[_aD1]; var _tD1 = 1 - (_OC1 - _LD1) / (frames[_aD1 + -3] - _LD1); _tD1 = this._8D1._sD1(_aD1 / 3 - 1, _tD1); _4h._w2 += (_4h.data._w2 + _ND1 + (frames[_aD1 + 1] - _ND1) * _tD1 - _4h._w2) * alpha; _4h._x2 += (_4h.data._x2 + _OD1 + (frames[_aD1 + 2] - _OD1) * _tD1 - _4h._x2) * alpha; } }; _7e._PD1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je * 3 }; _7e._PD1.prototype = { _ED1: 0, _FD1: function() { return this.frames.length / 3 }, _GD1: function(_aD1, _OC1, _w2, _x2) { _aD1 *= 3; this.frames[_aD1] = _OC1; this.frames[_aD1 + 1] = _w2; this.frames[_aD1 + 2] = _x2 }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _4h = _Ee._ID1[this._ED1]; if (_OC1 >= frames[frames.length - 3]) { _4h._r2 += (_4h.data._r2 - 1 + frames[frames.length - 2] - _4h._r2) * alpha; _4h._s2 += (_4h.data._s2 - 1 + frames[frames.length - 1] - _4h._s2) * alpha; return } var _aD1 = _7e._4D1(frames, _OC1, 3); var _ND1 = frames[_aD1 - 2]; var _OD1 = frames[_aD1 - 1]; var _LD1 = frames[_aD1]; var _tD1 = 1 - (_OC1 - _LD1) / (frames[_aD1 + -3] - _LD1); _tD1 = this._8D1._sD1(_aD1 / 3 - 1, _tD1); _4h._r2 += (_4h.data._r2 - 1 + _ND1 + (frames[_aD1 + 1] - _ND1) * _tD1 - _4h._r2) * alpha; _4h._s2 += (_4h.data._s2 - 1 + _OD1 + (frames[_aD1 + 2] - _OD1) * _tD1 - _4h._s2) * alpha } }; _7e._QD1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je * 5 }; _7e._QD1.prototype = { _WC1: 0, _FD1: function() { return this.frames.length / 5; }, _GD1: function(_aD1, _OC1, _uf, _Vg, _xf, _Wg) { _aD1 *= 5; this.frames[_aD1] = _OC1; this.frames[_aD1 + 1] = _uf; this.frames[_aD1 + 2] = _Vg; this.frames[_aD1 + 3] = _xf; this.frames[_aD1 + 4] = _Wg }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _uf, _Vg, _xf, _Wg; if (_OC1 >= frames[frames.length - 5]) { var _u2 = frames.length - 1; _uf = frames[_u2 - 3]; _Vg = frames[_u2 - 2]; _xf = frames[_u2 - 1]; _Wg = frames[_u2] } else { var _aD1 = _7e._4D1(frames, _OC1, 5); var _RD1 = frames[_aD1 - 4]; var _SD1 = frames[_aD1 - 3]; var _TD1 = frames[_aD1 - 2]; var _UD1 = frames[_aD1 - 1]; var _LD1 = frames[_aD1]; var _tD1 = 1 - (_OC1 - _LD1) / (frames[_aD1 - 5] - _LD1); _tD1 = this._8D1._sD1(_aD1 / 5 - 1, _tD1); _uf = _RD1 + (frames[_aD1 + 1] - _RD1) * _tD1; _Vg = _SD1 + (frames[_aD1 + 2] - _SD1) * _tD1; _xf = _TD1 + (frames[_aD1 + 3] - _TD1) * _tD1; _Wg = _UD1 + (frames[_aD1 + 4] - _UD1) * _tD1 } var _Sg = _Ee._Rg[this._WC1]; if (alpha < 1) { _Sg._uf += (_uf - _Sg._uf) * alpha; _Sg._Vg += (_Vg - _Sg._Vg) * alpha; _Sg._xf += (_xf - _Sg._xf) * alpha; _Sg._Wg += (_Wg - _Sg._Wg) * alpha } else { _Sg._uf = _uf; _Sg._Vg = _Vg; _Sg._xf = _xf; _Sg._Wg = _Wg } } }; _7e._VD1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je; this._WD1 = []; this._WD1.length = _Je }; _7e._VD1.prototype = { _WC1: 0, _FD1: function() { return this.frames.length }, _GD1: function(_aD1, _OC1, _xC1) { this.frames[_aD1] = _OC1; this._WD1[_aD1] = _xC1 }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _aD1; if (_OC1 >= frames[frames.length - 1]) _aD1 = frames.length - 1; else _aD1 = _7e._4D1(frames, _OC1, 1) - 1; var _xC1 = this._WD1[_aD1]; _Ee._Rg[this._WC1]._NC1(!_xC1 ? null : _Ee._SC1(this._WC1, _xC1)) } }; _7e._XD1 = function(_Je) { this.frames = []; this.frames.length = _Je; this._2D1 = []; this._2D1.length = _Je }; _7e._XD1.prototype = { _FD1: function() { return this.frames.length }, _GD1: function(_aD1, _OC1, event) { this.frames[_aD1] = _OC1; this._2D1[_aD1] = event }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { if (!_HD1) return; var frames = this.frames; var _Je = frames.length; if (_1D1 > _OC1) { this.apply(_Ee, _1D1, Number.MAX_VALUE, _HD1, alpha); _1D1 = -1 } else if (_1D1 >= frames[_Je - 1]) return; if (_OC1 < frames[0]) return; var _aD1; if (_1D1 < frames[0]) _aD1 = 0; else { _aD1 = _7e._4D1(frames, _1D1, 1); var _We = frames[_aD1]; while (_aD1 > 0) { if (frames[_aD1 - 1] != _We) break; _aD1-- } } var _2D1 = this._2D1; for (; _aD1 < _Je && _OC1 >= frames[_aD1]; _aD1++) _HD1.push(_2D1[_aD1]) } }; _7e._YD1 = function(_Je) { this.frames = []; this.frames.length = _Je; this._ZD1 = []; this._ZD1.length = _Je }; _7e._YD1.prototype = { _FD1: function() { return this.frames.length }, _GD1: function(_aD1, _OC1, _Tg) { this.frames[_aD1] = _OC1; this._ZD1[_aD1] = _Tg }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var frames = this.frames; if (_OC1 < frames[0]) return; var _aD1; if (_OC1 >= frames[frames.length - 1]) _aD1 = frames.length - 1; else _aD1 = _7e._4D1(frames, _OC1, 1) - 1; var _Tg = _Ee._Tg; var _Rg = _Ee._Rg; var __D1 = this._ZD1[_aD1]; if (!__D1) { for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) _Tg[_u2] = _Rg[_u2] } else { for (var _u2 = 0, _df = __D1.length; _u2 < _df; _u2++) _Tg[_u2] = _Ee._Rg[__D1[_u2]] } } }; _7e._0E1 = function(_Je) { this._8D1 = new _7e._7D1(_Je); this.frames = []; this.frames.length = _Je; this._1E1 = []; this._1E1.length = _Je }; _7e._0E1.prototype = { _WC1: 0, _Ug: 0, _FD1: function() { return this.frames.length }, _GD1: function(_aD1, _OC1, _2h) { this.frames[_aD1] = _OC1; this._1E1[_aD1] = _2h }, apply: function(_Ee, _1D1, _OC1, _HD1, alpha) { var _Sg = _Ee._Rg[this._WC1]; if (_Sg._Ug != _Sg._Ug) return; var frames = this.frames; if (_OC1 < frames[0]) { _Sg._MC1.length = 0; return } var _1E1 = this._1E1; var _JU = _1E1[0].length; var _2h = _Sg._MC1; if (_2h.length < _JU) { _2h = []; _2h.length = _JU; _Sg._MC1 = _2h } _Sg._MC1.length = _JU; if (_OC1 >= frames[frames.length - 1]) { var _2E1 = _1E1[frames.length - 1]; if (alpha < 1) { for (var _u2 = 0; _u2 < _JU; _u2++) _2h[_u2] += (_2E1[_u2] - _2h[_u2]) * alpha } else { for (var _u2 = 0; _u2 < _JU; _u2++) _2h[_u2] = _2E1[_u2] } return } var _aD1 = _7e._4D1(frames, _OC1, 1); var _LD1 = frames[_aD1]; var _tD1 = 1 - (_OC1 - _LD1) / (frames[_aD1 - 1] - _LD1); _tD1 = this._8D1._sD1(_aD1 - 1, _tD1 < 0 ? 0 : (_tD1 > 1 ? 1 : _tD1)); var _3E1 = _1E1[_aD1 - 1]; var _4E1 = _1E1[_aD1]; if (alpha < 1) { for (var _u2 = 0; _u2 < _JU; _u2++) { var _r71 = _3E1[_u2]; _2h[_u2] += (_r71 + (_4E1[_u2] - _r71) * _tD1 - _2h[_u2]) * alpha } } else { for (var _u2 = 0; _u2 < _JU; _u2++) { var _r71 = _3E1[_u2]; _2h[_u2] = _r71 + (_4E1[_u2] - _r71) * _tD1 } } } }; _7e._5E1 = function() { this._ID1 = []; this._Rg = []; this._6E1 = []; this._2D1 = []; this._be = [] }; _7e._5E1.prototype = { _te: null, _7E1: function(_8E1) { var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) if (_ID1[_u2].name == _8E1) return _ID1[_u2]; return null }, _9E1: function(_8E1) { var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) if (_ID1[_u2].name == _8E1) return _u2; return -1 }, _aE1: function(_bE1) { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) { if (_Rg[_u2].name == _bE1) return _Sg[_u2] } return null }, _cE1: function(_bE1) { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) if (_Rg[_u2].name == _bE1) return _u2; return -1 }, _dE1: function(_eE1) { var _6E1 = this._6E1; for (var _u2 = 0, _df = _6E1.length; _u2 < _df; _u2++) if (_6E1[_u2].name == _eE1) return _6E1[_u2]; return null }, _fE1: function(_gE1) { var _2D1 = this._2D1; for (var _u2 = 0, _df = _2D1.length; _u2 < _df; _u2++) if (_2D1[_u2].name == _gE1) return _2D1[_u2]; return null }, _qe: function(_hE1) { var _be = this._be; for (var _u2 = 0, _df = _be.length; _u2 < _df; _u2++) if (_be[_u2].name == _hE1) return _be[_u2]; return null } }; _7e._8e = function(_iE1) { this.data = _iE1; this._ID1 = []; for (var _u2 = 0, _df = _iE1._ID1.length; _u2 < _df; _u2++) { var _wC1 = _iE1._ID1[_u2]; var parent = !_wC1.parent ? null : this._ID1[_iE1._ID1.indexOf(_wC1.parent)]; this._ID1.push(new _7e._Eg(_wC1, parent)) } this._Rg = []; this._Tg = []; for (var _u2 = 0, _df = _iE1._Rg.length; _u2 < _df; _u2++) { var _KC1 = _iE1._Rg[_u2]; var _4h = this._ID1[_iE1._ID1.indexOf(_KC1._wC1)]; var _Sg = new _7e._JC1(_KC1, this, _4h); this._Rg.push(_Sg); this._Tg.push(_Sg) } }; _7e._8e.prototype = { _w2: 0, _x2: 0, _jE1: null, _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _OC1: 0, _Qe: !1, _Re: !1, _Ge: function() { var _Qe = this._Qe; var _Re = this._Re; var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) _ID1[_u2]._Ge(_Qe, _Re) }, _zC1: function() { this._kE1(); this._ve() }, _kE1: function() { var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) _ID1[_u2]._zC1() }, _ve: function() { var _Rg = this._Rg; var _Tg = this._Tg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) { _Tg[_u2] = _Rg[_u2]; _Rg[_u2]._zC1(_u2) } }, _ge: function() { return this._ID1.length == 0 ? null : this._ID1[0] }, _7E1: function(_8E1) { var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) if (_ID1[_u2].data.name == _8E1) return _ID1[_u2]; return null }, _9E1: function(_8E1) { var _ID1 = this._ID1; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) if (_ID1[_u2].data.name == _8E1) return _u2; return -1 }, _aE1: function(_bE1) { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) if (_Rg[_u2].data.name == _bE1) return _Rg[_u2]; return null; }, _cE1: function(_bE1) { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) if (_Rg[_u2].data.name == _bE1) return _u2; return -1 }, _ue: function(_eE1) { var _jE1 = this.data._dE1(_eE1); if (!_jE1) throw "Skin not found: " + _eE1; this._lE1(_jE1) }, _lE1: function(_mE1) { if (_mE1) { if (this._jE1) _mE1._YC1(this, this._jE1); else { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) { var _Sg = _Rg[_u2]; var name = _Sg.data._xC1; if (name) { var _Ug = _mE1._XC1(_u2, name); if (_Ug) _Sg._NC1(_Ug) } } } } this._jE1 = _mE1 }, _nE1: function(_bE1, _xC1) { return this._SC1(this.data._cE1(_bE1), _xC1) }, _SC1: function(_WC1, _xC1) { if (this._jE1) { var _Ug = this._jE1._XC1(_WC1, _xC1); if (_Ug) return _Ug } if (this.data._te) return this.data._te._XC1(_WC1, _xC1); return null }, _NC1: function(_bE1, _xC1) { var _Rg = this._Rg; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) { var _Sg = _Rg[_u2]; if (_Sg.data.name == _bE1) { var _Ug = null; if (_xC1) { _Ug = this._SC1(_u2, _xC1); if (!_Ug) throw "Attachment not found: " + _xC1 + ", for slot: " + _bE1 } _Sg._NC1(_Ug); return } } throw "Slot not found: " + _bE1 }, _Pe: function(_oE1) { this._OC1 += _oE1 } }; _7e._pE1 = function(name) { this.name = name; }; _7e._pE1.prototype = { _qE1: 0, _rE1: 0, _sE1: null }; _7e._Iy = function(data) { this.data = data }; _7e._Iy.prototype = { _qE1: 0, _rE1: 0, _sE1: null }; _7e._Xg = { _Yg: 0, _tE1: 1, _Zg: 2, __g: 3 }; _7e._uE1 = function(name) { this.name = name; this._A2 = []; this._A2.length = 8; this._7h = []; this._7h.length = 8 }; _7e._uE1.prototype = { type: _7e._Xg._Yg, _w2: 0, _x2: 0, _E4: 0, _r2: 1, _s2: 1, width: 0, height: 0, _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _vE1: null, _tg: null, _wE1: 0, _xE1: 0, _yE1: 0, _zE1: 0, _AE1: 0, _BE1: 0, _CE1: function(_6h, _8h, _s_, _Uh, rotate) { var _7h = this._7h; if (rotate) { _7h[2] = _6h; _7h[3] = _Uh; _7h[4] = _6h; _7h[5] = _8h; _7h[6] = _s_; _7h[7] = _8h; _7h[0] = _s_; _7h[1] = _Uh } else { _7h[0] = _6h; _7h[1] = _Uh; _7h[2] = _6h; _7h[3] = _8h; _7h[4] = _s_; _7h[5] = _8h; _7h[6] = _s_; _7h[7] = _Uh } }, _DE1: function() { var _EE1 = this.width / this._AE1 * this._r2; var _FE1 = this.height / this._BE1 * this._s2; var _GE1 = -this.width / 2 * this._r2 + this._wE1 * _EE1; var _HE1 = -this.height / 2 * this._s2 + this._xE1 * _FE1; var _IE1 = _GE1 + this._yE1 * _EE1; var _JE1 = _HE1 + this._zE1 * _FE1; var _IC1 = this._E4 * Math.PI / 180; var cos = Math.cos(_IC1); var sin = Math.sin(_IC1); var _KE1 = _GE1 * cos + this._w2; var _LE1 = _GE1 * sin; var _ME1 = _HE1 * cos + this._x2; var _NE1 = _HE1 * sin; var _OE1 = _IE1 * cos + this._w2; var _PE1 = _IE1 * sin; var _QE1 = _JE1 * cos + this._x2; var _RE1 = _JE1 * sin; var _A2 = this._A2; _A2[0] = _KE1 - _NE1; _A2[1] = _ME1 + _LE1; _A2[2] = _KE1 - _RE1; _A2[3] = _QE1 + _LE1; _A2[4] = _OE1 - _RE1; _A2[5] = _QE1 + _PE1; _A2[6] = _OE1 - _NE1; _A2[7] = _ME1 + _PE1 }, _3h: function(_w2, _x2, _4h, _2h) { _w2 += _4h._CC1; _x2 += _4h._EC1; var _AC1 = _4h._AC1, _BC1 = _4h._BC1, _DC1 = _4h._DC1, _vh = _4h._vh; var _A2 = this._A2; _2h[0] = _A2[0] * _AC1 + _A2[1] * _BC1 + _w2; _2h[1] = _A2[0] * _DC1 + _A2[1] * _vh + _x2; _2h[2] = _A2[2] * _AC1 + _A2[3] * _BC1 + _w2; _2h[3] = _A2[2] * _DC1 + _A2[3] * _vh + _x2; _2h[4] = _A2[4] * _AC1 + _A2[5] * _BC1 + _w2; _2h[5] = _A2[4] * _DC1 + _A2[5] * _vh + _x2; _2h[6] = _A2[6] * _AC1 + _A2[7] * _BC1 + _w2; _2h[7] = _A2[6] * _DC1 + _A2[7] * _vh + _x2 } }; _7e._SE1 = function(name) { this.name = name }; _7e._SE1.prototype = { type: _7e._Xg._Zg, _2h: null, _7h: null, _TE1: null, _gh: null, _UE1: 0, _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _vE1: null, _tg: null, _VE1: 0, _WE1: 0, _XE1: 0, _YE1: 0, _ZE1: !1, _wE1: 0, _xE1: 0, _yE1: 0, _zE1: 0, _AE1: 0, _BE1: 0, __E1: null, width: 0, height: 0, _0F1: function() { var width = this._XE1 - this._VE1, height = this._YE1 - this._WE1; var _TE1 = this._TE1, _VE1 = this._VE1, _WE1 = this._WE1; var _df = this._TE1.length; if (!this._7h || this._7h.length != _df) { this._7h = []; this._7h.length = _df } if (this._ZE1) { for (var _u2 = 0; _u2 < _df; _u2 += 2) { this._7h[_u2] = _VE1 + _TE1[_u2 + 1] * width; this._7h[_u2 + 1] = _WE1 + height - _TE1[_u2] * height } } else { for (var _u2 = 0; _u2 < _df; _u2 += 2) { this._7h[_u2] = _VE1 + _TE1[_u2] * width; this._7h[_u2 + 1] = _WE1 + _TE1[_u2 + 1] * height } } }, _fh: function(_w2, _x2, _Sg, _1F1) { var _4h = _Sg._4h; _w2 += _4h._CC1; _x2 += _4h._EC1; var _AC1 = _4h._AC1, _BC1 = _4h._BC1, _DC1 = _4h._DC1, _vh = _4h._vh; var _2h = this._2h; var _2F1 = _2h.length; if (_Sg._MC1.length == _2F1) _2h = _Sg._MC1; for (var _u2 = 0; _u2 < _2F1; _u2 += 2) { var _zW = _2h[_u2]; var _AW = _2h[_u2 + 1]; _1F1[_u2] = _zW * _AC1 + _AW * _BC1 + _w2; _1F1[_u2 + 1] = _zW * _DC1 + _AW * _vh + _x2 } } }; _7e._3F1 = function(name) { this.name = name }; _7e._3F1.prototype = { type: _7e._Xg.__g, _ID1: null, _4F1: null, _7h: null, _TE1: null, _gh: null, _UE1: 0, _uf: 1, _Vg: 1, _xf: 1, _Wg: 1, _vE1: null, _tg: null, _VE1: 0, _WE1: 0, _XE1: 0, _YE1: 0, _ZE1: !1, _wE1: 0, _xE1: 0, _yE1: 0, _zE1: 0, _AE1: 0, _BE1: 0, __E1: null, width: 0, height: 0, _0F1: function(_6h, _8h, _s_, _Uh, rotate) { var width = this._XE1 - this._VE1, height = this._YE1 - this._WE1; var _TE1 = this._TE1, _VE1 = this._VE1, _WE1 = this._WE1; var _df = _TE1.length; if (!this._7h || this._7h.length != _df) { this._7h = []; this._7h.length = _df } if (this._ZE1) { for (var _u2 = 0; _u2 < _df; _u2 += 2) { this._7h[_u2] = _VE1 + _TE1[_u2 + 1] * width; this._7h[_u2 + 1] = _WE1 + height - _TE1[_u2] * height } } else { for (var _u2 = 0; _u2 < _df; _u2 += 2) { this._7h[_u2] = _VE1 + _TE1[_u2] * width; this._7h[_u2 + 1] = _WE1 + _TE1[_u2 + 1] * height } } }, _fh: function(_w2, _x2, _Sg, _1F1) { var _5F1 = _Sg._Ee._ID1; var _4F1 = this._4F1; var _ID1 = this._ID1; var _y2 = 0, _8h = 0, _xf = 0, _1w = 0, _df = _ID1.length, _6F1; var _7F1, _8F1, _4h, _zW, _AW, _Va1; if (_Sg._MC1.length == 0) { for (; _8h < _df; _y2 += 2) { _7F1 = 0; _8F1 = 0; _6F1 = _ID1[_8h++] + _8h; for (; _8h < _6F1; _8h++, _xf += 3) { _4h = _5F1[_ID1[_8h]]; _zW = _4F1[_xf]; _AW = _4F1[_xf + 1]; _Va1 = _4F1[_xf + 2]; _7F1 += (_zW * _4h._AC1 + _AW * _4h._BC1 + _4h._CC1) * _Va1; _8F1 += (_zW * _4h._DC1 + _AW * _4h._vh + _4h._EC1) * _Va1 } _1F1[_y2] = _7F1 + _w2; _1F1[_y2 + 1] = _8F1 + _x2 } } else { var _9F1 = _Sg._MC1; for (; _8h < _df; _y2 += 2) { _7F1 = 0; _8F1 = 0; _6F1 = _ID1[_8h++] + _8h; for (; _8h < _6F1; _8h++, _xf += 3, _1w += 2) { _4h = _5F1[_ID1[_8h]]; _zW = _4F1[_xf] + _9F1[_1w]; _AW = _4F1[_xf + 1] + _9F1[_1w + 1]; _Va1 = _4F1[_xf + 2]; _7F1 += (_zW * _4h._AC1 + _AW * _4h._BC1 + _4h._CC1) * _Va1; _8F1 += (_zW * _4h._DC1 + _AW * _4h._vh + _4h._EC1) * _Va1 } _1F1[_y2] = _7F1 + _w2; _1F1[_y2 + 1] = _8F1 + _x2 } } } }; _7e._aF1 = function(name) { this.name = name; this._2h = [] }; _7e._aF1.prototype = { type: _7e._Xg._tE1, _fh: function(_w2, _x2, _4h, _1F1) { _w2 += _4h._CC1; _x2 += _4h._EC1; var _AC1 = _4h._AC1, _BC1 = _4h._BC1, _DC1 = _4h._DC1, _vh = _4h._vh; var _2h = this._2h; for (var _u2 = 0, _df = _2h.length; _u2 < _df; _u2 += 2) { var _fp = _2h[_u2]; var _gp = _2h[_u2 + 1]; _1F1[_u2] = _fp * _AC1 + _gp * _BC1 + _w2; _1F1[_u2 + 1] = _fp * _DC1 + _gp * _vh + _x2 } } }; _7e._9e = function(_iE1) { this._iE1 = _iE1; this._bF1 = {} }; _7e._9e.prototype = { _cF1: 0, _dF1: function(_eF1, _fF1, duration) { var _gF1 = this._iE1._qe(_eF1); if (!_gF1) throw "Animation not found: " + _eF1; var _hF1 = this._iE1._qe(_fF1); if (!_hF1) throw "Animation not found: " + _fF1; this._iF1(_gF1, _hF1, duration) }, _iF1: function(_gF1, _hF1, duration) { this._bF1[_gF1.name + ":" + _hF1.name] = duration }, _jF1: function(_gF1, _hF1) { var _OC1 = this._bF1[_gF1.name + ":" + _hF1.name]; return _OC1 ? _OC1 : this._cF1 } }; _7e._kF1 = function() {}; _7e._kF1.prototype = { _Yn: null, _lF1: null, _pe: null, loop: !1, _mF1: 0, _OC1: 0, _1D1: -1, _nF1: 0, _oF1: 1, _pF1: 0, _qF1: 0, _3D1: 1, _rF1: null, _sF1: null, onComplete: null, _tF1: null }; _7e._ae = function(_Vo1) { this.data = _Vo1; this._uF1 = []; this._2D1 = [] }; _7e._ae.prototype = { _rF1: null, _sF1: null, onComplete: null, _tF1: null, _oF1: 1, _Pe: function(_oE1) { _oE1 *= this._oF1; for (var _u2 = 0; _u2 < this._uF1.length; _u2++) { var current = this._uF1[_u2]; if (!current) continue; current._OC1 += _oE1 * current._oF1; if (current._lF1) { var _vF1 = _oE1 * current._lF1._oF1; current._lF1._OC1 += _vF1; current._pF1 += _vF1 } var _Yn = current._Yn; if (_Yn) { _Yn._OC1 = current._1D1 - _Yn._mF1; if (_Yn._OC1 >= 0) this._wF1(_u2, _Yn) } else { if (!current.loop && current._1D1 >= current._nF1) this._xF1(_u2) } } }, apply: function(_Ee) { for (var _u2 = 0; _u2 < this._uF1.length; _u2++) { var current = this._uF1[_u2]; if (!current) continue; this._2D1.length = 0; var _OC1 = current._OC1; var _1D1 = current._1D1; var _nF1 = current._nF1; var loop = current.loop; if (!loop && _OC1 > _nF1) _OC1 = _nF1; var _lF1 = current._lF1; if (!_lF1) { if (current._3D1 == 1) current._pe.apply(_Ee, current._1D1, _OC1, loop, this._2D1); else current._pe._3D1(_Ee, current._1D1, _OC1, loop, this._2D1, current._3D1) } else { var _yF1 = _lF1._OC1; if (!_lF1.loop && _yF1 > _lF1._nF1) _yF1 = _lF1._nF1; _lF1._pe.apply(_Ee, _yF1, _yF1, _lF1.loop, null); var alpha = current._pF1 / current._qF1 * current._3D1; if (alpha >= 1) { alpha = 1; current._lF1 = null } current._pe._3D1(_Ee, current._1D1, _OC1, loop, this._2D1, alpha) } for (var _zF1 = 0, _6F1 = this._2D1.length; _zF1 < _6F1; _zF1++) { var event = this._2D1[_zF1]; if (current._tF1 != null) current._tF1(_u2, event); if (this._tF1 != null) this._tF1(_u2, event) } if (loop ? (_1D1 % _nF1 > _OC1 % _nF1) : (_1D1 < _nF1 && _OC1 >= _nF1)) { var _fg = Math.floor(_OC1 / _nF1); if (current.onComplete) current.onComplete(_u2, _fg); if (this.onComplete) this.onComplete(_u2, _fg) } current._1D1 = current._OC1 } }, _AF1: function() { for (var _u2 = 0, _df = this._uF1.length; _u2 < _df; _u2++) this._xF1(_u2); this._uF1.length = 0 }, _xF1: function(_BF1) { if (_BF1 >= this._uF1.length) return; var current = this._uF1[_BF1]; if (!current) return; if (current._sF1 != null) current._sF1(_BF1); if (this._sF1 != null) this._sF1(_BF1); this._uF1[_BF1] = null }, _CF1: function(index) { if (index < this._uF1.length) return this._uF1[index]; while (index >= this._uF1.length) this._uF1.push(null); return null }, _wF1: function(index, _DF1) { var current = this._CF1(index); if (current) { var _lF1 = current._lF1; current._lF1 = null; if (current._sF1 != null) current._sF1(index); if (this._sF1 != null) this._sF1(index); _DF1._qF1 = this.data._jF1(current._pe, _DF1._pe); if (_DF1._qF1 > 0) { _DF1._pF1 = 0; if (_lF1 && current._pF1 / current._qF1 < 0.5) _DF1._lF1 = _lF1; else _DF1._lF1 = current } } this._uF1[index] = _DF1; if (_DF1._rF1 != null) _DF1._rF1(index); if (this._rF1 != null) this._rF1(index) }, _EF1: function(_BF1, _hE1, loop) { var _pe = this.data._iE1._qe(_hE1); if (!_pe) throw "Animation not found: " + _hE1; return this._re(_BF1, _pe, loop) }, _re: function(_BF1, _pe, loop) { var _DF1 = new _7e._kF1(); _DF1._pe = _pe; _DF1.loop = loop; _DF1._nF1 = _pe.duration; this._wF1(_BF1, _DF1); return _DF1 }, _FF1: function(_BF1, _hE1, loop, _mF1) { var _pe = this.data._iE1._qe(_hE1); if (!_pe) throw "Animation not found: " + _hE1; return this._GF1(_BF1, _pe, loop, _mF1) }, _GF1: function(_BF1, _pe, loop, _mF1) { var _DF1 = new _7e._kF1(); _DF1._pe = _pe; _DF1.loop = loop; _DF1._nF1 = _pe.duration; var _n2 = this._CF1(_BF1); if (_n2) { while (_n2._Yn) _n2 = _n2._Yn; _n2._Yn = _DF1 } else this._uF1[_BF1] = _DF1; if (_mF1 <= 0) { if (_n2) _mF1 += _n2._nF1 - this.data._jF1(_n2._pe, _pe); else _mF1 = 0 } _DF1._mF1 = _mF1; return _DF1 }, _HF1: function(_BF1) { if (_BF1 >= this._uF1.length) return null; return this._uF1[_BF1] } }; _7e._vg = function(_IF1) { this._IF1 = _IF1 }; _7e._vg.prototype = { scale: 1, _xg: function(_fe) { var _iE1 = new _7e._5E1(); var _ID1 = _fe["bones"]; for (var _u2 = 0, _df = _ID1.length; _u2 < _df; _u2++) { var _JF1 = _ID1[_u2]; var parent = null; if (_JF1["parent"]) { parent = _iE1._7E1(_JF1["parent"]); if (!parent) throw "Parent bone not found: " + _JF1["parent"] } var _wC1 = new _7e._sC1(_JF1["name"], parent); _wC1.length = (_JF1["length"] || 0) * this.scale; _wC1._w2 = (_JF1["x"] || 0) * this.scale; _wC1._x2 = (_JF1["y"] || 0) * this.scale; _wC1._E4 = (_JF1["rotation"] || 0); _wC1._r2 = _JF1.hasOwnProperty("scaleX") ? _JF1["scaleX"] : 1; _wC1._s2 = _JF1.hasOwnProperty("scaleY") ? _JF1["scaleY"] : 1; _wC1._tC1 = !_JF1["inheritScale"] || _JF1["inheritScale"] == "true"; _wC1._uC1 = !_JF1["inheritRotation"] || _JF1["inheritRotation"] == "true"; _iE1._ID1.push(_wC1) } var _Rg = _fe["slots"]; for (var _u2 = 0, _df = _Rg.length; _u2 < _df; _u2++) { var _KF1 = _Rg[_u2]; var _wC1 = _iE1._7E1(_KF1["bone"]); if (!_wC1) throw "Slot bone not found: " + _KF1["bone"]; var _KC1 = new _7e._vC1(_KF1["name"], _wC1); var _Ng = _KF1["color"]; if (_Ng) { _KC1._uf = this._LF1(_Ng, 0); _KC1._Vg = this._LF1(_Ng, 1); _KC1._xf = this._LF1(_Ng, 2); _KC1._Wg = this._LF1(_Ng, 3) } _KC1._xC1 = _KF1["attachment"]; _KC1._yC1 = _KF1["additive"] && _KF1["additive"] == "true"; _iE1._Rg.push(_KC1) } var _6E1 = _fe["skins"]; for (var _eE1 in _6E1) { if (!_6E1.hasOwnProperty(_eE1)) continue; var _MF1 = _6E1[_eE1]; var _jE1 = new _7e._TC1(_eE1); for (var _bE1 in _MF1) { if (!_MF1.hasOwnProperty(_bE1)) continue; var _WC1 = _iE1._cE1(_bE1); var _NF1 = _MF1[_bE1]; for (var _xC1 in _NF1) { if (!_NF1.hasOwnProperty(_xC1)) continue; var _Ug = this._OF1(_jE1, _xC1, _NF1[_xC1]); if (_Ug != null) _jE1._VC1(_WC1, _xC1, _Ug) } } _iE1._6E1.push(_jE1); if (_jE1.name == "default") _iE1._te = _jE1 } var _2D1 = _fe["events"]; for (var _gE1 in _2D1) { if (!_2D1.hasOwnProperty(_gE1)) continue; var _PF1 = _2D1[_gE1]; var _Gy = new _7e._pE1(_gE1); _Gy._qE1 = _PF1["int"] || 0; _Gy._rE1 = _PF1["float"] || 0; _Gy._sE1 = _PF1["string"] || null; _iE1._2D1.push(_Gy) } var _be = _fe["animations"]; for (var _hE1 in _be) { if (!_be.hasOwnProperty(_hE1)) continue; this._QF1(_hE1, _be[_hE1], _iE1) } return _iE1 }, _RF1: function(map) { if (map["type"] && map["type"].toLowerCase() === "boundingbox") { return _7e._Xg._tE1 } else if (map["type"] && map["type"].toLowerCase() === "mesh") { return _7e._Xg._Zg } else if (map["type"] && map["type"].toLowerCase() === "skinnedmesh") { return _7e._Xg.__g } return _7e._Xg._Yg }, _OF1: function(_jE1, name, map) { name = map["name"] || name; var type = this._RF1(map); var _vE1 = map["path"] || name; var scale = this.scale; if (type == _7e._Xg._Yg) { var _Yg = this._IF1._SF1(_jE1, name, _vE1); if (!_Yg) return null; _Yg._vE1 = _vE1; _Yg._w2 = (map["x"] || 0) * this.scale; _Yg._x2 = (map["y"] || 0) * this.scale; _Yg._r2 = map.hasOwnProperty("scaleX") ? map["scaleX"] : 1; _Yg._s2 = map.hasOwnProperty("scaleY") ? map["scaleY"] : 1; _Yg._E4 = map["rotation"] || 0; _Yg.width = (map["width"] || 0) * scale; _Yg.height = (map["height"] || 0) * scale; var _Ng = map["color"]; if (_Ng) { _Yg._uf = this._LF1(_Ng, 0); _Yg._Vg = this._LF1(_Ng, 1); _Yg._xf = this._LF1(_Ng, 2); _Yg._Wg = this._LF1(_Ng, 3) } _Yg._DE1(); return _Yg } else if (type == _7e._Xg._Zg) { var _Zg = this._IF1._TF1(_jE1, name, _vE1); if (!_Zg) return null; _Zg._vE1 = _vE1; _Zg._2h = this._UF1(map, "vertices", scale); _Zg._gh = this._VF1(map, "triangles"); _Zg._TE1 = this._UF1(map, "uvs", 1); _Zg._0F1(); _Ng = map["color"]; if (_Ng) { _Zg._uf = this._LF1(_Ng, 0); _Zg._Vg = this._LF1(_Ng, 1); _Zg._xf = this._LF1(_Ng, 2); _Zg._Wg = this._LF1(_Ng, 3) } _Zg._UE1 = (map["hull"] || 0) * 2; if (map["edges"]) _Zg.__E1 = this._VF1(map, "edges"); _Zg.width = (map["width"] || 0) * scale; _Zg.height = (map["height"] || 0) * scale; return _Zg } else if (type == _7e._Xg.__g) { var _Zg = this._IF1._WF1(_jE1, name, _vE1); if (!_Zg) return null; _Zg._vE1 = _vE1; var _7h = this._UF1(map, "uvs", 1); _2h = this._UF1(map, "vertices", 1); var _4F1 = []; var _ID1 = []; for (var _u2 = 0, _df = _2h.length; _u2 < _df;) { var _XF1 = _2h[_u2++] | 0; _ID1[_ID1.length] = _XF1; for (var _6F1 = _u2 + _XF1 * 4; _u2 < _6F1;) { _ID1[_ID1.length] = _2h[_u2]; _4F1[_4F1.length] = _2h[_u2 + 1] * scale; _4F1[_4F1.length] = _2h[_u2 + 2] * scale; _4F1[_4F1.length] = _2h[_u2 + 3]; _u2 += 4 } } _Zg._ID1 = _ID1; _Zg._4F1 = _4F1; _Zg._gh = this._VF1(map, "triangles"); _Zg._TE1 = _7h; _Zg._0F1(); _Ng = map["color"]; if (_Ng) { _Zg._uf = this._LF1(_Ng, 0); _Zg._Vg = this._LF1(_Ng, 1); _Zg._xf = this._LF1(_Ng, 2); _Zg._Wg = this._LF1(_Ng, 3) } _Zg._UE1 = (map["hull"] || 0) * 2; if (map["edges"]) _Zg.__E1 = this._VF1(map, "edges"); _Zg.width = (map["width"] || 0) * scale; _Zg.height = (map["height"] || 0) * scale; return _Zg } else if (type == _7e._Xg._tE1) { var _Ug = this._IF1._YF1(_jE1, name); var _2h = map["vertices"]; for (var _u2 = 0, _df = _2h.length; _u2 < _df; _u2++) _Ug._2h.push(_2h[_u2] * this.scale); return _Ug } throw "Unknown attachment type: " + type; }, _QF1: function(name, map, _iE1) { var _Ne = []; var duration = 0; var _Rg = map["slots"]; for (var _bE1 in _Rg) { if (!_Rg.hasOwnProperty(_bE1)) continue; var _KF1 = _Rg[_bE1]; var _WC1 = _iE1._cE1(_bE1); for (var _ZF1 in _KF1) { if (!_KF1.hasOwnProperty(_ZF1)) continue; var _5D1 = _KF1[_ZF1]; if (_ZF1 == "color") { var _Ey = new _7e._QD1(_5D1.length); _Ey._WC1 = _WC1; var _aD1 = 0; for (var _u2 = 0, _df = _5D1.length; _u2 < _df; _u2++) { var __F1 = _5D1[_u2]; var _Ng = __F1["color"]; var _uf = this._LF1(_Ng, 0); var _Vg = this._LF1(_Ng, 1); var _xf = this._LF1(_Ng, 2); var _Wg = this._LF1(_Ng, 3); _Ey._GD1(_aD1, __F1["time"], _uf, _Vg, _xf, _Wg); this._0G1(_Ey, _aD1, __F1); _aD1++ } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() * 5 - 5]) } else if (_ZF1 == "attachment") { var _Ey = new _7e._VD1(_5D1.length); _Ey._WC1 = _WC1; var _aD1 = 0; for (var _u2 = 0, _df = _5D1.length; _u2 < _df; _u2++) { var __F1 = _5D1[_u2]; _Ey._GD1(_aD1++, __F1["time"], __F1["name"]) } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() - 1]) } else throw "Invalid timeline type for a slot: " + _ZF1 + " (" + _bE1 + ")" } } var _ID1 = map["bones"]; for (var _8E1 in _ID1) { if (!_ID1.hasOwnProperty(_8E1)) continue; var _ED1 = _iE1._9E1(_8E1); if (_ED1 == -1) throw "Bone not found: " + _8E1; var _JF1 = _ID1[_8E1]; for (var _ZF1 in _JF1) { if (!_JF1.hasOwnProperty(_ZF1)) continue; var _5D1 = _JF1[_ZF1]; if (_ZF1 == "rotate") { var _Ey = new _7e._DD1(_5D1.length); _Ey._ED1 = _ED1; var _aD1 = 0; for (var _u2 = 0, _df = _5D1.length; _u2 < _df; _u2++) { var __F1 = _5D1[_u2]; _Ey._GD1(_aD1, __F1["time"], __F1["angle"]); this._0G1(_Ey, _aD1, __F1); _aD1++ } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() * 2 - 2]) } else if (_ZF1 == "translate" || _ZF1 == "scale") { var _Ey; var _1G1 = 1; if (_ZF1 == "scale") _Ey = new _7e._PD1(_5D1.length); else { _Ey = new _7e._MD1(_5D1.length); _1G1 = this.scale } _Ey._ED1 = _ED1; var _aD1 = 0; for (var _u2 = 0, _df = _5D1.length; _u2 < _df; _u2++) { var __F1 = _5D1[_u2]; var _w2 = (__F1["x"] || 0) * _1G1; var _x2 = (__F1["y"] || 0) * _1G1; _Ey._GD1(_aD1, __F1["time"], _w2, _x2); this._0G1(_Ey, _aD1, __F1); _aD1++ } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() * 3 - 3]) } else throw "Invalid timeline type for a bone: " + _ZF1 + " (" + _8E1 + ")" } } var _9F1 = map["ffd"]; for (var _eE1 in _9F1) { var _jE1 = _iE1._dE1(_eE1); var _KF1 = _9F1[_eE1]; for (_bE1 in _KF1) { var _WC1 = _iE1._cE1(_bE1); var _2G1 = _KF1[_bE1]; for (var _3G1 in _2G1) { var _5D1 = _2G1[_3G1]; var _Ey = new _7e._0E1(_5D1.length); var _Ug = _jE1._XC1(_WC1, _3G1); if (!_Ug) throw "FFD attachment not found: " + _3G1; _Ey._WC1 = _WC1; _Ey._Ug = _Ug; var _4G1 = _Ug.type == _7e._Xg._Zg; var _JU; if (_4G1) _JU = _Ug._2h.length; else _JU = _Ug._4F1.length / 3 * 2; var _aD1 = 0; for (var _u2 = 0, _df = _5D1.length; _u2 < _df; _u2++) { var __F1 = _5D1[_u2]; var _2h; if (!__F1["vertices"]) { if (_4G1) _2h = _Ug._2h; else { _2h = []; _2h.length = _JU } } else { var _5G1 = __F1["vertices"]; var _2h = []; _2h.length = _JU; var start = __F1["offset"] || 0; var _6F1 = _5G1.length; if (this.scale == 1) { for (var _zF1 = 0; _zF1 < _6F1; _zF1++) _2h[_zF1 + start] = _5G1[_zF1] } else { for (var _zF1 = 0; _zF1 < _6F1; _zF1++) _2h[_zF1 + start] = _5G1[_zF1] * scale } if (_4G1) { var _6G1 = _Ug._2h; for (var _zF1 = 0, _6F1 = _2h.length; _zF1 < _6F1; _zF1++) { if (_2h[_zF1]) { _2h[_zF1] += _6G1[_zF1] } else { _2h[_zF1] = _6G1[_zF1] } } } } _Ey._GD1(_aD1, __F1["time"], _2h); this._0G1(_Ey, _aD1, __F1); _aD1++ } _Ne[_Ne.length] = _Ey; duration = Math.max(duration, _Ey.frames[_Ey._FD1() - 1]) } } } var _7G1 = map["draworder"]; if (_7G1) { var _Ey = new _7e._YD1(_7G1.length); var _8G1 = _iE1._Rg.length; var _aD1 = 0; for (var _u2 = 0, _df = _7G1.length; _u2 < _df; _u2++) { var _9G1 = _7G1[_u2]; var _Tg = null; if (_9G1["offsets"]) { _Tg = []; _Tg.length = _8G1; for (var _zF1 = _8G1 - 1; _zF1 >= 0; _zF1--) _Tg[_zF1] = -1; var _aG1 = _9G1["offsets"]; var _bG1 = []; _bG1.length = _8G1 - _aG1.length; var _cG1 = 0, _dG1 = 0; for (var _zF1 = 0, _6F1 = _aG1.length; _zF1 < _6F1; _zF1++) { var _eG1 = _aG1[_zF1]; var _WC1 = _iE1._cE1(_eG1["slot"]); if (_WC1 == -1) throw "Slot not found: " + _eG1["slot"]; while (_cG1 != _WC1) _bG1[_dG1++] = _cG1++; _Tg[_cG1 + _eG1["offset"]] = _cG1++ } while (_cG1 < _8G1) _bG1[_dG1++] = _cG1++; for (var _zF1 = _8G1 - 1; _zF1 >= 0; _zF1--) if (_Tg[_zF1] == -1) _Tg[_zF1] = _bG1[--_dG1] } _Ey._GD1(_aD1++, _9G1["time"], _Tg) } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() - 1]) } var _2D1 = map["events"]; if (_2D1) { var _Ey = new _7e._XD1(_2D1.length); var _aD1 = 0; for (var _u2 = 0, _df = _2D1.length; _u2 < _df; _u2++) { var _PF1 = _2D1[_u2]; var _Gy = _iE1._fE1(_PF1["name"]); if (!_Gy) throw "Event not found: " + _PF1["name"]; var event = new _7e._Iy(_Gy); event._qE1 = _PF1.hasOwnProperty("int") ? _PF1["int"] : _Gy._qE1; event._rE1 = _PF1.hasOwnProperty("float") ? _PF1["float"] : _Gy._rE1; event._sE1 = _PF1.hasOwnProperty("string") ? _PF1["string"] : _Gy._sE1; _Ey._GD1(_aD1++, _PF1["time"], event) } _Ne.push(_Ey); duration = Math.max(duration, _Ey.frames[_Ey._FD1() - 1]) } _iE1._be.push(new _7e._0D1(name, _Ne, duration)) }, _0G1: function(_Ey, _aD1, __F1) { var _fG1 = __F1["curve"]; if (!_fG1) return; if (_fG1 == "stepped") _Ey._8D1._bD1(_aD1); else if (_fG1 instanceof Array) _Ey._8D1._cD1(_aD1, _fG1[0], _fG1[1], _fG1[2], _fG1[3]) }, _LF1: function(_gG1, _hG1) { if (_gG1.length != 8) throw "Color hexidecimal length must be 8, recieved: " + _gG1; return parseInt(_gG1.substring(_hG1 * 2, (_hG1 * 2) + 2), 16) / 255 }, _UF1: function(map, name, scale) { var _An = map[name]; var _5D1 = []; _5D1.length = _An.length; var _u2 = 0, _df = _An.length; if (scale == 1) { for (; _u2 < _df; _u2++) _5D1[_u2] = _An[_u2] } else { for (; _u2 < _df; _u2++) _5D1[_u2] = _An[_u2] * scale } return _5D1 }, _VF1: function(map, name) { var _An = map[name]; var _5D1 = []; _5D1.length = _An.length; for (var _u2 = 0, _df = _An.length; _u2 < _df; _u2++) _5D1[_u2] = _An[_u2] | 0; return _5D1 } }; _7e._ug = function(_iG1, _jG1) { this._jG1 = _jG1; this._kG1 = []; this._lG1 = []; var _mG1 = new _7e._nG1(_iG1); var _oG1 = []; _oG1.length = 4; var _ah = null; while (!0) { var _pG1 = _mG1._qG1(); if (_pG1 == null) break; _pG1 = _mG1.trim(_pG1); if (_pG1.length == 0) _ah = null; else if (!_ah) { _ah = new _7e._rG1(); _ah.name = _pG1; if (_mG1._sG1(_oG1) == 2) { _ah.width = parseInt(_oG1[0]); _ah.height = parseInt(_oG1[1]); _mG1._sG1(_oG1) } _ah._tG1 = _7e._ug._Sj[_oG1[0]]; _mG1._sG1(_oG1); _ah._uG1 = _7e._ug._vG1[_oG1[0]]; _ah._wG1 = _7e._ug._vG1[_oG1[1]]; var _H9 = _mG1._xG1(); _ah._yG1 = _7e._ug._zG1._AG1; _ah._BG1 = _7e._ug._zG1._AG1; if (_H9 == "x") _ah._yG1 = _7e._ug._zG1.repeat; else if (_H9 == "y") _ah._BG1 = _7e._ug._zG1.repeat; else if (_H9 == "xy") _ah._yG1 = _ah._BG1 = _7e._ug._zG1.repeat; _jG1.load(_ah, _pG1, this); this._kG1.push(_ah) } else { var _Yg = new _7e._CG1(); _Yg.name = _pG1; _Yg._ah = _ah; _Yg.rotate = _mG1._xG1() == "true"; _mG1._sG1(_oG1); var _w2 = parseInt(_oG1[0]); var _x2 = parseInt(_oG1[1]); _mG1._sG1(_oG1); var width = parseInt(_oG1[0]); var height = parseInt(_oG1[1]); _Yg._6h = _w2 / _ah.width; _Yg._8h = _x2 / _ah.height; if (_Yg.rotate) { _Yg._s_ = (_w2 + height) / _ah.width; _Yg._Uh = (_x2 + width) / _ah.height } else { _Yg._s_ = (_w2 + width) / _ah.width; _Yg._Uh = (_x2 + height) / _ah.height } _Yg._w2 = _w2; _Yg._x2 = _x2; _Yg.width = Math.abs(width); _Yg.height = Math.abs(height); if (_mG1._sG1(_oG1) == 4) { _Yg._DG1 = [parseInt(_oG1[0]), parseInt(_oG1[1]), parseInt(_oG1[2]), parseInt(_oG1[3])]; if (_mG1._sG1(_oG1) == 4) { _Yg._EG1 = [parseInt(_oG1[0]), parseInt(_oG1[1]), parseInt(_oG1[2]), parseInt(_oG1[3])]; _mG1._sG1(_oG1) } } _Yg._FG1 = parseInt(_oG1[0]); _Yg._GG1 = parseInt(_oG1[1]); _mG1._sG1(_oG1); _Yg._HG1 = parseInt(_oG1[0]); _Yg._IG1 = parseInt(_oG1[1]); _Yg.index = parseInt(_mG1._xG1()); this._lG1.push(_Yg) } } }; _7e._ug.prototype = { _JG1: function(name) { var _lG1 = this._lG1; for (var _u2 = 0, _df = _lG1.length; _u2 < _df; _u2++) if (_lG1[_u2].name == name) return _lG1[_u2]; return null }, _KG1: function() { var _kG1 = this._kG1; for (var _u2 = 0, _df = _kG1.length; _u2 < _df; _u2++) this._jG1._LG1(_kG1[_u2]._tg) }, _0F1: function(_ah) { var _lG1 = this._lG1; for (var _u2 = 0, _df = _lG1.length; _u2 < _df; _u2++) { var _Yg = _lG1[_u2]; if (_Yg._ah != _ah) continue; _Yg._6h = _Yg._w2 / _ah.width; _Yg._8h = _Yg._x2 / _ah.height; if (_Yg.rotate) { _Yg._s_ = (_Yg._w2 + _Yg.height) / _ah.width; _Yg._Uh = (_Yg._x2 + _Yg.width) / _ah.height } else { _Yg._s_ = (_Yg._w2 + _Yg.width) / _ah.width; _Yg._Uh = (_Yg._x2 + _Yg.height) / _ah.height; } } } }; _7e._ug._Sj = { alpha: 0, _MG1: 1, _NG1: 2, _OG1: 3, _PG1: 4, _QG1: 5, _RG1: 6 }; _7e._ug._vG1 = { _SG1: 0, _Kg1: 1, _TG1: 2, _UG1: 3, _VG1: 4, _WG1: 5, _XG1: 6 }; _7e._ug._zG1 = { _YG1: 0, _AG1: 1, repeat: 2 }; _7e._rG1 = function() {}; _7e._rG1.prototype = { name: null, _tG1: null, _uG1: null, _wG1: null, _yG1: null, _BG1: null, _tg: null, width: 0, height: 0 }; _7e._CG1 = function() {}; _7e._CG1.prototype = { _ah: null, name: null, _w2: 0, _x2: 0, width: 0, height: 0, _6h: 0, _8h: 0, _s_: 0, _Uh: 0, _HG1: 0, _IG1: 0, _FG1: 0, _GG1: 0, index: 0, rotate: !1, _DG1: null, _EG1: null }; _7e._nG1 = function(text) { var _gv = text.replace("\r\n", "\n"); _gv = _gv.replace("\r", "\n"); this._ZG1 = text.split("\n") }; _7e._nG1.prototype = { index: 0, trim: function(value) { return value.trim() }, _qG1: function() { if (this.index >= this._ZG1.length) return null; return this._ZG1[this.index++] }, _xG1: function() { var _pG1 = this._qG1(); var __C1 = _pG1.indexOf(":"); if (__C1 == -1) throw "Invalid line: " + _pG1; return this.trim(_pG1.substring(__C1 + 1)) }, _sG1: function(_oG1) { var _pG1 = this._qG1(); var __C1 = _pG1.indexOf(":"); if (__C1 == -1) throw "Invalid line: " + _pG1; var _u2 = 0, __G1 = __C1 + 1; for (; _u2 < 3; _u2++) { var _0H1 = _pG1.indexOf(",", __G1); if (_0H1 == -1) break; _oG1[_u2] = this.trim(_pG1.substr(__G1, _0H1 - __G1)); __G1 = _0H1 + 1 } _oG1[_u2] = this.trim(_pG1.substring(__G1)); return _u2 + 1 } }; _7e._wg = function(_1H1) { this._1H1 = _1H1 }; _7e._wg.prototype = { _SF1: function(_jE1, name, _vE1) { var _Yg = this._1H1._JG1(name); if (!_Yg) throw "Region not found in atlas: " + _vE1 + " (region attachment: " + name + ")"; var _Ug = new _7e._uE1(name); _Ug._tg = _Yg; _Ug._CE1(_Yg._6h, _Yg._8h, _Yg._s_, _Yg._Uh, _Yg.rotate); _Ug._wE1 = _Yg._HG1; _Ug._xE1 = _Yg._IG1; _Ug._yE1 = _Yg.width; _Ug._zE1 = _Yg.height; _Ug._AE1 = _Yg._FG1; _Ug._BE1 = _Yg._GG1; return _Ug }, _TF1: function(_jE1, name, _vE1) { var _Yg = this._1H1._JG1(name); if (!_Yg) throw "Region not found in atlas: " + _vE1 + " (mesh attachment: " + name + ")"; var _Ug = new _7e._SE1(name); _Ug._tg = _Yg; _Ug._VE1 = _Yg._6h; _Ug._WE1 = _Yg._8h; _Ug._XE1 = _Yg._s_; _Ug._YE1 = _Yg._Uh; _Ug._ZE1 = _Yg.rotate; _Ug._wE1 = _Yg._HG1; _Ug._xE1 = _Yg._IG1; _Ug._yE1 = _Yg.width; _Ug._zE1 = _Yg.height; _Ug._AE1 = _Yg._FG1; _Ug._BE1 = _Yg._GG1; return _Ug }, _WF1: function(_jE1, name, _vE1) { var _Yg = this._1H1._JG1(name); if (!_Yg) throw "Region not found in atlas: " + _vE1 + " (skinned mesh attachment: " + name + ")"; var _Ug = new _7e._3F1(name); _Ug._tg = _Yg; _Ug._VE1 = _Yg._6h; _Ug._WE1 = _Yg._8h; _Ug._XE1 = _Yg._s_; _Ug._YE1 = _Yg._Uh; _Ug._ZE1 = _Yg.rotate; _Ug._wE1 = _Yg._HG1; _Ug._xE1 = _Yg._IG1; _Ug._yE1 = _Yg.width; _Ug._zE1 = _Yg.height; _Ug._AE1 = _Yg._FG1; _Ug._BE1 = _Yg._GG1; return _Ug }, _YF1: function(_jE1, name) { return new _7e._aF1(name) } }; _7e._ee = function() { this._2H1 = []; this._ef = []; this.__e = [] }; _7e._ee.prototype = { _0f: 0, _3f: 0, _2f: 0, _4f: 0, _Pe: function(_Ee, _3H1) { var _Rg = _Ee._Rg; var _8G1 = _Rg.length; var _w2 = _Ee._w2, _x2 = _Ee._x2; var __e = this.__e; var _2H1 = this._2H1; var _ef = this._ef; __e.length = 0; for (var _u2 = 0, _df = _ef.length; _u2 < _df; _u2++) _2H1.push(_ef[_u2]); _ef.length = 0; for (var _u2 = 0; _u2 < _8G1; _u2++) { var _Sg = _Rg[_u2]; var _4H1 = _Sg._Ug; if (!_4H1 || _4H1.type != _7e._Xg._tE1) continue; __e.push(_4H1); var _5H1 = _2H1.length, _MX; if (_5H1 > 0) { _MX = _2H1[_5H1 - 1]; _2H1.splice(_5H1 - 1, 1) } else _MX = []; _ef.push(_MX); _MX.length = _4H1._2h.length; _4H1._fh(_w2, _x2, _Sg._4h, _MX) } if (_3H1) this._6H1() }, _6H1: function() { var _ef = this._ef; var _0f = Number.MAX_VALUE, _3f = Number.MAX_VALUE, _2f = Number.MIN_VALUE, _4f = Number.MIN_VALUE; for (var _u2 = 0, _df = _ef.length; _u2 < _df; _u2++) { var _2h = _ef[_u2]; for (var _zF1 = 0, _6F1 = _2h.length; _zF1 < _6F1; _zF1 += 2) { var _w2 = _2h[_zF1]; var _x2 = _2h[_zF1 + 1]; _0f = Math.min(_0f, _w2); _3f = Math.min(_3f, _x2); _2f = Math.max(_2f, _w2); _4f = Math.max(_4f, _x2) } } this._0f = _0f; this._3f = _3f; this._2f = _2f; this._4f = _4f }, _7H1: function(_w2, _x2) { return _w2 >= this._0f && _w2 <= this._2f && _x2 >= this._3f && _x2 <= this._4f }, _8H1: function(_hf, _if, _jf, _kf) { var _0f = this._0f, _3f = this._3f, _2f = this._2f, _4f = this._4f; if ((_hf <= _0f && _jf <= _0f) || (_if <= _3f && _kf <= _3f) || (_hf >= _2f && _jf >= _2f) || (_if >= _4f && _kf >= _4f)) return !1; var _gf = (_kf - _if) / (_jf - _hf); var _x2 = _gf * (_0f - _hf) + _if; if (_x2 > _3f && _x2 < _4f) return !0; _x2 = _gf * (_2f - _hf) + _if; if (_x2 > _3f && _x2 < _4f) return !0; var _w2 = (_3f - _if) / _gf + _hf; if (_w2 > _0f && _w2 < _2f) return !0; _w2 = (_4f - _if) / _gf + _hf; if (_w2 > _0f && _w2 < _2f) return !0; return !1 }, _9H1: function(_aH1) { return this._0f < _aH1._2f && this._2f > _aH1._0f && this._3f < _aH1._4f && this._4f > _aH1._3f }, _Kf: function(_w2, _x2) { var _ef = this._ef; for (var _u2 = 0, _df = _ef.length; _u2 < _df; _u2++) if (this._bH1(_ef[_u2], _w2, _x2)) return this.__e[_u2]; return null }, _mf: function(_hf, _if, _jf, _kf) { var _ef = this._ef; for (var _u2 = 0, _df = _ef.length; _u2 < _df; _u2++) if (this._cH1(_ef[_u2], _hf, _if, _jf, _kf)) return this.__e[_u2]; return null }, _bH1: function(_MX, _w2, _x2) { var _6F1 = _MX.length; var _dH1 = _6F1 - 2; var _eH1 = !1; for (var _zF1 = 0; _zF1 < _6F1; _zF1 += 2) { var _fH1 = _MX[_zF1 + 1]; var _gH1 = _MX[_dH1 + 1]; if ((_fH1 < _x2 && _gH1 >= _x2) || (_gH1 < _x2 && _fH1 >= _x2)) { var _hH1 = _MX[_zF1]; if (_hH1 + (_x2 - _fH1) / (_gH1 - _fH1) * (_MX[_dH1] - _hH1) < _w2) _eH1 = !_eH1 } _dH1 = _zF1 } return _eH1 }, _cH1: function(_MX, _hf, _if, _jf, _kf) { var _6F1 = _MX.length; var _iH1 = _hf - _jf, _jH1 = _if - _kf; var _kH1 = _hf * _kf - _if * _jf; var _hp = _MX[_6F1 - 2], _ip = _MX[_6F1 - 1]; for (var _zF1 = 0; _zF1 < _6F1; _zF1 += 2) { var _lH1 = _MX[_zF1], _mH1 = _MX[_zF1 + 1]; var _nH1 = _hp * _mH1 - _ip * _lH1; var _oH1 = _hp - _lH1, _pH1 = _ip - _mH1; var _qH1 = _iH1 * _pH1 - _jH1 * _oH1; var _w2 = (_kH1 * _oH1 - _iH1 * _nH1) / _qH1; if (((_w2 >= _hp && _w2 <= _lH1) || (_w2 >= _lH1 && _w2 <= _hp)) && ((_w2 >= _hf && _w2 <= _jf) || (_w2 >= _jf && _w2 <= _hf))) { var _x2 = (_kH1 * _pH1 - _jH1 * _nH1) / _qH1; if (((_x2 >= _ip && _x2 <= _mH1) || (_x2 >= _mH1 && _x2 <= _ip)) && ((_x2 >= _if && _x2 <= _kf) || (_x2 >= _kf && _x2 <= _if))) return !0 } _hp = _lH1; _ip = _mH1 } return !1 }, _rH1: function(_Ug) { var index = this.__e.indexOf(_Ug); return index == -1 ? null : this._ef[index]; }, _sH1: function() { return this._2f - this._0f }, _tH1: function() { return this._4f - this._3f } }; var _uH1 = 0, _vH1 = 1, _wH1 = 2, _xH1 = 3, _yH1 = 4, _zH1 = 5, _AH1 = 6, _BH1 = 7, _CH1 = 8, _DH1 = 9; var _EH1 = 0, _FH1 = 1, _GH1 = 2, _HH1 = 3; function _IH1(_Pj, _dn) { this.type = _Pj; this.id = _dn; this._du1 = null }; _IH1.prototype._JH1 = function(_Vt1, _KH1, _LH1, _MH1, _NH1) { var _OH1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var width = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var height = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _PH1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _QH1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _RH1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _SH1 = _LH1; var _TH1 = new Uint8Array(_Vt1); var _UH1 = (_PH1 > 0) ? new Uint8Array(_Vt1, _LH1, _PH1) : null; _LH1 += _PH1; var _VH1 = (_QH1 > 0) ? new Uint8Array(_Vt1, _LH1, _QH1) : null; _LH1 += _QH1; var _WH1 = (_RH1 > 0) ? new Uint8Array(_Vt1, _LH1, _RH1) : null; _LH1 += _RH1; this._XH1(_OH1, width, height, _UH1, _VH1, _WH1, _NH1); _LH1 = _SH1 + (((_PH1 + _QH1 + _RH1) + 3) & ~3); return _LH1 }; _IH1.prototype._YH1 = function(_5F, _bF) { var _xf = new ArrayBuffer(4); var _Wg = new Uint32Array(_xf); var _v2 = new Uint8Array(_xf); _Wg[0] = 0xdeadbeef; if (_v2[0] == 0xef) { return (((_5F & 0xff) << 8) | (_bF & 0xff)) } if (_v2[0] == 0xde) { return (((_bF & 0xff) << 8) | (_5F & 0xff)) } }; _IH1.prototype._ZH1 = function(__H1) { try { do { if (__H1[1] == 0xd9) { __H1 = __H1.subarray(2) } else if (__H1[1] == 0xd8) { if ((__H1[6] === 0x4a) && (__H1[7] === 0x46) && (__H1[8] === 0x49) && (__H1[9] === 0x46)) { var _y2 = this._YH1(__H1[14], __H1[15]); var _z2 = this._YH1(__H1[16], __H1[17]); var _0I1 = { width: _y2, height: _z2, body: __H1 }; return _0I1 } __H1 = __H1.subarray(4 + this._YH1(__H1[4], __H1[5])) } else { __H1 = __H1.subarray(2 + this._YH1(__H1[2], __H1[3])); } } while ((__H1.byteLength >= 0) && (__H1[0] == 0xff)) } catch (e) { debug(e.message) } var _0I1 = { width: _y2, height: _z2, body: __H1 }; return _0I1 }; _IH1.prototype._XH1 = function(_Pj, _bg, _cg, __H1, _1I1, _2I1, _3I1) { switch (_Pj) { case _yH1: { this._du1 = this._4I1(_bg, _cg, __H1, "gif") } break; case _xH1: { this._du1 = this._4I1(_bg, _cg, __H1, "png") } break; case _vH1: case _uH1: { this._du1 = this._4I1(_bg, _cg, __H1, "jpeg") } break; case _wH1: { var _0I1 = this._ZH1(__H1); this._du1 = this._4I1(_0I1.width, _0I1.height, _0I1.body, "jpeg", function(_gM) { var _5I1 = String.fromCharCode.apply(null, new Uint16Array(_1I1)); var _5I1 = _5I1.split('').map(function(e) { return e.charCodeAt(0) }); var _6I1 = window["Zlib"]; var _7I1 = new _6I1["Inflate"](_5I1); var _8I1 = _7I1["decompress"](); this._du1 = _aq1(_gM, _8I1) }) } break; case _zH1: case _CH1: { this._du1 = null } break; case _AH1: case _BH1: case _DH1: { var _du1 = new Image(); var _mj = _3g._6q1(_du1, __H1, _bg, _cg); _du1._Bh = _mj; _du1._qj = _bg; _du1._rj = _cg; this._du1 = _du1 } break; default: break } }; _IH1.prototype._4I1 = function(_bg, _cg, __H1, _9I1, _oC, _aI1) { var _bI1 = new Uint16Array(__H1); var _XC = ""; for (var _u2 = 0, _sf = _bI1.length; _u2 < _sf; _u2++) { _XC += String.fromCharCode(_bI1[_u2]) } var _cI1 = window._dI1(_XC); var _eI1 = "data:image/" + _9I1 + ";base64," + _cI1; var img = new Image(); img.onload = function() { var _Zo = { _hg: img }; _Ch(_Zo); if (_oC) { _oC(_Zo) } }; img.onerror = function(e) { debug(e); if (_aI1) { _aI1(e) } }; img.src = _eI1; return img }; function _aq1(_gM, _fj) { var _mj = _3g._aq1(_gM._hg._Bh, _fj); _gM._hg._Bh = _mj; _gM._hg._qj = _mj._cq1; _gM._hg._rj = _mj._dq1; return _gM._hg } var _fI1 = 0, _gI1 = 1, _hI1 = 2; var _iI1 = 0, _jI1 = 1, _kI1 = 2, _lI1 = 3; var _mI1 = 0, _nI1 = 1; var _oI1 = { _JS: 0, _KS: 0, version: 1 }; function _pI1(_Pj, _dn) { this.type = _Pj; this.id = _dn }; _pI1.prototype._qI1 = function(_KH1, _LH1, _MH1, _rI1) { this._0f = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4; this._2f = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4; this._3f = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4; this._4f = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4; var _sI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; this._tI1 = []; for (var _u2 = 0; _u2 < _sI1; _u2++) { var _uI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _vI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _wI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _xI1 = { _uI1: _uI1, _vI1: _vI1, _wI1: _wI1 }; _xI1._yI1 = (_uI1 > 0) ? [] : null; _xI1._zI1 = (_vI1 > 0) ? [] : null; _xI1._AI1 = (_wI1 > 0) ? [] : null; _LH1 = this._BI1(_xI1, _KH1, _LH1, _MH1, _rI1); _LH1 = this._CI1(_xI1, _KH1, _LH1, _MH1); _LH1 = this._DI1(_xI1, _KH1, _LH1, _MH1); this._tI1.push(_xI1) } return _LH1 }; _pI1.prototype._BI1 = function(_EI1, _KH1, _LH1, _MH1, _rI1) { _EI1._yI1 = []; for (var _u2 = 0; _u2 < _EI1._uI1; _u2++) { var _FI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _GI1 = null; switch (_FI1) { case _jI1: { _GI1 = { type: _jI1 }; var _Mp = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Np = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Op = _KH1.getUint8(_LH1, _MH1); _LH1++; var alpha = _KH1.getUint8(_LH1, _MH1); _LH1++; _GI1._Dg = (_Mp | (_Np << 8) | (_Op << 16) | (alpha << 24)) } break; case _kI1: { _GI1 = { type: _kI1 }; _GI1._HI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _II1 = []; for (var _gf = 0; _gf < 9; _gf++) { _II1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } _GI1._II1 = new _Ws(); _GI1._II1._gf[_cu] = _II1[0]; _GI1._II1._gf[_du] = _II1[1]; _GI1._II1._gf[_fu] = _II1[2]; _GI1._II1._gf[_gu] = _II1[3]; _GI1._II1._gf[_5t] = _II1[4]; _GI1._II1._gf[_iu] = _II1[5]; _GI1._JI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _GI1._KI1 = []; for (var _gf = 0; _gf < _GI1._JI1; _gf++) { var _yg1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _Mp = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Np = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Op = _KH1.getUint8(_LH1, _MH1); _LH1++; var alpha = _KH1.getUint8(_LH1, _MH1); _LH1++; _GI1._KI1.push({ _yg1: _yg1, _Dg: (_Mp | (_Np << 8) | (_Op << 16) | (alpha << 24)) }) } _GI1._nj = null; this._LI1(_GI1) } break; case _lI1: { _GI1 = { type: _lI1 }; _GI1._MI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _GI1._NI1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _GI1._OI1 = -1; for (var index = 0; index < _rI1.length; index++) { if (_rI1[index].id === _GI1._NI1) { _GI1._OI1 = index; break } } var _II1 = []; for (var _gf = 0; _gf < 9; _gf++) { _II1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } _GI1._II1 = new _Ws(); _GI1._II1._gf[_cu] = _II1[0]; _GI1._II1._gf[_du] = _II1[1]; _GI1._II1._gf[_fu] = _II1[2]; _GI1._II1._gf[_gu] = _II1[3]; _GI1._II1._gf[_5t] = _II1[4]; _GI1._II1._gf[_iu] = _II1[5] } break } _EI1._yI1.push(_GI1) } return _LH1 }; _pI1.prototype._LI1 = function(_PI1) { if ((_PI1 === null) || (_PI1 === undefined)) { return } var _QI1 = 256, _RI1 = 1, _SI1 = 64, _TI1 = 64; var _UI1 = []; var width, height; switch (_PI1._HI1) { default: return; case _mI1: { width = _QI1; height = _RI1; for (var _u2 = 0; _u2 < _QI1; _u2++) { _UI1[_u2] = this._VI1(_PI1, _u2) } } break; case _nI1: { width = _SI1; height = _TI1; var _WI1 = (_SI1 - 1) / 2; var _XI1 = (_TI1 - 1) / 2; var _NU = _vf(_WI1, _XI1); for (var _Bf = 0; _Bf < _TI1; _Bf++) { for (var _u2 = 0; _u2 < _SI1; _u2++) { var _Vw1 = _u2 - _WI1; var _Tw1 = _Bf - _XI1; var _nE = Math.sqrt(_Vw1 * _Vw1 + _Tw1 * _Tw1); _nE /= _NU; var _yg1 = 255 * _nE; _UI1[(_Bf * _SI1) + _u2] = this._VI1(_PI1, _yg1) } } } break } _PI1._nj = _YI1(width, height, _UI1) }; function _YI1(_6n, _7n, _7q1) { var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); var _mj = _3g._8q1(_ML, _7q1, _6n, _7n); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _mj._cq1; _Zo._z2 = _mj._dq1; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _6n; _Zo._T4 = _7n; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _Zo._hg._Bh = _mj; _Zo._hg._qj = _ML.width; _Zo._hg._rj = _ML.height; return _Zo } _pI1.prototype._VI1 = function(_PI1, _ZI1) { if (_PI1._JI1 <= 0) { return 0 } _ZI1 = (_ZI1 < 0) ? 0 : (_ZI1 > 255) ? 255 : _ZI1; if (_ZI1 < _PI1._KI1[0]._yg1) { return _PI1._KI1[0]._Dg; } for (var _u2 = 1; _u2 < _PI1._JI1; _u2++) { var __I1 = _PI1._KI1[_u2]; if (__I1._yg1 >= _ZI1) { var _0J1 = _PI1._KI1[_u2 - 1]; var _1J1 = 0; if (__I1._yg1 != _0J1._yg1) { _1J1 = ((_ZI1 - _0J1._yg1) << 8) / (__I1._yg1 - _0J1._yg1) } var _2J1 = 256 - _1J1; var _Dg = __I1._Dg; var _3J1 = _0J1._Dg; var _4J1 = []; _4J1[0] = ((_Dg & 0xff) * _1J1) >> 8; _4J1[1] = (((_Dg >> 8) & 0xff) * _1J1) >> 8; _4J1[2] = (((_Dg >> 16) & 0xff) * _1J1) >> 8; _4J1[3] = (((_Dg >> 24) & 0xff) * _1J1) >> 8; _4J1[0] += ((_3J1 & 0xff) * _2J1) >> 8; _4J1[1] += (((_3J1 >> 8) & 0xff) * _2J1) >> 8; _4J1[2] += (((_3J1 >> 16) & 0xff) * _2J1) >> 8; _4J1[3] += (((_3J1 >> 24) & 0xff) * _2J1) >> 8; var _5J1 = _4J1[0] | (_4J1[1] << 8) | (_4J1[2] << 16) | (_4J1[3] << 24); return _5J1 } } return _PI1._KI1[_PI1._JI1 - 1]._Dg }; _pI1.prototype._CI1 = function(_EI1, _KH1, _LH1, _MH1) { _EI1._zI1 = []; for (var _u2 = 0; _u2 < _EI1._vI1; _u2++) { var _Mp = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Np = _KH1.getUint8(_LH1, _MH1); _LH1++; var _Op = _KH1.getUint8(_LH1, _MH1); _LH1++; var alpha = _KH1.getUint8(_LH1, _MH1); _LH1++; _EI1._zI1.push({ _Dg: (_Mp | (_Np << 8) | (_Op << 16) | (alpha << 24)) }) } return _LH1 }; _pI1.prototype._DI1 = function(_EI1, _KH1, _LH1, _MH1) { var _u2, _gf; _EI1._AI1 = []; for (_u2 = 0; _u2 < _EI1._wI1; _u2++) { var _6J1 = {}; _EI1._AI1.push(_6J1); _6J1._7J1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._8J1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._9J1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._aJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._bJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._cJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._dJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._eJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; if (_oI1.version >= 2) { _6J1._fJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._gJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } if (_oI1.version >= 3) { _6J1._hJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _6J1._iJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } _6J1._jJ1 = (_6J1._aJ1 > 0) ? [] : null; _6J1._kJ1 = (_6J1._bJ1 > 0) ? [] : null; _6J1._lJ1 = (_6J1._cJ1 > 0) ? [] : null; _6J1._mJ1 = (_6J1._dJ1 > 0) ? [] : null; _6J1._nJ1 = (_6J1._eJ1 > 0) ? [] : null; _6J1._oJ1 = (_6J1._fJ1) ? [] : null; _6J1._pJ1 = (_6J1._gJ1) ? [] : null; _6J1._qJ1 = (_6J1._hJ1) ? [] : null; _6J1._rJ1 = (_6J1._iJ1) ? [] : null; for (_gf = 0; _gf < _6J1._aJ1 * 2; _gf++) { _6J1._jJ1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._bJ1 * 2; _gf++) { _6J1._sJ1[_gf] = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._cJ1 * 3; _gf++) { _6J1._lJ1[_gf] = _KH1.getUint32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._dJ1 * 2; _gf++) { _6J1._mJ1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._eJ1 * 3; _gf++) { _6J1._nJ1[_gf] = _KH1.getUint32(_LH1, _MH1); _LH1 += 4 } if (_oI1.version >= 2) { for (_gf = 0; _gf < _6J1._fJ1 * 2; _gf++) { _6J1._oJ1[_gf] = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._gJ1 * 2; _gf++) { _6J1._pJ1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } } if (_oI1.version >= 3) { for (_gf = 0; _gf < _6J1._hJ1 * 2; _gf++) { _6J1._qJ1[_gf] = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } for (_gf = 0; _gf < _6J1._iJ1 * 2; _gf++) { _6J1._rJ1[_gf] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } } } return _LH1 }; var _tJ1 = 1.0 / 20.0; function _uJ1() { this._vJ1 = 0; this._wJ1 = 0; this._0f = 0; this._2f = 0; this._3f = 0; this._4f = 0; this._xJ1 = null }; _uJ1.prototype._yJ1 = function(_KH1, _LH1, _MH1) { this._vJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; this._wJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; this._0f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; this._2f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; this._3f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; this._4f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; var _zJ1, _AJ1, _BJ1; _zJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _AJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _BJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; this._xJ1 = { _zJ1: _zJ1, _AJ1: _AJ1, _BJ1: _BJ1 }; this._CJ1 = []; for (var _u2 = 0; _u2 < this._wJ1; _u2++) { var _DJ1 = {}; this._CJ1.push(_DJ1); _DJ1._EJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _DJ1._0f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _DJ1._2f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _DJ1._3f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _DJ1._4f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _DJ1._FJ1 = []; for (var _Bf = 0; _Bf < _DJ1._EJ1; _Bf++) { var _JE = {}; _DJ1._FJ1.push(_JE); _JE._TE = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _JE.index = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _JE._H2 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; _JE._GJ1 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _HJ1 = []; for (var _dZ = 0; _dZ < 4; _dZ++) { _HJ1[_dZ] = _KH1.getInt32(_LH1, _MH1); _LH1 += 4 } var _IJ1 = []; for (var _dZ = 0; _dZ < 4; _dZ++) { _IJ1[_dZ] = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; } _JE._JJ1 = []; _JE._KJ1 = []; _JE._LJ1 = []; _JE._JJ1[0] = _HJ1[2]; _JE._KJ1[0] = _IJ1[2]; _JE._LJ1[0] = 0; _JE._JJ1[1] = _HJ1[1]; _JE._KJ1[1] = _IJ1[1]; _JE._LJ1[1] = _IJ1[1]; _JE._JJ1[2] = _HJ1[0]; _JE._KJ1[2] = _IJ1[0]; _JE._LJ1[2] = _IJ1[0]; _JE._JJ1[3] = _HJ1[3]; _JE._KJ1[3] = _IJ1[3]; _JE._LJ1[3] = _IJ1[3]; _JE._0f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _JE._2f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _JE._3f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; _JE._4f = _KH1.getFloat32(_LH1, _MH1) * _tJ1; _LH1 += 4; var _II1 = []; for (var _dZ = 0; _dZ < 9; _dZ++) { _II1[_dZ] = _KH1.getFloat32(_LH1, _MH1); _LH1 += 4 } _JE._II1 = new _Ws(); _JE._II1._gf[_cu] = _II1[0]; _JE._II1._gf[_du] = _II1[1]; _JE._II1._gf[_fu] = _II1[2]; _JE._II1._gf[_gu] = _II1[3]; _JE._II1._gf[_5t] = _II1[4]; _JE._II1._gf[_iu] = _II1[5] } } return _LH1 }; var _MJ1 = -1; var _Nm = null; var _NJ1 = 0; var _OJ1 = 0; var _PJ1 = { _w2: 0, _x2: 0, _ei: 0 }; var _QJ1 = "en"; function _RJ1(canvas) { debug = _SJ1; _bJ = _TJ1; _Ly = _UJ1; tizen.systeminfo.getPropertyValue("LOCALE", _VJ1, null); _9Q = _WJ1; _bQ = _XJ1; _dQ = _YJ1; debug('------- Tizen_Init -------------'); debug('href=' + window.location._ZJ1); debug('canvas size:' + canvas.width + ',' + canvas.height); debug('window size:' + window.innerWidth + ',' + window.innerHeight); debug('clientWidth:' + document.documentElement.clientWidth); debug('clientHeight:' + document.documentElement.clientHeight); debug('displayName:' + _cv._W4._j5); _qR = canvas.width; _sR = canvas.height; var __J1 = document.documentElement.clientWidth; var _0K1 = document.documentElement.clientHeight; _0K1 -= _OJ1; if (0) { var _1K1 = _0K1 / __J1; var _2K1 = canvas.height / canvas.width; if (_1K1 > _2K1) { canvas.width = __J1; canvas.height = __J1 * _2K1; _ja(0, (_0K1 - canvas.height) * 0.5) } else { canvas.height = _0K1; canvas.width = _0K1 / _2K1; _ja((__J1 - canvas.width) * 0.5, 0) } } else { _ja(0, 0); canvas.width = __J1; canvas.height = _0K1; debug("set window rect " + __J1 + "," + _0K1) } _Uz = _3K1; _rP = _4K1; _5K1(); debug("PushEnable=" + _cv._W4._6K1); if (_cv._W4._6K1) { _7K1() } { _Nm = _8K1; } document.addEventListener("webkitvisibilitychange", _9K1, !1); if (window["DeviceMotionEvent"]) { debug("DeviceMotionEvent is supported"); window.addEventListener('devicemotion', _aK1, !1) } else debug("DeviceMotionEvent NOT supported"); window.addEventListener('tizenhwkey', _bK1, !1); window._cK1 = _dK1 } function _UJ1() { return _QJ1 } function _VJ1(_eK1) { var _fK1 = _eK1["language"]; var _gK1 = _fK1.slice(0, 2); _QJ1 = _gK1 } function _TJ1() { debug("game_end"); tizen.application.getCurrentApplication().exit() } function _bK1(_vw) { var _hK1 = 0; if (_vw['keyName'] == 'back') { _hK1 = 8 } else if (_vw['keyName'] == 'menu') { _hK1 = 77 } if (_hK1 != 0) { _UE(_hK1); _YE(_hK1) } } function _dK1() { console.log("tizenUnload"); _MK() } function _iK1() { var __J1 = document.documentElement.clientWidth; var _0K1 = document.documentElement.clientHeight; debug('Tizen_ResizeCanvas: ' + __J1 + ',' + _0K1); _jO(0, 0, __J1, _0K1) } function _aK1(_vw) { var _jK1 = _vw["accelerationIncludingGravity"]; var _kK1 = 1.0 / 9.81; _PJ1._w2 = _jK1["x"] * _kK1; _PJ1._x2 = _jK1["y"] * _kK1; _PJ1._ei = _jK1["z"] * _kK1 } function _9K1() { if (_cv._W4.FlurryId) { if (document.webkitHidden == !0) { debug('pause flurry session'); FlurryAgent._lK1() } else if (document.webkitHidden == !1) { debug('resume flurry session: ' + _cv._W4.FlurryId); FlurryAgent.startSession(_cv._W4.FlurryId) } } } function _mK1() { tizen.systeminfo.getPropertyValue("DEVICE_ORIENTATION", _nK1, null) } function _nK1(_VJ) { var _VJ = _VJ['status']; if (_MJ1 != _VJ) { var _oK1 = Math.abs(_PJ1._ei); if (_oK1 < 0.75 || _MJ1 == -1) { _pK1(_VJ) } } } function _4K1(_uC, _tP, _uP) { debug("tizenUrlOpen:" + _uC); var appControl = new tizen["ApplicationControl"]("http://tizen.org/appcontrol/operation/view", _uC); tizen["application"]["launchAppControl"](appControl, null, function() { console.log("launch application control succeed") }, function(e) { console.log("launch application control failed. reason: " + e.message) }, null) } function _pK1(_qK1) { debug("orientation changed: " + _qK1); var _VJ = _cv._W4.RotateCanvas; if (_MJ1 != -1) { if (_VJ == 0 && (_qK1 == "LANDSCAPE_PRIMARY" || _qK1 == "LANDSCAPE_SECONDARY")) return 0; if (_VJ == 1 && (_qK1 == "PORTRAIT_PRIMARY" || _qK1 == "PORTRAIT_SECONDARY")) return 0 } var _rK1 = document.getElementById("gm4html5_div_id"); var __J1 = document.documentElement.clientWidth; var _0K1 = document.documentElement.clientHeight; var _sK1 = !1; var _nh = _OJ1; var _mh = 0; switch (_qK1) { case "PORTRAIT_PRIMARY": { _rK1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"; break } case "PORTRAIT_SECONDARY": { if (_VJ == 0 || _VJ == 2) { _nh = 0; _rK1.style.webkitTransform = "rotate(180deg) translateY(-" + _0K1 + "px)" } else { _rK1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)"; } break } case "LANDSCAPE_SECONDARY": { if (_VJ == 2) { _rK1.style.webkitTransform = "rotate(-90deg) translateY(-" + __J1 / 2 + "px) translateX(-" + (_0K1 - __J1 / 2) + "px)"; _sK1 = !0 } else if (_VJ == 1) { _rK1.style.webkitTransform = "rotate(180deg) translateX(0px) translateY(-" + _0K1 + "px)"; _nh = 0 } else { _rK1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)" } break } case "LANDSCAPE_PRIMARY": { if (_VJ == 2) { _rK1.style.webkitTransform = "rotate(90deg) translateX(" + __J1 / 2 + "px) translateY(-" + __J1 / 2 + "px)"; _sK1 = !0; _mh = _OJ1 } else { _rK1.style.webkitTransform = "rotate(0deg) translateX(0px) translateY(0px)" } break } default: debug("****** Unknown ori: " + _MJ1); break } if (_sK1) { _0K1 -= _OJ1; debug("window_set_rectangle: " + _0K1 + "," + __J1); _jO(0, 0, _0K1, __J1) } else { _0K1 -= _OJ1; debug("window_set_rectangle: " + __J1 + "," + _0K1); _jO(0, 0, __J1, _0K1) } _MJ1 = _qK1 } function _8K1(_Km, _Om) { var _tK1 = _Km.pageX; var _uK1 = _Km.pageY; var _VJ = _cv._W4.RotateCanvas; var __J1 = document.documentElement.clientWidth; var _0K1 = document.documentElement.clientHeight; _Om._w2 = _tK1; _Om._x2 = _uK1; switch (_MJ1) { case "PORTRAIT_PRIMARY": break; case "PORTRAIT_SECONDARY": { if (_VJ == 0 || _VJ == 2) { _Om._w2 = __J1 - _tK1; _Om._x2 = _0K1 - _uK1 } break } case "LANDSCAPE_SECONDARY": { if (_VJ == 2) { _Om._w2 = _0K1 - _uK1; _Om._x2 = _tK1 } else if (_VJ == 1) { _Om._w2 = __J1 - _tK1; _Om._x2 = _0K1 - _uK1 } break } case "LANDSCAPE_PRIMARY": { if (_VJ == 2) { _Om._w2 = _uK1; _Om._x2 = __J1 - _tK1 } break } default: debug("****** Unknown ori: " + _MJ1); break } } function _3K1() { if (_MJ1 == "PORTRAIT_PRIMARY" || _MJ1 == "PORTRAIT_SECONDARY") { return 1 } return 0 } function _SJ1() { var index; for (index = 0; index < arguments.length; ++index) { console.log(arguments[index]) } } function _WJ1() { return _PJ1._w2 } function _XJ1() { return _PJ1._x2 } function _YJ1() { return _PJ1._ei } var _vK1 = "Not Enabled"; var _wK1 = "Not Available"; var _xK1 = "Loading"; var _yK1 = "Available"; var _zK1 = "Processing Order"; function _AK1() { this._BK1 = _vK1; this._CK1 = !1; this._DK1 = ""; this._EK1 = 0; this._FK1 = !0; this._GK1 = null; this._LD = -1 } var _HK1 = new _AK1(); var _IK1 = 128; function _5K1() { _rD = _JK1; _tD = _KK1; _uD = _LK1; _vD = _MK1; _wD = _NK1; _bo = _OK1 } function _OK1() { var _PK1 = tizen.systeminfo.getCapabilities(); var _QK1 = _PK1["duid"]; return _QK1.toString() } function _RK1() { _sD({ type: _fD, status: _kD }) } function _SK1() { _sD({ type: _fD, status: _lD }) } _AK1.prototype._TK1 = function(_TC, _UK1) { this._BK1 = _TC; if (_UK1 != undefined) { debug("Tizen IAP State-> " + _TC + " : " + _UK1) } else { debug("Tizen IAP State-> " + _TC) } }; _AK1.prototype._VK1 = function() { return this._BK1 }; _AK1.prototype._WK1 = function(_XK1) { this._FK1 = _cv._W4.IAPSandbox; if (this._FK1) { debug("Activating Tizen IAP in SANDBOX mode with groupID:" + _XK1) } else { debug("Activating Tizen IAP in COMMERCIAL mode with groupID:" + _XK1); } this._DK1 = _XK1; this._TK1(_xK1); this._YK1() }; var _ZK1 = { onfailure: function() { console.log("AppControlReplyCB onfailure!"); _HK1._TK1(_wK1); _RK1() }, onsuccess: function(__K1) { if (__K1 != null) { var data = {}; var _u2; var length = __K1.length; for (_u2 = 0; _u2 < length; _u2++) { data[__K1[_u2]._OC] = __K1[_u2].value + '' } var _0L1 = data["_result"]; var _1L1 = _2L1(_0L1); var method = data["_method"]; debug("IAP callback: method:" + method + " result:" + _0L1 + " " + _1L1); if (method == 'OnPurchaseItemInitialized') { _HK1._3L1(data, _0L1) } else if (method == 'OnPurchaseItemFinished') { _HK1._4L1(data, _0L1) } else if (method == 'OnItemInformationListReceived') { _HK1._5L1(data, _0L1) } else if (method == 'OnPurchasedItemInformationListReceived') { _HK1._6L1(data, _0L1) } } } }; function _2L1(_7L1) { var _8L1 = parseInt(_7L1, 10); switch (_8L1) { case 0: return ('Success'); case 100: return ('Request cancelled'); case 200: return ('Network error occured'); case 9000: return ('Process error occured'); case 9200: return ('Service Unavailable'); case 9201: return ('Item GroupId NotFound'); case 9203: return ('PaymentId Not Found'); case 9207: return ('ItemId Not Found'); } return ('Unknown status code ' + _0L1) } _AK1.prototype._9L1 = function(_7q1, _aL1) { var _Zn = new Object(); _Zn.id = _7q1[_aL1 + '_itemId']; _Zn.name = _7q1[_aL1 + '_itemName']; _Zn._bL1 = _7q1[_aL1 + '_itemDownloadUrl']; _Zn.description = _7q1[_aL1 + '_itemDescription']; _Zn._AD = ""; var _cL1 = _7q1[_aL1 + '_itemPrice']; var _dL1 = _7q1[_aL1 + '_currencyUnit']; var _eL1 = _7q1[_aL1 + '_unitPrecedes']; var _fL1 = _7q1[_aL1 + '_hasPenny']; var _gL1 = _cL1.split('.'); _gL1 = _gL1[0] + '.' + _gL1[1].substr(0, 2); _Zn._zD = _gL1; return _Zn }; _AK1.prototype._hL1 = function(_iL1) { var _xu1 = "{ \"productId\":\"" + _iL1.id + "\"" + ", \"title\":\"" + _iL1.name + "\"" + ", \"price\":\"" + _iL1._zD + "\"" + ", \"description\":\"" + _iL1.description + "\"}"; _sD({ type: _gD, _RD: _xu1 }) }; _AK1.prototype._jL1 = function(_kL1, _zu1, _lL1, _mL1) { var _nL1 = 0; var _oL1 = -3; var _AD = (_mL1) ? _nL1 : _oL1; var _xu1 = "{ \"productId\":\"" + _kL1 + "\"" + ", \"purchaseIndex\":" + _zu1 + ", \"purchaseState\":" + _AD + ", \"response\":" + _lL1 + " }"; _sD({ type: _hD, _RD: _xu1 }) }; var _pL1 = _AK1._5L1; _AK1.prototype._5L1 = function(_7q1, _yu1) { if (_yu1 == 0) { var _qL1 = parseInt(_7q1["_startNumber"]); var _rL1 = parseInt(_7q1["_endNumber"]); for (var _u2 = _qL1; _u2 <= _rL1; _u2++) { var _Zn = this._9L1(_7q1, _u2); _Zn._AD = "Available"; this._hL1(_Zn) } this._TK1(_xK1, "retrieving purchased items..."); this._sL1() } else { this._TK1(_wK1, "failed to get buy item list"); _RK1() } }; var _tL1 = _AK1._6L1; _AK1.prototype._6L1 = function(_7q1, _yu1) { if (_yu1 == 0) { var _qL1 = parseInt(_7q1["_startNumber"]); var _rL1 = parseInt(_7q1["_endNumber"]); for (var _u2 = _qL1; _u2 <= _rL1; _u2++) { var _Zn = this._9L1(_7q1, _u2); this._hL1(_Zn); this._jL1(_Zn.id, -1, 0, !0) } this._TK1(_yK1, "got purchased item list"); _SK1(); this._CK1 = !0 } else { this._TK1(_yK1, "failed to get purchased item list - user not signed in?"); _SK1(); this._CK1 = !0 } }; var _uL1 = _AK1._3L1; _AK1.prototype._3L1 = function(_7q1, _yu1) { var _vL1 = _7q1['_transactionId']; if (_yu1 == 0) { var _wL1 = _7q1['_itemId']; var _xL1 = [new tizen.ApplicationControlData('_transactionId', [_vL1]), new tizen.ApplicationControlData('_itemId', [_wL1]), new tizen.ApplicationControlData('_purchaseResume', ['1'])]; this._yL1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _xL1, _ZK1) } else { debug("IAP purchase was not successful"); this._jL1(this._GK1, _vL1, _yu1, !1); this._GK1 = null; this._TK1(_yK1) } }; var _zL1 = _AK1._4L1; _AK1.prototype._4L1 = function(_7q1, _yu1) { var _AL1 = (_yu1 == 0); var _vL1 = _7q1['_transactionId']; if (_AL1) { debug("IAP purchase was successful") } else { debug("IAP purchase failed with status:" + _2L1(_yu1)) } this._jL1(this._GK1, _vL1, _yu1, _AL1); this._TK1(_yK1, "purchase operation finished") }; _AK1.prototype._yL1 = function(_BL1, _nv1, _CL1) { if (this._FK1) { _CL1.push(new tizen.ApplicationControlData('_mcc', ['250'])); _CL1.push(new tizen.ApplicationControlData('_mnc', ['01'])); _CL1.push(new tizen.ApplicationControlData('_mode', ['1'])) } else { _CL1.push(new tizen.ApplicationControlData('_mode', ['0'])) } var _DL1 = new tizen.ApplicationControl(_BL1, null, null, null, _CL1); tizen.application.launchAppControl(_DL1, _nv1, function() {}, function(e) { console.log("launch app control fail - Reason: " + e); if (_nv1 == "tizeninapp.IapClient") { this._TK1(_yK1); this._jL1(this._GK1, this._LD, 9000, !1) } else { this._TK1(_wK1); _RK1() } }, _ZK1) }; _AK1.prototype._YK1 = function() { var _EL1 = 1; var _FL1 = _IK1; var _DK1 = this._DK1; this._EK1 += 1; var _GL1 = this._EK1; var _xL1 = [new tizen.ApplicationControlData('_transactionId', [_GL1]), new tizen.ApplicationControlData('_startNumber', [_EL1]), new tizen.ApplicationControlData('_endNumber', [_FL1]), new tizen.ApplicationControlData('_itemGroupId', [_DK1])]; this._yL1('http://tizen.org/appcontrol/operation/iap/get_item_list', 'tizeninapp.IapService', _xL1, _ZK1) }; _AK1.prototype._sL1 = function() { var _EL1 = 1; var _FL1 = _IK1; var _DK1 = this._DK1; this._EK1 += 1; var _GL1 = this._EK1; var _xL1 = [new tizen.ApplicationControlData('_transactionId', [_GL1]), new tizen.ApplicationControlData('_startNumber', [_EL1]), new tizen.ApplicationControlData('_endNumber', [_FL1]), new tizen.ApplicationControlData('_itemGroupId', [_DK1])]; this._yL1('http://tizen.org/appcontrol/operation/iap/get_purchased_item_list', 'tizeninapp.IapService', _xL1, _ZK1) }; _AK1.prototype._HL1 = function(_IL1, _zu1) { this._GK1 = _IL1; this._LD = _zu1; var _JL1 = _IL1; var _DK1 = this._DK1; var _xL1 = [new tizen.ApplicationControlData('_itemId', [_JL1]), new tizen.ApplicationControlData('_itemGroupId', [_DK1]), new tizen.ApplicationControlData('_transactionId', [_zu1]), ]; this._TK1(_zK1); this._yL1('http://tizen.org/appcontrol/operation/iap/purchase', 'tizeninapp.IapClient', _xL1, _ZK1) }; function _JK1(_vu1) { var _DK1 = _cv._W4._KL1; if (typeof(_DK1) != "string" || _DK1.length <= 0) { debug("Tizen Item Group ID not set") } else { _HK1._WK1(_DK1) } } function _LK1(_IL1, _zu1) { _HK1._HL1(_IL1, _zu1) } function _MK1(_dn) { debug("Tizen IAP does not support consumables"); var _LL1 = 0; var _xu1 = "{ \"productId\":\"" + _dn + "\"" + ", \"consumed\":\"false\"" + ", \"response\":" + _LL1 + " }"; _sD({ type: _iD, _RD: _xu1 }) } function _KK1() { var _yu1 = 0; _sD({ type: _jD, _Ev: _yu1 }) } function _NK1(_dn) { var response = "{ \"response\":6 }"; _sD({ type: _gD, _RD: response }) } var _ML1 = 0; var _NL1 = 1; var _OL1 = 2; var _PL1 = []; function _QL1(_RL1, _Pj, _SL1) { this._AL1 = _RL1; this.type = _Pj; this.data = _SL1 } function _7K1() { _LO = _TL1; _UL1 = _VL1; _WL1(); _XL1(); var _YL1 = tizen.application.getCurrentApplication().getRequestedAppControl(); if (_YL1) { console.log("Requester AppID : " + _YL1.callerAppId); var appControl = _YL1.appControl; var _ZL1 = __L1(appControl); if (_ZL1 != null) { _0M1(!0, _NL1, _ZL1) } } } function _WL1() { debug("Register push service..."); var _1M1 = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify"); tizen.push.registerService(_1M1, _2M1, _3M1) } var _4M1 = _3M1; function _3M1(response) { debug('Push registration error: ' + response['name']); debug('response.code= ' + response['code']); debug('response.message= ' + response['message']); _0M1(!1, _ML1, response['name']) } var _5M1 = _2M1; function _2M1(id) { debug("Push Registration succeeded with id: " + id); _0M1(!0, _ML1, id); debug("Connect to push service..."); tizen.push.connectService(_6M1, _7M1) } var _8M1 = _7M1; function _7M1(response) { console.log('# # # # #Push error callback: ' + response['name']); _0M1(!1, _NL1, response['name']); } var _9M1 = _6M1; function _6M1(_aM1) { console.log("# # # # Push notification received"); var message = _aM1['alertMessage']; var _ZL1 = _aM1['appData']; if (_nR == !1) { _bM1(message, _ZL1) } else { _0M1(!0, _NL1, _ZL1) } } function _bM1(_cM1, _7q1) { console.log("PostNotification: " + _cM1); try { var _dM1 = tizen.application.getAppInfo(); var _eM1 = _dM1['id'].split("."); var _fM1 = "/opt/apps/" + _eM1[0] + "/res/wgt/icon.png"; var _gM1 = {}; _gM1['content'] = _cM1; _gM1['iconPath'] = _fM1; _gM1['vibration'] = !0; _gM1['appId'] = _dM1['id']; var _CL1 = new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/push/appdata", [_7q1]); var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_notify", null, null, null, [_CL1]); _gM1['appControl'] = appControl; var _hM1 = _eM1[1]; var notification = new tizen.StatusNotification("SIMPLE", _hM1, _gM1); tizen.notification.post(notification) } catch (err) { console.log(err.name + ": " + err.message) } } function _TL1() { if (_PL1.length <= 0) return; console.log("tizenPushEventsDispatch: " + _PL1.length + " events"); var map = _86(); _O7._uL = map; for (var _u2 = 0; _u2 < _PL1.length; ++_u2) { var _iM1 = _PL1[_u2]; var _jM1 = ""; switch (_iM1.type) { case 0: _jM1 = "register"; break; case 1: _jM1 = "remote"; break; case 2: _jM1 = "local"; break } _Rn(map); if (!_iM1._AL1) { _96(map, "status", 0); _96(map, "type", _jM1); _96(map, "error", _iM1.data) } else if (_iM1.type == _ML1) { _96(map, "type", _jM1); _96(map, "status", 1); _96(map, "reg_id", _iM1.data) } else { _96(map, "type", _jM1); _96(map, "status", 1); _96(map, "data", _iM1.data) } _cy._vL(_kM1, 0) } _Pn(map); _O7._uL = -1; _PL1.length = 0 } function _0M1(_RL1, _Pj, _SL1) { _PL1.push(new _QL1(_RL1, _Pj, _SL1)) } function __L1(appControl) { if (appControl['operation'] == "http://tizen.org/appcontrol/operation/push_notify") { var data = appControl['data']; for (var _u2 = 0; _u2 < data.length; _u2++) { if (data[_u2]['key'] == "http://tizen.org/appcontrol/data/push/appdata") { var _ZL1 = data[_u2].value[0]; console.log("Got Notification payload:"); return _ZL1 } } } return null } function _XL1() { var _lM1 = tizen.notification.getAll(); var index = 0; debug("***** Found " + _lM1.length + " notifications"); for (index = 0; index < _lM1.length; index++) { console.log(_lM1[index]['id'] + ": title=" + _lM1[index]['title'] + " content=" + _lM1[index]['content']); var appControl = _lM1[index].appControl; var _ZL1 = __L1(appControl); if (_ZL1 != null) { _0M1(!0, _NL1, _ZL1); try { tizen.notification.remove(_lM1[index].id) } catch (err) { console.log(err.name + ": " + err.message) } } } } function _VL1() { if (!_nR) { _nR = !0; _XL1() } }(function() { 'use strict'; function _gf(_xf) { throw _xf } var _df = void 0, _uf = this; function _ov(_xf, _Bp) { var _Wg = _xf.split("."), _v2 = _uf; !(_Wg[0] in _v2) && _v2._mM1 && _v2._mM1("var " + _Wg[0]); for (var _1w; _Wg.length && (_1w = _Wg.shift());)!_Wg.length && _Bp !== _df ? _v2[_1w] = _Bp : _v2 = _v2[_1w] ? _v2[_1w] : _v2[_1w] = {} }; var _6h = "undefined" !== typeof Uint8Array && "undefined" !== typeof Uint16Array && "undefined" !== typeof Uint32Array; function _8h(_xf) { var _Bp = _xf.length, _Wg = 0, _v2 = Number.POSITIVE_INFINITY, _1w, e, _Vg, _z2, _dZ, _sf, _rz, _yA, _wf; for (_yA = 0; _yA < _Bp; ++_yA) _xf[_yA] > _Wg && (_Wg = _xf[_yA]), _xf[_yA] < _v2 && (_v2 = _xf[_yA]); _1w = 1 << _Wg; e = new(_6h ? Uint32Array : Array)(_1w); _Vg = 1; _z2 = 0; for (_dZ = 2; _Vg <= _Wg;) { for (_yA = 0; _yA < _Bp; ++_yA) if (_xf[_yA] === _Vg) { _sf = 0; _rz = _z2; for (_wf = 0; _wf < _Vg; ++_wf) _sf = _sf << 1 | _rz & 1, _rz >>= 1; for (_wf = _sf; _wf < _1w; _wf += _dZ) e[_wf] = _Vg << 16 | _yA; ++_z2 }++_Vg; _z2 <<= 1; _dZ <<= 1 } return [e, _Wg, _v2] }; function _y2(_xf, _Bp) { this._Vg = []; this._z2 = 32768; this._Bp = this._1w = this._Wg = this._sf = 0; this._ez = _6h ? new Uint8Array(_xf) : _xf; this._gf = !1; this._u2 = _w2; this._uf = !1; if (_Bp || !(_Bp = {})) _Bp.index && (this._Wg = _Bp.index), _Bp._nM1 && (this._z2 = _Bp._nM1), _Bp._oM1 && (this._u2 = _Bp._oM1), _Bp._pM1 && (this._uf = _Bp._pM1); switch (this._u2) { case _x2: this._xf = 32768; this._v2 = new(_6h ? Uint8Array : Array)(32768 + this._z2 + 258); break; case _w2: this._xf = 0; this._v2 = new(_6h ? Uint8Array : Array)(this._z2); this.e = this._ei; this._df = this._8h; this._Bf = this._y2; break; default: _gf(_ym("invalid inflate mode")) } } var _x2 = 0, _w2 = 1, _ei = { _wf: _x2, _ov: _w2 }; _y2.prototype._dZ = function() { for (; !this._gf;) { var _xf = _8S(this, 3); _xf & 1 && (this._gf = !0); _xf >>>= 1; switch (_xf) { case 0: var _Bp = this._ez, _Wg = this._Wg, _v2 = this._v2, _1w = this._xf, e = _df, _Vg = _df, _z2 = _df, _dZ = _v2.length, _sf = _df; this._Bp = this._1w = 0; e = _Bp[_Wg++]; e === _df && _gf(_ym("invalid uncompressed block header: LEN (first byte)")); _Vg = e; e = _Bp[_Wg++]; e === _df && _gf(_ym("invalid uncompressed block header: LEN (second byte)")); _Vg |= e << 8; e = _Bp[_Wg++]; e === _df && _gf(_ym("invalid uncompressed block header: NLEN (first byte)")); _z2 = e; e = _Bp[_Wg++]; e === _df && _gf(_ym("invalid uncompressed block header: NLEN (second byte)")); _z2 |= e << 8; _Vg === ~_z2 && _gf(_ym("invalid uncompressed block header: length verify")); _Wg + _Vg > _Bp.length && _gf(_ym("input buffer is broken")); switch (this._u2) { case _x2: for (; _1w + _Vg > _v2.length;) { _sf = _dZ - _1w; _Vg -= _sf; if (_6h) _v2.set(_Bp.subarray(_Wg, _Wg + _sf), _1w), _1w += _sf, _Wg += _sf; else for (; _sf--;) _v2[_1w++] = _Bp[_Wg++]; this._xf = _1w; _v2 = this.e(); _1w = this._xf } break; case _w2: for (; _1w + _Vg > _v2.length;) _v2 = this.e({ _yA: 2 }); break; default: _gf(_ym("invalid inflate mode")) } if (_6h) _v2.set(_Bp.subarray(_Wg, _Wg + _Vg), _1w), _1w += _Vg, _Wg += _Vg; else for (; _Vg--;) _v2[_1w++] = _Bp[_Wg++]; this._Wg = _Wg; this._xf = _1w; this._v2 = _v2; break; case 1: this._Bf(_nT, _hU); break; case 2: _qM1(this); break; default: _gf(_ym("unknown BTYPE: " + _xf)) } } return this._df() }; var _FW = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], _F21 = _6h ? new Uint16Array(_FW) : _FW, _B21 = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 258, 258], _C21 = _6h ? new Uint16Array(_B21) : _B21, _rM1 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0], _dV = _6h ? new Uint8Array(_rM1) : _rM1, _sM1 = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577], _4f1 = _6h ? new Uint16Array(_sM1) : _sM1, _vk1 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], _CT = _6h ? new Uint8Array(_vk1) : _vk1, _tM1 = new(_6h ? Uint8Array : Array)(288), _uM1, _q01; _uM1 = 0; for (_q01 = _tM1.length; _uM1 < _q01; ++_uM1) _tM1[_uM1] = 143 >= _uM1 ? 8 : 255 >= _uM1 ? 9 : 279 >= _uM1 ? 7 : 8; var _nT = _8h(_tM1), _p01 = new(_6h ? Uint8Array : Array)(30), _vM1, _wM1; _vM1 = 0; for (_wM1 = _p01.length; _vM1 < _wM1; ++_vM1) _p01[_vM1] = 5; var _hU = _8h(_p01); function _8S(_xf, _Bp) { for (var _Wg = _xf._1w, _v2 = _xf._Bp, _1w = _xf._ez, e = _xf._Wg, _Vg; _v2 < _Bp;) _Vg = _1w[e++], _Vg === _df && _gf(_ym("input buffer is broken")), _Wg |= _Vg << _v2, _v2 += 8; _Vg = _Wg & (1 << _Bp) - 1; _xf._1w = _Wg >>> _Bp; _xf._Bp = _v2 - _Bp; _xf._Wg = e; return _Vg } function _eU(_xf, _Bp) { for (var _Wg = _xf._1w, _v2 = _xf._Bp, _1w = _xf._ez, e = _xf._Wg, _Vg = _Bp[0], _z2 = _Bp[1], _dZ, _sf, _rz; _v2 < _z2;) { _dZ = _1w[e++]; if (_dZ === _df) break; _Wg |= _dZ << _v2; _v2 += 8 } _sf = _Vg[_Wg & (1 << _z2) - 1]; _rz = _sf >>> 16; _xf._1w = _Wg >> _rz; _xf._Bp = _v2 - _rz; _xf._Wg = e; return _sf & 65535 } function _qM1(_xf) { function _Bp(_Wg, _xf, _v2) { var _Bp, e, _1w, _Vg; for (_Vg = 0; _Vg < _Wg;) switch (_Bp = _eU(this, _xf), _Bp) { case 16: for (_1w = 3 + _8S(this, 2); _1w--;) _v2[_Vg++] = e; break; case 17: for (_1w = 3 + _8S(this, 3); _1w--;) _v2[_Vg++] = 0; e = 0; break; case 18: for (_1w = 11 + _8S(this, 7); _1w--;) _v2[_Vg++] = 0; e = 0; break; default: e = _v2[_Vg++] = _Bp } return _v2 } var _Wg = _8S(_xf, 5) + 257, _v2 = _8S(_xf, 5) + 1, _1w = _8S(_xf, 4) + 4, e = new(_6h ? Uint8Array : Array)(_F21.length), _Vg, _z2, _dZ, _sf; for (_sf = 0; _sf < _1w; ++_sf) e[_F21[_sf]] = _8S(_xf, 3); _Vg = _8h(e); _z2 = new(_6h ? Uint8Array : Array)(_Wg); _dZ = new(_6h ? Uint8Array : Array)(_v2); _xf._Bf(_8h(_Bp.call(_xf, _Wg, _Vg, _z2)), _8h(_Bp.call(_xf, _v2, _Vg, _dZ))) } _y2.prototype._Bf = function(_xf, _Bp) { var _Wg = this._v2, _v2 = this._xf; this._kx = _xf; for (var _1w = _Wg.length - 258, e, _Vg, _z2, _dZ; 256 !== (e = _eU(this, _xf));) if (256 > e) _v2 >= _1w && (this._xf = _v2, _Wg = this.e(), _v2 = this._xf), _Wg[_v2++] = e; else { _Vg = e - 257; _dZ = _C21[_Vg]; 0 < _dV[_Vg] && (_dZ += _8S(this, _dV[_Vg])); e = _eU(this, _Bp); _z2 = _4f1[e]; 0 < _CT[e] && (_z2 += _8S(this, _CT[e])); _v2 >= _1w && (this._xf = _v2, _Wg = this.e(), _v2 = this._xf); for (; _dZ--;) _Wg[_v2] = _Wg[_v2++-_z2] } for (; 8 <= this._Bp;) this._Bp -= 8, this._Wg--; this._xf = _v2 }; _y2.prototype._y2 = function(_xf, _Bp) { var _Wg = this._v2, _v2 = this._xf; this._kx = _xf; for (var _1w = _Wg.length, e, _Vg, _z2, _dZ; 256 !== (e = _eU(this, _xf));) if (256 > e) _v2 >= _1w && (_Wg = this.e(), _1w = _Wg.length), _Wg[_v2++] = e; else { _Vg = e - 257; _dZ = _C21[_Vg]; 0 < _dV[_Vg] && (_dZ += _8S(this, _dV[_Vg])); e = _eU(this, _Bp); _z2 = _4f1[e]; 0 < _CT[e] && (_z2 += _8S(this, _CT[e])); _v2 + _dZ > _1w && (_Wg = this.e(), _1w = _Wg.length); for (; _dZ--;) _Wg[_v2] = _Wg[_v2++-_z2] } for (; 8 <= this._Bp;) this._Bp -= 8, this._Wg--; this._xf = _v2 }; _y2.prototype.e = function() { var _xf = new(_6h ? Uint8Array : Array)(this._xf - 32768), _Bp = this._xf - 32768, _Wg, _v2, _1w = this._v2; if (_6h) _xf.set(_1w.subarray(32768, _xf.length)); else { _Wg = 0; for (_v2 = _xf.length; _Wg < _v2; ++_Wg) _xf[_Wg] = _1w[_Wg + 32768] } this._Vg.push(_xf); this._sf += _xf.length; if (_6h) _1w.set(_1w.subarray(_Bp, _Bp + 32768)); else for (_Wg = 0; 32768 > _Wg; ++_Wg) _1w[_Wg] = _1w[_Bp + _Wg]; this._xf = 32768; return _1w }; _y2.prototype._ei = function(_xf) { var _Bp, _Wg = this._ez.length / this._Wg + 1 | 0, _v2, _1w, e, _Vg = this._ez, _z2 = this._v2; _xf && ("number" === typeof _xf._yA && (_Wg = _xf._yA), "number" === typeof _xf._6h && (_Wg += _xf._6h)); 2 > _Wg ? (_v2 = (_Vg.length - this._Wg) / this._kx[2], e = 258 * (_v2 / 2) | 0, _1w = e < _z2.length ? _z2.length + e : _z2.length << 1) : _1w = _z2.length * _Wg; _6h ? (_Bp = new Uint8Array(_1w), _Bp.set(_z2)) : _Bp = _z2; return this._v2 = _Bp }; _y2.prototype._df = function() { var _xf = 0, _Bp = this._v2, _Wg = this._Vg, _v2, _1w = new(_6h ? Uint8Array : Array)(this._sf + (this._xf - 32768)), e, _Vg, _z2, _dZ; if (0 === _Wg.length) return _6h ? this._v2.subarray(32768, this._xf) : this._v2.slice(32768, this._xf); e = 0; for (_Vg = _Wg.length; e < _Vg; ++e) { _v2 = _Wg[e]; _z2 = 0; for (_dZ = _v2.length; _z2 < _dZ; ++_z2) _1w[_xf++] = _v2[_z2] } e = 32768; for (_Vg = this._xf; e < _Vg; ++e) _1w[_xf++] = _Bp[e]; this._Vg = []; return this.buffer = _1w }; _y2.prototype._8h = function() { var _xf, _Bp = this._xf; _6h ? this._uf ? (_xf = new Uint8Array(_Bp), _xf.set(this._v2.subarray(0, _Bp))) : _xf = this._v2.subarray(0, _Bp) : (this._v2.length > _Bp && (this._v2.length = _Bp), _xf = this._v2); return this.buffer = _xf }; function _xM1(_xf, _Bp) { var _Wg, _v2; this._ez = _xf; this._Wg = 0; if (_Bp || !(_Bp = {})) _Bp.index && (this._Wg = _Bp.index), _Bp._yM1 && (this._8S = _Bp._yM1); _Wg = _xf[this._Wg++]; _v2 = _xf[this._Wg++]; switch (_Wg & 15) { case _zM1: this.method = _zM1; break; default: _gf(_ym("unsupported compression method")) } 0 !== ((_Wg << 8) + _v2) % 31 && _gf(_ym("invalid fcheck flag:" + ((_Wg << 8) + _v2) % 31)); _v2 & 32 && _gf(_ym("fdict flag is not supported")); this._rz = new _y2(_xf, { index: this._Wg, _nM1: _Bp._nM1, _oM1: _Bp._oM1, _pM1: _Bp._pM1 }) } _xM1.prototype._dZ = function() { var _xf = this._ez, _Bp, _Wg; _Bp = this._rz._dZ(); this._Wg = this._rz._Wg; if (this._8S) { _Wg = (_xf[this._Wg++] << 24 | _xf[this._Wg++] << 16 | _xf[this._Wg++] << 8 | _xf[this._Wg++]) >>> 0; var _v2 = _Bp; if ("string" === typeof _v2) { var _1w = _v2.split(""), e, _Vg; e = 0; for (_Vg = _1w.length; e < _Vg; e++) _1w[e] = (_1w[e].charCodeAt(0) & 255) >>> 0; _v2 = _1w } for (var _z2 = 1, _dZ = 0, _sf = _v2.length, _rz, _yA = 0; 0 < _sf;) { _rz = 1024 < _sf ? 1024 : _sf; _sf -= _rz; do _z2 += _v2[_yA++], _dZ += _z2; while (--_rz); _z2 %= 65521; _dZ %= 65521 } _Wg !== (_dZ << 16 | _z2) >>> 0 && _gf(_ym("invalid adler-32 checksum")) } return _Bp }; var _zM1 = 8; _ov("Zlib.Inflate", _xM1); _ov("Zlib.Inflate.prototype.decompress", _xM1.prototype._dZ); var _AM1 = { _BM1: _ei._ov, _CM1: _ei._wf }, _xt, _yt, _zt, $; if (Object._DM1) _xt = Object._DM1(_AM1); else for (_yt in _xt = [], _zt = 0, _AM1) _xt[_zt++] = _yt; _zt = 0; for ($ = _xt.length; _zt < $; ++_zt) _yt = _xt[_zt], _ov("Zlib.Inflate.BufferType." + _yt, _AM1[_yt]) }).call(this); var _EM1 = !1, _FM1 = -1, _GM1 = -1, _HM1 = 0, _IM1 = 1, _JM1 = 2, _KM1 = 3, _LM1 = 4, _MM1 = 5, _NM1 = 6, _OM1 = 7, _PM1 = 8, _QM1 = 9, _RM1 = 10, _SM1 = 11, _TM1 = [0, 0, 0], _UM1 = [0, 0, 0], _VM1 = [0, 0, 0, 0, 0, 0], _WM1 = [0, 0, 0], _XM1 = [0, 0, 0], _YM1 = [0, 0, 0], _ZM1 = [0, 0, 0], __M1 = [0, 0, 0], _0N1 = [0, 0, 0], _1N1 = [0, 0, 0], _2N1 = 0, _3N1 = 0; function _4N1() { if ((_ke._le() <= 30) || (_5N1 <= 30)) { return 1.0 } if ((_ke._le() / _5N1) < 1.2) { return 30.0 / _ke._le() } else { return 30.0 / _5N1 } } function _6N1() { if (!_lG(_FM1)) { _FM1 = _Ho(); _rG(_FM1, 100000) } if (!_lG(_GM1)) { _GM1 = _Ho(); _rG(_GM1, -100000) } if (!_EM1) { _7N1() } } function _7N1() { var _u2; _EM1 = !0; for (_u2 = 0; _u2 <= 5; _u2++) { _VM1[_u2] = _Io() } for (_u2 = 0; _u2 <= 2; _u2++) { _WM1[_u2] = _Io(); _TM1[_u2] = _Io(); _XM1[_u2] = _Io(); _UM1[_u2] = _Io(); _YM1[_u2] = _Io(); _ZM1[_u2] = _Io(); __M1[_u2] = _Io(); _0N1[_u2] = _Io(); _1N1[_u2] = _Io() } _2N1 = _Io(); _3N1 = _Io() } function _8N1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_VM1[0], _aN1); _XG(_VM1[0], 0.1, 0.1, 0.05 * _1w, 0); _vH(_VM1[0], 0, 360, 0, 0, !1); _zH(_VM1[0], 0, 360, 0, 0); _xH(_VM1[0], 2 * _1w, 2 * _1w, -0.1 * _1w, 0); _Mo(_VM1[0], 0.6, 0); _pH(_VM1[0], _sn(10.0 / _1w), _sn(15.0 / _1w)); _FG(_9N1, _ye, _ze, _VM1[0], _uj, 20); _TG(_VM1[1], _aN1); _XG(_VM1[1], 0.1, 0.1, 0.1 * _1w, 0); _vH(_VM1[1], 0, 360, 0, 0, !1); _Mo(_VM1[1], 0.8, 0); _pH(_VM1[1], _sn(15 / _1w), _sn(15 / _1w)); _FG(_9N1, _ye, _ze, _VM1[1], _bN1, 1) } else if (_Cj == 2) { _TG(_VM1[4], _aN1); _XG(_VM1[4], 0.4, 0.4, 0.2 * _1w, 0); _vH(_VM1[4], 0, 360, 0, 0, !1); _zH(_VM1[4], 0, 360, 0, 0); _xH(_VM1[4], 7 * _1w, 7 * _1w, -0.2 * _1w, 0); _Mo(_VM1[4], 0.6, 0); _pH(_VM1[4], _sn(15 / _1w), _sn(20 / _1w)); _FG(_9N1, _ye, _ze, _VM1[4], _uj, 20); _TG(_VM1[5], _aN1); _XG(_VM1[5], 0.4, 0.4, 0.4 * _1w, 0); _vH(_VM1[5], 0, 360, 0, 0, !1); _Mo(_VM1[5], 0.8, 0); _pH(_VM1[5], _sn(20 / _1w), _sn(20 / _1w)); _FG(_9N1, _ye, _ze, _VM1[5], _bN1, 1) } else { _TG(_VM1[2], _aN1); _XG(_VM1[2], 0.3, 0.3, 0.1 * _1w, 0); _vH(_VM1[2], 0, 360, 0, 0, !1); _zH(_VM1[2], 0, 360, 0, 0); _xH(_VM1[2], 4 * _1w, 4 * _1w, -0.18 * _1w, 0); _Mo(_VM1[2], 0.6, 0); _pH(_VM1[2], _sn(12 / _1w), _sn(17 / _1w)); _FG(_9N1, _ye, _ze, _VM1[2], _uj, 20); _TG(_VM1[3], _aN1); _XG(_VM1[3], 0.3, 0.3, 0.2 * _1w, 0); _vH(_VM1[3], 0, 360, 0, 0, !1); _Mo(_VM1[3], 0.8, 0); _pH(_VM1[3], _sn(17 / _1w), _sn(17 / _1w)); _FG(_9N1, _ye, _ze, _VM1[3], _bN1, 1) } } function _cN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_WM1[0], _dN1); _Mo(_WM1[0], 1, 0); _XG(_WM1[0], 0.0, 0.0, 0.15 * _1w, 0.0); _pH(_WM1[0], _sn(10.0 / _1w), _sn(12.0 / _1w)); _FG(_9N1, _ye, _ze, _WM1[0], _uj, 1) } else if (_Cj == 2) { _TG(_WM1[2], _dN1); _Mo(_WM1[2], 1, 0); _XG(_WM1[2], 0, 0, 0.4 * _1w, 0); _pH(_WM1[2], _sn(18.0 / _1w), _sn(20.0 / _1w)); _FG(_9N1, _ye, _ze, _WM1[2], _uj, 1) } else { _TG(_WM1[1], _dN1); _Mo(_WM1[1], 1, 0); _XG(_WM1[1], 0, 0, 0.25 * _1w, 0); _pH(_WM1[1], _sn(13.0 / _1w), _sn(15.0 / _1w)); _FG(_9N1, _ye, _ze, _WM1[1], _uj, 1) } } function _eN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_TM1[0], _dN1); _Mo(_TM1[0], 1, 0); _XG(_TM1[0], 0, 0, 0.2 * _1w, 0); _ZG(_TM1[0], 1, 0.5); _pH(_TM1[0], _sn(10.0 / _1w), _sn(12.0 / _1w)); _FG(_9N1, _ye, _ze, _TM1[0], _uj, 1) } else if (_Cj == 2) { _TG(_TM1[2], _dN1); _Mo(_TM1[2], 1, 0); _XG(_TM1[2], 0, 0, 0.6 * _1w, 0); _ZG(_TM1[2], 1, 0.5); _pH(_TM1[2], _sn(18.0 / _1w), _sn(20.0 / _1w)); _FG(_9N1, _ye, _ze, _TM1[2], _uj, 1) } else { _TG(_TM1[1], _dN1); _Mo(_TM1[1], 1, 0); _XG(_TM1[1], 0, 0, 0.35 * _1w, 0); _ZG(_TM1[1], 1, 0.5); _pH(_TM1[1], _sn(13.0 / _1w), _sn(15.0 / _1w)); _FG(_9N1, _ye, _ze, _TM1[1], _uj, 1) } } function _fN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_XM1[1], _gN1); _XG(_XM1[1], 0.1, 0.2, 0, 0); _xH(_XM1[1], 0.5 * _1w, 3.0 * _1w, 0.0, 0.0); _zH(_XM1[1], 0, 360, 0, 0); _Mo(_XM1[1], 1, 0.4); _pH(_XM1[1], _sn(15.0 / _1w), _sn(25.0 / _1w)); _BH(_XM1[1], 0.10 * _1w, 270); _FG(_9N1, _ye, _ze, _XM1[1], _uj, 75) } else if (_Cj == 2) { _TG(_XM1[1], _gN1); _XG(_XM1[1], 0.1, 0.2, 0, 0); _xH(_XM1[1], 0.5 * _1w, 8.0 * _1w, 0.0, 0.0); _zH(_XM1[1], 0, 360, 0, 0); _Mo(_XM1[1], 1, 0.4); _pH(_XM1[1], _sn(30.0 / _1w), _sn(40.0 / _1w)); _BH(_XM1[1], 0.17 * _1w, 270); _FG(_9N1, _ye, _ze, _XM1[1], _uj, 250) } else { _TG(_XM1[1], _gN1); _XG(_XM1[1], 0.1, 0.2, 0, 0); _xH(_XM1[1], 0.5 * _1w, 6.0 * _1w, 0.0, 0.0); _zH(_XM1[1], 0, 360, 0, 0); _Mo(_XM1[1], 1, 0.4); _pH(_XM1[1], _sn(20.0 / _1w), _sn(30.0 / _1w)); _BH(_XM1[1], 0.15 * _1w, 270); _FG(_9N1, _ye, _ze, _XM1[1], _uj, 150) } } function _hN1(_9N1, _ye, _ze, _Cj, _uj) { var _u2; var _1w = _4N1(); if (_Cj === 0) { _TG(_UM1[0], _aN1); _XG(_UM1[0], 0.2, 0.4, -0.01 * _1w, 0); _Mo(_UM1[0], 0.4, 0); _pH(_UM1[0], _sn(25.0 / _1w), _sn(25.0 / _1w)); for (_u2 = 0; _u2 <= 5; _u2++) { _FG(_9N1, _ye - 5 + _iN1(10), _ze - 5 + _iN1(10), _UM1[0], _uj, 1) } } else if (_Cj === 2) { _TG(_UM1[2], _aN1); _XG(_UM1[2], 0.4, 1, -0.01 * _1w, 0); _Mo(_UM1[2], 0.4, 0); _pH(_UM1[2], _sn(50.0 / _1w), _sn(50.0 / _1w)); for (_u2 = 0; _u2 <= 15; _u2++) { _FG(_9N1, _ye - 30 + _iN1(60), _ze - 30 + _iN1(60), _UM1[2], _uj, 1) } } else { _TG(_UM1[1], _aN1); _XG(_UM1[1], 0.4, 0.7, -0.01 * _1w, 0); _Mo(_UM1[1], 0.4, 0); _pH(_UM1[1], _sn(30.0 / _1w), _sn(30.0 / _1w)); for (_u2 = 0; _u2 <= 10; _u2++) { _FG(_9N1, _ye - 15 + _iN1(30), _ze - 15 + _iN1(30), _UM1[1], _uj, 1) } } } function _jN1(_9N1, _ye, _ze, _Cj, _uj) { var _u2; var _1w = _4N1(); if (_Cj === 0) { _TG(_YM1[0], _aN1); _XG(_YM1[0], 0.2, 0.4, -0.01 * _1w, 0); _Mo(_YM1[0], 0.4, 0); _xH(_YM1[0], 3.0 * _1w, 4.0 * _1w, 0, 0); _zH(_YM1[0], 90, 90, 0, 0); _pH(_YM1[0], _sn(25.0 / _1w), _sn(25.0 / _1w)); for (_u2 = 0; _u2 <= 5; _u2++) { _FG(_9N1, _ye - 5 + _iN1(10), _ze - 5 + _iN1(10), _YM1[0], _uj, 1) } } else if (_Cj === 2) { _TG(_YM1[2], _aN1); _XG(_YM1[2], 0.4, 1, -0.01 * _1w, 0); _Mo(_YM1[2], 0.4, 0); _xH(_YM1[2], 6.0 * _1w, 7.0 * _1w, 0, 0); _zH(_YM1[2], 90, 90, 0, 0); _pH(_YM1[2], _sn(50.0 / _1w), _sn(50.0 / _1w)); for (_u2 = 0; _u2 <= 15; _u2++) { _FG(_9N1, _ye - 30 + _iN1(60), _ze - 30 + _iN1(60), _YM1[2], _uj, 1) } } else { _TG(_YM1[1], _aN1); _XG(_YM1[1], 0.4, 0.7, -0.01 * _1w, 0); _Mo(_YM1[1], 0.4, 0); _xH(_YM1[1], 5.0 * _1w, 6.0 * _1w, 0, 0); _zH(_YM1[1], 90, 90, 0, 0); _pH(_YM1[1], _sn(30.0 / _1w), _sn(30.0 / _1w)); for (_u2 = 0; _u2 <= 10; _u2++) { _FG(_9N1, _ye - 15 + _iN1(30), _ze - 15 + _iN1(30), _YM1[1], _uj, 1) } } } function _kN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_ZM1[0], _lN1); _XG(_ZM1[0], 0.4, 0.3, -0.02 * _1w, 0); _vH(_ZM1[0], 0, 360, 0, 0, !1); _pH(_ZM1[0], _sn(20 / _1w), _sn(20 / _1w)); _FG(_9N1, _ye, _ze, _ZM1[0], _uj, 1) } else if (_Cj === 2) { _TG(_ZM1[2], _lN1); _XG(_ZM1[2], 1.2, 1.2, -0.04 * _1w, 0); _vH(_ZM1[2], 0, 360, 0, 0, !1); _pH(_ZM1[2], _sn(30 / _1w), _sn(30 / _1w)); _FG(_9N1, _ye, _ze, _ZM1[2], _uj, 1) } else { _TG(_ZM1[1], _lN1); _XG(_ZM1[1], 0.75, 0.75, -0.03 * _1w, 0); _vH(_ZM1[1], 0, 360, 0, 0, !1); _pH(_ZM1[1], _sn(25 / _1w), _sn(25 / _1w)); _FG(_9N1, _ye, _ze, _ZM1[1], _uj, 1) } } function _mN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(__M1[0], _nN1); _XG(__M1[0], 0.4, 0.4, -0.02 * _1w, 0); _vH(__M1[0], 0, 360, 0, 0, !1); _pH(__M1[0], _sn(20 / _1w), _sn(20 / _1w)); _FG(_9N1, _ye, _ze, __M1[0], _uj, 1) } else if (_Cj === 2) { _TG(__M1[2], _nN1); _XG(__M1[2], 1.2, 1.2, -0.04 * _1w, 0); _vH(__M1[2], 0, 360, 0, 0, !1); _pH(__M1[2], _sn(30 / _1w), _sn(30 / _1w)); _FG(_9N1, _ye, _ze, __M1[2], _uj, 1) } else { _TG(__M1[1], _nN1); _XG(__M1[1], 0.75, 0.75, -0.03 * _1w, 0); _vH(__M1[1], 0, 360, 0, 0, !1); _pH(__M1[1], _sn(25 / _1w), _sn(25 / _1w)); _FG(_9N1, _ye, _ze, __M1[1], _uj, 1) } } function _oN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_0N1[0], _gN1); _XG(_0N1[0], 0.4, 0.4, -0.02 * _1w, 0); _vH(_0N1[0], 0, 360, 0, 0, !1); _pH(_0N1[0], _sn(20 / _1w), _sn(20 / _1w)); _FG(_9N1, _ye, _ze, _0N1[0], _uj, 1) } else if (_Cj === 2) { _TG(_0N1[2], _gN1); _XG(_0N1[2], 1.2, 1.2, -0.04 * _1w, 0); _vH(_0N1[2], 0, 360, 0, 0, !1); _pH(_0N1[2], _sn(30 / _1w), _sn(30 / _1w)); _FG(_9N1, _ye, _ze, _0N1[2], _uj, 1) } else { _TG(_0N1[1], _gN1); _XG(_0N1[1], 0.75, 0.75, -0.03 * _1w, 0); _vH(_0N1[1], 0, 360, 0, 0, !1); _pH(_0N1[1], _sn(25 / _1w), _sn(25 / _1w)); _FG(_9N1, _ye, _ze, _0N1[1], _uj, 1) } } function _pN1(_9N1, _ye, _ze, _Cj, _uj) { var _1w = _4N1(); if (_Cj === 0) { _TG(_1N1[0], _aN1); _XG(_1N1[0], 2, 2, 0, 0); _ZG(_1N1[0], 1, 0.5); _nH(_1N1[0], 0, 0.3, 0); _pH(_1N1[0], _sn(100.0 / _1w), _sn(100.0 / _1w)); _FG(_9N1, _ye, _ze, _1N1[0], _uj, 1) } else if (_Cj === 2) { _TG(_1N1[2], _aN1); _XG(_1N1[2], 8, 8, 0, 0); _ZG(_1N1[2], 1, 0.5); _nH(_1N1[2], 0, 0.3, 0); _pH(_1N1[2], _sn(100.0 / _1w), _sn(100.0 / _1w)); _FG(_9N1, _ye, _ze, _1N1[02], _uj, 1) } else { _TG(_1N1[1], _aN1); _XG(_1N1[1], 4, 4, 0, 0); _ZG(_1N1[1], 1, 0.5); _nH(_1N1[1], 0, 0.3, 0); _pH(_1N1[1], _sn(100.0 / _1w), _sn(100.0 / _1w)); _FG(_9N1, _ye, _ze, _1N1[1], _uj, 1) } } function _qN1(_9N1, _ye, _ze, _Cj, _uj) { var _u2; var _1w = _4N1(); _TG(_2N1, _rN1); _XG(_2N1, 0.2, 0.3, 0.0, 0.0); _vH(_2N1, 0, 0, 0, 0, !0); _xH(_2N1, 7 * _1w, 7 * _1w, 0, 0); _zH(_2N1, 260, 260, 0, 0); _kH(_2N1, 0.4); _pH(_2N1, _sn(0.2 * _ke._CX() / _1w), _sn(0.2 * _ke._CX() / _1w)); if (_Cj === 0) { for (_u2 = 0; _u2 <= 1; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1(), -30.0 + _iN1(20), _2N1, _uj, 1) } } else if (_Cj == 2) { for (_u2 = 0; _u2 <= 8; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1(), -30.0 + _iN1(20), _2N1, _uj, 1) } } else { for (_u2 = 0; _u2 <= 4; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1(), -30.0 + _iN1(20), _2N1, _uj, 1) } } } function _tN1(_9N1, _ye, _ze, _Cj, _uj) { var _u2; var _1w = _4N1(); _TG(_3N1, _uN1); _XG(_3N1, 0.1, 0.25, 0.0, 0.0); _kH(_3N1, 0.6); _vH(_3N1, 0, 360, 0, 0, !1); _xH(_3N1, 2.5 * _1w, 3.0 * _1w, 0.0, 0.0); _zH(_3N1, 240, 300, 0, 20); _pH(_3N1, _sn(0.5 * _ke._CX() / _1w), _sn(0.5 * _ke._CX() / _1w)); if (_Cj === 0) { for (_u2 = 0; _u2 <= 0; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1() - 60, -30.0 + _iN1(20), _3N1, _uj, 1) } } else if (_Cj === 2) { for (_u2 = 0; _u2 <= 6; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1() - 60, -30.0 + _iN1(20), _3N1, _uj, 1) } } else { for (_u2 = 0; _u2 <= 2; _u2++) { _FG(_9N1, _iN1(1) * 1.2 * _ke._sN1() - 60, -30.0 + _iN1(20), _3N1, _uj, 1) } } } function _vN1(_wN1, _6j, _ye, _ze, _Cj, _uj) { var _lW; _6N1(); if (_wN1) { _lW = _FM1 } else { _lW = _GM1 } switch (_6j) { case _HM1: _8N1(_lW, _ye, _ze, _Cj, _uj); break; case _IM1: _cN1(_lW, _ye, _ze, _Cj, _uj); break; case _JM1: _eN1(_lW, _ye, _ze, _Cj, _uj); break; case _KM1: _fN1(_lW, _ye, _ze, _Cj, _uj); break; case _LM1: _hN1(_lW, _ye, _ze, _Cj, _uj); break; case _MM1: _jN1(_lW, _ye, _ze, _Cj, _uj); break; case _NM1: _kN1(_lW, _ye, _ze, _Cj, _uj); break; case _OM1: _mN1(_lW, _ye, _ze, _Cj, _uj); break; case _PM1: _oN1(_lW, _ye, _ze, _Cj, _uj); break; case _QM1: _pN1(_lW, _ye, _ze, _Cj, _uj); break; case _RM1: _qN1(_lW, _ye, _ze, _Cj, _uj); break; case _SM1: _tN1(_lW, _ye, _ze, _Cj, _uj); break } } var _xN1 = !1, _kR = !1, _yN1 = !0; function _8v1(_zN1) { if (_zN1) { _xN1 = !0 } else { _kR = !1; _xN1 = !1; if (_yN1) { _Nu1 = !1 } } } function _AN1() { if (window["page"] === undefined) { _yN1 = !1; window.addEventListener("focus", function() { _8v1(!1) }); window.addEventListener("blur", function() { _8v1(!0) }); window.addEventListener("click", function() { _8v1(!1) }) } } function _BN1() { if (_xN1) { _kR = !0; _xN1 = !1 } else if (_kR) { _kR = !1; if (_yN1) { _Nu1 = !0 } } } function _CN1() { var _DE, _u2, _DN1; var _km = null; if (_ke._lm) { _km = _ke._nm } var _Hn = _ke._AE._Hn; for (var _EN1 = 0; _EN1 < _Hn.length; _EN1++) { var _iE = _Hn[_EN1]; var _JE = _iE._JE; if (!_iE._kE) { if (_JE._FN1[_GN1]) { if (_HL(_iE._w6) || _HL(_iE._HN1)) { _DE = _iE._IN1(); if ((_DE._1f < 0) || (_DE.left > _ke._sN1()) || (_DE.bottom < 0) || (_DE.top > _ke._CX())) { _iE._Se(_GN1, _JN1, _iE, _iE) } } else { if ((_iE._w2 < 0) || (_iE._w2 > _ke._sN1()) || (_iE._x2 < 0) || (_iE._x2 > _ke._CX())) { _iE._Se(_GN1, _JN1, _iE, _iE) } } } if (_JE._FN1[_KN1]) { if (_HL(_iE._w6) || _HL(_iE._HN1)) { _DE = _iE._IN1(); if ((_DE.left < 0) || (_DE._1f > _ke._sN1()) || (_DE.top < 0) || (_DE.bottom > _ke._CX())) { _iE._Se(_KN1, _JN1, _iE, _iE) } } else { if ((_iE._w2 < 0) || (_iE._w2 > _ke._sN1()) || (_iE._x2 < 0) || (_iE._x2 > _ke._CX())) { _iE._Se(_KN1, _JN1, _iE, _iE) } } } if (_km) { for (_DN1 = 0; _DN1 < _km.length; _DN1++) { var _LN1 = _km[_DN1]; if (_LN1._F2) { var _MN1 = _LN1._eN; var _NN1 = _LN1._fN; var _ON1 = _LN1._eN + _LN1._gN; var _PN1 = _LN1._fN + _LN1._hN; if (_JE._FN1[_QN1 + _DN1]) { if (_HL(_iE._w6) || _HL(_iE._HN1)) { _DE = _iE._IN1(); if ((_DE._1f < _MN1) || (_DE.left > _ON1) || (_DE.bottom < _NN1) || (_DE.top > _PN1)) { _iE._Se(_QN1 + _DN1, _JN1, _iE, _iE) } } else { if ((_iE._w2 < _MN1) || (_iE._w2 > _ON1) || (_iE._x2 < _NN1) || (_iE._x2 > _PN1)) { _iE._Se(_QN1 + _DN1, _JN1, _iE, _iE) } } } if (_JE._FN1[_RN1 + _DN1]) { if (_HL(_iE._w6) || _HL(_iE._HN1)) { _DE = _iE._IN1(); if ((_DE.left < _MN1) || (_DE._1f > _ON1) || (_DE.top < _NN1) || (_DE.bottom > _PN1)) { _iE._Se(_RN1 + _DN1, _JN1, _iE, _iE) } } else { if ((_iE._w2 < _MN1) || (_iE._w2 > _ON1) || (_iE._x2 < _NN1) || (_iE._x2 > _PN1)) { _iE._Se(_RN1 + _DN1, _JN1, _iE, _iE) } } } } } } } } } function _SN1() { for (var _uB1 in _vB1) { if (!_vB1.hasOwnProperty(_uB1)) continue; var _TN1 = _cy._hn(_uB1); var _UN1 = _TN1._UI(); for (var _4B1 = 0; _4B1 < _UN1.length; _4B1++) { var _VN1 = _UN1[_4B1]; if (!_VN1._kE && _VN1._lE) { var _WN1 = _vB1[_uB1]; for (var _XN1 in _WN1) { if (!_WN1.hasOwnProperty(_XN1)) continue; var _qe1 = _WN1[_XN1]; var _YN1 = _cy._hn(_qe1); var _ZN1 = _YN1._UI(); for (var _5B1 = 0; _5B1 < _ZN1.length; _5B1++) { var __N1 = _ZN1[_5B1]; if (!__N1._kE && __N1._lE) { if ((_VN1._JE == __N1._JE) && (_5B1 < _4B1)) continue; if (_VN1._tE(__N1, !0)) { if ((_VN1._bG) || (__N1._bG)) { _VN1._w2 = _VN1._0O1; _VN1._x2 = _VN1._1O1; _VN1._BE = !0; _VN1._2O1 = _VN1._3O1; __N1._w2 = __N1._0O1; __N1._x2 = __N1._1O1; __N1._BE = !0; __N1._2O1 = __N1._3O1; } _VN1._Se(_dB1, _qe1, _VN1, __N1); __N1._Se(_dB1, _uB1, __N1, _VN1); if ((_VN1._bG) || (__N1._bG)) { _VN1._RA1(); __N1._RA1(); _VN1._5k(_VN1._w2 + _VN1._ub, _VN1._x2 + _VN1._tb); __N1._5k(__N1._w2 + __N1._ub, __N1._x2 + __N1._tb); if (_VN1._tE(__N1, !0) === !0) { _VN1._w2 = _VN1._0O1; _VN1._x2 = _VN1._1O1; _VN1._BE = !0; _VN1._2O1 = _VN1._3O1; __N1._w2 = __N1._0O1; __N1._x2 = __N1._1O1; __N1._BE = !0; __N1._2O1 = __N1._3O1 } } } } } } } } } } function _4O1() { if (_ke) { var _km, _Sp; if (!_ke._lm) { _km = _mm } else { _km = _ke._nm } for (var _8h = 0; _8h < _km.length; _8h++) { _om = _km[_8h]; if (_om._F2) { _pm(canvas, _qm); if (((_Pm._5O1 - _qm.left) >= _om._rm) && ((_Pm._5O1 - _qm.left) < _om._sm) && ((_Pm._6O1 - _qm.top) >= _om._tm) && ((_Pm._6O1 - _qm.top) < _om._um)) { var _Cf = _O7._v9; var _Ef = _O7._w9; var _7O1 = _cy._aG(); for (var _kx = 0; _kx < _7O1.length; _kx++) { var _Wn = _7O1[_kx]; var _8O1 = _Wn._FN1; if (_8O1[_9O1] || _8O1[_aO1] || _8O1[_bO1] || _8O1[_cO1] || _8O1[_dO1] || _8O1[_eO1] || _8O1[_fO1] || _8O1[_gO1] || _8O1[_hO1] || _8O1[_iO1] || _8O1[_jO1] || _8O1[_kO1] || _8O1[_lO1] || _8O1[_mO1]) { if (_Wn._nO1.length > 0) { var _oO1 = _Wn._nO1._Hn.slice(0); for (var _u2 = _oO1.length - 1; _u2 >= 0; _u2--) { var _jE = _oO1[_u2]; if (!_jE._kE) { { if (_jE._BE) _jE._CE(); if (_jE._pO1(_Cf, _Ef, !0)) { var _qO1 = !0; for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm.__k[_Sp]) { if (_8O1[_9O1 + _Sp]) { _jE._Se(_9O1 + _Sp, 0, _jE, _jE) } _qO1 = !1 } } for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm._Vk[_Sp] === 1) { if (_8O1[_cO1 + _Sp]) { _jE._Se(_cO1 + _Sp, 0, _jE, _jE) } _qO1 = !1 } } for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm._Zk[_Sp] === 1) { if (_8O1[_fO1 + _Sp]) { _jE._Se(_fO1 + _Sp, 0, _jE, _jE) } } } if (_qO1) { _jE._Se(_iO1, 0, _jE, _jE) } if (!_jE._rO1) { _jE._Se(_jO1, 0, _jE, _jE); _jE._rO1 = !0 } } else { if (_jE._rO1) { _jE._Se(_kO1, 0, _jE, _jE); _jE._rO1 = !1 } } } } } } } } for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm.__k[_Sp]) { _3E._Se(_sO1 + _Sp, 0) } } for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm._Vk[_Sp] === 1) { _3E._Se(_tO1 + _Sp, 0) } } for (_Sp = 0; _Sp < 3; _Sp++) { if (_Pm._Zk[_Sp] === 1) { _3E._Se(_uO1 + _Sp, 0) } } if (_vO1) { _3E._Se(_lO1, 0) } if (_wO1) { _3E._Se(_mO1, 0) } } } } } } function _xO1() { var _ih, _jh, _Bf; var _Hn = _ke._AE._Hn; for (var _iE = 0; _iE < _Hn.length; _iE++) { var _jE = _Hn[_iE]; if (!_jE._kE && (_jE._yO1 >= 0)) { if (!_jE._zO1) { var _Ey = _Fy._hn(_jE._yO1); if ((_Ey !== null) && (_Ey !== undefined)) { if (_jE._AO1 > 0) { _ih = _Ey._BO1(_jE._CO1); _jE._CO1 += _jE._AO1; _jh = _Ey._BO1(_jE._CO1); for (_Bf = _ih; _Bf < _jh; _Bf++) { _zy(_jE, _jE, _jE._yO1, _Bf) } if ((_jE._DO1 === !0) && (_jE._CO1 > _Ey._EO1())) { _jE._CO1 = 0 } } else { _ih = _Ey._FO1(_jE._CO1); _jE._CO1 += _jE._AO1; _jh = _Ey._FO1(_jE._CO1); for (_Bf = _ih; _Bf > _jh; _Bf--) { _zy(_jE, _jE, _jE._yO1, _Bf) } if ((_jE._DO1 === !0) && (_jE._CO1 < 0)) { _jE._CO1 = _Ey._EO1() } } } } } } } function _GO1() { var _Hn = _ke._AE._Hn; for (var _iE = 0; _iE < _Hn.length; _iE++) { var _jE = _Hn[_iE]; if (!_jE._kE) { for (var _Wg = 0; _Wg < _HO1; _Wg++) { var event = _IO1 | (_Wg + 1); var _Wn = _jE._JE; if (_Wn._FN1[event]) { var _JO1; _JO1 = ~~ (_jE._x6[_Wg]); if (_JO1 >= 0) { _JO1--; _jE._x6[_Wg] = _JO1 } if (_JO1 === 0) { _jE._Se(_IO1 | (_Wg + 1), 0, _jE, _jE) } } } } } }(function(window) { if (!Object.defineProperty) { throw ("Font.js requires Object.defineProperty, which this browser does not support.") } if (!document.createElement("canvas").getContext) { throw ("Font.js requires and the Canvas2D API, which this browser does not support."); }(function(window) { try { var _Wg = new Uint8Array(1); return } catch (e) {} function subarray(start, end) { return this.slice(start, end) } function _KO1(_LO1, _A2) { var _u2, _df = _LO1.length; if (arguments.length < 2) { _A2 = 0 } for (_u2 = 0; _u2 < _df; ++_u2, ++_A2) { this[_A2] = _LO1[_u2] & 0xFF } } function _MO1(_NO1) { var _Ev, _u2; if (typeof _NO1 === "number") { _Ev = new Array(_NO1); for (_u2 = 0; _u2 < _NO1; ++_u2) { _Ev[_u2] = 0 } } else { _Ev = _NO1.slice(0) } _Ev.subarray = subarray; _Ev.buffer = _Ev; _Ev.byteLength = _Ev.length; _Ev.set = _KO1; if (typeof _NO1 === "object" && _NO1.buffer) { _Ev.buffer = _NO1.buffer } return _Ev } window.Uint8Array = _MO1; window.Uint32Array = _MO1; window.Int32Array = _MO1 }(window)); (function(window) { if (window.opera) return; if ("response" in XMLHttpRequest.prototype || "mozResponseArrayBuffer" in XMLHttpRequest.prototype || "mozResponse" in XMLHttpRequest.prototype || "responseArrayBuffer" in XMLHttpRequest.prototype) { return } var getter; if (window._OO1) { getter = function() { return new Uint8Array(new _OO1(this._PO1)._QO1()) } } else { getter = function() { return this._PO1 } } Object.defineProperty(XMLHttpRequest.prototype, "response", { get: getter }) }(window)); if (!window._dI1) { window._dI1 = function(data) { var _Ny = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Oy, _Py, _Qy, _Ry, _Sy, _Ty, _Uy, _Vy, _u2 = 0, _Wy = 0, _RO1 = "", _Yy = []; if (!data) { return data } do { _Oy = data.charCodeAt(_u2++); _Py = data.charCodeAt(_u2++); _Qy = data.charCodeAt(_u2++); _Vy = _Oy << 16 | _Py << 8 | _Qy; _Ry = _Vy >> 18 & 0x3f; _Sy = _Vy >> 12 & 0x3f; _Ty = _Vy >> 6 & 0x3f; _Uy = _Vy & 0x3f; _Yy[_Wy++] = _Ny.charAt(_Ry) + _Ny.charAt(_Sy) + _Ny.charAt(_Ty) + _Ny.charAt(_Uy) } while (_u2 < data.length); _RO1 = _Yy.join(''); var _uf = data.length % 3; return (_uf ? _RO1.slice(0, _uf - 3) : _RO1) + '==='.slice(_uf || 3) } } function _Zx() { this._0y = "fjs" + (999999 * Math.random() | 0) } _Zx.prototype._tw = ""; _Zx.prototype._tG1 = ""; _Zx.prototype.data = ""; _Zx.prototype._SO1 = "AAEAAAAKAIAAAwAgT1MvMgAAAAAAAACsAAAAWGNtYXAA" + "AAAAAAABBAAAACxnbHlmAAAAAAAAATAAAAAQaGVhZAAAA" + "AAAAAFAAAAAOGhoZWEAAAAAAAABeAAAACRobXR4AAAAAA" + "AAAZwAAAAIbG9jYQAAAAAAAAGkAAAACG1heHAAAAAAAAA" + "BrAAAACBuYW1lAAAAAAAAAcwAAAAgcG9zdAAAAAAAAAHs" + "AAAAEAAEAAEAZAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABAAMAAQA" + "AAAwABAAgAAAABAAEAAEAAABB//8AAABB////wAABAAAA" + "AAABAAAAAAAAAAAAAAAAMQAAAQAAAAAAAAAAAABfDzz1A" + "AAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAEAAg" + "AAAAAAAAABAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAA" + "AAAAAAAAAAQAAAAAAAAAAAAAAAAAIAAAAAQAAAAIAAQAB" + "AAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAHgADAAEEC" + "QABAAAAAAADAAEECQACAAIAAAAAAAEAAAAAAAAAAAAAAA" + "AAAA=="; _Zx.prototype._TO1 = { _UO1: 0, _VO1: 0, _WO1: 0, _XO1: 0, _YO1: 400 }; _Zx.prototype._ZO1 = !1; _Zx.prototype._Xx = !1; _Zx.prototype.onload = function() {}; _Zx.prototype.onerror = function() {}; _Zx.prototype.canvas = !1; _Zx.prototype.context = !1; _Zx.prototype.__O1 = function(target, _ia1, _0P1, font, _1P1) { if (_1P1 !== !1 && _1P1 < 0) { this.onerror("Requested system font '" + this._0y + "' could not be loaded (it may not be installed)."); return } var _2P1 = document._3P1.getComputedStyle(target, ''); var width = _2P1.getPropertyValue("width").replace("px", ''); if (width > 0) { document._4P1.removeChild(_ia1); document.body.removeChild(target); this._Xx = !0; this.onload() } else { setTimeout(function() { font.__O1(target, _ia1, _0P1, font, _1P1 === !1 ? !1 : _1P1 - 50) }, 50) } }; _Zx.prototype._5P1 = function() { var _Bm1 = this; var _2w = function(_Pk) { return String.fromCharCode(_Pk) }; var _6P1 = function(_Pk) { if (_Pk < 256) { return _2w(0) + _2w(_Pk) } var _vy = _Pk >> 8; var _wy = _Pk & 0xFF; return _2w(_vy) + _2w(_wy) }; var _7P1 = function(_Pk) { if (_Pk < 0) { _Pk = 0xFFFFFFFF + _Pk + 1 } return parseInt(_Pk, 10).toString(16); }; var _8P1 = function(_vy, _wy) { return 256 * _vy + _wy }; var _9P1 = function(_vy, _wy) { var _aP1 = _vy >> 7 === 1, _Pk; _vy = _vy & 0x7F; _Pk = 256 * _vy + _wy; if (!_aP1) { return _Pk } return _Pk - 0x8000 }; var _bP1 = function(_vy, _wy, _cP1, _dP1) { return 16777216 * _vy + 65536 * _wy + 256 * _cP1 + _dP1 }; var error = function(_xm) { _Bm1.onerror(_xm) }; var _eP1 = _2w(0) + _2w(1) + _2w(0) + _2w(0); var _fP1 = "OTTO"; var data = this.data; var version = _2w(data[0]) + _2w(data[1]) + _2w(data[2]) + _2w(data[3]); var _gP1 = (version === _eP1); var _hP1 = (_gP1 ? !1 : version === _fP1); if (_gP1) { this._tG1 = "truetype"; } else if (_hP1) { this._tG1 = "opentype" } else { error("Error: file at " + this._tw + " cannot be interpreted as OpenType font."); return } var _iP1 = _8P1(data[4], data[5]), _jP1 = 12, _kP1, end = _jP1 + 16 * _iP1, _lP1 = {}, _U91; for (_kP1 = _jP1; _kP1 < end; _kP1 += 16) { _U91 = _2w(data[_kP1]) + _2w(data[_kP1 + 1]) + _2w(data[_kP1 + 2]) + _2w(data[_kP1 + 3]); _lP1[_U91] = { name: _U91, _mP1: _bP1(data[_kP1 + 4], data[_kP1 + 5], data[_kP1 + 6], data[_kP1 + 7]), _A2: _bP1(data[_kP1 + 8], data[_kP1 + 9], data[_kP1 + 10], data[_kP1 + 11]), length: _bP1(data[_kP1 + 12], data[_kP1 + 13], data[_kP1 + 14], data[_kP1 + 15]) } } var _nP1 = function(_U91) { if (!_lP1[_U91]) { error("Error: font is missing the required OpenType '" + _U91 + "' table."); return !1 } return _U91 }; _U91 = _nP1("head"); if (_U91 === !1) { return } _kP1 = _lP1[_U91]._A2; _lP1[_U91].version = "" + data[_kP1] + data[_kP1 + 1] + data[_kP1 + 2] + data[_kP1 + 3]; var _oP1 = _8P1(data[_kP1 + 18], data[_kP1 + 19]); this._TO1._UO1 = _oP1; _U91 = _nP1("hhea"); if (_U91 === !1) { return } _kP1 = _lP1[_U91]._A2; _lP1[_U91].version = "" + data[_kP1] + data[_kP1 + 1] + data[_kP1 + 2] + data[_kP1 + 3]; this._TO1._WO1 = _9P1(data[_kP1 + 4], data[_kP1 + 5]) / _oP1; this._TO1._XO1 = _9P1(data[_kP1 + 6], data[_kP1 + 7]) / _oP1; this._TO1._VO1 = _9P1(data[_kP1 + 8], data[_kP1 + 9]) / _oP1; _U91 = _nP1("OS/2"); if (_U91 === !1) { return } _kP1 = _lP1[_U91]._A2; _lP1[_U91].version = "" + data[_kP1] + data[_kP1 + 1]; this._TO1._YO1 = _8P1(data[_kP1 + 4], data[_kP1 + 5]); _U91 = _nP1("cmap"); if (_U91 === !1) { return } _kP1 = _lP1[_U91]._A2; _lP1[_U91].version = "" + data[_kP1] + data[_kP1 + 1]; _iP1 = _8P1(data[_kP1 + 2], data[_kP1 + 3]); var _pP1, _qP1, _rP1, _sP1, _A2, _tP1 = !1; for (_pP1 = 0; _pP1 < _iP1; _pP1++) { _qP1 = _kP1 + 4 + _pP1 * 8; _rP1 = _8P1(data[_qP1], data[_qP1 + 1]); _sP1 = _8P1(data[_qP1 + 2], data[_qP1 + 3]); _A2 = _bP1(data[_qP1 + 4], data[_qP1 + 5], data[_qP1 + 6], data[_qP1 + 7]); if (_rP1 === 3 && _sP1 === 1) { _tP1 = _A2 } } var _uP1 = "A"; this._vP1 = []; if (_tP1 !== !1) { _kP1 += _tP1; version = _8P1(data[_kP1], data[_kP1 + 1]); if (version === 4) { var _wP1 = _8P1(data[_kP1 + 6], data[_kP1 + 7]) / 2; var _xP1 = function(_2w) { return [0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x0020, 0x0085, 0x00A0, 0x1680, 0x180E, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x2028, 0x2029, 0x202F, 0x205F, 0x3000].indexOf(_2w) === -1 }; var _u2 = _kP1 + 14, e = _kP1 + 14 + 2 * _wP1, _yP1 = !1; for (; _u2 < e; _u2 += 2) { _yP1 = _8P1(data[_u2], data[_u2 + 1]); if (_xP1(_yP1)) { break } _yP1 = !1 } var _ov = e + 2; for (; _u2 < e; _u2 += 2, _ov += 2) { var _zP1 = _8P1(data[_u2], data[_u2 + 1]); var _AP1 = _8P1(data[_ov], data[_ov + 1]); if (_zP1 != 0xffff) { for (var _df = _AP1; _df <= _zP1; ++_df) { this._vP1.push(_df) } } } if (_yP1 !== !1) { _uP1 = String.fromCharCode(_yP1); var _oE1 = -(_yP1 - 1) + 65536; var _BP1 = _dI1(_2w(0) + _6P1(_yP1) + _6P1(0xFFFF) + _6P1(0) + _6P1(_yP1) + _6P1(0xFFFF) + _6P1(_oE1) + _6P1(1)); this._SO1 = this._SO1.substring(0, 380) + _BP1 + this._SO1.substring(380 + _BP1.length) } } } this._CP1(_uP1, !1) }; _Zx.prototype._CP1 = function(_uP1, _1P1) { var _DP1 = this._0y + " testfont"; var _EP1 = document.createElement("style"); _EP1.setAttribute("type", "text/css"); _EP1.innerHTML = "@font-face {\n" + " font-family: '" + _DP1 + "';\n" + " src: url('data:application/x-font-ttf;base64," + this._SO1 + "')\n" + " format('truetype');}"; document._4P1.appendChild(_EP1); var _FP1 = !1; if (!this._ZO1) { _FP1 = this._GP1(); document._4P1.appendChild(_FP1); } var _HP1 = document.createElement("p"); _HP1.style.cssText = "position: absolute; top: 0; left: 0; opacity: 0;"; _HP1.style._0y = "'" + this._0y + "', '" + _DP1 + "'"; _HP1.innerHTML = _uP1 + _uP1 + _uP1 + _uP1 + _uP1 + _uP1 + _uP1 + _uP1 + _uP1 + _uP1; document.body.appendChild(_HP1); if (!document._3P1.getComputedStyle) { this.onload(); error("Error: document.defaultView.getComputedStyle is not supported by this browser.\n" + "Consequently, Font.onload() cannot be trusted.") } else { var _IP1 = this._ZO1 ? 1000 : this._TO1._UO1; var canvas = document.createElement("canvas"); canvas.width = _IP1; canvas.height = _IP1; this.canvas = canvas; var context = canvas.getContext("2d"); context.font = "1em '" + this._0y + "'"; context.fillStyle = "white"; context.fillRect(-1, -1, _IP1 + 2, _IP1 + 2); context.fillStyle = "black"; context.fillText("test text", 50, _IP1 / 2); this.context = context; var _JP1 = this; var _KP1 = function() { _JP1.__O1(_HP1, _EP1, _FP1, _JP1, _1P1) }; setTimeout(_KP1, 50) } }; _Zx.prototype._LP1 = function() { this._ZO1 = !0; this._TO1 = !1; this._CP1("A", 1000) }; _Zx.prototype._MP1 = function() { var font = this; if (this._tw.indexOf(".") === -1) { setTimeout(function() { font._LP1() }, 10); return } var _uw = new XMLHttpRequest(); _uw.open('GET', font._tw, !0); _uw.responseType = "arraybuffer"; _uw.onload = function(_NP1) { var _OP1 = _uw.response; if (_OP1) { font.data = new Uint8Array(_OP1); font._5P1() } else { font.onerror("Error downloading font resource from " + font._tw) } }; _uw.send(null) }; _Zx.prototype._PP1 = !1; _Zx.prototype._GP1 = function() { if (this._PP1) { return this._PP1 } this._PP1 = document.createElement("style"); this._PP1.type = "text/css"; var _QP1 = "@font-face {\n"; _QP1 += " font-family: '" + this._0y + "';\n"; _QP1 += " src: url('" + this._tw + "') format('" + this._tG1 + "');\n"; _QP1 += "}"; this._PP1.innerHTML = _QP1; return this._PP1 }; _Zx.prototype.measureText = function(_RP1, _SP1) { if (!this._Xx) { error("measureText() was called while the font was not yet loaded"); return !1 } this.context.font = _SP1 + "px '" + this._0y + "'"; var _TO1 = this.context.measureText(_RP1); _TO1.fontsize = _SP1; _TO1._WO1 = 0; _TO1._XO1 = 0; _TO1._aH1 = { _TP1: 0, _UP1: _TO1.width, _VP1: 0, _WP1: 0 }; _TO1.height = 0; var _XP1 = [], _YP1 = _TO1.width / this._TO1._UO1; if (_YP1 <= 1) { _XP1.push(_RP1) } else { _XP1.push(_RP1) } var _ZP1 = _XP1.length, _u2; for (_u2 = 0; _u2 < _ZP1; _u2++) { this.__P1(_XP1[_u2], _SP1, _TO1) } return _TO1 }; _Zx.prototype.__P1 = function(_0Q1, _SP1, _TO1) { var _1Q1 = function(_Tj, _2Q1) { return document._3P1.getComputedStyle(_Tj, null).getPropertyValue(_2Q1) }; var _u2, _Bf, _3Q1, _bv, _Qd1; var _4Q1 = document.createElement("div"); _4Q1.style.position = "absolute"; _4Q1.style.opacity = 0; _4Q1.style.font = _SP1 + "px '" + this._0y + "'"; var _bJ1 = 10; _4Q1.innerHTML = _0Q1; for (_u2 = 1; _u2 < _bJ1; _u2++) { _4Q1.innerHTML += "
" + _0Q1; } document.body.appendChild(_4Q1); _TO1._VO1 = 1.2 * _SP1; var _5Q1 = _1Q1(_4Q1, "height"); _5Q1 = _5Q1.replace("px", ""); if (_5Q1 >= _SP1 * _bJ1) { _TO1._VO1 = (_5Q1 / _bJ1) | 0 } document.body.removeChild(_4Q1); if (/^_6Q1*$/.test(_0Q1)) { return _TO1 } var canvas = this.canvas, _kh = this.context, _IP1 = this._ZO1 ? 1000 : this._TO1._UO1, _y2 = _IP1, _z2 = _IP1, _7Q1 = _IP1 / 2, padding = 50, _8Q1 = (_IP1 - _TO1.width) / 2; if (_8Q1 !== (_8Q1 | 0)) { _8Q1 = _8Q1 | 0 } _kh.fillStyle = "white"; _kh.fillRect(-padding, -padding, _y2 + 2 * padding, _z2 + 2 * padding); _kh.fillStyle = "black"; _kh.fillText(_0Q1, _8Q1, _7Q1); var _9Q1 = (_TO1.width + padding) | 0, _aQ1 = 4 * _SP1, _bQ1 = _8Q1 - padding / 2, _cQ1 = _7Q1 - _aQ1 / 2, _0q1 = _kh.getImageData(_bQ1, _cQ1, _9Q1, _aQ1).data; _u2 = 0; _Bf = 0; _3Q1 = _9Q1 * 4; _bv = _0q1.length; _Qd1 = _aQ1 / 2; while (++_u2 < _bv && _0q1[_u2] === 255) {} var _WO1 = (_u2 / _3Q1) | 0; _u2 = _bv - 1; while (--_u2 > 0 && _0q1[_u2] === 255) {} var _XO1 = (_u2 / _3Q1) | 0; for (_u2 = 0, _Bf = 0; _Bf < _9Q1 && _0q1[_u2] === 255;) { _u2 += _3Q1; if (_u2 >= _bv) { _Bf++; _u2 = (_u2 - _bv) + 4 } } var _TP1 = _Bf; var _JR = 1; for (_u2 = _bv - 3, _Bf = 0; _Bf < _9Q1 && _0q1[_u2] === 255;) { _u2 -= _3Q1; if (_u2 < 0) { _Bf++; _u2 = (_bv - 3) - (_JR++) * 4 } } var _UP1 = _9Q1 - _Bf; _TO1._WO1 = (_Qd1 - _WO1); _TO1._XO1 = (_XO1 - _Qd1); _TO1._aH1 = { _TP1: _TP1 - (padding / 2), _UP1: _UP1 - (padding / 2), _VP1: -_TO1._XO1, _WP1: _TO1._WO1 }; _TO1.height = 1 + (_XO1 - _WO1); return _TO1 }; Object.defineProperty(_Zx.prototype, "src", { set: function(_tw) { this._tw = _tw; this._MP1() } }); window._Zx = _Zx }(window)); function _dQ1() {} var _zf = 3.14159265, _eQ1 = !0, _fQ1 = !1, _6L = !0, _nP = 0, _gQ1 = -1, _hQ1 = 0, _iQ1 = 1, _jQ1 = 2, _KC = 0, _kQ1 = -1, _lQ1 = 0, _LC = 1, _mQ1 = 2, _nQ1 = 3, _oQ1 = 4, _pQ1 = 5, _qQ1 = 6, _rQ1 = 7, _bv1 = 8, _sQ1 = 9, _tQ1 = 10, _uQ1 = 0, _lQ1 = -1, _vQ1 = 0, _wQ1 = 0, _xQ1 = 1, _yQ1 = 2, _zQ1 = 3, _AQ1 = 4, _BQ1 = 5, _CQ1 = 6, _DQ1 = 7, _EQ1 = 8, _FQ1 = 9, _qP = 0, _GQ1 = -1, _cJ = -100, _HQ1 = -200, _IQ1 = -300, _JQ1 = -400, _QI = -1, _KQ1 = -2, _BF = -3, _oE = -4, _LQ1 = -5, _MQ1 = -7, _NQ1 = -6, _vE = 0x000, _wE = 0x100, _IO1 = 0x200, _OQ1 = 0x300, _dB1 = 0x400, _PQ1 = 0x500, _QQ1 = 0x600, _JN1 = 0x700, _RQ1 = 0x800, _SQ1 = 0x900, _TQ1 = 0xA00, _UQ1 = 0xB00, _VQ1 = _OQ1 | 1, _WQ1 = _OQ1 | 2, _XQ1 = _OQ1 | 3, _GN1 = _JN1 | 1, _KN1 = _JN1 | 2, _YQ1 = _JN1 | 3, _ZQ1 = _JN1 | 4, __Q1 = _JN1 | 5, _0R1 = _JN1 | 6, _1R1 = _JN1 | 7, _2R1 = _JN1 | 8, _SA1 = _JN1 | 9, _3R1 = _JN1 | 10, _4R1 = _JN1 | 11, _5R1 = _JN1 | 14, _6R1 = _JN1 | 15, _7R1 = _JN1 | 16, _8R1 = _JN1 | 17, _9R1 = _JN1 | 18, _aR1 = _JN1 | 19, _bR1 = _JN1 | 20, _cR1 = _JN1 | 21, _dR1 = _JN1 | 22, _eR1 = _JN1 | 23, _fR1 = _JN1 | 24, _gR1 = _JN1 | 25, _hR1 = _JN1 | 26, _iR1 = _JN1 | 27, _jR1 = _JN1 | 28, _kR1 = _JN1 | 29, _QN1 = _JN1 | 30, _lR1 = _JN1 | 31, _mR1 = _JN1 | 32, _nR1 = _JN1 | 33, _oR1 = _JN1 | 34, _pR1 = _JN1 | 35, _qR1 = _JN1 | 36, _rR1 = _JN1 | 37, _RN1 = _JN1 | 40, _sR1 = _JN1 | 41, _tR1 = _JN1 | 42, _uR1 = _JN1 | 43, _vR1 = _JN1 | 44, _wR1 = _JN1 | 45, _xR1 = _JN1 | 46, _yR1 = _JN1 | 47, _Te = _JN1 | 58; _zR1 = _JN1 | 60, _AR1 = _JN1 | 61, _BR1 = _JN1 | 62, _CR1 = _JN1 | 63, _DR1 = _RQ1 | 64, _ER1 = _RQ1 | 65, _FR1 = _RQ1 | 72, _GR1 = _RQ1 | 73, _HR1 = _RQ1 | 74, _IR1 = _RQ1 | 75, _JR1 = _RQ1 | 76, _KR1 = _RQ1 | 77, _4E = _JN1 | 66, _LR1 = _JN1 | 70, _kM1 = _JN1 | 71, _wL = _JN1 | 72, _9O1 = _QQ1 | 1, _bO1 = _QQ1 | 2, _aO1 = _QQ1 | 3, _cO1 = _QQ1 | 4, _eO1 = _QQ1 | 5, _dO1 = _QQ1 | 6, _fO1 = _QQ1 | 7, _hO1 = _QQ1 | 8, _gO1 = _QQ1 | 9, _sO1 = _QQ1 | 10, _MR1 = _QQ1 | 11, _NR1 = _QQ1 | 12, _tO1 = _QQ1 | 13, _OR1 = _QQ1 | 14, _PR1 = _QQ1 | 15, _uO1 = _QQ1 | 16, _QR1 = _QQ1 | 17, _RR1 = _QQ1 | 18, _iO1 = _QQ1 | 19, _jO1 = _QQ1 | 20, _kO1 = _QQ1 | 21, _lO1 = _QQ1 | 22, _mO1 = _QQ1 | 23, _SR1 = _IO1 | 1, _TR1 = _IO1 | 2, _UR1 = _IO1 | 3, _VR1 = _IO1 | 4, _WR1 = _IO1 | 5, _XR1 = _IO1 | 6, _YR1 = _IO1 | 7, _ZR1 = _IO1 | 8, __R1 = _IO1 | 9, _0S1 = _IO1 | 10, _1S1 = _IO1 | 11, _2S1 = _IO1 | 12, _3S1 = 0, _4S1 = 1, _5S1 = 2, _6S1 = 3, _7S1 = 4, _8S1 = 5, _9S1 = 6, _aS1 = 7, _bS1 = 8, _cS1 = 9, _dS1 = 10, _eS1 = 11, _fS1 = 0, _gS1 = 1, _hS1 = 2, _iS1 = 3, _jS1 = 4, _kS1 = 5, _lS1 = 6, _mS1 = 7, _nS1 = 8, _oS1 = 9, _pS1 = 10, _qS1 = 11, _rS1 = 16, _sS1 = 17, _tS1 = 18, _uS1 = 19, _vS1 = 21, _wS1 = 22, _xS1 = 23, _yS1 = 24, _zS1 = 25, _AS1 = 26, _BS1 = 27, _CS1 = 28, _DS1 = 31, _ES1 = 32, _FS1 = 33, _GS1 = 34, _HS1 = 36, _IS1 = 37, _JS1 = 38, _KS1 = 39, _LS1 = 40, _MS1 = 41, _NS1 = 42, _OS1 = 43, _PS1 = 50, _QS1 = 51, _RS1 = 52, _SS1 = 53, _TS1 = 54, _US1 = 55, _VS1 = 56, _WS1 = 57, _XS1 = 58, _YS1 = 60, _ZS1 = 61, __S1 = 0, _0T1 = 1, _1T1 = 2, _2T1 = 0, _3T1 = 1, _4T1 = 2, _5T1 = 3, _6T1 = 4, _7T1 = 5, _8T1 = 6, _9T1 = 7, _aT1 = 8, _bT1 = 9, _cT1 = 30, _dT1 = 40, _eT1 = 41, _fT1 = 42, _gT1 = 43, _hT1 = 44, _iT1 = 45, _jT1 = 46, _kT1 = 47, _lT1 = 50, _mT1 = 51, _nT1 = 52, _oT1 = 53, _pT1 = 54, _qT1 = 55, _rT1 = 56, _sT1 = 57, _tT1 = 58, _uT1 = 10, _vT1 = 11, _wT1 = 12, _xT1 = 13, _yT1 = 14, _zT1 = 15, _AT1 = 16, _BT1 = 17, _CT1 = 18, _DT1 = 19, _ET1 = 20, _FT1 = 21, _GT1 = 22, _HT1 = 23, _IT1 = 24, _JT1 = 25, _KT1 = 60, _LT1 = 61, _MT1 = 64, _NT1 = 65, _OT1 = 66, _PT1 = 70, _QT1 = 71, _RT1 = 72, _ST1 = _SQ1 | 0, _TT1 = _SQ1 | 1, _UT1 = _SQ1 | 1, _VT1 = _SQ1 | 8, _WT1 = _SQ1 | 9, _XT1 = _SQ1 | 13, _YT1 = _SQ1 | 16, _ZT1 = _SQ1 | 17, __T1 = _SQ1 | 18, _0U1 = _SQ1 | 19, _1U1 = _SQ1 | 27, _2U1 = _SQ1 | 32, _3U1 = _SQ1 | 33, _4U1 = _SQ1 | 34, _5U1 = _SQ1 | 35, _6U1 = _SQ1 | 36, _7U1 = _SQ1 | 37, _8U1 = _SQ1 | 38, _9U1 = _SQ1 | 39, _aU1 = _SQ1 | 40, _bU1 = _SQ1 | 45, _cU1 = _SQ1 | 46, _dU1 = _SQ1 | 48, _eU1 = _SQ1 | 49, _fU1 = _SQ1 | 50, _gU1 = _SQ1 | 51, _hU1 = _SQ1 | 52, _iU1 = _SQ1 | 53, _jU1 = _SQ1 | 54, _kU1 = _SQ1 | 55, _lU1 = _SQ1 | 56, _mU1 = _SQ1 | 57, _nU1 = _SQ1 | 65, _oU1 = _SQ1 | 66, _pU1 = _SQ1 | 67, _qU1 = _SQ1 | 68, _rU1 = _SQ1 | 69, _sU1 = _SQ1 | 70, _tU1 = _SQ1 | 71, _uU1 = _SQ1 | 72, _vU1 = _SQ1 | 73, _wU1 = _SQ1 | 74, _xU1 = _SQ1 | 75, _yU1 = _SQ1 | 76, _zU1 = _SQ1 | 77, _AU1 = _SQ1 | 78, _BU1 = _SQ1 | 79, _CU1 = _SQ1 | 80, _DU1 = _SQ1 | 81, _EU1 = _SQ1 | 82, _FU1 = _SQ1 | 83, _GU1 = _SQ1 | 84, _HU1 = _SQ1 | 85, _IU1 = _SQ1 | 86, _JU1 = _SQ1 | 87, _KU1 = _SQ1 | 88, _LU1 = _SQ1 | 89, _MU1 = _SQ1 | 90, _NU1 = _SQ1 | 112, _OU1 = _SQ1 | 113, _PU1 = _SQ1 | 114, _QU1 = _SQ1 | 115, _RU1 = _SQ1 | 116, _SU1 = _SQ1 | 117, _TU1 = _SQ1 | 118, _UU1 = _SQ1 | 119, _VU1 = _SQ1 | 120, _WU1 = _SQ1 | 121, _XU1 = _SQ1 | 122, _YU1 = _SQ1 | 123, _ZU1 = _SQ1 | 145, __U1 = _SQ1 | 186, _0V1 = _SQ1 | 187, _1V1 = _SQ1 | 188, _2V1 = _SQ1 | 189, _3V1 = _SQ1 | 190, _4V1 = _SQ1 | 191, _5V1 = _SQ1 | 192, _6V1 = _SQ1 | 219, _7V1 = _SQ1 | 220, _8V1 = _SQ1 | 221, _9V1 = _SQ1 | 222, _aV1 = _SQ1 | 223, _bV1 = _SQ1 | 144, _cV1 = _SQ1 | 96, _dV1 = _SQ1 | 97, _eV1 = _SQ1 | 98, _fV1 = _SQ1 | 99, _gV1 = _SQ1 | 100, _hV1 = _SQ1 | 101, _iV1 = _SQ1 | 102, _jV1 = _SQ1 | 103, _kV1 = _SQ1 | 104, _lV1 = _SQ1 | 105, _mV1 = _SQ1 | 106, _nV1 = _SQ1 | 107, _oV1 = _SQ1 | 109, _pV1 = _SQ1 | 110, _qV1 = _SQ1 | 111, _rV1 = _PQ1 | 0, _sV1 = _PQ1 | 1, _tV1 = _PQ1 | 1, _uV1 = _PQ1 | 8, _vV1 = _PQ1 | 9, _wV1 = _PQ1 | 13, _xV1 = _PQ1 | 16, _yV1 = _PQ1 | 17, _zV1 = _PQ1 | 18, _AV1 = _PQ1 | 19, _BV1 = _PQ1 | 27, _CV1 = _PQ1 | 32, _DV1 = _PQ1 | 33, _EV1 = _PQ1 | 34, _FV1 = _PQ1 | 35, _GV1 = _PQ1 | 36, _HV1 = _PQ1 | 37, _IV1 = _PQ1 | 38, _JV1 = _PQ1 | 39, _KV1 = _PQ1 | 40, _LV1 = _PQ1 | 45, _MV1 = _PQ1 | 46, _NV1 = _PQ1 | 48, _OV1 = _PQ1 | 49, _PV1 = _PQ1 | 50, _QV1 = _PQ1 | 51, _RV1 = _PQ1 | 52, _SV1 = _PQ1 | 53, _TV1 = _PQ1 | 54, _UV1 = _PQ1 | 55, _VV1 = _PQ1 | 56, _WV1 = _PQ1 | 57, _XV1 = _PQ1 | 65, _YV1 = _PQ1 | 66, _ZV1 = _PQ1 | 67, __V1 = _PQ1 | 68, _0W1 = _PQ1 | 69, _1W1 = _PQ1 | 70, _2W1 = _PQ1 | 71, _3W1 = _PQ1 | 72, _4W1 = _PQ1 | 73, _5W1 = _PQ1 | 74, _6W1 = _PQ1 | 75, _7W1 = _PQ1 | 76, _8W1 = _PQ1 | 77, _9W1 = _PQ1 | 78, _aW1 = _PQ1 | 79, _bW1 = _PQ1 | 80, _cW1 = _PQ1 | 81, _dW1 = _PQ1 | 82, _eW1 = _PQ1 | 83, _fW1 = _PQ1 | 84, _gW1 = _PQ1 | 85, _hW1 = _PQ1 | 86, _iW1 = _PQ1 | 87, _jW1 = _PQ1 | 88, _kW1 = _PQ1 | 89, _lW1 = _PQ1 | 90, _mW1 = _PQ1 | 112, _nW1 = _PQ1 | 113, _oW1 = _PQ1 | 114, _pW1 = _PQ1 | 115, _qW1 = _PQ1 | 116, _rW1 = _PQ1 | 117, _sW1 = _PQ1 | 118, _tW1 = _PQ1 | 119, _uW1 = _PQ1 | 120, _vW1 = _PQ1 | 121, _wW1 = _PQ1 | 122, _xW1 = _PQ1 | 123, _yW1 = _PQ1 | 145, _zW1 = _PQ1 | 186, _AW1 = _PQ1 | 187, _BW1 = _PQ1 | 188, _CW1 = _PQ1 | 189, _DW1 = _PQ1 | 190, _EW1 = _PQ1 | 191, _FW1 = _PQ1 | 192, _GW1 = _PQ1 | 219, _HW1 = _PQ1 | 220, _IW1 = _PQ1 | 221, _JW1 = _PQ1 | 222, _KW1 = _PQ1 | 223, _LW1 = _PQ1 | 144, _MW1 = _PQ1 | 96, _NW1 = _PQ1 | 97, _OW1 = _PQ1 | 98, _PW1 = _PQ1 | 99, _QW1 = _PQ1 | 100, _RW1 = _PQ1 | 101, _SW1 = _PQ1 | 102, _TW1 = _PQ1 | 103, _UW1 = _PQ1 | 104, _VW1 = _PQ1 | 105, _WW1 = _PQ1 | 106, _XW1 = _PQ1 | 107, _YW1 = _PQ1 | 109, _ZW1 = _PQ1 | 110, __W1 = _PQ1 | 111, _0X1 = _TQ1 | 0, _1X1 = _TQ1 | 1, _2X1 = _TQ1 | 1, _3X1 = _TQ1 | 8, _4X1 = _TQ1 | 9, _5X1 = _TQ1 | 13, _6X1 = _TQ1 | 16, _7X1 = _TQ1 | 17, _8X1 = _TQ1 | 18, _9X1 = _TQ1 | 19, _aX1 = _TQ1 | 27, _bX1 = _TQ1 | 32, _cX1 = _TQ1 | 33, _dX1 = _TQ1 | 34, _eX1 = _TQ1 | 35, _fX1 = _TQ1 | 36, _gX1 = _TQ1 | 37, _hX1 = _TQ1 | 38, _iX1 = _TQ1 | 39, _jX1 = _TQ1 | 40, _kX1 = _TQ1 | 45, _lX1 = _TQ1 | 46, _mX1 = _TQ1 | 48, _nX1 = _TQ1 | 49, _oX1 = _TQ1 | 50, _pX1 = _TQ1 | 51, _qX1 = _TQ1 | 52, _rX1 = _TQ1 | 53, _sX1 = _TQ1 | 54, _tX1 = _TQ1 | 55, _uX1 = _TQ1 | 56, _vX1 = _TQ1 | 57, _wX1 = _TQ1 | 65, _xX1 = _TQ1 | 66, _yX1 = _TQ1 | 67, _zX1 = _TQ1 | 68, _AX1 = _TQ1 | 69, _BX1 = _TQ1 | 70, _CX1 = _TQ1 | 71, _DX1 = _TQ1 | 72, _EX1 = _TQ1 | 73, _FX1 = _TQ1 | 74, _GX1 = _TQ1 | 75, _HX1 = _TQ1 | 76, _IX1 = _TQ1 | 77, _JX1 = _TQ1 | 78, _KX1 = _TQ1 | 79, _LX1 = _TQ1 | 80, _MX1 = _TQ1 | 81, _NX1 = _TQ1 | 82, _OX1 = _TQ1 | 83, _PX1 = _TQ1 | 84, _QX1 = _TQ1 | 85, _RX1 = _TQ1 | 86, _SX1 = _TQ1 | 87, _TX1 = _TQ1 | 88, _UX1 = _TQ1 | 89, _VX1 = _TQ1 | 90, _WX1 = _TQ1 | 112, _XX1 = _TQ1 | 113, _YX1 = _TQ1 | 114, _ZX1 = _TQ1 | 115, __X1 = _TQ1 | 116, _0Y1 = _TQ1 | 117, _1Y1 = _TQ1 | 118, _2Y1 = _TQ1 | 119, _3Y1 = _TQ1 | 120, _4Y1 = _TQ1 | 121, _5Y1 = _TQ1 | 122, _6Y1 = _TQ1 | 123, _7Y1 = _TQ1 | 145, _8Y1 = _TQ1 | 186, _9Y1 = _TQ1 | 187, _aY1 = _TQ1 | 188, _bY1 = _TQ1 | 189, _cY1 = _TQ1 | 190, _dY1 = _TQ1 | 191, _eY1 = _TQ1 | 192, _fY1 = _TQ1 | 219, _gY1 = _TQ1 | 220, _hY1 = _TQ1 | 221, _iY1 = _TQ1 | 222, _jY1 = _TQ1 | 223, _kY1 = _TQ1 | 144, _lY1 = _TQ1 | 96, _mY1 = _TQ1 | 97, _nY1 = _TQ1 | 98, _oY1 = _TQ1 | 99, _pY1 = _TQ1 | 100, _qY1 = _TQ1 | 101, _rY1 = _TQ1 | 102, _sY1 = _TQ1 | 103, _tY1 = _TQ1 | 104, _uY1 = _TQ1 | 105, _vY1 = _TQ1 | 106, _wY1 = _TQ1 | 107, _xY1 = _TQ1 | 109, _yY1 = _TQ1 | 110, _zY1 = _TQ1 | 111, _AY1 = 0, _BY1 = 1, _CY1 = 2, _DY1 = [], _HO1 = 12, _EY1 = 8, _FY1 = 8, _GY1 = 8, _iy = 10, _IB = 0x000000, _HY1 = 0x000080, _IY1 = 0x008000, _JY1 = 0x008080, _KY1 = 0x800000, _LY1 = 0x800080, _MY1 = 0x808000, _NY1 = 0x808080, _OY1 = 0xC0C0C0, _Tv1 = 0x0000FF, _PY1 = 0x00FF00, _QY1 = 0x00FFFF, _Uv1 = 0xFF0000, _RY1 = 0xFF00FF, _SY1 = 0xFFFF00, _TY1 = 0xC0C0C0, _UY1 = 0x808080, _VY1 = 0xFFFFFF, _WY1 = 0xC0DCC0, _XY1 = 0xF0CAA6, _YY1 = 0xF0FBFF, _ZY1 = 0xA4A0A0, __Y1 = -1, _0Z1 = 0, _Hm = 1, global = null, _cy = null, _3E = null, _Pm = null, _0J = null, _O7 = null, _cv = null, _1Z1 = null, _2Z1 = null, _1p = null, _vB1 = null, __H = null, _Fy = null, _Nv = null, _3Z1 = null, _ke = null, _4Z1 = null, _mm = null, _5Z1 = null, _6Z1 = null, _7Z1 = null, _8Z1 = null, _gn = null, _9Z1 = null, _aZ1 = null, _xn = null, _ho = null, _8G = null, _On = null, _eo = null, _Uo = null, _bZ1 = null, _1Q = null, _ky = null, _jy = null, _cZ1 = null, _my = null, _dZ1 = null, _eZ1 = null, _fZ1 = null, _gZ1 = null, _tv1 = null, _uv1 = null, _sg = null, _6x = null, _qm = null, _bN = null, _aN = null, _cN = null, _dN = null, _hZ1 = null, _iZ1 = null, _jZ1 = null, _kZ1 = null, _lZ1 = null, _mZ1 = null, _QJ = null, _nZ1 = null, g_WebAudioContext = null, _Xv = null, _uv = null, _oZ1 = null, _Gm = _0Z1, _pZ1 = !0, _qZ1 = !0, _aE = !1, _Nu1 = !1, _rZ1 = !1, _9L = !1, _8L = !1, _ZK = !1, _7v = !1, _sZ1 = !1, _3N = !1, _tZ1 = !1, _uZ1 = !1, _vZ1 = !1, _wZ1 = !1, _wv = !1, _xZ1 = !1, _Pu1 = !1, _yZ1 = !1, _zZ1 = 0, _7J = 0, _AZ1 = 0, _BZ1 = 0, _CZ1 = 0, _DZ1 = 0, _7O = 0, _8O = 0, _aO = 0, _bO = 0, _9O = 0, _cO = 0, _EZ1 = 0, _FZ1 = 0, _GZ1 = 0, _cj = 0, _dj = 0, _Fx = 0, _FA = 0, _BA = 0, _jB = 0, _lB = 0, _dO = 0, _eO = 0, _HZ1 = 0, _IZ1 = 0, _JZ1 = 0, _KZ1 = 0, _LZ1 = 0, _MZ1 = 0, _NZ1 = 0, _OZ1 = 0, _PZ1 = 0, _QZ1 = 0, _RZ1 = 0, _SZ1 = 0, _vv1 = 0, _TZ1 = 0, _UZ1 = 0, _wC = 0, _VZ1 = 0, _WZ1 = 0, _XZ1 = 0, _YZ1 = 0, _1O = 0, _ZZ1 = 0, _6t = 0, __Z1 = 0, _0_1 = 0, _1_1 = 0, _2_1 = 0, _3_1 = 0, _4_1 = !1, _5_1 = -1, _6_1 = -1, _7_1 = 1, _8_1 = 1, _9_1 = 0, _a_1 = 0, _b_1 = 0, _c_1 = 0, _d_1 = 0, _e_1 = 0, _f_1 = 0, _g_1 = 0, _h_1 = 0, _i_1 = 0, _j_1 = 0, _k_1 = 0, _l_1 = 0, _m_1 = 0, _n_1 = 0, _o_1 = 0, _p_1 = 0, _q_1 = 0, _r_1 = 0, _s_1 = 0, _t_1 = 0, _u_1 = 0, _bN1 = 0, _v_1 = 0, _w_1 = 0, _x_1 = 0, _y_1 = 0, _z_1 = 0, _A_1 = 0, _B_1 = 0, _C_1 = 0, _D_1 = 0, _E_1 = [], _rv = 'canvas', _F_1 = '0123456789ABCDEF'; function _G_1() { var debug = !1; if ((_cv._W4) && (_cv._W4._X4) && (_cv._W4._X4 === !0)) { debug = !0 } if (!debug) { _OE = _EE; __5 = _H_1; _qn = _tn; _bn = _in; _jn = _ln; _mn = _pn } else { _OE = _ME; __5 = _I_1; _qn = _rn; _bn = _cn; _jn = _kn; _mn = _nn } } function _J_1() { _E_1 = []; var _K_1 = ~~0xEDB88320; for (var _u2 = 0; _u2 < 256; ++_u2) { var _L_1 = ~~_u2; for (var _Bf = 8; _Bf > 0; --_Bf) { if ((_L_1 & 1) !== 0) { _L_1 = ((_L_1 >> 1) & 0x7fffffff) ^ _K_1 } else { _L_1 >>= 1; _L_1 &= 0x7fffffff } } _E_1[_u2] = _L_1 } } function _M_1() { _J_1(); _N_1(); if (_Gm != __Y1) { try { var _O_1 = new Audio(); _O_1.controls = !1; _9L = !! _O_1.canPlayType && _O_1.canPlayType('audio/mpeg') !== ""; _8L = !! _O_1.canPlayType && _O_1.canPlayType('audio/ogg; codecs="vorbis"') !== ""; _O_1 = null } catch (e) { _9L = !1; _8L = !1 } } if (_9L) debug("Browser CAN play MP3"); if (_8L) debug("Browser CAN play OGG"); _G_1(); _oZ1 = _zZ1 = 0; _ke = null; _Nu1 = !1; _7J = -1; _cN = new _P_1(); _4Z1 = new _P_1(); _Q_1 = new _P_1(); _dN = new _P_1(); _bN = new _Yv(); _aN = new _Yv(); _4Z1._F2 = !0; _Q_1._F2 = !0; _mm = []; _mm[0] = _4Z1; _6Z1 = []; _7Z1 = []; _8Z1 = []; _gn = new _4I(5); _9Z1 = new _4I(5); _aZ1 = new _4I(5); _xn = new _4I(5); _ho = new _4I(5); _8G = new _4I(5); _On = new _4I(5); _Uo = new _4I(5); _eo = new _4I(5); _bZ1 = new __o(); _6x = new _4I(5); _qm = new _Yv(); _iZ1 = new _R_1(); _iZ1._S_1 = "DUMMY INSTANCE"; _DY1[0] = -1; _DY1[1] = 0; _DY1[2] = 0x00000000; _DY1[3] = 1; _DY1[4] = 0; _DY1[5] = 0x00000000; _DY1[6] = 0; _DY1[7] = -1; _DY1[8] = 0x00000000; _DY1[9] = 0; _DY1[10] = 1; _DY1[11] = 0x00000000; _DY1[12] = 0; _DY1[13] = 0; _DY1[14] = 0xffffffff; _rv = "canvas"; _sg = "html5game/"; if (typeof(g_GameMakerHTML5Dir) != "undefined") { _sg = g_GameMakerHTML5Dir } else { if (_cv._W4 && _cv._W4._d5) { _sg = _cv._W4._d5 + '/' } } _1Q = []; _ky = []; _jy = []; _cZ1 = "Hiscore Table"; _my = ""; _dZ1 = "Press to Continue"; _KZ1 = 0x000000; _OZ1 = -1; _LZ1 = 0xffff00; _MZ1 = 0xffffff; _eZ1 = "verdana"; _NZ1 = 16; _fZ1 = ""; _pZ1 = !0; _ly(); _2_1 = -1; _3_1 = -1; _Uo._T_1(); _EZ1 = 0.0000001; _YZ1 = 512; _Xv = []; _3N = _Pu1 = !1; _qZ1 = !0; _wv = !1; _lZ1 = _QZ1 = null; _RZ1 = _SZ1 = -1; _wC = 0; _GZ1 = 1.0; _AZ1 = 0; _BZ1 = -1; _CZ1 = 0; _PZ1 = 0; _DZ1 = 0; _U_1 = !0; _JZ1 = 10000000; _FZ1 = 100000; _cj = 1.0; _Fx = 0x00000000; _dj = 0x000000; _FA = _GA(_dj); _BA = _8p(_dj, _cj); _bN1 = _GA(0x000000); _v_1 = _GA(0xffffff); _w_1 = _GA(0x0000ff); _x_1 = _GA(0x00ff00); _y_1 = _GA(0xff0000); _z_1 = _GA(0xff000000); _A_1 = _GA(0xffffffff); _B_1 = _GA(0xff0000ff); _C_1 = _GA(0xff00ff00); _D_1 = _GA(0xffff0000); _9_1 = 0; _a_1 = -1; _b_1 = -2; _c_1 = -3; _d_1 = -4; _e_1 = -6; _f_1 = -7; _g_1 = -8; _h_1 = -9; _i_1 = -10; _j_1 = -11; _k_1 = -12; _l_1 = -13; _m_1 = -14; _n_1 = -15; _o_1 = -16; _p_1 = -17; _q_1 = -18; _r_1 = -19; _s_1 = -20; _t_1 = -21; _u_1 = -22; _0_1 = -1; __Z1 = -1; _1_1 = 0; _V_1(); if (_cv._W4 && _cv._W4._15 === !1) { canvas.style.cursor = "none" } _uZ1 = !1; if (_cv._W4 && _cv._W4._g5 === !0) { _uZ1 = !0 } if (typeof _W_1 == 'function') { _W_1() } } function _X_1(_Y_1) { return _Y_1 * (Math.PI / 180.0) } function _Z_1(_ye, _ze) { if (_ye === 0) return 0; var _wf = ((_ye * 0x1000000) % (_ze * 0x1000000)); _wf = _wf / 0x1000000; return _wf } function _st(_ye) { return _ye * _ye } function _GA(_uj) { var _Dg = "rgb(" + ((_uj >> 16) & 0xff).toString() + "," + ((_uj >> 8) & 0xff).toString() + "," + ((_uj >> 0) & 0xff).toString() + ")"; return _Dg } function _8p(_uj, _fj) { var _Dg = "rgba(" + ((_uj >> 16) & 0xff).toString() + "," + ((_uj >> 8) & 0xff).toString() + "," + ((_uj >> 0) & 0xff).toString() + "," + ((_fj * 255.0) & 0xff).toString() + ")"; return _Dg } function ___1(_Y_1) { return _zf * _Y_1 / 180.0 } function _gj(_uj) { return (((_uj & 0xff) << 16) | (_uj & 0xff00) | ((_uj & 0xff0000) >> 16)) } function _sE(_Ay, _Ln, _002, _TI) { var _Hn, _jE, _iE, _uf; var _Wg = _sE.arguments; var _Dn = _sE.arguments.length; var _102 = _Wg[_Dn - 1]; _Ln = ~~_Ln; if (_Ln == _oE) return _TI; if (_Ln == _BF) { _Hn = _3E._aG(); for (_iE = 0; _iE < _Hn.length; _iE++) { _jE = _Hn[_iE]; if ((_002) && (_jE == _Ay)) continue; if (_jE._RI) continue; _uf = _102(_jE); if (_uf > 0) return _uf } } else if (_Ln < 100000) { var _Wn = _cy._hn(_Ln); if (_Wn === null) { return _TI } _Hn = _Wn._UI(); for (_iE = 0; _iE < _Hn.length; _iE++) { _jE = _Hn[_iE]; if ((_002) && (_Ay == _jE)) continue; if (_jE._RI) continue; _uf = _102(_jE); if (_uf > 0) return _uf } } else { _jE = _3E._202(_Ln); if ((_002) && (_Ay == _jE)) { return _TI } if (_jE._RI) { return _TI } return _102(_jE); } return _TI } function _qE(_Ay, _Ln, _002, _TI) { var _Hn, _jE, _iE, _Bp; var _Wg = _qE.arguments; var _Dn = _qE.arguments.length; var _102 = _Wg[_Dn - 1]; var _nE = 10000000000; var id = -1; _Ln = ~~_Ln; if (_Ln == _oE) return _TI; if (_Ln == _BF) { _Hn = _3E._aG(); for (_iE = 0; _iE < _Hn.length; _iE++) { _jE = _Hn[_iE]; if ((_002) && (_jE == _Ay)) continue; if (_jE._RI) continue; _Bp = _102(_jE); if (_Bp < _nE) { _nE = _Bp } } if (_nE != 10000000000) return _nE } else if (_Ln < 100000) { var _Wn = _cy._hn(_Ln); if (_Wn === null) { return _TI } _Hn = _Wn._UI(); for (_iE = 0; _iE < _Hn.length; _iE++) { _jE = _Hn[_iE]; if ((_002) && (_Ay == _jE)) continue; if (_jE._RI) continue; _Bp = _102(_jE); if (_Bp < _nE) { _nE = _Bp } } if (_nE != 10000000000) return _nE } else { _jE = _3E._202(_Ln); if ((_002) && (_Ay == _jE)) { return _TI } if (_jE._RI) { return _TI } return _102(_jE) } return _TI } var _MC = { init: function() { this.browser = this.searchString(this.dataBrowser) || "An unknown browser"; this._NC = this._302(); this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "an unknown version"; this._402 = this.searchString(this.dataOS) || "an unknown OS"; this._502 = this._602() }, _302: function() { var _702 = navigator.userAgent.toString().toLowerCase(); if (_702.indexOf("trident/5") > -1) { return 9.0 } else if (_702.indexOf("trident/6") > -1) { return 10.0 } else if (_702.indexOf("trident/7") > -1) { return 11.0 } return -1 }, _602: function() { if (navigator.appVersion.indexOf("CPU OS 5_") != -1) { return 5.0 } else if (navigator.appVersion.indexOf("CPU OS 4_") != -1) { return 4.0 } else if (navigator.appVersion.indexOf("CPU OS 3_") != -1) { return 3.0 } else if (navigator.appVersion.indexOf("Android 4") != -1) { return 4.0 } else if (navigator.appVersion.indexOf("Android 3") != -1) { return 3.0 } else if (navigator.appVersion.indexOf("Android 2") != -1) { return 2.0 } else { return _GQ1 } }, searchString: function(data) { for (var _u2 = 0; _u2 < data.length; _u2++) { var _802 = data[_u2]._39; var _902 = data[_u2].prop; this.versionSearchString = data[_u2].versionSearch || data[_u2].identity; if (_802) { if (_802.indexOf(data[_u2]._a02) != -1) { return data[_u2].identity } } else if (_902) { return data[_u2].identity } } }, searchVersion: function(_802) { var index = _802.indexOf(this.versionSearchString); if (index == -1) return; return parseFloat(_802.substring(index + this.versionSearchString.length + 1)) }, dataBrowser: [{ _39: navigator.userAgent, _a02: "Tizen", identity: "Tizen" }, { _39: navigator.userAgent, _a02: "Chrome", identity: "Chrome" }, { _39: navigator.userAgent, _a02: "OmniWeb", versionSearch: "OmniWeb/", identity: "OmniWeb" }, { _39: navigator.vendor, _a02: "Apple", identity: "Safari", versionSearch: "Version" }, { prop: window.opera, identity: "Opera" }, { _39: navigator.userAgent, _a02: "KHTML", identity: "KHTML", versionSearch: "Mozilla/" }, { _39: navigator.vendor, _a02: "iCab", identity: "iCab" }, { _39: navigator.vendor, _a02: "KDE", identity: "Konqueror" }, { _39: navigator.userAgent, _a02: "Firefox", identity: "Firefox" }, { _39: navigator.userAgent, _a02: "IceWeasel", identity: "IceWeasel" }, { _39: navigator.vendor, _a02: "Camino", identity: "Camino" }, { _39: navigator.userAgent, _a02: "Netscape", identity: "Netscape" }, { _39: navigator.userAgent, _a02: "IEMobile", identity: "IEMobile" }, { _39: navigator.userAgent, _a02: "MSIE", identity: "Explorer", versionSearch: "MSIE" }, { _39: navigator.userAgent, _a02: "Trident/", identity: "Explorer", versionSearch: "rv" }, { _39: navigator.userAgent, _a02: "Gecko", identity: "Mozilla", versionSearch: "rv" }], dataOS: [{ _39: navigator.userAgent, _a02: "Phone 8", identity: "WindowsPhone8" }, { _39: navigator.platform, _a02: "Win", identity: "Windows" }, { _39: navigator.platform, _a02: "Mac", identity: "Mac" }, { _39: navigator.userAgent, _a02: "iPhone", identity: "iPhone" }, { _39: navigator.userAgent, _a02: "iPod", identity: "iPhone" }, { _39: navigator.userAgent, _a02: "iPad", identity: "iPad" }, { _39: navigator.userAgent, _a02: "Android", identity: "Android" }, { _39: navigator.userAgent, _a02: "Tizen", identity: "Tizen" }, { _39: navigator.platform, _a02: "Linux", identity: "Linux" }] }; function _N_1() { _MC.init(); if (_MC._402 == "Windows") { _uQ1 = _vQ1 } else if (_MC._402 == "Mac") { _uQ1 = _xQ1 } else if (_MC._402 == "iPhone") { _uQ1 = _zQ1 } else if (_MC._402 == "iPad") { _uQ1 = _zQ1 } else if (_MC._402 == "Android") { _uQ1 = _AQ1 } else if (_MC._402 == "Linux") { _uQ1 = _CQ1 } else if (_MC._402 == "Tizen") { _uQ1 = _EQ1 } else if (_MC._402 == "WindowsPhone8") { _uQ1 = _DQ1 } else { _uQ1 = _lQ1 } if (_MC._402 !== "") { debug(_MC._402 + " Detected(" + _uQ1 + ")") } _qP = _MC._502; _KC = _lQ1; _nP = _gQ1; if (_MC.browser == "Explorer") { debug("Internet Explorer detected"); _KC = _LC } else if (_MC.browser == "IEMobile") { debug("IE Mobile detected"); _KC = _tQ1 } else if (_MC.browser == "Firefox") { debug("Firefox detected"); _KC = _mQ1 } else if (_MC.browser == "Chrome") { debug("Chrome detected"); _KC = _nQ1 } else if (_MC.browser == "Safari") { if (_uQ1 == _zQ1) { _KC = _pQ1; _nP = _hQ1; if (_MC._402 == "iPad") _nP = _jQ1; debug("Safari mobile detected"); } else { debug("Safari detected"); _KC = _oQ1 } } else if (_MC.browser == "Opera") { debug("BrowserDetect: " + _MC._402); debug("Opera detected"); _KC = _qQ1 } else if (_MC.browser == "KHTML") { debug("Default Android browser detected"); debug("OS: " + _qP); _KC = _rQ1 } else if (_MC.browser == "Tizen") { _KC = _kQ1 } else { debug("Unknown Browser - Please report these strings"); debug("----------------------------------------------"); if (navigator.userAgent) debug("userAgent: " + navigator.userAgent); debug("---"); if (navigator.vendor) debug("vendor: " + navigator.vendor); debug("---"); if (navigator.platform) debug("platform: " + navigator.platform); debug("----------------------------------------------") } if (_uQ1 != _EQ1) { if (document.URL.substring(0, 5) == "file:") { alert("WARNING: Running this via a file and not a web server is not advised as the browser will enable additional security, and things like files and colours won't work correctly. " + _2w(13) + _2w(13) + "Please check the FAQ for more details. " + _2w(13) + _2w(13) + "http://help.yoyogames.com/entries/40534573") } } } function _V_1() { try { if ('localStorage' in window && window['localStorage'] !== null) { _aE = !0 } } catch (e) { _aE = !1 } return _aE } var _b02 = 0; var _XK = 0; var _c02 = 0; var _d02 = 0; var _e02 = null; var _f02 = null; var _g02 = 0, _h02 = 1, _i02 = 2, _j02 = 3; function _k02() { global = new _dQ1(); _O7 = new _l02(); _Pm = new _m02(); _Dk = new _7l(); _n02(canvas); _3E = new _o02(); _cy = new _p02(); _0J = new _q02(); _JL = new _r02(); _1p = new _s02(); _2Z1 = new _t02(); _mv = new _u02(); _vB1 = []; __H = new _v02(); _Fy = new _w02(); _Nv = new _x02(); _M_1() } function _y02(_z02) { switch (_z02) { case 1: return "MEDIA_ERR_ABORTED"; case 2: return "MEDIA_ERR_NETWORK"; case 3: return "MEDIA_ERR_DECODE"; case 4: return "MEDIA_ERR_SRC_NOT_SUPPORTED" } return "Unknown Error" } function _A02(_z02) { switch (_z02) { case _g02: return "NETWORK_EMPTY"; case _h02: return "NETWORK_IDLE"; case _i02: return "NETWORK_LOADING"; case _j02: return "NETWORK_NO_SOURCE" } return "Unknown Error" } function _B02(_vw) { debug("ImageLoaded: " + this.src); _XK++ } function _C02(_vw) { debug("ImageError: " + this.src); _XK++ } function _D02(_vw) { _d02++; debug("ExtensionLoaded: ") } function _E02(_vw) { _d02++; debug("ExtensionError: ") } function ClearEventListeners(_F02) { _F02.removeEventListener('canplaythrough', _G02, !1); _F02.removeEventListener('error', _H02, !1); _F02.removeEventListener("loadstart", _I02, !1); _F02.removeEventListener("suspend", _J02, !1); _F02.removeEventListener("stalled", _K02, !1); _F02.removeEventListener("stall", _K02, !1) } function _G02(_vw) { this.completed = !0; if (_f02[this.URL] !== null) { _f02[this.URL] = null; _XK++ } ClearEventListeners(this); debug("SoundLoaded: " + this.URL) } function _H02(_vw) { debug("SoundError: " + this.URL + " NetworkError: " + _y02(this.error["code"])); this.completed = !1; if (_f02[this.URL] !== null) { _f02[this.URL] = null; _XK++ } ClearEventListeners(this) } function _I02(_vw) { this._L02 = !0 } function _J02(_vw) { debug("SoundSuspended: " + this.URL); this.completed = !0; if (_f02[this.URL] !== null) { _f02[this.URL] = null; _XK++ } ClearEventListeners(this) } function _K02(_vw) {} function _M02(_zv1) { debug("Loading: " + _zv1); var index = _rg(_zv1); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = 63; _Zo._z2 = 63; _Zo._O4 = -32; _Zo._P4 = -32; _Zo._Q4 = 63; _Zo._R4 = 63; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = index; _Zo._hg = _ig[index]; _Zo._eg = []; _Zo._gg = 32; _Zo._fg = 0; var _N02 = _6Z1.length; _6Z1[_N02] = _Zo; return _N02 } function _O02(_jC) { debug("Loading: " + _sg + _jC); var e = window.document.createElement('script'); e.setAttribute('src', _sg + _jC); e.setAttribute('type', "text/javascript"); e.onload = _D02; e.onerror = _E02; window.document.body.appendChild(e); _c02++ } function _P02(_Q02) { if (_Q02._h1 !== undefined) { for (var _u2 = 0; _u2 < _Q02._h1.length; _u2++) { var _R02 = _Q02._h1[_u2]; if (_R02._i1) { for (var _lw = 0; _lw < _R02._i1.length; _lw++) { _O02(_R02._i1[_lw]) } } } } } function _S02(_Q02) { _f02 = []; _c02 = 0; _d02 = 0; _P02(_Q02) } function _T02(_zv1) { _b02++; var __D = new XMLHttpRequest(); __D.open('GET', _5L(_zv1), !0); __D.send(); __D.onload = function(_1E) { _XK++; _JL._U02(__D.responseText); }; __D.onerror = function(_1E) { _XK++ } } function _V02(_zv1) { _b02++; var __D = new XMLHttpRequest(); __D.open('GET', _5L(_zv1), !0); __D.responseType = 'arraybuffer'; __D.send(); __D.onload = function(_1E) { _XK++; _JL._W02(__D.response || __D.responseText) }; __D.onerror = function(_1E) { _XK++ } } function _X02(_Q02) { var _wf, id; if (_Q02._Y02) document.title = _Q02._Y02; _e02 = document.getElementById('GM4HTML5_loadingscreen'); if (_2v1 === "") { _S02(_Q02); _2v1 = _Z02 } else { try { _2v1 = eval(_2v1) } catch (e) { _2v1 = _Z02 } } _XK = 0; for (index = 0; index < _Q02._V4.length; index++) { _b02++; debug("Loading: " + _sg + _Q02._V4[index]); _wf = _rg(_sg + _Q02._V4[index]); _ig[_wf].onload = _B02; _ig[_wf].onerror = _C02; _ig[_wf].URL = _Q02._V4[index] } if ((_Q02.__02 !== null) && (_Q02.__02 !== undefined)) { _V02(_Q02.__02) } if ((_Q02._012 !== null) && (_Q02._012 !== undefined)) { _T02(_Q02._012) } for (var _u2 = 2; _u2 < 16; _u2++) { _b02++; var _yA = _M02(_sg + "particles/IDR_GIF" + _u2 + ".png"); _wf = _6Z1[_yA]._U4; _ig[_wf].onload = _B02; _ig[_wf].onerror = _C02; _ig[_wf].URL = "particles/IDR_GIF" + _u2 + ".png" } if (_Gm == _Hm) { for (index = 0; index < _Q02._j1.length; index++) { if (_Q02._j1[index] !== null) { var _3K = 0; if (_Q02._j1[index]._3K !== undefined) { _3K = _Q02._j1[index]._3K } if (_3K == 0) { _b02++; debug("Loading: " + _sg + _Q02._j1[index]._zL); if (_Q02._j1[index]._Zh === 0) { id = _3L(_sg + _Q02._j1[index]._zL, index, _Q02._j1[index]._AL); if (id === undefined) { _b02-- } } else if ((_Q02._j1[index]._Zh == 3) || (_Q02._j1[index]._Zh == 1)) { _1L(_sg + _Q02._j1[index]._zL, index, _Q02._j1[index]._AL); _b02-- } else { debug("Attempting to load sound with unknown type: " + _Q02._j1[index]._Zh); _b02-- } } } } } else if (_Gm == _0Z1) { for (index = 0; index < _Q02._j1.length; index++) { if (_Q02._j1[index] !== null) { _b02++; debug("Loading: " + _sg + _Q02._j1[index]._zL); id = _112(_sg + _Q02._j1[index]._zL, _Q02._j1[index]._m1, _Q02._j1[index]._AL, _G02, _H02); if ((id !== undefined) && (_eL[id]) && (_eL[id].URL)) { _f02[_eL[id].URL] = _eL[id] } else { _b02-- } } } } } function _212() { for (var _u2 in _f02) { if (!_f02.hasOwnProperty(_u2)) continue; var _312 = _f02[_u2]; if (_312) { if ((_312.networkState !== null && _312.networkState !== undefined) && (_312.readyState !== null && _312.readyState !== undefined)) { if ((_312.networkState == _h02 || _312.networkState == _j02) && (_312._L02) && (_312.readyState != 4)) { if (_312.completed !== !0) { _312.completed = !1; _XK++; _f02[_u2] = null; ClearEventListeners(_312); debug("SoundError: " + _312.URL + " NetworkState: " + _A02(_312.networkState)) } } } } } } function _412(_512, _Wn) { if (_Wn._612) return; if (_Wn._sv !== null) { _412(_Wn._sv._TE, _Wn._sv) } for (var _712 in _Wn._812) { if (!_Wn._812.hasOwnProperty(_712)) continue; if (_vB1[_712]) { if (_vB1[_712][_512]) { continue } } var _z41 = !1; var _912 = _Wn; while (_912 !== null) { var id = _912._TE; var _a12 = _cy._hn(_712); while (_a12 !== null) { var _b12 = _a12._TE; if (_vB1[_b12] && _vB1[_b12][id]) { _z41 = !0; break } _a12 = _a12._sv } _912 = _912._sv } if (!_z41) { if (!_vB1[_512]) { _vB1[_512] = [] } _vB1[_512][_712] = _712 } } _Wn._612 = !0 } function _c12() { var _Hn = _cy._aG(); for (var _512 = 0; _512 < _Hn.length; _512++) { var _Wn = _Hn[_512]; if (_Wn._sv !== null) { _412(_Wn._sv._TE, _Wn._sv) } _412(_512, _Wn) } } function _d12() { var _e12 = ""; if (_cv._W4._j5 !== null && _cv._W4._j5 !== undefined) { for (var _u2 = 0; _u2 < _cv._W4._j5.length; _u2++) { var _2w = _cv._W4._j5[_u2]; if ((_2w >= 'a' && _2w <= 'z') || (_2w >= 'A' && _2w <= 'Z') || (_2w >= '0' && _2w <= '9') || (_2w === '_')) { _e12 = _e12 + _cv._W4._j5[_u2] } } } if (_e12.length === 0) { _e12 = "GameMaker" } return _e12 + "." + _O7._f12 + "." } function _g12(_Q02) { var index, __I, _u2; _FZ1 = 1000000; _O7._f12 = _Q02._W4._Y4; _1O = _Q02._W4._f5; _sZ1 = _Q02._W4._25; _lP = _Q02._W4._e5; _O7._h12 = _d12(); _O7._i12 = _Q02._W4._j5; _O7._j12 = _Q02._W4._j5; _O7._k12 = _sg; _O7._l12 = _d12(); if (_3g) _O7._m12 = !0; _hZ1 = new _n12(_Q02._C2); _WZ1 = _Q02._W4._i5; var id = 0; for (var index = 0; index < _Q02._D2.length; index++) { var _Gz = _Q02._D2[index]; if (_Gz !== null) { var _JE = _o12(id, _Gz); _cy._yn(_JE) } id++ } _cy._p12(); _c12(); for (var index = 0; index < _Q02._v4.length; index++) { var _q12 = _Q02._v4[index]; if (_q12 !== null) { __I = new _r12(); __I._s12(_q12); _0J._yn(__I) } else { _zZ1++; _0J._yn(null) } } _WZ1 = _Q02._W4._h5; _0J._t12(_Q02._M4); for (_u2 = 0; _u2 < _Q02._M4.length; _u2++) { __I = _0J._8J(_u2); __I._5J = _u2 } _O7._u12 = _0J._8J(0).id; _O7._v12 = _0J._8J(_0J._w12.length - 1).id; _x12(_Q02._N4); for (index = 0; index < _Q02._l1.length; index++) { if (_Q02._l1[index] === null) { _JL._ZL(null) } else { var _y12 = _z12(_Q02._l1[index]); _JL._ZL(_y12) } } for (index = 0; index < _Q02._z1.length; index++) { var _lh = _1p._A12(_Q02._z1[index]); var _cM = _1p._bp(_lh); if (_cM !== null) _cM._1M = _B12 } for (index = 0; index < _Q02._j2.length; index++) { _mv._yn(_Q02._j2[index]) } for (index = 0; index < _Q02._A1.length; index++) { var _ZH = _C12(_Q02._A1[index]); __H._yn(_ZH) } for (index = 0; index < _Q02._j1.length; index++) { _2Z1._yn(_Q02._j1[index]) } if (_Q02._B2 !== undefined) { for (index = 0; index < _Q02._B2.length; index++) { _Fy._yn(_Q02._B2[index]); } } _ly(); _ey(); if (typeof _p5 == 'function') { _mZ1 = new _p5() } if (typeof _q5 == 'function') { _q5() } if (_Q02._h1 !== undefined) { for (_u2 = 0; _u2 < _Q02._h1.length; _u2++) { var _R02 = _Q02._h1[_u2]; try { var _xw = eval(_R02.init); if (_xw) _xw() } catch (_0L) { _ym("Error calling extension initialisation function: " + _R02.init.name) } } } } var _cu = 0; var _gu = 1; var _ku = 2; var _D12 = 3; var _du = 4; var _5t = 5; var _lu = 6; var _E12 = 7; var _eu = 8; var _hu = 9; var _mu = 10; var _F12 = 11; var _fu = 12; var _iu = 13; var _nu = 14; var _G12 = 15; function _Ws(_ar) { this._gf = new Float32Array(16); if (_Ws.arguments.length > 0) { for (var _u2 = 0; _u2 < 16; _u2++) { this._gf[_u2] = _ar._gf[_u2] } } else { this._pv1() } } function _eT(_ar) { for (var _u2 = 0; _u2 < 16; _u2++) { if (this._gf[_u2] != _ar._gf[_u2]) { return !1 } } return !0 } _Ws.prototype._pv1 = function(_Uh) { this._gf[1] = this._gf[2] = this._gf[3] = this._gf[4] = this._gf[6] = this._gf[7] = this._gf[8] = this._gf[9] = this._gf[11] = this._gf[12] = this._gf[13] = this._gf[14] = 0.0; this._gf[0] = this._gf[5] = this._gf[10] = this._gf[15] = 1.0 }; _Ws.prototype.__s = function(_H12, _I12, _J12) { var _K12 = new _Xs(_J12); var _L12 = new _Xs(); var _M12 = _I12._N12(_H12); _M12._ut(); _K12._ut(); _L12._O12(_K12, _M12); _L12._ut(); _K12._O12(_M12, _L12); _K12._ut(); var _xt = _H12._P12(_L12); var _yt = _H12._P12(_K12); var _zt = _H12._P12(_M12); this._gf[_cu] = _L12._xt; this._gf[_gu] = _K12._xt; this._gf[_ku] = _M12._xt; this._gf[_D12] = 0.0; this._gf[_du] = _L12._yt; this._gf[_5t] = _K12._yt; this._gf[_lu] = _M12._yt; this._gf[_E12] = 0.0; this._gf[_eu] = _L12._zt; this._gf[_hu] = _K12._zt; this._gf[_mu] = _M12._zt; this._gf[_F12] = 0.0; this._gf[_fu] = -_xt; this._gf[_iu] = -_yt; this._gf[_nu] = -_zt; this._gf[_G12] = 1 }; _Ws.prototype._4t = function(_Q12, _R12, _S12, _T12) { var _Wg = _X_1(_Q12); var _U12 = 1.0 / Math.tan(_Wg * 0.5); var _Qb1 = _U12 / _R12; this._gf[_cu] = _Qb1; this._gf[_gu] = this._gf[_ku] = this._gf[_D12] = 0.0; this._gf[_5t] = _U12; this._gf[_du] = this._gf[_lu] = this._gf[_E12] = 0.0; this._gf[_eu] = this._gf[_hu] = 0.0; this._gf[_F12] = 1.0; this._gf[_mu] = _T12 / (_T12 - _S12); this._gf[_fu] = this._gf[_fu] = this._gf[_G12] = 0.0; this._gf[_nu] = -_S12 * _T12 / (_T12 - _S12) }; _Ws.prototype._dt = function(_6n, _7n, _S12, _T12) { this._gf[_cu] = 2 * _S12 / _6n; this._gf[_gu] = this._gf[_ku] = this._gf[_D12] = 0.0; this._gf[_5t] = 2 * _S12 / _7n; this._gf[_du] = this._gf[_lu] = this._gf[_E12] = 0.0; this._gf[_eu] = this._gf[_hu] = 0.0; this._gf[_F12] = 1.0; this._gf[_mu] = _T12 / (_T12 - _S12); this._gf[_fu] = this._gf[_iu] = this._gf[_G12] = 0.0; this._gf[_nu] = -_S12 * _T12 / (_T12 - _S12); }; _Ws.prototype._ct = function(_6n, _7n, _S12, _T12) { this._gf[_cu] = 2.0 / _6n; this._gf[_gu] = this._gf[_ku] = 0.0; this._gf[_D12] = 0; this._gf[_5t] = 2.0 / _7n; this._gf[_du] = this._gf[_lu] = 0.0; this._gf[_E12] = 0; this._gf[_eu] = this._gf[_hu] = 0.0; this._gf[_mu] = 1.0 / (_T12 - _S12); this._gf[_F12] = 0; this._gf[_fu] = this._gf[_iu] = 0.0; this._gf[_nu] = _S12 / (_S12 - _T12); this._gf[_G12] = 1.0 }; _Ws.prototype._9u = function(_V12, _W12) { this._gf[_cu] = (_V12._gf[_cu] * _W12._gf[_cu]) + (_V12._gf[_gu] * _W12._gf[_du]) + (_V12._gf[_ku] * _W12._gf[_eu]) + (_V12._gf[_D12] * _W12._gf[_fu]); this._gf[_gu] = (_V12._gf[_cu] * _W12._gf[_gu]) + (_V12._gf[_gu] * _W12._gf[_5t]) + (_V12._gf[_ku] * _W12._gf[_hu]) + (_V12._gf[_D12] * _W12._gf[_iu]); this._gf[_ku] = (_V12._gf[_cu] * _W12._gf[_ku]) + (_V12._gf[_gu] * _W12._gf[_lu]) + (_V12._gf[_ku] * _W12._gf[_mu]) + (_V12._gf[_D12] * _W12._gf[_nu]); this._gf[_D12] = (_V12._gf[_cu] * _W12._gf[_D12]) + (_V12._gf[_gu] * _W12._gf[_E12]) + (_V12._gf[_ku] * _W12._gf[_F12]) + (_V12._gf[_D12] * _W12._gf[_G12]); this._gf[_du] = (_V12._gf[_du] * _W12._gf[_cu]) + (_V12._gf[_5t] * _W12._gf[_du]) + (_V12._gf[_lu] * _W12._gf[_eu]) + (_V12._gf[_E12] * _W12._gf[_fu]); this._gf[_5t] = (_V12._gf[_du] * _W12._gf[_gu]) + (_V12._gf[_5t] * _W12._gf[_5t]) + (_V12._gf[_lu] * _W12._gf[_hu]) + (_V12._gf[_E12] * _W12._gf[_iu]); this._gf[_lu] = (_V12._gf[_du] * _W12._gf[_ku]) + (_V12._gf[_5t] * _W12._gf[_lu]) + (_V12._gf[_lu] * _W12._gf[_mu]) + (_V12._gf[_E12] * _W12._gf[_nu]); this._gf[_E12] = (_V12._gf[_du] * _W12._gf[_D12]) + (_V12._gf[_5t] * _W12._gf[_E12]) + (_V12._gf[_lu] * _W12._gf[_F12]) + (_V12._gf[_E12] * _W12._gf[_G12]); this._gf[_eu] = (_V12._gf[_eu] * _W12._gf[_cu]) + (_V12._gf[_hu] * _W12._gf[_du]) + (_V12._gf[_mu] * _W12._gf[_eu]) + (_V12._gf[_F12] * _W12._gf[_fu]); this._gf[_hu] = (_V12._gf[_eu] * _W12._gf[_gu]) + (_V12._gf[_hu] * _W12._gf[_5t]) + (_V12._gf[_mu] * _W12._gf[_hu]) + (_V12._gf[_F12] * _W12._gf[_iu]); this._gf[_mu] = (_V12._gf[_eu] * _W12._gf[_ku]) + (_V12._gf[_hu] * _W12._gf[_lu]) + (_V12._gf[_mu] * _W12._gf[_mu]) + (_V12._gf[_F12] * _W12._gf[_nu]); this._gf[_F12] = (_V12._gf[_eu] * _W12._gf[_D12]) + (_V12._gf[_hu] * _W12._gf[_E12]) + (_V12._gf[_mu] * _W12._gf[_F12]) + (_V12._gf[_F12] * _W12._gf[_G12]); this._gf[_fu] = (_V12._gf[_fu] * _W12._gf[_cu]) + (_V12._gf[_iu] * _W12._gf[_du]) + (_V12._gf[_nu] * _W12._gf[_eu]) + (_V12._gf[_G12] * _W12._gf[_fu]); this._gf[_iu] = (_V12._gf[_fu] * _W12._gf[_gu]) + (_V12._gf[_iu] * _W12._gf[_5t]) + (_V12._gf[_nu] * _W12._gf[_hu]) + (_V12._gf[_G12] * _W12._gf[_iu]); this._gf[_nu] = (_V12._gf[_fu] * _W12._gf[_ku]) + (_V12._gf[_iu] * _W12._gf[_lu]) + (_V12._gf[_nu] * _W12._gf[_mu]) + (_V12._gf[_G12] * _W12._gf[_nu]); this._gf[_G12] = (_V12._gf[_fu] * _W12._gf[_D12]) + (_V12._gf[_iu] * _W12._gf[_E12]) + (_V12._gf[_nu] * _W12._gf[_F12]) + (_V12._gf[_G12] * _W12._gf[_G12]) }; _Ws.prototype._4u = function(_Ce) { this._pv1(); var _Wg = _X_1(_Ce); var _ov = Math.sin(_Wg); var _v2 = Math.cos(_Wg); this._gf[_cu] = _v2; this._gf[_gu] = -_ov; this._gf[_du] = _ov; this._gf[_5t] = _v2 }; _Ws.prototype._3u = function(_Ce) { this._pv1(); var _Wg = _X_1(_Ce); var _ov = Math.sin(_Wg); var _v2 = Math.cos(_Wg); this._gf[_cu] = _v2; this._gf[_ku] = _ov; this._gf[_eu] = -_ov; this._gf[_mu] = _v2 }; _Ws.prototype._2u = function(_Ce) { this._pv1(); var _Wg = _X_1(_Ce); var _ov = Math.sin(_Wg); var _v2 = Math.cos(_Wg); this._gf[_5t] = _v2; this._gf[_lu] = -_ov; this._gf[_hu] = _ov; this._gf[_mu] = _v2 }; _Ws.prototype._0u = function(_ye, _ze, _sj) { this._pv1(); this._gf[_fu] = _ye; this._gf[_iu] = _ze; this._gf[_nu] = _sj }; _Ws.prototype._1u = function(_QN, _RN, _X12) { this._pv1(); this._gf[_cu] = _QN; this._gf[_5t] = _RN; this._gf[_mu] = _X12 }; _Ws.prototype._5u = function(_ij, _Ce) { _ij._ut(); var _Wg = _X_1(_Ce); var _v2 = Math.cos(_Wg); var _ov = Math.sin(_Wg); var _Y12 = 1.0 - _v2; this._pv1(); this._gf[0] = (_Y12 * _ij._xt * _ij._xt + _v2); this._gf[1] = (_Y12 * _ij._xt * _ij._yt + _ov * _ij._zt); this._gf[2] = (_Y12 * _ij._xt * _ij._zt - _ov * _ij._yt); this._gf[4] = (_Y12 * _ij._xt * _ij._yt - _ov * _ij._zt); this._gf[5] = (_Y12 * _ij._yt * _ij._yt + _v2); this._gf[6] = (_Y12 * _ij._yt * _ij._zt + _ov * _ij._xt); this._gf[8] = (_Y12 * _ij._xt * _ij._zt + _ov * _ij._yt); this._gf[9] = (_Y12 * _ij._yt * _ij._zt - _ov * _ij._xt); this._gf[10] = (_Y12 * _ij._zt * _ij._zt + _v2) }; _Ws.prototype._xu = function(_ye, _ze, _sj, _cr, _dr, _er, _fr, _gr, _hr) { var _Z12 = Math.sin(_cr); var __12 = Math.cos(_cr); var _022 = Math.sin(_dr); var _122 = Math.cos(_dr); var _222 = Math.sin(_er); var _322 = Math.cos(_er); var _422 = -_222 * -_Z12; var _522 = _322 * -_Z12; this._gf[0] = ((_322 * _122) + (_422 * -_022)) * _fr; this._gf[4] = (-_222 * __12) * _fr; this._gf[8] = ((_322 * _022) + (_422 * _122)) * _fr; this._gf[12] = _ye; this._gf[1] = ((_222 * _122) + (_522 * -_022)) * _gr; this._gf[5] = (_322 * __12) * _gr; this._gf[9] = ((_222 * _022) + (_522 * _122)) * _gr; this._gf[13] = _ze; this._gf[2] = (__12 * -_022) * _hr; this._gf[6] = _Z12 * _hr; this._gf[10] = (__12 * _122) * _hr; this._gf[14] = _sj; this._gf[3] = this._gf[7] = this._gf[11] = 0.0; this._gf[15] = 1.0 }; function __o() { this._w2 = 0; this._x2 = 0; this._y2 = 0; this._z2 = 0; this._O4 = 0; this._P4 = 0; this._Q4 = 0; this._R4 = 0; this._S4 = 0; this._T4 = 0; this._U4 = 0; this._1M = _B12 } function _B12(_gM) { this._w2 = _gM._w2; this._x2 = _gM._x2; this._y2 = _gM._y2; this._z2 = _gM._z2; this._O4 = _gM._O4; this._P4 = _gM._P4; this._Q4 = _gM._Q4; this._R4 = _gM._R4; this._S4 = _gM._S4; this._T4 = _gM._T4; this._U4 = _gM._U4 } function _622(_Dg) { __h("splash_set_color()") } var _722 = _622; function _Ky(_9o) { _hv("clipboard_set_text()") } var _822 = !0; function _922(_1i) { __h("texture_get_width()") } function _a22(_1i) { __h("texture_get_height()") } function _b22(_c22) { __h("texture_set_blending()") } function _gt(repeat) { __h("texture_set_repeat()") } function _ft() { __h("texture_get_repeat()") } function _d22(repeat) { __h("texture_set_repeat_ext()") } function _e22(_f22) { __h("texture_set_interpolation()") } function _g22() { __h("texture_set_interpolation_ext()") } function _h22() { __h("draw_set_alpha_test()") } function _i22() { __h("draw_set_alpha_test_ref_value()") } function _j22() { __h("draw_get_alpha_test()"); return 0 } function _k22() { __h("draw_get_alpha_test_ref_value()"); return 0 } function _fv1() { __h("zip_unzip()") } function _Xs(_l22, _m22, _n22) { if (_Xs.arguments.length > 0) { if (_Xs.arguments.length == 3) { this._xt = _l22; this._yt = _m22; this._zt = _n22 } else { this._xt = _l22._xt; this._yt = _l22._yt; this._zt = _l22._zt } } else { this._xt = 1.0; this._yt = 0.0; this._zt = 0.0 } } _Xs.prototype._yn = function(_Uh) { return new _Xs(this._xt + _Uh._xt, this._yt + _Uh._yt, this._zt + _Uh._zt) }; _Xs.prototype._N12 = function(_Uh) { return new _Xs(this._xt - _Uh._xt, this._yt - _Uh._yt, this._zt - _Uh._zt) }; _Xs.prototype._ut = function() { var _bv = 1.0 / Math.sqrt((this._xt * this._xt) + (this._yt * this._yt) + (this._zt * this._zt)); this._xt = this._xt * _bv; this._yt = this._yt * _bv; this._zt = this._zt * _bv }; _Xs.prototype._O12 = function(_o22, _p22) { this._xt = (_o22._yt * _p22._zt) - (_o22._zt * _p22._yt); this._yt = (_o22._zt * _p22._xt) - (_o22._xt * _p22._zt); this._zt = (_o22._xt * _p22._yt) - (_o22._yt * _p22._xt) }; _Xs.prototype._P12 = function(_q22) { return (this._xt * _q22._xt) + (this._yt * _q22._yt) + (this._zt * _q22._zt) }; (function(global, _2n1, _r22) { 'use strict'; function _s22(_t22) { if (!_t22) return; if (!_t22.setTargetValueAtTime) _t22.setTargetValueAtTime = _t22.setTargetAtTime } if (window.hasOwnProperty('AudioContext') && (!window.hasOwnProperty('webkitAudioContext') || window.webkitAudioContext.prototype.createGainNode === undefined)) { window.webkitAudioContext = AudioContext; AudioContext.prototype._u22 = AudioContext.prototype.createGain; AudioContext.prototype.createGain = function() { var _6O = this._u22(); _s22(_6O.gain); return _6O }; AudioContext.prototype._v22 = AudioContext.prototype.createDelay; AudioContext.prototype.createDelay = function() { var _6O = this._v22(); _s22(_6O.delayTime); return _6O }; AudioContext.prototype._w22 = AudioContext.prototype.createBufferSource; AudioContext.prototype.createBufferSource = function() { var _6O = this._w22(); if (!_6O.noteOn) _6O.noteOn = _6O.start; if (!_6O.noteGrainOn) _6O.noteGrainOn = _6O.start; if (!_6O.noteOff) _6O.noteOff = _6O.stop; _s22(_6O.playbackRate); return _6O }; AudioContext.prototype._x22 = AudioContext.prototype._y22; AudioContext.prototype._y22 = function() { var _6O = this._x22(); _s22(_6O._z22); _s22(_6O._A22); _s22(_6O._yg1); _s22(_6O._B22); _s22(_6O._C22); _s22(_6O._D22); return _6O }; AudioContext.prototype._E22 = AudioContext.prototype._F22; AudioContext.prototype._F22 = function() { var _6O = this._E22(); _s22(_6O._Pm1); _s22(_6O._G22); _s22(_6O._p01); _s22(_6O.gain); var _H22 = ['LOWPASS', 'HIGHPASS', 'BANDPASS', 'LOWSHELF', 'HIGHSHELF', 'PEAKING', 'NOTCH', 'ALLPASS']; for (var _u2 = 0; _u2 < _H22.length; ++_u2) { var _I22 = _H22[_u2]; var _J22 = _I22.toLowerCase(); if (!_6O.prototype.hasOwnProperty(_I22)) { _6O.prototype[_I22] = _J22; } } return _6O }; if (AudioContext.prototype.hasOwnProperty('createOscillator')) { AudioContext.prototype._K22 = AudioContext.prototype._L22; AudioContext.prototype._L22 = function() { var _6O = this._K22(); if (!_6O.noteOn) _6O.noteOn = _6O.start; if (!_6O.noteOff) _6O.noteOff = _6O.stop; _s22(_6O._Pm1); _s22(_6O._G22); var _H22 = ['SINE', 'SQUARE', 'SAWTOOTH', 'TRIANGLE', 'CUSTOM']; for (var _u2 = 0; _u2 < _H22.length; ++_u2) { var _I22 = _H22[_u2]; var _J22 = _I22.toLowerCase(); if (!_6O.prototype.hasOwnProperty(_I22)) { _6O.prototype[_I22] = _J22 } } if (!_6O.prototype.hasOwnProperty('setWaveTable')) { _6O.prototype._M22 = _6O.prototype._N22 } return _6O } } AudioContext.prototype._O22 = AudioContext.prototype.createPanner; AudioContext.prototype.createPanner = function() { var _6O = this._O22(); var _H22 = { 'EQUALPOWER': 'equalpower', 'HRTF': 'HRTF', 'LINEAR_DISTANCE': 'linear', 'INVERSE_DISTANCE': 'inverse', 'EXPONENTIAL_DISTANCE': 'exponential', }; for (var _I22 in _H22) { var _J22 = _H22[_I22]; if (!_6O[_I22]) { _6O[_I22] = _J22 } } return _6O }; if (!AudioContext.prototype.hasOwnProperty('createGainNode')) AudioContext.prototype.createGainNode = AudioContext.prototype.createGain; if (!AudioContext.prototype.hasOwnProperty('createDelayNode')) AudioContext.prototype._P22 = AudioContext.prototype.createDelay; if (!AudioContext.prototype.hasOwnProperty('createJavaScriptNode')) AudioContext.prototype._Q22 = AudioContext.prototype.createScriptProcessor; if (!AudioContext.prototype.hasOwnProperty('createWaveTable')) AudioContext.prototype._R22 = AudioContext.prototype.createPeriodicWave } }(window)); var _S22 = 0, _T22 = 1, _U22 = 2, _V22 = 3, _W22 = 4, _X22 = 5, _Y22 = 6, _Z22 = 7, __22 = 8, _032 = 9, _132 = 10, _232 = 11, _332 = 12, _432 = 13, _532 = 14, _632 = 15; function _Jt() { this._am() } _Jt.prototype._am = function() { this._732 = []; this._832 = [] }; _Jt.prototype._932 = function() { var _a32 = "100\n"; _a32 += this._732.length.toString() + "\n"; for (var _u2 = 0; _u2 < this._732.length; _u2++) { var _b32 = this._732[_u2]; _a32 += _b32._c32.toString() + " "; switch (_b32._c32) { case _T22: break; case _S22: _a32 += _b32._d32.toString(); break; case _U22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += "0.0 0.0 0.0 0.0 0.0 0.0 0.0\n"; break; case _V22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += (_b32._Ng * 1.0).toString() + " "; _a32 += _b32.alpha.toString() + " "; _a32 += "0.0 0.0 0.0 0.0 0.0\n"; break; case _W22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._6h.toString() + " "; _a32 += _b32._8h.toString() + " "; _a32 += "0.0 0.0 0.0 0.0 0.0\n"; break; case _X22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._6h.toString() + " "; _a32 += _b32._8h.toString() + " "; _a32 += (_b32._Ng * 1.0).toString() + " "; _a32 += _b32.alpha.toString() + " "; _a32 += "0.0 0.0 0.0\n"; break; case _Y22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._li.toString() + " "; _a32 += _b32._mi.toString() + " "; _a32 += _b32._ni.toString() + " "; _a32 += "0.0 0.0 0.0 0.0\n"; break; case _Z22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._li.toString() + " "; _a32 += _b32._mi.toString() + " "; _a32 += _b32._ni.toString() + " "; _a32 += (_b32._Ng * 1.0).toString() + " "; _a32 += _b32.alpha.toString() + " "; _a32 += "0.0 0.0\n"; break; case __22: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._li.toString() + " "; _a32 += _b32._mi.toString() + " "; _a32 += _b32._ni.toString() + " "; _a32 += _b32._6h.toString() + " "; _a32 += _b32._8h.toString() + " "; _a32 += "0.0 0.0\n"; break; case _032: _a32 += _b32._w2.toString() + " "; _a32 += _b32._x2.toString() + " "; _a32 += _b32._ei.toString() + " "; _a32 += _b32._li.toString() + " "; _a32 += _b32._mi.toString() + " "; _a32 += _b32._ni.toString() + " "; _a32 += _b32._6h.toString() + " "; _a32 += _b32._8h.toString() + " "; _a32 += (_b32._Ng * 1.0).toString() + " "; _a32 += _b32.alpha.toString() + " "; _a32 += "\n"; break; case _132: case _532: case _632: _a32 += _b32._hf.toString() + " "; _a32 += _b32._if.toString() + " "; _a32 += _b32.__p.toString() + " "; _a32 += _b32._jf.toString() + " "; _a32 += _b32._kf.toString() + " "; _a32 += _b32._0q.toString() + " "; _a32 += (_b32._ht ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._it ? 1.0 : 0.0).toString() + " "; _a32 += "0.0 0.0\n"; break; case _432: _a32 += _b32._hf.toString() + " "; _a32 += _b32._if.toString() + " "; _a32 += _b32.__p.toString() + " "; _a32 += _b32._jf.toString() + " "; _a32 += _b32._kf.toString() + " "; _a32 += _b32._0q.toString() + " "; _a32 += (_b32._ht ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._it ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._4q * 1.0).toString() + " "; _a32 += "0.0\n"; break; case _232: case _332: _a32 += _b32._hf.toString() + " "; _a32 += _b32._if.toString() + " "; _a32 += _b32.__p.toString() + " "; _a32 += _b32._jf.toString() + " "; _a32 += _b32._kf.toString() + " "; _a32 += _b32._0q.toString() + " "; _a32 += (_b32._ht ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._it ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._7q ? 1.0 : 0.0).toString() + " "; _a32 += (_b32._4q * 1.0).toString() + " "; _a32 += "\n"; break } } return _a32 }; _Jt.prototype._Kt = function(_9x) { if (_aE === !0) { var _e32 = this._932(); var _f32 = _8x(_9x); _bx(_f32, _e32); _3x(_f32) } else { debug("d3d_model_save() browser does not support local storage\n") } }; _Jt.prototype._g32 = function(_h32) { var _i32 = ""; var _j32 = !1; for (var _u2 = 0; _u2 < _h32.length; _u2++) { var _k32 = _h32.charAt(_u2); if (_k32 == ' ') { if (!_j32) { _i32 = _i32 + _k32 } _j32 = !0; } else { _j32 = !1; _i32 = _i32 + _k32 } } return _i32 }; _Jt.prototype._l32 = function(_m32) { var _n32 = _m32.split("\n"); var version = parseInt(_n32[0]); if (version == 100) { var _o32 = parseInt(_n32[1]); for (var _u2 = 2; _u2 < _n32.length; _u2++) { var _b32 = {}; var _p32 = this._g32(_n32[_u2]); var _q32 = _p32.split(" "); _b32._c32 = parseInt(_q32[0]); switch (_b32._c32) { case _T22: break; case _S22: { _b32._d32 = parseInt(_q32[1]); break } case _U22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); break } case _V22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._Ng = parseInt(_q32[4]); _b32.alpha = parseFloat(_q32[5]); break } case _W22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._6h = parseFloat(_q32[4]); _b32._8h = parseFloat(_q32[5]); break } case _X22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._6h = parseFloat(_q32[4]); _b32._8h = parseFloat(_q32[5]); _b32._Ng = parseInt(_q32[6]); _b32.alpha = parseFloat(_q32[7]); break } case _Y22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._li = parseFloat(_q32[4]); _b32._mi = parseFloat(_q32[5]); _b32._ni = parseFloat(_q32[6]); break } case _Z22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._li = parseFloat(_q32[4]); _b32._mi = parseFloat(_q32[5]); _b32._ni = parseFloat(_q32[6]); _b32._Ng = parseInt(_q32[7]); _b32.alpha = parseFloat(_q32[8]); break } case __22: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._li = parseFloat(_q32[4]); _b32._mi = parseFloat(_q32[5]); _b32._ni = parseFloat(_q32[6]); _b32._6h = parseFloat(_q32[7]); _b32._8h = parseFloat(_q32[8]); break } case _032: { _b32._w2 = parseFloat(_q32[1]); _b32._x2 = parseFloat(_q32[2]); _b32._ei = parseFloat(_q32[3]); _b32._li = parseFloat(_q32[4]); _b32._mi = parseFloat(_q32[5]); _b32._ni = parseFloat(_q32[6]); _b32._6h = parseFloat(_q32[7]); _b32._8h = parseFloat(_q32[8]); _b32._Ng = parseInt(_q32[9]); _b32.alpha = parseFloat(_q32[10]); break } case _132: case _532: case _632: { _b32._hf = parseFloat(_q32[1]); _b32._if = parseFloat(_q32[2]); _b32.__p = parseFloat(_q32[3]); _b32._jf = parseFloat(_q32[4]); _b32._kf = parseFloat(_q32[5]); _b32._0q = parseFloat(_q32[6]); _b32._ht = (parseFloat(_q32[7]) >= 0.5) ? !0 : !1; _b32._it = (parseFloat(_q32[8]) >= 0.5) ? !0 : !1; break } case _432: { _b32._hf = parseFloat(_q32[1]); _b32._if = parseFloat(_q32[2]); _b32.__p = parseFloat(_q32[3]); _b32._jf = parseFloat(_q32[4]); _b32._kf = parseFloat(_q32[5]); _b32._0q = parseFloat(_q32[6]); _b32._ht = (parseFloat(_q32[7]) >= 0.5) ? !0 : !1; _b32._it = (parseFloat(_q32[8]) >= 0.5) ? !0 : !1; _b32._4q = ~~parseFloat(_q32[9]); break } case _232: case _332: { _b32._hf = parseFloat(_q32[1]); _b32._if = parseFloat(_q32[2]); _b32.__p = parseFloat(_q32[3]); _b32._jf = parseFloat(_q32[4]); _b32._kf = parseFloat(_q32[5]); _b32._0q = parseFloat(_q32[6]); _b32._ht = (parseFloat(_q32[7]) >= 0.5) ? !0 : !1; _b32._it = (parseFloat(_q32[8]) >= 0.5) ? !0 : !1; _b32._7q = (parseFloat(_q32[9]) >= 0.5) ? !0 : !1; _b32._4q = ~~parseFloat(_q32[10]); break } } this._732.push(_b32) } } }; _Jt.prototype._jg = function(_9x) { var _r32 = _gy(_9x, !0); if (_r32 !== null && _r32 !== undefined) { this._l32(_r32) } else { var _eq = _5L(_9x); var _mg = this; var _s32 = new XMLHttpRequest(); _s32.open("GET", _eq, !1); _s32.onload = function() { if (_s32.readyState == 4 && _s32.status == 200) { _mg._l32(_s32.responseText) } }; _s32.send(null) } }; _Jt.prototype._2k = function(_Zh) { this._732.push({ _c32: _S22, _d32: _Zh }) }; _Jt.prototype._4k = function() { this._732.push({ _c32: _T22 }) }; _Jt.prototype._Lt = function(_w2, _x2, _ei) { this._732.push({ _c32: _U22, _w2: _w2, _x2: _x2, _ei: _ei }) }; _Jt.prototype._Mt = function(_w2, _x2, _ei, _Dg, alpha) { this._732.push({ _c32: _V22, _w2: _w2, _x2: _x2, _ei: _ei, _Ng: _Dg, alpha: alpha }) }; _Jt.prototype._Nt = function(_w2, _x2, _ei, _6i, _7i) { this._732.push({ _c32: _W22, _w2: _w2, _x2: _x2, _ei: _ei, _6h: _6i, _8h: _7i }) }; _Jt.prototype._Ot = function(_w2, _x2, _ei, _6i, _7i, _Dg, alpha) { this._732.push({ _c32: _X22, _w2: _w2, _x2: _x2, _ei: _ei, _6h: _6i, _8h: _7i, _Ng: _Dg, alpha: alpha }) }; _Jt.prototype._Pt = function(_w2, _x2, _ei, _li, _mi, _ni) { this._732.push({ _c32: _Y22, _w2: _w2, _x2: _x2, _ei: _ei, _li: _li, _mi: _mi, _ni: _ni }) }; _Jt.prototype._Qt = function(_w2, _x2, _ei, _li, _mi, _ni, _Dg, alpha) { this._732.push({ _c32: _Z22, _w2: _w2, _x2: _x2, _ei: _ei, _li: _li, _mi: _mi, _ni: _ni, _Ng: _Dg, alpha: alpha }) }; _Jt.prototype._Rt = function(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i) { this._732.push({ _c32: __22, _w2: _w2, _x2: _x2, _ei: _ei, _li: _li, _mi: _mi, _ni: _ni, _6h: _6i, _8h: _7i }) }; _Jt.prototype._St = function(_w2, _x2, _ei, _li, _mi, _ni, _6i, _7i, _Dg, alpha) { this._732.push({ _c32: _032, _w2: _w2, _x2: _x2, _ei: _ei, _li: _li, _mi: _mi, _ni: _ni, _6h: _6i, _8h: _7i, _Ng: _Dg, alpha: alpha }) }; _Jt.prototype._Tt = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { this._732.push({ _c32: _132, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q }) }; _Jt.prototype._Ut = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { this._732.push({ _c32: _232, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q, _7q: _7q, _4q: _4q }) }; _Jt.prototype._Vt = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _7q, _4q) { this._732.push({ _c32: _332, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q, _7q: _7q, _4q: _4q }) }; _Jt.prototype._Wt = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q, _4q) { this._732.push({ _c32: _432, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q, _4q: _4q }) }; _Jt.prototype._Xt = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { this._732.push({ _c32: _532, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q }) }; _Jt.prototype._Yt = function(_hf, _if, __p, _jf, _kf, _0q, _1q, _2q) { this._732.push({ _c32: _632, _hf: _hf, _if: _if, __p: __p, _jf: _jf, _kf: _kf, _0q: _0q, _ht: _1q, _it: _2q }) }; _Jt.prototype._t32 = function() { this._u32 = new _8j(_9j, _3g._aj(_3g._oj), !1); this._u32._d32 = -1; this._u32._v32 = null }; _Jt.prototype._w32 = function(__i) { switch (__i) { case _zi: case _Ai: case _Ci: return !0 } return !1 }; _Jt.prototype._x32 = function(_dg) { var _y32 = this._u32; if ((_y32._d32 != -1) && ((_vi != _y32._d32) || (_wi != _y32._v32) || (this._w32(_y32._d32) === !1))) { _y32._uk(); this._832[_dg].push({ _d32: _Zi(_y32._d32), _v32: _y32._v32, _z32: _y32 }); this._t32(); _y32 = this._u32 } _y32._Xt1(_yi); _y32._d32 = _vi; _y32._v32 = _wi; _5j() }; _Jt.prototype._A32 = function(_dg) { var _y32 = this._u32; _y32._uk(); this._832[_dg].push({ _d32: _Zi(_y32._d32), _v32: _y32._v32, _z32: _y32 }); _5j() }; _Jt.prototype._D71 = function(_b32, _qg) { var _B32 = _ti; var _mg = this; _ti = function() { _mg._x32(_qg) }; switch (_b32._c32) { case _132: _5q(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it); break; case _232: _6q(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it, _b32._7q, _b32._4q); break; case _332: _8q(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it, _b32._7q, _b32._4q); break; case _432: _3q(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it, _b32._4q); break; case _532: _9q(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it); break; case _632: _Zp(_b32._hf, _b32._if, _b32.__p, _b32._jf, _b32._kf, _b32._0q, _qg, _b32._ht, _b32._it); break } _ti = _B32 }; _Jt.prototype._Ig = function(_w2, _x2, _ei, _qg) { var _u2, _6u = new _Ws(); _6u._0u(_w2, _x2, _ei); var _7u = _8u(__t); var _gf = new _Ws(); _gf._9u(_6u, _7u); _Zt(__t, _gf); if (this._832[_qg] === undefined) { this._832[_qg] = []; this._t32(); for (var _u2 = 0; _u2 < this._732.length; _u2++) { var _b32 = this._732[_u2]; switch (_b32._c32) { case _S22: _ci(_b32._d32, _qg); break; case _T22: this._x32(_qg); break; case _U22: _di(_b32._w2, _b32._x2, _b32._ei); break; case _V22: _fi(_b32._w2, _b32._x2, _b32._ei, _b32._Ng, _b32.alpha); break; case _W22: _hi(_b32._w2, _b32._x2, _b32._ei, _b32._6h, _b32._8h); break; case _X22: _ii(_b32._w2, _b32._x2, _b32._ei, _b32._6h, _b32._8h, _b32._Ng, _b32.alpha); break; case _Y22: _ki(_b32._w2, _b32._x2, _b32._ei, _b32._li, _b32._mi, _b32._ni); break; case _Z22: _oi(_b32._w2, _b32._x2, _b32._ei, _b32._li, _b32._mi, _b32._ni, _b32._Ng, _b32.alpha); break; case __22: _qi(_b32._w2, _b32._x2, _b32._ei, _b32._li, _b32._mi, _b32._ni, _b32._6h, _b32._8h); break; case _032: _ri(_b32._w2, _b32._x2, _b32._ei, _b32._li, _b32._mi, _b32._ni, _b32._6h, _b32._8h, _b32._Ng, _b32.alpha); break; case _132: case _232: case _332: case _432: case _532: case _632: this._D71(_b32, _qg); break } } this._A32(_qg); this._u32 = null } var _C32 = this._832[_qg]; for (_u2 = 0; _u2 < _C32.length; _u2++) { var _D32 = _C32[_u2]; var _mj = _D32._v32 ? _D32._v32._Bh : null; _3g._Bk(_D32._d32, _mj, _D32._z32, 0) } _Zt(__t, _7u) }; function _4I(_E32) { var _Cn = _4I.arguments; var _Dn = _4I.arguments.length; this._Hn = []; this._go = []; this.length = 0; this._fg = 0; if (_Dn > 0) { for (var _u2 = 0; _u2 < _Dn; _u2++) { this._Hn[_u2] = null; this._go.push(_u2) } } } _4I.prototype._T_1 = function() { var _df; if (this._go.length === 0) { _df = this._Hn.length; this._Hn[_df] = null; return _df } return this._go.pop() }; _4I.prototype._yn = function(_F32) { var index = this._T_1(); this._Hn[index] = _F32; this._fg++; this.length = this._Hn.length; return index }; _4I.prototype._hn = function(_zF) { var _Sn = this._Hn[_zF]; if (_Sn === undefined) _Sn = null; return _Sn }; _4I.prototype._G32 = function(_iL1) { for (var _sf = 0; _sf < this._Hn.length; _sf++) { if (this._Hn[_sf] == _iL1) return _sf } return -1 }; _4I.prototype._H32 = function(_iL1) { var index = _G32(_iL1); if (index < 0) return; _Hn[index] = null; _go.push(index); this._fg-- }; _4I.prototype._Qn = function(_zF) { if (_zF < 0 || _zF >= this._Hn.length) return; this._Hn[_zF] = null; this._go.push(_zF); this._fg-- }; _4I.prototype._am = function() { this._Hn = []; this._go = []; this._fg = 0; this.length = this._Hn.length }; _4I.prototype._Tn = function(_IL, _en) { if (_IL < 0 || _IL >= this._Hn.length) return; this._Hn[_IL] = _en }; var _I32 = 0, _J32 = 1, _K32 = 2, _L32 = 3, _M32 = 4, _xC = 5, _Ov = 6, _N32 = 0, _Hv = 1, _Lv = -1, _mC = 0, _O32 = 1, _kC = -1; var _P32 = []; var _Q32 = []; function _R32(_Ln, _7q1) { _P32.push(_Ln); _Q32.push(_7q1) } function _Dv(_Ln) { var _u2 = 0; for (_u2 = 0; _u2 < _P32.length; _u2++) { if (_P32[_u2] == _Ln) { var _5x = _Q32[_u2]; _Q32.splice(_u2, 1); _P32.splice(_u2, 1); return _5x } } return undefined } function _S32() { this._T32 = ""; this._U32 = -1; this._Gv = 0; this._V32 = null; this._W32 = _I32; this._Fv = !1 } function _x02() { this._Hn = new _4I(5) } _x02.prototype._aG = function() { return this._Hn }; _x02.prototype._yn = function(_dn, _zv1, _Pj, _X32) { var _5x = new _S32(); _5x._U32 = _dn; _5x._T32 = _zv1; _5x._V32 = _X32; _5x._W32 = _Pj; this._Hn._yn(_5x); _R32(_X32, _5x) }; _x02.prototype._Y32 = function() { var map = _86(); _O7._uL = map; var _Hn = this._Hn._Hn; for (var _u2 = 0; _u2 < _Hn.length; _u2++) { var _5x = _Hn[_u2]; if (_5x !== null) { if (_5x._Fv) { _Rn(map); if (_5x._W32 == _xC) { _96(map, "filename", ""); _96(map, "url", _5x._T32); _96(map, "result", _5x._lC); _96(map, "http_status", _5x._pC); _96(map, "response_headers", _5x._qC) } else if (_5x._W32 == _Ov) { _96(map, "username", _5x._Av); _96(map, "password", _5x._Bv); _96(map, "url", ""); _96(map, "result", _5x._Ev); _96(map, "value", _5x.value); _96(map, "http_status", 0) } else { _96(map, "url", ""); _96(map, "result", ""); _96(map, "http_status", 0); _96(map, "filename", _5x._T32) } _96(map, "id", _5x._U32); _96(map, "status", _5x._Gv); if (_5x._W32 == _J32) _cy._vL(_zR1, 0); else if (_5x._W32 == _K32) _cy._vL(_zR1, 0); else if (_5x._W32 == _L32) _cy._vL(_zR1, 0); else if (_5x._W32 == _M32) _cy._vL(_AR1, 0); else if (_5x._W32 == _xC) _cy._vL(_BR1, 0); else if (_5x._W32 == _Ov) _cy._vL(_CR1, 0); this._Hn._Qn(_u2); if (_5x._W32 == _xC) { _Pn(_5x._qC) } } } } _Pn(map); _O7._uL = -1 }; function _Yo() { this.__type = "[Background]"; this._m1 = ""; this._n1 = !1; this._o1 = !1; this.preload = !1; this._0p = null } function _Z32(__32) { var _cM = new _Yo(); _cM._m1 = __32._m1; if (__32._n1 != undefined) _cM._n1 = __32._n1; if (__32._o1 != undefined) _cM._o1 = __32._o1; if (__32.preload != undefined) _cM.preload = __32.preload; _cM._0p = _042(__32._t1); return _cM } function _142(__32) { this._am(); if (__32._F2 != undefined) this._F2 = __32._F2; if (__32._242 != undefined) this._242 = __32._242; if (__32.index != undefined) this.index = __32.index; if (__32._w2 != undefined) this._w2 = __32._w2; if (__32._x2 != undefined) this._x2 = __32._x2; if (__32._I4 != undefined) this._342 = __32._I4; if (__32._J4 != undefined) this._442 = __32._J4; if (__32._ub != undefined) this._542 = __32._ub; if (__32._tb != undefined) this._642 = __32._tb; if (__32._742 != undefined) this._742 = __32._742; if (__32.alpha != undefined) this.alpha = __32.alpha; if (__32._c22 != undefined) this._c22 = __32._c22 } _142.prototype._am = function() { this._F2 = !1; this._242 = !1; this.index = -1; this._w2 = 0; this._x2 = 0; this._342 = !0; this._442 = !0; this._542 = 0; this._642 = 0; this._842 = 1; this._942 = 1; this._742 = !1; this.alpha = 1.0; this._c22 = 0xffffff }; function _s02() { this._a42 = []; this._b42 = [] } _s02.prototype._bp = function(_IL) { return this._a42[_IL] }; _s02.prototype._hn = function(_IL) { return this._b42[_IL] }; _s02.prototype._am = function() { this._b42 = [] }; _s02.prototype._A12 = function(__32) { var _c42 = null; if (__32 != null) { _c42 = _Z32(__32) } return this._2p(_c42); }; _s02.prototype._2p = function(_d42) { var _u2 = this._a42.length; this._a42[_u2] = _d42; return _u2 }; _s02.prototype._yn = function(__32) { var _c42 = null; if (__32 != null) { _c42 = new _142(__32) } this._b42[this._b42.length] = _c42 }; var _e42 = -1, _f42 = -2, _g42 = -3, _h42 = -4, _i42 = -5; var _j42 = 0, _k42 = 1, _l42 = 2, _m42 = 3, _n42 = 4; var _o42 = 0, _p42 = 1, _q42 = 2, _r42 = 3, _s42 = 4, _8C1 = 5, _aC1 = 6, _t42 = 7, _9C1 = 8, _u42 = 9, _v42 = 10, _w42 = 11; var _cC1 = 0, _x42 = 1, _y42 = 2; function _Wp1(_Cj) { var _k2 = 1; while (_k2 <= 1024) { if (_Cj <= _k2) return _k2; _k2 = _k2 << 1 } return 1024 } function _z42(_Cj, _Pj, _A42) { _A42 = _Wp1(_A42 & 0x1ff); this._B42 = _Cj + _A42; this._W32 = _Pj; this._C42 = _Cj; this._D42 = _A42; this._E42 = 0; this._5C1 = 0; this._F42 = new ArrayBuffer(_Cj); this._G42 = new DataView(this._F42) } _z42.prototype._H42 = function(_1u1) { var _I42 = new ArrayBuffer(_1u1); var _J42 = new Uint8Array(this._F42); var _K42 = new Uint8Array(_I42); _K42.set(_J42); this._F42 = _I42; this._G42 = new DataView(this._F42); this._C42 = _1u1 }; _z42.prototype._L42 = function() { this._E42 = (this._E42 + this._C42) % this._D42 }; function _M42(_Pj) { var _N42 = 0; switch (_Pj) { case _v42: case _p42: case _q42: _N42 = 1; break; case _r42: case _s42: _N42 = 2; break; case _aC1: case _8C1: case _9C1: _N42 = 4; break; case _u42: _N42 = 8; break } return _N42 } _z42.prototype._O42 = function(_P42, _Cj) { if (this._C42 == 0) return; if (_Cj < 0) _Cj = this._C42; if (this._W32 == _l42) { while (_P42 < 0) _P42 += this._C42; while (_P42 >= this._C42) _P42 -= this._C42 } else { if (_P42 < 0) _P42 = 0; if (_P42 >= this._C42) _P42 = this._C42 - 1; if ((_P42 + _Cj) > this._C42) _Cj = this._C42 - _P42 } if (_Cj > this._C42 - _P42) { return "" } else { var _XC = String.fromCharCode.apply(null, new Uint8Array(this._F42, _P42, _Cj)); return _Q42(_XC, _Cj) } }; _z42.prototype._7C1 = function(_Pj, _qy) { var _k2 = 0; this._5C1 = (((this._5C1 + this._E42) + (this._D42 - 1)) & ~(this._D42 - 1)) - this._E42; if (this._5C1 >= this._C42 && this._W32 == _l42) { while (this._5C1 >= this._C42) { this._L42(); this._5C1 -= this._C42 } } if ((this._5C1 >= this._C42) && (this._W32 != _k42)) { return _f42 } var _N42 = _M42(_Pj); if (_Pj == _w42) { _N42 = (_qy.length + 1) * 2; } if ((this._5C1 + _N42) > this._C42) { if (this._W32 == _k42) { var _R42 = this._C42; var _1u1 = this._C42; while ((this._5C1 + _N42) > _1u1) { _1u1 = (_1u1 << 1) } this._H42(_1u1) } else { if (this._W32 != _l42) { return _f42 } } } switch (_Pj) { case _v42: if (_qy == !0) { _qy = 1 } else { _qy = 0 } case _p42: { this._G42.setUint8(this._5C1, _qy); this._5C1++ } break; case _w42: { var _u2 = 0; for (_u2 = 0; _u2 < _qy.length; _u2++) { var _S42 = _qy.charCodeAt(_u2); this._G42.setUint16(this._5C1, _S42, !0); this._5C1 += 2 } this._G42.setUint16(this._5C1, '\0', !0); this._5C1 += 2 } break; case _q42: this._G42.setInt8(this._5C1, _qy); this._5C1++; break; case _r42: this._G42.setUint16(this._5C1, _qy, !0); this._5C1 += 2; break; case _s42: this._G42.setInt16(this._5C1, _qy, !0); this._5C1 += 2; break; case _aC1: this._G42.setInt32(this._5C1, _qy, !0); this._5C1 += 4; break; case _8C1: this._G42.setUint32(this._5C1, _qy, !0); this._5C1 += 4; break; case _9C1: this._G42.setFloat32(this._5C1, _qy, !0); this._5C1 += 4; break; case _u42: this._G42.setFloat64(this._5C1, _qy, !0); this._5C1 += 8; break } }; _z42.prototype._T42 = function(_Pj, _P42, _qy) { if (_P42 < 0) return; var _k2 = _M42(_Pj); if (this._W32 != _l42) { if (_P42 > (this._C42 - _k2)) return 0 } else { while (_P42 >= this._C42) { _P42 -= this._C42 } } switch (_Pj) { case _v42: if (_qy == !0) { _qy = 1; } else { _qy = 0 } case _p42: { this._G42.setUint8(_P42, _qy) } break; case _q42: this._G42.setInt8(_P42, _qy); break; case _r42: this._G42.setUint16(_P42, _qy, !0); break; case _s42: this._G42.setInt16(_P42, _qy, !0); break; case _aC1: this._G42.setInt32(_P42, _qy, !0); break; case _8C1: this._G42.setUint32(_P42, _qy, !0); break; case _9C1: this._G42.setFloat32(_P42, _qy, !0); break; case _u42: this._G42.setFloat64(_P42, _qy, !0); break } }; _z42.prototype._bC1 = function(_U42, _P42) { switch (_U42) { case _cC1: this._5C1 = _P42; break; case _x42: this._5C1 += _P42; break; case _y42: this._5C1 = this._C42 - _P42; break } return this._5C1 }; _V42 = function() { __h("vertex_create_buffer") }; _W42 = function(_k2) { __h("vertex_create_buffer_ext") }; _X42 = function(buffer) { __h("vertex_delete_buffer") }; _Y42 = function(buffer, _tG1) { __h("vertex_begin") }; _Z42 = function(buffer) { __h("vertex_end") }; __42 = function(buffer, _w2, _x2) { __h("vertex_position") }; _052 = function(buffer, _w2, _x2, _ei) { __h("vertex_position_3d") }; _152 = function(buffer, _Dg, alpha) { __h("vertex_colour") }; _252 = function(buffer, _uf, _Vg, _xf, _Wg) { __h("vertex_rgba") }; _352 = function(buffer, _uf, _Vg, _xf, _Wg) { __h("vertex_argb") }; _452 = function(buffer, _6h, _8h) { __h("vertex_texcoord") }; _552 = function(buffer, _w2, _x2, _ei) { __h("vertex_normal") }; _652 = function(buffer, _w2) { __h("vertex_float1") }; _752 = function(buffer, _w2, _x2) { __h("vertex_float2") }; _852 = function(buffer, _w2, _x2, _ei) { __h("vertex_float3") }; _952 = function(buffer, _w2, _x2, _ei, _y2) { __h("vertex_float4") }; _a52 = function(buffer, _w2, _x2, _ei, _y2) { __h("vertex_ubyte4") }; _b52 = function(buffer) { __h("vertex_freeze") }; _c52 = function(buffer) { __h("vertex_submit") }; var _d52 = 8 * 1024; var _e52 = []; function _f52() { _V42 = _g52; _W42 = _h52; _X42 = _i52; _Y42 = _j52; _Z42 = _k52; __42 = _l52; _052 = _m52; _152 = _n52; _252 = _o52; _352 = _p52; _452 = _q52; _552 = _r52; _652 = _s52; _752 = _t52; _852 = _u52; _952 = _v52; _a52 = _w52; _b52 = _x52; _c52 = _y52 } function _g52() { return _W42(_d52) } function _h52(_Cj) { var _z52 = new _Bj(_Cj); var _A52 = _e52.length; for (var _u2 = 0; _u2 < _e52; _u2++) { if ((_e52[_u2] === null) || (_e52[_u2] === undefined)) { _A52 = _u2; break } } _e52[_A52] = _z52; return _A52 } function _i52(_uN) { _e52[_uN] = null } function _j52(_uN, _1o1) { _e52[_uN]._2k(_1o1) } function _k52(_uN) { _e52[_uN]._4k() } function _l52(_uN, _w2, _x2) { _e52[_uN]._5k(_w2, _x2) } function _m52(_uN, _w2, _x2, _ei) { _e52[_uN]._8k(_w2, _x2, _ei) } function _n52(_uN, _Dg, alpha) { _e52[_uN]._ak(_Dg, alpha) } function _o52(_uN, _fk) { _e52[_uN]._ek(_fk) } function _p52(_uN, _hk) { _e52[_uN]._gk(_hk) } function _q52(_uN, _6h, _8h) { _e52[_uN]._ik(_6h, _8h) } function _r52(_uN, _w2, _x2, _ei) { _e52[_uN]._kk(_w2, _x2, _ei) } function _s52(_uN, _w2) { _e52[_uN]._mk(_w2) } function _t52(_uN, _w2, _x2) { _e52[_uN]._ok(_w2, _x2) } function _u52(_uN, _w2, _x2, _ei) { _e52[_uN]._pk(_w2, _x2, _ei) } function _v52(_uN, _w2, _x2, _ei, _y2) { _e52[_uN]._qk(_w2, _x2, _ei, _y2) } function _w52(_uN, _w2, _x2, _ei, _y2) { _e52[_uN]._sk(_w2, _x2, _ei, _y2) } function _x52(_uN) { var _z52 = _e52[_uN]; if (_z52) { _z52._uk() } } function _y52(_uN, _zk, _Ak) { var _jj, _z52 = _e52[_uN]; if (_z52) { _z52._yk(_Zi(_zk), _Ak) } } function _l02() { this.__type = "[BuiltIn]"; this._B52 = 0; this._u12 = 0; this._v12 = 0; this._C52 = 0; this._D52 = 0; this._E52 = 0; this._F52 = 0; this._G52 = 100; this._f12 = 0; this._k12 = "/"; this._H52 = "/"; this._I52 = "/"; this._J52 = 0; this._K52 = 0; this._J9 = 0; this._P7 = 0; this._L52 = "room"; this._M52 = 30; this._N52 = !1; this._O52 = 0x00000000; this._P52 = !1; this._Q52 = !1; this._R52 = !1; this._S52 = 0; this._T52 = 0; this._U52 = 0; this._V52 = 0; this._W52 = 0; this._X52 = 0; this._Y52 = 0; this._Z52 = 1.0; this.__52 = 1.0; this._062 = 0; this._162 = 0; this._262 = 0; this._362 = 1.0; this._462 = !1; this._562 = 0; this._662 = 0; this._w8 = 0; this._y8 = 0; this._x8 = 0; this._U9 = 0; this._762 = 0; this._862 = 0; this._962 = 0; this._a62 = 0; this._b62 = 0; this._c62 = 0; this._d62 = 0; this._e62 = 0; this._f62 = 0; this._g62 = 0; this._v9 = 0; this._w9 = 0; this._h62 = 0; this._i62 = 0; this._j62 = 0; this._k62 = 0; this._l62 = ""; this._m62 = ""; this._m12 = !1; this._n62 = !1; this._o62 = !1; this._p62 = !1; this._q62 = "score"; this._r62 = "lives"; this._s62 = "health"; this._t62 = 0; this._u62 = 0; this._v62 = 0; this._w62 = 0; this._x62 = 0; this._y62 = 0; this._z62 = 0; this._A62 = 0; this._B62 = 0; this._C62 = 0; this._D62 = 0; this._822 = 0; this._E62 = 0; this._F62 = 0; this._G62 = !0; this._H62 = !0; this._I62 = 8.2; this._uL = -1; this._2E = -1; this._J62 = !1; this._K62 = -1; this._662 = []; this._w8 = []; this._y8 = []; this._x8 = []; this._U9 = []; this._762 = []; this._862 = []; this._962 = []; this._a62 = []; this._b62 = []; this._c62 = []; this._d62 = []; this._e62 = []; this._f62 = []; this._g62 = []; this._L62 = []; this._Q52 = []; this._R52 = []; this._S52 = []; this._T52 = []; this._U52 = []; this._V52 = []; this._W52 = []; this._X52 = []; this._Y52 = []; this._Z52 = []; this.__52 = []; this._062 = []; this._162 = []; this._262 = []; this._362 = [] } _l02.prototype._la = function() { return _ke._lm }; _l02.prototype._ea = function() { return _M62() }; _l02.prototype._fa = function() { return _N62() }; _l02.prototype._ma = function() { return _uQ1 }; _l02.prototype._ga = function() { return _ke.id }; _l02.prototype._ha = function(_en) { return _ke._O62((_en > 0.5) ? !0 : !1) }; _l02.prototype._9n = function(_P62) { for (var _8h = 0; _8h < _P62.length; _8h++) { var _yA = _P62[_8h]; this[_8h] = _yA } }; function _Ux() { this.__type = "[Font]"; this._Vx = !1; this._Q62 = !1; this._m1 = ""; this._Wx = ""; this._k2 = 12; this.bold = !1; this._l2 = !1; this._m2 = 32; this._n2 = 127; this.__x = ""; this.prop = !1; this._R62 = 0; this._S62 = null; this.antialias = 0; this._o2 = 0; this._He = 1; this._Ie = 1; this._t2 = null; this._0p = null; this._T62 = null; } _Ux.prototype._U62 = function(__32) { this._m1 = __32._m1; this._Wx = __32._p2; this._k2 = __32._k2; this.bold = __32.bold; this._l2 = __32._l2; this._m2 = __32._m2 & 0xffff; this._Vx = !1; this.antialias = 0; this._o2 = 0; if (((__32._m2 >> 16) & 0xff) !== 0) this._o2 = (__32._m2 >> 16) & 0xff; if (((__32._m2 >> 24) & 0xff) !== 0) this.antialias = ((__32._m2 >> 24) & 0xff) - 1; this._n2 = __32._n2; this._He = __32._r2; this._Ie = __32._s2; this._t2 = []; var _1w = 99999999; var _sf = -99999999; var maxHeight = 0; for (var _V62 = 0; _V62 < __32._t2.length; _V62++) { var index = -2; _W62 = __32._t2[_V62]; if (_W62._v2 != undefined) index = _W62._v2.charCodeAt(0); else if (_W62._u2 != undefined) index = _W62._u2; this._t2[index] = _W62; if (index < _1w) _1w = index; if (index > _sf) _sf = index; if (_W62._z2 > maxHeight) maxHeight = _W62._z2 } this._X62 = maxHeight; this._m2 = _1w; this._n2 = _sf; this._0p = _042(__32._q2) }; _Ux.prototype._Y62 = function() { var height = 0; for (var _df = 0; _df < this._T62._RL.length; _df++) { var _Zo = this._T62._RL[_df]; height = _tf(height, _Zo._T4) } this._k2 = height }; _Ux.prototype._Z62 = function(_cx) { if ((this._S62 != null) && (this._S62 != undefined)) { var _9o = ""; for (var _u2 = 0; _u2 < _cx.length; _u2++) { if (_cx.charAt(_u2) === '\n') { _9o = _9o + _cx.charAt(_u2) } else { var __62 = this._S62.indexOf(_cx.charAt(_u2)); if ((__62 >= 0) && (__62 < this._S62.length)) { _9o = _9o + String.fromCharCode(this._m2 + __62) } } } return _9o } return _cx }; _Ux.prototype._072 = function(_cx) { if ((!_cx) || (0 === _cx.length)) return 0; if (this._Vx) { return this._k2 } else { return this._X62 } }; _Ux.prototype._172 = function(_cx) { if ((!_cx) || (0 === _cx.length)) return 0; var _9o = this._Z62(_272(_cx)); var _ZG1 = _9o.split('\n'); if (this._Vx) { if (this._Q62) { var _zA = 0; for (var _u2 = 0; _u2 < _ZG1.length; _u2++) { var _372 = 0; var _pG1 = _ZG1[_u2]; for (var _Bf = 0; _Bf < _pG1.length; _Bf++) { _372 += this._472(_9o.charCodeAt(_Bf)) } _zA = _tf(_zA, _372) } return _zA } else { var _zA = 0; _9h.font = this.__x; for (var _u2 = 0; _u2 < _ZG1.length; _u2++) { var _TO1 = _9h.measureText(_ZG1[_u2]); _zA = _tf(_zA, _TO1.width) } return _zA } } else { var _zA = 0; for (var _u2 = 0; _u2 < _ZG1.length; _u2++) { var _372 = 0; var _pG1 = _ZG1[_u2]; for (var _Bf = 0; _Bf < _pG1.length; _Bf++) { var _v2 = _pG1.charCodeAt(_Bf); var _W62 = this._t2[_v2]; if (!_W62) { _W62 = this._t2[this._m2] } _372 += _W62.shift } _zA = _tf(_zA, _372) } return _zA } }; _Ux.prototype._472 = function(_xR) { if (this._Vx) { if (this._Q62) { var _zA = this._R62; if ((_xR >= this._m2) && (_xR < this._n2)) { var _Zo = this._T62._RL[_xR - this._m2]; if (this.prop) { _zA += _Zo._Q4 } else { _zA += _Zo._S4 } } else if (_xR === 32) { _zA += this._572 } return _zA } else { _9h.font = this.__x; if (_9h.measureText) { var _TO1 = _9h.measureText(String.fromCharCode(_xR)); return _TO1.width; } return 0 } } var _W62 = this._t2[_xR]; if (_W62) { return _W62.shift } else if (0x20 >= this._m2 && 0x20 <= this._n2) { return this._t2[0x20].shift } else { return this._t2[this._m2].shift } }; _Ux.prototype._672 = function(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) { var _872; var _972 = this._0p; if (!_972._hg.complete) return; var _bv = _772.length; _uj = _uj & 0xffffff | ((_fj * 255) << 24); for (var _u2 = 0; _u2 < _bv; _u2++) { _xR = _772.charCodeAt(_u2); var _W62 = this._t2[_xR]; if (!_W62) _W62 = this._t2[0x20]; var _Ag = _W62._w2; var _Bg = _W62._x2; var _iB = _W62._y2; var _kB = _W62._z2; if (Math.abs(_Ce) < 0.001) { _9h._QL(_972, _Ag + _972._w2, _Bg + _972._x2, _iB, _kB, _ye + (_W62._A2 * _fr), _ze, _iB * this._He * _fr, _kB * this._Ie * _gr, _uj) } else { _9h._QL(_972, _Ag + _972._w2, _Bg + _972._x2, _iB, _kB, _ye + (_W62._A2 * _fr), _ze, _iB, _kB, _uj) } _ye += _fr * this._472(_xR) } }; _Ux.prototype._a72 = function(_ye, _ze, _Ce) { var _6u = new _Ws(); _6u._0u(-_ye, -_ze, 0); var _bu = new _Ws(); _bu._4u(_Ce); var _HS = new _Ws(); _HS._9u(_6u, _bu); _6u._0u(_ye, _ze, 0); var _b72 = new _Ws(); _b72._9u(_HS, _6u); return _b72 }; _Ux.prototype._c72 = function(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) { if (this._Vx) { this._672(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) } var _872; var _972 = this._0p; if (!_972._hg.complete) return; var _bv = _772.length; _uj = _uj & 0xffffff | ((_fj * 255) << 24); var _3B = _uj, _4B = _uj, _d72 = _uj, _e72 = _uj; if (_f72) { _3B &= 0xfffefffe; _4B &= 0xfffefffe; _d72 &= 0xfffefffe; _e72 &= 0xfffefffe; _4B |= 0x00010000; _d72 |= 0x00000001; _e72 |= 0x00010001 } var _Eh, _Mh, _Oh, _Qh; if (!_972._hg._Bh) _Ch(_972); var _g72; if (Math.abs(_Ce) > 0.001) { _g72 = _8u(__t); _Zt(__t, this._a72(_ye, _ze, _Ce)) } var _Dh = _bv * 6; _Eh = _3g._Fh(_Gh._Hh, _972._hg._Bh, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _Dh; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _r2, _s2; var _s2 = this._Ie * _gr; if (Math.abs(_Ce) < 0.001) { _r2 = this._He * _fr; _s2 = this._Ie * _gr } else { _r2 = 1; _s2 = 1 } for (var _u2 = 0; _u2 < _bv; _u2++) { _xR = _772.charCodeAt(_u2); var _W62 = this._t2[_xR]; if (!_W62) _W62 = this._t2[0x20]; var _Ag = _W62._w2; var _Bg = _W62._x2; var _iB = _W62._y2; var _kB = _W62._z2; var _tK1 = _Ag + _972._w2; var _uK1 = _Bg + _972._x2; var _w2 = _ye + (_W62._A2 * _fr); var _y2 = _iB * _r2; var _z2 = _kB * _s2; _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _w2; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _ze; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _w2 + _y2; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _ze + _z2; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = (_tK1 + 0.0) / _972._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = (_uK1 + 0.0) / _972._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = ((_tK1 + _iB) + 0.0) / _972._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = ((_uK1 + _kB) + 0.0) / _972._hg.height; _Oh[_Sh] = _Oh[_Xh] = _3B; _Oh[_Th] = _4B; _Oh[_Uh] = _Oh[_Vh] = _d72; _Oh[_Wh] = _e72; _Sh += (_Jh * 6); _Th += (_Jh * 6); _Uh += (_Jh * 6); _Vh += (_Jh * 6); _Wh += (_Jh * 6); _Xh += (_Jh * 6); _ye += _fr * _W62.shift } if (_g72 != undefined) { _Zt(__t, _g72) } }; _Ux.prototype._h72 = function(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) { var _872; var _972 = _ig[this._0p._U4]; if (!_972.complete) return; _9h.globalAlpha = _fj; var _bv = _772.length; _uj = _uj & 0xffffff; if (_uj != 0xffffff) { _872 = _ch(this._0p, _uj) } _Ce = ___1(_Ce); if (Math.abs(_Ce) > 0.001) { _i72(_ye, _ze, this._He * _fr, this._He * _gr, -_Ce); _ye = 0; _ze = 0 } _ye = ~~ (_ye + 0.5); _ze = ~~ (_ze + 0.5); for (var _u2 = 0; _u2 < _bv; _u2++) { _xR = _772.charCodeAt(_u2); var _W62 = this._t2[_xR]; if (!_W62) { _W62 = this._t2[0x20] } var _Ag = _W62._w2; var _Bg = _W62._x2; var _iB = _W62._y2; var _kB = _W62._z2; if (_iB == 99999) { continue } if ((_uj != 0xffffff) && (_872 != null)) { if (Math.abs(_Ce) < 0.001) { _9h._QL(_872, _Ag, _Bg, _iB, _kB, _ye + (_W62._A2 * _fr), _ze, _iB * this._He * _fr, _kB * this._Ie * _gr) } else { _9h._QL(_872, _Ag, _Bg, _iB, _kB, _ye + _W62._A2, _ze, _iB, _kB) } } else { if (Math.abs(_Ce) < 0.001) { _9h._QL(_972, _Ag + this._0p._w2, _Bg + this._0p._x2, _iB, _kB, _ye + (_W62._A2 * _fr), _ze, _iB * this._He * _fr, _kB * this._Ie * _gr) } else { _9h._QL(_972, _Ag + this._0p._w2, _Bg + this._0p._x2, _iB, _kB, _ye + _W62._A2, _ze, _iB, _kB) } } if (Math.abs(_Ce) < 0.001) { _ye += _fr * this._472(_xR) } else { _ye += this._472(_xR) } } if (Math.abs(_Ce) > 0.001) _j72() }; _Ux.prototype._k72 = function(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) { if (this._T62 == null) return; _9h.globalAlpha = _fj; var _bv = _772.length; _uj = _uj & 0xffffff; var _Dg = _uj | (_cj * 255) << 24; _Ce = ___1(_Ce); var _Xf = Math.sin(_Ce); var _Yf = Math.cos(_Ce); var _l72 = _Xf * _fr; var _m72 = _Yf * _fr; var _n72 = this._He * _fr; var _o72 = this._Ie * _gr; for (var _u2 = 0; _u2 < _bv; _u2++) { _xR = _772.charCodeAt(_u2); if (_xR < this._m2 || _xR >= this._n2) {} else { var _w2 = _ye; var _x2 = _ze; var _Zo = this._T62._RL[_xR - this._m2]; var _972 = _ig[_Zo._U4]; if (_972.complete) { var _TB = _Zo._O4; var _UB = _Zo._P4; if (this.prop) _TB = 0; if (_uj != 0xffffff) { var _872; if (!_3g) { _872 = _ch(_Zo, _uj) } else { _872 = _Zo } if (Math.abs(_Ce) < 0.001) { _9h._QL(_872, 0, 0, _Zo._Q4, _Zo._R4, _w2 + (_TB * _n72), _x2 + (_UB * _o72), _Zo._Q4 * _n72, _Zo._R4 * _o72) } else { _i72(_w2, _x2, _n72, _o72, -_Ce); _9h._QL(_872, 0, 0, _Zo._Q4, _Zo._R4, _TB, _UB, _Zo._Q4, _Zo._R4); _j72() } } else { if (_3g) { _972 = _Zo } if (Math.abs(_Ce) < 0.001) { _9h._QL(_972, _Zo._w2, _Zo._x2, _Zo._y2, _Zo._z2, _w2 + (_TB * _n72), _x2 + (_UB * _o72), _Zo._Q4 * _n72, _Zo._R4 * _o72) } else { _i72(_w2, _x2, _n72, _o72, -_Ce); _9h._QL(_972, _Zo._w2, _Zo._x2, _Zo._y2, _Zo._z2, _TB, _UB, _Zo._Q4, _Zo._R4); _j72() } } } } var shift = this._472(_xR); _ye = _ye + _m72 * shift; _ze = _ze - _l72 * shift } }; _Ux.prototype._p72 = function(_ye, _ze, _772, _fr, _gr, _Ce, _uj, _fj) { if (this._T62 == null) return; _9h.globalAlpha = _fj; var _bv = _772.length; _uj = _uj & 0xffffff; var _Dg = _uj | (_cj * 255) << 24; _Ce = ___1(_Ce); var _Xf = Math.sin(_Ce); var _Yf = Math.cos(_Ce); var _l72 = _Xf * _fr; var _m72 = _Yf * _fr; var _n72 = this._He * _fr; var _o72 = this._Ie * _gr; for (var _u2 = 0; _u2 < _bv; _u2++) { _xR = _772.charCodeAt(_u2); if (_xR < this._m2 || _xR > this._n2) {} else { var _w2 = _ye; var _x2 = _ze; var _Zo = this._T62._RL[_xR - this._m2]; var _972 = _ig[_Zo._U4]; if (_972.complete) { var _TB = _Zo._O4; var _UB = _Zo._P4; if (this.prop) _TB = 0; if (Math.abs(_Ce) < 0.001) { _9h._QL(_Zo, _Zo._w2, _Zo._x2, _Zo._y2, _Zo._z2, _w2 + (_TB * _n72), _x2 + (_UB * _o72), _Zo._Q4 * _n72, _Zo._R4 * _o72, _Dg) } else { _i72(_w2, _x2, _n72, _o72, -_Ce); _9h._QL(_Zo, _Zo._w2, _Zo._x2, _Zo._y2, _Zo._z2, _TB, _UB, _Zo._Q4, _Zo._R4, _Dg); _j72() } } } var shift = this._472(_xR); _ye = _ye + _m72 * shift; _ze = _ze - _l72 * shift } }; function _u02() { this._j2 = []; this.length = 0; this._q72 = null; this._vx = 0; this._tx = 0; this._sx = 0; var _Tx = _Nx("Arial", 12, !1, !1, 32, 127, !1); this._j2[-1] = _Tx; _ZZ1 = -1; this._vx = _ZZ1 } _u02.prototype._am = function() { this._j2 = []; length = 0 }; _u02.prototype._yn = function(__32) { var _Tx = null; if (__32 != null) { _Tx = new _Ux(); _Tx._U62(__32) } this._j2[this._j2.length] = _Tx; return this._j2.length - 1 }; _u02.prototype._1y = function(_r72) { this._j2[this._j2.length] = _r72; return this._j2.length - 1 }; _u02.prototype._s72 = function() { if (this._vx >= 0 && this._vx <= this._j2.length && this._j2[this._vx] != null) { this._q72 = this._j2[this._vx] } else { this._q72 = this._j2[-1] } }; _u02.prototype._hn = function(_dn) { if (_dn >= 0 && _dn <= this._j2.length && this._j2[_dn]) { return this._j2[_dn] } return null }; function _272(_9o) { if (_9o == null) return 0; var _t72 = _9o; var _8k1 = ""; var _u2 = 0; var _H_ = 0; while (_H_ < _t72.length) { var _ov = _t72[_H_]; if (_ov == '#') { if ((_u2 > 0) && (_t72[_H_ - 1] == '\\')) { _8k1 = _8k1.substring(0, _8k1.length - 1) + '#' } else { _8k1 += String.fromCharCode(0x0a); _u2++ } } else { _8k1 += _ov; _u2++ } _H_++ } return _8k1 } _u02.prototype._nv = function(_772, _u72, _q72) { if (_772 == null) return; if (_u72 < 0) _u72 = 10000000; var _v72 = _q72 ? _q72._Z62(" ") : " "; var _9v = String.fromCharCode(0x0a); _lv = []; var _w72 = 0; _772 = _272(_772); var _bv = _772.length; var _Xo = _772; var start = 0; var end = 0; while (start < _bv) { var _x72 = 0; if (_u72 == 10000000) { while (end < _bv && _Xo[end] != _9v) { end++ } _lv[_w72++] = _Xo.substring(start, end) } else { while (end < _bv) { if (_Xo[end] != _v72) break; end++ } while (end < _bv && _x72 < _u72) { _v2 = _Xo[end]; if (_v2 == _9v) break; _x72 += this._q72._472(_v2.charCodeAt(0)); end++ } if (_x72 > _u72) { end--; _x72 -= this._q72._472(_Xo.charCodeAt(end)) } if (_Xo[end] == _9v) { _lv[_w72++] = _Xo.substring(start, end) } else { if (end == start) return _lv; if (end != _bv) { if ((_Xo[end] != _v72) || (_Xo[end] != _v72 && _Xo[end + 1] != _v72)) { while (end > start) { if (_Xo[--end] == _v72) break } } } if (end > start) { while (_Xo[end - 1] == _v72) { end-- } } else if (end == start) { while (_Xo[end] != _v72 && end < _bv) { end++ } } _lv[_w72++] = _Xo.substring(start, end) } } start = ++end } return _lv }; _u02.prototype._wx = function(_cx, _w2, _x2, _y72, _u72, _Ce, _fr, _gr) { var _842 = _fr; var _942 = _gr; var _z72 = 0.0; var _A72 = 0.0; var _lv = []; var _u2 = 0; this._s72(); var _q72 = this._q72; var _9o = _q72._Z62(_cx); _lv = this._nv(_9o, _u72, _q72); var _B72 = ___1(_Ce); var _Xf = Math.sin(_B72); var _Yf = Math.cos(_B72); if (_y72 < 0) { _y72 = _q72 ? _q72._072('M') : 20; } var _C72 = _Xf * _942 * _y72; var _D72 = _Yf * _942 * _y72; if (this._tx == 1) { _x2 = _x2 - Math.round((_lv.length * _D72) / 2.0); _w2 = _w2 - Math.round((_lv.length * _C72) / 2.0) } if (this._tx == 2) { _x2 = _x2 - Math.round(_lv.length * _D72); _w2 = _w2 - Math.round(_lv.length * _C72) } if (!_q72) { _9h.fillStyle = _BA; _9h.globalAlpha = _cj; for (_u2 = 0; _u2 <= _lv.length - 1; _u2++) { var _E72 = _lv[_u2]; if (_E72 != null) { _9h.fillText(_E72, _w2, _x2 + 13); _x2 = _x2 + _D72; _w2 = _w2 + _C72 } } } else { for (_u2 = 0; _u2 <= _lv.length - 1; _u2++) { _z72 = 0; _A72 = 0; var _E72 = _lv[_u2]; if (_E72 != null) { if (this._sx == 1) _z72 = -(_842 * _q72._172(_E72) / 2); if (this._sx == 2) _z72 = -(_842 * _q72._172(_E72)); if (_q72._Q62) { _z72 -= (_842 * _q72._T62._p1); _A72 -= (_942 * _q72._T62._q1) } var _Cf = _w2 + (_Yf * _z72) + (_Xf * _A72); var _Ef = _x2 - (_Xf * _z72) + (_Yf * _A72); if (_q72._Vx) { if (_q72._Q62) { if (!_3g) { _q72._k72(_Cf, _Ef, _E72, _842, _942, _Ce, _dj, _cj) } else { _q72._p72(_Cf, _Ef, _E72, _842, _942, _Ce, _dj, _cj) } } else { if (_q72._Xx) { _F72(_q72.__x, _E72, _Cf, _Ef, 1, 1, _B72, _dj, _cj) } } } else { if (_3g) { _q72._c72(_Cf, _Ef, _E72, _842, _942, _Ce, _dj, _cj) } else { _q72._h72(_Cf, _Ef, _E72, _842, _942, _Ce, _dj, _cj) } } } _x2 = _x2 + _D72; _w2 = _w2 + _C72 } } }; var _G72; var _ig; var _H72 = null; var _fO = 1024; var _gO = 768; var _hO = 1; var _iO = 1; var __z = 0; var _0A = 0; var _1A = 0; var _2A = 0; var _I72 = 0; var _J72 = 0; var _K72 = 0; var _L72 = 0; var _M72 = []; var _N72 = 0; var _bh = 0xffffff; var _O72; var _P72; var _oN; var _pN; var _j72; var _Q72; var _i72; var _R72; function _S72() { return _fO } function _T72() { return _gO } function _OL(_U72) { if (!_U72) return; _U72._V72 = _U72.transform; _U72._Zz = _U72.setTransform; _U72._Xz = _U72.save; _U72._3A = _U72.restore; _U72._VA = _U72.fillRect; _U72._UA = _U72.strokeRect; _U72._9B = _U72.beginPath; _U72._2C = _U72.arc; _U72._dB = _U72.stroke; _U72._cB = _U72.closePath; _U72.lineWidth = _U72.lineWidth; _U72._aB = _U72.moveTo; _U72._bB = _U72.lineTo; _U72._rB = _U72.fill; _U72._QL = _U72.drawImage; _U72._vN = _U72.getImageData; _U72._W72 = _U72.createImageData; _U72._X72 = _U72.putImageData; _U72._Y72 = _U72.clip; _U72._Z72 = _U72.rect } function _n02(_bn1) { _ig = []; _H72 = null; __z = 0; _0A = 0; _1A = 0; _2A = 0; _I72 = 0; _J72 = 0; _K72 = 0; _L72 = 0; _M72 = []; _M72[0] = 1; _M72[1] = 0; _M72[2] = 0; _M72[3] = 0; _M72[4] = 1; _M72[5] = 0; if (!_3g) { if (_eQ1) { _O72 = __72 } else { _O72 = _082 } _P72 = _182; _282 = _382; _oN = _482; _pN = _582; _682 = _782; _j72 = _882; _Q72 = _982; _i72 = _a82; _R72 = _b82; _c82 = _d82; _e82 = _f82; _F72 = _g82; _h82 = _i82; _j82 = _k82; _l82 = _m82; _n82 = function() {}; _o82 = function() {}; if (_fQ1) { if (_eQ1) { _bh = 0x1ffffff; _O72 = _p82 } else { _O72 = _q82 } _P72 = _182; _282 = _r82 } } else { _s82() } _oN(0, 0, _7O, _8O); _pN(0, 0, _7O, _8O) } function _d82() { _9h._Xz() } function _f82() { _9h._3A() } function _5M(_gM) { _gM._eg = []; _gM._fg = 0; _gM._gg = 4; _gM._VM = 0; _gM._WM = null; _gM._ML = null; _gM._hg = _ig[_gM._U4] } function _x12(_t82) { _H72 = _t82; for (var _u2 = 0; _u2 < _t82.length; _u2++) { var _Zo = _t82[_u2]; _5M(_Zo) } } function _u82() { this._cM = null; this._v82 = 0 } function _ch(_gM, _ej) { var _w82 = _gM._eg[_ej]; if (_w82 != null) { _w82._v82 = _N72; return _w82._cM } var _x82 = -9999999999; _w82 = null; _y82 = -1; if (_gM._fg < _gM._gg) { _w82 = new _u82(); _gM._fg++ } else { for (var _u2 = 0; _u2 < _gM._eg.length; _u2++) { var _z82 = _gM._eg[_u2]; if (_z82 != null) { var _wf = _N72 - _z82._v82; if (_wf > _x82) { _y82 = _u2; _w82 = _z82; _x82 = _wf } } } } if (_y82 >= 0) _gM._eg[_y82] = null; _gM._eg[_ej] = _w82; _w82._v82 = _N72; _w82._cM = _A82(_gM, _ej); return _w82._cM } function _042(_IL) { return _H72[_IL] } function _882() { _9h._Zz(_M72[0], _M72[3], _M72[1], _M72[4], _M72[2], _M72[5]) } function _982(_uj) { _9h._Xz(); var _Yz = []; _Yz[0] = 1; _Yz[1] = 0; _Yz[2] = 0; _Yz[3] = 1; _Yz[4] = 0; _Yz[5] = 0; _9h._Zz(_Yz[0], _Yz[1], _Yz[2], _Yz[3], _Yz[4], _Yz[5]); _9h.fillStyle = _GA(_uj | 0xff000000); _9h._VA(__z, _0A, _1A, _2A); _9h._3A() } function _482(_7o1, _8o1, _9o1, _ao1) { __z = _7o1; _0A = _8o1; _1A = _9o1; _2A = _ao1 } function _B82(_ye, _ze, _6n, _7n, _Ce) { var _C82 = new _Xs((_ye + _6n / 2.0), (_ze + _7n / 2.0), -16000.0); var _D82 = new _Xs((_ye + _6n / 2.0), (_ze + _7n / 2.0), 0.0); var _E82 = new _Xs(Math.sin(-_Ce * (Math.PI / 180.0)), Math.cos(-_Ce * (Math.PI / 180.0)), 0.0); _kZ1.__s(_C82, _D82, _E82); _jZ1._ct(_6n, -_7n * _6t, 1.0, 32000.0) } function _a82(_ye, _ze, _QN, _RN, _Ce) { var _Yz = []; _Yz[0] = Math.cos(_Ce); _Yz[3] = Math.sin(_Ce); _Yz[1] = -_Yz[3]; _Yz[4] = _Yz[0]; _Yz[0] *= _QN; _Yz[3] *= _QN; _Yz[1] *= _RN; _Yz[4] *= _RN; _Yz[2] = _ye; _Yz[5] = _ze; _9h._V72(_Yz[0], _Yz[3], _Yz[1], _Yz[4], _Yz[2], _Yz[5]) } function _782(_F82, _G82, _H82, _I82) { if ((__z === 0 && _0A === 0) && (_1A == _9h.canvas.width && _2A === _9h.canvas.height)) {} else { _M72[0] = 1; _M72[1] = 0; _M72[2] = 0; _M72[3] = 1; _M72[4] = 0; _M72[5] = 0; _9h._Zz(_M72[0], _M72[1], _M72[2], _M72[3], _M72[4], _M72[5]); _9h.moveTo(__z, _0A); _9h.lineTo(__z + _1A, _0A); _9h.lineTo(__z + _1A, _0A + _2A); _9h.lineTo(__z, _0A + _2A); if (!(_KC == _rQ1 && _qP == 4.0)) { _9h.clip() } } _M72[0] = _F82; _M72[1] = 0; _M72[2] = _H82; _M72[3] = 0; _M72[4] = _G82; _M72[5] = _I82; _9h._Zz(_M72[0], _M72[3], _M72[1], _M72[4], _M72[2], _M72[5]) } function _582(_J82, _K82, _L82, _M82, _Ce) { if ((__z === 0 && _0A === 0) && (_1A == _9h.canvas.width && _2A === _9h.canvas.height)) {} else { _M72[0] = 1; _M72[1] = 0; _M72[2] = 0; _M72[3] = 1; _M72[4] = 0; _M72[5] = 0; _9h._Zz(_M72[0], _M72[1], _M72[2], _M72[3], _M72[4], _M72[5]); _9h.beginPath(); _9h.moveTo(__z, _0A); _9h.lineTo(__z + _1A, _0A); _9h.lineTo(__z + _1A, _0A + _2A); _9h.lineTo(__z, _0A + _2A); if (!(_KC == _rQ1 && _qP == 4.0)) { _9h.clip() } } var _y2 = _1A / _L82; var _z2 = _2A / _M82; _I72 = _J82; _J72 = _K82; _K72 = _L82; _L72 = _M82; _M72[0] = _y2; _M72[1] = 0; _M72[2] = -(_J82 * _y2) + __z; _M72[3] = 0; _M72[4] = _z2; _M72[5] = -(_K82 * _z2) + _0A; _9h._Zz(_M72[0], _M72[3], _M72[1], _M72[4], _M72[2], _M72[5]) } function _rg(_me) { var _u2 = _ig.length; var _hg = new Image(); _me = _5L(_me); _hg.src = _me; _ig[_u2] = _hg; return _u2 } function _N82(_bg, _cg) { var _v2 = document.createElement("canvas"); _v2.width = _bg; _v2.height = _cg; var _u2 = _ig.length; var _hg = new Image(_bg, _cg); _hg.src = _v2.toDataURL(); _ig[_u2] = _hg; return _u2 } function _O82(_Ak, _ye, _ze, _bn1) { var context = _Ak.getContext('2d'); context.globalCompositeOperation = 'copy'; context.drawImage(_bn1, _ye, _ze) } function _SL(_P82) { var _u2 = _ig.length; _ig[_u2] = _P82; return _u2 } function _i82() { _N72++ } function _k82() {} function _dM(_gM) { var _ML = document.createElement(_rv); var _Vo = _ML.getContext('2d'); _OL(_Vo); _ML.width = _gM._y2; _ML.height = _gM._z2; _Vo._QL(_gM._hg, _gM._w2, _gM._x2, _gM._y2, _gM._z2, 0, 0, _gM._y2, _gM._z2); _ML.complete = !0; return _ML } function _nM(_gM) { var _ML = document.createElement(_rv); var _Vo = _ML.getContext('2d'); _OL(_Vo); var _kM = []; var _4G = _gM._S4 * _gM._T4 * 4; for (var _u2 = 0; _u2 < _4G; _u2++) _kM[_u2] = 0; _ML.width = _gM._y2; _ML.height = _gM._z2; _Vo._QL(_gM._hg, _gM._w2, _gM._x2, _gM._y2, _gM._z2, 0, 0, _gM._y2, _gM._z2); _ML.complete = !0; var data, _wN, _Q82, _R82; try { data = _Vo.getImageData(0, 0, _gM._y2, _gM._z2) } catch (_0L) { return _kM } _S82 = data.data; var _T82 = (_gM._O4 + (_gM._P4 * _gM._S4)) * 4; for (_x2 = 0; _x2 < _gM._z2; _x2++) { var _U82 = _T82; var _V82 = (_x2 * data.width) * 4; var _Uf = _gM._y2 * 4; for (_w2 = 0; _w2 < _Uf; _w2++) { _kM[_U82++] = _S82[_V82++] } _T82 += _gM._S4 * 4 } return _kM } function __72(_gM, _ye, _ze, _fj) { if (!_gM._hg) return; if (!_gM._hg.complete) return; if (_gM._ML == null) _gM._ML = _dM(_gM); _ye += _gM._O4; _ze += _gM._P4; _9h.globalAlpha = _fj; _9h._QL(_gM._ML, ~~_ye, ~~_ze) } function _p82(_gM, _ye, _ze, _fj) { __72(_gM, _ye, _ze, _fj) } function _082(_gM, _ye, _ze, _fj) { if (!_gM._hg) return; if (!_gM._hg.complete) return; _9h.globalAlpha = _fj; _9h._QL(_gM._hg, ~~_gM._w2, ~~_gM._x2, _gM._y2, _gM._z2, Math.floor(_ye) + _gM._O4, Math.floor(_ze) + _gM._P4, _gM._Q4, _gM._R4) } function _q82(_gM, _ye, _ze, _fj) { _082(_gM, _ye, _ze, _fj) } function _W82(_bn1) { try { _9h._QL(_bn1, 0, 0, _bn1.width, _bn1.height, canvas.width, canvas.height, 0, 0) } catch (e) { return !1 } var _kh = _bn1.getContext('2d'); _kh.fillStyle = "white"; _kh.fillRect(0, 0, 1, 1); var _X82 = _kh.getImageData(0, 0, 1, 1); return (_X82.data[0] === 255) } function _182(_gM, _ye, _ze, _Y82, _Z82, __82, _092, _uj, _fj) { var _du1 = _gM._hg; if (!_du1) return; if (!_du1.complete) return; if (_gM._y2 == 0 || _gM._z2 == 0) return; var _u2 = 0; if (__82) _u2 = 1; if (_092) _u2 |= 2; if (_u2 === 0) { _9h.globalAlpha = _fj; _9h._QL(_du1, _gM._w2, _gM._x2, _gM._y2, _gM._z2, _ye + _gM._O4, _ze + _gM._P4, (_gM._Q4 * _Y82), (_gM._R4 * _Z82)); return } var _y2 = _gM._S4; var _z2 = _gM._T4; if (_092) { _y2 = (((((_dN._gN + (_gM._S4 - 1)) / _gM._S4) & 0xffffffff) + 2) * _gM._S4); _ye = _I72 + (((_ye - _I72) % _gM._S4) - _gM._S4) } if (__82) { _z2 = (((((_dN._hN + (_gM._T4 - 1)) / _gM._T4) & 0xffffffff) + 2) * _gM._T4); _ze = _J72 + (((_ze - _J72) % _gM._T4) - _gM._T4) } if ((_gM._WM != null) && (_gM._WM.width < (_y2 * _gM._192) || _gM._WM.height < (_z2 * _gM._192))) { _gM._WM = null; _gM._292 = 0 } if ((_gM._VM != _u2) || (!_gM._WM)) { _gM._VM = _u2; var buffer = document.createElement(_rv); var _Vo = buffer.getContext('2d'); _OL(_Vo); try { buffer.width = _y2; buffer.height = _z2; _9h.globalAlpha = 1; var _392 = 1; while ((_W82(buffer) === !1) && (buffer.width >= 64) && (buffer.height >= 64)) { debug("WARNING: Tiled image quality reduction"); buffer.width /= 2; buffer.height /= 2; _392 /= 2 } var _492 = _gM._w2; var _592 = _gM._x2; if (_uj != _bh) { _du1 = _ch(_gM, _uj); _492 = 0; _592 = 0 } var _IZ = _y2 / _gM._S4; var _JZ = _z2 / _gM._T4; for (var _x2 = 0; _x2 < _JZ; _x2++) { for (var _w2 = 0; _w2 < _IZ; _w2++) { _Vo._QL(_du1, _492, _592, _gM._y2, _gM._z2, _gM._O4 + ((_w2 * _gM._S4) * _392), _gM._P4 + ((_x2 * _gM._T4) * _392), _gM._Q4 * _392, _gM._R4 * _392); } } _gM._192 = _392 } catch (e) { alert("Tiled image failed " + e.message) } _gM._WM = buffer } _9h.globalAlpha = _fj; _9h._QL(_gM._WM, _ye, _ze, _gM._WM.width / _gM._192, _gM._WM.height / _gM._192) } function _382(_gM, _VL, _WL, _ye, _ze, _Y82, _Z82, _WN, _oy, _py, _ZA, __A, _fj) { if (!_gM._hg) return; if (!_gM._hg.complete) return; if ((abs(_Y82) <= 0.0001) || (abs(_Z82) <= 0.0001) || (_fj <= 0)) { return } _oy &= 0xffffff; var _TB = -(_VL - _gM._O4); var _UB = -(_WL - _gM._P4); _9h.globalAlpha = _fj; if (_oy != _bh) { var _872 = _ch(_gM, _oy); var _uf = Math.abs(_WN); if ((_uf < 0.0001) && (_Y82 == 1) && (_Z82 == 1) && (_gM._y2 === _gM._Q4) && (_gM._z2 === _gM._R4)) { _9h._QL(_872, _ye + _TB, _ze + _UB) } else { if ((_Y82 < 0) || (_Z82 < 0) || (_uf > 0.0001)) { _i72(_ye, _ze, _Y82, _Z82, -_WN); _9h._QL(_872, 0, 0, _gM._y2, _gM._z2, _TB, _UB, _gM._Q4, _gM._R4); _j72() } else { _9h._QL(_872, 0, 0, _gM._y2, _gM._z2, _ye + (_TB * _Y82), _ze + (_UB * _Z82), _gM._Q4 * _Y82, _gM._R4 * _Z82) } } } else { var _uf = Math.abs(_WN); if ((_uf < 0.0001) && (_Y82 == 1) && (_Z82 == 1) && (_gM._y2 === _gM._Q4) && (_gM._z2 === _gM._R4)) { if (_gM._ML == null) { _gM._ML = _dM(_gM) } _9h._QL(_gM._ML, _ye + _TB, _ze + _UB) } else { if (_Y82 < 0 || _Z82 < 0 || _uf > 0.001) { _i72(_ye, _ze, _Y82, _Z82, -_WN); _9h._QL(_gM._hg, _gM._w2, _gM._x2, _gM._y2, _gM._z2, _TB, _UB, _gM._Q4, _gM._R4); _j72() } else { _9h._QL(_gM._hg, _gM._w2, _gM._x2, _gM._y2, _gM._z2, _ye + (_TB * _Y82), _ze + (_UB * _Z82), _gM._Q4 * _Y82, _gM._R4 * _Z82) } } } } function _r82(_gM, _VL, _WL, _ye, _ze, _Y82, _Z82, _WN, _oy, _py, _ZA, __A, _fj) { try { _382(_gM._hg, _VL, _WL, _ye, _ze, _Y82, _Z82, _WN, _oy, _py, _ZA, __A, _fj) } catch (_0L) { debug("error drawing image") } } function _A82(_gM, _uj) { var buffer = document.createElement(_rv); var _Vo = buffer.getContext('2d'); _OL(_Vo); buffer.width = _gM._y2; buffer.height = _gM._z2; _Vo._QL(_gM._hg, _gM._w2, _gM._x2, _gM._y2, _gM._z2, 0, 0, _gM._y2, _gM._z2); if (~~_uj != 0xffffff) { var data, _wN, _Q82, _R82; try { data = _Vo._vN(0, 0, buffer.width, buffer.height) } catch (_0L) { return buffer } _wN = data.data; _692 = _Vo._W72(buffer.width, buffer.height); _R82 = _692.data; var _uf = ((_uj >> 16) & 0xff) / 255; var _Vg = ((_uj >> 8) & 0xff) / 255; var _xf = (_uj & 0xff) / 255; var _x72 = (data.height * data.width * 4); for (var _u2 = _x72 - 4; _u2 >= 0; _u2 -= 4) { _R82[_u2] = (_wN[_u2] * _uf) | 0; _R82[_u2 + 1] = (_wN[_u2 + 1] * _Vg) | 0; _R82[_u2 + 2] = (_wN[_u2 + 2] * _xf) | 0; _R82[_u2 + 3] = (_wN[_u2 + 3]) } _692.data = _R82; _Vo._X72(_692, 0, 0) } return buffer } function _792(_gM, _Mf, _Nf, _8f, _9f, _pB, _qB, _892, _992, _fj) { var _du1 = _gM._hg; if (!_du1) return; if (!_du1.complete) return; _9h.globalAlpha = _fj; _a92(_du1, _Mf, _Nf, _8f, _9f, _pB, _qB, _gM._w2, _gM._x2, _gM._w2 + _gM._y2, _gM._x2, _gM._w2 + _gM._y2, _gM._x2 + _gM._z2); _a92(_du1, _pB, _qB, _892, _992, _Mf, _Nf, _gM._w2 + _gM._y2, _gM._x2 + _gM._z2, _gM._w2, _gM._x2 + _gM._z2, _gM._w2, _gM._x2) } function _a92(_lh, _mh, _nh, _hf, _if, _jf, _kf, _oh, _ph, _qh, _rh, _sh, _th) { _9h._Xz(); _9h._9B(); _9h._aB(_mh, _nh); _9h._bB(_hf, _if); _9h._bB(_jf, _kf); _9h._cB(); _9h._Y72(); var _uh = _oh * (_th - _rh) - _qh * _th + _sh * _rh + (_qh - _sh) * _ph; if (_uh == 0) return; var _vh = -(_ph * (_jf - _hf) - _rh * _jf + _th * _hf + (_rh - _th) * _mh) / _uh; var _wh = (_rh * _kf + _ph * (_if - _kf) - _th * _if + (_th - _rh) * _nh) / _uh; var _xh = (_oh * (_jf - _hf) - _qh * _jf + _sh * _hf + (_qh - _sh) * _mh) / _uh; var _yh = -(_qh * _kf + _oh * (_if - _kf) - _sh * _if + (_sh - _qh) * _nh) / _uh; var _zh = (_oh * (_th * _hf - _rh * _jf) + _ph * (_qh * _jf - _sh * _hf) + (_sh * _rh - _qh * _th) * _mh) / _uh; var _Ah = (_oh * (_th * _if - _rh * _kf) + _ph * (_qh * _kf - _sh * _if) + (_sh * _rh - _qh * _th) * _nh) / _uh; _9h._V72(_vh, _wh, _xh, _yh, _zh, _Ah); _9h._QL(_lh, 0, 0); _9h._3A() } function _b82(_gM, _SF, _TF, _bg, _cg, _ye, _ze, _fr, _gr, _LN, _fj) { if (!_gM) return; if (!_gM._hg) return; if (!_gM._hg.complete) return; _LN &= 0xffffff; _9h.globalAlpha = _fj; if (_SF < _gM._O4) { var _b92 = _gM._O4 - _SF; _ye += _b92; _bg -= _b92; _SF = 0 } else { _SF -= _gM._O4 } if (_TF < _gM._P4) { var _b92 = _gM._P4 - _TF; _ze += _b92; _cg -= _b92; _TF = 0 } else { _TF -= _gM._P4 } if (_bg > (_gM._Q4 - _SF)) _bg = _gM._Q4 - _SF; if (_cg > (_gM._R4 - _TF)) _cg = _gM._R4 - _TF; if (_bg <= 0 || _cg <= 0) return; _ye = ~~_ye; _ze = ~~_ze; if (_LN != _bh) { var _872 = _ch(_gM, _LN); if (_fr < 0 || _gr < 0) { _i72(_ye, _ze, _fr, _gr, 0); _9h._QL(_872, _SF, _TF, _bg, _cg, 0, 0, _bg, _cg); _j72() } else { _9h._QL(_872, _SF, _TF, _bg, _cg, _ye, _ze, _bg * _fr, _cg * _gr) } } else { if (_fr < 0 || _gr < 0) { _i72(_ye, _ze, _fr, _gr, 0); _9h._QL(_gM._hg, _SF + _gM._w2, _TF + _gM._x2, _bg, _cg, 0, 0, _bg, _cg); _j72() } else { _9h._QL(_gM._hg, _SF + _gM._w2, _TF + _gM._x2, _bg, _cg, _ye, _ze, _bg * _fr, _cg * _gr) } } } function _IN(_gM, _ye, _ze, _6n, _7n, _LN, _fj) { if (!_gM) return; if (!_gM._hg) return; if (!_gM._hg.complete) return; _ye = ~~_ye; _ze = ~~_ze; var _492 = _6n / _gM._S4; var _592 = _7n / _gM._T4; _282(_gM, 0, 0, _ye, _ze, _492, _592, 0, _LN, _LN, _LN, _LN, _fj) } function _g82(_ux, _cx, _ye, _ze, _fr, _gr, _Ce, _uj, _fj) { _9h.globalAlpha = _fj; _9h.fillStyle = _8p(_uj, 1.0); _9h.font = _ux; _9h.textBaseline = "top"; _i72(_ye, _ze, _fr, _gr, -_Ce); _9h.fillText(_cx, 0, 0); _j72() } function _Wo(_c92, _6n, _7n) { try { var data, _wN, _Q82, _R82; data = _c92._vN(0, 0, _6n, _7n); _wN = _R82 = data.data; var _d92 = (_7n - 1) * _6n * 4; var _uf = _wN[_d92 + 0]; var _Vg = _wN[_d92 + 1]; var _xf = _wN[_d92 + 2]; var _Wg = _wN[_d92 + 3]; var _x72 = (data.height * data.width * 4); for (var _u2 = _x72 - 4; _u2 >= 0; _u2 -= 4) { _R82[_u2 + 0] = _wN[_u2 + 0]; _R82[_u2 + 1] = _wN[_u2 + 1]; _R82[_u2 + 2] = _wN[_u2 + 2]; if ((_R82[_u2 + 0] == _uf) && (_R82[_u2 + 1] == _Vg) && (_R82[_u2 + 2] == _xf)) { _R82[_u2 + 3] = 0x0 } else { _R82[_u2 + 3] = _wN[_u2 + 3] } } _c92._X72(data, 0, 0) } catch (_0L) { return !1 } return !0 } function _m82(_ev) {} var _e92 = 0, _f92 = 0; function _cE(_g92) { this._h92 = !1; this._i92 = []; this._j92 = _g92; this._k92 = ""; this._l92 = 0; this._m92 = 0 } function _bE(_n92, _o92) { var _5x = _gy(_n92, _o92); _p92 = new _cE(_n92); _p92._k92 = _5x; _p92._q92(); var _fg = 0; for (var _u2 in _p92._i92) { if (!_p92._i92.hasOwnProperty(_u2)) continue; _fg++; break } if (_fg == 0) return null; return _p92 } _cE.prototype._1x = function() { while ((this._k92.charCodeAt(this._l92) != 0x0a) && (this._k92.charCodeAt(this._l92) != 0x0d) && (this._l92 < this._C42)) { this._l92++ } this._m92++; this._l92++; if (this._l92 >= this._C42) return; if ((this._k92.charCodeAt(this._l92) == 0x0a) && (this._k92.charCodeAt(this._l92) == 0x0d)) { this._l92++; } }; _cE.prototype._r92 = function() { with(this) { if (this._l92 >= _C42) return !1; var _v2 = _k92.charCodeAt(_l92); if (_v2 == 0x20 || _v2 == 0x09 || _v2 == 0x0a || _v2 == 0x0d || _v2 == _tM('#') || _v2 == _tM(';')) { return !0 } else { return !1 } } }; _cE.prototype._2x = function() { with(this) { while (_r92() && (_l92 < _C42)) { var _v2 = _k92.charCodeAt(_l92); if (_v2 == '#' || _v2 == ';') { _1x() } else if (_v2 == 0x0a) { _m92++ } _l92++ } if (_l92 >= _C42) return } }; _cE.prototype._s92 = function() { with(this) { _2x(); while ((_k92.charAt(_l92) != '[') && (_l92 < _C42)) { _l92++ } if (_l92 >= _C42) return null; _l92++; var _t92 = _l92; while ((_k92.charAt(_l92) != ']') && (_l92 < _C42)) { _l92++ } if (_l92 >= _C42) return null; var _bv = _l92 - _t92; var _u92 = []; _u92._v92 = _k92.substr(_t92, _bv); _l92++; return _u92 } }; _cE.prototype._w92 = function(_x92) { with(this) { _2x(); if (_l92 >= _C42 || _k92.charAt(_l92) == '[') return !1; var _t92 = _l92; var _y92 = -1; while ((_k92.charAt(_l92) != '=') && (_l92 < _C42)) { if (_r92()) { if (_y92 < 0) _y92 = _l92 } else { _y92 = -1 } _l92++ } if (_l92 >= _C42) return !1; if (_y92 < 0) _y92 = _l92; var _bv = _y92 - _t92; var _2Q = _k92.substr(_t92, _bv); while ((_k92.charAt(_l92) != '=') && (_l92 < _C42)) { _l92++ } if (_l92 >= _C42) return !1; _l92++; var _pG1 = _m92; _2x(); if (_pG1 != _m92) return !1; var _z92 = _tM('#'); var _A92 = _tM(';'); var _B92 = !1; var _Yf = _k92.charCodeAt(_l92); if (_Yf == _tM('"')) { _z92 = _tM('"'); _A92 = _tM('"'); _B92 = !0; _l92++ } else if (_Yf == _tM('\'')) { _z92 = _tM('\''); _A92 = _tM('\''); _B92 = !0; _l92++ } _t92 = _l92; var _C92 = -1; var _v2 = _k92.charCodeAt(_l92); while ((_v2 != 0x0a) && (_v2 != 0x0d) && (_v2 != _z92) && (_v2 != _A92) && (_l92 < _C42)) { if (_v2 == 0x20 || _v2 == 0x09) { if (_C92 < 0) _C92 = _l92 } else { _C92 = -1 } if (_v2 == _tM('\\')) _l92++; _l92++; _v2 = _k92.charCodeAt(_l92); } if (_C92 >= 0) { _bv = _C92 - _t92 } else { _bv = _l92 - _t92 } var _D92 = _k92.substr(_t92, _bv); _x92[_2Q] = _D92; if (_B92) { _Yf = _k92.charCodeAt(_l92); if ((_Yf == _z92) && (_Yf == _A92)) { while ((_k92.charCodeAt(_l92) != 0x0a) && (_k92.charCodeAt(_l92) != 0x0d) && (_l92 < _C42)) { _l92++ } } } return !0 } }; _cE.prototype._q92 = function() { with(this) { if (_k92 == null) return !1; _C42 = _k92.length; _l92 = 0; _m92 = 0; var _u92 = _s92(); if (_u92 == null) { _k92 = null; return !1 } _i92[_u92._v92] = _u92; while (_l92 < _C42) { var _z41 = _w92(_u92); if (!_z41) { if (_l92 < _C42) { if (_k92.charAt(_l92) == '[') { _u92 = _s92(); if (_u92 == null) { _k92 = null; return !0 } _i92[_u92._v92] = _u92 } } } } _k92 = null; return !0 } }; _cE.prototype._E92 = function(_F92, _G92) { with(this) { var _u92 = _i92[_F92]; if (_u92 != null && _u92 != undefined) { var _D92 = _u92[_G92]; if (_D92 != undefined) return _D92 } return null } }; _cE.prototype._gE = function(_F92, _G92, _fE) { with(this) { var _2Q = _E92(_F92, _G92); if (_2Q != null) { return parseFloat(_2Q) } else { return parseFloat(_fE) } } }; _cE.prototype._hE = function(_F92, _G92, _H92) { this._h92 = !0; var _u92 = this._i92[_F92]; if (_u92 == null || _u92 == undefined) { _u92 = []; _u92._v92 = _F92; this._i92[_u92._v92] = _u92 } _u92[_G92] = _H92; return !0 }; _cE.prototype._dE = function() { var _5x = ""; var _9v = _2w(0x0d) + _2w(0x0a); for (var _I92 in this._i92) { if (!this._i92.hasOwnProperty(_I92)) continue; _5x = _5x + "[" + _I92 + "]" + _9v; var _u92 = this._i92[_I92]; for (var _OC in _u92) { if (!_u92.hasOwnProperty(_OC)) continue; if (_OC != "__m_pIniFileName__") { var _D92 = _u92[_OC]; _5x = _5x + _OC + "=" + _D92 + _9v } } } if (this._h92) { _7x(this._j92, _5x); this._h92 = !1 } return _5x }; function _5L(_n92) { if (_n92.substring(0, 5) == "file:") return _n92; if ((_n92.substring(0, 7) == "http://") || (_n92.substring(0, 8) == "https://")) return _n92; if (_n92.substring(0, _sg.length) == _sg) return _n92; return _sg + _n92 } function _J92(_n92) { if (_n92.substring(0, 5) == "file:") return !1; if (_n92.substring(0, 4) == "ftp:") return !1; if (_n92.substring(0, 7) == "gopher:") return !1; if (_n92.substring(0, 7) == "mailto:") return !1; if (_n92.substring(0, 5) == "news:") return !1; if (_n92.substring(0, 5) == "nntp:") return !1; if (_n92.substring(0, 7) == "telnet:") return !1; if (_n92.substring(0, 5) == "wais:") return !1; if (_n92.substring(0, 5) == "news:") return !1; if (_n92.substring(1, 1) == ":") return !1; return !0 } function _K92(_uC) { try { var _L92 = new XMLHttpRequest(); _L92.open('HEAD', _uC, !1); _L92.send(); _f92 = _L92.status; var _M92 = (_L92.status != 404 && _L92.status != 0); if (_uQ1 == _EQ1 && _L92.responseText.length > 0) { _M92 = !0 } return _M92 } catch (e) { return !1 } } function _N92(_xM1, _zM1) { try { var _xt = !window.XMLHttpRequest ? new ActiveXObject('Microsoft.XMLHTTP') : new XMLHttpRequest(); _xt.open(_zM1 ? 'PUT' : 'GET', _xM1, !1); _xt.setRequestHeader('Content-Type', 'text/html'); if(_xM1 == "html5game/jjsav.ini"){ _f92 = 404; return "" }else{ _xt.send(_zM1 ? _zM1 : ''); _f92 = _xt.status; return _xt.responseText } } catch (e) { return null } } function _7x(_zv1, _jC) { if (_O92) { return !1 } else if ('localStorage' in window && window['localStorage'] !== null) { try { localStorage[_O7._l12 + _zv1] = _jC; return !0 } catch (_0L) { return !1 } } } function _gy(_n92, _o92) { var _5x = null; if (_n92.substring(0, 5) == "file:") return null; if (_o92) { if ((_n92.substring(0, 7) == "http://") || (_n92.substring(0, 8) == "https://")) return; if (_O92) { return null } else if ('localStorage' in window && window['localStorage'] !== null) { try { _5x = localStorage[_O7._l12 + _n92]; } catch (_0L) { return null } if ((_5x == undefined) || (_5x == null)) return null } } else { if (!_J92(_n92)) return null; _n92 = _5L(_n92); _5x = _N92(_n92, !1); if ((_5x == null) || (_5x == undefined)) return null; if (_f92 == 404) return null } return _5x } function _fx(_n92, _o92) { var _5x = null; if (_n92.substring(0, 5) == "file:") return null; if (_o92) { if (_O92) { return !1 } else if ('localStorage' in window && window['localStorage'] !== null) { try { var name = _O7._l12 + _n92; if (localStorage[name] && (localStorage[name] != undefined)) return !0; return !1 } catch (_0L) { return !1 } } } else { if (!_J92(_n92)) return !1; _n92 = _5L(_n92); return _K92(_n92) } } var _P92 = new Array("StepEvent", "DrawEvent", "LeftButtonPressed", "RightButtonPressed", "NoButtonPressed"); var _Q92 = new _Yv(0, 0, 0, 0); var _R92 = null; var _S92 = -1; var _T92 = -1; function _R_1() {} function _U92(_V92, _W92, _dn, _X92, _Y92) { this.__type = "[instance]"; this._w2 = _V92; this._x2 = _W92; this._0O1 = _V92; this._1O1 = _W92; this._1a = _V92; this._2a = _W92; this._ub = 0; this._tb = 0; this._H9 = 0; this._Rc = 0; this._K51 = 0; this._sb = 0; this._rb = 270; this._eB1 = _X92; this.id = _dn; this._lE = !0; this._x6 = []; for (var _u2 = 0; _u2 <= (_HO1 - 1); _u2++) { this._x6[_u2] = -1 } this._bG = !0; this._F2 = !0; this._G2 = !1; this._H2 = 0; this._DE = new _Yv(0, 0, 0, 0); this._w6 = 0; this._G6 = 0; this._Z92 = 0; this.__92 = 0; this._0a2 = 0; this._1a2 = 0; this._2a2 = 0; this._U8 = 1.0; this._X8 = 1.0; this._Q9 = 0; this._H6 = 1.0; this._3a2 = 0xffffff; this._7b = 1; this._HN1 = -1; this._OA1 = -1; this._2O1 = 0; this._3O1 = 0; this._4a2 = 0; this._5a2 = 1; this._6a2 = 0; this._7a2 = 0; this._SH = 0; this._8a2 = 0; this._9a2 = 0; this._yO1 = -1; this._CO1 = 0; this._AO1 = 1; this._zO1 = !0; this._DO1 = !1; this._aa2 = -1; this._ba2 = !1; this._kE = !1; this._ca2 = null; this._da2 = !1; this._BE = !0; this._rO1 = !1; this._JE = null; this._ea2 = null; this._QA1 = null; this._fa2 = null; this._HE(_X92, _Y92, !0); this._IE(this._JE._KE) } _U92.prototype._h6 = function(_ye) { if (this._w2 === _ye) return; this._w2 = _ye; this._BE = !0 }; _U92.prototype._j6 = function(_ze) { if (this._x2 === _ze) return; this._x2 = _ze; this._BE = !0 }; _U92.prototype._qb = function(_ga2) { if (this._Q9 === _ga2) return; this._Q9 = _ga2; this._BE = !0 }; _U92.prototype._V8 = function(_4x1) { if (this._U8 === _4x1) return; this._U8 = _4x1; this._BE = !0 }; _U92.prototype._W8 = function(_4x1) { if (this._X8 === _4x1) return; this._X8 = _4x1; this._BE = !0 }; _U92.prototype._E6 = function(_dn) { this._w6 = _dn; this._BE = !0; this._ha2 = null }; _U92.prototype._F6 = function(_ia2) { var _vz = this._ja2(); if (_ia2 < 0) { _ia2 = _vz - _Z_1(Math.abs(_ia2), _vz) } else { _ia2 = _Z_1(Math.abs(_ia2), _vz) } this._G6 = _ia2 }; _U92.prototype._ja2 = function() { var _y12 = _JL._hn(this._w6); if (!_y12) return 0; if ((_y12._ka2 !== null) && (_y12._ka2 !== undefined)) { return _y12._ka2._wJ1 } return _y12._RL.length }; _U92.prototype._la2 = function(_Qp1) { if (this._H2 != _Qp1) { this._H2 = _Qp1; _ke._ma2[_ke._ma2.length] = this } }; _U92.prototype._5k = function(_na2, _m22) { if ((this._w2 == _na2) && (this._x2 == _m22)) return; this._w2 = _na2; this._x2 = _m22; this._BE = !0 }; _U92.prototype._HE = function(_FE, _oa2, _pa2) { this._eB1 = _FE; if (this._JE != null) { this._JE._qa2(this); this._JE = null; this._ea2 = null } if (_FE == -1) _FE = 0; this._ea2 = this._JE = _cy._hn(_FE); if (this._JE != null) { if (_oa2) { this._JE._ra2(this) } this._FN1 = this._JE._FN1; this._HN1 = this._JE._sa2; if (_pa2) { this._H2 = this._JE._ta2 } else { this._la2(this._JE._ta2) } this._bG = this._JE._ua2; this._F2 = this._JE._va2; this._G2 = this._JE._wa2; this._BE = !0 } }; _U92.prototype._IE = function(_IL) { var _y12 = _JL._hn(_IL); if (_y12) { this._DE.left = _y12._DE.left; this._DE._1f = _y12._DE._1f; this._DE.top = _y12._DE.top; this._DE.bottom = _y12._DE.bottom } this._w6 = _IL; this._ha2 = null; if (this._JE !== null) { this._Jg() } }; _U92.prototype._LE = function(_9J) { if (_9J && this._QA1) { _9J._EI._h71(this._QA1) } this._QA1 = null; if (this._JE._xa2._PA1) { this._ya2(); this._BE = !0 } }; _U92.prototype._ya2 = function() { if (!this._JE._xa2._PA1) { return } if (!_HL(this._w6)) { return } var _rM = _JL._hn(this._w6); if (!_ke._EI) { return } var _8I = _7I(); var _za2 = this._JE._xa2, _Aa2 = 0.0, _Ba2 = 0.0; switch (_za2._Ca2) { case _Da2: { var _Ea2 = 1.0; if (Math.abs(this._U8 - this._X8) < 0.0001) { _Ea2 = this._U8 } else { debug("Image scale for physics object using circle collision should not vary across axes: " + this._JE._Y02) } _Aa2 = -_za2._Fa2[0] * _Ea2; _Ba2 = -_za2._Fa2[1] * _Ea2; var _NU = _za2._Fa2[2] * _Ea2; _BI(_8I, _NU) } break; case _Ga2: case _Ha2: { _GI(_8I); if ((this._U8 * this._X8) < 0) { for (var _df = _za2._Fa2.length - 2; _df >= 0; _df -= 2) { _II(_8I, _za2._Fa2[_df + 0] * this._U8, _za2._Fa2[_df + 1] * this._X8) } } else { for (var _df = 0; _df < _za2._Fa2.length; _df += 2) { _II(_8I, _za2._Fa2[_df + 0] * this._U8, _za2._Fa2[_df + 1] * this._X8) } } } break } _wI(_8I, _za2._Ia2); _tI(_8I, _za2._Ja2); _qI(_8I, _za2._Ka2); _nI(_8I, _za2._La2); _eI(_8I, _za2._Ma2); _hI(_8I, _za2._Na2); if (_za2._Oa2 != undefined) { _kI(_8I, _za2._Oa2) } if (_za2._Pa2 != undefined) { _yI(_8I, _za2._Pa2) } if (_za2._Qa2 != undefined) { _aI(_8I, _za2._Qa2) } _VI(this, _8I, this.id, _Aa2, _Ba2) }; _U92.prototype._Ra2 = function() { with(this) { if (this._ub == 0) { if (this._tb > 0) { this._H9 = 270 } else if (this._tb < 0) { this._H9 = 90 } else { this._H9 = 0 } } else { var _MB = _Sa2(180 * (Math.atan2(this._tb, this._ub)) / _zf); if (_MB <= 0) { this._H9 = -_MB } else { this._H9 = 360.0 - _MB } } if (Math.abs(this._H9 - _sn(this._H9)) < 0.0001) { this._H9 = _sn(this._H9) } this._H9 = _Z_1(this._H9, 360.0); this._Rc = Math.sqrt(_st(this._ub) + _st(this._tb)); if (Math.abs(this._Rc - _sn(this._Rc)) < 0.0001) this._Rc = _sn(this._Rc) } }; _U92.prototype._Ta2 = function() { this._ub = this._Rc * _Sa2(Math.cos(this._H9 * 0.0174532925)); this._tb = -this._Rc * _Sa2(Math.sin(this._H9 * 0.0174532925)); if (Math.abs(this._ub - _sn(this._ub)) < 0.0001) { this._ub = _sn(this._ub) } if (Math.abs(this._tb - _sn(this._tb)) < 0.0001) { this._tb = _sn(this._tb) } }; function _Sa2(_Ua2) { return _MB = (~~(_Ua2 * 1000000)) / 1000000.0 } _U92.prototype._Va2 = function(_7F, _sA) { this._ub += _sA * _Sa2(Math.cos(_7F * 0.0174532925)); this._tb -= _sA * _Sa2(Math.sin(_7F * 0.0174532925)); this._Ra2(); }; _U92.prototype._Wa2 = function() { if (this._K51 != 0.0) { var _Xa2; if (this._Rc > 0) { _Xa2 = this._Rc - this._K51 } else { _Xa2 = this._Rc + this._K51 } if ((this._Rc > 0) && (_Xa2 < 0)) { this._Qc(0) } else if ((this._Rc < 0) && (_Xa2 > 0)) { this._Qc(0) } else if (this._Rc != 0) { this._Qc(_Xa2) } } if (this._sb != 0) { this._Va2(this._rb, this._sb) } }; _U92.prototype._Ya2 = function() { var _Za2 = this._Jg(); if (_Za2) { return _Za2._ie() } return _JL.__a2(this._w6) }; _U92.prototype._Se = function(_vw, _IL, _Ay, _0b2, _1b2) { if (_1b2 == undefined) { _1b2 = _Ay._JE } var _2b2 = _R92; var _3b2 = _S92; var _4b2 = _T92; var _Ev = !1; var _5b2 = !1; if (_vw == _dB1) { var _6b2 = _0b2._JE; while (_6b2 != null && !_5b2) { var _Wn = _1b2; while (_Wn != null && !_5b2) { if (_Wn._Iy[_vw]) { if (_Wn._812[_6b2._TE]) { _R92 = _Wn; _S92 = _vw; _T92 = _6b2._TE; _Ev = _Wn._Se(_vw, _6b2._TE, _Ay, _0b2); _5b2 = !0; break } } _Wn = _Wn._sv } _6b2 = _6b2._sv } var _Wn = _1b2; while (_Wn != null && !_5b2) { if (_Wn._812[_IL]) { _R92 = _Wn; _S92 = _vw; _T92 = _IL; _Ev = _Wn._Se(_vw, _IL, _Ay, _0b2); _5b2 = !0 } _Wn = _Wn._sv } } else { var _Wn = _1b2; var _7b2 = _vw | _IL; while (_Wn != null) { if (_Wn._Iy[_7b2]) { _R92 = _Wn; _S92 = _vw; _T92 = _IL; _Ev = _Wn._Se(_vw, _IL, _Ay, _0b2); break } _Wn = _Wn._sv } } _R92 = _2b2; _S92 = _3b2; _T92 = _4b2; return _Ev }; _U92.prototype._I7 = function(_en) { if (this._ub == _en) return; this._ub = _en; this._Ra2() }; _U92.prototype._K7 = function(_en) { if (this._tb == _en) return; this._tb = _en; this._Ra2() }; _U92.prototype._F9 = function(_en) { while (_en < 0.0) { _en += 360.0 } while (_en > 360.0) { _en -= 360.0 } this._H9 = _Z_1(_en, 360.0); this._Ta2() }; _U92.prototype._Qc = function(_en) { if (this._Rc == _en) return; this._Rc = _en; this._Ta2() }; _U92.prototype._CE = function() { var _rM, _wf; var _8b2 = (this._HN1 >= 0) ? this._HN1 : this._w6; if (_8b2 < 0 || _8b2 > _JL._l1.length) { if (!this._DE) { this._DE = new _Yv(0, 0, 0, 0) } this._DE.left = -100000; this._DE.top = -100000; this._DE._1f = -100000; this._DE.bottom = -100000; this._da2 = !1 } else { var _DE = this._DE; _rM = _JL._l1[_8b2]; if (this._Q9 == 0) { var _9b2 = _rM._DE; _DE.left = ((this._w2 + this._U8 * (_9b2.left - _rM._p1)) + 0.5) >> 0; _DE._1f = ((this._w2 + this._U8 * (_9b2._1f - _rM._p1 + 1)) + 0.5) >> 0; if (_DE.left > _DE._1f) { _wf = _DE.left; _DE.left = _DE._1f; _DE._1f = _wf } _DE.top = ((this._x2 + this._X8 * (_9b2.top - _rM._q1)) + 0.5) >> 0; _DE.bottom = ((this._x2 + this._X8 * (_9b2.bottom - _rM._q1 + 1)) + 0.5) >> 0; if (_DE.top > _DE.bottom) { _wf = _DE.top; _DE.top = _DE.bottom; _DE.bottom = _wf } _DE._1f -= 1; _DE.bottom -= 1; this._da2 = _rM._ab2(); } else { var _9b2 = _rM._DE; var _bb2, _cb2; _bb2 = this._U8 * (_9b2.left - _rM._p1); _cb2 = this._U8 * (_9b2._1f - _rM._p1 + 1); var _db2, _eb2; _db2 = this._X8 * (_9b2.top - _rM._q1); _eb2 = this._X8 * (_9b2.bottom - _rM._q1 + 1); var _Yf, _Xf; _Yf = Math.cos(this._Q9 * _zf / 180.0); _Xf = Math.sin(this._Q9 * _zf / 180.0); var _fb2 = _Yf * _cb2; var _gb2 = _Yf * _bb2; var _hb2 = _Xf * _eb2; var _ib2 = _Xf * _db2; var _wf; if (_fb2 < _gb2) { _wf = _gb2; _gb2 = _fb2; _fb2 = _wf } if (_hb2 < _ib2) { _wf = _ib2; _ib2 = _hb2; _hb2 = _wf } _DE.left = ((this._w2 + _gb2 + _ib2) + 0.5) >> 0; _DE._1f = ((this._w2 + _fb2 + _hb2) - 0.5) >> 0; var _jb2 = _Yf * _eb2; var _kb2 = _Yf * _db2; var _lb2 = _Xf * _cb2; var _mb2 = _Xf * _bb2; if (_jb2 < _kb2) { _wf = _kb2; _kb2 = _jb2; _jb2 = _wf } if (_lb2 < _mb2) { _wf = _mb2; _mb2 = _lb2; _lb2 = _wf } _DE.top = ((this._x2 + _kb2 - _lb2) + 0.5) >> 0; _DE.bottom = ((this._x2 + _jb2 - _mb2) - 0.5) >> 0; this._da2 = _rM._ab2() } this._DE = _DE } this._BE = !1 }; _U92.prototype._pO1 = function(_ye, _ze, _nb2) { if (this._kE) return !1; var _Za2 = this._Jg(); if (_Za2) { if (_Za2._Xe(this._DE, this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9)) { this._da2 = !0; this._BE = !1 } } if (this._BE) this._CE(); var _DE = this._DE; if (_ye >= _DE._1f + 1) return !1; if (_ye < _DE.left) return !1; if (_ze >= _DE.bottom + 1) return !1; if (_ze < _DE.top) return !1; if ((!_nb2) || (!this._da2)) return !0; var _zA = !1; if (_Za2) { _zA = _Za2._Lf(this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9, _ye, _ze) } else { var _aM; if (this._HN1 < 0) { _aM = _JL._hn(this._w6) } else { _aM = _JL._hn(this._HN1) } if ((_aM === null) || (_aM._qf === 0)) return !1; _zA = _aM._ob2(Math.floor(this._G6), _DE, _sn(this._w2), _sn(this._x2), this._U8, this._X8, this._Q9, _sn(_ye), _sn(_ze)) } return _zA }; _U92.prototype._pb2 = function(_Mf, _Nf, _8f, _9f, _nb2) { if (this._kE) return !1; var _Za2 = this._Jg(); if (_Za2) { if (_Za2._Xe(this._DE, this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9)) { this._da2 = !0; this._BE = !1 } } if (this._BE) this._CE(); var _DE = this._DE; if (_vf(_Mf, _8f) >= _DE._1f + 1) return !1; if (_tf(_Mf, _8f) < _DE.left) return !1; if (_vf(_Nf, _9f) >= _DE.bottom + 1) return !1; if (_tf(_Nf, _9f) < _DE.top) return !1; if ((!_nb2) || (!this._da2)) return !0; var _zA = !1; if (_Za2) { _zA = _Za2._Pf(this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9, _Mf, _Nf, _8f, _9f) } else { var _aM; if (this._HN1 < 0) { _aM = _JL._hn(this._w6) } else { _aM = _JL._hn(this._HN1) } if ((_aM === null) || (_aM._qf == 0)) return !1; _Q92.left = _sn(_vf(_Mf, _8f)); _Q92.top = _sn(_vf(_Nf, _9f)); _Q92._1f = _sn(_tf(_Mf, _8f)); _Q92.bottom = _sn(_tf(_Nf, _9f)); _zA = _aM._qb2(Math.floor(this._G6), _DE, _sn(this._w2), _sn(this._x2), this._U8, this._X8, this._Q9, _Q92) } return _zA }; _U92.prototype._rb2 = function(_iE, _sb2) { var _tb2 = this._Jg(); var _ub2 = _iE._Jg(); var _vb2 = _JL._hn(this._w6); if (_tb2._Xe(this._DE, this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9)) { this._BE = !1 } if (_ub2) { if (_ub2._Xe(_iE._DE, _iE._G6, _iE._w2, _iE._x2, _iE._U8, _iE._X8, _iE._Q9)) { _iE._BE = !1 } } if (this._BE) this._CE(); if (_iE._BE) _iE._CE(); if (_iE._DE.left >= this._DE._1f + 1) return !1; if (_iE._DE._1f + 1 <= this._DE.left) return !1; if (_iE._DE.top >= this._DE.bottom + 1) return !1; if (_iE._DE.bottom + 1 <= this._DE.top) return !1; var _vb2 = _JL._hn(this._w6); var _wb2 = (_iE._HN1 < 0) ? _JL._hn(_iE._w6) : _JL._hn(_iE._HN1); if (_wb2 === null) return !1; if (!_sb2 || (!this._da2 && !_iE._da2)) return !0; if (_ub2) { return _tb2._5f(this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9, _ub2, _iE._G6, _iE._w2, _iE._x2, _iE._U8, _iE._X8, _iE._Q9) } else { return _tb2._nf(this._G6, this._w2, this._x2, this._U8, this._X8, this._Q9, _wb2, _iE._DE, _iE._G6, _iE._w2, _iE._x2, _iE._U8, _iE._X8, _iE._Q9) } }; _U92.prototype._tE = function(_Ay, _nb2) { if (this != _Ay && !this._kE && !_Ay._kE) { if (this._Jg()) { return this._rb2(_Ay, _nb2) } if (_Ay._Jg()) { return _Ay._rb2(this, _nb2) } if (this._BE) this._CE(); if (_Ay._BE) _Ay._CE(); var _xb2 = _Ay._DE; var _yb2 = this._DE; if (_xb2.left >= (_yb2._1f + 1)) return !1; if ((_xb2._1f + 1) <= _yb2.left) return !1; if (_xb2.top >= (_yb2.bottom + 1)) return !1; if ((_xb2.bottom + 1) <= _yb2.top) return !1; if (!_nb2 || (!this._da2 && !_Ay._da2)) return !0; var _zb2 = null; var _Ab2 = null; if (this._HN1 < 0) { _zb2 = _JL._hn(this._w6) } else { _zb2 = _JL._hn(this._HN1) } if ((_zb2 == null) || (_zb2._qf == 0)) return !1; if (_Ay._HN1 < 0) { _Ab2 = _JL._hn(_Ay._w6) } else { _Ab2 = _JL._hn(_Ay._HN1) } if ((_Ab2 == null) || (_Ab2._qf == 0)) return !1; return _zb2._Bb2(this._G6 | 0, this._DE, _sn(this._w2), _sn(this._x2), this._U8, this._X8, this._Q9, _Ab2, _Ay._G6 | 0, _Ay._DE, _sn(_Ay._w2), _sn(_Ay._x2), _Ay._U8, _Ay._X8, _Ay._Q9); } return !1 }; _U92.prototype._TH = function(_xe, _KF, _4x1, _Cb2, _YH, _Db2) { this._OA1 = -1; if (_xe < 0) return; var _ZH = __H._A1[_xe]; if (!_ZH) return; if (_ZH.length <= 0) return; if (_4x1 < 0) return; this._OA1 = _xe; this._4a2 = _KF; if (this._4a2 >= 0) { this._2O1 = 0 } else { this._2O1 = 1 } this._3O1 = this._2O1; this._5a2 = _4x1; this._6a2 = _Cb2; this._SH = _Db2; if (_YH) { if (this._4a2 >= 0) { this._5k(_ZH._Eb2(0), _ZH._Fb2(0)) } else { this._5k(_ZH._Eb2(1), _ZH._Fb2(1)); } } this._8a2 = this._w2; this._9a2 = this._x2 }; _U92.prototype._RA1 = function() { var _zw, _Cf, _Ef; if (this._OA1 < 0) return !1; var _ZH = __H._A1[this._OA1]; if (!_ZH) return; if (_ZH.length <= 0) return; var _Gb2 = !1; var _Hb2 = this._6a2 * Math.PI / 180.0; var _Ib2 = _ZH._2I(this._2O1); _Cf = _Ib2._w2; _Ef = _Ib2._x2; _zw = _Ib2._Rc; _Ib2 = null; _zw = _zw / (100 * this._5a2); this._2O1 = this._2O1 + this._4a2 * _zw / _ZH.length; var _Jb2 = _ZH._2I(0); if ((this._2O1 >= 1) || (this._2O1 <= 0)) { _Gb2 = (this._4a2 == 0) ? !1 : !0; switch (this._SH) { case 0: { if (this._4a2 != 0) { this._2O1 = 1; this._OA1 = -1 } break } case 1: { if (this._2O1 < 0) { this._2O1++ } else { this._2O1-- } break } case 2: { var _Kb2 = _ZH._2I(1); _Cf = _Kb2._w2 - _Jb2._w2; _Ef = _Kb2._x2 - _Jb2._x2; var _Lb2 = this._5a2 * (_Cf * Math.cos(_Hb2) + _Ef * Math.sin(_Hb2)); var _Mb2 = this._5a2 * (_Ef * Math.cos(_Hb2) - _Cf * Math.sin(_Hb2)); if (this._2O1 < 0) { this._8a2 = this._8a2 - _Lb2; this._9a2 = this._9a2 - _Mb2; this._2O1++ } else { this._8a2 = this._8a2 + _Lb2; this._9a2 = this._9a2 + _Mb2; this._2O1-- } break } case 3: { if (this._2O1 < 0) { this._2O1 = -this._2O1; this._4a2 = Math.abs(this._4a2) } else { this._2O1 = 2 - this._2O1; this._4a2 = -Math.abs(this._4a2) } break } default: { this._2O1 = 1; this._OA1 = -1 } } } _Ib2 = _ZH._2I(this._2O1); _Cf = _Ib2._w2 - _Jb2._w2; _Ef = _Ib2._x2 - _Jb2._x2; var _GF = this._8a2 + this._5a2 * (_Cf * Math.cos(_Hb2) + _Ef * Math.sin(_Hb2)); var _HF = this._9a2 + this._5a2 * (_Ef * Math.cos(_Hb2) - _Cf * Math.sin(_Hb2)); this._I7(_GF - this._w2); this._K7(_HF - this._x2); this._Qc(0); this._5k(_GF, _HF); return _Gb2 }; _U92.prototype._PP = function(_IL) { var _zA = -1; if ((_IL >= 0) && (_IL < _HO1)) { _zA = this._x6[_IL] } return _zA }; _U92.prototype._Nb2 = function(_IL, _en) { if ((_IL >= 0) && (_IL < _HO1)) { this._x6[_IL] = _en } }; _U92.prototype._IN1 = function() { if (this._BE) { this._CE() } return this._DE }; _U92.prototype._Ob2 = function(_Pb2, _2B) { var _y2, _z2; if (!_HL(this._w6)) { _y2 = _z2 = 0 } else { var _aM = _JL._hn(this._w6); _y2 = _aM.width * this._U8; _z2 = _aM.height * this._X8 } if (_Pb2) { if ((this._ub < 0) && (this._w2 < 0)) { this._5k(this._w2 + _ke._sN1() + _y2, this._x2) } if ((this._ub > 0) && (this._w2 >= _ke._sN1())) { this._5k(this._w2 - _ke._sN1() - _y2, this._x2) } } if (_2B) { if ((this._tb < 0) && (this._x2 < 0)) { this._5k(this._w2, this._x2 + _ke._CX() + _z2) } if ((this._tb > 0) && (this._x2 >= _ke._CX())) { this._5k(this._w2, this._x2 - _ke._CX() - _z2) } } }; _U92.prototype._lB1 = function(_Ce, _Qb2) { var _Rb2 = {}; if ((_Qb2._w2 != 0.0) || (_Qb2._x2 != 0.0)) { var _8S = _Ce; var _Sb2 = Math.cos(_8S); var _Tb2 = Math.sin(_8S); _Rb2._w2 = ((_Qb2._w2 * _Sb2) - (_Qb2._x2 * _Tb2)); _Rb2._x2 = ((_Qb2._x2 * _Sb2) + (_Qb2._w2 * _Tb2)) } else { _Rb2._w2 = _Qb2._w2; _Rb2._x2 = _Qb2._x2 } return _Rb2 }; _U92.prototype._VA1 = function(_Ub2) { var _UA1 = 1.0 / _ke._EI._FI; var _kB1 = this._lB1(_Ub2._IT(), this._QA1._Iw1); this._w2 = (_Ub2._2I()._w2 * _UA1) + _kB1._w2; this._x2 = (_Ub2._2I()._x2 * _UA1) + _kB1._x2; this._Q9 = (-_Ub2._IT() * 180.0) / _zf; this._BE = !0; this._Vb2 = (_Ub2._IT() * 180.0) / Math.PI; this._Wb2 = this._w2; this._Xb2 = this._x2; this._Yb2 = (_Ub2._O41() * 180.0) / Math.PI; this._Zb2 = _Ub2._M41()._w2 * _UA1; this.__b2 = _Ub2._M41()._x2 * _UA1; this._0c2 = this._Zb2 / _ke._le(); this._1c2 = this.__b2 / _ke._le(); this._2c2 = _Ub2._m51(); this._3c2 = _Ub2._Y41(); this._4c2 = _Ub2._Z41(); this._5c2 = _Ub2._J41()._w2 * _UA1; this._6c2 = _Ub2._J41()._x2 * _UA1; this._7c2 = (_Ub2._fV === _Rv1._Sy1._541); this._8c2 = (_Ub2._fV === _Rv1._Sy1._d41); this._9c2 = !_Ub2._p51(); this._ac2 = _Ub2._t51(); this._bc2 = _Ub2._r51(); this._cc2 = Math.sqrt((this._0c2 * this._0c2) + (this._1c2 * this._1c2)); this._dc2 = _Ub2._b51(); this._ec2 = _Ub2._a51(); if (this._WA1 === undefined) { this._WA1 = _Ub2._2I()._w2 * _UA1 } if (this._XA1 === undefined) { this._XA1 = _Ub2._2I()._x2 * _UA1 } }; _U92.prototype._Jg = function() { if (_HL(this._w6)) { var _rM = _JL._hn(this._w6); if (_rM._fa2) { if (!this._ha2) { this._ha2 = new _Td(_rM._fa2) } } } return this._ha2 }; function _o02() { this._fc2 = new _vn(); this._fc2._wn = !0; this._gc2 = [] } _o02.prototype._am = function() { this._gc2 = []; this._fc2._am() }; _o02.prototype._aG = function() { return this._fc2._Hn }; _o02.prototype._yn = function(_jE) { this._gc2[_jE.id] = _jE; this._fc2._yn(_jE) }; _o02.prototype._202 = function(_dn) { return this._gc2[_dn] }; _o02.prototype._hn = function(_dn) { var _jE = this._gc2[_dn]; if (_jE != null) return _jE; var _Wn = _cy._hn(_dn); if (_Wn != null) { _jE = _Wn._dy._Hn[0]; if (_jE != null) return _jE } return null }; _o02.prototype._hc2 = function(_Ay) { this._fc2._H32(_Ay); var id = _Ay.id; this._gc2[id] = null }; _o02.prototype._ic2 = function() { var _Hn = _ke._AE._Hn; for (var index = 0; index < _Hn.length; index++) { var _jE = _Hn[index]; _jE._0O1 = _jE._w2; _jE._1O1 = _jE._x2; _jE._3O1 = _jE._2O1; } }; _o02.prototype._jc2 = function() { var _Hn = _ke._AE._Hn; for (var index = 0; index < _Hn.length; index++) { var _jE = _Hn[index]; _jE._Wa2(); if (_jE._RA1()) { _jE._Se(_SA1, 0, _jE, _jE) } if (_jE._ub !== 0 || _jE._tb !== 0) { _jE._w2 += _jE._ub; _jE._x2 += _jE._tb; _jE._BE = !0 } } }; _o02.prototype._kc2 = function() { var _Hn = _ke._AE._Hn; for (var index = 0; index < _Hn.length; index++) { var _jE = _Hn[index]; _jE._G6 += _jE._7b; var _vz = _jE._Ya2(); if (_jE._G6 >= _vz) { _jE._G6 -= _vz; var _JE = _jE._JE; if (_JE._FN1[_2R1]) { _jE._Se(_2R1, 0, _jE, _jE) } } } }; _o02.prototype._Se = function(_vw, _IL) { var _n31 = !0; if (_ke) { var _7b2 = _vw; if (_7b2 != _dB1) _7b2 |= _IL; var _Hn = _ke._AE._Hn; for (var index = 0; index < _Hn.length; index++) { var _jE = _Hn[index]; if (!_jE._kE) { var _JE = _jE._JE; if (_JE._FN1[_7b2]) { _n31 = _jE._Se(_vw, _IL, _jE, _jE) } } } } return _n31 }; var __5; function _H_1(_dn) { var _jE = _3E._hn(_dn); if (!_jE) { _jE = _cy._hn(_dn); if (_jE) _jE = _jE._nO1._hn(0) } return _jE } function _I_1(_dn) { var _jE = _3E._hn(_dn); if (!_jE) { _jE = _cy._hn(_dn); if (!_jE) { _dv("Unknown instance ID: " + _dn); debug(_fv()); return _iZ1 } _jE = _jE._nO1._hn(0); _dv("Warning: Object ID being used to access instance" + _dn); debug(_fv()) } return _jE } var _lc2 = 256; var _mc2 = 3; var _nc2 = 1024; var _WP = 1; var _3Q = 2; var _oc2 = 4; var _Xm = 1; var _Vm = 2; var _Wm = 0x80000000; var _pc2 = 128; var _qc2 = 0, _Qm = 0, _Rm = 0, _Sm = 0, _rc2 = -1, _sc2 = 0, _tc2 = 0, _uc2 = 0, _vc2 = 0, _XE = 0, _nR = !1, _vO1 = 0, _wO1 = 0, _wc2 = 0; var _VE = []; var _WE = []; var _ZE = []; var _ZP = []; var _dR = []; var _Tm = []; var _xc2 = 0; var _Dm = []; var _yc2 = { 8: String.fromCharCode(8), 9: 0, 13: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 0, 27: 0, 22: 0, 32: " ", 34: 0, 35: 0, 36: 0, 37: 0, 38: 0, 39: 0, 40: 0, 45: 0, 46: 0, 47: 0, 48: "0", 49: "1", 50: "2", 51: "3", 52: "4", 53: "5", 54: "6", 55: "7", 56: "8", 57: "9", 58: "0", 59: ";", 65: "a", 66: "b", 67: "c", 68: "d", 69: "e", 70: "f", 71: "g", 72: "h", 73: "i", 74: "j", 75: "k", 76: "l", 77: "m", 78: "n", 79: "o", 80: "p", 81: "q", 82: "r", 83: "s", 84: "t", 85: "u", 86: "v", 87: "w", 88: "x", 89: "y", 90: "z", 91: 0, 92: 0, 93: 0, 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111: "/", 112: 0, 113: 0, 114: 0, 115: 0, 116: 0, 117: 0, 118: 0, 119: 0, 120: 0, 121: 0, 122: 0, 123: 0, 144: 0, 145: 0, 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "'", 219: "[", 220: "\\", 221: "]", 222: "#", 223: "`" }; var _zc2 = { 8: String.fromCharCode(8), 9: 0, 13: 0, 16: 0, 17: 0, 18: 0, 19: 0, 20: 0, 27: 0, 22: 0, 32: " ", 34: 0, 35: 0, 36: 0, 37: 0, 38: 0, 39: 0, 40: 0, 45: 0, 46: 0, 47: 0, 48: ")", 49: "!", 50: "\"", 51: "£", 52: "$", 53: "%", 54: "^", 55: "&", 56: "*", 57: "(", 58: ")", 59: ":", 65: "A", 66: "B", 67: "C", 68: "D", 69: "E", 70: "F", 71: "G", 72: "H", 73: "I", 74: "J", 75: "K", 76: "L", 77: "M", 78: "N", 79: "O", 80: "P", 81: "Q", 82: "R", 83: "S", 84: "T", 85: "U", 86: "V", 87: "W", 88: "X", 89: "Y", 90: "Z", 91: 0, 92: 0, 93: 0, 96: "0", 97: "1", 98: "2", 99: "3", 100: "4", 101: "5", 102: "6", 103: "7", 104: "8", 105: "9", 106: "*", 107: "+", 109: "-", 110: ".", 111: "/", 112: 0, 113: 0, 114: 0, 115: 0, 116: 0, 117: 0, 118: 0, 119: 0, 120: 0, 121: 0, 122: 0, 123: 0, 144: 0, 145: 0, 186: ":", 187: "+", 188: "<", 189: "_", 190: ">", 191: "?", 192: "@", 219: "{", 220: "|", 221: "}", 222: "~", 223: "¬" }; function _UL1() { _nR = !0 } function _Ac2() { _nR = !1; _Bc2() } function _Cc2(_Dc2, _Ec2) { try { if (_Dc2) { if (_Dc2._g1) { if (_Dc2._g1._W4) { if (_Dc2._g1._W4._Z4) { if (_Dc2._g1._W4._Z4 == _g1._W4._Z4) { _Dc2.focus(); _Ec2.focus(); return !0 } } } } } } catch (err) {} return !1 } function _Fc2() { var _5O = document.getElementById(_rv); var _Gc2; if ((_KC == _nQ1) || (_KC == _mQ1) || (_KC == _oQ1) || (_KC == _pQ1)) { _Gc2 = parent.frames; for (var _Hc2 = 0; _Hc2 < _Gc2.length; _Hc2++) { var _Ic2 = _Gc2[_Hc2]; if (_Cc2(_Ic2, _5O)) break; } } else { _Gc2 = parent.document.getElementsByTagName("IFRAME"); for (var _Hc2 in _Gc2) { var _Ic2 = _Gc2[_Hc2].contentWindow; if (_Cc2(_Ic2, _5O)) break } } } var _Jc2; var _Kc2; var _Lc2; var _Mc2; var _Nc2; var _Oc2; var _Pc2; var _Qc2; var _Rc2; var _Sc2; var _Tc2; function _Uc2() { var _DM = document.getElementById("gm4html5_div_id"); if (_DM) { _Kc2 = _DM.style.left; _Lc2 = _DM.style.top; _Mc2 = _DM.style.margin; var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Vc2 = top.chrome.app.window.current(); if (_Vc2 != null) { var _Wc2 = window.parent.document.getElementById("container"); var _Xc2 = window.parent.document.getElementById("game"); if (_Wc2 != null) { _Nc2 = _Wc2.style.width; _Oc2 = _Wc2.style.height; _Rc2 = _Wc2.style.left; _Pc2 = _Wc2.style.margin; _Qc2 = _Wc2.style.position } if (_Xc2 != null) { _Sc2 = _Xc2.style.width; _Tc2 = _Xc2.style.height } _Vc2.fullscreen(); var _Yc2 = _Vc2.getBounds(); if (_Wc2 != null) { _Wc2.style.width = "100%"; _Wc2.style.height = "100%"; _Wc2.style.left = "0"; _Wc2.style.margin = 'auto'; _Wc2.style.position = 'relative'; } if (_Xc2 != null) { _Xc2.style.width = "100%"; _Xc2.style.height = "100%"; canvas.style.width = "100%"; canvas.style.height = "100%" } } } } _DM.style.margin = "0px"; _DM.style.top = "0"; _DM.style.left = "0"; _DM.style._Zc2 = "0px"; _DM.style.__c2 = "0px"; if (_DM.mozRequestFullScreen) { _DM.mozRequestFullScreen() } else if (_DM.webkitRequestFullScreen) { _DM.onwebkitfullscreenchange = function(e) { _DM.onwebkitfullscreenchange = _0d2 }; if (_KC == _oQ1) { _DM.webkitRequestFullScreen() } else { _DM.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); } } else if (document.documentElement.requestFullScreen) { document.documentElement.requestFullScreen() } _yZ1 = !0; return } if (canvas.mozRequestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._Zc2 = "0px"; canvas.style.__c2 = "0px"; canvas.mozRequestFullScreen() } else if (canvas.webkitRequestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._Zc2 = "0px"; canvas.style.__c2 = "0px"; canvas.onwebkitfullscreenchange = function(e) { canvas.onwebkitfullscreenchange = _0d2; }; if (_KC == _oQ1) { canvas.webkitRequestFullScreen() } else { canvas.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT) } } else if (document.documentElement.requestFullScreen) { canvas.style.margin = "0px"; canvas.style.top = ""; canvas.style.left = ""; canvas.style._Zc2 = "0px"; canvas.style.__c2 = "0px"; document.documentElement.requestFullScreen() } _yZ1 = !0 } function _0d2() { if (_rZ1) { var _DM = document.getElementById("gm4html5_div_id"); if (_DM) { _DM.style.left = _Kc2; _DM.style.top = _Lc2; _DM.style.margin = _Mc2 } var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Vc2 = top.chrome.app.window.current(); if (_Vc2 != null) _Vc2.restore() } } _yZ1 = !0 } } function _1d2() { var top = window.parent; if (top != null) { if (top.chrome != null && top.chrome.app != null && top.chrome.app.window != null) { var _Vc2 = top.chrome.app.window.current(); if (_Vc2 != null) { _Vc2.restore(); _yZ1 = !0; var _Wc2 = window.parent.document.getElementById("container"); if (_Wc2 != null) { _Wc2.style.width = _Nc2; _Wc2.style.height = _Oc2; _Wc2.style.left = _Rc2; _Wc2.style.margin = _Pc2; _Wc2.style.position = _Qc2 } var _Xc2 = window.parent.document.getElementById("game"); if (_Xc2 != null) { _Xc2.style.width = _Sc2; _Xc2.style.height = _Tc2; canvas.style.width = _Sc2; canvas.style.height = _Tc2 } } } } if (document.webkitCancelFullScreen) { document.webkitCancelFullScreen() } else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); _0d2() } else { _yZ1 = !0 } } function _Iv() { if (_wZ1) return; window.onkeyup = function() { _2d2(arguments[0] || window.event) }; window.onkeydown = function() { var _NP1 = arguments[0] || window.event; if ((_sZ1) && (_NP1 != null) && (_NP1.which == 121) && (!_NP1.repeat) && (canvas.mozRequestFullScreen)) { if (!document.mozFullScreen) { _3d2(); _Uc2() } else { _4d2() } _NP1.preventDefault(); return } _5d2(arguments[0] || window.event) }; _wZ1 = !0 } function _vv() { if (_wZ1 == !1) return; window.onkeydown = null; window.onkeyup = null; _wZ1 = !1 } function _6d2(_7d2) { if (_7d2 == 121) { return !0 } if (window.chrome && window.chrome.app) { if (_7d2 == 183) return !0 } return !1 } function _5d2(_NP1) { var _7d2; if (_NP1 == null) { _7d2 = window.event.which; if (_7d2 == 122) return; if (_7d2 != 121) window.event.preventDefault(); else _yZ1 = !0; window.event.preventDefault() } else { if (_NP1.repeat) return; _7d2 = _NP1.which; if (_7d2 == 122) return; if (_7d2 == 120) {} else if (!_6d2(_7d2)) { _NP1.preventDefault() } else { if (_sZ1) { if (!_rZ1) { _3d2(); _Uc2() } else { _1d2() } } } _NP1.preventDefault() } if (_VE[_7d2]) return; _VE[_7d2] = 1; _WE[_7d2] = 1; _XE = _7d2; if (_KC == _LC) { _vc2 = _NP1.char } else { if (_NP1.shiftKey) { _vc2 = _zc2[_7d2] } else { _vc2 = _yc2[_7d2] } } if (!_vc2) _vc2 = "" } function _2d2(_NP1) { var _7d2; if (_NP1 == null) { _7d2 = window.event.which; if (_7d2 == 122) return; window.event.preventDefault() } else { _7d2 = _NP1.which; if (_7d2 == 122) return; _NP1.preventDefault() } _ZE[_7d2] = 1; _VE[_7d2] = 0; return !1 } function _9v1(_av1) { _Qm = _av1.pageX; _Rm = _av1.pageY; _Tm[_av1.button]._w2 = _Qm; _Tm[_av1.button]._x2 = _Rm } function _8d2(_av1) { if (!_nR) { _Fc2() } _qc2 = _av1.button; if (_qc2 == 2) _qc2 = 1; else if (_qc2 == 1) _qc2 = 2; _tc2 = _rc2; _rc2 = _qc2; _Sm |= (1 << _qc2); _Tm[_av1.button]._Um = _Vm | _Wm | _Xm; _Tm[_av1.button]._w2 = _av1.pageX; _Tm[_av1.button]._x2 = _av1.pageY; return _av1 } function _9d2(_av1) { _qc2 = _av1.button; if (_qc2 == 2) _qc2 = 1; else if (_qc2 == 1) _qc2 = 2; _uc2 = _sc2; _sc2 = _qc2; _Sm &= ~(1 << _qc2); _rc2 = -1; _Tm[_av1.button]._Um = 0; return !1 } function _ad2(_av1) { if (_av1.detail) { _wc2 = -_av1.detail } else { _wc2 = _av1.wheelDelta } } function _bd2() { _3E._Se(_ZQ1, 0); return undefined } function _m02() { this._cd2 = "a"; this._dd2 = []; this._ed2 = this._fd2 = -1; this._gd2 = []; this._hd2 = []; this._id2 = []; this._jd2 = this._kd2 = 0; this.__k = []; this._Zk = []; this._Vk = []; this._ld2 = this._md2 = !1; this._nd2 = []; this._od2 = this._pd2 = this._qd2 = this._rd2 = this._5O1 = this._6O1 = this._ie = 0; for (var _sf = 0; _sf < _nc2; _sf++) { this._dd2[_sf] = ""; } for (var _sf = 0; _sf < _lc2; _sf++) { this._gd2[_sf] = this._hd2[_sf] = this._id2[_sf] = !1; this._nd2[_sf] = _sf } for (var _sf = 0; _sf < _mc2; _sf++) { this.__k[_sf] = this._Zk[_sf] = this._Vk[_sf] = !1 } this._bm = _sd2; this._td2 = _ud2; this._vd2 = _vd2; this._wd2 = _wd2; this._xd2 = _xd2; this._yd2 = _yd2; this._zd2 = _zd2; this._Ad2 = _Ad2; this._Bd2 = _Bd2; this._Cd2 = _Cd2; this._Dd2 = _Dd2; this._Ed2 = _Ed2; this._Fd2 = _Fd2; this._Gd2 = _Gd2; this._Hd2 = _Hd2; this._Id2 = _Id2; this._Jd2 = _Jd2; this._Kd2 = _Kd2; this._Ld2 = _Ld2; this._Md2 = _Md2; this._Nd2 = _Nd2; this._Od2 = _Pd2; this._Qd2 = _Rd2; this._Sd2 = _Td2; this._Ud2 = _Ud2; for (var _sf = 0; _sf < _lc2; _sf++) { _VE[_sf] = _ZE[_sf] = !1 } canvas.onmousemove = _9v1; canvas.onmousedown = _8d2; canvas.onmouseup = _9d2; canvas.onmousewheel = _ad2; canvas.onselectstart = function() { return !1 }; canvas.addEventListener("DOMMouseScroll", _ad2, !1); var _sf = document.getElementById("loading_screen"); if (_sf) { _sf.onmousemove = _9v1; _sf.onmousedown = _8d2; _sf.onmouseup = _9d2; _sf.onmousewheel = _ad2; _sf.addEventListener("DOMMouseScroll", _ad2, !1) } document.body.onfocusin = _UL1; document.body.onfocusout = _Ac2; document.onfocusin = _UL1; document.onfocusout = _Ac2; window.onfocus = _UL1; window.onblur = _Ac2; if (typeof(_cv._W4.GenerateSpotifyApp) == "undefined") _Iv(); if (!_O92) { window._Vd2 = _bd2 } _dR = new Array(_pc2); _Tm = new Array(_pc2); for (var _Wd2 = 0; _Wd2 < _pc2; _Wd2++) { _dR[_Wd2] = new _Xd2(); _Tm[_Wd2] = new _Xd2() } } function _Xd2() { this._Um = 0; this._w2 = 0; this._x2 = 0 } function _Bc2() { _Yd2(); _Zd2(); _O7._j62 = 0; _O7._j62 = ""; _XE = 0; _vc2 = "" } _m02.prototype._am = function() { this.__d2(); this._Nd2(); _O7._j62 = 0; _O7._k62 = 0; _O7._j62 = ""; _XE = 0; _vc2 = ""; _O7._l62 = ""; _O7._m62 = "" }; function _vd2() { return this._cd2 } function _wd2(_0e2) { this._cd2 = _xR } function _xd2() { return this._fd2 } function _yd2() { return this._ed2 } function _zd2(_Vn) { if (_Vn < 0 || _Vn > 255) return !1; this._fd2 = _Vn } function _Ad2(_Vn) { if (_Vn < 0 || _Vn > 255) return !1; this._ed2 = _Vn } function _Bd2(_Vn) { if (_Vn < 0 || _Vn > 255) return !1; return this._gd2[_Vn] } function _Cd2(_Vn) { if (_Vn < 0 || _Vn > 255) return !1; return this._id2[_Vn] } function _Dd2(_Vn) { if (_Vn < 0 || _Vn > 255) return !1; return this._hd2[_Vn] } function _Ed2(_Vn) { if (_Vn < 0 || _Vn > 255) return; this._gd2[_Vn] = 0; this._id2[_Vn] = 0; this._hd2[_Vn] = 0 } _m02.prototype.__d2 = function() { this._fd2 = 0; this._ed2 = 0; this._cd2 = 0; for (var _u2 = 0; _u2 <= _lc2; _u2++) { this._gd2[_u2] = 0; this._id2[_u2] = 0; this._hd2[_u2] = 0 } }; function _Yd2() { for (var _u2 = 0; _u2 < _lc2; _u2++) { _WE[_u2] = 0; _ZE[_u2] = 0; _VE[_u2] = 0 } } function _Fd2() { return this._jd2 } function _Gd2() { return this._kd2 } function _Hd2(_4R) { if ((_4R < 1) || (_4R > 3)) return; this._jd2 = _4R; } function _Id2(_4R) { if ((_4R < 1) || (_4R > 3)) return; this._kd2 = _4R } function _Jd2(_4R) { _4R--; if (_4R >= 0 && _4R < _mc2) { return this.__k[_4R] } return !1 } function _Kd2(_4R) { _4R--; if (_4R >= 0 && _4R < _mc2) { return this._Vk[_4R] } } function _Ld2(_4R) { _4R--; if (_4R >= 0 && _4R < _mc2) { return this._Zk[_4R] } return !1 } function _Md2(_4R) { _4R--; if (_4R >= 0 && _4R < _mc2) { this.__k[_4R] = !1; this._Vk[_4R] = !1; this._Zk[_4R] = !1 } } function _Nd2() { this._jd2 = 0; this._kd2 = 0; for (var _u2 = 0; _u2 <= _mc2; _u2++) { this.__k[_u2] = !1; this._Vk[_u2] = !1; this._Zk[_u2] = !1; } this._md2 = !1; this._ld2 = !1; for (var _Jm = 0; _Jm < _Dm.length; _Jm++) { _Dm[_Jm]._am() } } function _Zd2() { _uc2 = -1; _sc2 = -1; _rc2 = -1; _Sm = 0; _Tm[0]._Um = 0; _Tm[0]._w2 = 0; _Tm[0]._x2 = 0; _qc2 = -1 } function _sd2() { for (var _Jm = 0; _Jm < _Dm.length; _Jm++) { var _Km = _Dm[_Jm]; if (_Km.__k) { _Km._Zk = 0; _Km._Vk = _Km._im ^ _Km.__k } else { _Km._Zk = _Km._im ^ _Km.__k; _Km._Vk = 0 } _Km._im = _Km.__k } for (var _Wd2 = 0; _Wd2 < _Tm.length; _Wd2++) { _dR[_Wd2]._Um = _Tm[_Wd2]._Um; _dR[_Wd2]._w2 = _Tm[_Wd2]._w2; _dR[_Wd2]._x2 = _Tm[_Wd2]._x2; _Tm[_Wd2]._Um &= ~_Xm } if (_O7._j62 != 0) { _O7._k62 = _O7._j62 } _O7._j62 = _XE; if (_XE) { if (_vc2) { if (_XE == 13) {} else if (_XE == 8) { _O7._l62 = _vc2; if (_O7._m62.length > 0) { _O7._m62 = _O7._m62.substring(0, _O7._m62.length - 1) } } else { _O7._l62 = _vc2; _O7._m62 += _O7._l62; if (_O7._m62.length > 1024) { _O7._m62 = _O7._m62.substring(1, _O7._m62.length - 1) } } } _XE = 0 } this._5O1 = _Qm; this._6O1 = _Rm; this._pd2 = _Sm; if ((this._pd2 & 1) != 0) { this.__k[0] = 1; if ((this._qd2 ^ this._pd2) != 0) { this._Vk[0] = 1 } } else { this.__k[0] = 0; if ((this._pd2 ^ this._qd2) == 1) { this._Zk[0] = 1 } } if ((this._pd2 & 2) != 0) { this.__k[1] = 1; if ((this._qd2 ^ this._pd2) != 0) { this._Vk[1] = 1 } } else { this.__k[1] = 0; if ((this._pd2 ^ this._qd2) == 2) { this._Zk[1] = 1 } } if ((this._pd2 & 4) != 0) { this.__k[2] = 1; if ((this._qd2 ^ this._pd2) != 0) { this._Vk[2] = 1 } } else { this.__k[2] = 0; if ((this._pd2 ^ this._qd2) == 4) { this._Zk[2] = 1; } } this._qd2 = this._pd2; _O7._v9 = this._5O1; _O7._w9 = this._6O1; _O7._h62 = _rc2 + 1; _O7._i62 = _tc2; this._Ud2() } function _Ud2() { var _1e2 = 0; var _Vj = 0; var _y2 = _2_1; var _z2 = _3_1; var _Uf = _kO(); var _lM = _lO(); if (_y2 < 0) _y2 = _Uf; if (_z2 < 0) _z2 = _lM; for (var _Wd2 = 0; _Wd2 < _dR.length; _Wd2++) { var _2e2 = _dR[_Wd2]; if ((_2e2._Um & _Wm) != 0) { _Vj = 1; for (var _3e2 = 0; _3e2 < _ZP.length; _3e2++) { var _TP = _ZP[_3e2]; if ((_TP._VP & _WP) != 0) { var _w2 = (_y2 * (_2e2._w2 - _qm.left)) / _Uf; var _x2 = (_z2 * (_2e2._x2 - _qm.top)) / _lM; if ((_w2 >= _TP._w2) && (_w2 < _TP._jf) && (_x2 >= _TP._x2) && (_x2 < _TP._kf)) { _1e2 |= _Vj } } _Vj <<= 1 } _2e2._Um = 0 } } _Vj = 1; var _4e2 = _xc2 ^ _1e2; for (var _3e2 = 0; _3e2 < _ZP.length; _3e2++) { var _TP = _ZP[_3e2]; if ((_TP._VP & _WP) != 0) { var _5e2 = _1e2 & _Vj; var _av = _4e2 & _Vj; if (_TP._OC != 0) { this._id2[_TP._OC] |= (_5e2 && _av); this._gd2[_TP._OC] |= (_5e2 && !_av); this._hd2[_TP._OC] |= (!_5e2 && _av) } else { this._Vk[_TP.button - 1] |= (_5e2 && _av); this.__k[_TP.button - 1] |= (_5e2 && !_av); this._Zk[_TP.button - 1] |= (!_5e2 && _av) } } _Vj <<= 1 } _xc2 = _1e2 } function _Od2(_6e2) { var _NP1 = _PQ1 | _6e2; var _Hn = _ke._AE._Hn; var _7e2 = _Hn.length; for (var _kx = 0; _kx < _7e2; _kx++) { var _jE = _Hn[_kx]; var _Wn = _jE._JE; if (_Wn._FN1[_NP1]) { _jE._Se(_PQ1, _6e2, _jE, _jE) } } } function _8e2(_9e2) { var _NP1 = _SQ1 | _9e2; var _Hn = _ke._AE._Hn; var _7e2 = _Hn.length; for (var _kx = 0; _kx < _7e2; _kx++) { var _jE = _Hn[_kx]; if (_jE._kE) { continue } var _Wn = _jE._JE; if (_Wn._FN1[_NP1]) { _jE._Se(_SQ1, _9e2, _jE, _jE) } } } function _Sd2(_ae2) { var _NP1 = _TQ1 | _ae2; var _Hn = _ke._AE._Hn; var _7e2 = _Hn.length; for (var _kx = 0; _kx < _7e2; _kx++) { var _jE = _Hn[_kx]; var _Wn = _jE._JE; if (_Wn._FN1[_NP1]) { _jE._Se(_TQ1, _ae2, _jE, _jE) } } } function _Pd2() { var _be2 = 0; for (var _u2 = 2; _u2 < _lc2; _u2++) { if (this._gd2[_u2]) { _be2 = 1; _Od2(_u2) } } _Od2(_be2) } function _Rd2() { var _ce2 = 0; for (var _u2 = 2; _u2 < _lc2; _u2++) { if (this._id2[_u2]) { _ce2 = 1; _8e2(_u2) } } _8e2(_ce2) } function _Td2() { var _de2 = 0; for (var _u2 = 2; _u2 < _lc2; _u2++) { if (this._hd2[_u2]) { _de2 = 1; _Sd2(_u2) } } _Sd2(_de2) } function _ud2() { var _ee2 = 0, _fe2 = 0, _ge2 = 0; this._ie++; for (var _u2 = 0; _u2 < _lc2; _u2++) { this._id2[_u2] = this._hd2[_u2] = this._gd2[_u2] = 0 } for (var _u2 = 0; _u2 < _lc2; _u2++) { var _OC = this._nd2[_u2]; this._id2[_OC] |= _WE[_u2]; this._hd2[_OC] |= _ZE[_u2]; this._gd2[_OC] |= _VE[_u2]; _ee2 |= _WE[_u2]; _fe2 |= _VE[_u2]; _ge2 |= _ZE[_u2]; _WE[_u2] = 0; _ZE[_u2] = 0 } this._id2[1] = _ee2; this._gd2[1] = _fe2; this._hd2[1] = _ge2; this._id2[0] = _ee2 ^ 1; this._gd2[0] = _fe2 ^ 1; this._hd2[0] = _ge2 ^ 1; _vO1 = _wO1 = 0; if (_wc2 > 0) { _vO1 = 1 } else if (_wc2 < 0) { _wO1 = 1 } _wc2 = 0; for (var _u2 = 0; _u2 <= _mc2; _u2++) { this._Vk[_u2] = !1; this._Zk[_u2] = !1 } this._md2 = !1; this._ld2 = !1; this._bm(); var _km; if (!_ke._lm) { _km = _mm } else { _km = _ke._nm } for (var _8h = 0; _8h <= 7; ++_8h) { _om = _km[_8h]; if (_om && _om._F2) { _O7._v9 = _om._vm(_Pm._5O1); _O7._w9 = _om._wm(_Pm._6O1); break } } for (var _8h = 7; _8h >= 0; _8h--) { _om = _km[_8h]; if (_om && _om._F2) { _pm(canvas, _qm); if (((this._5O1 - _qm.left) >= _om._rm) && ((this._5O1 - _qm.left) < _om._sm) && ((this._6O1 - _qm.top) >= _om._tm) && ((this._6O1 - _qm.top) < _om._um)) { _O7._v9 = _om._vm(_Pm._5O1); _O7._w9 = _om._wm(_Pm._6O1); break } } } } function _he2() { _Pm._Od2(); _Pm._Qd2(); _Pm._Sd2() } function _ie2(index) { this._VP = 0; this.index = index; this._w2 = 0; this._x2 = 0; this._jf = 0; this._kf = 0; this._y2 = 0; this._z2 = 0; this._6h = 0; this._8h = 0; this._OC = 0; this.button = 0 } function _UP() { for (var _sf = 0; _sf < _ZP.length; ++_sf) { if (_ZP[_sf]._VP == 0) { return _ZP[_sf] } } var _u2 = _ZP.length; _ZP[_u2] = new _ie2(_u2); return _ZP[_u2] } function __P(_je2) { _ZP[_je2]._VP = 0 } function _ke2() { for (var _sf = 0; _sf < _ZP.length; ++_sf) { _ZP[_sf]._VP = 0 } } _m02.prototype._le2 = function() { _Mv(); _c82(); var _Yz = []; _Yz[0] = 1; _Yz[1] = 0; _Yz[2] = 0; _Yz[3] = 1; _Yz[4] = 0; _Yz[5] = 0; _j72(_Yz); var _Dx = _CA(); var _me2 = _DA(); _J8(0xffffff); for (var _sf = 0; _sf < _1Q.length; ++_sf) { var _2Q = _1Q[_sf]; _Ja(_2Q._w2, _2Q._x2, _2Q._w2 + _2Q._y2 - 1, _2Q._x2 + _2Q._z2 - 1, !0) } _J8(_me2); _K8(_Dx); _e82() }; function _vn() { this._ne2 = []; this._Hn = []; this._wn = !1; this.length = 0; this._fg = 0 } _vn.prototype._T_1 = function() { if (this._ne2.length == 0) { return this._Hn.length } return this._ne2.pop() }; _vn.prototype._yn = function(_F32) { var index; if (this._wn) { index = this._Hn.length } else { index = this._T_1() } this._Hn[index] = _F32; this._fg++; this.length = this._Hn.length; return index }; _vn.prototype._hn = function(_zF) { if (_zF < 0 || _zF >= this._Hn.length) return null; return this._Hn[_zF] }; _vn.prototype._G32 = function(_iL1) { for (var _sf = 0; _sf < this._Hn.length; _sf++) { if (this._Hn[_sf] == _iL1) return _sf } }; _vn.prototype._H32 = function(_iL1) { for (var _sf = 0; _sf < this._Hn.length; _sf++) { if (this._Hn[_sf] == _iL1) { if (this._wn) { this._Hn.splice(_sf, 1) } else { this._Hn[_sf] = null; this._ne2.push(_sf) } this._fg--; this.length = this._Hn.length; return !0 } } return !1 }; _vn.prototype._Qn = function(_zF) { if (_zF < 0 || _zF >= this._Hn.length) return !1; if (this._wn) { this._Hn.splice(_zF, 1) } else { this._Hn[_zF] = null; this._ne2.push(_zF) } this._fg--; this.length = this._Hn.length; return !0 }; _vn.prototype._am = function() { this._Hn = []; this._ne2 = []; this._fg = 0; this.length = this._Hn.length }; _vn.prototype._Tn = function(_IL, _en) { if (_IL < 0 || _IL >= this._Hn.length) return; this._Hn[_IL] = _en }; _vn.prototype._oe2 = function(_pe2) { if (_pe2) { this._Hn.sort(function(_Wg, _xf) { return _Wg - _xf }) } else { this._Hn.sort(function(_Wg, _xf) { return _xf - _Wg }) } this._ne2 = []; for (var _u2 = 0; _u2 < this._Hn.length; _u2++) { if (this._Hn[_u2] == null || this._Hn[_u2] == undefined) { this._ne2.push(_u2) } } }; _vn.prototype._9n = function(_an) { this._Hn = _an._Hn.slice(); this._ne2 = _an._ne2.slice(); this._wn = _an._wn; this.length = _an.length; this._fg = _an._fg }; var _Da2 = 0, _Ga2 = 1, _Ha2 = 2; function _qe2() { this._re2 = null; this._se2 = 0; this._te2 = null } function _ue2() { this._re2 = null; this._ve2 = !1; this._V32 = null } function _we2() { this._PA1 = !1 } function _iB1(_xe2, _me) { this.__type = "[Object]"; this._Um = 0; this._TE = _xe2; this._Y02 = _me; this._sa2 = -1; this._KE = 0; this._ta2 = 0; this._ua2 = !1; this._va2 = !1; this._wa2 = !1; this._RE = 0; this._sv = null; this._ye2 = -1; this._612 = !1; this._nO1 = new _vn(); this._dy = new _vn(); this._nO1._wn = !0; this._dy._wn = !0; this._ze2 = []; for (var _Wg = 0; _Wg < _HO1; _Wg++) { this._ze2[_Wg] = null } this._Ae2 = []; this._Be2 = []; this._Ce2 = []; this._812 = []; this._C2 = []; this._Iy = []; this._FN1 = []; this._xa2 = new _we2() } _iB1.prototype._aG = function() { return this._nO1._Hn }; _iB1.prototype._UI = function() { return this._dy._Hn }; function _o12(_De2, _Ee2) { var _Wn = new _iB1(_De2, _Ee2._m1); with(_Wn) { if (_Ee2._E2 != undefined) _KE = _Ee2._E2; if (_Ee2._F2 != undefined) _va2 = _Ee2._F2; if (_Ee2._bG != undefined) _ua2 = _Ee2._bG; if (_Ee2._H2 != undefined) _ta2 = _Ee2._H2; if (_Ee2._G2 != undefined) _wa2 = _Ee2._G2; if (_Ee2.parent != undefined) _RE = _Ee2.parent; if (_Ee2._Q3 != undefined) _sa2 = _Ee2._Q3; if (_Ee2._I2) { _Wn._I2 = _Ee2._I2; _Wn._Iy[_vE] = !0 } if (_Ee2._n3) { _Wn._n3 = _Ee2._n3; _Wn._Iy[_wE] = !0; } if (_Ee2._Fe2) { _Wn._Fe2 = _Ee2._Fe2; _Wn._Iy[_WQ1] = !0 } if (_Ee2._K2) { _Wn._K2 = _Ee2._K2; _Wn._Iy[_VQ1] = !0 } if (_Ee2._Ge2) { _Wn._Ge2 = _Ee2._Ge2; _Wn._Iy[_XQ1] = !0 } if (_Ee2._M2) { _Wn._M2 = _Ee2._M2; _Wn._Iy[_RQ1] = !0 } if (_Ee2._He2) { _Wn._He2 = _Ee2._He2; _Wn._Iy[_DR1] = !0 } if (_Ee2._Ie2) { _Wn._Ie2 = _Ee2._Ie2; _Wn._Iy[_FR1] = !0 } if (_Ee2._Je2) { _Wn._Je2 = _Ee2._Je2; _Wn._Iy[_GR1] = !0 } if (_Ee2._Ke2) { _Wn._Ke2 = _Ee2._Ke2; _Wn._Iy[_HR1] = !0 } if (_Ee2._Le2) { _Wn._Le2 = _Ee2._Le2; _Wn._Iy[_IR1] = !0 } if (_Ee2._Me2) { _Wn._Me2 = _Ee2._Me2; _Wn._Iy[_JR1] = !0 } if (_Ee2._Ne2) { _Wn._Ne2 = _Ee2._Ne2; _Wn._Iy[_KR1] = !0 } if (_Ee2._Oe2) { _Wn._Oe2 = _Ee2._Oe2; _Wn._Iy[_ER1] = !0 } if (_Ee2._Pe2) { _Wn._Pe2 = _Ee2._Pe2; _Wn._Iy[_iO1] = !0 } if (_Ee2._Qe2) { _Wn._Qe2 = _Ee2._Qe2; _Wn._Iy[_9O1] = !0 } if (_Ee2._Re2) { _Wn._Re2 = _Ee2._Re2; _Wn._Iy[_bO1] = !0 } if (_Ee2._Se2) { _Wn._Se2 = _Ee2._Se2; _Wn._Iy[_aO1] = !0 } if (_Ee2._a3) { _Wn._a3 = _Ee2._a3; _Wn._Iy[_cO1] = !0 } if (_Ee2._Te2) { _Wn._Te2 = _Ee2._Te2; _Wn._Iy[_eO1] = !0 } if (_Ee2._Ue2) { _Wn._Ue2 = _Ee2._Ue2; _Wn._Iy[_dO1] = !0 } if (_Ee2._Ve2) { _Wn._Ve2 = _Ee2._Ve2; _Wn._Iy[_fO1] = !0 } if (_Ee2._We2) { _Wn._We2 = _Ee2._We2; _Wn._Iy[_hO1] = !0 } if (_Ee2._Xe2) { _Wn._Xe2 = _Ee2._Xe2; _Wn._Iy[_gO1] = !0 } if (_Ee2._Ye2) { _Wn._Ye2 = _Ee2._Ye2; _Wn._Iy[_lO1] = !0 } if (_Ee2._Ze2) { _Wn._Ze2 = _Ee2._Ze2; _Wn._Iy[_mO1] = !0 } if (_Ee2._X2) { _Wn._X2 = _Ee2._X2; _Wn._Iy[_sO1] = !0 } if (_Ee2.__e2) { _Wn.__e2 = _Ee2.__e2; _Wn._Iy[_MR1] = !0 } if (_Ee2._0f2) { _Wn._0f2 = _Ee2._0f2; _Wn._Iy[_NR1] = !0 } if (_Ee2._1f2) { _Wn._1f2 = _Ee2._1f2; _Wn._Iy[_tO1] = !0 } if (_Ee2._2f2) { _Wn._2f2 = _Ee2._2f2; _Wn._Iy[_OR1] = !0 } if (_Ee2._3f2) { _Wn._3f2 = _Ee2._3f2; _Wn._Iy[_PR1] = !0 } if (_Ee2._V2) { _Wn._V2 = _Ee2._V2; _Wn._Iy[_uO1] = !0 } if (_Ee2._4f2) { _Wn._4f2 = _Ee2._4f2; _Wn._Iy[_QR1] = !0 } if (_Ee2._5f2) { _Wn._5f2 = _Ee2._5f2; _Wn._Iy[_RR1] = !0 } if (_Ee2._6f2) { _Wn._6f2 = _Ee2._6f2; _Wn._Iy[_jO1] = !0 } if (_Ee2._7f2) { _Wn._7f2 = _Ee2._7f2; _Wn._Iy[_kO1] = !0 } if (_Ee2._8f2) { _Wn._8f2 = _Ee2._8f2; _Wn._Iy[_GN1] = !0 } if (_Ee2._9f2) { _Wn._9f2 = _Ee2._9f2; _Wn._Iy[_KN1] = !0 } if (_Ee2._af2) { _Wn._af2 = _Ee2._af2; _Wn._Iy[_YQ1] = !0 } if (_Ee2._bf2) { _Wn._bf2 = _Ee2._bf2; _Wn._Iy[_ZQ1] = !0 } if (_Ee2._cf2) { _Wn._cf2 = _Ee2._cf2; _Wn._Iy[__Q1] = !0 } if (_Ee2._df2) { _Wn._df2 = _Ee2._df2; _Wn._Iy[_0R1] = !0; } if (_Ee2._ef2) { _Wn._ef2 = _Ee2._ef2; _Wn._Iy[_1R1] = !0 } if (_Ee2._ff2) { _Wn._ff2 = _Ee2._ff2; _Wn._Iy[_2R1] = !0 } if (_Ee2._gf2) { _Wn._gf2 = _Ee2._gf2; _Wn._Iy[_SA1] = !0 } if (_Ee2._hf2) { _Wn._hf2 = _Ee2._hf2; _Wn._Iy[_3R1] = !0 } if (_Ee2._if2) { _Wn._if2 = _Ee2._if2; _Wn._Iy[_4R1] = !0 } if (_Ee2._jf2) { _Wn._jf2 = _Ee2._jf2; _Wn._Iy[_QN1] = !0 } if (_Ee2._kf2) { _Wn._kf2 = _Ee2._kf2; _Wn._Iy[_lR1] = !0 } if (_Ee2._lf2) { _Wn._lf2 = _Ee2._lf2; _Wn._Iy[_mR1] = !0 } if (_Ee2._mf2) { _Wn._mf2 = _Ee2._mf2; _Wn._Iy[_nR1] = !0 } if (_Ee2._nf2) { _Wn._nf2 = _Ee2._nf2; _Wn._Iy[_oR1] = !0 } if (_Ee2._of2) { _Wn._of2 = _Ee2._of2; _Wn._Iy[_pR1] = !0 } if (_Ee2._pf2) { _Wn._pf2 = _Ee2._pf2; _Wn._Iy[_qR1] = !0 } if (_Ee2._qf2) { _Wn._qf2 = _Ee2._qf2; _Wn._Iy[_rR1] = !0 } if (_Ee2._rf2) { _Wn._rf2 = _Ee2._rf2; _Wn._Iy[_RN1] = !0 } if (_Ee2._sf2) { _Wn._sf2 = _Ee2._sf2; _Wn._Iy[_sR1] = !0 } if (_Ee2._tf2) { _Wn._tf2 = _Ee2._tf2; _Wn._Iy[_tR1] = !0 } if (_Ee2._uf2) { _Wn._uf2 = _Ee2._uf2; _Wn._Iy[_uR1] = !0 } if (_Ee2._vf2) { _Wn._vf2 = _Ee2._vf2; _Wn._Iy[_vR1] = !0 } if (_Ee2._wf2) { _Wn._wf2 = _Ee2._wf2; _Wn._Iy[_wR1] = !0 } if (_Ee2._xf2) { _Wn._xf2 = _Ee2._xf2; _Wn._Iy[_xR1] = !0 } if (_Ee2._yf2) { _Wn._yf2 = _Ee2._yf2; _Wn._Iy[_yR1] = !0 } if (_Ee2._zf2) { _Wn._zf2 = _Ee2._zf2; _Wn._Iy[_Te] = !0; } if (_Ee2._Af2) { _Wn._Af2 = _Ee2._Af2; _Wn._Iy[_5R1] = !0 } if (_Ee2._Bf2) { _Wn._Bf2 = _Ee2._Bf2; _Wn._Iy[_6R1] = !0 } if (_Ee2._Cf2) { _Wn._Cf2 = _Ee2._Cf2; _Wn._Iy[_7R1] = !0 } if (_Ee2._Df2) { _Wn._Df2 = _Ee2._Df2; _Wn._Iy[_8R1] = !0 } if (_Ee2._Ef2) { _Wn._Ef2 = _Ee2._Ef2; _Wn._Iy[_9R1] = !0 } if (_Ee2._Ff2) { _Wn._Ff2 = _Ee2._Ff2; _Wn._Iy[_aR1] = !0 } if (_Ee2._Gf2) { _Wn._Gf2 = _Ee2._Gf2; _Wn._Iy[_bR1] = !0; } if (_Ee2._Hf2) { _Wn._Hf2 = _Ee2._Hf2; _Wn._Iy[_cR1] = !0 } if (_Ee2._If2) { _Wn._If2 = _Ee2._If2; _Wn._Iy[_dR1] = !0 } if (_Ee2._Jf2) { _Wn._Jf2 = _Ee2._Jf2; _Wn._Iy[_eR1] = !0 } if (_Ee2._Kf2) { _Wn._Kf2 = _Ee2._Kf2; _Wn._Iy[_fR1] = !0 } if (_Ee2._Lf2) { _Wn._Lf2 = _Ee2._Lf2; _Wn._Iy[_gR1] = !0 } if (_Ee2._Mf2) { _Wn._Mf2 = _Ee2._Mf2; _Wn._Iy[_hR1] = !0 } if (_Ee2._Nf2) { _Wn._Nf2 = _Ee2._Nf2; _Wn._Iy[_iR1] = !0 } if (_Ee2._Of2) { _Wn._Of2 = _Ee2._Of2; _Wn._Iy[_jR1] = !0 } if (_Ee2._Pf2) { _Wn._Pf2 = _Ee2._Pf2; _Wn._Iy[_kR1] = !0 } if (_Ee2._Qf2) { _Wn._Qf2 = _Ee2._Qf2; _Wn._Iy[_zR1] = !0 } if (_Ee2._Rf2) { _Wn._Rf2 = _Ee2._Rf2; _Wn._Iy[_AR1] = !0 } if (_Ee2._Sf2) { _Wn._Sf2 = _Ee2._Sf2; _Wn._Iy[_BR1] = !0 } if (_Ee2._Tf2) { _Wn._Tf2 = _Ee2._Tf2; _Wn._Iy[_CR1] = !0 } if (_Ee2._Uf2) { _Wn._Uf2 = _Ee2._Uf2; _Wn._Iy[_4E] = !0 } if (_Ee2._Vf2) { _Wn._Vf2 = _Ee2._Vf2; _Wn._Iy[_LR1] = !0 } if (_Ee2._Wf2) { _Wn._Wf2 = _Ee2._Wf2; _Wn._Iy[_kM1] = !0 } if (_Ee2._Xf2) { _Wn._Xf2 = _Ee2._Xf2; _Wn._Iy[_wL] = !0 } if (_Ee2._B3) { _Wn._ze2[0] = _Ee2._B3; _Wn._Iy[_SR1] = !0 } if (_Ee2._Yf2) { _Wn._ze2[1] = _Ee2._Yf2; _Wn._Iy[_TR1] = !0; } if (_Ee2._Zf2) { _Wn._ze2[2] = _Ee2._Zf2; _Wn._Iy[_UR1] = !0 } if (_Ee2.__f2) { _Wn._ze2[3] = _Ee2.__f2; _Wn._Iy[_VR1] = !0 } if (_Ee2._43) { _Wn._ze2[4] = _Ee2._43; _Wn._Iy[_WR1] = !0 } if (_Ee2._0g2) { _Wn._ze2[5] = _Ee2._0g2; _Wn._Iy[_XR1] = !0 } if (_Ee2._23) { _Wn._ze2[6] = _Ee2._23; _Wn._Iy[_YR1] = !0 } if (_Ee2._03) { _Wn._ze2[7] = _Ee2._03; _Wn._Iy[_ZR1] = !0 } if (_Ee2._1g2) { _Wn._ze2[8] = _Ee2._1g2; _Wn._Iy[__R1] = !0 } if (_Ee2._2g2) { _Wn._ze2[9] = _Ee2._2g2; _Wn._Iy[_0S1] = !0 } if (_Ee2._3g2) { _Wn._ze2[10] = _Ee2._3g2; _Wn._Iy[_1S1] = !0 } if (_Ee2._4g2) { _Wn._ze2[11] = _Ee2._4g2; _Wn._Iy[_2S1] = !0 } if (_Ee2._5g2) { _Wn._Be2[_ST1] = _Ee2._5g2; _Wn._Iy[_ST1] = !0 } if (_Ee2._6g2) { _Wn._Be2[_UT1] = _Ee2._6g2; _Wn._Iy[_UT1] = !0 } if (_Ee2._7g2) { _Wn._Be2[_VT1] = _Ee2._7g2; _Wn._Iy[_VT1] = !0 } if (_Ee2._8g2) { _Wn._Be2[_WT1] = _Ee2._8g2; _Wn._Iy[_WT1] = !0; } if (_Ee2._9g2) { _Wn._Be2[_XT1] = _Ee2._9g2; _Wn._Iy[_XT1] = !0 } if (_Ee2._ag2) { _Wn._Be2[_YT1] = _Ee2._ag2; _Wn._Iy[_YT1] = !0 } if (_Ee2._bg2) { _Wn._Be2[_ZT1] = _Ee2._bg2; _Wn._Iy[_ZT1] = !0 } if (_Ee2._cg2) { _Wn._Be2[__T1] = _Ee2._cg2; _Wn._Iy[__T1] = !0 } if (_Ee2._dg2) { _Wn._Be2[_0U1] = _Ee2._dg2; _Wn._Iy[_0U1] = !0 } if (_Ee2._eg2) { _Wn._Be2[_1U1] = _Ee2._eg2; _Wn._Iy[_1U1] = !0; } if (_Ee2._fg2) { _Wn._Be2[_2U1] = _Ee2._fg2; _Wn._Iy[_2U1] = !0 } if (_Ee2._gg2) { _Wn._Be2[_3U1] = _Ee2._gg2; _Wn._Iy[_3U1] = !0 } if (_Ee2._hg2) { _Wn._Be2[_4U1] = _Ee2._hg2; _Wn._Iy[_4U1] = !0 } if (_Ee2._ig2) { _Wn._Be2[_5U1] = _Ee2._ig2; _Wn._Iy[_5U1] = !0 } if (_Ee2._jg2) { _Wn._Be2[_6U1] = _Ee2._jg2; _Wn._Iy[_6U1] = !0 } if (_Ee2._kg2) { _Wn._Be2[_7U1] = _Ee2._kg2; _Wn._Iy[_7U1] = !0; } if (_Ee2._lg2) { _Wn._Be2[_8U1] = _Ee2._lg2; _Wn._Iy[_8U1] = !0 } if (_Ee2._mg2) { _Wn._Be2[_9U1] = _Ee2._mg2; _Wn._Iy[_9U1] = !0 } if (_Ee2._ng2) { _Wn._Be2[_aU1] = _Ee2._ng2; _Wn._Iy[_aU1] = !0 } if (_Ee2._og2) { _Wn._Be2[_bU1] = _Ee2._og2; _Wn._Iy[_bU1] = !0 } if (_Ee2._pg2) { _Wn._Be2[_cU1] = _Ee2._pg2; _Wn._Iy[_cU1] = !0 } if (_Ee2._qg2) { _Wn._Be2[_dU1] = (_Ee2._qg2); _Wn._Iy[_dU1] = !0; } if (_Ee2._rg2) { _Wn._Be2[_eU1] = (_Ee2._rg2); _Wn._Iy[_eU1] = !0 } if (_Ee2._sg2) { _Wn._Be2[_fU1] = (_Ee2._sg2); _Wn._Iy[_fU1] = !0 } if (_Ee2._tg2) { _Wn._Be2[_gU1] = (_Ee2._tg2); _Wn._Iy[_gU1] = !0 } if (_Ee2._ug2) { _Wn._Be2[_hU1] = (_Ee2._ug2); _Wn._Iy[_hU1] = !0 } if (_Ee2._vg2) { _Wn._Be2[_iU1] = (_Ee2._vg2); _Wn._Iy[_iU1] = !0 } if (_Ee2._wg2) { _Wn._Be2[_jU1] = (_Ee2._wg2); _Wn._Iy[_jU1] = !0 } if (_Ee2._xg2) { _Wn._Be2[_kU1] = (_Ee2._xg2); _Wn._Iy[_kU1] = !0 } if (_Ee2._yg2) { _Wn._Be2[_lU1] = (_Ee2._yg2); _Wn._Iy[_lU1] = !0 } if (_Ee2._zg2) { _Wn._Be2[_mU1] = (_Ee2._zg2); _Wn._Iy[_mU1] = !0 } if (_Ee2._Ag2) { _Wn._Be2[_nU1] = (_Ee2._Ag2); _Wn._Iy[_nU1] = !0 } if (_Ee2._Bg2) { _Wn._Be2[_oU1] = (_Ee2._Bg2); _Wn._Iy[_oU1] = !0 } if (_Ee2._Cg2) { _Wn._Be2[_pU1] = (_Ee2._Cg2); _Wn._Iy[_pU1] = !0 } if (_Ee2._Dg2) { _Wn._Be2[_qU1] = (_Ee2._Dg2); _Wn._Iy[_qU1] = !0 } if (_Ee2._Eg2) { _Wn._Be2[_rU1] = (_Ee2._Eg2); _Wn._Iy[_rU1] = !0 } if (_Ee2._Fg2) { _Wn._Be2[_sU1] = (_Ee2._Fg2); _Wn._Iy[_sU1] = !0 } if (_Ee2._Gg2) { _Wn._Be2[_tU1] = (_Ee2._Gg2); _Wn._Iy[_tU1] = !0 } if (_Ee2._Hg2) { _Wn._Be2[_uU1] = (_Ee2._Hg2); _Wn._Iy[_uU1] = !0 } if (_Ee2._Ig2) { _Wn._Be2[_vU1] = (_Ee2._Ig2); _Wn._Iy[_vU1] = !0 } if (_Ee2._Jg2) { _Wn._Be2[_wU1] = (_Ee2._Jg2); _Wn._Iy[_wU1] = !0 } if (_Ee2._Kg2) { _Wn._Be2[_xU1] = (_Ee2._Kg2); _Wn._Iy[_xU1] = !0 } if (_Ee2._Lg2) { _Wn._Be2[_yU1] = (_Ee2._Lg2); _Wn._Iy[_yU1] = !0 } if (_Ee2._Mg2) { _Wn._Be2[_zU1] = (_Ee2._Mg2); _Wn._Iy[_zU1] = !0 } if (_Ee2._Ng2) { _Wn._Be2[_AU1] = (_Ee2._Ng2); _Wn._Iy[_AU1] = !0 } if (_Ee2._Og2) { _Wn._Be2[_BU1] = (_Ee2._Og2); _Wn._Iy[_BU1] = !0 } if (_Ee2._Pg2) { _Wn._Be2[_CU1] = (_Ee2._Pg2); _Wn._Iy[_CU1] = !0 } if (_Ee2._Qg2) { _Wn._Be2[_DU1] = (_Ee2._Qg2); _Wn._Iy[_DU1] = !0 } if (_Ee2._Rg2) { _Wn._Be2[_EU1] = (_Ee2._Rg2); _Wn._Iy[_EU1] = !0 } if (_Ee2._Sg2) { _Wn._Be2[_FU1] = (_Ee2._Sg2); _Wn._Iy[_FU1] = !0 } if (_Ee2._Tg2) { _Wn._Be2[_GU1] = (_Ee2._Tg2); _Wn._Iy[_GU1] = !0 } if (_Ee2._Ug2) { _Wn._Be2[_HU1] = (_Ee2._Ug2); _Wn._Iy[_HU1] = !0 } if (_Ee2._Vg2) { _Wn._Be2[_IU1] = (_Ee2._Vg2); _Wn._Iy[_IU1] = !0 } if (_Ee2._Wg2) { _Wn._Be2[_JU1] = (_Ee2._Wg2); _Wn._Iy[_JU1] = !0 } if (_Ee2._Xg2) { _Wn._Be2[_KU1] = (_Ee2._Xg2); _Wn._Iy[_KU1] = !0 } if (_Ee2._Yg2) { _Wn._Be2[_LU1] = (_Ee2._Yg2); _Wn._Iy[_LU1] = !0 } if (_Ee2._Zg2) { _Wn._Be2[_MU1] = (_Ee2._Zg2); _Wn._Iy[_MU1] = !0 } if (_Ee2.__g2) { _Wn._Be2[_NU1] = (_Ee2.__g2); _Wn._Iy[_NU1] = !0 } if (_Ee2._0h2) { _Wn._Be2[_OU1] = (_Ee2._0h2); _Wn._Iy[_OU1] = !0 } if (_Ee2._1h2) { _Wn._Be2[_PU1] = (_Ee2._1h2); _Wn._Iy[_PU1] = !0 } if (_Ee2._2h2) { _Wn._Be2[_QU1] = (_Ee2._2h2); _Wn._Iy[_QU1] = !0; } if (_Ee2._3h2) { _Wn._Be2[_RU1] = (_Ee2._3h2); _Wn._Iy[_RU1] = !0 } if (_Ee2._4h2) { _Wn._Be2[_SU1] = (_Ee2._4h2); _Wn._Iy[_SU1] = !0 } if (_Ee2._5h2) { _Wn._Be2[_TU1] = (_Ee2._5h2); _Wn._Iy[_TU1] = !0 } if (_Ee2._6h2) { _Wn._Be2[_UU1] = (_Ee2._6h2); _Wn._Iy[_UU1] = !0 } if (_Ee2._7h2) { _Wn._Be2[_VU1] = (_Ee2._7h2); _Wn._Iy[_VU1] = !0 } if (_Ee2._8h2) { _Wn._Be2[_WU1] = (_Ee2._8h2); _Wn._Iy[_WU1] = !0 } if (_Ee2._9h2) { _Wn._Be2[_XU1] = (_Ee2._9h2); _Wn._Iy[_XU1] = !0 } if (_Ee2._ah2) { _Wn._Be2[_YU1] = (_Ee2._ah2); _Wn._Iy[_YU1] = !0 } if (_Ee2._bh2) { _Wn._Be2[_bV1] = (_Ee2._bh2); _Wn._Iy[_bV1] = !0 } if (_Ee2._ch2) { _Wn._Be2[_cV1] = (_Ee2._ch2); _Wn._Iy[_cV1] = !0 } if (_Ee2._dh2) { _Wn._Be2[_dV1] = (_Ee2._dh2); _Wn._Iy[_dV1] = !0 } if (_Ee2._eh2) { _Wn._Be2[_eV1] = (_Ee2._eh2); _Wn._Iy[_eV1] = !0 } if (_Ee2._fh2) { _Wn._Be2[_fV1] = (_Ee2._fh2); _Wn._Iy[_fV1] = !0 } if (_Ee2._gh2) { _Wn._Be2[_gV1] = (_Ee2._gh2); _Wn._Iy[_gV1] = !0 } if (_Ee2._hh2) { _Wn._Be2[_hV1] = (_Ee2._hh2); _Wn._Iy[_hV1] = !0 } if (_Ee2._ih2) { _Wn._Be2[_iV1] = (_Ee2._ih2); _Wn._Iy[_iV1] = !0 } if (_Ee2._jh2) { _Wn._Be2[_jV1] = (_Ee2._jh2); _Wn._Iy[_jV1] = !0 } if (_Ee2._kh2) { _Wn._Be2[_kV1] = (_Ee2._kh2); _Wn._Iy[_kV1] = !0 } if (_Ee2._lh2) { _Wn._Be2[_lV1] = (_Ee2._lh2); _Wn._Iy[_lV1] = !0 } if (_Ee2._mh2) { _Wn._Be2[_mV1] = (_Ee2._mh2); _Wn._Iy[_mV1] = !0 } if (_Ee2._nh2) { _Wn._Be2[_nV1] = (_Ee2._nh2); _Wn._Iy[_nV1] = !0 } if (_Ee2._oh2) { _Wn._Be2[_oV1] = (_Ee2._oh2); _Wn._Iy[_oV1] = !0 } if (_Ee2._ph2) { _Wn._Be2[_pV1] = (_Ee2._ph2); _Wn._Iy[_pV1] = !0 } if (_Ee2._qh2) { _Wn._Be2[_qV1] = (_Ee2._qh2); _Wn._Iy[_qV1] = !0 } if (_Ee2._rh2) { _Wn._Ae2[_rV1] = (_Ee2._rh2); _Wn._Iy[_rV1] = !0 } if (_Ee2._sh2) { _Wn._Ae2[_tV1] = (_Ee2._sh2); _Wn._Iy[_tV1] = !0 } if (_Ee2._th2) { _Wn._Ae2[_uV1] = (_Ee2._th2); _Wn._Iy[_uV1] = !0 } if (_Ee2._uh2) { _Wn._Ae2[_vV1] = (_Ee2._uh2); _Wn._Iy[_vV1] = !0 } if (_Ee2._vh2) { _Wn._Ae2[_wV1] = (_Ee2._vh2); _Wn._Iy[_wV1] = !0 } if (_Ee2._wh2) { _Wn._Ae2[_xV1] = (_Ee2._wh2); _Wn._Iy[_xV1] = !0 } if (_Ee2._xh2) { _Wn._Ae2[_yV1] = (_Ee2._xh2); _Wn._Iy[_yV1] = !0 } if (_Ee2._yh2) { _Wn._Ae2[_zV1] = (_Ee2._yh2); _Wn._Iy[_zV1] = !0 } if (_Ee2._zh2) { _Wn._Ae2[_AV1] = (_Ee2._zh2); _Wn._Iy[_AV1] = !0 } if (_Ee2._Ah2) { _Wn._Ae2[_BV1] = (_Ee2._Ah2); _Wn._Iy[_BV1] = !0 } if (_Ee2._Bh2) { _Wn._Ae2[_CV1] = (_Ee2._Bh2); _Wn._Iy[_CV1] = !0 } if (_Ee2._Ch2) { _Wn._Ae2[_DV1] = (_Ee2._Ch2); _Wn._Iy[_DV1] = !0 } if (_Ee2._Dh2) { _Wn._Ae2[_EV1] = (_Ee2._Dh2); _Wn._Iy[_EV1] = !0 } if (_Ee2._Eh2) { _Wn._Ae2[_FV1] = (_Ee2._Eh2); _Wn._Iy[_FV1] = !0 } if (_Ee2._Fh2) { _Wn._Ae2[_GV1] = (_Ee2._Fh2); _Wn._Iy[_GV1] = !0 } if (_Ee2._Gh2) { _Wn._Ae2[_HV1] = (_Ee2._Gh2); _Wn._Iy[_HV1] = !0 } if (_Ee2._Hh2) { _Wn._Ae2[_IV1] = (_Ee2._Hh2); _Wn._Iy[_IV1] = !0 } if (_Ee2._Ih2) { _Wn._Ae2[_JV1] = (_Ee2._Ih2); _Wn._Iy[_JV1] = !0 } if (_Ee2._Jh2) { _Wn._Ae2[_KV1] = (_Ee2._Jh2); _Wn._Iy[_KV1] = !0 } if (_Ee2._Kh2) { _Wn._Ae2[_LV1] = (_Ee2._Kh2); _Wn._Iy[_LV1] = !0 } if (_Ee2._Lh2) { _Wn._Ae2[_MV1] = (_Ee2._Lh2); _Wn._Iy[_MV1] = !0 } if (_Ee2._Mh2) { _Wn._Ae2[_NV1] = (_Ee2._Mh2); _Wn._Iy[_NV1] = !0 } if (_Ee2._Nh2) { _Wn._Ae2[_OV1] = (_Ee2._Nh2); _Wn._Iy[_OV1] = !0 } if (_Ee2._Oh2) { _Wn._Ae2[_PV1] = (_Ee2._Oh2); _Wn._Iy[_PV1] = !0 } if (_Ee2._Ph2) { _Wn._Ae2[_QV1] = (_Ee2._Ph2); _Wn._Iy[_QV1] = !0 } if (_Ee2._Qh2) { _Wn._Ae2[_RV1] = (_Ee2._Qh2); _Wn._Iy[_RV1] = !0 } if (_Ee2._Rh2) { _Wn._Ae2[_SV1] = (_Ee2._Rh2); _Wn._Iy[_SV1] = !0 } if (_Ee2._Sh2) { _Wn._Ae2[_TV1] = (_Ee2._Sh2); _Wn._Iy[_TV1] = !0 } if (_Ee2._Th2) { _Wn._Ae2[_UV1] = (_Ee2._Th2); _Wn._Iy[_UV1] = !0 } if (_Ee2._Uh2) { _Wn._Ae2[_VV1] = (_Ee2._Uh2); _Wn._Iy[_VV1] = !0 } if (_Ee2._Vh2) { _Wn._Ae2[_WV1] = (_Ee2._Vh2); _Wn._Iy[_WV1] = !0 } if (_Ee2._Wh2) { _Wn._Ae2[_XV1] = (_Ee2._Wh2); _Wn._Iy[_XV1] = !0 } if (_Ee2._Xh2) { _Wn._Ae2[_YV1] = (_Ee2._Xh2); _Wn._Iy[_YV1] = !0 } if (_Ee2._Yh2) { _Wn._Ae2[_ZV1] = (_Ee2._Yh2); _Wn._Iy[_ZV1] = !0 } if (_Ee2._Zh2) { _Wn._Ae2[__V1] = (_Ee2._Zh2); _Wn._Iy[__V1] = !0 } if (_Ee2.__h2) { _Wn._Ae2[_0W1] = (_Ee2.__h2); _Wn._Iy[_0W1] = !0 } if (_Ee2._0i2) { _Wn._Ae2[_1W1] = (_Ee2._0i2); _Wn._Iy[_1W1] = !0 } if (_Ee2._1i2) { _Wn._Ae2[_2W1] = (_Ee2._1i2); _Wn._Iy[_2W1] = !0 } if (_Ee2._2i2) { _Wn._Ae2[_3W1] = (_Ee2._2i2); _Wn._Iy[_3W1] = !0 } if (_Ee2._3i2) { _Wn._Ae2[_4W1] = (_Ee2._3i2); _Wn._Iy[_4W1] = !0 } if (_Ee2._4i2) { _Wn._Ae2[_5W1] = (_Ee2._4i2); _Wn._Iy[_5W1] = !0 } if (_Ee2._5i2) { _Wn._Ae2[_6W1] = (_Ee2._5i2); _Wn._Iy[_6W1] = !0 } if (_Ee2._6i2) { _Wn._Ae2[_7W1] = (_Ee2._6i2); _Wn._Iy[_7W1] = !0 } if (_Ee2._7i2) { _Wn._Ae2[_8W1] = (_Ee2._7i2); _Wn._Iy[_8W1] = !0 } if (_Ee2._8i2) { _Wn._Ae2[_9W1] = (_Ee2._8i2); _Wn._Iy[_9W1] = !0 } if (_Ee2._9i2) { _Wn._Ae2[_aW1] = (_Ee2._9i2); _Wn._Iy[_aW1] = !0 } if (_Ee2._ai2) { _Wn._Ae2[_bW1] = (_Ee2._ai2); _Wn._Iy[_bW1] = !0 } if (_Ee2._bi2) { _Wn._Ae2[_cW1] = (_Ee2._bi2); _Wn._Iy[_cW1] = !0 } if (_Ee2._ci2) { _Wn._Ae2[_dW1] = (_Ee2._ci2); _Wn._Iy[_dW1] = !0 } if (_Ee2._di2) { _Wn._Ae2[_eW1] = (_Ee2._di2); _Wn._Iy[_eW1] = !0 } if (_Ee2._ei2) { _Wn._Ae2[_fW1] = (_Ee2._ei2); _Wn._Iy[_fW1] = !0 } if (_Ee2._fi2) { _Wn._Ae2[_gW1] = (_Ee2._fi2); _Wn._Iy[_gW1] = !0 } if (_Ee2._gi2) { _Wn._Ae2[_hW1] = (_Ee2._gi2); _Wn._Iy[_hW1] = !0 } if (_Ee2._hi2) { _Wn._Ae2[_iW1] = (_Ee2._hi2); _Wn._Iy[_iW1] = !0 } if (_Ee2._ii2) { _Wn._Ae2[_jW1] = (_Ee2._ii2); _Wn._Iy[_jW1] = !0 } if (_Ee2._ji2) { _Wn._Ae2[_kW1] = (_Ee2._ji2); _Wn._Iy[_kW1] = !0 } if (_Ee2._ki2) { _Wn._Ae2[_lW1] = (_Ee2._ki2); _Wn._Iy[_lW1] = !0 } if (_Ee2._li2) { _Wn._Ae2[_mW1] = (_Ee2._li2); _Wn._Iy[_mW1] = !0 } if (_Ee2._mi2) { _Wn._Ae2[_nW1] = (_Ee2._mi2); _Wn._Iy[_nW1] = !0 } if (_Ee2._ni2) { _Wn._Ae2[_oW1] = (_Ee2._ni2); _Wn._Iy[_oW1] = !0 } if (_Ee2._oi2) { _Wn._Ae2[_pW1] = (_Ee2._oi2); _Wn._Iy[_pW1] = !0 } if (_Ee2._pi2) { _Wn._Ae2[_qW1] = (_Ee2._pi2); _Wn._Iy[_qW1] = !0 } if (_Ee2._qi2) { _Wn._Ae2[_rW1] = (_Ee2._qi2); _Wn._Iy[_rW1] = !0 } if (_Ee2._ri2) { _Wn._Ae2[_sW1] = (_Ee2._ri2); _Wn._Iy[_sW1] = !0 } if (_Ee2._si2) { _Wn._Ae2[_tW1] = (_Ee2._si2); _Wn._Iy[_tW1] = !0 } if (_Ee2._ti2) { _Wn._Ae2[_uW1] = (_Ee2._ti2); _Wn._Iy[_uW1] = !0 } if (_Ee2._ui2) { _Wn._Ae2[_vW1] = (_Ee2._ui2); _Wn._Iy[_vW1] = !0 } if (_Ee2._vi2) { _Wn._Ae2[_wW1] = (_Ee2._vi2); _Wn._Iy[_wW1] = !0 } if (_Ee2._wi2) { _Wn._Ae2[_xW1] = (_Ee2._wi2); _Wn._Iy[_xW1] = !0 } if (_Ee2._xi2) { _Wn._Ae2[_LW1] = (_Ee2._xi2); _Wn._Iy[_LW1] = !0 } if (_Ee2._yi2) { _Wn._Ae2[_MW1] = (_Ee2._yi2); _Wn._Iy[_MW1] = !0 } if (_Ee2._zi2) { _Wn._Ae2[_NW1] = (_Ee2._zi2); _Wn._Iy[_NW1] = !0 } if (_Ee2._Ai2) { _Wn._Ae2[_OW1] = (_Ee2._Ai2); _Wn._Iy[_OW1] = !0 } if (_Ee2._Bi2) { _Wn._Ae2[_PW1] = (_Ee2._Bi2); _Wn._Iy[_PW1] = !0 } if (_Ee2._Ci2) { _Wn._Ae2[_QW1] = (_Ee2._Ci2); _Wn._Iy[_QW1] = !0 } if (_Ee2._Di2) { _Wn._Ae2[_RW1] = (_Ee2._Di2); _Wn._Iy[_RW1] = !0 } if (_Ee2._Ei2) { _Wn._Ae2[_SW1] = (_Ee2._Ei2); _Wn._Iy[_SW1] = !0 } if (_Ee2._Fi2) { _Wn._Ae2[_TW1] = (_Ee2._Fi2); _Wn._Iy[_TW1] = !0 } if (_Ee2._Gi2) { _Wn._Ae2[_UW1] = (_Ee2._Gi2); _Wn._Iy[_UW1] = !0 } if (_Ee2._Hi2) { _Wn._Ae2[_VW1] = (_Ee2._Hi2); _Wn._Iy[_VW1] = !0 } if (_Ee2._Ii2) { _Wn._Ae2[_WW1] = (_Ee2._Ii2); _Wn._Iy[_WW1] = !0 } if (_Ee2._Ji2) { _Wn._Ae2[_XW1] = (_Ee2._Ji2); _Wn._Iy[_XW1] = !0; } if (_Ee2._Ki2) { _Wn._Ae2[_YW1] = (_Ee2._Ki2); _Wn._Iy[_YW1] = !0 } if (_Ee2._Li2) { _Wn._Ae2[_ZW1] = (_Ee2._Li2); _Wn._Iy[_ZW1] = !0 } if (_Ee2._Mi2) { _Wn._Ae2[__W1] = (_Ee2._Mi2); _Wn._Iy[__W1] = !0 } if (_Ee2._Ni2) { _Wn._Ce2[_0X1] = (_Ee2._Ni2); _Wn._Iy[_0X1] = !0 } if (_Ee2._Oi2) { _Wn._Ce2[_2X1] = (_Ee2._Oi2); _Wn._Iy[_2X1] = !0 } if (_Ee2._Pi2) { _Wn._Ce2[_3X1] = (_Ee2._Pi2); _Wn._Iy[_3X1] = !0; } if (_Ee2._Qi2) { _Wn._Ce2[_4X1] = (_Ee2._Qi2); _Wn._Iy[_4X1] = !0 } if (_Ee2._Ri2) { _Wn._Ce2[_5X1] = (_Ee2._Ri2); _Wn._Iy[_5X1] = !0 } if (_Ee2._Si2) { _Wn._Ce2[_6X1] = (_Ee2._Si2); _Wn._Iy[_6X1] = !0 } if (_Ee2._Ti2) { _Wn._Ce2[_7X1] = (_Ee2._Ti2); _Wn._Iy[_7X1] = !0 } if (_Ee2._Ui2) { _Wn._Ce2[_8X1] = (_Ee2._Ui2); _Wn._Iy[_8X1] = !0 } if (_Ee2._Vi2) { _Wn._Ce2[_9X1] = (_Ee2._Vi2); _Wn._Iy[_9X1] = !0 } if (_Ee2._Wi2) { _Wn._Ce2[_aX1] = (_Ee2._Wi2); _Wn._Iy[_aX1] = !0 } if (_Ee2._Xi2) { _Wn._Ce2[_bX1] = (_Ee2._Xi2); _Wn._Iy[_bX1] = !0 } if (_Ee2._Yi2) { _Wn._Ce2[_cX1] = (_Ee2._Yi2); _Wn._Iy[_cX1] = !0 } if (_Ee2._Zi2) { _Wn._Ce2[_dX1] = (_Ee2._Zi2); _Wn._Iy[_dX1] = !0 } if (_Ee2.__i2) { _Wn._Ce2[_eX1] = (_Ee2.__i2); _Wn._Iy[_eX1] = !0 } if (_Ee2._0j2) { _Wn._Ce2[_fX1] = (_Ee2._0j2); _Wn._Iy[_fX1] = !0 } if (_Ee2._1j2) { _Wn._Ce2[_gX1] = (_Ee2._1j2); _Wn._Iy[_gX1] = !0 } if (_Ee2._2j2) { _Wn._Ce2[_hX1] = (_Ee2._2j2); _Wn._Iy[_hX1] = !0 } if (_Ee2._3j2) { _Wn._Ce2[_iX1] = (_Ee2._3j2); _Wn._Iy[_iX1] = !0 } if (_Ee2._4j2) { _Wn._Ce2[_jX1] = (_Ee2._4j2); _Wn._Iy[_jX1] = !0 } if (_Ee2._5j2) { _Wn._Ce2[_kX1] = (_Ee2._5j2); _Wn._Iy[_kX1] = !0 } if (_Ee2._6j2) { _Wn._Ce2[_lX1] = (_Ee2._6j2); _Wn._Iy[_lX1] = !0 } if (_Ee2._7j2) { _Wn._Ce2[_mX1] = (_Ee2._7j2); _Wn._Iy[_mX1] = !0 } if (_Ee2._8j2) { _Wn._Ce2[_nX1] = (_Ee2._8j2); _Wn._Iy[_nX1] = !0 } if (_Ee2._9j2) { _Wn._Ce2[_oX1] = (_Ee2._9j2); _Wn._Iy[_oX1] = !0 } if (_Ee2._aj2) { _Wn._Ce2[_pX1] = (_Ee2._aj2); _Wn._Iy[_pX1] = !0 } if (_Ee2._bj2) { _Wn._Ce2[_qX1] = (_Ee2._bj2); _Wn._Iy[_qX1] = !0 } if (_Ee2._cj2) { _Wn._Ce2[_rX1] = (_Ee2._cj2); _Wn._Iy[_rX1] = !0; } if (_Ee2._dj2) { _Wn._Ce2[_sX1] = (_Ee2._dj2); _Wn._Iy[_sX1] = !0 } if (_Ee2._ej2) { _Wn._Ce2[_tX1] = (_Ee2._ej2); _Wn._Iy[_tX1] = !0 } if (_Ee2._fj2) { _Wn._Ce2[_uX1] = (_Ee2._fj2); _Wn._Iy[_uX1] = !0 } if (_Ee2._gj2) { _Wn._Ce2[_vX1] = (_Ee2._gj2); _Wn._Iy[_vX1] = !0 } if (_Ee2._hj2) { _Wn._Ce2[_wX1] = (_Ee2._hj2); _Wn._Iy[_wX1] = !0 } if (_Ee2._ij2) { _Wn._Ce2[_xX1] = (_Ee2._ij2); _Wn._Iy[_xX1] = !0 } if (_Ee2._jj2) { _Wn._Ce2[_yX1] = (_Ee2._jj2); _Wn._Iy[_yX1] = !0 } if (_Ee2._kj2) { _Wn._Ce2[_zX1] = (_Ee2._kj2); _Wn._Iy[_zX1] = !0 } if (_Ee2._lj2) { _Wn._Ce2[_AX1] = (_Ee2._lj2); _Wn._Iy[_AX1] = !0 } if (_Ee2._mj2) { _Wn._Ce2[_BX1] = (_Ee2._mj2); _Wn._Iy[_BX1] = !0 } if (_Ee2._nj2) { _Wn._Ce2[_CX1] = (_Ee2._nj2); _Wn._Iy[_CX1] = !0 } if (_Ee2._oj2) { _Wn._Ce2[_DX1] = (_Ee2._oj2); _Wn._Iy[_DX1] = !0 } if (_Ee2._pj2) { _Wn._Ce2[_EX1] = (_Ee2._pj2); _Wn._Iy[_EX1] = !0 } if (_Ee2._qj2) { _Wn._Ce2[_FX1] = (_Ee2._qj2); _Wn._Iy[_FX1] = !0 } if (_Ee2._rj2) { _Wn._Ce2[_GX1] = (_Ee2._rj2); _Wn._Iy[_GX1] = !0 } if (_Ee2._sj2) { _Wn._Ce2[_HX1] = (_Ee2._sj2); _Wn._Iy[_HX1] = !0 } if (_Ee2._tj2) { _Wn._Ce2[_IX1] = (_Ee2._tj2); _Wn._Iy[_IX1] = !0 } if (_Ee2._uj2) { _Wn._Ce2[_JX1] = (_Ee2._uj2); _Wn._Iy[_JX1] = !0 } if (_Ee2._vj2) { _Wn._Ce2[_KX1] = (_Ee2._vj2); _Wn._Iy[_KX1] = !0; } if (_Ee2._wj2) { _Wn._Ce2[_LX1] = (_Ee2._wj2); _Wn._Iy[_LX1] = !0 } if (_Ee2._xj2) { _Wn._Ce2[_MX1] = (_Ee2._xj2); _Wn._Iy[_MX1] = !0 } if (_Ee2._yj2) { _Wn._Ce2[_NX1] = (_Ee2._yj2); _Wn._Iy[_NX1] = !0 } if (_Ee2._zj2) { _Wn._Ce2[_OX1] = (_Ee2._zj2); _Wn._Iy[_OX1] = !0 } if (_Ee2._Aj2) { _Wn._Ce2[_PX1] = (_Ee2._Aj2); _Wn._Iy[_PX1] = !0 } if (_Ee2._Bj2) { _Wn._Ce2[_QX1] = (_Ee2._Bj2); _Wn._Iy[_QX1] = !0 } if (_Ee2._Cj2) { _Wn._Ce2[_RX1] = (_Ee2._Cj2); _Wn._Iy[_RX1] = !0 } if (_Ee2._Dj2) { _Wn._Ce2[_SX1] = (_Ee2._Dj2); _Wn._Iy[_SX1] = !0 } if (_Ee2._Ej2) { _Wn._Ce2[_TX1] = (_Ee2._Ej2); _Wn._Iy[_TX1] = !0 } if (_Ee2._Fj2) { _Wn._Ce2[_UX1] = (_Ee2._Fj2); _Wn._Iy[_UX1] = !0 } if (_Ee2._Gj2) { _Wn._Ce2[_VX1] = (_Ee2._Gj2); _Wn._Iy[_VX1] = !0 } if (_Ee2._Hj2) { _Wn._Ce2[_WX1] = (_Ee2._Hj2); _Wn._Iy[_WX1] = !0 } if (_Ee2._Ij2) { _Wn._Ce2[_XX1] = (_Ee2._Ij2); _Wn._Iy[_XX1] = !0 } if (_Ee2._Jj2) { _Wn._Ce2[_YX1] = (_Ee2._Jj2); _Wn._Iy[_YX1] = !0 } if (_Ee2._Kj2) { _Wn._Ce2[_ZX1] = (_Ee2._Kj2); _Wn._Iy[_ZX1] = !0 } if (_Ee2._Lj2) { _Wn._Ce2[__X1] = (_Ee2._Lj2); _Wn._Iy[__X1] = !0 } if (_Ee2._Mj2) { _Wn._Ce2[_0Y1] = (_Ee2._Mj2); _Wn._Iy[_0Y1] = !0 } if (_Ee2._Nj2) { _Wn._Ce2[_1Y1] = (_Ee2._Nj2); _Wn._Iy[_1Y1] = !0 } if (_Ee2._Oj2) { _Wn._Ce2[_2Y1] = (_Ee2._Oj2); _Wn._Iy[_2Y1] = !0; } if (_Ee2._Pj2) { _Wn._Ce2[_3Y1] = (_Ee2._Pj2); _Wn._Iy[_3Y1] = !0 } if (_Ee2._Qj2) { _Wn._Ce2[_4Y1] = (_Ee2._Qj2); _Wn._Iy[_4Y1] = !0 } if (_Ee2._Rj2) { _Wn._Ce2[_5Y1] = (_Ee2._Rj2); _Wn._Iy[_5Y1] = !0 } if (_Ee2._Sj2) { _Wn._Ce2[_6Y1] = (_Ee2._Sj2); _Wn._Iy[_6Y1] = !0 } if (_Ee2._Tj2) { _Wn._Ce2[_kY1] = (_Ee2._Tj2); _Wn._Iy[_kY1] = !0 } if (_Ee2._Uj2) { _Wn._Ce2[_lY1] = (_Ee2._Uj2); _Wn._Iy[_lY1] = !0 } if (_Ee2._Vj2) { _Wn._Ce2[_mY1] = (_Ee2._Vj2); _Wn._Iy[_mY1] = !0 } if (_Ee2._Wj2) { _Wn._Ce2[_nY1] = (_Ee2._Wj2); _Wn._Iy[_nY1] = !0 } if (_Ee2._Xj2) { _Wn._Ce2[_oY1] = (_Ee2._Xj2); _Wn._Iy[_oY1] = !0 } if (_Ee2._Yj2) { _Wn._Ce2[_pY1] = (_Ee2._Yj2); _Wn._Iy[_pY1] = !0 } if (_Ee2._Zj2) { _Wn._Ce2[_qY1] = (_Ee2._Zj2); _Wn._Iy[_qY1] = !0 } if (_Ee2.__j2) { _Wn._Ce2[_rY1] = (_Ee2.__j2); _Wn._Iy[_rY1] = !0 } if (_Ee2._0k2) { _Wn._Ce2[_sY1] = (_Ee2._0k2); _Wn._Iy[_sY1] = !0 } if (_Ee2._1k2) { _Wn._Ce2[_tY1] = (_Ee2._1k2); _Wn._Iy[_tY1] = !0 } if (_Ee2._2k2) { _Wn._Ce2[_uY1] = (_Ee2._2k2); _Wn._Iy[_uY1] = !0 } if (_Ee2._3k2) { _Wn._Ce2[_vY1] = (_Ee2._3k2); _Wn._Iy[_vY1] = !0 } if (_Ee2._4k2) { _Wn._Ce2[_wY1] = (_Ee2._4k2); _Wn._Iy[_wY1] = !0 } if (_Ee2._5k2) { _Wn._Ce2[_xY1] = (_Ee2._5k2); _Wn._Iy[_xY1] = !0 } if (_Ee2._6k2) { _Wn._Ce2[_yY1] = (_Ee2._6k2); _Wn._Iy[_yY1] = !0 } if (_Ee2._7k2) { _Wn._Ce2[_zY1] = (_Ee2._7k2); _Wn._Iy[_zY1] = !0 } var _u2 = 0; if (_Ee2._O2 != undefined) { while (_u2 < _Ee2._O2.length) { var _OC = parseInt(_Ee2._O2[_u2]) + 1; var _xw = _Ee2._O2[_u2 + 1]; var _8k2 = _hZ1._hn(_OC); _Wn._Iy[_UQ1] = !0; _Wn._Iy[_UQ1 | _OC] = !0; var _9k2 = new _qe2(); _9k2._re2 = _xw; _9k2._te2 = _8k2; _9k2._se2 = _OC; _Wn._C2[_UQ1 | _OC] = _9k2; _u2 += 2 } } _u2 = 0; if (_Ee2._P2 != undefined) { while (_u2 < _Ee2._P2.length) { _Wn._Iy[_dB1] = !0; var _OC = parseInt(_Ee2._P2[_u2]); var _Es1 = _Ee2._P2[_u2 + 1]; var _ak2 = new _ue2(); _ak2._re2 = _Es1; _ak2._bk2 = !1; _ak2._V32 = this; _Wn._812[_OC] = _ak2; _u2 += 2 } } if (_Ee2._PA1 != undefined) { _Wn._xa2._PA1 = _Ee2._PA1; _Wn._xa2._Ka2 = _Ee2._Ka2; _Wn._xa2._Ca2 = _Ee2._Ca2; _Wn._xa2._Ma2 = _Ee2._Ma2; _Wn._xa2._Na2 = _Ee2._Na2; _Wn._xa2._La2 = _Ee2._La2; _Wn._xa2._Ja2 = _Ee2._Ja2; _Wn._xa2._Ia2 = _Ee2._Ia2; _Wn._xa2._Oa2 = _Ee2._Oa2; _Wn._xa2._Pa2 = _Ee2._Pa2; _Wn._xa2._Qa2 = _Ee2._Qa2; _Wn._xa2._Fa2 = _Ee2._Fa2 } } return _Wn } _iB1.prototype._Se = function(_vw, index, _Ay, _0b2) { if (_7J != -1) { return } var _ck2 = _RZ1; var _dk2 = _SZ1; var _ek2 = _QZ1; var _fk2 = _io; _QZ1 = this; _RZ1 = _vw; _SZ1 = index; _io = !1; var _n31 = !0; switch (_vw) { case _vE: if (this._I2) this._I2(_Ay, _0b2); else _n31 = !1; break; case _wE: if (this._n3) this._n3(_Ay, _0b2); else _n31 = !1; break; case _IO1: _n31 = !1; break; case _OQ1: _n31 = !1; break; case _dB1: if (this._812[index]) this._812[index]._re2(_Ay, _0b2); break; case _PQ1: if (this._Ae2[_vw | index]) this._Ae2[_vw | index](_Ay, _0b2); else _n31 = !1; break; case _QQ1: _n31 = !1; break; case _JN1: _n31 = !1; break; case _RQ1: if (this._M2) this._M2(_Ay, _0b2); else _n31 = !1; break; case _SQ1: if (this._Be2[_vw | index]) this._Be2[_vw | index](_Ay, _0b2); else _n31 = !1; break; case _TQ1: if (this._Ce2[_vw | index]) this._Ce2[_vw | index](_Ay, _0b2); else _n31 = !1; break; case _UQ1: if (this._C2[_vw | index]) { var _gk2 = this._C2[_vw | index]; var _9k2 = _gk2._te2; var _Ev = _9k2._xw(_Ay, _0b2); if (_Ev | _vZ1) { _gk2._re2(_Ay, _0b2) } } break; case _DR1: if (this._He2) this._He2(_Ay, _0b2); else _n31 = !1; break; case _FR1: if (this._Ie2) this._Ie2(_Ay, _0b2); else _n31 = !1; break; case _GR1: if (this._Je2) this._Je2(_Ay, _0b2); else _n31 = !1; break; case _HR1: if (this._Ke2) this._Ke2(_Ay, _0b2); else _n31 = !1; break; case _IR1: if (this._Le2) this._Le2(_Ay, _0b2); else _n31 = !1; break; case _JR1: if (this._Me2) this._Me2(_Ay, _0b2); else _n31 = !1; break; case _KR1: if (this._Ne2) this._Ne2(_Ay, _0b2); else _n31 = !1; break; case _ER1: if (this._Oe2) this._Oe2(_Ay, _0b2); else _n31 = !1; break; case _WQ1: if (this._Fe2) this._Fe2(_Ay, _0b2); else _n31 = !1; break; case _VQ1: if (this._K2) this._K2(_Ay, _0b2); else _n31 = !1; break; case _XQ1: if (this._Ge2) this._Ge2(_Ay, _0b2); else _n31 = !1; break; case _GN1: if (this._8f2) this._8f2(_Ay, _0b2); else _n31 = !1; break; case _KN1: if (this._9f2) this._9f2(_Ay, _0b2); else _n31 = !1; break; case _YQ1: if (this._af2) this._af2(_Ay, _0b2); else _n31 = !1; break; case _ZQ1: if (this._bf2) this._bf2(_Ay, _0b2); else _n31 = !1; break; case __Q1: if (this._cf2) this._cf2(_Ay, _0b2); else _n31 = !1; break; case _0R1: if (this._df2) this._df2(_Ay, _0b2); else _n31 = !1; break; case _1R1: if (this._ef2) this._ef2(_Ay, _0b2); else _n31 = !1; break; case _2R1: if (this._ff2) this._ff2(_Ay, _0b2); else _n31 = !1; break; case _SA1: if (this._gf2) this._gf2(_Ay, _0b2); else _n31 = !1; break; case _3R1: if (this._hf2) this._hf2(_Ay, _0b2); else _n31 = !1; break; case _4R1: if (this._if2) this._if2(_Ay, _0b2); else _n31 = !1; break; case _QN1: if (this._jf2) this._jf2(_Ay, _0b2); else _n31 = !1; break; case _lR1: if (this._kf2) this._kf2(_Ay, _0b2); else _n31 = !1; break; case _mR1: if (this._lf2) this._lf2(_Ay, _0b2); else _n31 = !1; break; case _nR1: if (this._mf2) this._mf2(_Ay, _0b2); else _n31 = !1; break; case _oR1: if (this._nf2) this._nf2(_Ay, _0b2); else _n31 = !1; break; case _pR1: if (this._of2) this._of2(_Ay, _0b2); else _n31 = !1; break; case _qR1: if (this._pf2) this._pf2(_Ay, _0b2); else _n31 = !1; break; case _rR1: if (this._qf2) this._qf2(_Ay, _0b2); else _n31 = !1; break; case _RN1: if (this._rf2) this._rf2(_Ay, _0b2); else _n31 = !1; break; case _sR1: if (this._sf2) this._sf2(_Ay, _0b2); else _n31 = !1; break; case _tR1: if (this._tf2) this._tf2(_Ay, _0b2); else _n31 = !1; break; case _uR1: if (this._uf2) this._uf2(_Ay, _0b2); else _n31 = !1; break; case _vR1: if (this._vf2) this._vf2(_Ay, _0b2); else _n31 = !1; break; case _wR1: if (this._wf2) this._wf2(_Ay, _0b2); else _n31 = !1; break; case _xR1: if (this._xf2) this._xf2(_Ay, _0b2); else _n31 = !1; break; case _yR1: if (this._yf2) this._yf2(_Ay, _0b2); else _n31 = !1; break; case _Te: if (this._zf2) this._zf2(_Ay, _0b2); else _n31 = !1; break; case _zR1: if (this._Qf2) this._Qf2(_Ay, _0b2); else _n31 = !1; break; case _AR1: if (this._Rf2) this._Rf2(_Ay, _0b2); else _n31 = !1; break; case _BR1: if (this._Sf2) this._Sf2(_Ay, _0b2); else _n31 = !1; break; case _CR1: if (this._Tf2) this._Tf2(_Ay, _0b2); else _n31 = !1; break; case _4E: if (this._Uf2) this._Uf2(_Ay, _0b2); else _n31 = !1; break; case _LR1: if (this._Vf2) this._Vf2(_Ay, _0b2); else _n31 = !1; break; case _kM1: if (this._Wf2) this._Wf2(_Ay, _0b2); else _n31 = !1; break; case _wL: if (this._Xf2) this._Xf2(_Ay, _0b2); else _n31 = !1; break; case _5R1: if (this._Af2) this._Af2(_Ay, _0b2); else _n31 = !1; break; case _6R1: if (this._Bf2) this._Bf2(_Ay, _0b2); else _n31 = !1; break; case _7R1: if (this._Cf2) this._Cf2(_Ay, _0b2); else _n31 = !1; break; case _8R1: if (this._Df2) this._Df2(_Ay, _0b2); else _n31 = !1; break; case _9R1: if (this._Ef2) this._Ef2(_Ay, _0b2); else _n31 = !1; break; case _aR1: if (this._Ff2) this._Ff2(_Ay, _0b2); else _n31 = !1; break; case _bR1: if (this._Gf2) this._Gf2(_Ay, _0b2); else _n31 = !1; break; case _cR1: if (this._Hf2) this._Hf2(_Ay, _0b2); else _n31 = !1; break; case _dR1: if (this._If2) this._If2(_Ay, _0b2); else _n31 = !1; break; case _eR1: if (this._Jf2) this._Jf2(_Ay, _0b2); else _n31 = !1; break; case _fR1: if (this._Kf2) this._Kf2(_Ay, _0b2); else _n31 = !1; break; case _gR1: if (this._Lf2) this._Lf2(_Ay, _0b2); else _n31 = !1; break; case _hR1: if (this._Mf2) this._Mf2(_Ay, _0b2); else _n31 = !1; break; case _iR1: if (this._Nf2) this._Nf2(_Ay, _0b2); else _n31 = !1; break; case _jR1: if (this._Of2) this._Of2(_Ay, _0b2); else _n31 = !1; break; case _kR1: if (this._Pf2) this._Pf2(_Ay, _0b2); else _n31 = !1; break; case _iO1: if (this._Pe2) this._Pe2(_Ay, _0b2); else _n31 = !1; break; case _9O1: if (this._Qe2) this._Qe2(_Ay, _0b2); else _n31 = !1; break; case _bO1: if (this._Re2) this._Re2(_Ay, _0b2); else _n31 = !1; break; case _aO1: if (this._Se2) this._Se2(_Ay, _0b2); else _n31 = !1; break; case _cO1: if (this._a3) this._a3(_Ay, _0b2); else _n31 = !1; break; case _eO1: if (this._Te2) this._Te2(_Ay, _0b2); else _n31 = !1; break; case _dO1: if (this._Ue2) this._Ue2(_Ay, _0b2); else _n31 = !1; break; case _fO1: if (this._Ve2) this._Ve2(_Ay, _0b2); else _n31 = !1; break; case _hO1: if (this._We2) this._We2(_Ay, _0b2); else _n31 = !1; break; case _gO1: if (this._Xe2) this._Xe2(_Ay, _0b2); else _n31 = !1; break; case _lO1: if (this._Ye2) this._Ye2(_Ay, _0b2); else _n31 = !1; break; case _mO1: if (this._Ze2) this._Ze2(_Ay, _0b2); else _n31 = !1; break; case _sO1: if (this._X2) this._X2(_Ay, _0b2); else _n31 = !1; break; case _MR1: if (this.__e2) this.__e2(_Ay, _0b2); else _n31 = !1; break; case _NR1: if (this._0f2) this._0f2(_Ay, _0b2); else _n31 = !1; break; case _tO1: if (this._1f2) this._1f2(_Ay, _0b2); else _n31 = !1; break; case _OR1: if (this._2f2) this._2f2(_Ay, _0b2); else _n31 = !1; break; case _PR1: if (this._3f2) this._3f2(_Ay, _0b2); else _n31 = !1; break; case _uO1: if (this._V2) this._V2(_Ay, _0b2); else _n31 = !1; break; case _QR1: if (this._4f2) this._4f2(_Ay, _0b2); else _n31 = !1; break; case _RR1: if (this._5f2) this._5f2(_Ay, _0b2); else _n31 = !1; break; case _jO1: if (this._6f2) this._6f2(_Ay, _0b2); else _n31 = !1; break; case _kO1: if (this._7f2) this._7f2(_Ay, _0b2); else _n31 = !1; break; case _SR1: if (this._ze2[0] != null) this._ze2[0](_Ay, _0b2); else _n31 = !1; break; case _TR1: if (this._ze2[1] != null) this._ze2[1](_Ay, _0b2); else _n31 = !1; break; case _UR1: if (this._ze2[2] != null) this._ze2[2](_Ay, _0b2); else _n31 = !1; break; case _VR1: if (this._ze2[3] != null) this._ze2[3](_Ay, _0b2); else _n31 = !1; break; case _WR1: if (this._ze2[4] != null) this._ze2[4](_Ay, _0b2); else _n31 = !1; break; case _XR1: if (this._ze2[5] != null) this._ze2[5](_Ay, _0b2); else _n31 = !1; break; case _YR1: if (this._ze2[6] != null) this._ze2[6](_Ay, _0b2); else _n31 = !1; break; case _ZR1: if (this._ze2[7] != null) this._ze2[7](_Ay, _0b2); else _n31 = !1; break; case __R1: if (this._ze2[8] != null) this._ze2[8](_Ay, _0b2); else _n31 = !1; break; case _0S1: if (this._ze2[9] != null) this._ze2[9](_Ay, _0b2); else _n31 = !1; break; case _1S1: if (this._ze2[10] != null) this._ze2[10](_Ay, _0b2); else _n31 = !1; break; case _2S1: if (this._ze2[11] != null) this._ze2[11](_Ay, _0b2); else _n31 = !1; break; default: _n31 = !1 } _io = _fk2; _RZ1 = _ck2; _SZ1 = _dk2; _QZ1 = _ek2; return _n31 }; _iB1.prototype._ra2 = function(_rE) { this._nO1._yn(_rE); var _Wn = this; while (_Wn != null) { _Wn._dy._yn(_rE); _Wn = _Wn._sv } }; _iB1.prototype._qa2 = function(_rE) { this._nO1._H32(_rE); var _hk2 = this; while (_hk2 != null) { _hk2._dy._H32(_rE); _hk2 = _hk2._sv } }; _iB1.prototype._ik2 = function(_vw, _IL) { if (!this._Iy[_vw | _IL]) return; var _Hn = this._dy._Hn; for (var _u2 = 0; _u2 < _Hn.length; _u2++) { var _jE = _Hn[_u2]; this._Se(_vw, _IL, _jE, _jE) } }; function _p02() { this._jk2 = []; this._zB1 = []; this.length = 0 } _p02.prototype._aG = function() { return this._zB1 }; _p02.prototype._yn = function(_kk2) { this.length++; this._jk2[_kk2._Y02] = _kk2; this._zB1[_kk2._TE] = _kk2 }; _p02.prototype._hn = function(_De2) { return this._zB1[_De2] }; _p02.prototype._NE = function(_dn) { if (!this._zB1[_dn]) return !1; else return !0 }; _p02.prototype._vL = function(_vw, _IL) { for (var _kx = 0; _kx < _cy._zB1.length; _kx++) { var _Wn = _cy._zB1[_kx]; if (_Wn._Iy[_vw | _IL]) { _Wn._ik2(_vw | _IL) } } }; _p02.prototype._p12 = function() { var _Hn = this._zB1; for (var index = 0; index < _Hn.length; index++) { var _Wn = _Hn[index]; _Wn._sv = _cy._hn(_Wn._RE); if (!_Wn._sv) _Wn._sv = null; for (var e = 0; e < _Wn._Iy.length; e++) { var _NP1 = _Wn._Iy[e]; if (_NP1) { _Wn._FN1[e] = !0 } } } for (var index = 0; index < _Hn.length; index++) { var _ea2 = _Hn[index]; var _Wn = _ea2._sv; while (_Wn != null) { for (var e = 0; e < _Wn._Iy.length; e++) { var _NP1 = _Wn._Iy[e]; if (_NP1) { _ea2._FN1[e] = !0 } } _Wn = _Wn._sv } } }; function _26(_De2) { if (_De2 === _BF) { return _ke._aG().slice(0) } var _Wn = _cy._hn(_De2); if (_Wn != null) { return _Wn._dy._Hn.slice(0) } var _jE = _3E._hn(_De2); if (_jE != null) { var _wf = []; _wf[0] = _jE; return _wf } return null } function _lk2() { this._Hn = []; this.length = 0; this._fg = 0; this._mk2 = -1 } _lk2.prototype._hn = function(_IL) { return this._Hn[_IL] }; _lk2.prototype._yn = function(_F32) { for (var _u2 = 0; _u2 < this._Hn.length; _u2++) { if (_F32._H2 < this._Hn[_u2]._H2) { this._Hn.splice(_u2, 0, _F32); this._fg++; this.length = this._Hn.length; return _u2; } } this._Hn[this._Hn.length] = _F32; this._fg++; this.length = this._Hn.length; return this.length - 1 }; _lk2.prototype._nk2 = function(_F32) { if (this._mk2 < 0) { this._mk2 = this._Hn.length } this._Hn[this._Hn.length] = _F32; this._fg++; this.length = this._Hn.length; return this.length - 1 }; _lk2.prototype._oe2 = function(_F32) { var _u2 = this._mk2; if (_u2 < 0) return; var _An = []; while (_u2 < this._Hn.length) { _An[_An.length] = this._Hn[_u2]; _u2++ } this._Hn.splice(this._mk2, this._Hn.length - this._mk2); for (_u2 = 0; _u2 < _An.length; _u2++) { this._yn(_An[_u2]) } this._mk2 = -1; }; _lk2.prototype._IQ = function(_F32) { for (var _u2 = 0; _u2 < this._Hn.length; _u2++) { if (_F32 == this._Hn[_u2]) { this._Hn.splice(_u2, 1); this._fg--; this.length = this._Hn.length; return !0 } } return !1 }; _lk2.prototype._am = function() { this._Hn = []; this.length = this._fg = 0 }; _lk2.prototype._hn = function(_IL) { return this._Hn[_IL] }; _lk2.prototype._9n = function(_an) { this._Hn = _an._Hn.slice(); this.length = _an.length; this._fg = _an._fg; this._mk2 = _an._mk2 }; var _ok2 = 0, _pk2 = 1, _qk2 = 2, _rN1 = 3, _lN1 = 4, _rk2 = 5, _dN1 = 6, _sk2 = 7, _gN1 = 8, _nN1 = 9, _aN1 = 10, _tk2 = 11, _uk2 = 12, _uN1 = 13, _vk2 = 14, _wk2 = 0, _xk2 = 1, _yk2 = 2, _zk2 = 3, _Ak2 = 4, _Bk2 = 5, _Ck2 = 0, _Dk2 = 1, _Ek2 = 2, _Fk2 = 0, _Gk2 = 1, _Hk2 = 2, _Ik2 = 3; function _Jk2() { this._8V = _Kk2; this._am = _Kk2; this._8V() } function _Kk2() { this.__type = "[ParticleType]"; this._Lk2 = !0; this._Mk2 = -1; this._Nk2 = !0; this._Ok2 = !1; this._Pk2 = !1; this._BV = _ok2; this._Qk2 = 1.0; this._Rk2 = 1.0; this._Sk2 = 0.0; this._Tk2 = 0.0; this._842 = 1.0; this._942 = 1.0; this._Uk2 = 100; this._Vk2 = 100; this._Wk2 = 0; this._Xk2 = 0; this._Yk2 = 0; this._Zk2 = 0; this.__k2 = 0.0; this._0l2 = 0.0; this._1l2 = 0.0; this._2l2 = 0.0; this._3l2 = 0.0; this._4l2 = 0.0; this._5l2 = 0.0; this._6l2 = 0.0; this._7l2 = 0.0; this._8l2 = 0.0; this._9l2 = 0.0; this._al2 = 0.0; this._bl2 = 0.0; this._cl2 = 0.0; this._dl2 = 270.0; this._el2 = _wk2; this._fl2 = []; this._fl2[0] = _VY1; this._fl2[1] = _VY1; this._fl2[2] = _VY1; this._gl2 = 1.0; this._hl2 = 1.0; this._il2 = 1.0; this._jl2 = !1 } function _kl2() { this._am = _ll2; this._8V = _ll2; this._8V() } function _ll2() { this._Lk2 = !0; this._Av1 = 0; this._ml2 = 0; this._bb2 = 0.0; this._cb2 = 0.0; this._db2 = 0.0; this._eb2 = 0.0; this._BV = _Fk2; this._nl2 = _Ck2 } function _ol2() { this._pl2 = !1; this._ml2 = 0; this._ql2 = 0; this._rl2 = 0; this._w2 = 0; this._x2 = 0; this._Rc = 0; this._sl2 = 0; this._B72 = 0; this._Ng = 0xffffff; this.alpha = 1.0; this._k2 = 0; this._tl2 = 0; this._ul2 = 0 } function _vl2() { this._am = _wl2; this._8V = _wl2; this._8V() } function _wl2() { this._Lk2 = !1; this._xl2 = []; this._yl2 = []; this._zl2 = !0; this._H2 = 0.0; this._Al2 = 0.0; this._Bl2 = 0.0; this._Cl2 = !0; this._Dl2 = !0 } function _iN1(_ij) { var _uf = _gF(); return _uf * _ij } function _El2(_Fl2, _Gl2, _Hl2) { var _Vp = _Gl2 - _Fl2; if (_Vp <= 0) return _Fl2; var _Cf = 0.0; var _zA = 0.0; switch (_Hl2) { case _Ck2: _zA = _Fl2 + _iN1(1) * _Vp; break; case _Dk2: { do { _Cf = (_iN1(1) - 0.5) * 6.0 } while ((exp(-(_Cf * _Cf) * 0.5) <= _iN1(1))); _zA = _Fl2 + ((_Cf + 3.0) * (1.0 / 6.0)) * _Vp } break; case _Ek2: { do { _Cf = (_iN1(1) - 0.5) * 6.0 } while (!(exp(-(_Cf * _Cf) * 0.5) > _iN1(1))); if (_Cf < 0.0) _Cf += 6.0; _zA = _Fl2 + (_Cf * (1.0 / 6.0)) * _Vp } break; default: _zA = _Fl2 + _iN1(1) * _Vp } return _zA } function _Il2(_7n, _ij) { var _sl2; if (_7n == 0) { if (_ij > 0) { _sl2 = 270 } else if (_ij < 0) { _sl2 = 90 } else { _sl2 = 0 } } else { var _MB = 180.0 * (Math.atan2(_ij, _7n)) / Math.PI; if (_MB <= 0) { _sl2 = -_MB } else { _sl2 = 360.0 - _MB; } } return _sl2 - 360.0 * Math.floor(_sl2 / 360.0) } function _Jl2(_7F, _Kl2) { return _Kl2 * Math.cos(_7F * Math.PI / 180.0) } function _Ll2(_7F, _Kl2) { return -_Kl2 * Math.sin(_7F * Math.PI / 180.0) } function _Ml2(_Nl2) { _Ol2 = _7Z1[_Nl2._ml2]; { if (_Nl2._ql2 <= 0 || _Nl2._rl2 <= 0) { switch (_Ol2._el2) { case _wk2: _Nl2._Ng = _Ol2._fl2[0]; break; case _xk2: _Nl2._Ng = _Ol2._fl2[0]; break; case _yk2: _Nl2._Ng = _Ol2._fl2[0]; break; case _zk2: { var _uf = ~~ (_El2(_Ol2._fl2[0], _Ol2._fl2[1], _Ck2)); var _Vg = ~~ (_El2(_Ol2._fl2[2], _Ol2._fl2[3], _Ck2)); var _xf = ~~ (_El2(_Ol2._fl2[4], _Ol2._fl2[5], _Ck2)); _Nl2._Ng = (_uf << 16) + (_Dg._Vg << 8) + _Dg._xf } break; case _Ak2: { var _z2 = ~~ (_El2(_Ol2._fl2[0], _Ol2._fl2[1], _Ck2)); var _ov = ~~ (_El2(_Ol2._fl2[2], _Ol2._fl2[3], _Ck2)); var _8h = ~~ (_El2(_Ol2._fl2[4], _Ol2._fl2[5], _Ck2)); _Nl2._Ng = 0xffffff } break; case _Bk2: _Nl2._Ng = _gj(_yy(_Ol2._fl2[0], _Ol2._fl2[1], _iN1(1))); break } } else { switch (_Ol2._el2) { case _xk2: { var _Pk = _Nl2._ql2 / _Nl2._rl2; if (_Pk > 1) _Pk = 1; _Nl2._Ng = _yy((_Ol2._fl2[0]), (_Ol2._fl2[1]), _Pk) } break; case _yk2: { var _Pk = 2.0 * _Nl2._ql2 / _Nl2._rl2; if (_Pk > 2) _Pk = 2; if (_Pk < 1) { _Nl2._Ng = _yy(_Ol2._fl2[0], _Ol2._fl2[1], _Pk) } else { _Nl2._Ng = _yy(_Ol2._fl2[1], _Ol2._fl2[2], _Pk - 1) } } break } } } } function _291(_ye, _ze, _Pl2) { var _zA = new _ol2; _Ql2 = _7Z1[_Pl2]; if (_Ql2 == null || _Ql2 == undefined) return null; _zA._pl2 = !0; _zA._ml2 = _Pl2; _zA._w2 = _ye; _zA._x2 = _ze; _zA._Rc = _El2(_Ql2.__k2, _Ql2._0l2, 0); _zA._sl2 = _El2(_Ql2._3l2, _Ql2._4l2, 0); _zA._B72 = _El2(_Ql2._7l2, _Ql2._8l2, 0); _zA._rl2 = _El2(_Ql2._Uk2, _Ql2._Vk2, 0); _zA._ql2 = 0; _zA._Ng = 0xffffff; _Ml2(_zA); _zA.alpha = _Ql2._gl2; _zA._k2 = _El2(_Ql2._Qk2, _Ql2._Rk2, 0); _zA._jl2 = _Ql2._jl2; if (_Ql2._Pk2) { _zA._tl2 = _iN1(10000) } else { _zA._tl2 = 0 } _zA._ul2 = _iN1(100000); return _zA } function _Io() { var _Sp = _7Z1.length; _7Z1[_Sp] = new _Jk2(); return _Sp } function _NG(_xe) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return !1; _7Z1[_xe] = null; return !0 } function _RG(_xe) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return !1; _7Z1[_xe]._am(); return !0 } function _PG(_xe) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return !1; return !0 } function _TG(_xe, _Sl2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._BV = _Sl2; _Rl2._Mk2 = -1 } function _VG(_xe, _UN, _Tl2, _Ul2, _Vl2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._Mk2 = _UN; _Rl2._Nk2 = _Tl2; _Rl2._Ok2 = _Ul2; _Rl2._Pk2 = _Vl2 } function _XG(_xe, _Wl2, _Xl2, _Yl2, _Zl2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._Qk2 = _Wl2; _Rl2._Rk2 = _Xl2; _Rl2._Sk2 = _Yl2; _Rl2._Tk2 = _Zl2 } function _ZG(_xe, _fr, _gr) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._842 = _fr; _Rl2._942 = _gr } function _pH(_xe, __l2, _0m2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._Uk2 = __l2; _Rl2._Vk2 = _0m2 } function _rH(_xe, _1m2, _2m2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._Xk2 = _1m2; _Rl2._Wk2 = _2m2 } function _tH(_xe, _3m2, _4m2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._Zk2 = _3m2; _Rl2._Yk2 = _4m2 } function _xH(_xe, _5m2, _6m2, _7m2, _8m2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2.__k2 = _5m2; _Rl2._0l2 = _6m2; _Rl2._1l2 = _7m2; _Rl2._2l2 = _8m2 } function _zH(_xe, _9m2, _am2, _bm2, _cm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._3l2 = _9m2; _Rl2._4l2 = _am2; _Rl2._5l2 = _bm2; _Rl2._6l2 = _cm2 } function _vH(_xe, _dm2, _em2, _fm2, _gm2, _hm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._7l2 = _dm2; _Rl2._8l2 = _em2; _Rl2._9l2 = _fm2; _Rl2._al2 = _gm2; _Rl2._bl2 = _hm2 } function _BH(_xe, _im2, _jm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._cl2 = _im2; _Rl2._dl2 = _jm2 } function _eH(_xe, _km2, _lm2, _mm2, _nm2, _om2, _pm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _zk2; _Rl2._fl2[0] = _km2; _Rl2._fl2[1] = _lm2; _Rl2._fl2[2] = _mm2; _Rl2._fl2[3] = _nm2; _Rl2._fl2[4] = _om2; _Rl2._fl2[5] = _pm2 } function _Ko(_xe, _oy, _py) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _Bk2; _Rl2._fl2[0] = _gj(_oy); _Rl2._fl2[1] = _gj(_py) } function _hH(_xe, _qm2, _rm2, _sm2, _tm2, _um2, _vm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _Ak2; _Rl2._fl2[0] = _qm2; _Rl2._fl2[1] = _rm2; _Rl2._fl2[2] = _sm2; _Rl2._fl2[3] = _tm2; _Rl2._fl2[4] = _um2; _Rl2._fl2[5] = _vm2 } function _2H(_xe, _wm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _wk2; _Rl2._fl2[0] = _gj(_wm2) } function _Lo(_xe, _wm2, _xm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _xk2; _Rl2._fl2[0] = _gj(_wm2); _Rl2._fl2[1] = _gj(_xm2) } function _7H(_xe, _wm2, _ym2, _xm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._el2 = _wk2; _Rl2._fl2[0] = _gj(_wm2); _Rl2._fl2[1] = _gj(_ym2); _Rl2._fl2[2] = _gj(_xm2) } function _kH(_xe, _zm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._gl2 = _zm2; _Rl2._hl2 = _zm2; _Rl2._il2 = _zm2 } function _Mo(_xe, _zm2, _Am2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._gl2 = _zm2; _Rl2._hl2 = (_zm2 + _Am2) / 2.0; _Rl2._il2 = _Am2 } function _nH(_xe, _zm2, _Bm2, _Am2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._gl2 = _zm2; _Rl2._hl2 = _Bm2; _Rl2._il2 = _Am2 } function _0H(_xe, _Cm2) { var _Rl2 = _7Z1[_xe]; if (_Rl2 == null || _Rl2 == undefined) return; _Rl2._jl2 = _Cm2 } function _DH(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return -1; var _Sp = _Dm2._yl2.length; _Dm2._yl2[_Sp] = new _kl2(); return _Sp } function _FH(_9N1, _xe) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return !1; _Dm2._yl2[_xe] = null; return !0 } function _HH(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; _Dm2._yl2 = []; return !0 } function _JH(_9N1, _xe) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return !1; return !0 } function _LH(_9N1, _xe) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return !1; _Em2._8V() } function _NH(_9N1, _xe, _Fm2, _Gm2, _Hm2, _Im2, _Sl2, _Jm2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return; _Em2._bb2 = _Fm2; _Em2._cb2 = _Gm2; _Em2._db2 = _Hm2; _Em2._eb2 = _Im2; _Em2._BV = _Sl2; _Em2._nl2 = _Jm2 } function _PH(_9N1, _xe, _Km2, _Lm2) { if (_Lm2 < 0) { var _gF = _iN1(-_Lm2) | 0; if (_gF == 0) { _Lm2 = 1 } else { return } } var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return; for (var _u2 = 0; _u2 <= _Lm2 - 1; _u2++) { var _Cf, _Ef; var _Mm2 = !1; while (_Mm2 == !1) { _Cf = _El2(0.0, 1.0, _Em2._nl2); _Ef = _El2(0.0, 1.0, _Em2._nl2); if ((_Em2._nl2 == _Ek2) && (_Em2._BV != _Ik2)) { if (_iN1() < 0.5) { _Cf = _El2(0.0, 1.0, 0) } else { _Ef = _El2(0.0, 1.0, 0) } } switch (_Em2._BV) { case _Fk2: _Mm2 = !0; break; case _Gk2: { var _zh = _Cf - 0.5; var _Ah = _Ef - 0.5; if ((_zh * _zh + _Ah * _Ah) <= 0.25) _Mm2 = !0; break } case _Hk2: if ((Math.abs(_Cf - 0.5) + Math.abs(_Ef - 0.5)) <= 0.5) _Mm2 = !0; break; case _Ik2: _Mm2 = !0; break; default: _Mm2 = !0; break } } if (_Em2._BV == _Ik2) { _DG(_9N1, _Em2._bb2 + (_Em2._cb2 - _Em2._bb2) * _Cf, _Em2._db2 + (_Em2._eb2 - _Em2._db2) * _Cf, _Km2, 1) } else { _DG(_9N1, _Em2._bb2 + (_Em2._cb2 - _Em2._bb2) * _Cf, _Em2._db2 + (_Em2._eb2 - _Em2._db2) * _Ef, _Km2, 1) } } } function _RH(_9N1, _xe, _Km2, _Lm2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Em2 = _Dm2._yl2[_xe]; if (_Em2 == null || _Em2 == undefined) return; _Em2._Av1 = _Lm2; _Em2._ml2 = _Km2 } function _DG(_9N1, _ye, _ze, _Pl2, _Lm2) { _Lm2 = ~~_Lm2; _Pl2 = ~~_Pl2; var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Ql2 = _7Z1[_Pl2]; if (_Ql2 == null || _Ql2 == undefined) return !1; for (var _u2 = 0; _u2 < _Lm2; _u2++) { var index = _Dm2._xl2.length; _Dm2._xl2[index] = _291(_ye, _ze, _Pl2) } } function _FG(_9N1, _ye, _ze, _Pl2, _uj, _Lm2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Ql2 = _7Z1[_Pl2]; if (_Ql2 == null || _Ql2 == undefined) return !1; for (var _u2 = 1; _u2 <= _Lm2; _u2++) { var index = _Dm2._xl2.length; _Dm2._xl2[index] = _291(_ye, _ze, _Pl2); _Dm2._xl2[index]._Ng = _gj(_uj) } } function _IG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; _Dm2._xl2 = []; return !0 } function _KG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return 0; return _Dm2._xl2.length } function _Ho() { var index = _8Z1.length; _8Z1[index] = new _vl2(); _8Z1[index]._am(); return index } function _lG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return !1; return !0 } function _jG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _8Z1[_9N1] = null; return !0 } function _nG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._am() } function _Nm2() { for (var _lW = 0; _lW < _8Z1.length; _lW++) { if (!_8Z1.hasOwnProperty(_lW)) continue; var _Dm2 = _8Z1[_lW]; if (_Dm2) { _Dm2._xl2 = [] } } } function _pG(_9N1, _Om2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._zl2 = _Om2 } function _rG(_9N1, _Qp1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._H2 = _Qp1 } function _tG(_9N1, _ye, _ze) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._Al2 = _ye; _Dm2._Bl2 = _ze } function _vG(_9N1, _Pm2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._Cl2 = _Pm2 } function _xG(_9N1, _Pm2) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; _Dm2._Dl2 = _Pm2 } function _Qm2(_9N1) { var _u2 = 0; var _qf = 0; var _Sp = 0; var _Dm2 = _8Z1[_9N1]; var _Rm2 = _Dm2._xl2; _u2 = 0; while (_u2 < _Rm2.length) { var _Sm2 = _Rm2[_u2]; var _Ql2 = _7Z1[_Sm2._ml2]; _Sm2._ql2++; if (_Sm2._ql2 >= _Sm2._rl2) { _qf = _Ql2._Zk2; if (_qf < 0) { if (_iN1(-_qf) == 0) _qf = 1 } if (_qf > 0) { _DG(_9N1, _Sm2._w2, _Sm2._x2, _Ql2._Yk2, _qf) } _Rm2.splice(_u2, 1) } else { _qf = _Ql2._Xk2; if (_qf < 0) { if (_iN1(-_qf) == 0) _qf = 1 } if (_qf > 0) { _DG(_9N1, _Sm2._w2, _Sm2._x2, _Ql2._Wk2, _qf) } _u2++ } } } function _Tm2(_9N1) { var _u2 = 0; var _Bf = 0; var _ub = 0.0; var _tb = 0.0; var _Sy = 0.0; var _Uh = 0.0; var _Um2 = 0.0; var _ed1 = 0.0; var _Vm2 = 0.0; var _Wm2 = 0.0; var _Xm2 = 0.0; var _Ym2 = 0.0; var _Zm2 = 0.0; var _Dm2 = _8Z1[_9N1]; var _Rm2 = _Dm2._xl2; for (_u2 = 0; _u2 < _Rm2.length; _u2++) { var _Sm2 = _Rm2[_u2]; var _Ql2 = _7Z1[_Sm2._ml2]; _Sm2._Rc = _Sm2._Rc + _Ql2._1l2; if (_Sm2._Rc < 0) _Sm2._Rc = 0; _Sm2._sl2 = _Sm2._sl2 + _Ql2._5l2; _Sm2._B72 = _Sm2._B72 + _Ql2._9l2; _Wm2 = 0; _Xm2 = 0; if ((_Ql2._cl2 != 0) || (_Dm2.__m2 > 0)) { _ub = _Jl2(_Sm2._sl2, _Sm2._Rc); _tb = _Ll2(_Sm2._sl2, _Sm2._Rc); if (_Ql2._cl2 != 0) { _Sy = _Jl2(_Ql2._dl2, _Ql2._cl2); _Uh = _Ll2(_Ql2._dl2, _Ql2._cl2); _ub = _ub + _Sy; _tb = _tb + _Uh } _Sm2._sl2 = _Il2(_ub, _tb); _Sm2._Rc = Math.sqrt(_ub * _ub + _tb * _tb) } _Ym2 = ((_Sm2._ql2 + 3 * _Sm2._ul2) % 24) / 6.0; if (_Ym2 > 2.0) { _Ym2 = 4.0 - _Ym2 } _Ym2 = _Ym2 - 1.0; _Zm2 = ((_Sm2._ql2 + 4 * _Sm2._ul2) % 20) / 5.0; if (_Zm2 > 2.0) { _Zm2 = 4.0 - _Zm2 } _Zm2 = _Zm2 - 1.0; _ub = _Jl2(_Sm2._sl2 + _Ym2 * _Ql2._6l2, _Sm2._Rc + _Zm2 * _Ql2._2l2); _tb = _Ll2(_Sm2._sl2 + _Ym2 * _Ql2._6l2, _Sm2._Rc + _Zm2 * _Ql2._2l2); _Sm2._w2 = _Sm2._w2 + _ub + _Wm2; _Sm2._x2 = _Sm2._x2 + _tb + _Xm2 } } function _0n2(_9N1) { var _Dm2 = _8Z1[_9N1]; var _Rm2 = _Dm2._xl2; for (var _u2 = 0; _u2 < _Rm2.length; _u2++) { var _Sm2 = _Rm2[_u2]; var _Ql2 = _7Z1[_Sm2._ml2]; _Sm2._k2 = _Sm2._k2 + _Ql2._Sk2; if (_Sm2._k2 < 0) { _Sm2._k2 = 0 } _Ml2(_Sm2); var _1n2; if (_Sm2._rl2 > 0) { _1n2 = 2.0 * _Sm2._ql2 / _Sm2._rl2 } else { _1n2 = 1 } if (_1n2 < 1) { _Sm2.alpha = _Ql2._gl2 * (1.0 - _1n2) + _Ql2._hl2 * _1n2 } else { _Sm2.alpha = _Ql2._hl2 * (2.0 - _1n2) + _Ql2._il2 * (_1n2 - 1) } } } function _zG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return 0; _Qm2(_9N1); _Tm2(_9N1); _0n2(_9N1); var _2n2 = _Dm2._yl2; if (_2n2) { for (var _u2 = 0; _u2 < _2n2.length; _u2++) { if (_2n2[_u2] != null && _2n2[_u2]._Av1 != 0) { _PH(_9N1, _u2, _2n2[_u2]._ml2, _2n2[_u2]._Av1) } } } } function _3n2() { for (var _u2 = 0; _u2 < _8Z1.length; _u2++) { var _Dm2 = _8Z1[_u2]; if (_Dm2 != null) { if (_Dm2._Cl2) { _zG(_u2) } } } } function _4n2(_Nl2, _WH, _XH) { var _rM = null; var _du1 = null; if (_Nl2._rl2 <= 0) return; var _Ql2 = _7Z1[_Nl2._ml2]; _rM = _JL._hn(_Ql2._Mk2); if (_rM == null) { var _BV = _Ql2._BV; if ((_BV >= 0) && (_BV < _vk2)) { _du1 = _6Z1[_BV] } else { return } } var _df; if (_du1 != null) {} else { if (_rM._vz <= 0) return; if (!_Ql2._Nk2) { _df = _Nl2._tl2 } else if (_Ql2._Ok2) { _df = _Nl2._tl2 + (_rM._qf * _Nl2._ql2 / _Nl2._rl2) } else { _df = _Nl2._tl2 + _Nl2._ql2 } } var _uf = ((_Nl2._ql2 + 2 * _Nl2._ul2) % 16) / 4.0; if (_uf > 2.0) _uf = 4.0 - _uf; _uf = _uf - 1.0; var _qM1 = _Nl2._B72; if (_Ql2._bl2) _qM1 = _qM1 + _Nl2._sl2; _qM1 = _qM1 + _uf * _Ql2._al2; _uf = ((_Nl2._ql2 + _Nl2._ul2) % 16) / 4.0; if (_uf > 2.0) _uf = 4.0 - _uf; _uf = _uf - 1.0; _cC(_Nl2._jl2 ? 1 : 0); var _ov = _Nl2._k2 + _uf * _Ql2._Tk2; var _v2 = _Nl2._Ng; if (_du1 != null) { var _842, _942, _B72; var _n72 = _Ql2._842 * _ov; var _o72 = _Ql2._942 * _ov; var _5n2 = _qM1; var _6n2 = ~~ (_Nl2._w2 + _WH); var _7n2 = ~~ (_Nl2._x2 + _XH); if (_n72 == 1 && _o72 == 1 && _5n2 == 0 && _Nl2._Ng == 0xffffff) { _O72(_du1, _6n2, _7n2, _Nl2.alpha) } else { _282(_du1, 0, 0, _6n2, _7n2, _n72, _o72, _5n2 * 0.017453293, _v2, _v2, _v2, _v2, _Nl2.alpha) } } else { _rM._Ig(_df, _Nl2._w2 + _WH, _Nl2._x2 + _XH, _7Z1[_Nl2._ml2]._842 * _ov, _7Z1[_Nl2._ml2]._942 * _ov, _qM1, _v2, _Nl2.alpha) } } function _BG(_9N1) { var _Dm2 = _8Z1[_9N1]; if (_Dm2 == null || _Dm2 == undefined) return; var _Rm2 = _Dm2._xl2; if (_Dm2._zl2) { for (var _u2 = 0; _u2 < _Dm2._xl2.length; _u2++) { _4n2(_Rm2[_u2], _Dm2._Al2, _Dm2._Bl2) } } else { for (var _u2 = _Dm2._xl2.length - 1; _u2 >= 0; _u2--) { _4n2(_Rm2[_u2], _Dm2._Al2, _Dm2._Bl2) } } _cC(0) } function _8n2(_9n2) { for (var _u2 = 0; _u2 < _8Z1.length; _u2++) { var _Dm2 = _8Z1[_u2]; if (_Dm2 != null) { if (_Dm2._Dl2) { if (Math.abs(_Dm2._H2 - _9n2) < 0.01) _BG(_u2) } } } } function _an2() { var _zA = -1000000000; for (var _u2 = 0; _u2 < _8Z1.length; _u2++) { var _Dm2 = _8Z1[_u2]; if (_Dm2 != null && _Dm2._xl2.length > 0) { if (_Dm2._Dl2) { if (_Dm2._H2 > _zA) _zA = _Dm2._H2 } } } return _zA } function _bn2(_9n2) { var _zA = -1000000000; for (var _u2 = 0; _u2 < _8Z1.length; _u2++) { var _Dm2 = _8Z1[_u2]; if (_Dm2 != null && _Dm2._xl2.length > 0) { if (_Dm2._Dl2) { if ((_Dm2._H2 > _zA) && (_Dm2._H2 < _9n2)) _zA = _Dm2._H2 } } } return _zA } var _cn2 = 0, _dn2 = 1; var _en2 = 0; function _fn2(_ye, _ze, _KF) { this._w2 = _ye; this._x2 = _ze; this._Rc = _KF; this._sf = 0 } function _gn2() { this.__type = "[Path]"; this.name = ""; this.id = _en2++; this._Zh = 0; this._7q = 1; this._hn2 = 4; this._am() } _gn2.prototype._am = function() { this._mZ = []; this._in2 = []; this._fg = 0; this._jn2 = 0; this.length = 0 }; _gn2.prototype._kn2 = function() { var _u2 = 0; this.length = 0; if (this._jn2 <= 0) return; this._in2[0]._sf = 0; for (_u2 = 1; _u2 < this._jn2; _u2++) { this._in2[_u2]._sf = this.length = this.length + sqrt(_st(this._in2[_u2]._w2 - this._in2[_u2 - 1]._w2) + _st(this._in2[_u2]._x2 - this._in2[_u2 - 1]._x2)) } }; _gn2.prototype._ln2 = function(_V92, _W92, _mn2) { this._jn2++; var _nn2 = new _fn2(); this._in2[this._jn2 - 1] = _nn2; _nn2._w2 = _V92; _nn2._x2 = _W92; _nn2._Rc = _mn2 }; _gn2.prototype._on2 = function() { this._jn2 = 0; if (this._fg <= 0) return; for (var _u2 = 0; _u2 < this._fg; _u2++) { this._ln2(this._mZ[_u2]._w2, this._mZ[_u2]._x2, this._mZ[_u2]._Rc) } if (this._7q) { this._ln2(this._mZ[0]._w2, this._mZ[0]._x2, this._mZ[0]._Rc) } }; _gn2.prototype._pn2 = function(_Qp1, _Mf, _Nf, _yu, _8f, _9f, _zu, _pB, _qB, _qn2) { if (_Qp1 == 0) return; var _Sf = (_Mf + _8f + _8f + _pB) / 4.0; var _Tf = (_Nf + _9f + _9f + _qB) / 4.0; var _au = (_yu + _zu + _zu + _qn2) / 4.0; if (_st(_8f - _Mf) + _st(_9f - _Nf) > 16.0) { this._pn2(_Qp1 - 1, _Mf, _Nf, _yu, (_8f + _Mf) / 2.0, (_9f + _Nf) / 2.0, (_zu + _yu) / 2.0, _Sf, _Tf, _au) } this._ln2(_Sf, _Tf, _au); if (_st(_8f - _pB) + _st(_9f - _qB) > 16.0) { this._pn2(_Qp1 - 1, _Sf, _Tf, _au, (_pB + _8f) / 2.0, (_qB + _9f) / 2.0, (_qn2 + _zu) / 2.0, _pB, _qB, _qn2) } }; _gn2.prototype._rn2 = function() { var _u2 = 0; var _df = 0; this._jn2 = 0; if (this._fg <= 0) return; if (!this._7q) { this._ln2(this._mZ[0]._w2, this._mZ[0]._x2, this._mZ[0]._Rc) } if (this._7q) { _df = this._fg - 1 } else { _df = this._fg - 3 } for (_u2 = 0; _u2 <= _df; _u2++) { var _P71 = this._mZ[_u2 % this._fg]; var _Q71 = this._mZ[(_u2 + 1) % this._fg]; var _sn2 = this._mZ[(_u2 + 2) % this._fg]; this._pn2(this._hn2, (_P71._w2 + _Q71._w2) / 2.0, (_P71._x2 + _Q71._x2) / 2.0, (_P71._Rc + _Q71._Rc) / 2.0, _Q71._w2, _Q71._x2, _Q71._Rc, (_Q71._w2 + _sn2._w2) / 2.0, (_Q71._x2 + _sn2._x2) / 2.0, (_Q71._Rc + _sn2._Rc) / 2.0) } if (!this._7q) { this._ln2(this._mZ[this._fg - 1]._w2, this._mZ[this._fg - 1]._x2, this._mZ[this._fg - 1]._Rc) } else { this._ln2(this._in2[0]._w2, this._in2[0]._x2, this._in2[0]._Rc) } }; _gn2.prototype._tn2 = function() { if (this._Zh == 1) { this._rn2() } else { this._on2() } this._kn2() }; function _C12(__32) { var _ZH = new _gn2(); if ((__32 != undefined) && (__32 != null)) { if (__32._hn2 != undefined) { _ZH._hn2 = __32._hn2 } if (__32._7q != undefined) { _ZH._7q = __32._7q } if (__32._Zh != undefined) { _ZH._Zh = __32._Zh } if (__32._m1 != undefined) { _ZH.name = __32._m1 } if (__32._mZ != undefined) { _ZH._fg = __32._mZ.length } for (var _yA = 0; _yA < __32._mZ.length; _yA++) { var _un2 = __32._mZ[_yA]; var _vn2 = new _fn2(_un2._w2, _un2._x2, _un2._Rc); _ZH._mZ[_ZH._mZ.length] = _vn2 } _ZH._tn2() } return _ZH } var _wn2 = new _fn2(0, 0, 100); _gn2.prototype._2I = function(_xe) { var _Gn = 0; if (this._jn2 <= 0) { _wn2._w2 = 0; _wn2._x2 = 0; _wn2._Rc = 0; return _wn2 } if ((this._jn2 == 1) || (this.length == 0) || (_xe <= 0)) { return this._in2[0] } if (_xe >= 1) { return this._in2[this._jn2 - 1] } var _sf = this.length * _xe; _Gn = 0; while ((_Gn < this._jn2 - 2) && (_sf >= this._in2[_Gn + 1]._sf)) { _Gn++ } var _Ib2 = this._in2[_Gn]; _sf = _sf - _Ib2._sf; var _y2 = this._in2[_Gn + 1]._sf - _Ib2._sf; if (_y2 != 0) { _Gn++; _wn2._w2 = _Ib2._w2 + _sf * (this._in2[_Gn]._w2 - _Ib2._w2) / _y2; _wn2._x2 = _Ib2._x2 + _sf * (this._in2[_Gn]._x2 - _Ib2._x2) / _y2; _wn2._Rc = _Ib2._Rc + _sf * (this._in2[_Gn]._Rc - _Ib2._Rc) / _y2; _Ib2 = _wn2 } return _Ib2 }; _gn2.prototype._Eb2 = function(_xe) { _yA = this._2I(_xe); return _yA._w2 }; _gn2.prototype._Fb2 = function(_xe) { _yA = this._2I(_xe); return _yA._x2 }; _gn2.prototype._xn2 = function(_WH, _XH) { for (var _u2 = 0; _u2 <= this._fg - 1; _u2++) { this._mZ[_u2]._w2 += _WH; this._mZ[_u2]._x2 += _XH; } this._tn2() }; _gn2.prototype._yn2 = function() { var _bb2 = 100000000; var _cb2 = -100000000; var _db2 = 100000000; var _eb2 = -100000000; for (var _u2 = 0; _u2 <= this._fg - 1; _u2++) { if (this._mZ[_u2]._w2 < _bb2) _bb2 = this._mZ[_u2]._w2; if (this._mZ[_u2]._w2 > _cb2) _cb2 = this._mZ[_u2]._w2; if (this._mZ[_u2]._x2 < _db2) _db2 = this._mZ[_u2]._x2; if (this._mZ[_u2]._x2 > _eb2) _eb2 = this._mZ[_u2]._x2 } return new _fn2((_bb2 + _cb2) / 2.0, (_db2 + _eb2) / 2.0, 0) }; _gn2.prototype._zn2 = function(_V92, _W92, _mn2) { _un2 = new _fn2(_V92, _W92, _mn2); if (!this._mZ) this._mZ = []; this._mZ[this._mZ.length] = _un2; this._fg++; this._tn2() }; function _v02() { this._A1 = []; _en2 = 0 } _v02.prototype._yn = function(_An2) { this._A1[_An2.id] = _An2 }; _v02.prototype._IQ = function(_An2) { this._A1[_An2.id] = undefined }; function _Bn2(_Qp1) { this._H2 = _Qp1; this._F2 = !0; this._Cn2 = new _vn() } _Bn2.prototype._yn = function(_Dn2) { this._Cn2._yn(_Dn2) }; _Bn2.prototype._IQ = function(_Dn2) { this._Cn2._H32(_Dn2) }; _Bn2.prototype._Ig = function(_Z72) { if (!this._F2) { return } var _Hn = this._Cn2._Hn; for (var index = 0; index < _Hn.length; index++) { var _En2 = _Hn[index]; if (_En2 != null) { var _Vk1 = _En2._w2 + (_En2._842 * _En2._y2), _Fn2 = _En2._x2 + (_En2._942 * _En2._z2); var _hf = (_En2._w2 < _Vk1) ? _En2._w2 : _Vk1, _jf = (_En2._w2 > _Vk1) ? _En2._w2 : _Vk1, _if = (_En2._x2 < _Fn2) ? _En2._x2 : _Fn2, _kf = (_En2._x2 > _Fn2) ? _En2._x2 : _Fn2; if ((_hf <= _Z72._1f) && (_if <= _Z72.bottom) && (_jf >= _Z72.left) && (_kf >= _Z72.top)) { _En2._Ig() } } } }; _Bn2.prototype._aG = function() { return this._Cn2._Hn }; function _Gn2() { this._Hn2 = new _lk2(); this._In2 = -1 } _Gn2.prototype._hn = function(_Qp1) { var _Jn2; for (var index = 0; index < this._Hn2._fg; index++) { _Jn2 = this._Hn2._hn(index); if (_Jn2._H2 == _Qp1) return _Jn2 } return null }; _Gn2.prototype._IQ = function(_Qp1) { var _Jn2 = this._hn(_Qp1); if (_Jn2) { this._Hn2._IQ(_Jn2) } }; _Gn2.prototype._yn = function(_Dn2) { var _Jn2; _Jn2 = this._hn(_Dn2._H2); if (!_Jn2) { _Jn2 = new _Bn2(_Dn2._H2); this._Hn2._yn(_Jn2) } _Jn2._yn(_Dn2) }; _Gn2.prototype._Kn2 = function(_Dn2) { _Jn2 = this._hn(_Dn2._H2); if (_Jn2) { _Jn2._IQ(_Dn2) } }; _Gn2.prototype._Ln2 = function() { this._In2 = this._Hn2.length - 1; return this._Hn2._hn(this._In2) }; _Gn2.prototype._x51 = function() { this._In2--; if (this._In2 < 0) return null; return this._Hn2._hn(this._In2) }; function _Mn2() { this._do = []; this._A2 = 0; this._J91 = _Mn2.prototype._Nn2; this._I91 = _Mn2.prototype._On2 }; _Mn2.prototype._Pn2 = function() { return (this._do.length == 0) }; _Mn2.prototype._On2 = function(_iL1) { this._do.push(_iL1) }; _Mn2.prototype._Nn2 = function() { if (this._Pn2()) return undefined; var _Zn = this._do[this._A2]; if ((++this._A2 * 2) >= this._do.length) { this._do = this._do.slice(this._A2); this._A2 = 0 } return _Zn }; function _r12() { this.id = _zZ1++; this._aK() } _r12.prototype._aK = function() { this.__type = "[Room]"; this._Qn2 = ""; this._Rn2 = ""; this._Sn2 = 30; this._Dt1 = 1024; this._Et1 = 768; this._Tn2 = !1; this._Un2 = !1; this._Vn2 = 0xc0c0c0; this._Wn2 = !0; this._Xn2 = !0; this._Yn2 = !0; this._Zn2 = []; for (var _wf = 0; _wf < _EY1; _wf++) { this._Zn2[_wf] = null } this._lm = !1; this.__n2 = null; this._AE = new _lk2(); this._0o2 = new _vn(); this._0o2._wn = !0; this._ma2 = []; this._1o2 = 0; this._2o2 = []; this._3o2 = new _Gn2(); this._nm = []; this._4o2 = []; this._2J = null; this._5o2 = "Room"; this._EI = null }; _r12.prototype._6o2 = function() { return this._lm }; _r12.prototype._sN1 = function() { return this._Dt1 }; _r12.prototype._CX = function() { return this._Et1 }; _r12.prototype._le = function() { return this._Sn2 }; _r12.prototype._aG = function() { return this._AE._Hn }; _r12.prototype._7o2 = function(_en) { this._Dt1 = _en; _O7._J9 = _en }; _r12.prototype._8o2 = function(_en) { this._Et1 = _en; _O7._P7 = _en }; _r12.prototype._9o2 = function(_en) { this._Sn2 = _en; _O7._M52 = _en }; _r12.prototype._ao2 = function(_me) { this._5o2 = _me }; _r12.prototype._bo2 = function(_co2) { this._Rn2 = _co2; _O7._L52 = _co2 }; _r12.prototype._O62 = function(_en) { this._Tn2 = _en; _O7._N52 = _en }; _r12.prototype._do2 = function() { this._2J = { _m1: "room_empty_" + this.id, width: 640, height: 480, _z4: [{}, {}, {}, {}, {}, {}, {}, {}], _A4: [{}, {}, {}, {}, {}, {}, {}, {}], _D4: [], _F4: [] }; this._s12(this._2J) }; _r12.prototype._eo2 = function(__32) { if (__32 != null) { this._2J.width = __32.width; this._2J.height = __32.height; this._2J._w4 = __32._w4; this._2J._3J = __32._3J; this._2J._x4 = __32._x4; this._2J._y4 = __32._y4; this._2J._fo2 = __32._fo2; this._2J._Rc = __32._Rc; this._2J._G2 = __32._G2; for (var _u2 = 0; _u2 < __32._z4.length; _u2++) { var _go2 = __32._z4[_u2]; if (_go2 != null) { this._2J._z4[_u2] = { _F2: _go2._F2, index: _go2.index, _tb: _go2._tb, _ub: _go2._ub, _242: _go2._242, _w2: _go2._w2, _x2: _go2._x2, _I4: _go2._I4, _J4: _go2._J4, _ub: _go2._ub, _tb: _go2._tb, _742: _go2._742, alpha: _go2.alpha, _c22: _go2._c22 } } } for (var _u2 = 0; _u2 < __32._A4.length; _u2++) { var _ho2 = __32._A4[_u2]; if (_ho2) { this._2J._A4[_u2] = { _F2: _ho2._F2, _io2: _ho2._io2, _jo2: _ho2._jo2, _B4: _ho2._B4, _K4: _ho2._K4, _ko2: _ho2._ko2, _lo2: _ho2._lo2, _C4: _ho2._C4, _L4: _ho2._L4, _mo2: _ho2._mo2, _no2: _ho2._no2, _ub: _ho2._ub, _tb: _ho2._tb, index: _ho2.index } } } this._2J._D4 = new Array(__32._D4.length); for (var _u2 = 0; _u2 < __32._D4.length; _u2++) { var _oo2 = __32._D4[_u2]; if (_oo2) { this._2J._D4[_u2] = { _w2: _oo2._w2, _x2: _oo2._x2, index: _oo2.index, id: _oo2.id, _E4: _oo2._Q9, _r2: _oo2._r2, _s2: _oo2._s2, _w4: _oo2._3a2 } } } this._2J._F4 = new Array(__32._D4.length); for (var _u2 = 0; _u2 < __32._F4.length; _u2++) { var _po2 = __32._F4[_u2]; if (_po2 != null) { this._2J._F4[_u2] = { _w2: _po2._w2, _x2: _po2._x2, index: _po2.index, _qo2: _po2._qo2, _ro2: _po2._ro2, _y2: _po2._y2, _z2: _po2._z2, _H2: _po2._H2, id: _po2.id } } } } }; _r12.prototype._s12 = function(_so2) { this._aK(); this._2J = _so2; if (_so2._m1 != undefined) this._ao2(_so2._m1); if (_so2._fo2 != undefined) this._bo2(_so2._fo2); if (_so2.width != undefined) this._7o2(_so2.width); if (_so2.height != undefined) this._8o2(_so2.height); if (_so2._Rc != undefined) this._9o2(_so2._Rc); if (_so2._G2 != undefined) this._O62(_so2._G2); if (_so2._w4 != undefined) this._Vn2 = _so2._w4; if (_so2._3J != undefined) this._Wn2 = _so2._3J; if (_so2._x4 != undefined) this._lm = _so2._x4; if (_so2._y4 != undefined) this._Xn2 = _so2._y4; if (_so2._to2 != undefined) this._Yn2 = _so2._to2; this._7o2(this._Dt1); this._8o2(this._Et1); this._9o2(this._Sn2); this._bo2(this._Rn2); this._O62(this._Tn2); this._nm = []; this._1o2 = 0; for (var index = 0; index < _so2._F4.length; index++) { var _uo2 = _so2._F4[index]; if (_uo2 != null) { var _En2 = _vo2(_uo2); this._3o2._yn(_En2); this._2o2[_En2.id] = _En2; this._1o2++ } } if (_so2._G4 != undefined) this.__n2 = _so2._G4; for (var _8h = 0; _8h < _so2._A4.length; _8h++) { this._nm[_8h] = _wo2(_so2._A4[_8h]) } }; _r12.prototype._xo2 = function() { if (this._2J._yo2) { this._EI = new _pA1(this._2J._zo2, this._le()); this._EI._381(this._2J._Ao2, this._2J._Bo2) } }; _r12.prototype._Co2 = function() { var _u2; var _Do2 = 0; var _Eo2 = []; for (_u2 = this._AE.length - 1; _u2 >= 0; _u2--) { this._Fo2(this._AE._hn(0)) } for (_u2 = this._0o2.length - 1; _u2 >= 0; _u2--) { this._Fo2(this._0o2._hn(0)) } }; _r12.prototype._Go2 = function() { var _u2, _y2, _z2; if (_ke._6o2()) {} else { _y2 = _ke._sN1(); _z2 = _ke._CX() } if (_y2 > _S72()) _y2 = _S72(); if (_z2 > _T72()) _z2 = _T72() }; _r12.prototype._uE = function(_ye, _ze, _Ho2) { return this._ra2(_ye, _ze, _FZ1++, _Ho2, !0) }; _r12.prototype._ra2 = function(_ye, _ze, _dn, _FE, _Io2, _Jo2, _Rw1, _ej) { var _Ko2 = _Io2; if (_Ko2 != !0 && _Ko2 != !1) { _Ko2 = !0 } else { _Io2 = undefined } var _Lo2 = new _U92(_ye, _ze, _dn, _FE, _Ko2); this._AE._nk2(_Lo2); _3E._yn(_Lo2); if (_Io2 != undefined) _Lo2._U8 = _Io2; if (_Jo2 != undefined) _Lo2._X8 = _Jo2; if (_Rw1 != undefined) _Lo2._Q9 = _Rw1; if (_ej != undefined) _Lo2._3a2 = _ej; _Lo2._ya2(); return _Lo2 }; _r12.prototype._Mo2 = function() { var index = 0; for (var _u2 = 0; _u2 < this._nm.length; _u2++) { _om = this._nm[_u2]; _O7._662[index] = _om._F2; _O7._w8[index] = _om._eN; _O7._y8[index] = _om._fN; _O7._x8[index] = _om._gN; _O7._U9[index] = _om._hN; _O7._762[index] = _om._iN; _O7._862[index] = _om._jN; _O7._962[index] = _om._kN; _O7._a62[index] = _om._lN; _O7._b62[index] = _om._Cg; _O7._c62[index] = _om._mo2; _O7._d62[index] = _om._no2; _O7._e62[index] = _om._ub; _O7._f62[index] = _om._tb; _O7._g62[index] = _om._No2; _O7._L62[index] = _om._Oo2; index++ } }; _r12.prototype._Po2 = function() { var index = 0; for (var _u2 = 0; _u2 < this._nm.length; _u2++) { _om = this._nm[_u2]; _om._F2 = _O7._662[index]; _om._eN = _O7._w8[index]; _om._fN = _O7._y8[index]; _om._gN = _O7._x8[index]; _om._hN = _O7._U9[index]; _om._iN = _O7._762[index]; _om._jN = _O7._862[index]; _om._kN = _O7._962[index]; _om._lN = _O7._a62[index]; _om._Cg = _O7._b62[index]; _om._mo2 = _O7._c62[index]; _om._no2 = _O7._d62[index]; _om._ub = _O7._e62[index]; _om._tb = _O7._f62[index]; _om._No2 = _O7._g62[index]; _om._Oo2 = _O7._L62[index]; index++ } }; _r12.prototype._Qo2 = function() { for (var _u2 = 0; _u2 < _1p._b42.length; _u2++) { var _c42 = _1p._hn(_u2); _c42._ub = _O7._062[_u2]; _c42._tb = _O7._162[_u2]; _c42._w2 = _O7._T52[_u2]; _c42._x2 = _O7._U52[_u2]; _c42._w2 += _c42._ub; _c42._x2 += _c42._tb; _O7._T52[_u2] = _c42._w2; _O7._U52[_u2] = _c42._x2 } }; _r12.prototype._Ro2 = function() { var _u2; var _sf, _wf, _8b2, _So2; var _om; var _jE; if (!this._lm) return; this._Po2(); for (_u2 = 0; _u2 < this._nm.length; _u2++) { _om = this._nm[_u2]; if ((_om._F2) && (_om._No2 >= 0)) { _jE = null; if (_om._No2 < 100000) { var _Wn = _cy._hn(_om._No2); if (_Wn != null) { var _Hn = _Wn._UI(); for (var _kx = 0; _kx < _Hn.length; _kx++) { _jE = _Hn[_kx]; if (!_jE._kE) break; _jE = null } } } else { _jE = _3E._hn(_om._No2); if (!_jE && _jE._kE) _jE = null } if (_jE != null) { _sf = _om._eN; _wf = _om._fN; _8b2 = _jE._w2; _So2 = _jE._x2; if (2 * _om._mo2 >= _om._gN) { _sf = _8b2 - _om._gN / 2 } else if (_8b2 - _om._mo2 < _om._eN) { _sf = _8b2 - _om._mo2 } else if (_8b2 + _om._mo2 > _om._eN + _om._gN) { _sf = _8b2 + _om._mo2 - _om._gN } if (2 * _om._no2 >= _om._hN) { _wf = _So2 - _om._hN / 2 } else if (_So2 - _om._no2 < _om._fN) { _wf = _So2 - _om._no2 } else if (_So2 + _om._no2 > _om._fN + _om._hN) { _wf = _So2 + _om._no2 - _om._hN; } if (_sf < 0) _sf = 0; if (_sf + _om._gN > this._Dt1) _sf = this._Dt1 - _om._gN; if (_wf < 0) _wf = 0; if (_wf + _om._hN > this._Et1) _wf = this._Et1 - _om._hN; if (_om._ub >= 0) { if ((_sf < _om._eN) && (_om._eN - _sf > _om._ub)) _sf = _om._eN - _om._ub; if ((_sf > _om._eN) && (_sf - _om._eN > _om._ub)) _sf = _om._eN + _om._ub } if (_om._tb >= 0) { if ((_wf < _om._fN) && (_om._fN - _wf > _om._tb)) _wf = _om._fN - _om._tb; if ((_wf > _om._fN) && (_wf - _om._fN > _om._tb)) _wf = _om._fN + _om._tb } _om._eN = _sf; _om._fN = _wf } } } this._Mo2() }; var _To2 = !1; _r12.prototype._Uo2 = function(_Z72) { var _Jn2 = this._3o2._Ln2(); var _Vo2 = _Jn2._H2; for (var _u2 = this._AE.length - 1; _u2 >= 0; _u2--) { var _jE = this._AE._hn(_u2); if (_jE._kE || _jE._F2 == 0) continue; while (_Vo2 > _jE._H2) { _Jn2._Ig(_Z72); _Jn2 = this._3o2._x51(); if (_Jn2) { _Vo2 = _Jn2._H2 } else { _Vo2 = -1000000000000 } } if (!_jE._FN1[_RQ1]) { var _y12 = _JL._hn(_jE._w6); if (_y12) { if ((_jE._U8 == 1.0) && (_jE._X8 == 1.0) && (_jE._Q9 == 0.0) && (_jE._3a2 == 0xffffff)) { _y12._XN(_jE._G6, _jE._w2, _jE._x2, _jE._H6 * _cj) } else { _y12._Ig(_jE._G6, _jE._w2, _jE._x2, _jE._U8, _jE._X8, _jE._Q9, _jE._3a2, _jE._H6 * _cj) } } } else { _jE._Se(_RQ1, 0, _jE, _jE) } } while (_Jn2) { _Jn2._Ig(_Z72); _Jn2 = this._3o2._x51() } }; _r12.prototype._Wo2 = function(_Z72) { var _y12, _jE, _u2, _Hn, _T62; _Hn = this._AE._Hn; _T62 = _JL._l1; for (_u2 = _Hn.length - 1; _u2 >= 0; _u2--) { _jE = _Hn[_u2]; if (_jE._kE || !_jE._F2) continue; if (!_jE._FN1[_RQ1]) { _y12 = _T62[_jE._w6]; if (_y12) { _Zf = _jE; if ((_jE._U8 == 1.0) && (_jE._X8 == 1.0) && (_jE._Q9 == 0.0) && (_jE._3a2 == 0xffffff)) { _y12._XN(_jE._G6, _jE._w2, _jE._x2, _jE._H6 * _cj) } else { _y12._Ig(_jE._G6, _jE._w2, _jE._x2, _jE._U8, _jE._X8, _jE._Q9, _jE._3a2, _jE._H6 * _cj) } _Zf = null } } else { _jE._Se(_RQ1, 0, _jE, _jE) } } }; _r12.prototype._Xo2 = function(_Z72) { var _Yo2 = _an2(); for (var _u2 = this._AE.length - 1; _u2 >= 0; _u2--) { var _jE = this._AE._hn(_u2); if (_jE._kE || _jE._F2 == 0) continue; var _Zo2 = _Yo2; while (_Yo2 > _jE._H2) { _8n2(_Yo2); _Yo2 = _bn2(_Yo2); if (_Yo2 == _Zo2) { break } _Zo2 = _Yo2 } if (!_jE._FN1[_RQ1]) { var _y12 = _JL._hn(_jE._w6); if (_y12) { if ((_jE._U8 == 1.0) && (_jE._X8 == 1.0) && (_jE._Q9 == 0.0) && (_jE._3a2 == 0xffffff)) { _y12._XN(_jE._G6, _jE._w2, _jE._x2, _jE._H6 * _cj) } else { _y12._Ig(_jE._G6, _jE._w2, _jE._x2, _jE._U8, _jE._X8, _jE._Q9, _jE._3a2, _jE._H6 * _cj) } } } else { _jE._Se(_RQ1, 0, _jE, _jE) } } while (_Yo2 > -1000000000) { _8n2(_Yo2); _Yo2 = _bn2(_Yo2) } }; _r12.prototype.__o2 = function(_Z72) { var _Yo2 = _an2(); var _Jn2 = this._3o2._Ln2(); var _0p2 = _Jn2._H2; for (var _u2 = this._AE.length - 1; _u2 >= 0; _u2--) { var _jE = this._AE._hn(_u2); if (_jE._kE || _jE._F2 == 0) continue; while (!0) { if (_0p2 > _jE._H2) { if (_0p2 > _Yo2) { _Jn2._Ig(_Z72); _Jn2 = this._3o2._x51(); if (_Jn2) { _0p2 = _Jn2._H2 } else { _0p2 = -1000000000000 } } else { _8n2(_Yo2); _Yo2 = _bn2(_Yo2) } } else if (_Yo2 > _jE._H2) { _8n2(_Yo2); _Yo2 = _bn2(_Yo2) } else { break } } if (!_jE._FN1[_RQ1]) { var _y12 = _JL._hn(_jE._w6); if (_y12) { if ((_jE._U8 == 1.0) && (_jE._X8 == 1.0) && (_jE._Q9 == 0.0) && (_jE._3a2 == 0xffffff)) { _y12._XN(_jE._G6, _jE._w2, _jE._x2, _jE._H6 * _cj) } else { _y12._Ig(_jE._G6, _jE._w2, _jE._x2, _jE._U8, _jE._X8, _jE._Q9, _jE._3a2, _jE._H6 * _cj) } } } else { _jE._Se(_RQ1, 0, _jE, _jE) } } while (!0) { if (_0p2 > _Yo2) { _Jn2._Ig(_Z72); _Jn2 = this._3o2._x51(); if (_Jn2) { _0p2 = _Jn2._H2 } else { _0p2 = -1000000000000 } } else { if (_Yo2 <= -1000000000) break; _8n2(_Yo2); _Yo2 = _bn2(_Yo2) } } }; _r12.prototype._1p2 = function(_Z72) { _bN = _Z72; if (this._Wn2) { _Q72(_gj(_O7._O52)) } this._2p2(_Z72, _FR1); for (var _u2 = 0; _u2 < _1p._b42.length; _u2++) { var _c42 = _1p._hn(_u2); if (_c42) { _c42._F2 = _O7._Q52[_u2]; _c42._242 = _O7._R52[_u2]; _c42._w2 = _O7._T52[_u2]; _c42._x2 = _O7._U52[_u2]; _c42.index = _O7._S52[_u2]; _c42._342 = _O7._X52[_u2]; _c42._442 = _O7._Y52[_u2]; _c42.alpha = _O7._362[_u2]; _c42._c22 = _O7._262[_u2]; _c42._ub = _O7._062[_u2]; _c42._tb = _O7._162[_u2]; _c42._842 = _O7._Z52[_u2]; _c42._942 = _O7.__52[_u2]; if (_c42 != null && _c42._F2 && !_c42._242) { var _cM = _1p._bp(_c42.index); if (_cM != null) { if (_c42._742) { _IN(_cM._0p, _c42._w2, _c42._x2, this._Dt1, this._Et1, _c42._c22, _c42.alpha) } else { _P72(_cM._0p, _c42._w2, _c42._x2, _c42._842, _c42._942, _c42._442, _c42._342, _c42._c22, _c42.alpha) } } } } } if (this._3o2._Hn2._fg > 0) { if (_8Z1.length != 0) { this.__o2(_Z72) } else { this._Uo2(_Z72) } } else if (_8Z1.length != 0) { this._Xo2(_Z72) } else { this._Wo2(_Z72) } for (var _u2 = 0; _u2 < _1p._b42.length; _u2++) { var _c42 = _1p._hn(_u2); if (_c42 != null && _c42._F2 && _c42._242) { var _cM = _1p._bp(_c42.index); if (_cM != null) { if (_c42._742) { _IN(_cM._0p, _c42._w2, _c42._x2, this._Dt1, this._Et1, _c42._c22, _c42.alpha) } else { _P72(_cM._0p, _c42._w2, _c42._x2, _c42._842, _c42._942, _c42._442, _c42._342, _c42._c22, _c42.alpha) } } } } this._2p2(_Z72, _GR1) }; _r12.prototype._3p2 = function() { if (_0_1 >= 0) { var _aM = _JL._hn(_0_1); if (_aM != null) { _aM._Ig(_1_1, _Pm._5O1 - _qm.left, _Pm._6O1 - _qm.top, 1.0, 1.0, 0, 0xffffff, 1.0) } _1_1++; if (_1_1 > _aM._qf) _1_1 -= _aM._qf } }; _r12.prototype._2p2 = function(_Z72, _vw) { var _y12, _jE, _u2, _Hn, _T62; _Hn = this._AE._Hn; _T62 = _JL._l1; for (_u2 = _Hn.length - 1; _u2 >= 0; _u2--) { _jE = _Hn[_u2]; if (_jE._kE || !_jE._F2) continue; if (_jE._FN1[_vw]) { _jE._Se(_vw, 0, _jE, _jE) } } }; _r12.prototype._4p2 = function(_uf) { _dN = _Q_1; _dN._rm = 0; _dN._tm = 0; _dN._mN = _uf._1f; _dN._nN = _uf.bottom; _dN._sm = _uf._1f; _dN._um = _uf.bottom; _dN._5p2 = 1.0; _dN._6p2 = 1.0; _c82(); { _oN(0, 0, _uf._1f, _uf.bottom); _pN(0, 0, _uf._1f, _uf.bottom, 0); if (this._Yn2 && _zR) { _Q72(_1O) } this._2p2(_uf, _JR1) } _e82() }; _r12.prototype._7p2 = function() { if (_zR) { if (_MM < 0) { _MM = _So(_qR, _sR); _O7._K62 = _MM; debug("Application Surface created: w=" + _qR + ", h=" + _sR) } if (_NM) { _NM = !1; _So(_OM, _PM, _MM); _qR = _OM; _sR = _PM; debug("Application Surface resized: w=" + _qR + ", h=" + _sR); _8p2() } _0N(_MM) } }; _r12.prototype._9p2 = function(_uf) { var _ap2 = new _Yv(); _ap2._9n(_bN); this._Ro2(); var _km; if (!this._lm) { _km = _mm; _hO = _qR / _ke._Dt1; _iO = _sR / _ke._Et1 } else { _km = this._nm; if (this._Xn2) { _oN(0, 0, _qR, _sR); _pN(0, 0, _qR, _sR, 0); _Q72(_1O) } } var _bp2 = _bN._1f - _bN.left; var _cp2 = _bN.bottom - _bN.top; var _dp2 = _AR._y2 / _bp2; var _ep2 = _AR._z2 / _cp2; var _492 = _qR / _bp2; var _592 = _sR / _cp2; _oZ1 = 0; for (_u2 = 0; _u2 < _km.length; _u2++) { _dN = _km[_u2]; if (_dN._F2) { var _fp2 = _tN; _c82(); { if (_dN._Oo2 != -1) { _0N(_dN._Oo2) } _dN._rm = _dN._iN * _dp2 + _AR._w2; _dN._tm = _dN._jN * _ep2 + _AR._x2; _dN._mN = _dN._kN * _dp2; _dN._nN = _dN._lN * _ep2; _dN._sm = _dN._rm + _dN._mN; _dN._um = _dN._tm + _dN._nN; _dN._5p2 = _dN._mN / _dN._gN; _dN._6p2 = _dN._nN / _dN._hN; if (_dN._Oo2 != -1) { _oN(0, 0, _ZM(_dN._Oo2), __M(_dN._Oo2)) } else { _oN(_dN._iN * _492, _dN._jN * _592, _dN._kN * _492, _dN._lN * _592) } _pN(_dN._eN, _dN._fN, _dN._gN, _dN._hN, _dN._Cg); if (Math.abs(_dN._Cg) < 0.001) { _uf.left = _dN._eN; _uf.top = _dN._fN; _uf._1f = _dN._eN + _dN._gN; _uf.bottom = _dN._fN + _dN._hN } else { var _gp2 = _dN._Cg * (_zf / 180); var _ov = Math.abs(Math.sin(_gp2)); var _v2 = Math.abs(Math.cos(_gp2)); var _0L = (_v2 * _dN._gN) + (_ov * _dN._hN); var _kT = (_ov * _dN._gN) + (_v2 * _dN._hN); _uf.left = _dN._eN + (_dN._gN - _0L) / 2; _uf._1f = _dN._eN + (_dN._gN + _0L) / 2; _uf.top = _dN._fN + (_dN._hN - _kT) / 2; _uf.bottom = _dN._fN + (_dN._hN + _kT) / 2 } _O7._562 = _oZ1; this._1p2(_uf); if (_dN._Oo2 != -1) { _qN(); } _oZ1++ } _e82() } } _bN._9n(_ap2) }; _r12.prototype._hp2 = function(_uf) { if (_ip2 && _zR) { _c82({ _jp2: !0, _kp2: !0 }); _uf.left = 0; _uf.top = 0; _uf._1f = _kO(); _uf.bottom = _lO(); var rect = _AR; _oN(0, 0, _uf._1f, _uf.bottom); _pN(0, 0, _uf._1f, _uf.bottom, 0); _HN(_MM, rect._w2, rect._x2, rect._y2, rect._z2); _e82({ _lp2: !0, _mp2: !0 }) } }; _r12.prototype._np2 = function(_uf) { _uf.left = 0; _uf.top = 0; _uf._1f = _kO(); _uf.bottom = _lO(); _dN = _Q_1; _dN._rm = 0; _dN._tm = 0; _dN._mN = _uf._1f; _dN._nN = _uf.bottom; _dN._sm = _uf._1f; _dN._um = _uf.bottom; _dN._5p2 = 1.0; _dN._6p2 = 1.0; _c82(); { _oN(0, 0, _uf._1f, _uf.bottom); _pN(0, 0, _uf._1f, _uf.bottom, 0); this._2p2(_uf, _KR1) } _e82() }; _r12.prototype._He2 = function(_uf) { var _op2 = _hO; var _pp2 = _iO; var _qp2 = _2_1; var _rp2 = _3_1; if (_qp2 < 0) _qp2 = _kO(); if (_rp2 < 0) _rp2 = _lO(); _c82({ _jp2: !0 }); { _uf.left = 0; _uf.top = 0; _uf._1f = _kO(); _uf.bottom = _lO(); _hO = _uf._1f / _qp2; _iO = _uf.bottom / _rp2; _dN = _Q_1; _dN._rm = 0; _dN._tm = 0; _dN._mN = _uf._1f; _dN._nN = _uf.bottom; _dN._sm = _uf._1f; _dN._um = _uf.bottom; _dN._5p2 = _hO; _dN._6p2 = _iO; _sp2 = !0; _oN(0, 0, _uf._1f, _uf.bottom); _tp2(); var _ap2 = new _Yv(); _ap2._9n(_bN); _bN.left = 0; _bN.top = 0; _bN._1f = _qp2; _bN.bottom = _rp2; this._2p2(_uf, _HR1); this._2p2(_uf, _DR1); this._2p2(_uf, _IR1); _sp2 = !1; _bN._9n(_ap2) } _e82({ _lp2: !0 }); _hO = _op2; _iO = _pp2 }; _r12.prototype._up2 = function(_uf) { if (_0_1 >= 0) { _c82(); _oN(0, 0, _uf._1f, _uf.bottom); _pN(0, 0, _uf._1f, _uf.bottom, 0); this._3p2(); _e82() } }; _r12.prototype._Ig = function() { _c82(); var _uf = new _Yv(); _uf.left = 0; _uf.top = 0; _uf._1f = _kO(); _uf.bottom = _lO(); this._4p2(_uf); this._7p2(); this._9p2(_uf); if (_zR) { _qN() } if (_JM.length != 0) { _ym("Unbalanced surface stack. You MUST use surface_reset_target() for each set."); return } this._np2(_uf); this._hp2(_uf); this._He2(_uf); this._up2(_uf); _e82() }; function _tp2() { var _qp2 = _2_1; var _rp2 = _3_1; if (_qp2 < 0) _qp2 = _7O; if (_rp2 < 0) _rp2 = _8O; var _492 = 1; var _592 = 1; var _tK1 = 0; var _uK1 = 0; if (_4_1) { _492 = _7_1; _592 = _8_1; _tK1 = _5_1; _uK1 = _6_1; _682(_492, _592, _tK1, _uK1) } else { _tK1 = _AR._w2; _uK1 = _AR._x2; if (_2_1 > 0) { _492 = _AR._y2 / _qp2 } if (_3_1 > 0) { _592 = _AR._z2 / _rp2 } _682(_492, _592, _tK1, _uK1) } } _r12.prototype._vp2 = function() { var _wp2 = []; var _mE = _3E._fc2._Hn; for (var _u2 = 0; _u2 < _mE.length; _u2++) { var _jE = _mE[_u2]; if (_jE._kE) { _wp2[_wp2.length] = _jE } } for (var _u2 = 0; _u2 < _wp2.length; _u2++) { var _jE = _wp2[_u2]; this._Fo2(_jE) } }; _r12.prototype._Fo2 = function(_jE) { if (this._EI && _jE._QA1) { this._EI._h71(_jE._QA1) } _3E._hc2(_jE); this._AE._IQ(_jE); this._0o2._H32(_jE); _jE._JE._qa2(_jE) }; _r12.prototype._xp2 = function(_Ay) { if (_Ay._lE) { this._AE._IQ(_Ay); _Ay._JE._qa2(_Ay); this._0o2._yn(_Ay); _Ay._lE = !1 } }; _r12.prototype._yp2 = function(_Ay) { if (!_Ay._lE) { this._0o2._H32(_Ay); this._AE._nk2(_Ay); _Ay._JE._ra2(_Ay); _Ay._lE = !0 } }; _r12.prototype._Kn2 = function(_dn) { var _En2 = this._2o2[_dn]; if (_En2) { this._3o2._Kn2(_En2); this._2o2[_dn] = undefined; this._1o2-- } }; _r12.prototype._zp2 = function() { if (this._ma2.length == 0) return; var _An = this._ma2; var _lE = this._AE; var _Ap2; if (_lE._mk2 < 0) { _Bp2 = _lE._Hn.length } else { _Bp2 = _lE._mk2 } var _fg = 0; for (var _u2 = 0; _u2 < _An.length; _u2++) { var _jE = _An[_u2]; for (var _Bf = 0; _Bf < _Bp2; _Bf++) { if (_jE == _lE._Hn[_Bf]) { _lE._Hn.splice(_Bf, 1); _lE._Hn[_lE._Hn.length] = _jE; _fg += 1; _Bp2 -= 1; _Cp2 = !0; break } } } if (_fg > 0) { if (_lE._mk2 < 0) { _lE._mk2 = _lE._Hn.length - _fg } else { _lE._mk2 -= _fg } } this._ma2 = [] }; function _q02() { this._6J = []; this._w12 = [] } _q02.prototype._t12 = function(_Oo1) { this._w12 = _Oo1 }; _q02.prototype._yn = function(_Dp2) { return this._6J[this._6J.length] = _Dp2 }; _q02.prototype._hn = function(_Ep2) { return this._6J[_Ep2] }; _q02.prototype._8J = function(_Ep2) { return this._6J[this._w12[_Ep2]] }; _q02.prototype._IQ = function(_Ep2) { this._6J[_Ep2] = null }; _q02.prototype._Fp2 = function() { for (var _Gp2 in this._6J) { if (!this._6J.hasOwnProperty(_Gp2)) continue; var _B52 = this._6J[_Gp2]; _B52._s12(_B52._2J) } }; var _eL = []; function _Hp2() { this.__type = "[sound]"; this._m1 = ""; this._Zh = 0; this._AL = ""; this._zL = ""; this._Ip2 = 0; this.volume = 1; this._Jp2 = 0; this.preload = !0; this._Kp2 = 1.0; this._Lp2 = 0; this._Mp2 = [] } _Hp2.prototype._Np2 = function(__32) { this._m1 = __32._m1; this._Zh = __32._Zh; this._AL = __32._AL; this._zL = __32._zL; this._Ip2 = __32._Ip2; this.volume = __32.volume; this._Jp2 = __32._Jp2; this.preload = __32.preload; this._Kp2 = this.volume; this._qL(this._m1) }; _Hp2.prototype._qL = function(_F02) { this._Lp2 = 0; this._Mp2 = []; if ((_KC == _nQ1) || (_KC == _LC)) { _GY1 = 1; this._Mp2[0] = _eL[this._m1] } else { if (_eL[this._m1] != null) { for (var _u2 = 0; _u2 < _GY1; _u2++) { this._Mp2[_u2] = _eL[this._m1].cloneNode(!0) } } } }; var _Op2 = !1; function _112(_uC, _dn, _2L, _oC, _aI1) { _uC = _5L(_uC); if (_6L == !1) { return undefined } var _Pp2 = !1; var _7L; var index; index = _uC.indexOf(_2L); if (index >= 0) { _uC = _uC.substr(0, index) } if (_8L) { _2L = "ogg" } else if (_9L) { _2L = "mp3" } else { _2L = "ogg" } _Pp2 = !0; if (_Pp2) { _uC = _uC + "." + _2L; try { var _Qp2 = new Audio(); _Qp2.URL = _uC; _Qp2._Kp2 = 1.0; _Qp2.autobuffer = !0; if (typeof _Qp2.loop == 'boolean') _Qp2.loop = !1; _Qp2.preload = 'auto'; _Qp2._L02 = !1; _Qp2._Rp2 = !1; var _4p = document.createElement('source'); _4p.setAttribute("src", _uC); if (_2L == "ogg") { _4p.setAttribute("type", 'audio/ogg'); _4p.setAttribute("codecs", 'vorbis') } else { _4p.setAttribute("type", 'audio/mpeg') } _Qp2.setAttribute("networkState", 0); _Qp2.insertBefore(_4p, null); document.body.appendChild(_Qp2); _eL[_dn] = _Qp2; _Qp2.addEventListener('canplaythrough', _oC, !1); _Qp2.addEventListener('error', _aI1, !1); _Qp2.addEventListener("loadstart", _I02, !1); _Qp2.addEventListener("suspend", _J02, !1); _Qp2.addEventListener("stalled", _K02, !1); _Qp2.addEventListener("stall", _K02, !1); _Qp2.load() } catch (e) { if (_KC == _oQ1 && _Op2 == !1) { var _Sp2 = navigator; _Op2 = !0; var _Tp2 = _Sp2.userAgent.indexOf("Windows"); if (_Tp2 != -1) { alert("Audio Error: Please ensure that quicktime is installed") } } } } return _dn } function _t02() { this._j1 = []; this.length = 0 } _t02.prototype._IQ = function(_IL) { if (this._j1[_IL]) { this._Up2(_IL); this._j1[_IL] = undefined } }; function _Vp2() { this._Rp2 = !1 } _t02.prototype._Wp2 = function(_IL) { try { var _Xp2 = this._j1[_IL]; if (!_Xp2) return null; var _Yp2 = _Xp2._Mp2[this._j1[_IL]._Lp2]; this._j1[_IL]._Lp2++; if (this._j1[_IL]._Lp2 >= _GY1) { this._j1[_IL]._Lp2 = 0 } return _Yp2 } catch (e) { debug("Sound buffer unavailable for sound: " + _IL) } return null }; _t02.prototype._Up2 = function(_Pj) { with(this) { var _Zp2 = this._j1[_Pj]; if (!_Zp2) return; _Zp2 = _Zp2._Mp2; for (var _u2 = 0; _u2 < _Zp2.length; _u2++) { _Xp2 = _Zp2[_u2]; if (_Xp2 != null) { try { _Xp2.pause(); _Xp2._Rp2 = !1 } catch (_0L) { if (_ZK) debug("Error stopping sound: " + this._j1[_Pj]._m1); } } } } }; function __p2() { try { this.currentTime = 0 } catch (_0L) { if (_ZK) debug("Error setting current sound time: " + this._j1[_IL]._m1) } this.play() } _t02.prototype._hn = function(_IL) { return this._j1[_IL]; }; _t02.prototype._am = function() { this._j1 = []; length = 0 }; _t02.prototype._yn = function(__32) { with(this) { var _c42 = null; if (__32 != null) { _c42 = new _Hp2(); _c42._Np2(__32) } _j1[_j1.length] = _c42 } }; function _Yv() { this.left = 0; this.top = 0; this._1f = 0; this.bottom = 0 } _Yv.prototype._9n = function(_iM) { this.left = _iM.left; this._1f = _iM._1f; this.top = _iM.top; this.bottom = _iM.bottom }; function _XL() { this.__type = "[sprite]"; this._m1 = "sprite"; this.width = 16; this.height = 16; this._DE = new _Yv; this._n1 = !0; this._o1 = !0; this.preload = !0; this.__L = 0; this._0M = !1; this._p1 = 0; this._q1 = 0; this._1M = !1; this._qf = 0; this._bM = 8; this._2M = !1; this._3M = !1; this._rf = []; this._0q2 = []; this._RL = []; this._y1 = [] } _XL.prototype._ab2 = function() { return this._0M }; _XL.prototype._fC1 = function() { return this._qf }; _XL.prototype._4M = function() { var _1q2 = (this._q1 * this._q1); var _2q2 = (this._p1 * this._p1); var _3q2 = (this.width - this._p1) * (this.width - this._p1); var _4q2 = (this.height - this._q1) * (this.height - this._q1); var _5q2 = ~~ceil(sqrt(_2q2 + _1q2)); var _6q2 = ~~ceil(sqrt(_3q2 + _1q2)); var _7q2 = ~~ceil(sqrt(_2q2 + _4q2)); var _8q2 = ~~ceil(sqrt(_3q2 + _4q2)); this._bM = _tf(_5q2, _tf(_6q2, _tf(_7q2, _8q2))) }; _XL.prototype._9q2 = function(_aq2, _NI, _OI) { try { if (_JL._bq2 !== undefined) { var _cq2 = !0; var _dq2 = 0; var _eq2 = _JL._bq2[_aq2]; var _9q1 = new DataView(_eq2); if (_9q1 !== undefined) { var _fq2 = _9q1.getInt32(_dq2, _cq2); var _gq2 = (1 << 31); if ((_fq2 & _gq2) != 0) { _fq2 &= (~_gq2); _dq2 += 4 } _dq2 += 4; var _hq2 = null; if (_fq2 > 0) { _hq2 = new Uint8Array(_eq2, _dq2, _fq2); _dq2 += ((_fq2 + 3) & ~3) } var _iq2 = _9q1.getUint32(_dq2, _cq2); _dq2 += 4; this._jq2 = []; for (var _u2 = 0; _u2 < _iq2; _u2++) { var type = _9q1.getInt32(_dq2, _cq2); _dq2 += 4; var id = _9q1.getInt32(_dq2, _cq2); _dq2 += 4; var _kq2 = null; if (type === _gI1) { _kq2 = new _pI1(type, id); _dq2 = _kq2._qI1(_9q1, _dq2, _cq2, this._jq2) } else if (type === _hI1) { _kq2 = new _IH1(type, id); _dq2 = _kq2._JH1(_eq2, _9q1, _dq2, _cq2, _hq2) } else { _kq2 = { type: _fI1, id: id } } this._jq2.push(_kq2) } this._ka2 = new _uJ1(); _dq2 = this._ka2._yJ1(_9q1, _dq2, _cq2); if (this._ka2._xJ1._zJ1 > 0) { _dq2 = this._lq2(_9q1, _dq2, _cq2) } else { this.width = this._ka2._2f; this.height = this._ka2._4f; this._0M = !1 } this.__L = 0; this.preload = !0; if (!this._0M) { this._DE.left = this._ka2._0f; this._DE._1f = this._ka2._2f; this._DE.top = this._ka2._3f; this._DE.bottom = this._ka2._4f; this._p1 = _NI; this._q1 = _OI; } this._4M(); this._mq2() } } } catch (e) { debug("Cannot build SWF data " + e.message) } }; _XL.prototype._lq2 = function(_KH1, _LH1, _MH1) { if (!0 != this._0M) { return } this._rf = []; this.width = this._ka2._xJ1._AJ1; this.height = this._ka2._xJ1._BJ1; var _zJ1 = this._ka2._xJ1._zJ1; for (var _u2 = 0; _u2 < _zJ1; _u2++) { var _nq2 = _KH1.getInt32(_LH1, _MH1); _LH1 += 4; var _oq2 = _LH1; var _pq2 = 0; var _Cs1 = []; for (var _Bf = 0; _Bf < _nq2; _Bf++) { var _qq2 = _KH1.getUint8(_LH1, _MH1); _LH1 += 1; var _rq2 = ((_qq2) & 0x80) != 0 ? !0 : !1; var _sq2 = ((_qq2) & 0x7f) + 1; for (var _dZ = 0; _dZ < _sq2; _dZ++) { _Cs1[_pq2++] = _rq2 } } this._rf[_u2] = _Cs1; _LH1 = _oq2 + ((_nq2 + 3) & ~3) } this._2M = !0; return _LH1 }; _XL.prototype._mq2 = function() { this._Ig = function(_xe, _ye, _ze, _fr, _gr, _Ce, _ej, _fj) { _n82(this._jq2, this._ka2, _xe, this._p1, this._q1, _ye, _ze, _fr, _gr, _Ce, _ej, _fj) }; this._XN = function(_tq2, _ye, _ze, _fj) { _n82(this._jq2, this._ka2, _tq2, this._p1, this._q1, _ye, _ze, 1.0, 1.0, 0.0, 0xffffffff, _fj) } }; _XL.prototype._uq2 = function(_vq2) { if (_vq2 >= 0) { if (_JL._5E1 !== undefined) { var _iE1 = _JL._5E1[_vq2]; this._fa2 = new __f(); this._fa2._jg(_iE1._RD, _iE1._1H1, _iE1.width, _iE1.height) } this._Ig = function(_xe, _ye, _ze, _fr, _gr, _Ce, _ej, _fj) { this._fa2._Ig(_xe, _ye, _ze, _fr, _gr, _Ce, _ej, _fj) }; this._XN = function(_xe, _ye, _ze, _fj) { this._fa2._Ig(_xe, _ye, _ze, 1, 1, 0, 0xffffff, _fj) } } }; function _wq2(_xq2, _Us1) { if (_xq2._y1[_Us1] != null) { var _gf = []; var src = 0; var _gC = 0; var _Bp; while (src < _xq2._y1[_Us1].length) { var _yq2 = _xq2._y1[_Us1][src++]; if (_yq2 & 0x80) { _yq2 = (_yq2 & 0x7f) + 1; _Bp = _xq2._y1[_Us1][src++]; for (var _8h = 0; _8h < _yq2; _8h++) { _gf[_gC++] = _Bp } } else { _yq2++; for (var _8h = 0; _8h < _yq2; _8h++) { _gf[_gC++] = _xq2._y1[_Us1][src++] } } } } _xq2._y1[_Us1] = _gf } function _z12(_zq2) { var _y12 = new _XL(); if (_zq2._m1 !== undefined) _y12._m1 = _zq2._m1; if (_zq2.width !== undefined) _y12.width = _zq2.width; if (_zq2.height !== undefined) _y12.height = _zq2.height; if (_zq2._u1 !== undefined) _y12._DE.left = _zq2._u1; if (_zq2._r1 !== undefined) _y12._DE._1f = _zq2._r1; if (_zq2._v1 !== undefined) _y12._DE.top = _zq2._v1; if (_zq2._s1 !== undefined) _y12._DE.bottom = _zq2._s1; if (_zq2._n1 !== undefined) _y12._n1 = _zq2._n1; if (_zq2._o1 !== undefined) _y12._o1 = _zq2._o1; if (_zq2.preload !== undefined) _y12.preload = _zq2.preload; if (_zq2._w1 !== undefined) _y12.__L = _zq2._w1; if (_zq2._x1 !== undefined) _y12._0M = _zq2._x1; if (_zq2._p1 !== undefined) _y12._p1 = _zq2._p1; if (_zq2._q1 !== undefined) _y12._q1 = _zq2._q1; _y12._y1 = null; if (_zq2._Aq2 !== undefined) { _y12._9q2(_zq2._Aq2, _y12._p1, _y12._q1) } if (_zq2._Bq2 !== undefined) { _y12._uq2(_zq2._Bq2); } if (_zq2._y1 !== undefined) _y12._y1 = _zq2._y1; _y12._RL = []; for (var _u2 = _zq2._t1.length - 1; _u2 >= 0; _u2--) { _y12._RL[_u2] = _zq2._t1[_u2] } _y12._qf = _y12._RL.length; _y12._4M(); for (var _u2 = 0; _u2 < _y12._RL.length; _u2++) { _y12._RL[_u2] = _042(_y12._RL[_u2]); if (_y12._RL[_u2] != null) { if (_y12._RL[_u2]._Q4 == 0) _y12._RL[_u2]._Q4 = 1; if (_y12._RL[_u2]._R4 == 0) _y12._RL[_u2]._R4 = 1 } } if (_y12._y1) { for (var _u2 = 0; _u2 < _zq2._y1.length; _u2++) { if (!_zq2._Cq2) _wq2(_y12, _u2); _y12._2M = !0; var _k2 = _y12.width * _y12.height; var _Cs1 = []; _Cs1[_k2 - 1] = 0; var _Dq2 = ((_y12.width + 7) >> 3); var _Rb2 = 0; for (var _x2 = 0; _x2 < _y12.height; ++_x2, _Rb2 += _Dq2) { var _gf = 0x80; var _Eq2 = _Rb2; for (var _w2 = 0; _w2 < _y12.width; ++_w2, _gf >>= 1) { if (_gf == 0) { _gf = 0x80; ++_Eq2 } _Cs1[_w2 + (_x2 * _y12.width)] = ((_y12._y1[_u2][_Eq2] & _gf) != 0) } } _y12._rf[_u2] = _Cs1 } } _zq2._Cq2 = !0; return _y12 } _XL.prototype._XN = function(_tq2, _ye, _ze, _fj) { if (this._qf <= 0) return; var _bM = this._bM; if (((_bN.top - _ze) <= _bM) && ((_ze - _bN.bottom) <= _bM) && ((_bN.left - _ye) <= _bM) && ((_ye - _bN._1f) <= _bM)) { _tq2 = (~~_tq2) % this._qf; if (_tq2 < 0) _tq2 = _tq2 + this._qf; var _Zo = this._RL[_tq2]; if ((_Zo._y2 == _Zo._Q4) && (_Zo._z2 == _Zo._R4)) { _O72(_Zo, _ye - this._p1, _ze - this._q1, _fj) } else { var _Dg = 0xffffffff; _282(_Zo, 0, 0, _ye - this._p1, _ze - this._q1, 1, 1, 0, _Dg, _Dg, _Dg, _Dg, 1) } } }; _XL.prototype._Ig = function(_xe, _ye, _ze, _fr, _gr, _Ce, _ej, _fj) { if (this._qf <= 0) return; var _Fq2 = abs(this._bM * _fr); var _Gq2 = abs(this._bM * _gr); var _bM; if (_Fq2 > _Gq2) { _bM = _Fq2 } else { _bM = _Gq2 } if (((_bN.top - _ze) <= _bM) && ((_ze - _bN.bottom) <= _bM) && ((_bN.left - _ye) <= _bM) && ((_ye - _bN._1f) <= _bM)) { _xe = (~~_xe) % this._qf; if (_xe < 0) _xe += this._qf; _Ce = _Z_1(_Ce, 360.0); _282(this._RL[_xe], this._p1, this._q1, _ye, _ze, _fr, _gr, _Ce * Math.PI / 180.0, _ej, undefined, undefined, undefined, _fj) } }; _XL.prototype._ob2 = function(_Hq2, _Iq2, _Mf, _Nf, _Ae, _Be, _Ce, _ye, _ze) { var _Cf, _Ef; if (!this._2M) return !0; if (this._qf <= 0) return !1; _Hq2 = _Hq2 % this._rf.length; if (_Hq2 < 0) _Hq2 = _Hq2 + this._rf.length; if (Math.abs(_Ce) < 0.0001) { _Cf = Math.floor((_ye - _Mf) / _Ae + this._p1); _Ef = Math.floor((_ze - _Nf) / _Be + this._q1) } else { var _Xf = Math.sin(-_Ce * Math.PI / 180.0); var _Yf = Math.cos(-_Ce * Math.PI / 180.0); _Cf = Math.floor((_Yf * (_ye - _Mf) + _Xf * (_ze - _Nf)) / _Ae + this._p1); _Ef = Math.floor((_Yf * (_ze - _Nf) - _Xf * (_ye - _Mf)) / _Be + this._q1) } if ((_Cf < 0) || (_Cf >= this.width)) return !1; if ((_Ef < 0) || (_Ef >= this.height)) return !1; return this._rf[_Hq2][_Cf + (_Ef * this.width)] }; _XL.prototype._qb2 = function(_Hq2, _Iq2, _Mf, _Nf, _Ae, _Be, _Ce, _Rf) { if (!this._2M) return !0; if (this._qf <= 0) return !1; _Hq2 = _Hq2 % this._rf.length; if (_Hq2 < 0) { _Hq2 = _Hq2 + this._rf.length } var _sf = _tf(_Iq2.left, _Rf.left); var _uf = _vf(_Iq2._1f, _Rf._1f); var _wf = _tf(_Iq2.top, _Rf.top); var _xf = _vf(_Iq2.bottom, _Rf.bottom); if ((_Ae == 1) && (_Be == 1) && (Math.abs(this._Cg) < 0.0001)) { for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = _u2 - _Mf + this._p1; var _Ef = _Bf - _Nf + this._q1; if ((_Cf < 0) || (_Cf >= this._y2)) continue; if ((_Ef < 0) || (_Ef >= this._z2)) continue; if (this._rf[_Hq2][_Cf + (_Ef * this._y2)] == !0) return !0 } } } else { var _Xf = Math.sin(-_Ce * _zf / 180.0); var _Yf = Math.cos(-_Ce * _zf / 180.0); var _Jq2 = 1.0 / _Ae; var _Kq2 = 1.0 / _Be; for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = Math.floor((_Yf * (_u2 - _Mf) + _Xf * (_Bf - _Nf)) * _Jq2 + this._p1); var _Ef = Math.floor((_Yf * (_Bf - _Nf) - _Xf * (_u2 - _Mf)) * _Kq2 + this._q1); if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._rf[_Hq2][_Cf + (_Ef * this.width)]) return !0 } } } return !1 }; _XL.prototype._Lq2 = function(_Hq2, _Iq2, _Mf, _Nf, _Ae, _Be, _Ce, _Rf) { var _u2, _Bf; if (!this._2M) return !0; if (_Mq2 > 3) { _Mq2 = (1 + _Mq2) - 1 } if (this._qf <= 0) return !1; _Hq2 = _Hq2 % this._rf.length; if (_Hq2 < 0) _Hq2 = _Hq2 + this._rf.length; var _sf = _tf(_Iq2.left, _Rf.left); var _uf = _vf(_Iq2._1f, _Rf._1f); var _wf = _tf(_Iq2.top, _Rf.top); var _xf = _vf(_Iq2.bottom, _Rf.bottom); var _Sf = ((_Rf._1f + _Rf.left) / 2); var _Tf = ((_Rf.bottom + _Rf.top) / 2); var _Uf = 1.0 / ((_Rf._1f - _Rf.left) / 2); var _Vf = 1.0 / ((_Rf.bottom - _Rf.top) / 2); var _Nq2 = this._rf[_Hq2]; var _wp2; if ((_Ae == 1) && (_Be == 1) && (Math.abs(_Ce) < 0.0001)) { for (_u2 = _sf; _u2 <= _uf; _u2++) { _wp2 = (_u2 - _Sf) * _Uf; var _Oq2 = _wp2 * _wp2; var _Cf = _u2 - _Mf + this._p1; if ((_Cf < 0) || (_Cf >= this.width)) continue; for (_Bf = _wf; _Bf <= _xf; _Bf++) { _wp2 = (_Bf - _Tf) * _Vf; if (_Oq2 + (_wp2 * _wp2) > 1) continue; var _Ef = _Bf - _Nf + this._q1; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (_Nq2[_Cf + (_Ef * this.width)]) return !0 } } } else { var _Xf = Math.sin(-_Ce * Math.PI / 180.0); var _Yf = Math.sin(-_Ce * Math.PI / 180.0); var _Jq2 = 1.0 / _Ae; var _Kq2 = 1.0 / _Be; for (_u2 = _sf; _u2 <= _uf; _u2++) { var _Pq2 = (_u2 - _Mf); var _Qq2 = _Yf * _Pq2; var _Rq2 = _Xf * _Pq2; var _wp2 = (_u2 - _Sf) * _Uf; var _Sq2 = _wp2 * _wp2; for (_Bf = _wf; _Bf <= _xf; _Bf++) { var _Tq2 = (_Bf - _Tf) * _Vf; if ((_Sq2 + (_Tq2 * _Tq2)) > 1) continue; var _Uq2 = _Bf - _Nf; var _Cf = ~~ ((_Qq2 + _Xf * _Uq2 * _Jq2) + this._p1); if ((_Cf < 0) || (_Cf >= this.width)) continue; var _Ef = ~~ ((_Yf * _Uq2 - _Rq2 * _Kq2) + this._q1); if ((_Ef < 0) || (_Ef >= this.height)) continue; if (_Nq2[_Cf + (_Ef * this.width)]) return !0 } } } return !1 }; _XL.prototype._Bb2 = function(_Hq2, _Iq2, _Mf, _Nf, _Vq2, _Wq2, _Xq2, _Yq2, _Zq2, _pf, _8f, _9f, _af, _bf, _cf) { if (_Yq2 == null) return !1; if (this._qf <= 0) return !1; if (_Yq2._qf <= 0) return !1; if (this._rf.length > 0) _Hq2 = _Hq2 % this._rf.length; if (_Hq2 < 0) { _Hq2 = _Hq2 + this._rf.length; } if (_Yq2._rf.length > 0) _Zq2 = _Zq2 % _Yq2._rf.length; if (_Zq2 < 0) { _Zq2 = _Zq2 + _Yq2._rf.length } _Vq2 = 1.0 / _Vq2; _Wq2 = 1.0 / _Wq2; _af = 1.0 / _af; _bf = 1.0 / _bf; var _sf = _tf(_Iq2.left, _pf.left); var _uf = _vf(_Iq2._1f, _pf._1f); var _wf = _tf(_Iq2.top, _pf.top); var _xf = _vf(_Iq2.bottom, _pf.bottom); if ((_Vq2 == 1) && (_af == 1) && (_Wq2 == 1) && (_bf == 1) && (_Xq2 == 0) && (_cf == 0)) { for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = _u2 - _Mf + this._p1; var _Ef = _Bf - _Nf + this._q1; if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._2M) { if (!this._rf[_Hq2][_Cf + (_Ef * this.width)]) continue } _Cf = _u2 - _8f + _Yq2._p1; _Ef = _Bf - _9f + _Yq2._q1; if ((_Cf < 0) || (_Cf >= _Yq2.width)) continue; if ((_Ef < 0) || (_Ef >= _Yq2.height)) continue; if (_Yq2._2M) { if (!_Yq2._rf[_Zq2][_Cf + (_Ef * _Yq2.width)]) continue } return !0 } } } else if ((_Xq2 == 0) && (_cf == 0)) { for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = Math.floor(((_u2 - _Mf) * _Vq2 + this._p1)); var _Ef = Math.floor(((_Bf - _Nf) * _Wq2 + this._q1)); if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._2M) { if (!this._rf[_Hq2][_Cf + (_Ef * this.width)]) continue } _Cf = Math.floor(((_u2 - _8f) * _af + _Yq2._p1)); _Ef = Math.floor(((_Bf - _9f) * _bf + _Yq2._q1)); if ((_Cf < 0) || (_Cf >= _Yq2.width)) continue; if ((_Ef < 0) || (_Ef >= _Yq2.height)) continue; if (_Yq2._2M) { if (!_Yq2._rf[_Zq2][_Cf + (_Ef * _Yq2.width)]) continue } return !0 } } } else { var __q2 = Math.sin(-_Xq2 * _zf / 180); var _0r2 = Math.cos(-_Xq2 * _zf / 180); var _yf = Math.sin(-_cf * _zf / 180); var _Af = Math.cos(-_cf * _zf / 180); for (var _u2 = _sf; _u2 <= _uf; _u2++) { for (var _Bf = _wf; _Bf <= _xf; _Bf++) { var _Cf = Math.floor(((_0r2 * (_u2 - _Mf) + __q2 * (_Bf - _Nf)) * _Vq2 + this._p1)); var _Ef = Math.floor(((_0r2 * (_Bf - _Nf) - __q2 * (_u2 - _Mf)) * _Wq2 + this._q1)); if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._2M) { if (!this._rf[_Hq2][_Cf + (_Ef * this.width)]) continue } _Cf = Math.floor(((_Af * (_u2 - _8f) + _yf * (_Bf - _9f)) * _af + _Yq2._p1)); _Ef = Math.floor(((_Af * (_Bf - _9f) - _yf * (_u2 - _8f)) * _bf + _Yq2._q1)); if ((_Cf < 0) || (_Cf >= _Yq2.width)) continue; if ((_Ef < 0) || (_Ef >= _Yq2.height)) continue; if (_Yq2._2M) { if (!_Yq2._rf[_Zq2][_Cf + (_Ef * _Yq2.width)]) continue } return !0 } } } return !1 }; _XL.prototype._1r2 = function(_Hq2, _Iq2, _Mf, _Nf, _Ae, _Be, _Ce, _2r2, _3r2, _4r2, _5r2) { if (!this._2M) { return !0 } if (this._qf <= 0) { return !1 } _Hq2 = _Hq2 % this._rf.length; if (_Hq2 < 0) { _Hq2 = _Hq2 + this._rf.length } if ((_2r2 == _4r2) || (_3r2 == _5r2)) { var _6r2 = new _Yv(); _6r2.left = _2r2; _6r2.top = _vf(_3r2, _5r2); _6r2._1f = _4r2; _6r2.bottom = _tf(_3r2, _5r2); return this._qb2(_Hq2, _Iq2, _Mf, _Nf, _Ae, _Be, _Ce, _6r2) } var _Xf = Math.sin(-_Ce * Math.PI / 180.0); var _Yf = Math.cos(-_Ce * Math.PI / 180.0); if (Math.abs(_4r2 - _2r2) >= Math.abs(_5r2 - _3r2)) { if (_4r2 < _2r2) { var _Pk = _4r2; _4r2 = _2r2; _2r2 = _en; _Pk = _5r2; _5r2 = _7r2; _3r2 = _Pk } var _MB = (_5r2 - _3r2) / (_4r2 - _2r2); for (var _u2 = _tf(_Iq2.left, _2r2); _u2 <= _vf(_Iq2._1f, _4r2); _u2++) { var _Cf = Math.floor((_Yf * (_u2 - _Mf) + _Xf * (_3r2 + (_u2 - _2r2) * _MB - _Nf)) / _Ae + this._p1); var _Ef = Math.floor((_Yf * (_3r2 + (_u2 - _2r2) * _MB - _Nf) - _Xf * (_u2 - _Mf)) / _Be + this._q1); if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._rf[_Hq2][_Cf + (_Ef * this.width)]) return !0; } } else { if (_5r2 < _3r2) { var _Pk = _5r2; _5r2 = _3r2; _3r2 = _Pk; _Pk = _4r2; _4r2 = _2r2; _2r2 = _Pk } var _MB = (_4r2 - _2r2) / (_5r2 - _3r2); for (var _u2 = _tf(_Iq2.top, _3r2); _u2 <= _vf(_Iq2.bottom, _5r2); _u2++) { var _Cf = Math.floor((_Yf * (_2r2 + (_u2 - _3r2) * _MB - _Mf) + _Xf * (_u2 - _Nf)) / _Ae + this._p1); var _Ef = Math.floor((_Yf * (_u2 - _Nf) - _Xf * (_2r2 + (_u2 - _3r2) * _MB - _Mf)) / _Be + this._q1); if ((_Cf < 0) || (_Cf >= this.width)) continue; if ((_Ef < 0) || (_Ef >= this.height)) continue; if (this._rf[_Hq2][_Cf + (_Ef * this.width)]) return !0 } } return !1 }; _XL.prototype._sM = function(_xe) { if (this._qf <= 0) { return null } _xe = _xe % this._qf; if (_xe < 0) { _xe = _xe + this._qf } if (this._RL) { return this._RL[_xe] } return null }; function _r02() { this._l1 = [] } _r02.prototype._ZL = function(_xq2) { var _df = this._l1.length; this._l1[_df] = _xq2; return _df }; _r02.prototype.__a2 = function(_8r2) { if (_8r2 < 0 || _8r2 > this._l1.length) return null; var _Mk2 = this._l1[_8r2]; if ((_Mk2._ka2 !== null) && (_Mk2._ka2 !== undefined)) { return _Mk2._ka2._wJ1 } return _Mk2._RL.length }; _r02.prototype._hn = function(_8r2) { if (_8r2 < 0 || _8r2 > this._l1.length) return null; return this._l1[_8r2] }; _r02.prototype._IQ = function(_dn) { if (this._l1[_dn] != undefined) this._l1[_dn] = undefined }; _r02.prototype._W02 = function(_7q1) { try { var _9r2 = { data: new Uint8Array(_7q1), _A2: 0 }; function _ar2(_br2) { var _cr2 = ";"; var _9o = ""; while (_9r2._A2 < _br2.data.byteLength) { if (_br2.data[_9r2._A2] === _cr2.charCodeAt(0)) { _9r2._A2++; break } _9o = _9o + String.fromCharCode(_br2.data[_9r2._A2]); _9r2._A2++ } return _9o }; var type = _ar2(_9r2); if (type == "rswf") { var version = _ar2(_9r2), _dr2 = version.split('.', 3); _oI1._JS = parseInt(_dr2[0]); _oI1._KS = parseInt(_dr2[1]); _oI1.version = parseInt(_dr2[2]); var _er2 = parseInt(_ar2(_9r2)), _fr2 = parseInt(_ar2(_9r2)); this._bq2 = []; var _Wj = _er2; for (var _u2 = 0; _u2 < _fr2; _u2++) { var _gr2 = parseInt(_ar2(_9r2)); this._bq2[_u2] = _7q1.slice(_Wj, _Wj + _gr2); _Wj += _gr2 } } } catch (e) { debug("Cannot parse SWF data " + e.message) } }; _r02.prototype._U02 = function(_hr2) { function _ir2(_Wg, _xf) { var _Um2 = (_Wg >> 16) & 0xffff, _JO1 = _Wg & 0xffff; var _0K1 = (_xf >> 16) & 0xffff, _Ym1 = _xf & 0xffff; var _1o = ((_Um2 * _Ym1) + (_JO1 * _0K1)) & 0xffff; return ((_1o << 16) >>> 0) + (_JO1 * _Ym1) }; function _jr2(_7q1) { var _kr2 = Math.pow(2, 32); var _lr2 = 6 * 7; var _mr2 = ""; for (var _Bf = 0; _Bf < _7q1.length; _Bf++) { _mr2 += String.fromCharCode((_7q1.charCodeAt(_Bf) - (_lr2 & 0xff)) & 0xff); _lr2 = _ir2(_lr2, (_lr2 + 1) % _kr2) % _kr2 } return _mr2 }; this._5E1 = []; try { var _nr2 = _hr2.split(';', 4); if (_nr2[0] == "skel") { var version = _nr2[1]; var _Wj = parseInt(_nr2[2]); var _or2 = parseInt(_nr2[3]); var _pr2 = 4 + _or2; _nr2 = _hr2.split(';', _pr2); for (var _u2 = 0; _u2 < _or2; _u2++) { var _qr2 = parseInt(_nr2[4 + _u2]); var _rr2 = _hr2.substr(_Wj, _qr2); var _sr2 = _rr2.split(';', 4); var _Sp = 0; var _tr2 = parseInt(_sr2[_Sp++]); var _ur2 = parseInt(_sr2[_Sp++]); var _vr2 = parseInt(_sr2[_Sp++]); var _wr2 = _sr2[_Sp].substr(0, _tr2); var _xr2 = _sr2[_Sp].substr(_tr2, _sr2[_Sp].length - _tr2); this._5E1.push({ _RD: _jr2(_My(_wr2)), _1H1: _jr2(_My(_xr2)), width: _ur2, height: _vr2 }); _Wj += _qr2 } } } catch (e) { debug("Cannot parse Spine data " + e.message) } }; function _yr2() { this.__type = "[Tile]"; this._w2 = 0; this._x2 = 0; this.index = 0; this._qo2 = 0; this._ro2 = 0; this._y2 = 0; this._z2 = 0; this._H2 = 0.0; this.id = _JZ1++; this._842 = 1.0; this._942 = 1.0; this._c22 = 0xffffff; this.alpha = 1.0; this._F2 = !0; this._zr2 = !1 } _yr2.prototype._Ar2 = function() { var _cM = _1p._bp(this.index); if (_cM != null) { var _Zo = _cM._0p; if (_Zo._U4 >= _ig.length) return; if (!_ig[_Zo._U4].complete) return; if (this._qo2 < 0) { this._y2 += this._qo2; this._qo2 = 0 } if (this._ro2 < 0) { this._z2 += this._ro2; this._ro2 = 0 } if (_Zo != null) { if ((this._qo2 + this._y2) >= _Zo._y2) { this._y2 = _Zo._y2 - this._qo2 } if ((this._ro2 + this._z2) >= _Zo._z2) { this._z2 = _Zo._z2 - this._ro2 } } } }; function _vo2(_Br2) { var _En2 = new _yr2(); if (_Br2._w2 != undefined) _En2._w2 = _Br2._w2; if (_Br2._x2 != undefined) _En2._x2 = _Br2._x2; if (_Br2.index != undefined) _En2.index = _Br2.index; if (_Br2._qo2 != undefined) _En2._qo2 = _Br2._qo2; if (_Br2._ro2 != undefined) _En2._ro2 = _Br2._ro2; if (_Br2._y2 != undefined) _En2._y2 = _Br2._y2; if (_Br2._z2 != undefined) _En2._z2 = _Br2._z2; if (_Br2._H2 != undefined) _En2._H2 = _Br2._H2; if (_Br2.id != undefined) _En2.id = _Br2.id; if (_Br2._r2 != undefined) _En2._842 = _Br2._r2; if (_Br2._s2 != undefined) _En2._942 = _Br2._s2; if (_Br2._w4 != undefined) { _En2._c22 = (_Br2._w4 & 0xffffff); _En2.alpha = ((_Br2._w4 >> 24) & 0xff) / 255.0 } _En2._Ar2(); if (_JZ1 < _Br2.id) _JZ1 = _Br2.id + 1; return _En2 } _yr2.prototype._Ig = function() { if (!this._F2) return !1; var _cM = _1p._bp(this.index); if (_cM != null) { var _Zo = _cM._0p; if (_Zo._U4 >= _ig.length) return; if (!_ig[_Zo._U4].complete) return; var _He = _Zo._y2 / _Zo._S4; var _Ie = _Zo._z2 / _Zo._T4; if (!_3g) { _9h.globalAlpha = this.alpha; if (this._c22 != 0xffffff) { _872 = _ch(_Zo, this._c22); if (this._842 <= 0 || this._942 <= 0) { _i72(this._w2, this._x2, this._842, this._942, 0.0); _9h._QL(_872, (this._qo2 * _He), (this._ro2 * _Ie), this._y2 * _He, this._z2 * _Ie, 0, 0, this._y2, this._z2); _j72() } else { _9h._QL(_872, (this._qo2 * _He), (this._ro2 * _Ie), (this._y2 * _He), (this._z2 * _Ie), this._w2, this._x2, this._y2 * this._842, this._z2 * this._942) } } else { var _du1 = _ig[_Zo._U4]; if (this._842 <= 0 || this._942 <= 0) { _i72(this._w2, this._x2, this._842, this._942, 0.0); _9h._QL(_du1, _Zo._w2 + (this._qo2 * _He), _Zo._x2 + (this._ro2 * _He), this._y2 * _He, this._z2 * _Ie, 0, 0, this._y2, this._z2); _j72() } else { _9h._QL(_du1, _Zo._w2 + (this._qo2 * _He), _Zo._x2 + (this._ro2 * _He), this._y2 * _He, this._z2 * _Ie, this._w2, this._x2, this._y2 * this._842, this._z2 * this._942) } } } else { var _Dg = this._c22 | ((this.alpha * 255) << 24); _9h._QL(_Zo, _Zo._w2 + (this._qo2 * _He), _Zo._x2 + (this._ro2 * _He), this._y2 * _He, this._z2 * _He, this._w2, this._x2, this._y2 * this._842, this._z2 * this._942, _Dg) } } }; function _Cr2(__32) { this.__type = "[Timeline]"; if ((__32 != null) && (__32 != undefined)) { this._m1 = __32._m1; this._Hy = __32._Hy } else { this._m1 = ""; this._Hy = [] } } _Cr2.prototype._BO1 = function(_Dr2) { if (this._Hy.length == 0) { return 0 } if (_Dr2 > this._Hy[this._Hy.length - 1]._Er2) { return this._Hy.length } for (var _u2 = 0; _u2 < this._Hy.length; _u2++) { if (this._Hy[_u2]._Er2 >= _Dr2) { return _u2 } } return this._Hy.length }; _Cr2.prototype._FO1 = function(_Dr2) { if (this._Hy.length == 0) { return 0 } if (_Dr2 < this._Hy[0]._Er2) { return -1 } for (var _u2 = this._Hy.length - 1; _u2 >= 0; _u2--) { if (this._Hy[_u2]._Er2 <= _Dr2) { return _u2 } } return -1 }; _Cr2.prototype._EO1 = function() { return this._Hy[this._Hy.length - 1]._Er2 }; function _w02() { this._B2 = [] } _w02.prototype._yn = function(__32) { var _c42 = null; if (__32 != null) { _c42 = new _Cr2(__32) } this._B2[this._B2.length] = _c42 }; _w02.prototype._hn = function(_xe) { if ((_xe < 0) || (_xe >= this._B2.length)) { return undefined } return this._B2[_xe] }; _w02.prototype._am = function(_xe) { if ((_xe >= 0) || (_xe < this._B2.length)) { this._B2[_xe]._Hy._am() } }; _w02.prototype._IQ = function(_xe) { if ((_xe >= 0) || (_xe < this._B2.length)) { this._B2[_xe] = null } }; function _n12(_Fr2) { if (!_Fr2) { this._Hn = [] } else { this._Hn = _Fr2 } } _n12.prototype._hn = function(_IL) { return this._Hn[_IL] }; _n12.prototype._Y32 = function(_Gr2) { for (var _u2 = 1; _u2 < this._Hn.length; _u2++) { var _8k2 = this._Hn[_u2]; if (_8k2._Hr2 == _Gr2) { _3E._Se(_UQ1, _u2) } } }; function _Ir2() { __h("vertex_format_begin") } function _Jr2() { __h("vertex_format_end") } function _Kr2() { __h("vertex_format_add_position") } function _Lr2() { __h("vertex_format_add_position_3d") } function _Mr2() { __h("vertex_format_add_colour") } function _Nr2() { __h("vertex_format_add_normal") } function _Or2() { __h("vertex_format_add_textcoord") } function _Pr2(type, _Uj) { __h("vertex_format_add_custom") } var _Qr2 = null; function _Rr2() { _Ir2 = _Sr2; _Jr2 = _Tr2; _Kr2 = _Ur2; _Lr2 = _Vr2; _Mr2 = _Wr2; _Nr2 = _Xr2; _Or2 = _Yr2; _Pr2 = _Zr2 } function _Sr2() { if (_Qr2 != null) { debug("ERROR vertex_format_begin: Vertex format is already under construction") } else { _Qr2 = new _Kn1() } } function _Ur2() { if (_Qr2 == null) { debug("ERROR vertex_format_add_position: No vertex format is under construction") } else { _Qr2._Un1() } } function _Vr2() { if (_Qr2 == null) { debug("ERROR vertex_format_add_position_3d: No vertex format is under construction"); } else { _Qr2._Zn1() } } function _Wr2() { if (_Qr2 == null) { debug("ERROR vertex_format_add_colour: No vertex format is under construction") } else { _Qr2._Vn1() } } function _Xr2() { if (_Qr2 == null) { debug("ERROR vertex_format_add_normal: No vertex format is under construction") } else { _Qr2.__n1() } } function _Yr2() { if (_Qr2 == null) { debug("ERROR vertex_format_add_textcoord: No vertex format is under construction") } else { _Qr2._Wn1() } } function _Zr2(_Pj, _Oj) { if (_Qr2 == null) { debug("ERROR vertex_format_add_normal: No vertex format is under construction"); } else { _Qr2._ku1(_Pj, _Oj) } } function _Tr2() { if (_Qr2 == null) { debug("ERROR vertex_format_end: No vertex format under construction"); return -1 } var __r2 = _3g._0o1(_Qr2); _Qr2 = null; return __r2 } function _P_1() { this.__type = "[View]"; this._F2 = !1; this._eN = 0; this._fN = 0; this._gN = 640; this._hN = 480; this._iN = 0; this._jN = 0; this._kN = 640; this._lN = 480; this._Cg = 0; this._rm = 0; this._tm = 0; this._sm = 0; this._um = 0; this._mN = 0; this._nN = 0; this._5p2 = 1; this._6p2 = 1; this._mo2 = 32; this._no2 = 32; this._ub = -1; this._tb = -1; this._No2 = -1; this._Oo2 = -1 } _P_1.prototype._9n = function(_an) { this._F2 = _an._F2; this._eN = _an._eN; this._fN = _an._fN; this._gN = _an._gN; this._hN = _an._hN; this._iN = _an._iN; this._jN = _an._jN; this._kN = _an._kN; this._lN = _an._lN; this._Cg = _an._Cg; this._rm = _an._rm; this._tm = _an._tm; this._sm = _an._sm; this._um = _an._um; this._mN = _an._mN; this._nN = _an._nN; this._5p2 = _an._5p2; this._6p2 = _an._6p2; this._mo2 = _an._mo2; this._no2 = _an._no2; this._ub = _an._ub; this._tb = _an._tb; this._No2 = _an._No2; this._Oo2 = _an._Oo2 }; _P_1.prototype._vm = function(_ye) { return ((_ye - _qm.left - this._rm) / this._5p2) + this._eN }; _P_1.prototype._wm = function(_ze) { return ((_ze - _qm.top - this._tm) / this._6p2) + this._fN }; function _wo2(_0s2) { _Vs = new _P_1(); if (_0s2._F2 != undefined) _Vs._F2 = _0s2._F2; if (_0s2._io2 != undefined) _Vs._eN = _0s2._io2; if (_0s2._jo2 != undefined) _Vs._fN = _0s2._jo2; if (_0s2._B4 != undefined) _Vs._gN = _0s2._B4; if (_0s2._K4 != undefined) _Vs._hN = _0s2._K4; if (_0s2._ko2 != undefined) _Vs._iN = _0s2._ko2; if (_0s2._lo2 != undefined) _Vs._jN = _0s2._lo2; if (_0s2._C4 != undefined) _Vs._kN = _0s2._C4; if (_0s2._L4 != undefined) _Vs._lN = _0s2._L4; if (_0s2._Cg != undefined) _Vs._lN = _0s2._Cg; if (_0s2._mo2 != undefined) _Vs._mo2 = _0s2._mo2; if (_0s2._no2 != undefined) _Vs._no2 = _0s2._no2; if (_0s2._ub != undefined) _Vs._ub = _0s2._ub; if (_0s2._tb != undefined) _Vs._tb = _0s2._tb; if (_0s2.index != undefined) _Vs._No2 = _0s2.index; return _Vs } var _3g = null; var _1s2 = null; var _2s2 = null; var _Ds = !1, _Ss = !1, _3s2 = _Gh._Qq1, _4s2 = _Gh._Rq1, _5s2 = 0, _6s2 = 0.0, _7s2 = [], _Ps = { _Mp: !0, _Np: !0, _Op: !0, alpha: !0 }; var _Ns = 0.0, _Fs = !0, _Hs = !0, _Js = !0, _8s2 = _Gh._at; var _wt = null, _Bt = null, _At = null, _Ft = null, _Ht = null, _Dt = []; var _f72 = !1, _9s2 = !1, _as2 = 1.0; var _bs2 = []; var _vu = null, _cs2 = null, _ds2 = 0; var _es2 = 0, _fs2 = 1, __t = 2, _gs2 = 16; var _hs2 = []; var _9j = 16384; var _is2 = 36, _js2 = [], _ks2 = []; function _s82() { _sr(); _Rr2(); _f52(); _Gi(); _ls2(_is2); _gj = _ms2; _O72 = _ns2; _P72 = _os2; _282 = _ps2; _792 = _qs2; _n82 = _rs2; _o82 = _ss2; _R72 = _ts2; _O82 = _us2; _3g._QL = _vs2; _pN = _ws2; _oN = _xs2; _j72 = _ys2; _682 = _zs2; _Q72 = _As2; _i72 = _Bs2; _c82 = _Cs2; _e82 = _Ds2; _F72 = _Es2; _h82 = _Fs2; _j82 = _Gs2; _l82 = _Hs2; _Ja = _Is2; _KA = _Js2; _WA = _Ks2; _NA = _Js2; _YA = _Ks2; _0B = _Ls2; _6B = _Ms2; _eB = _Ns2; _gB = _Os2; _nB = _Ps2; _sB = _Qs2; _OB = _Rs2; _ZB = _Ss2; _3C = _Ts2; _uB = _Qs2; _QB = _Rs2; _0C = _Ss2; _5C = _Ts2; _1h = _Us2; _8B = _Vs2; _6C = _Ws2; _8C = _Ws2; _Vz = _Xs2; _J8 = _Ys2; _HA = _Ys2; _K8 = _Zs2; _eC = __s2; _MO = _0t2; _So = _1t2; _8N = _2t2; _0N = _3t2; _qN = _4t2; _XM = _5t2; _BN = _6t2; _DN = _7t2; _FN = _8t2; _MN = _9t2; _PN = _at2; _Oo = _bt2; _3p = _ct2; _KL = _dt2; _TL = _et2; _6M = _ft2; _5G = _gt2; _UH = _ht2; _dJ = _it2; _eJ = _jt2; _fJ = _kt2; _gJ = _lt2; _hJ = _mt2; _iJ = _nt2; _jJ = _ot2; _kJ = _pt2; _lJ = _qt2; _mJ = _rt2; _nJ = _st2; _oJ = _tt2; _pJ = _ut2; _qJ = _vt2; _rJ = _wt2; _b22 = _xt2; _gt = _yt2; _d22 = _zt2; _e22 = _At2; _g22 = _Bt2; _ft = _Ct2; _922 = _Dt2; _a22 = _Et2; _h22 = _Ft2; _i22 = _Gt2; _j22 = _Ht2; _k22 = _It2; _Jt2() } function _Kt2(_bn1) { var options = { _Rn1: ((_cv.__02 !== undefined) ? !0 : !1), _Sn1: (_cv._W4._Lt2 ? !0 : !1), _Dn1: _xZ1 }; _3g = new _an1(_bn1, options); if (!_3g._rn1) { _3g = null; return !1 } if (!_Mt2()) return !1; if (!_Nt2()) return !1; if (!_Ot2()) return !1; _vu = []; _vu[_es2] = new _Ws(); _vu[_fs2] = new _Ws(); _vu[__t] = new _Ws(); _cs2 = []; for (var _u2 = 0; _u2 < _gs2; _u2++) { _cs2[_u2] = new _Ws() } _ds2 = -1; _6t = 1; _jZ1 = new _Ws(); _kZ1 = new _Ws(); var _Pt2 = _3g._hp1(); for (var _u2 = 0; _u2 < _Pt2; _u2++) { _7s2[_u2] = !1 } return !0 } function _ls2(_Lm2) { _is2 = 4 * (_vf(64, _tf(4, _Lm2)) / 4); _js2[0] = 1; _ks2[0] = 0; for (var _u2 = 1; _u2 < _is2; _u2++) { _js2[_u2] = Math.cos(_u2 * 2 * Math.PI / _is2); _ks2[_u2] = Math.sin(_u2 * 2 * Math.PI / _is2) } _js2[_is2] = 1; _ks2[_is2] = 0 } function _Jt2() { _Yp(0, 0xff000000, 0, 0); _h22(0); _k22(0); _Qt2() } function _Mt2() { return _Rt2() } function _Nt2() { var _St2 = document.createElement(_rv); _St2._qj = _St2.width = 16; _St2._rj = _St2.height = 16; _St2.complete = !0; _St2._TM = !1; _St2.name = ""; _St2._9h = _St2.getContext('2d'); _St2._9h.save(); _St2._9h.setTransform(1, 0, 0, 1, 0, 0); _St2._9h.globalAlpha = 1; _St2._9h.fillStyle = '#ffffff'; _St2._9h.fillRect(0, 0, 16, 16); _St2._9h.restore(); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = 15; _Zo._z2 = 15; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = 15; _Zo._R4 = 15; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = -1; _Zo._hg = _St2; _Zo._eg = []; _Zo._gg = 1; _Zo._fg = 0; _Ch(_Zo); _3g._sq1(_Zo._hg._Bh); return !0 } function _Ot2() { _wt = new Float32Array(_Gh._yq1 * 4); _Bt = new Float32Array(_Gh._yq1 * 4); _At = new Float32Array(_Gh._yq1 * 4); _Ft = new Float32Array(4); var _vt; for (var _u2 = 0; _u2 < _Gh._yq1; _u2++) { _At[_u2] = 0; _vt = _u2 * 4; _wt[_vt + 0] = 0; _wt[_vt + 1] = 0; _wt[_vt + 2] = 0; _wt[_vt + 3] = 0; _Bt[_vt + 0] = 0; _Bt[_vt + 1] = 0; _Bt[_vt + 2] = 0; _Bt[_vt + 3] = 0; _Dt[_u2] = !1 } return !0 } function _Qt2() { var _Tt2 = _oM; _oM = function(_pM, _Ut2) { var _hg = _Tt2(_pM, _Ut2); if (_hg && !_hg._7j._Bh) { _Ch(_hg._nj) } return _hg }; var _Vt2 = _ap; _ap = function(_xe) { var _hg = _Vt2(_xe); if (_hg && !_hg._7j._Bh) { _Ch(_hg._nj) } return _hg } } function _Fs2() { _3g._Fo1(); _3g._Ts(_Us()); _3g._3p1(_5s2, _6s2); _3g._It(_Ht); _3g._Gt(_Ft); _3g._Qs(_Ps._Mp, _Ps._Np, _Ps._Op, _Ps.alpha); for (var _u2 = 0; _u2 < _Gh._yq1; _u2++) { _3g._Ct(_u2, _Bt.subarray(_u2 * 4, (_u2 + 1) * 4), _wt.subarray(_u2 * 4, (_u2 + 1) * 4), _At.subarray(_u2 * 4, (_u2 + 1) * 4)) } } function _Gs2() { _3g._Go1() } function _Cs2(_Wt2) { if (_Wt2) { _1s2 = {}; if (_Wt2._jp2) { _1s2._Ds = _Ds; _1s2._Ss = _Ss; _1s2._Ht = new Float32Array(_Ht); _Ds = !1; _Ss = !1; _Yp(0, 0xff000000, 0, 0); _3g._Es(!1); _3g._Is(!1); _3g._Gs(!1); _3g._Ts(_Us()) } if (_Wt2._kp2) { _1s2._Xt2 = _3s2; _1s2._Yt2 = _4s2; _3g._Io1(_Gh._Nq1, _Gh._Mq1) } } } function _Ds2(_Zt2) { if (_1s2 && _Zt2) { if (_Zt2._lp2) { _Ds = _1s2._Ds; _Ss = _1s2._Ss; _Ht = new Float32Array(_1s2._Ht); _3g._It(_Ht); if (_Ds) { _3g._Es(_Fs); _3g._Gs(_Hs); _3g._Is(_Js) } _3g._Ts(_Us()) } if (_Zt2._mp2) { _3g._Io1(_1s2._Xt2, _1s2._Yt2) } _1s2 = null } } function _Us() { var _eo1 = undefined; if (_Ss) { _eo1 = _3g._tn1 } else { _eo1 = _3g._sn1 } return _eo1 } function _zs2(_F82, _G82, _H82, _I82) { var __t2 = _7O; var _0u2 = _8O; _kZ1._pv1(); var _y2 = _7O / _F82; var _z2 = _8O / _G82; _kZ1._0u((__t2 * -0.5 + _H82) / _F82, (_0u2 * -0.5 + _I82) / _G82, 16000); _jZ1._ct(_y2, -_z2 * _6t, 1.0, 32000.0); _Zt(_fs2, _kZ1); _Zt(_es2, _jZ1) } function _ws2(_J82, _K82, _L82, _M82, _Ce) { if (!_Ds) { _B82(_J82, _K82, _L82, _M82, _Ce) } else { var _Cg = -_Ce * (Math.PI / 180.0); var _C82 = new _Xs((_J82 + _L82 / 2.0), (_K82 + _M82 / 2.0), -_L82); var _D82 = new _Xs((_J82 + _L82 / 2.0), (_K82 + _M82 / 2.0), 0.0); var _E82 = new _Xs(Math.sin(_Cg), Math.cos(_Cg), 0.0); _kZ1.__s(_C82, _D82, _E82); _jZ1._dt(1.0, _M82 / _L82, 1.0, 32000.0); _jZ1._gf[_5t] *= _6t } _Zt(_fs2, _kZ1); _Zt(_es2, _jZ1); _Zt(__t, _vu[__t]); _I72 = _J82; _J72 = _K82; _K72 = _L82; _L72 = _M82 } function _xs2(_7o1, _8o1, _9o1, _ao1) { __z = _7o1; _0A = _8o1; _1A = _9o1; _2A = _ao1; var _Ef = _8o1; if (_6t == 1) { _Ef = _lO() - (_ao1 + _8o1) } _3g._6o1(_7o1, _Ef, _9o1, _ao1) } function _As2(_uj) { _3g._Pp1(!0, !0, !1, _gj(_uj) | 0xff000000) } function _Xs2(_uj, _fj) { var _Dg = ((_fj * 255.0) << 24) | _gj(_uj); _3g._Pp1(!0, !0, !1, _Dg) } function _ms2(_uj) { return (_uj & 0x00ffffff) } function _Zs2(_fj) { if (_fj < 0) { _fj = 0 } if (_fj > 1) { _fj = 1 } _cj = _fj } function _ys2(_1u2) { if (_ys2.arguments.length > 0) { var _Yz = _ys2.arguments[0] } else {} } function _Bs2(_ye, _ze, _QN, _RN, _Ce) {} function _Es2(_ux, _cx, _ye, _ze, _fr, _gr, _Ce, _uj, _fj) { if (!_2s2) { var _Uf = 1024; var _Vf = 1024; var _2u2 = _N82(_Uf, _Vf); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _Uf; _Zo._z2 = _Vf; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _2u2; _Zo._hg = _ig[_Zo._U4]; _2s2 = _Zo } var _v2 = document.createElement("canvas"); var _kh = _v2.getContext("2d"); _ux = "20px arial"; _kh.font = _ux; _kh.textBaseline = "top"; _kh.textAlign = "left"; var _3u2 = _kh.measureText(_cx); var width = _3u2.width; var height = 20; _v2.width = width; _v2.height = height; _kh.globalAlpha = 0.0; _kh.globalCompositeOperation = "copy"; _kh.fillStyle = "black"; _kh.fillRect(0, 0, _v2.width, _v2.height); _kh.globalAlpha = 1.0; _kh.globalCompositeOperation = "source-over"; _kh.fillStyle = "white"; _kh.fillText(_cx, 0, 0) } function _qu(_ar) { if (_ds2 >= _gs2) { return !1 } _ds2++; if (_ds2 == 0) { _cs2[_ds2] = new _Ws(_ar) } else { _cs2[_ds2]._9u(_cs2[_ds2 - 1], _ar) } return !0 } function _ru(_ar) { if (_ds2 < 0) { return !1 } _Zt(__t, _cs2[_ds2]); _ds2--; return !0 } function _ou() { _ds2 = -1 } function _pu() { if (_ds2 < 0) { return !0 } return !1 } function _su() { if (_ds2 < 0) { return !1 } _Zt(__t, _cs2[_ds2]); return !0 } function _tu() { if (_ds2 < 0) { return !1 } _ds2--; return !0 } function _ns2(_gM, _ye, _ze, _fj) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh, _Dg; if (!_gM._hg._Bh) _Ch(_gM); _Eh = _3g._Fh(_Gh._Hh, _gM._hg._Bh, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; _ye = _ye + _gM._O4; _ze = _ze + _gM._P4; _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _ye; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _ze; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _ye + _gM._Q4; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _ze + _gM._R4; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _gM._w2 / _gM._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _gM._x2 / _gM._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_gM._w2 + _gM._y2) / _gM._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_gM._x2 + _gM._z2) / _gM._hg.height; _Dg = ((_fj * 255.0) << 24) | 0xffffff; var _3B = _Dg, _4B = _Dg, _d72 = _Dg, _e72 = _Dg; if (_f72) { _3B &= 0xfffefffe; _4B &= 0xfffefffe; _d72 &= 0xfffefffe; _e72 &= 0xfffefffe; _4B |= 0x00010000; _d72 |= 0x00000001; _e72 |= 0x00010001 } _Oh[_Sh] = _Oh[_Xh] = _3B; _Oh[_Th] = _4B; _Oh[_Uh] = _Oh[_Vh] = _d72; _Oh[_Wh] = _e72 } function _vs2(_gM, _H82, _I82, _5u2, _6u2, _ye, _ze, _6n, _7n, _uj) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh, _Dg; if (!_gM._hg._Bh) _Ch(_gM); if (_uj == undefined) _uj = 0xffffffff; _Eh = _3g._Fh(_Gh._Hh, _gM._hg._Bh, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _ye; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _ze; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _ye + _6n; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _ze + _7n; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _H82 / _gM._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _I82 / _gM._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_H82 + _5u2) / _gM._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_I82 + _6u2) / _gM._hg.height; var _3B = _uj, _4B = _uj, _d72 = _uj, _e72 = _uj; if (_f72) { _3B &= 0xfffefffe; _4B &= 0xfffefffe; _d72 &= 0xfffefffe; _e72 &= 0xfffefffe; _4B |= 0x00010000; _d72 |= 0x00000001; _e72 |= 0x00010001 } _Oh[_Sh] = _Oh[_Xh] = _3B; _Oh[_Th] = _4B; _Oh[_Uh] = _Oh[_Vh] = _d72; _Oh[_Wh] = _e72 } function _os2(_gM, _ye, _ze, _Y82, _Z82, _J4, _I4, _uj, _fj) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh, _y2, _z2; if (!_gM._hg._Bh) _Ch(_gM); _7u2 = _gM._S4 + ~~_ye; _8u2 = _gM._T4 + ~~_ze; var _Uf = ~~ (_Y82 * _gM._S4); var _Vf = ~~ (_Z82 * _gM._T4); var _9u2 = _bN._1f - _bN.left; var _au2 = _bN.bottom - _bN.top; if (_I4) { _ye = (((~~(_bN.left / _Uf)) * _Uf) + (~~_ye) % _Uf) - _Uf; _7u2 = (((((_9u2 + (_Uf - 1)) / _Uf) & 0xffffffff) + 2) * _Uf) + ~~_ye } if (_J4) { _ze = (((~~(_bN.top / _Vf)) * _Vf) + (~~_ze) % _Vf) - _Vf; _8u2 = (((((_au2 + (_Vf - 1)) / _Vf) & 0xffffffff) + 2) * _Vf) + ~~_ze } _ye = ~~_ye; _ze = ~~_ze; var _VL = 0; var _WL = 0; if ((_Uf <= 0) || (_Vf <= 0)) return; var _w4 = _gj(_uj) | (~~((_fj * 255.0) << 24)); var _3B = _w4, _4B = _w4, _d72 = _w4, _e72 = _w4; if (_f72) { _3B &= 0xfffefffe; _4B &= 0xfffefffe; _d72 &= 0xfffefffe; _e72 &= 0xfffefffe; _4B |= 0x00010000; _d72 |= 0x00000001; _e72 |= 0x00010001 } var _hf = (-_Y82 * (_VL - _gM._O4)); var _if = (-_Z82 * (_WL - _gM._P4)); var _bu2 = _Y82 * _gM._Q4; var _cu2 = _Z82 * _gM._R4; var _Cf = _ye + _hf; var _Ef = ~~_ze + _if; var _6h = _gM._w2; var _s_ = _6h + _gM._y2; var _8h = _gM._x2; var _Uh = _gM._x2 + _gM._z2; _6h /= _gM._hg.width; _s_ /= _gM._hg.width; _8h /= _gM._hg.height; _Uh /= _gM._hg.height; var _UB = _Ef; while (_Cf < _7u2) { _Ef = _UB; var _FB = _Cf + _bu2; while (_Ef < _8u2) { _Eh = _3g._Fh(_Gh._Hh, _gM._hg._Bh, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _HB = _Ef + _cu2; _Oh[index] = _e72; _Mh[index + 0] = (_Cf); _Mh[index + 1] = (_Ef); _Qh[index + 0] = (_6h); _Qh[index + 1] = (_8h); index += _Jh; _Oh[index] = _3B; _Mh[index + 0] = (_FB); _Mh[index + 1] = (_Ef); _Qh[index + 0] = (_s_); _Qh[index + 1] = (_8h); index += _Jh; _Oh[index] = _4B; _Mh[index + 0] = (_FB); _Mh[index + 1] = (_HB); _Qh[index + 0] = (_s_); _Qh[index + 1] = (_Uh); index += _Jh; _Oh[index] = _4B; _Mh[index + 0] = (_FB); _Mh[index + 1] = (_HB); _Qh[index + 0] = (_s_); _Qh[index + 1] = (_Uh); index += _Jh; _Oh[index] = _d72; _Mh[index + 0] = (_Cf); _Mh[index + 1] = (_HB); _Qh[index + 0] = (_6h); _Qh[index + 1] = (_Uh); index += _Jh; _Oh[index] = _3B; _Mh[index + 0] = (_Cf); _Mh[index + 1] = (_Ef); _Qh[index + 0] = (_6h); _Qh[index + 1] = (_8h); if (!_J4) { break } _Ef = _Ef + _Vf } if (!_I4) { break } _Cf = _Cf + _Uf } } function _rs2(_du2, _ka2, _Sp, _eu2, _fu2, _w2, _x2, _842, _942, _Cg, _Ng, alpha) { var _gu2 = _Ps; var _hu2 = _Ds; _Sp = _Sp % (_ka2._wJ1); if (_Sp < 0) { _Sp = _Sp + (_ka2._wJ1) } var _iu2 = []; _iu2[0] = _Ng & 0xff; _iu2[1] = (_Ng >> 8) & 0xff; _iu2[2] = (_Ng >> 16) & 0xff; _iu2[3] = (alpha * 255) & 0xff; var _ju2 = new _Ws(); _ju2._0u(_w2, _x2, 0.0); var _ku2 = new _Ws(); _ku2._4u(_Cg); var _lu2 = new _Ws(); _lu2._0u(-_eu2 / _tJ1, -_fu2 / _tJ1, 0.0); var _mu2 = new _Ws(); _mu2._1u(_tJ1 * _842, _tJ1 * _942, 1.0); var _nu2 = new _Ws(); _nu2._9u(_lu2, _mu2); var _ou2 = new _Ws(); _ou2._9u(_nu2, _ku2); var _pu2 = new _Ws(); _pu2._9u(_ou2, _ju2); var translate = new _Ws(); translate._0u(0.5, 0.5, 0.0); var scale = new _Ws(); scale._1u(1.0 / 32768.0, 1.0 / 32768.0, 1.0); var _qu2 = new _Ws(); _qu2._9u(scale, translate); var _DJ1 = _ka2._CJ1[_Sp]; var _ru2 = [], _su2 = 0, _tu2 = 0, _uu2 = !0; for (var _u2 = 0; _u2 < _DJ1._EJ1; _u2++) { var _JE = _DJ1._FJ1[_u2]; for (var _Bf = 0; _Bf < _su2;) { var _vu2 = _ru2[_Bf]; if (_vu2._GJ1 < _JE._H2) { _3g._kp1(_Gh._vr1); _3g._mp1(_Gh._nr1); _3g._Qs(!1, !1, !1, !1); _3g._Gs(!1); _tu2 += _o82(_du2, _vu2, _pu2, _qu2, _Ng, _iu2, !1); _3g._pp1(_su2 - 1); _3g._kp1(_Gh._qr1); _3g._mp1(_Gh._gr1); _3g._Qs(_gu2._Mp, _gu2._Np, _gu2._Op, _gu2.alpha); _3g._Gs(_hu2); _uu2 = !0; _su2--; for (var _dZ = _Bf; _dZ < _su2; _dZ++) { _ru2[_dZ] = _ru2[_dZ + 1] } } else { _Bf++ } } if (_JE._GJ1 > 0) { _ru2[_su2++] = _JE; _3g._ip1(!0); _3g._kp1(_Gh._vr1); _3g._mp1(_Gh._mr1); _3g._Qs(!1, !1, !1, !1); _3g._Gs(!1); _uu2 = !1 } if (_su2 == 0) { _3g._ip1(!1); _uu2 = !0 } _tu2 += _o82(_du2, _JE, _pu2, _qu2, _Ng, _iu2, _uu2 ? _9s2 : !1); if (_JE._GJ1 > 0) { _3g._pp1(_su2); _3g._kp1(_Gh._qr1); _3g._mp1(_Gh._gr1); _3g._Qs(_gu2._Mp, _gu2._Np, _gu2._Op, _gu2.alpha); _3g._Gs(_hu2); _uu2 = !0 } } if (_su2 > 0) { _3g._kp1(_Gh._vr1); _3g._mp1(_Gh._nr1); _3g._Qs(!1, !1, !1, !1); _3g._Gs(!1); for (var _Bf = 0; _Bf < _su2; _Bf++) { var _vu2 = _ru2[_Bf]; _tu2 += _o82(_du2, _vu2, _pu2, _qu2, _Ng, _iu2, !1) } } _3g._ip1(!1); _3g._Qs(_gu2._Mp, _gu2._Np, _gu2._Op, _gu2.alpha); _3g._Gs(_hu2) } function _ss2(_jq2, _wu2, _xu2, _yu2, _zu2, _Au2, _Bu2) { var _Cu2 = []; _Cu2[0] = _Au2[0], _Cu2[1] = _Au2[1], _Cu2[2] = _Au2[2], _Cu2[3] = 0; var _Du2 = new _Ws(); _Du2._9u(_wu2._II1, _xu2); var _Eu2 = 1.0; if (_Bu2) { _Eu2 = _Fu2(_wu2, _Du2) * _as2 } var _HJ1 = [], _IJ1 = [], _Gu2 = []; for (var _u2 = 0; _u2 < 4; _u2++) { _HJ1[_u2] = _wu2._JJ1[_u2]; _IJ1[_u2] = _wu2._KJ1[_u2]; _Gu2[_u2] = _wu2._LJ1[_u2] } var _Hu2 = 0; if (_wu2._TE !== 0) { var _Iu2 = _jq2[_wu2.index]; if (_Iu2.type === _gI1) { var _kq2 = _Iu2; for (var _Bf = 0; _Bf < _kq2._tI1.length; _Bf++) { var _xL = _kq2._tI1[_Bf]; for (var _dZ = 0; _dZ < _xL._wI1; _dZ++) { var _6J1 = _xL._AI1[_dZ]; if ((_6J1._8J1 >= 0) && (_6J1._cJ1 > 0)) { var _Ju2 = _xL._yI1[_6J1._8J1]; if ((_Ju2 !== null) && (_Ju2 !== undefined)) { var _FI1 = _Ju2.type; if (_FI1 === _jI1) { _Hu2 += _Ku2(_wu2, _Ju2, _6J1, _Du2, _Au2, _Cu2, _HJ1, _IJ1, _Gu2, _Bu2) } else if ((_FI1 == _kI1) || (_FI1 == _lI1)) { _Hu2 += _Lu2(_jq2, _wu2, _FI1, _Ju2, _6J1, _yu2, _Du2, _Au2, _Cu2, _zu2, _HJ1, _IJ1, _Gu2, _Bu2) } } } if ((_6J1._9J1 >= 0) && (_6J1._eJ1 > 0)) { var _Dg = _xL._zI1[_6J1._9J1]._Dg; var _4J1 = []; _4J1[0] = (((_Dg >> 0) & 0xff) * _Au2[0]) >> 8; _4J1[1] = (((_Dg >> 8) & 0xff) * _Au2[1]) >> 8; _4J1[2] = (((_Dg >> 16) & 0xff) * _Au2[2]) >> 8; _4J1[3] = (((_Dg >> 24) & 0xff) * _Au2[3]) >> 8; for (var _wf = 0; _wf < 4; _wf++) { _4J1[_wf] = ((_4J1[_wf] * _HJ1[_wf]) >> 8) + _IJ1[_wf]; _4J1[_wf] = Math.max(0, Math.min(_4J1[_wf], 255)) } var _Mu2 = _4J1[0] | (_4J1[1] << 8) | (_4J1[2] << 16) | (_4J1[3] << 24); var _Nu2 = []; _Nu2[0] = ((_Dg & 0xff) * _Cu2[0]) >> 8; _Nu2[1] = (((_Dg >> 8) & 0xff) * _Cu2[1]) >> 8; _Nu2[2] = (((_Dg >> 16) & 0xff) * _Cu2[2]) >> 8; _Nu2[3] = (((_Dg >> 24) & 0xff) * _Cu2[3]) >> 8; for (var _wf = 0; _wf < 4; _wf++) { _Nu2[_wf] = ((_Nu2[_wf] * _HJ1[_wf]) >> 8) + _Gu2[_wf]; _Nu2[_wf] = _tf(0, _vf(_Nu2[_wf], 255)) } var _Ou2 = _Nu2[0] | (_Nu2[1] << 8) | (_Nu2[2] << 16) | (_Nu2[3] << 24); if (_Bu2 && (_6J1._hJ1 > 0)) { var _Dh = _6J1._hJ1 * 6; var _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; _Hu2 += _6J1._hJ1 * 2; for (var _wf = 0; _wf < _6J1._hJ1; _wf++) { var _e21 = _6J1._qJ1[(_wf * 2) + 0], _f21 = _6J1._qJ1[(_wf * 2) + 1]; var _Qu2 = _6J1._mJ1[(_e21 * 2) + 0], _Ru2 = _6J1._mJ1[(_e21 * 2) + 1]; var _Su2 = _6J1._rJ1[(_e21 * 2) + 0], _Tu2 = _6J1._rJ1[(_e21 * 2) + 1]; var _Uu2 = _6J1._mJ1[(_f21 * 2) + 0], _Vu2 = _6J1._mJ1[(_f21 * 2) + 1]; var _Wu2 = _6J1._rJ1[(_f21 * 2) + 0], _Xu2 = _6J1._rJ1[(_f21 * 2) + 1]; var _hf = (_Qu2 * _Du2._gf[_cu]) + (_Ru2 * _Du2._gf[_du]) + _Du2._gf[_fu], _if = (_Qu2 * _Du2._gf[_gu]) + (_Ru2 * _Du2._gf[_5t]) + _Du2._gf[_iu], _jf = (_Uu2 * _Du2._gf[_cu]) + (_Vu2 * _Du2._gf[_du]) + _Du2._gf[_fu], _kf = (_Uu2 * _Du2._gf[_gu]) + (_Vu2 * _Du2._gf[_5t]) + _Du2._gf[_iu]; _Su2 *= _Eu2; _Tu2 *= _Eu2; _Wu2 *= _Eu2; _Xu2 *= _Eu2; var _hp = (_Su2 * _Du2._gf[_cu]) + (_Tu2 * _Du2._gf[_du]) + _hf, _ip = (_Su2 * _Du2._gf[_gu]) + (_Tu2 * _Du2._gf[_5t]) + _if, _lH1 = (_Wu2 * _Du2._gf[_cu]) + (_Xu2 * _Du2._gf[_du]) + _jf, _mH1 = (_Wu2 * _Du2._gf[_gu]) + (_Xu2 * _Du2._gf[_5t]) + _kf; _Mh[_Pu2 + 0] = _hf; _Mh[_Pu2 + 1] = _if; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _lH1; _Mh[_Pu2 + 1] = _mH1; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh } } var _Dh = _6J1._eJ1 * 3; var _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; _Hu2 += _6J1._eJ1; var _Yu2 = 0; for (var _wf = _6J1._eJ1 * 3; _wf > 0; --_wf) { var index = _6J1._nJ1[_Yu2++]; var _Zu2 = _6J1._mJ1[index * 2]; var __u2 = _6J1._mJ1[(index * 2) + 1]; var _w2 = (_Zu2 * _Du2._gf[_cu]) + (__u2 * _Du2._gf[_du]) + _Du2._gf[_fu]; var _x2 = (_Zu2 * _Du2._gf[_gu]) + (__u2 * _Du2._gf[_5t]) + _Du2._gf[_iu]; _Mh[_Pu2 + 0] = _w2; _Mh[_Pu2 + 1] = _x2; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh } } } } } } return _Hu2 } function _Lu2(_jq2, _wu2, _0v2, _1v2, _2v2, _yu2, _3v2, _Au2, _4v2, _zu2, _5v2, _6v2, _7v2, _Bu2) { var _Mh, _Oh, _Qh, _Zo = null, _Eu2 = 1.0, _8v2 = new _Ws(); if (_Bu2) { _Eu2 = _Fu2(_wu2, _3v2) * _as2 } if (_0v2 === _kI1) { var _9v2 = _1v2; _Zo = _9v2._nj; _8v2._9u(_9v2._II1, _yu2) } else if (_0v2 === _lI1) { var _9v2 = _1v2; if (_9v2._OI1 !== -1) { var _av2 = _jq2[_9v2._OI1]; var _du1 = _av2._du1; _Zo = { _hg: _du1 }; if (_du1 !== null) { var _bv2 = new _Ws(); _bv2._1u(1.0 / _du1.width, 1.0 / _du1.height, 1.0); _8v2._9u(_9v2._II1, _bv2); if ((_9v2._MI1 === _EH1) || (_9v2._MI1 === _GH1)) { _3g._5p1(0, !0) } else { _3g._5p1(0, !1) } } } } var _Hu2 = 0; if (_Zo !== null) { _Hu2 += _2v2._cJ1; if (_Bu2 && (_2v2._fJ1 > 0)) { _Hu2 += _2v2._fJ1 * 2; var _4J1 = []; for (var _wf = 0; _wf < 4; _wf++) { _4J1[_wf] = ((_Au2[_wf] * _5v2[_wf]) >> 8) + _6v2[_wf]; _4J1[_wf] = Math.max(0, Math.min(_4J1[_wf], 255)) } var _Mu2 = _4J1[0] | (_4J1[1] << 8) | (_4J1[2] << 16) | (_4J1[3] << 24); var _Nu2 = []; for (var _wf = 0; _wf < 4; _wf++) { _Nu2[_wf] = ((_4v2[_wf] * _5v2[_wf]) >> 8) + _7v2[_wf]; _Nu2[_wf] = Math.max(0, Math.min(_Nu2[_wf], 255)) } var _Ou2 = _Nu2[0] | (_Nu2[1] << 8) | (_Nu2[2] << 16) | (_Nu2[3] << 24); var _Dh = _2v2._fJ1 * 6; var _Eh = _3g._Fh(_Gh._Hh, _Zo._hg._Bh, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh, _Oh = _Eh._Ph, _Qh = _Eh._Rh; var _cv2 = 0; for (_wf = _2v2._fJ1; _wf > 0; _wf--) { var _e21 = _2v2._oJ1[_cv2++], _f21 = _2v2._oJ1[_cv2++]; var _dv2 = _e21 * 2, _ev2 = _e21 * 2; var _Qu2 = _2v2._jJ1[_dv2]; _dv2++; var _Ru2 = _2v2._jJ1[_dv2]; var _Su2 = _2v2._pJ1[_ev2]; _ev2++; var _Tu2 = _2v2._pJ1[_ev2]; _dv2 = _f21 * 2; _ev2 = _f21 * 2; var _Uu2 = _2v2._jJ1[_dv2]; _dv2++; var _Vu2 = _2v2._jJ1[_dv2]; var _Wu2 = _2v2._pJ1[_ev2]; _ev2++; var _Xu2 = _2v2._pJ1[_ev2]; var _hf = (_Qu2 * _3v2._gf[_cu]) + (_Ru2 * _3v2._gf[_du]) + _3v2._gf[_fu], _if = (_Qu2 * _3v2._gf[_gu]) + (_Ru2 * _3v2._gf[_5t]) + _3v2._gf[_iu], _jf = (_Uu2 * _3v2._gf[_cu]) + (_Vu2 * _3v2._gf[_du]) + _3v2._gf[_fu], _kf = (_Uu2 * _3v2._gf[_gu]) + (_Vu2 * _3v2._gf[_5t]) + _3v2._gf[_iu]; _Su2 *= _Eu2; _Tu2 *= _Eu2; _Wu2 *= _Eu2; _Xu2 *= _Eu2; var _hp = (_Su2 * _3v2._gf[_cu]) + (_Tu2 * _3v2._gf[_du]) + _hf, _ip = (_Su2 * _3v2._gf[_gu]) + (_Tu2 * _3v2._gf[_5t]) + _if, _lH1 = (_Wu2 * _3v2._gf[_cu]) + (_Xu2 * _3v2._gf[_du]) + _jf, _mH1 = (_Wu2 * _3v2._gf[_gu]) + (_Xu2 * _3v2._gf[_5t]) + _kf; _Su2 += _Qu2; _Tu2 += _Ru2; _Wu2 += _Uu2; _Xu2 += _Vu2; _Mh[_Pu2 + 0] = _hf; _Mh[_Pu2 + 1] = _if; _Qh[_Pu2 + 0] = (_Qu2 * _8v2._gf[_cu]) + (_Ru2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Qu2 * _8v2._gf[_gu]) + (_Ru2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Qh[_Pu2 + 0] = (_Uu2 * _8v2._gf[_cu]) + (_Vu2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Uu2 * _8v2._gf[_gu]) + (_Vu2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Qh[_Pu2 + 0] = (_Su2 * _8v2._gf[_cu]) + (_Tu2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Su2 * _8v2._gf[_gu]) + (_Tu2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Qh[_Pu2 + 0] = (_Su2 * _8v2._gf[_cu]) + (_Tu2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Su2 * _8v2._gf[_gu]) + (_Tu2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Qh[_Pu2 + 0] = (_Uu2 * _8v2._gf[_cu]) + (_Vu2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Uu2 * _8v2._gf[_gu]) + (_Vu2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _lH1; _Mh[_Pu2 + 1] = _mH1; _Qh[_Pu2 + 0] = (_Wu2 * _8v2._gf[_cu]) + (_Xu2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Wu2 * _8v2._gf[_gu]) + (_Xu2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh } } var _Dh = _2v2._cJ1 * 3; var _Eh = _3g._Fh(_Gh._Hh, _Zo._hg._Bh, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh, _Oh = _Eh._Ph, _Qh = _Eh._Rh; var _Yu2 = 0; for (var _wf = _2v2._cJ1 * 3; _wf > 0; --_wf) { var index = _2v2._lJ1[_Yu2++]; var _Zu2 = _2v2._jJ1[index * 2]; var __u2 = _2v2._jJ1[(index * 2) + 1]; var _w2 = (_Zu2 * _3v2._gf[_cu]) + (__u2 * _3v2._gf[_du]) + _3v2._gf[_fu]; var _x2 = (_Zu2 * _3v2._gf[_gu]) + (__u2 * _3v2._gf[_5t]) + _3v2._gf[_iu]; _Mh[_Pu2 + 0] = _w2; _Mh[_Pu2 + 1] = _x2; _Oh[_Pu2] = _zu2; _Qh[_Pu2 + 0] = (_Zu2 * _8v2._gf[_cu]) + (__u2 * _8v2._gf[_du]) + _8v2._gf[_fu]; _Qh[_Pu2 + 1] = (_Zu2 * _8v2._gf[_gu]) + (__u2 * _8v2._gf[_5t]) + _8v2._gf[_iu]; _Pu2 += _Jh } } return _Hu2 } function _Ku2(_wu2, _1v2, _2v2, _3v2, _Au2, _4v2, _5v2, _6v2, _7v2, _Bu2) { var _Eu2 = 1.0; if (_Bu2) { _Eu2 = _Fu2(_wu2, _3v2) * _as2 } var _fv2 = !1; var _9v2 = _1v2, _Dg = _9v2._Dg, _Hu2 = 0, _wf = 0; var _4J1 = []; var _uf = ((_Dg >> 16) & 0xff), _Vg = ((_Dg >> 8) & 0xff), _xf = ((_Dg >> 0) & 0xff), _Wg = ((_Dg >> 24) & 0xff); _4J1[0] = (_uf * _Au2[0]) >> 8; _4J1[1] = (_Vg * _Au2[1]) >> 8; _4J1[2] = (_xf * _Au2[2]) >> 8; _4J1[3] = (_Wg * _Au2[3]) >> 8; for (_wf = 0; _wf < 4; _wf++) { _4J1[_wf] = ((_4J1[_wf] * _5v2[_wf]) >> 8) + _6v2[_wf]; _4J1[_wf] = _tf(0, _vf(_4J1[_wf], 255)) } var _Mu2 = _4J1[2] | (_4J1[1] << 8) | (_4J1[0] << 16) | (_4J1[3] << 24); var _Nu2 = []; _Nu2[0] = ((_Dg & 0xff) * _4v2[0]) >> 8; _Nu2[1] = (((_Dg >> 8) & 0xff) * _4v2[1]) >> 8; _Nu2[2] = (((_Dg >> 16) & 0xff) * _4v2[2]) >> 8; _Nu2[3] = (((_Dg >> 24) & 0xff) * _4v2[3]) >> 8; for (_wf = 0; _wf < 4; _wf++) { _Nu2[_wf] = ((_Nu2[_wf] * _5v2[_wf]) >> 8) + _7v2[_wf]; _Nu2[_wf] = _tf(0, _vf(_Nu2[_wf], 255)) } var _Ou2 = _Nu2[0] | (_Nu2[1] << 8) | (_Nu2[2] << 16) | (_Nu2[3] << 24); if (_fv2) {} else if (_Bu2 && (_2v2._fJ1 > 0)) { _Hu2 += _2v2._fJ1 * 2; var _Dh = _2v2._fJ1 * 6; var _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; var _cv2 = 0; for (_wf = _2v2._fJ1; _wf > 0; _wf--) { var _e21 = _2v2._oJ1[_cv2++], _f21 = _2v2._oJ1[_cv2++]; var _dv2 = _e21 * 2, _ev2 = _e21 * 2; var _Qu2 = _2v2._jJ1[_dv2]; _dv2++; var _Ru2 = _2v2._jJ1[_dv2]; var _Su2 = _2v2._pJ1[_ev2]; _ev2++; var _Tu2 = _2v2._pJ1[_ev2]; _dv2 = _f21 * 2; _ev2 = _f21 * 2; var _Uu2 = _2v2._jJ1[_dv2]; _dv2++; var _Vu2 = _2v2._jJ1[_dv2]; var _Wu2 = _2v2._pJ1[_ev2]; _ev2++; var _Xu2 = _2v2._pJ1[_ev2]; var _hf = (_Qu2 * _3v2._gf[_cu]) + (_Ru2 * _3v2._gf[_du]) + _3v2._gf[_fu], _if = (_Qu2 * _3v2._gf[_gu]) + (_Ru2 * _3v2._gf[_5t]) + _3v2._gf[_iu], _jf = (_Uu2 * _3v2._gf[_cu]) + (_Vu2 * _3v2._gf[_du]) + _3v2._gf[_fu], _kf = (_Uu2 * _3v2._gf[_gu]) + (_Vu2 * _3v2._gf[_5t]) + _3v2._gf[_iu]; _Su2 *= _Eu2; _Tu2 *= _Eu2; _Wu2 *= _Eu2; _Xu2 *= _Eu2; var _hp = (_Su2 * _3v2._gf[_cu]) + (_Tu2 * _3v2._gf[_du]) + _hf, _ip = (_Su2 * _3v2._gf[_gu]) + (_Tu2 * _3v2._gf[_5t]) + _if, _lH1 = (_Wu2 * _3v2._gf[_cu]) + (_Xu2 * _3v2._gf[_du]) + _jf, _mH1 = (_Wu2 * _3v2._gf[_gu]) + (_Xu2 * _3v2._gf[_5t]) + _kf; _Mh[_Pu2 + 0] = _hf; _Mh[_Pu2 + 1] = _if; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _hp; _Mh[_Pu2 + 1] = _ip; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _jf; _Mh[_Pu2 + 1] = _kf; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh; _Mh[_Pu2 + 0] = _lH1; _Mh[_Pu2 + 1] = _mH1; _Oh[_Pu2] = _Ou2; _Pu2 += _Jh } } var _Dh = _2v2._cJ1 * 3; var _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _Dh); var _Jh = _Eh._Kh() >> 2; var _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _Dh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Hu2 += _2v2._cJ1; var _Yu2 = 0; for (var _wf = _2v2._cJ1 * 3; _wf > 0; --_wf) { var index = _2v2._lJ1[_Yu2++]; var _Zu2 = _2v2._jJ1[index * 2]; var __u2 = _2v2._jJ1[(index * 2) + 1]; var _w2 = (_Zu2 * _3v2._gf[_cu]) + (__u2 * _3v2._gf[_du]) + _3v2._gf[_fu]; var _x2 = (_Zu2 * _3v2._gf[_gu]) + (__u2 * _3v2._gf[_5t]) + _3v2._gf[_iu]; _Mh[_Pu2 + 0] = _w2; _Mh[_Pu2 + 1] = _x2; _Oh[_Pu2] = _Mu2; _Pu2 += _Jh } return _Hu2 } function _Fu2(_wu2, _3v2) { if (_9s2) { if (_wu2._Eu2 !== undefined) { return _wu2._Eu2 } var _gv2 = _8u(__t); var _hv2 = _8u(_fs2); var _iv2 = _8u(_es2); var _jv2 = new _Ws(); _jv2._9u(_gv2, _hv2); var _kv2 = new _Ws(); _kv2._9u(_jv2, _iv2); var _lv2 = new _Ws(); _lv2._9u(_3v2, _kv2); var _mv2 = _3g._un1, _nv2 = _3g._vn1; var _ov2 = []; _ov2[0] = 0.0; _ov2[1] = 0.0; _ov2[2] = 1.0; _ov2[3] = 0.0; _ov2[4] = 0.0; _ov2[5] = 1.0; var _pv2 = []; for (var _u2 = 0; _u2 < 3; _u2++) { var _AM1 = (_ov2[_u2 * 2] * _lv2._gf[_D12]) + (_ov2[(_u2 * 2) + 1] * _lv2._gf[_E12]) + (_Ns * _lv2._gf[_F12]) + _lv2._gf[_G12]; var index = (_u2 * 2) + 0; _pv2[index] = (_ov2[_u2 * 2] * _lv2._gf[_cu]) + (_ov2[(_u2 * 2) + 1] * _lv2._gf[_du]) + (_Ns * _lv2._gf[_eu]) + _lv2._gf[_fu]; _pv2[index] = _pv2[index] / _AM1; _pv2[index] = _pv2[index] * _mv2; index++; _pv2[index] = (_ov2[_u2 * 2] * _lv2._gf[_gu]) + (_ov2[(_u2 * 2) + 1] * _lv2._gf[_5t]) + (_Ns * _lv2._gf[_hu]) + _lv2._gf[_iu]; _pv2[index] = _pv2[index] / _AM1; _pv2[index] = _pv2[index] * _nv2 } var _qv2 = []; _qv2[0] = _pv2[2] - _pv2[0]; _qv2[1] = _pv2[3] - _pv2[1]; _qv2[2] = _pv2[4] - _pv2[0]; _qv2[3] = _pv2[5] - _pv2[1]; var _rv2 = 0.0, _Eu2 = 1.0, index = 0; for (var _u2 = 0; _u2 < 2; _u2++) { var length = _qv2[index] * _qv2[index]; index++; length += _qv2[index] * _qv2[index]; index++; if (length > 0.0) { length = Math.sqrt(length); } _rv2 = Math.max(length, _rv2) } _rv2 *= 0.5; if (_rv2 > 0.0) { _Eu2 = 1.0 / _rv2 } _wu2._Eu2 = _Eu2; return _Eu2 } return 1.0 } function _ps2(_gM, _VL, _WL, _ye, _ze, _Y82, _Z82, _WN, _uj, _py, _ZA, __A, _fj) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh; if (!_gM._hg._Bh) _Ch(_gM); _Eh = _3g._Fh(_Gh._Hh, _gM._hg._Bh, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _hf = -_Y82 * (_VL - _gM._O4); var _if = -_Z82 * (_WL - _gM._P4); var _jf = _hf + (_Y82 * _gM._Q4); var _kf = _if + (_Z82 * _gM._R4); if (Math.abs(_WN) < 0.001) { _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _ye + _hf; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _ze + _if; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _ye + _jf; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _ze + _kf } else { var _Xf = Math.sin(_WN); var _Yf = Math.cos(_WN); var _jC1 = _hf * _Yf; var _kC1 = _jf * _Yf; var _lC1 = _if * _Yf; var _mC1 = _kf * _Yf; var _nC1 = _hf * _Xf; var _oC1 = _jf * _Xf; var _pC1 = _if * _Xf; var _qC1 = _kf * _Xf; _Mh[_Sh + 0] = _Mh[_Xh + 0] = _ye + _jC1 + _pC1; _Mh[_Sh + 1] = _Mh[_Xh + 1] = _ze - _nC1 + _lC1; _Mh[_Uh + 0] = _Mh[_Vh + 0] = _ye + _kC1 + _qC1; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _ze - _oC1 + _mC1; _Mh[_Th + 1] = _ze - _oC1 + _lC1; _Mh[_Th + 0] = _ye + _kC1 + _pC1; _Mh[_Wh + 0] = _ye + _jC1 + _qC1; _Mh[_Wh + 1] = _ze - _nC1 + _mC1 } _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _gM._w2 / _gM._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _gM._x2 / _gM._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_gM._w2 + _gM._y2) / _gM._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_gM._x2 + _gM._z2) / _gM._hg.height; var _Wg = (_fj * 255.0) << 24; _uj = _Wg | (_uj & 0xffffff); if (_py == undefined) { _py = _uj; _ZA = _uj; __A = _uj } else { _py = _py | _Wg; _ZA = _ZA | _Wg; __A = __A | _Wg } if (_f72) { _uj &= 0xfffefffe; _py &= 0xfffefffe; _ZA &= 0xfffefffe; __A &= 0xfffefffe; _py |= 0x00010000; _ZA |= 0x00000001; __A |= 0x00010001 } _Oh[_Sh] = _Oh[_Xh] = _uj; _Oh[_Th] = _py; _Oh[_Uh] = _Oh[_Vh] = _ZA; _Oh[_Wh] = __A } function _qs2(_gM, _Mf, _Nf, _8f, _9f, _pB, _qB, _892, _992, _fj) { var _Dg = ~~ ((_fj * 255.0) << 24) | 0xffffff; _4B = _Dg, _d72 = _Dg, _e72 = _Dg; var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh; if (!_gM._hg._Bh) _Ch(_gM); _Eh = _3g._Fh(_Gh._Hh, _gM._hg._Bh, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; var _Sh = index, _Th = _Sh + _Jh, _Uh = _Th + _Jh, _Vh = _Uh + _Jh, _Wh = _Vh + _Jh, _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; _Mh[_Sh + 0] = _Mh[_Xh + 0] = _Mf; _Mh[_Sh + 1] = _Mh[_Xh + 1] = _Nf; _Mh[_Th + 0] = _8f; _Mh[_Th + 1] = _9f; _Mh[_Uh + 0] = _Mh[_Vh + 0] = _pB; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _qB; _Mh[_Wh + 0] = _892; _Mh[_Wh + 1] = _992; _Qh[_Sh + 0] = _Qh[_Wh + 0] = _Qh[_Xh + 0] = _gM._w2 / _gM._hg.width; _Qh[_Sh + 1] = _Qh[_Th + 1] = _Qh[_Xh + 1] = _gM._x2 / _gM._hg.height; _Qh[_Th + 0] = _Qh[_Uh + 0] = _Qh[_Vh + 0] = (_gM._w2 + _gM._y2) / _gM._hg.width; _Qh[_Uh + 1] = _Qh[_Vh + 1] = _Qh[_Wh + 1] = (_gM._x2 + _gM._z2) / _gM._hg.height; if (_f72) { _Dg &= 0xfffefffe; _4B &= 0xfffefffe; _d72 &= 0xfffefffe; _e72 &= 0xfffefffe; _4B |= 0x00010000; _d72 |= 0x00000001; _e72 |= 0x00010001 } _Oh[_Sh] = _Oh[_Xh] = _Dg; _Oh[_Th] = _4B; _Oh[_Uh] = _Oh[_Vh] = _d72; _Oh[_Wh] = _e72 } function _us2(_Ak, _ye, _ze, _bn1) { _3g._Ep1(_Ak, _ye, _ze, _bn1) } function _ts2(_gM, _SF, _TF, _bg, _cg, _ye, _ze, _fr, _gr, _LN, _fj) { if (!_gM) return; if (!_gM._hg) return; if (!_gM._hg.complete) return; _LN &= 0xffffff; _LN |= (_fj * 255) << 24; if (_SF < _gM._O4) { var _b92 = _gM._O4 - _SF; _ye += _b92; _bg -= _b92; _SF = 0 } else { _SF -= _gM._O4 } if (_TF < _gM._P4) { var _b92 = _gM._P4 - _TF; _ze += _b92; _cg -= _b92; _TF = 0 } else { _TF -= _gM._P4 } if (_bg > (_gM._Q4 - _SF)) _bg = _gM._Q4 - _SF; if (_cg > (_gM._R4 - _TF)) _cg = _gM._R4 - _TF; if (_bg <= 0 || _cg <= 0) return; _vs2(_gM, _SF + _gM._w2, _TF + _gM._x2, _bg, _cg, _ye, _ze, _bg * _fr, _cg * _gr, _LN) } function _Is2(_Mf, _Nf, _8f, _9f, _JA) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh; _Mf = ~~_Mf; _Nf = ~~_Nf; _8f = ~~_8f; _9f = ~~_9f; var _tG1 = _Gh._Hh; var _fg = 6; if (_JA) { _tG1 = _Gh._1j; _fg = 8 } _Eh = _3g._Fh(_tG1, null, _3g._Ih, _fg); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _fg; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; var _sv2 = _Xh + _Jh; var _tv2 = _sv2 + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _Dg = ~~ ((_cj * 255.0) << 24) | (_dj & 0xffffff); if (!_JA) { _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _Mf; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _Nf; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _8f; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _9f; _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Dg } else { _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _Oh[_Wh] = _Oh[_Xh] = _Oh[_sv2] = _Oh[_tv2] = _Dg; _Mh[_Xh + 0] = _Mh[_tv2 + 0] = _Mh[_sv2 + 0] = _Mh[_Sh + 0] = _Mf; _Mh[_tv2 + 1] = _Mh[_Uh + 1] = _Mh[_Th + 1] = _Mh[_Sh + 1] = _Nf; _Mh[_Wh + 0] = _Mh[_Vh + 0] = _Mh[_Uh + 0] = _Mh[_Th + 0] = _8f; _Mh[_Vh + 1] = _Mh[_Wh + 1] = _Mh[_Xh + 1] = _Mh[_sv2 + 1] = _9f } } function _Js2(_Mf, _Nf, _8f, _9f, _OA, _PA, _oy, _py, _JA) { var _u2, _y2, _z2; _y2 = _OA; _z2 = _PA; if (_y2 > Math.abs(_8f - _Mf)) { _y2 = Math.abs(_8f - _Mf) } if (_z2 > Math.abs(_9f - _Nf)) { _z2 = Math.abs(_9f - _Nf) } _iT = (_gj(_oy) & 0xffffff) | ((_cj * 255.0) << 24); _jT = (_gj(_py) & 0xffffff) | ((_cj * 255.0) << 24); var _uv2 = _is2 / 4; var _tG1 = _Gh._4j; var _fg = ((_uv2 + 1) * 4) + 2; if (_JA) { _tG1 = _Gh._2j } var _XB = (_Mf + _8f) * 0.5; var _YB = (_Nf + _9f) * 0.5; var _kt = Math.abs(_8f - _Mf) * 0.5 - _y2 * 0.5; var _lt = Math.abs(_9f - _Nf) * 0.5 - _z2 * 0.5; _Eh = _3g._Fh(_tG1, null, _3g._Ih, _fg); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; var _vv2 = index; _Eh._Lh += _fg; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Mh[index] = _XB; _Mh[index + 1] = _YB; _Oh[index] = _iT; index += _Jh; for (_u2 = 0; _u2 <= _uv2; _u2++) { _Mh[index] = (_XB + _kt + _y2 * _js2[_u2] / 2); _Mh[index + 1] = (_YB + _lt + _z2 * _ks2[_u2] / 2); _Oh[index] = _jT; index += _Jh } for (_u2 = _uv2; _u2 <= (_uv2 * 2); _u2++) { _Mh[index] = (_XB - _kt + _y2 * _js2[_u2] / 2); _Mh[index + 1] = (_YB + _lt + _z2 * _ks2[_u2] / 2); _Oh[index] = _jT; index += _Jh } for (_u2 = (_uv2 * 2); _u2 <= (_uv2 * 3); _u2++) { _Mh[index] = (_XB - _kt + _y2 * _js2[_u2] / 2); _Mh[index + 1] = (_YB - _lt + _z2 * _ks2[_u2] / 2); _Oh[index] = _jT; index += _Jh } for (_u2 = (_uv2 * 3); _u2 <= (_uv2 * 4); _u2++) { _Mh[index] = (_XB + _kt + _y2 * _js2[_u2] / 2); _Mh[index + 1] = (_YB - _lt + _z2 * _ks2[_u2] / 2); _Oh[index] = _jT; index += _Jh } _Mh[index] = _Mh[_vv2 + _Jh]; _Mh[index + 1] = _Mh[_vv2 + _Jh + 1]; _Oh[index] = _jT; if (_JA) { _Mh[_vv2] = _Mh[_vv2 + _Jh]; _Mh[_vv2 + 1] = _Mh[_vv2 + _Jh + 1]; _Oh[_vv2] = _Oh[_vv2 + _Jh] } } function _Ks2(_Mf, _Nf, _8f, _9f, _oy, _py, _ZA, __A, _JA) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh; _Mf = ~~_Mf; _Nf = ~~_Nf; _8f = ~~_8f; _9f = ~~_9f; var _Wg = ((_cj * 255.0) << 24); _oy = _gj(_oy) | _Wg; _py = _gj(_py) | _Wg; _ZA = _gj(_ZA) | _Wg; __A = _gj(__A) | _Wg; var _tG1 = _Gh._Hh; var _fg = 6; if (_JA) { _tG1 = _Gh._1j; _fg = 8 } _Eh = _3g._Fh(_tG1, null, _3g._Ih, _fg); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _fg; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; var _sv2 = _Xh + _Jh; var _tv2 = _sv2 + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _Dg = ~~ ((_cj * 255.0) << 24) | (_dj & 0xffffff); if (!_JA) { _Mh[_Sh + 0] = _Mh[_Wh + 0] = _Mh[_Xh + 0] = _Mf; _Mh[_Sh + 1] = _Mh[_Th + 1] = _Mh[_Xh + 1] = _Nf; _Mh[_Th + 0] = _Mh[_Uh + 0] = _Mh[_Vh + 0] = _8f; _Mh[_Uh + 1] = _Mh[_Vh + 1] = _Mh[_Wh + 1] = _9f; _Oh[_Sh] = _Oh[_Xh] = _oy; _Oh[_Uh] = _Oh[_Vh] = _ZA; _Oh[_Th] = _py; _Oh[_Wh] = __A } else { _Oh[_Sh] = _Oh[_tv2] = _oy; _Oh[_Th] = _Oh[_Uh] = _py; _Oh[_Vh] = _Oh[_Wh] = _ZA; _Oh[_Xh] = _Oh[_sv2] = __A; _Mh[_Xh + 0] = _Mh[_tv2 + 0] = _Mh[_sv2 + 0] = _Mh[_Sh + 0] = _Mf; _Mh[_tv2 + 1] = _Mh[_Uh + 1] = _Mh[_Th + 1] = _Mh[_Sh + 1] = _Nf; _Mh[_Wh + 0] = _Mh[_Vh + 0] = _Mh[_Uh + 0] = _Mh[_Th + 0] = _8f; _Mh[_Vh + 1] = _Mh[_Wh + 1] = _Mh[_Xh + 1] = _Mh[_sv2 + 1] = _9f } } function _Ts2(_ye, _ze, _uj) { var _Eh, _Mh, _Oh, _Qh; _Eh = _3g._Fh(_Gh._0j, null, _3g._Ih, 1); var _Jh = _Eh._Kh() >> 2; var _Sh = _Jh * _Eh._Lh; _Eh._Lh++; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Qh = _Eh._Rh; var _Dg = ~~ ((_cj * 255.0) << 24) | _gj(_uj); _Mh[_Sh + 0] = ~~_ye; _Mh[_Sh + 1] = ~~_ze; _Oh[_Sh] = _Dg } function _Ps2(_Mf, _Nf, _8f, _9f, _pB, _qB, _JA) { var _Eh, _Mh, _Oh, _Qh; if (_JA) { _Eh = _3g._Fh(_Gh._2j, null, _3g._Ih, 4) } else { _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, 3) } var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 3; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Mh[_Sh + 0] = _Mf; _Mh[_Sh + 1] = _Nf; _Mh[_Th + 0] = _8f; _Mh[_Th + 1] = _9f; _Mh[_Uh + 0] = _pB; _Mh[_Uh + 1] = _qB; if (_JA) { _Mh[_Vh + 0] = _Mf; _Mh[_Vh + 1] = _Nf; _Eh._Lh++ } _Oh[_Sh] = _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = ((_cj * 255.0) << 24) | _dj } function _Ls2(_Mf, _Nf, _8f, _9f, _oy, _py, _2B, _JA) { if (_2B) { _Ks2(_Mf, _Nf, _8f, _9f, _oy, _oy, _py, _py, _JA) } else { _Ks2(_Mf, _Nf, _8f, _9f, _oy, _py, _py, _oy, _JA) } } function _Ms2(_ye, _ze) { _Ts2(_ye, _ze, _Fx) } function _Ns2(_ye, _ze) { return _Os2(_ye, _ze) & 0x00ffffff } function _Os2(_ye, _ze) { _ye = ~~_ye; _ze = ~~_ze; if (_6t < 0) { _ze = _3g._xn1 - _ze; } return _3g._gq1(_ye, _ze) } function _Qs2(_Mf, _Nf, _8f, _9f, _pB, _qB, _zx, _Ax, _Bx, _JA) { var _Eh, _Mh, _Oh, _Qh; var _Wg = ((_cj * 255.0) << 24); _zx = _Wg | _gj(_zx); _Ax = _Wg | _gj(_Ax); _Bx = _Wg | _gj(_Bx); if (_JA) { _Eh = _3g._Fh(_Gh._2j, null, _3g._Ih, 4) } else { _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, 3) } var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 3; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Mh[_Sh + 0] = _Mf; _Mh[_Sh + 1] = _Nf; _Mh[_Th + 0] = _8f; _Mh[_Th + 1] = _9f; _Mh[_Uh + 0] = _pB; _Mh[_Uh + 1] = _qB; if (_JA) { _Mh[_Vh + 0] = _Mf; _Mh[_Vh + 1] = _Nf; _Eh._Lh++ } _Oh[_Sh] = _zx; _Oh[_Th] = _Ax; _Oh[_Uh] = _Bx; _Oh[_Vh] = _zx } function _Rs2(_Mf, _Nf, _8f, _9f, _oy, _py, _JA) { var _XB = (_Mf + _8f) / 2; var _YB = (_Nf + _9f) / 2; var _kt = Math.abs((_Mf - _8f) / 2); var _lt = Math.abs((_Nf - _9f) / 2); var _Wg = ((_cj * 255.0) << 24); _oy = _Wg | _gj(_oy); _py = _Wg | _gj(_py); var _wv2; var _8h; if (_JA) { var _xv2 = _is2 + 1; _Eh = _3g._Fh(_Gh._2j, null, _3g._Ih, _xv2); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _xv2; _Mh = _Eh._Nh; _Oh = _Eh._Ph; for (var _u2 = 0; _u2 <= _is2; _u2++) { _Mh[index] = (_XB + (_kt * _js2[_u2])); _Mh[index + 1] = (_YB + (_lt * _ks2[_u2])); _Oh[index] = _py; index += _Jh } } else { var _yv2 = _is2 * 3; _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _yv2); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += _yv2; _Mh = _Eh._Nh; _Oh = _Eh._Ph; for (var _u2 = 0; _u2 < _is2; _u2++) { _Mh[index] = _XB; _Mh[index + 1] = _YB; _Oh[index] = _oy; index += _Jh; _Mh[index] = (_XB + _kt * _js2[_u2]); _Mh[index + 1] = (_YB + _lt * _ks2[_u2]); _Oh[index] = _py; index += _Jh; _Mh[index] = (_XB + _kt * _js2[_u2 + 1]); _Mh[index + 1] = (_YB + _lt * _ks2[_u2 + 1]); _Oh[index] = _py; index += _Jh } } } function _Ss2(_ye, _ze, _1C, _oy, _py, _JA) { _Rs2(_ye - _1C, _ze - _1C, _ye + _1C, _ze + _1C, _oy, _py, _JA) } function _Us2(_Mf, _Nf, _8f, _9f) { _Ws2(_Mf, _Nf, _8f, _9f, 1.0, _Fx, _Fx) } function _Vs2(_Mf, _Nf, _8f, _9f, _6n) { _Ws2(_Mf, _Nf, _8f, _9f, _6n, _Fx, _Fx) } function _Ws2(_Mf, _Nf, _8f, _9f, _6n, _oy, _py) { var _Wg = ((_cj * 255.0) << 24); _oy = _Wg | _gj(_oy); _py = _Wg | _gj(_py); var _Cf = (_8f - _Mf); var _Ef = (_9f - _Nf); var _sf = (_Cf * _Cf) + (_Ef * _Ef); if (_sf < 0.0001) return; _sf = Math.sqrt(_sf); if (_sf < 0.0001) return; _Cf = 0.5 * _6n * _Cf / _sf; _Ef = 0.5 * _6n * _Ef / _sf; _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, 6); var _Jh = _Eh._Kh() >> 2; var index = _Jh * _Eh._Lh; _Eh._Lh += 6; var _Sh = index; var _Th = _Sh + _Jh; var _Uh = _Th + _Jh; var _Vh = _Uh + _Jh; var _Wh = _Vh + _Jh; var _Xh = _Wh + _Jh; _Mh = _Eh._Nh; _Oh = _Eh._Ph; _Mh[_Sh + 0] = (_Mf - _Ef); _Mh[_Sh + 1] = (_Nf + _Cf); _Mh[_Th + 0] = (_8f - _Ef); _Mh[_Th + 1] = (_9f + _Cf); _Mh[_Uh + 0] = (_8f + _Ef); _Mh[_Uh + 1] = (_9f - _Cf); _Mh[_Vh + 0] = (_8f + _Ef); _Mh[_Vh + 1] = (_9f - _Cf); _Mh[_Wh + 0] = (_Mf + _Ef); _Mh[_Wh + 1] = (_Nf - _Cf); _Mh[_Xh + 0] = (_Mf - _Ef); _Mh[_Xh + 1] = (_Nf + _Cf); _Oh[_Sh] = _Oh[_Wh] = _Oh[_Xh] = _oy; _Oh[_Th] = _Oh[_Uh] = _Oh[_Vh] = _py } function _zv2(_gM, _6n, _7n) { var _oq1 = _3g._iq1(_6n, _7n); _gM._Av2 = _oq1; _gM._pq1 = _oq1._pq1; _gM._hg._Bh = _oq1._bq1; } function _1t2(_6n, _7n, _SM) { var _Zo = new __o(); _Zo._hg = document.createElement("surf"); _Zo._qj = _6n; _Zo._rj = _7n; _Zo._hg.width = _6n; _Zo._hg.height = _7n; _Zo._hg._qj = _6n; _Zo._hg._rj = _7n; if (_SM != undefined) { var _7p = _Uo._hn(_SM); if (_7p && _7p._Av2) { _3g._rq1(_7p._Av2) } } _zv2(_Zo, _6n, _7n); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _6n; _Zo._z2 = _7n; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; if (_SM != undefined) { _Uo._Tn(_SM, _Zo); _Zo._U4 = _SM } else { _Zo._U4 = _Uo._yn(_Zo) } _Zo._UM = _Zo; _Zo._hg.complete = !0; _Zo._eg = []; _Zo._fg = 0; _Zo._gg = 4; _Zo._VM = 0; _Zo._WM = null; _Zo._ML = _Zo._hg; return _Zo._U4 } _0N = _1N; function _3t2(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { _hs2.push({ _pq1: _lZ1, _Bv2: _6t, _Cv2: _3g._wn1, _Dv2: _3g._xn1, _eN: _I72, _fN: _J72, _gN: _K72, _hN: _L72 }); _6t = -1; _lZ1 = _7p._pq1; _3g._Sp1(_7p._pq1); _3N = !1 } } function _2t2(_dn) { var _7p = _Uo._hn(_dn); if (_7p != null) { _hs2.push({ _pq1: _lZ1, _Bv2: _6t, _Cv2: _3g._wn1, _Dv2: _3g._xn1, _eN: _I72, _fN: _J72, _gN: _K72, _hN: _L72 }); _3g._wn1 = _7p._qj; _3g._xn1 = _7p._rj; _aN.left = _bN.left; _aN.top = _bN.top; _aN._1f = _bN._1f; _aN.bottom = _bN.bottom; _bN.left = 0; _bN.top = 0; _bN._1f = _7p._qj; _bN.bottom = _7p._rj; _cN._9n(_dN); _dN._eN = 0; _dN._fN = 0; _dN._gN = _7p._qj; _dN._hN = _7p._rj; _dN._iN = 0; _dN._jN = 0; _dN._kN = _7p._qj; _dN._lN = _7p._rj; _dN._rm = 0; _dN._tm = 0; _dN._mN = _7p._qj; _dN._nN = _7p._rj; _dN._sm = _dN._rm + _dN._mN; _dN._um = _dN._tm + _dN._nN; _lZ1 = _7p._pq1; _3g._Sp1(_7p._pq1); _6t = -1; _4N = __z; _5N = _0A; _6N = _1A; _7N = _2A; _oN(0, 0, _7p._qj, _7p._rj); _pN(_dN._eN, _dN._fN, _dN._gN, _dN._hN, _dN._Cg); _3N = !0 } } function _4t2() { if (_3N) { _bN.left = _aN.left; _bN._1f = _aN._1f; _bN.top = _aN.top; _bN.bottom = _aN.bottom; _dN._9n(_cN) } var _Ev2 = _hs2.pop(); if (_Ev2) { _6t = _Ev2._Bv2; _lZ1 = _Ev2._pq1; _3g._wn1 = _Ev2._Cv2; _3g._xn1 = _Ev2._Dv2; if (_3N) { _oN(_4N, _5N, _6N, _7N); _pN(_Ev2._eN, _Ev2._fN, _Ev2._gN, _Ev2._hN, _dN._Cg) } } else { _6t = 1; _lZ1 = null; _3g._wn1 = _3g._un1; _3g._xn1 = _3g._vn1; if (_3N) { _oN(_4N, _5N, _6N, _7N); _pN(_dN._eN, _dN._fN, _dN._gN, _dN._hN, _dN._Cg) } } _3g._Sp1(_lZ1) } function _5t2(_dn) { var _7p = _Uo._hn(_dn); if (_7p && _7p._Av2) { _3g._rq1(_7p._Av2); _7p._hg._Bh = undefined; _Uo._Qn(_dn); } } function _6t2(_dn, _ye, _ze) { return _7t2(_dn, _ye, _ze) & 0x00ffffff } function _7t2(_dn, _ye, _ze) { var _7p = _Uo._hn(_dn); if (_7p != null) { _ye = ~~_ye; _ze = ~~_ze; _3g._hq1(_7p._pq1, _ye, _ze) } return 0x00000000 } function _8t2(_dn, _ye, _ze) { var _7p = _Uo._hn(_dn); if (!_7p) return; _ye = ~~_ye; _ze = ~~_ze; _9h._QL(_7p, 0, 0, _7p._qj, _7p._rj, _ye, _ze, _7p._qj, _7p._rj, 0xffffffff) } function _9t2(_NN, _ye, _ze, _ON) { _hv("surface_copy() (WebGL)") } function _at2(_NN, _ye, _ze, _ON, _QN, _RN, _SN, _TN) { var _To = _Uo._hn(_NN); var _4p = _Uo._hn(_ON); if (_To != null && _4p != null) {} _hv("surface_copy_part() (WebGL)") } function _dt2(_xe, _ye, _ze, _6n, _7n, _Po, _Qo) { _hv("sprite_add_from_screen() (WebGL)"); return -1 } function _ct2(_dn, _ye, _ze, _6n, _7n, _Po, _Qo) { var _7p = _Uo._hn(_dn); if (_7p != null) { _ye = ~~_ye; _ze = ~~_ze; _6n = ~~_6n; _7n = ~~_7n; var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); var _mj = _3g._3q1(_ML, _7p._pq1, _ye, _ze, _6n, _7n, _Po, _Qo); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _mj._cq1; _Zo._z2 = _mj._dq1; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _6n; _Zo._T4 = _7n; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _Zo._hg._Bh = _mj; _Zo._hg._qj = _ML.width; _Zo._hg._rj = _ML.height; var _Xo = new _Yo(); _Xo._0p = _Zo; return _1p._2p(_Xo) } debug("Surface " + _dn + " does not exist"); return -1 } function _bt2(_ye, _ze, _6n, _7n, _Po, _Qo) { _ye = ~~_ye; _ze = ~~_ze; var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); var _mj = _3g._Xp1(_ML, _ye, _ze, _6n, _7n, _Po, _Qo, (_6t > 0)); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _mj._cq1; _Zo._z2 = _mj._dq1; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _6n; _Zo._T4 = _7n; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _Zo._hg._Bh = _mj; _Zo._hg.width = _y2; _Zo._hg.height = _z2; _Zo._hg._qj = _y2; _Zo._hg._rj = _z2; var _Xo = new _Yo(); _Xo._0p = _Zo; return _1p._2p(_Xo) } function _et2(_dn, _ye, _ze, _6n, _7n, _Po, _Qo, _VL, _WL) { var _7p = _Uo._hn(_dn); if (_7p != null) { _ye = ~~_ye; _ze = ~~_ze; _6n = ~~_6n; _7n = ~~_7n; var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); var _mj = _3g._3q1(_ML, _7p._pq1, _ye, _ze, _6n, _7n, _Po, _Qo); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _mj._cq1; _Zo._z2 = _mj._dq1; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _6n; _Zo._T4 = _7n; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _Zo._hg._Bh = _mj; _Zo._hg._qj = _ML.width; _Zo._hg._rj = _ML.height; var _PL = new _XL(); _PL._m1 = "surface.copy"; _PL.width = _6n; _PL.height = _7n; _PL._DE = new _Yv(); _PL._DE._1f = _PL.width; _PL._DE.bottom = _PL.height; _PL._n1 = !0; _PL._o1 = !0; _PL.preload = !0; _PL.__L = 0; _PL._0M = !1; _PL._p1 = _VL; _PL._q1 = _WL; _PL._1M = !0; _PL._qf = 1; _PL._bM = 0; _PL._2M = !1; _PL._3M = !1; _PL._rf = []; _PL._RL = []; _PL._y1 = []; _PL._4M(); _PL._RL[0] = _Zo; var _YL = _JL._ZL(_PL); return _YL } debug("Surface " + _dn + " does not exist"); return -1 } function _ft2(_xe, _dn, _ye, _ze, _6n, _7n, _Po, _Qo) { var _7p = _Uo._hn(_dn); if (_7p != null) { _ye = ~~_ye; _ze = ~~_ze; _6n = ~~_6n; _7n = ~~_7n; var _ML = document.createElement(_rv); var _NL = _ML.getContext('2d'); _OL(_NL); var _mj = _3g._3q1(_ML, _7p._pq1, _ye, _ze, _6n, _7n, _Po, _Qo); var _Zo = new __o(); _Zo._w2 = 0; _Zo._x2 = 0; _Zo._y2 = _aM.width; _Zo._z2 = _aM.height; _Zo._O4 = 0; _Zo._P4 = 0; _Zo._Q4 = _Zo._y2; _Zo._R4 = _Zo._z2; _Zo._S4 = _Zo._y2; _Zo._T4 = _Zo._z2; _Zo._U4 = _SL(_ML); _Zo._hg = _ig[_Zo._U4]; _Zo._hg._Bh = _mj; _Zo._hg._qj = _ML.width; _Zo._hg._rj = _ML.height; _aM = _JL._hn(_xe); _aM._RL[_aM._RL.length] = _Zo; _aM._qf++; return _xe } debug("Surface " + _dn + " does not exist"); return -1 } function _gt2(_dn) { var _7G = _8G._hn(_dn); if (_7G) { var _Eh, _5e2, _4u2, _Mh, _Oh, _Qh, _Mf, _Nf, _8f, _9f; var _Mp = ~~ ((_cj * 255.0) << 24) | (0xff0000 & 0xffffff); var _Np = ~~ ((_cj * 255.0) << 24) | (0x00ff00 & 0xffffff); var _fg = 6 * (_7G._0G * _7G.__F); _Eh = _3g._Fh(_Gh._Hh, null, _3g._Ih, _fg); _Fv2 = _Eh._Lh << 1; _4u2 = _Eh._Lh; _Eh._Lh += _fg; _Mh = _Eh._Nh; _Oh = _Eh._Ph; for (var _x2 = 0; _x2 < _7G._0G; _x2++) { for (var _w2 = 0; _w2 < _7G.__F; _w2++) { var _Dg = _Np; if (_7G._3G[_x2 + _7G.__F * _w2] < 0) _Dg = _Mp; _Mf = ~~ (_7G._YF + _w2 * _7G._1G); _Nf = ~~ (_7G._ZF + _x2 * _7G._2G); _8f = _Mf + _7G._1G; _9f = _Nf + _7G._2G; _Mh[_Fv2 + 10] = _Mh[_Fv2 + 8] = _Mh[_Fv2 + 0] = _Mf; _Mh[_Fv2 + 11] = _Mh[_Fv2 + 3] = _Mh[_Fv2 + 1] = _Nf; _Mh[_Fv2 + 6] = _Mh[_Fv2 + 4] = _Mh[_Fv2 + 2] = _8f; _Mh[_Fv2 + 9] = _Mh[_Fv2 + 7] = _Mh[_Fv2 + 5] = _9f; _Oh[_4u2] = _Oh[_4u2 + 1] = _Oh[_4u2 + 2] = _Oh[_4u2 + 3] = _Oh[_4u2 + 4] = _Oh[_4u2 + 5] = _Dg; _Fv2 += 12; _4u2 += 6; } } return } _ym("Error: invalid mp_grid ID (mp_grid_draw)") } function _ht2(_dn, _WH, _XH, _YH) { var _ZH = __H._A1[_dn]; if (!_ZH) return; var _Eh, _Pu2, _Mh, _Oh, _Qh, _Jh; var _Dg = ~~ ((_cj * 255.0) << 24) | (_dj & 0xffffff); var _Cf, _Ef, _zw; var _0I = 0; var _1I = _ZH._2I(0); if (!_YH) { _WH = _WH - _1I._w2; _XH = _XH - _1I._x2 } else { _WH = 0; _XH = 0 } _0I = _sn(_ZH.length / 4.0); if (_0I == 0) return; var _fg = _0I * 2; _Eh = _3g._Fh(_Gh._1j, null, _3g._Ih, _fg); _Jh = _Eh._Kh() >> 2; _Pu2 = _Jh * _Eh._Lh; _Eh._Lh += _fg; _Mh = _Eh._Nh; _Oh = _Eh._Ph; for (var _u2 = 0; _u2 < _0I; _u2++) { _1I = _ZH._2I(_u2 / _0I); _Mf = ~~ (_WH + _1I._w2); _Nf = ~~ (_XH + _1I._x2); _Oh[_Pu2 + 0] = _Dg; _Mh[_Pu2 + 0] = _Mf; _Mh[_Pu2 + 1] = _Nf; _Pu2 += _Jh; _1I = _ZH._2I((_u2 + 1) / _0I); _8f = ~~ (_WH + _1I._w2); _9f = ~~ (_XH + _1I._x2); _Oh[_Pu2 + 0] = _Dg; _Mh[_Pu2 + 0] = _8f; _Mh[_Pu2 + 1] = _9f; _Pu2 += _Jh } } function _Hs2(_ev) { _3g._Dp1(_ev) } function __s2(_an, _Jo1) { _3s2 = _an; _4s2 = _Jo1; _3g._Io1(_3s2, _4s2) } function _0t2(_Gv2) { if (_Gv2) { _cC(0) } else { _eC(_Iz, _Hz) } } function _it2(_dg) { if (_dg) { return 1.0 / _dg._7j._qj } return 1.0 } function _jt2(_dg) { if (_dg) { return 1.0 / _dg._7j._rj } return 1 } function _kt2(_6p1, _Ak) { _3g._Fp1(_6p1, _Ak._7j._Bh) } function _lt2(_Hv2) { if (_bs2[_Hv2] && _bs2[_Hv2]._vo1) { return 1 } return 0 } function _mt2(_Hv2) { var _eo1 = (_Hv2 == -1) ? _Us() : _bs2[_Hv2]._vo1; if (_eo1) { _3g._Ts(_eo1) } } function _nt2(_Hv2, _Iv2) { var _eo1 = (_Hv2 == -1) ? _Us() : _bs2[_Hv2]._vo1; if (_eo1) { return _3g._tp1(_bs2[_Hv2]._vo1, _Iv2) } return undefined } function _ot2(_wp1, _xp1) { if (_wp1) { _3g._Jv2(_wp1, _xp1) } } function _pt2(_wp1, _xp1) { if (_wp1) { _3g._yp1(_wp1, _xp1) } } function _qt2(_wp1, _xp1) { if (_wp1) { _3g._zp1(_wp1, _xp1) } } function _rt2(_Hv2, _Ak) { if (_bs2[_Hv2]) { var _eo1 = _bs2[_Hv2]; if (_eo1) { for (var _u2 = 0; _u2 < _eo1._wo1.length; _u2++) { if (_eo1._wo1[_u2] == _Ak) { return Number(_u2) } } } } return 0 } function _st2(_ZN) { _f72 = _ZN } function _tt2(_wp1, _Fz, _Bp1) { if (_Fz instanceof Array) { var _Bo1 = new Int32Array(_Fz); _3g._Ap1(_wp1, _Bo1, _Bp1) } else { alert('ERROR: shader_set_uniform_i_array() Data is not an array') } } function _ut2(_wp1, _Fz, _Bp1) { if (_Fz instanceof Array) { var _Bo1 = new Float32Array(_Fz); _3g._Cp1(_wp1, _Bo1, _Bp1) } else { alert('ERROR: shader_set_uniform_f_array() Data is not an array') } } function _vt2(_wp1, _Fz) { if (_Fz instanceof Array) { var _Bo1 = new Float32Array(_Fz); _3g._zp1(_wp1, _Bo1) } else { alert('ERROR: shader_set_uniform_matrix_array() Data is not an array') } } function _xt2(_dC) {} function _yt2(_Kv2) { var _zo1 = _3g._hp1(); for (var _Ao1 = 0; _Ao1 < _zo1; _Ao1++) { _d22(_Ao1, _Kv2) } } function _zt2(_6p1, _Kv2) { _7s2[_6p1] = _Kv2 ? !0 : !1; _3g._5p1(_6p1, _7s2[_6p1]) } function _At2(_f22) { var _zo1 = _3g._hp1(); for (var _Ao1 = 0; _Ao1 < _zo1; _Ao1++) { _g22(_Ao1, _f22) } } function _Bt2(_6p1, _f22) { _3g._dp1(_6p1, _f22 ? _Gh._wr1 : _Gh._xr1) } function _Ct2() { return _7s2[0] }; function _Dt2(_dg) { if (typeof(_dg) == "object") { return 1.0 } else if ((_dg != -1) && _ig[_dg]) { return 1.0 } return 0 } function _Et2(_dg) { if (typeof(_dg) == "object") { return 1.0 } else if ((_dg != -1) && _ig[_dg]) { return 1.0 } return 0 } function _wt2() { return 1 } function _Ft2(_Rs) { _5s2 = (_Rs > 0.5) ? !0 : !1; _3g._3p1(_5s2, _6s2) } function _Gt2(_qy) { _6s2 = _qy; _3g._3p1(_5s2, _6s2) } function _Ht2() { return (_5s2 ? 1.0 : 0.0) } function _It2() { return _6s2 } function _Zt(_Pj, _ar) { _vu[_Pj] = new _Ws(_ar); switch (_Pj) { case _es2: _3g._7t(_vu[_Pj]); _3g._8t((_6t < 0) ? _Gh._9t : _Gh._at); break; case _fs2: _3g._0t(_vu[_Pj]); break; case __t: _3g._Kp1(_vu[_Pj]); break } } function _8u(_Pj) { switch (_Pj) { case _es2: case _fs2: case __t: return _vu[_Pj]; break } } function _Rt2() { if (_cv._i2) { for (var _u2 = 0; _u2 < _cv._i2.length; _u2++) { var _uo1 = _cv._i2[_u2]; _bs2[_u2] = _3g._qo1(_uo1._Lt, _uo1._Lv2, _uo1._Mv2) } } return !0 } function _Ys2(_ej) { _Fx = _ej; _dj = _gj(_ej) } function _Ch(_gM) { if (!_gM._Bh) { var _mj = _3g._Mp1(_gM._hg); _gM._hg._Bh = _mj; _gM._hg._qj = _gM._hg.width; _gM._hg._rj = _gM._hg.height; } } var _Nv2 = 0; var _Ov2 = 100; var canvas = null; var _Pv2, _Qv2, _Rv2, _Sv2, _Tv2, _Uv2, _Vv2, _Wv2; var _O92 = !1; var _9h = null; var g_CurrentGraphics; var _Xv2 = null; var _tN = null; var _Yv2 = 0; var _Zv2 = !1; var __v2 = 0; var _0w2 = 0; var _1w2 = 0; var _2w2 = 0; var _av = 0; var _3w2 = 0; var _5N1 = 60; var _4w2; var _5w2 = new Date().getTime(); var _6w2; var _7w2 = null; var _MM = -1; var _qR = -1; var _sR = -1; var _ip2 = !0; var _oR = !0; var _zR = !0; var _pR = -1; var _rR = -1; var _OM = -1; var _PM = -1; var _NM = !1; var _yR = !0; var _AR = { _w2: 0, _x2: 0, _y2: 0, _z2: 0 }; var _sp2 = !1; if (window.chrome && window.chrome.app) { _O92 = !0; try { if (window && window['localStorage']) { _O92 = !1 } } catch (e) {} } window.onload = _8w2; window.requestAnimFrame = (function() { return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(_sX, _Tj) { _4w2 = window.setTimeout(_sX, 1000 / 60) } })(); var _8v = null; function _4v1() { if (_uQ1 == _EQ1) { _iK1() } var _v2 = document.getElementById(_rv); var _Nw = _v2.parentNode; var load = document.createElement('canvas'); load.style.position = "absolute"; load.style.left = "0px"; load.style.top = "0px"; load.width = _v2.width; load.height = _v2.height; load.setAttribute("id", "loading_screen"); _Nw.insertBefore(load, _v2.nextSibling); _Xv2 = load.getContext('2d'); _OL(_Xv2); _Xv2._Xz(); _Xv2.globalCompositeOperation = 'copy'; _Xv2.fillStyle = _GA(0x00000000); _Xv2.globalAlpha = 1; _Xv2._VA(0, 0, _v2.width, _v2.height); _Xv2._3A() } function _5v1() { var _v2 = document.getElementById(_rv); var _sf = document.getElementById("loading_screen"); var _Nw = _v2.parentNode; _Nw.removeChild(_sf); _Xv2 = null; _Zv2 = !1; } function _pm(_bn1, _Z72) { _Z72.left = 0; _Z72.top = 0; _Ib2 = _bn1; { while (_Ib2 != null) { _Z72.left += _Ib2.offsetLeft; _Z72.top += _Ib2.offsetTop; _Ib2 = _Ib2.offsetParent } } _Z72._1f = _Z72.left + _7O; _Z72.bottom = _Z72.top + _8O } function _9w2(_uC) { _gZ1 = []; _tv1 = []; _uv1 = []; _vv1 = 0; var _0z = _uC.search; var _tw = _uC.protocol + "//" + _uC.host + _uC.pathname; _tv1[0] = _tw; _uv1[0] = null; if (_0z[0] == "?") _0z = _0z.substring(1, _0z.length); var index = start = 0; var _sv1 = ""; var _Pk = null; while (index < _0z.length) { var _v2 = _0z[index]; if (_v2 == "&") { if (_sv1 != "") { if (start != index) _Pk = _0z.substring(start, index); _tv1[_tv1.length] = _sv1; _uv1[_uv1.length] = _Pk; _gZ1[_sv1] = _Pk; _vv1++; _sv1 = ""; _Pk = null } start = index + 1 } else if (_v2 == "=") { _sv1 = _0z.substring(start, index); _Pk = null; start = index + 1 } index++ } if (_sv1 != "") { if (start != index) _Pk = _0z.substring(start, index); _tv1[_tv1.length] = _sv1; _uv1[_uv1.length] = _Pk; _gZ1[_sv1] = _Pk; _vv1++; _sv1 = _Pk = "" } } function _3d2() { _Pv2 = canvas.style.position; _Qv2 = canvas.style.left; _Rv2 = canvas.style.top; _Sv2 = canvas.style; _Tv2 = canvas.parentNode; _Uv2 = canvas.nextSibling; _Vv2 = !1; _Wv2 = canvas.margin; if ((_Tv2 == document.body) || (canvas.mozRequestFullScreen) || (canvas.webkitRequestFullScreen)) { _Vv2 = !0 } } function _8w2() { debug('------- GameMaker_Init -------------'); if (!document.getElementById || !document.createElement) return; canvas = document.getElementById(_rv); _9h = null; if (!canvas) return; _9w2(window.location); _cv = _g1; _N_1(); if (_uQ1 == _EQ1) { _RJ1(canvas) } _AN1(); _tZ1 = !1; if ((_cv._W4._a5) && (_cv._W4._a5 != 0)) { _xZ1 = _cv._W4._05; var _aw2 = undefined; if (_KC != _qQ1) { _aw2 = _Kt2(canvas) } if (_aw2) { _9h = _3g } else { if (_cv._W4._a5 == 1) { _tZ1 = !0 } _9h = canvas.getContext('2d'); } } else { _9h = canvas.getContext('2d') } g_CurrentGraphics = _9h; _HZ1 = canvas.width; _IZ1 = canvas.height; if (typeof(_cv._W4.GenerateSpotifyApp) != "undefined") { _Gm = __Y1 } else if (_cv._W4._c5 == !0) { _Gm = _Hm } if (_uQ1 == _EQ1) { _Gm = _Hm } if (_Gm == _Hm) { try { g_WebAudioContext = new webkitAudioContext(); if (!g_WebAudioContext.createGainNode) { g_WebAudioContext.createGainNode = g_WebAudioContext.createGain } } catch (e) { debug('Web Audio API not supported in this browser'); _Gm = __Y1 } _PJ() } document.body.style._bw2 = "hidden"; _tN = _9h; _jB = canvas.width; _lB = canvas.height; _7O = _jB; _8O = _lB; if (_uQ1 != _EQ1) { _qR = _7O; _sR = _8O } _yR = (_cv._W4.scale != 0); _qm = new _Yv(); _pm(canvas, _qm); _9O = _qm.top; _aO = _qm.left; _bO = _qm._1f; _cO = _qm.bottom; if (_cv._W4._Dw) { _ow(_cv._W4._Dw) } else if (_cv._W4 && _cv._W4._X4 && _cv._W4._jw) { _cv._W4._jw() } _3d2(); _OL(_9h); if (typeof(_cv._W4.GenerateSpotifyApp) == "undefined") { document.body.oncontextmenu = function() { return !1 } } _Ym(); _e02 = document.getElementById('GM4HTML5_loadingscreen'); if ((_cv._W4 && _cv._W4._X4) || (_cv._W4 && _cv._W4._X4 == undefined)) { _7v = !0 } if (_3g && _7v) { debug("WebGL Enabled!"); debug("Max Texture Size=" + _3g._5o1()) } _k02(); _FQ(); if (_tZ1) { _Yv2 = -2 } else { if (_7v) _O7._J62 = _cv._W4._X4; _2v1 = ""; _3v1 = function() {}; if (_cv._W4) { if (_cv._W4._o5) { _2v1 = _cv._W4._o5 } } if (_2v1 != "") { _S02(_cv); _Yv2 = -1 } else { _X02(_cv); _Yv2 = 0 } } if (typeof(_cv._W4.GenerateSpotifyApp) != "undefined") { if (_3g) _7w2 = setInterval(_cw2, 1000 / (30)); else _7w2 = setInterval(_cw2, 1000 / (20)) } else { requestAnimFrame(_cw2) } } function _cw2() { if (typeof(_cv._W4.GenerateSpotifyApp) == "undefined" || _7w2 == null) { requestAnimFrame(_cw2) } switch (_Yv2) { case -2: { if (_Zv2) _5v1(); _dw2(_9h, _7O, _8O); break } case -1: if (_c02 == _d02) { _X02(_cv); _Yv2 = 0; if (!_Zv2) { _4v1(); _Zv2 = !0 } _2v1(_Xv2, _7O, _8O, _b02, _XK, _e02) } break; case 0: if (!_Zv2) { _4v1(); _Zv2 = !0 } if (_XK >= _b02) { _XK = _b02; _Yv2 = 1 } _212(); _2v1(_Xv2, _7O, _8O, _b02, _XK, _e02); break; case 1: _5v1(); _g12(_cv); _Yv2 = 2; break; case 2: _3v1(); _ew2(); _Yv2 = 3; _O7._K52 = new Date().getTime(); break; case 3: _fw2(); break } } function _gw2(_U72, _w2, _x2, _w4, text) { _U72.fillStyle = _w4; _U72.lineStyle = _w4; _U72.font = "14px Verdana";; _U72.textAlign = "center"; _U72.fillText(text, _w2, _x2); _U72.textAlign = "left" } function _dw2(_U72, _bg, _cg) { alert("kaka"); _U72.fillStyle = _8p(0x151515, 1.0); _U72.fillRect(0, 0, _bg, _cg); _gw2(_U72, _bg / 2, (_cg / 2), _8p(0x8d8f90, 1.0), "WebGL is Required to run this application.") } function _Z02(_9h, _bg, _cg, _hw2, _iw2, _jw2) { _9h.globalAlpha = 1; if (_jw2) { _9h.save(); _9h.fillStyle = _8p(0, 1); _9h.globalCompositeOperation = 'copy'; _9h.fillRect(0, 0, _bg, _cg); _9h.restore(); _9h.drawImage(_e02, 0, 0, _bg, _cg) } else { var _kw2 = (_bg / 100) * 50; var _lw2 = 2; var _w2 = (_bg - _kw2) / 2; var _x2 = 10 + (_cg - _lw2) / 2; _9h.fillStyle = _8p(0x151515, 1.0); _9h.fillRect(0, 0, _bg, _cg); if (_iw2 != 0) { var _y2 = (_kw2 / _hw2) * _iw2; _9h.fillStyle = _8p(0x404040, 1.0); _9h.fillRect(_w2, _x2, _kw2, _lw2); _9h.fillStyle = _8p(0x8d8f90, 1.0); _9h.fillRect(_w2, _x2, _y2, _lw2) } _gw2(_9h, _bg / 2, (_cg / 2), _8p(0x8d8f90, 1.0), "Loading") } } function _mw2(_Dp2) { _1p._am(); var _nw2 = _Dp2._2J._z4; for (var _u2 = 0; _u2 < _nw2.length; _u2++) { _1p._yn(_nw2[_u2]); var _c42 = _1p._hn(_u2); var _ow2 = _1p._bp(_u2); _O7._Q52[_u2] = _c42._F2; _O7._R52[_u2] = _c42._242; _O7._S52[_u2] = _c42.index; _O7._T52[_u2] = _c42._w2; _O7._U52[_u2] = _c42._x2; if (_ow2) { _O7._V52[_u2] = _ow2._0p._y2; _O7._W52[_u2] = _ow2._0p._z2 } else { _O7._V52[_u2] = 0; _O7._W52[_u2] = 0 } _O7._X52[_u2] = _c42._342; _O7._Y52[_u2] = _c42._442; _O7._Z52[_u2] = _c42._842; _O7.__52[_u2] = _c42._942; _O7._162[_u2] = _c42._642; _O7._062[_u2] = _c42._542; _O7._262[_u2] = _c42._c22; _O7._362[_u2] = _c42.alpha } _O7._O52 = _Dp2._Vn2 } function _pw2(_Lm2, _qw2) { if (_ke) _ke._vp2(); var _rw2 = _ke; _7J = -1; _3E._Se(_0R1, 0); _ke2(); var _G2 = []; if (_rw2 != null) { for (var _u2 = _rw2._AE.length - 1; _u2 >= 0; _u2--) { var _jE = _rw2._AE._hn(_u2); if (_jE._G2) { _G2[_G2.length] = _jE; _jE._sw2 = !0 } } for (var _u2 = _G2.length - 1; _u2 >= 0; _u2--) { _rw2._AE._IQ(_G2[_u2]) } if (_rw2._Tn2 === !1) { _rw2._Co2() } else { for (var _u2 = _rw2._AE.length - 1; _u2 >= 0; _u2--) { var _jE = _rw2._AE._hn(_u2); _jE._JE._qa2(_jE) } } } _Pm._am(); _Dk._am(); _Nm2(); _ke = _0J._hn(_Lm2); var _tw2 = _ke._Tn2; if (_tw2 === !0 && _ke._Un2 === !1) { _tw2 = !1 } if (_tw2 === !1) { _ke._s12(_ke._2J); _ke._Mo2() } else { _ke._7o2(_ke._Dt1); _ke._8o2(_ke._Et1); _ke._9o2(_ke._Sn2); _ke._bo2(_ke._Rn2); _ke._O62(_ke._Tn2); _ke._Mo2(); for (_u2 = _ke._AE.length - 1; _u2 >= 0; _u2--) { var _jE = _ke._AE._hn(_u2); _jE._JE._ra2(_jE) } } _O7._B52 = _ke.id; _ke._Go2(); _8p2(); _mw2(_ke); if (_tw2 === !1) { _ke._xo2(); _ke._Co2(); _ke._Co2(); _AE = new _lk2(); var _uw2 = _ke._2J._D4; for (var _sf = 0; _sf < _ke._2J._D4.length; _sf++) { var _z41 = !1; var _vw2 = _ke._2J._D4[_sf]; if (_vw2.index >= 0) { for (var _6h = _G2.length - 1; _6h >= 0; _6h--) { if (_vw2.id == _G2[_6h].id) { _z41 = !0; break } } if (!_z41) { var _9G = _ke._ra2(_vw2._w2, _vw2._x2, _vw2.id, _vw2.index, _vw2._r2, _vw2._s2, _vw2._E4, _vw2._w4); _9G._sw2 = !1 } } } var _uw2 = _ke._2J._D4; for (var _sf = 0; _sf < _ke._2J._D4.length; _sf++) { var _vw2 = _ke._2J._D4[_sf]; var _9G = _3E._hn(_vw2.id); if (_9G && (_9G._sw2 == !1)) { _9G._sw2 = !0; if (!_uZ1) { if (_vw2._G4) _vw2._G4(_9G); _9G._Se(_vE, 0, _9G, _9G) } else { _9G._Se(_vE, 0, _9G, _9G); if (_vw2._G4) _vw2._G4(_9G) } } } } for (var _6h = 0; _6h < _G2.length; _6h++) { _ke._AE._yn(_G2[_6h]); _G2[_6h]._LE() } if (_qw2) { _3E._Se(_YQ1, 0) } if ((_tw2 == !1) && (_ke.__n2 != null)) { _ww2 = new _R_1(); _ke.__n2(_ww2); _ww2 = null } _3E._Se(__Q1, 0); _ke._Un2 = !0 } function _xw2(_yw2) { _pw2(_yw2, !1) } function _ew2() { _O7._E52 = 0; _O7._F52 = -1; _AZ1 = 0; _BZ1 = -1; _CZ1 = 0; _DZ1 = 0; _pw2(_0J._8J(0).id, !0); __v2 = _0w2 = _OP(); _2w2 = ~~ (__v2 / 1000000) + 4; _O7._t62 = _5N1; _O7._u62 = _5N1 } function _zw2() { _7Z1 = []; _8Z1 = []; _GM1 = -1; _FM1 = -1; _EM1 = 0; _ke._AE._am(); _ke._0o2._am(); var _Hn = _cy._zB1; for (var _u2 = 0; _u2 < _Hn.length; _u2++) { var _Wn = _Hn[_u2]; _Wn._nO1._am(); _Wn._dy._am() } _3E._am() } function _Aw2() { _Pm._le2() } function _Bw2() { if (_ke._ma2.length > 0) _ke._zp2(); if (_ke._AE._mk2 >= 0) _ke._AE._oe2() } function _Cw2() { if (_ke._EI) { _ke._EI._bm(_ke._Sn2) } else { _3E._jc2() } } function _Dw2() { if ((_ke._EI == null) || (_ke._EI == undefined)) { _SN1() } } function _Ew2() { _O7._J52 = (_6w2 - _O7._K52) * 1000; _O7._K52 = _6w2; _Pm._td2(); _BN1(); _Dk._bm(); _3E._ic2(); _3E._kc2(); _Bw2(); if (_7J != -1) return; _3E._Se(_WQ1, 0); _Bw2(); if (_7J != -1) return; if (_Pu1) { _Pu1 = !1; _3E._Se(_ER1, 0) } _Nv._Y32(); _Bw2(); if (_7J != -1) return; _xO1(); _Bw2(); if (_7J != -1) return; _GO1(); _Bw2(); if (_7J != -1) return; _he2(); _Bw2(); if (_7J != -1) return; _4O1(); _Bw2(); if (_7J != -1) return; _3E._Se(_VQ1, 0); _Bw2(); if (_7J != -1) return; _Cw2(); _CN1(); _Bw2(); if (_7J != -1) return; _0E(); _LO(); _Bw2(); if (_7J != -1) return; _Dw2(); _Bw2(); if (_7J != -1) return; _3E._Se(_XQ1, 0); _Bw2(); if (_7J != -1) return; _3n2(); if (_ke != null) { _ke._vp2(); if (_qZ1) { _ke._Ig(); _Bw2() } } _ke._Qo2(); _Aw2(); _NJ() } function _8p2() { var left, _1f, top, bottom; left = 0; _1f = -999999; top = 0; bottom = -999999; if (_ke._lm) { for (var _u2 = 0; _u2 < _ke._nm.length; _u2++) { _om = _ke._nm[_u2]; if (_om._F2) { if (_1f < _om._iN + _om._kN) _1f = _om._iN + _om._kN; if (bottom < _om._jN + _om._lN) bottom = _om._jN + _om._lN } } } else { left = 0; _1f = _ke._Dt1; top = 0; bottom = _ke._Et1; _4Z1._kN = _4Z1._gN = _1f; _4Z1._lN = _4Z1._hN = bottom } if (_oR) { if (!_zR) { _qR = _pR; _sR = _rR } } else { _qR = _7O; _sR = _8O; if (_QM(_MM)) { _XM(_MM); _MM = -1 } } _zR = _oR; _fO = _7O; _gO = _8O; _hO = _qR / (_1f - left); _iO = _sR / (bottom - top); var _uf = new _Yv(); _uf.left = left; _uf.top = top; _uf._1f = _1f; _uf.bottom = bottom; _bN = _uf; _tR() } function _M62() { var _y2 = 640; if (typeof(window.innerWidth) == 'number') { _y2 = window.innerWidth } else if (document.documentElement && document.documentElement.clientWidth) { _y2 = document.documentElement.clientWidth } else if (document.body && document.body.clientWidth) { _y2 = document.body.clientWidth } return _y2 } function _N62() { var _z2 = 480; if (typeof(window.innerHeight) == 'number') { _z2 = window.innerHeight } else if (document.documentElement && document.documentElement.clientHeight) { _z2 = document.documentElement.clientHeight } else if (document.body && document.body.clientHeight) { _z2 = document.body.clientHeight } return _z2 } var _Fw2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; function _Q42(_ez, length) { var _gz = ""; var _Gw2, _Hw2, _Iw2 = ""; var _Jw2, _Kw2, _Lw2, _Mw2 = ""; var _u2 = 0; do { _Gw2 = _ez.charCodeAt(_u2++); _Hw2 = _ez.charCodeAt(_u2++); _Iw2 = _ez.charCodeAt(_u2++); _Jw2 = _Gw2 >> 2; _Kw2 = ((_Gw2 & 3) << 4) | (_Hw2 >> 4); _Lw2 = ((_Hw2 & 15) << 2) | (_Iw2 >> 6); _Mw2 = _Iw2 & 63; if (isNaN(_Hw2)) { _Lw2 = _Mw2 = 64 } else if (isNaN(_Iw2)) { _Mw2 = 64 } _gz = _gz + _Fw2.charAt(_Jw2) + _Fw2.charAt(_Kw2) + _Fw2.charAt(_Lw2) + _Fw2.charAt(_Mw2); _Gw2 = _Hw2 = _Iw2 = ""; _Jw2 = _Kw2 = _Lw2 = _Mw2 = "" } while (_u2 < length); return _gz } function _Nw2(data, _Ow2, _Pw2, _P42, _Qw2) { var _Ny = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var _Oy, _Py, _Qy, _Ry, _Sy, _Ty, _Uy, _Vy; var _u2 = 0; var _Wy = _P42; var _Xy = ""; if (!data) { return data } data += ''; do { _Ry = _Ny.indexOf(data.charAt(_u2++)); _Sy = _Ny.indexOf(data.charAt(_u2++)); _Ty = _Ny.indexOf(data.charAt(_u2++)); _Uy = _Ny.indexOf(data.charAt(_u2++)); _Vy = _Ry << 18 | _Sy << 12 | _Ty << 6 | _Uy; _Oy = _Vy >> 16 & 0xff; _Py = _Vy >> 8 & 0xff; _Qy = _Vy & 0xff; if (_Ty == 64) { _Pw2[_Wy++] = _Oy; if (_Wy >= _Ow2) return _Pw2; } else if (_Uy == 64) { _Pw2[_Wy++] = _Oy; if (_Wy >= _Ow2) return _Pw2; _Pw2[_Wy++] = _Py; if (_Wy >= _Ow2) return _Pw2 } else { _Pw2[_Wy++] = _Oy; if (_Wy >= _Ow2) return _Pw2; _Pw2[_Wy++] = _Py; if (_Wy >= _Ow2) return _Pw2; _Pw2[_Wy++] = _Qy; if (_Wy >= _Ow2) return _Pw2 } } while (_u2 < data.length); if (_Qw2 && _Rw2 < _Ow2) { _Pw2[_Rw2++] = '\0' } return _Pw2 } function _Sw2() { _pm(canvas, _qm); _9O = _qm.top; _aO = _qm.left; _bO = _qm._1f; _cO = _qm.bottom; if (_g1._W4) { if (!_g1._W4._05) { _9h.mozImageSmoothingEnabled = !1; _9h.webkitImageSmoothingEnabled = !1; _9h.imagerendering = "pixelated"; _9h.imageSmoothingEnabled = !1; _9h.msInterpolationMode = "nearest-neighbor" } } if ((_HZ1 != canvas.width) || (_IZ1 != canvas.height)) { _Pu1 = !0 } _HZ1 = canvas.width; _IZ1 = canvas.height; var _y2 = _M62(); var _z2 = _N62(); if ((_rZ1) && (!_yZ1)) { if ((_dO != _y2) || (_eO != _z2)) { _yZ1 = !0; _rZ1 = !1 } if (canvas.mozRequestFullScreen) { if (!document.mozFullScreen) { _yZ1 = !0; _rZ1 = !0 } } } if (_yZ1) { _yZ1 = !1; if (_rZ1) { _y2 = _jB; _z2 = _lB; _rZ1 = !1; canvas.style.position = _Pv2; canvas.style.left = _Qv2; canvas.style.top = _Rv2; canvas.style.margin = _Wv2; canvas.style = _Sv2; if (!_Vv2) { if (canvas.parentNode != _Tv2) { _Tv2.insertBefore(canvas, _Uv2) } } } else { _rZ1 = !0; _ja(0, 0); if (!_Vv2) { if (canvas.parentNode == _Tv2) { _Tv2.removeChild(canvas); document.body.insertBefore(canvas, null) } } } canvas.width = _y2; canvas.height = _z2; _7O = canvas.width; _8O = canvas.height; _aO = canvas.offsetLeft; _bO = _aO + _7O; _9O = canvas.offsetTop; _cO = _aO + _8O; _dO = _7O; _eO = _8O; _fO = _y2; _gO = _Tw2 = 1; _iO = 1; _8p2() } if (_uQ1 == _EQ1) { if (_0w2 > (_NJ1 + 1000000)) { _mK1(); _NJ1 = _0w2 } } } var _Uw2 = 0; var _Vw2 = 0.0; function _fw2() { _0w2 = _OP(); if (_0w2 < __v2 || ((_0w2 - __v2) > 2000000)) { __v2 = _0w2; _2w2 = __v2 } if (_ke._le() <= 0) { _ke._9o2(1) } _6w2 = new Date().getTime(); _av = ~~ (_0w2 - __v2); _Vw2 = ~~ (1000000.0 / _ke._le()) - _av; _1w2 = max(0, _Vw2); _1w2 = min(_1w2, 1000000.0); var _Ww2 = 1000000.0 / _ke._le(); if (_1w2 > 14000) return; __v2 = _0w2 + _1w2; if (__v2 < _2w2) { _2w2 = __v2 } if (~~__v2 > (_2w2 + 1000000)) { _5N1 = _3w2; _3w2 = 0; _2w2 = ~~__v2; __v2 = 0 } _3w2++; _O7._t62 = _5N1; if (!_Nu1) { _Mq2 = 0; _Sw2(); if (_ke === null) { _4Z1._sm = _4Z1._mN = _4Z1._kN = _4Z1._gN = _7O; _4Z1._um = _4Z1._nN = _4Z1._lN = _4Z1._hN = _8O } else { _8p2() } if (_7J < 0) _h82(); { _Ew2() } if (_Uw2 < _Mq2) _Uw2 = _Mq2; if (_7J < 0) _j82(); switch (_7J) { case -1: break;; case _cJ: case _JQ1: _Xw2 = !1; return; case _HQ1: _zw2(); _0J._Fp2(); _ew2(); break; case _IQ1: _g12(); break; default: _xw2(_7J) } } if (_cv._W4 && _cv._W4._X4 && _cv._W4._Yw2) { _cv._W4._Yw2() } }